/* ==========================================================================
   Site de Carole Guillerm — feuille de style commune
   Charte : bleu #0F5AEB · rouge #8F0000 · blanc #F8F5F3 · noir #1F2D3D · Poppins
   Direction artistique : contours marine, titres très gras en capitales,
   ombres décalées pleines (bleu / rouge), coins arrondis.
   ========================================================================== */

/* Poppins hébergée sur le site (aucun appel à Google Fonts) */
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/Poppins-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }

:root {
  --bleu: #0F5AEB;
  --bleu-fonce: #0a45b8;
  --bleu-pale: #e3ebfd;
  --rouge: #8F0000;
  --rouge-pale: #f4e3e1;
  --blanc: #F8F5F3;
  --pur: #ffffff;
  --noir: #1F2D3D;
  --gris: #556273;
  --trait: 2px solid var(--noir);
  --rayon: 18px;
  --header-h: 104px;
  --max: 1160px;
  --gouttiere: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding-top: var(--header-h);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.6; color: var(--noir); background: var(--blanc);
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: var(--bleu); }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
p { margin: 0 0 1em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--noir); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--serree { padding: clamp(24px, 4vw, 40px) 0; }
.section--noir { background: var(--noir); color: var(--blanc); }

/* Titres « affiche » : capitales très grasses */
.titre {
  font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: .9;
  font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0 0 .4em; color: var(--noir);
}
.titre--bleu { color: var(--bleu); }
.chapo { font-size: 1.05rem; color: var(--gris); max-width: 680px; }
.section--noir .chapo { color: rgba(248,245,243,.8); }
.surtitre { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--rouge); margin-bottom: .6em; }

/* Carte de base : contour marine, coins arrondis */
.carte { background: var(--blanc); border: var(--trait); border-radius: var(--rayon); }
.carte--blanche { background: var(--pur); }

/* Boutons : pilule à ombre décalée qui « s'enfonce » */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 12px 26px; border-radius: 14px; border: var(--trait);
  font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: .92rem; text-decoration: none;
  box-shadow: 5px 5px 0 var(--noir); transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--noir); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--noir); }
.btn--bleu { background: var(--bleu); color: #fff; box-shadow: 5px 5px 0 var(--rouge); border-color: var(--bleu); }
.btn--bleu:hover { box-shadow: 3px 3px 0 var(--rouge); }
.btn--clair { background: transparent; color: var(--noir); }
.btn--clair:hover { background: var(--noir); color: #fff; }
/* Boutons « contour » : pas de remplissage, contour et texte de la même couleur, remplissage au survol */
.btn--contour-bleu { background: transparent; color: var(--bleu); border-color: var(--bleu); box-shadow: 5px 5px 0 var(--bleu); }
.btn--contour-bleu:hover { background: var(--bleu); color: #fff; box-shadow: 3px 3px 0 var(--bleu); }
.btn--bordeaux { background: transparent; color: var(--rouge); border-color: var(--rouge); box-shadow: 5px 5px 0 var(--rouge); }
.btn--bordeaux:hover { background: var(--rouge); color: #fff; box-shadow: 3px 3px 0 var(--rouge); }
.btn--blanc { background: #fff; color: var(--rouge); border-color: var(--rouge); box-shadow: 5px 5px 0 var(--rouge); }
.btn--blanc:hover { background: var(--rouge); color: #fff; }

/* ---------- Barre de menu : seule partie fixe, centrée, logo blanc au milieu ---------- */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; padding: 0 var(--gouttiere); pointer-events: none;
}
.barre {
  pointer-events: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px;
  background: var(--bleu); border-radius: 22px; box-shadow: 6px 6px 0 var(--rouge); padding: 8px 16px;
}
.barre ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.barre .nav-avant { justify-content: flex-end; }
.barre .nav-apres { justify-content: flex-start; }
.barre ul a {
  display: inline-block; padding: 10px 12px; border-radius: 12px; white-space: nowrap;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.06rem; text-transform: uppercase; letter-spacing: .02em;
  transition: transform .2s ease;
}
.barre ul a:hover { transform: scale(1.12); }
.barre ul a[aria-current="page"] { color: var(--rouge); background: #fff; }
.barre .logo { display: flex; justify-content: center; margin: 0 16px; }
.barre .logo img { height: 46px; width: auto; transition: transform .2s; }
.barre .logo:hover img { transform: scale(1.06); }
.nav-falc a { border: 2px solid rgba(255,255,255,.65); padding: 6px 10px !important; font-size: .85rem !important; }
.nav-falc a[aria-current="page"] { border-color: #fff; }
.nav-recherche button {
  width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255,255,255,.16); color: #fff;
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.nav-recherche button:hover { background: #fff; color: var(--bleu); transform: scale(1.08); }
.nav-recherche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

.burger { display: none; width: 50px; height: 50px; border: 0; border-radius: 14px; background: rgba(255,255,255,.16); position: relative; }
.burger span, .burger::before, .burger::after {
  content: ''; position: absolute; left: 14px; right: 14px; height: 3px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s;
}
.burger::before { top: 16px; } .burger span { top: 23.5px; } .burger::after { top: 31px; }
.burger[aria-expanded="true"]::before { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-7.5px) rotate(-45deg); }

/* Tablette et téléphone : la barre garde le logo et un bouton menu, le reste se déplie dessous */
@media (max-width: 1240px) {
  .barre { display: flex; width: min(560px, 100%); flex-wrap: wrap; justify-content: space-between; padding: 8px 10px 8px 14px; }
  .barre .logo { margin: 0; order: 1; }
  .barre .logo img { height: 42px; }
  .burger { display: block; order: 2; }
  .barre ul { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .barre .nav-apres { order: 4; padding-bottom: 6px; }
  .barre.is-open ul { display: flex; }
  .barre.is-open .nav-avant { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 6px; }
  .barre ul a { display: block; padding: 12px 10px; font-size: 1.15rem; }
  .barre ul a:hover { transform: none; background: rgba(255,255,255,.12); }
  .nav-recherche, .nav-falc { display: inline-block; }
  .barre .nav-apres { flex-direction: row; flex-wrap: wrap; }
  .barre .nav-apres li:not(.nav-recherche):not(.nav-falc) { flex-basis: 100%; }
  .nav-recherche button { margin: 8px 10px 0; width: 46px; height: 46px; }
  .nav-falc a { display: inline-block !important; margin-top: 8px; }
}

/* ---------- Réseaux sociaux ---------- */
.reseaux { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.reseaux a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pur); color: var(--noir); border: var(--trait);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.reseaux svg { width: 19px; height: 19px; fill: currentColor; }
.reseaux a:hover, .reseaux a:focus-visible { color: #fff; background: var(--c); border-color: var(--c); transform: translateY(-3px); }
.reseaux--grand a { width: 56px; height: 56px; }
.reseaux--grand svg { width: 23px; height: 23px; }

/* ---------- Accueil : haut de page ---------- */
.hero { padding: 8px 0 clamp(28px, 4vw, 44px); }
.hero-grille { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding-top: clamp(12px, 3vw, 36px); }
.hero-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--bleu-pale); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 35%; }
.hero-texte { display: flex; flex-direction: column; justify-content: center; }
.hero-logo { margin: 0 0 14px; }
.hero-logo img { width: min(330px, 80%); height: auto; }
.hero-mandat { font-weight: 700; font-size: 1.02rem; margin: 0 0 14px; }
.hero-mandat .pastille { display: inline-block; background: var(--noir); color: #fff; border-radius: 8px; padding: 2px 10px; margin-right: 6px; font-size: .9rem; }
.hero-citation { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.55; margin: 0 0 18px; max-width: 560px; }

.communes { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 20px; padding: 0; list-style: none; }
.communes li { display: flex; align-items: center; }
.communes li + li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--bleu); margin: 0 12px; }
.communes a {
  color: var(--rouge); text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: .98rem; letter-spacing: .01em;
  padding: 6px 0; transition: color .2s;
}
.communes a:hover, .communes a:focus-visible { color: var(--bleu); }

/* ---------- Newsletter : barre compacte ---------- */
.newsletter { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: center; }
.newsletter .titre { grid-column: 1; grid-row: 1; margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1; white-space: nowrap; }
.newsletter .nl-form { display: contents; }
.newsletter .nl-ligne { grid-column: 2; grid-row: 1; }
.newsletter .nl-bas { grid-column: 2; grid-row: 2; margin-top: 0; }
.nl-ligne {
  display: flex; align-items: stretch; background: var(--pur); border: 2.5px solid var(--bleu); border-radius: 16px; overflow: hidden; min-height: 54px;
}
.nl-ligne input {
  flex: 1; min-width: 0; border: 0; padding: 0 20px; font: inherit; font-size: 1rem; color: var(--noir); background: transparent;
}
.nl-ligne input::placeholder { color: var(--bleu); font-style: italic; opacity: .85; }
.nl-ligne input:focus { outline: none; }
.nl-ligne:focus-within { box-shadow: 4px 4px 0 var(--rouge); }
.nl-bouton {
  min-width: 170px; border: 0; border-radius: 12px; margin: 3px; padding: 0 22px;
  background: var(--bleu); color: #fff; font-weight: 800; font-style: italic; display: grid; place-items: center; transition: background .3s;
}
.nl-bouton:hover { background: var(--bleu-fonce); }
.nl-bouton.pulse { animation: pulse 1s ease; }
.nl-bouton.valide { background: #1d9a5b; }
.nl-bouton svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.nl-bouton svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: coche .5s .15s ease forwards; }
@keyframes pulse { 0% { transform: scale(1); } 30% { transform: scale(1.12); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes coche { to { stroke-dashoffset: 0; } }
.nl-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 8px; }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; line-height: 1.4; color: var(--gris); cursor: pointer; }
.nl-consent input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; accent-color: var(--bleu); }
.nl-message { margin: 0; font-size: .82rem; font-weight: 600; color: var(--bleu); }
.nl-message.erreur { color: var(--rouge); }
@media (max-width: 760px) {
  .newsletter { grid-template-columns: 1fr; }
  .newsletter .titre, .newsletter .nl-ligne, .newsletter .nl-bas { grid-column: 1; grid-row: auto; }
  .newsletter .titre { white-space: normal; }
}
@media (max-width: 480px) {
  .nl-ligne { flex-direction: column; border-radius: 16px; }
  .nl-ligne input { min-height: 50px; }
  .nl-bouton { min-height: 48px; min-width: 0; }
}

/* ---------- Blog : carte à la une + carrousel ---------- */
.blog-bloc { display: grid; grid-template-columns: 1fr auto; gap: clamp(16px, 3vw, 36px); align-items: start; }
.titre-vertical {
  writing-mode: vertical-rl; font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: .02em;
  font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0; color: var(--noir); position: sticky; top: calc(var(--header-h) + 20px);
}
.titre-vertical a { color: inherit; text-decoration: none; }
.titre-vertical a:hover { color: var(--bleu); }
.blog-contenu { min-width: 0; }

.article-une {
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; text-decoration: none; color: var(--noir);
  border: var(--trait); border-radius: var(--rayon); background: var(--blanc); margin-bottom: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.article-une figure { margin: 0; border-right: var(--trait); min-height: 240px; }
.article-une img { width: 100%; height: 100%; object-fit: cover; }
.article-une .corps { padding: 22px 26px; }
.article-une h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 900; text-transform: uppercase; line-height: 1.05; margin: 0 0 .5em; }
.article-une p { font-size: .95rem; margin: 0 0 .8em; }

.carrousel { position: relative; }
.carrousel-piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 14px; margin: -6px -4px 0;
  scrollbar-width: thin; scrollbar-color: var(--noir) transparent;
}
.carrousel-piste > * { scroll-snap-align: start; }
.carrousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.carrousel-nav button {
  width: 46px; height: 46px; border-radius: 12px; border: var(--trait); background: var(--blanc); font-size: 1.2rem; font-weight: 800;
  box-shadow: 3px 3px 0 var(--noir); transition: transform .15s, box-shadow .15s;
}
.carrousel-nav button:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--noir); }
.carrousel-nav button:disabled { opacity: .35; pointer-events: none; }

.carte-article {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--noir);
  border: var(--trait); border-radius: var(--rayon); background: var(--blanc);
  transition: transform .3s ease, box-shadow .3s ease;
}
.carte-article figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--trait); background: var(--bleu-pale); }
.carte-article img { width: 100%; height: 100%; object-fit: cover; }
.carte-article .corps { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.carte-article h3 { font-size: 1.02rem; font-weight: 900; text-transform: uppercase; line-height: 1.2; margin: 0 0 .4em; }
.carte-article p { font-size: .88rem; margin: 0; line-height: 1.45; }
.article-une:hover, .article-une:focus-visible, .carte-article:hover, .carte-article:focus-visible { transform: scale(1.03); box-shadow: 6px 6px 0 var(--bleu); }
.date { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--rouge); margin-bottom: 6px; }
.lire { margin-top: auto; padding-top: 10px; font-weight: 800; color: var(--bleu); font-size: .85rem; text-transform: uppercase; }

.grille-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

@media (max-width: 900px) {
  .blog-bloc { grid-template-columns: 1fr; }
  .titre-vertical { writing-mode: horizontal-tb; position: static; order: -1; }
  .article-une { grid-template-columns: 1fr; }
  .article-une figure { border-right: 0; border-bottom: var(--trait); min-height: 0; aspect-ratio: 16 / 9; }
  .carrousel-piste { grid-auto-columns: 78%; }
  .grille-articles { grid-template-columns: 1fr; }
}

/* ---------- En vidéo ---------- */
.videos-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; }
.videos-tete .titre { margin: 0; }
.videos-bloc { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: start; }
.video-une {
  display: block; width: 100%; padding: 14px; text-align: left; border: var(--trait); border-radius: 22px; background: var(--pur);
}
.video-une .image { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.video-une img, .video-mini .image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-une .infos { padding: 14px 4px 2px; }
.video-une .titre-video { font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.3; }
.liste-videos { display: grid; gap: 14px; max-height: 560px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--noir) transparent; }
.video-mini {
  display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: start; width: 100%; padding: 0 0 14px; text-align: left;
  border: 0; border-bottom: 2px solid rgba(31,45,61,.15); background: none;
}
.video-mini .image { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: var(--trait); background: #000; }
.video-mini .titre-video { font-weight: 700; line-height: 1.3; font-size: .98rem; display: block; }
.video-meta { display: block; font-size: .74rem; font-weight: 700; color: var(--rouge); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.play {
  position: absolute; display: grid; place-items: center; border-radius: 50%; background: var(--rouge); color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .25s, background .25s;
}
.play svg { fill: #fff; margin-left: 3px; }
.video-une .play { width: 74px; height: 74px; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); opacity: 0; transition: opacity .25s, transform .25s; }
.video-une .play svg { width: 28px; height: 28px; }
.video-mini .play { width: 38px; height: 38px; right: 8px; bottom: 8px; opacity: 0; transition: opacity .25s; }
.video-mini .play svg { width: 14px; height: 14px; }
.video-une:hover .play, .video-une:focus-visible .play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-mini:hover .play, .video-mini:focus-visible .play { opacity: 1; }
.video-une:hover img, .video-mini:hover .image img { transform: scale(1.05); }
.video-mini:hover .titre-video { color: var(--bleu); }
@media (hover: none) { .video-une .play, .video-mini .play { opacity: 1; } }
@media (max-width: 860px) {
  .videos-bloc { grid-template-columns: 1fr; }
  .liste-videos { max-height: none; overflow: visible; }
}

/* ---------- Fenêtre modale ---------- */
.modale {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(10, 16, 24, .8); padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.modale.is-open { opacity: 1; visibility: visible; }
.modale-boite { position: relative; width: min(960px, 100%); background: #000; border-radius: 20px; overflow: hidden; transform: scale(.96); transition: transform .25s; box-shadow: 8px 8px 0 var(--bleu); }
.modale.is-open .modale-boite { transform: scale(1); }
.modale-boite .cadre { aspect-ratio: 16 / 9; }
.modale-boite iframe { width: 100%; height: 100%; border: 0; }
.modale-fermer {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: var(--trait);
  background: #fff; color: var(--noir); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; transition: transform .2s;
}
.modale-fermer:hover { transform: rotate(90deg); }
body.modal-ouverte { overflow: hidden; }
@media (max-width: 640px) {
  .modale { padding: 8px; }
  .modale-boite { width: 100%; height: calc(100% - 16px); display: flex; align-items: center; border-radius: 16px; box-shadow: none; }
  .modale-boite .cadre { width: 100%; }
}

/* ---------- Téléphone (réseaux) ---------- */
.reseaux-bloc { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 6vw, 72px); align-items: center; }
.telephone {
  width: 300px; height: 610px; border-radius: 46px; padding: 12px; background: var(--noir);
  box-shadow: 10px 10px 0 var(--bleu); position: relative; justify-self: center; border: 3px solid var(--noir);
}
.telephone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.telephone-ecran {
  width: 100%; height: 100%; border-radius: 36px; overflow-y: auto; overflow-x: hidden;
  scroll-snap-type: y mandatory; overscroll-behavior: contain; background: #000; scrollbar-width: none;
}
.telephone-ecran::-webkit-scrollbar { display: none; }
.reel { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; overflow: hidden; }
.reel video, .reel iframe { width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.reel iframe { height: calc(100% + 120px); margin-top: -54px; }
.reel .legende {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px 18px; color: #fff; font-size: .82rem; line-height: 1.4;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none;
}
.reel .legende a { pointer-events: auto; color: #fff; font-weight: 700; }
.telephone-indice { position: absolute; right: -16px; top: 50%; transform: translate(100%, -50%); display: flex; flex-direction: column; gap: 10px; }
.telephone-indice button { width: 46px; height: 46px; border-radius: 12px; border: var(--trait); background: var(--blanc); font-weight: 800; box-shadow: 3px 3px 0 var(--noir); }
.telephone-indice button:hover { background: var(--bleu); color: #fff; }
@media (max-width: 860px) {
  .reseaux-bloc { grid-template-columns: 1fr; }
  .telephone { width: min(300px, 80vw); height: min(610px, 163vw); }
  .telephone-indice { display: none; }
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--noir); color: rgba(248,245,243,.82); padding: 56px 0 26px; font-size: .92rem; margin-top: clamp(32px, 5vw, 56px); }
.footer-grille { display: grid; grid-template-columns: 1.4fr .9fr 1fr 1.2fr; gap: 36px; align-items: start; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; font-weight: 800; letter-spacing: .04em; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45em; }
.site-footer a { color: rgba(248,245,243,.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo img { height: 74px; width: auto; margin-bottom: 14px; }
.site-footer .reseaux { margin-top: 18px; }
.site-footer .reseaux a { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; width: 42px; height: 42px; }
.footer-partis { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.footer-partis a { display: block; opacity: .9; transition: opacity .2s; }
.footer-partis a:hover { opacity: 1; }
.footer-partis { gap: 14px; }
.footer-partis .modem { width: 180px; max-width: 100%; height: auto; }
.footer-partis .dem { width: 210px; max-width: 100%; height: auto; }
.footer-bas { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .8rem; }
@media (max-width: 900px) { .footer-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grille { grid-template-columns: 1fr; gap: 28px; } .footer-bas { flex-direction: column; } }

/* ---------- En-tête des pages intérieures ---------- */
.page-tete { padding: clamp(16px, 3vw, 32px) 0 clamp(20px, 3vw, 32px); }
.page-tete .titre { margin-bottom: .3em; }
.page-tete .chapo { font-size: 1.08rem; }

/* ---------- Qui je suis ---------- */
.bio { display: grid; grid-template-columns: 400px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: clamp(16px, 3vw, 32px); }
.bio-cote { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.bio-cote figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.bio-cote figure img { width: 100%; height: 100%; object-fit: cover; object-position: 57% 30%; }
.bio-fiche { padding: 18px 20px; }
.bio-fiche dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: .9rem; }
.bio-fiche dt { font-weight: 800; text-transform: uppercase; font-size: .74rem; letter-spacing: .06em; color: var(--rouge); padding-top: 3px; }
.bio-fiche dd { margin: 0; font-weight: 600; }
.bio-texte .intro { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.5; }
.bio-texte p { font-size: 1.05rem; }
.lien-gras {
  color: var(--noir); font-weight: 600; text-decoration: underline; text-decoration-color: var(--bleu);
  text-decoration-thickness: 2px; text-underline-offset: 4px; transition: font-weight .15s, color .15s;
}
.lien-gras:hover, .lien-gras:focus-visible { font-weight: 900; color: var(--bleu); }
.reperes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0; }
.repere { padding: 16px; background: var(--pur); }
.repere strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--bleu); line-height: 1.1; }
.repere span { font-size: .84rem; line-height: 1.35; display: block; }
@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; }
  .bio-cote { position: static; grid-template-columns: 1fr; }
  .bio-cote figure { aspect-ratio: 4 / 3; }
  .reperes { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- En Circo : carte ---------- */
.circo { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.carte-circo { padding: clamp(10px, 2.5vw, 24px); background: var(--pur); }
.carte-circo svg { width: 100%; height: auto; overflow: visible; }
.commune-zone path { fill: var(--fond); stroke: var(--c); stroke-width: 2.5; stroke-linejoin: round; cursor: pointer; transition: fill .25s ease; }
.commune-zone .etiquette rect { fill: #fff; stroke: var(--noir); stroke-width: 2; transition: fill .25s; }
.commune-zone .etiquette text { fill: var(--noir); font-weight: 800; font-size: 16px; font-family: Poppins, sans-serif; text-transform: uppercase; transition: fill .25s; }
.commune-zone .etiquette { transform-box: fill-box; transform-origin: center; transition: transform .25s ease; }
.commune-etiquette { pointer-events: none; }
.commune-zone.is-active path { fill: var(--c); }
.commune-zone.is-active .etiquette { transform: scale(1.2); }
.commune-zone.is-active .etiquette rect { fill: var(--noir); stroke: #fff; }
.commune-zone.is-active .etiquette text { fill: #fff; }
.commune-zone:focus { outline: none; }
.commune-zone:focus-visible path { stroke-width: 5; }

.liste-communes { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.liste-communes button {
  width: 100%; min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  border-radius: 14px; border: var(--trait); background: var(--blanc); font-weight: 800; text-transform: uppercase; font-size: .95rem; text-align: left;
  transition: font-size .2s, box-shadow .2s, transform .2s;
}
.liste-communes button::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid var(--noir); flex-shrink: 0; }
.liste-communes button.is-active { font-size: 1.08rem; box-shadow: 4px 4px 0 var(--c); transform: translate(-2px, -2px); }
.fiche { background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 22px; position: relative; animation: apparition .3s ease; box-shadow: 6px 6px 0 var(--c); }
.fiche[hidden] { display: none; }
.fiche h3 { color: #fff; font-size: 1.4rem; font-weight: 900; text-transform: uppercase; padding-right: 40px; }
.fiche dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.fiche dt { color: rgba(248,245,243,.65); font-size: .85rem; }
.fiche dd { margin: 0; font-weight: 700; }
.fiche .fermer { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.3rem; }
.fiche-vide { border: 2px dashed var(--noir); border-radius: var(--rayon); padding: 20px; font-size: .92rem; }
@keyframes apparition { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .circo { grid-template-columns: 1fr; } }

/* ---------- Permanences ---------- */
.permanences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.permanence { padding: 20px 22px; background: var(--pur); }
.permanence .quand { font-weight: 700; font-size: .92rem; color: var(--rouge); text-transform: uppercase; letter-spacing: .03em; }
.permanence .ou { font-size: 1.45rem; font-weight: 900; text-transform: uppercase; color: var(--bleu); margin: 4px 0; line-height: 1.1; }
.permanence .heure { font-weight: 600; }
.cta-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.cta-ligne p { margin: 0; font-weight: 600; }

/* ---------- Assemblée ---------- */
.bloc-2col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.bloc-2col ul { padding-left: 1.2em; }
.bloc-2col li { margin-bottom: .4em; }
.video-insta { justify-self: center; width: min(360px, 100%); padding: 10px; background: var(--pur); border-radius: 26px; box-shadow: 8px 8px 0 var(--bleu); }
.video-insta iframe { width: 100%; height: 600px; border: 0; border-radius: 16px; background: #fff; }

.hemicycle-bloc { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.hemicycle-carte { padding: clamp(14px, 3vw, 28px); background: var(--pur); position: relative; }
.hemicycle { width: 100%; height: auto; }
.hemicycle .decor { fill: #c9cfd8; }
.hemicycle .siege { fill: #dfe3e9; stroke: #fff; stroke-width: 1; }
.hemicycle .siege--dem { fill: #b9cdfa; }
.hemicycle .siege--carole { fill: var(--rouge); stroke: var(--noir); stroke-width: 3; animation: siege 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes siege { 50% { fill: var(--bleu); } }
.legende-hemi { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; font-weight: 600; }
.legende-hemi span { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; border: 1.5px solid var(--noir); }
.siege-numero { font-weight: 900; font-size: clamp(4rem, 10vw, 7rem); line-height: .9; color: var(--rouge); margin: 0; }

/* Panneau de vote : image + touches qui s'enfoncent */
.panneau { position: relative; width: min(820px, 100%); margin: 0 auto; container-type: inline-size; }
.panneau > img { width: 100%; height: auto; mix-blend-mode: multiply; }
.touche-vote {
  position: absolute; top: 13%; width: 19.6%; height: 35.2%;
  border: 0; border-radius: 1.4cqw; background: var(--c); color: var(--t, #fff);
  font-weight: 800; font-size: clamp(.7rem, 3.6cqw, 2rem); letter-spacing: -.01em; text-transform: uppercase;
  display: grid; place-items: center;
  box-shadow: inset 0 -.9cqw 0 rgba(0,0,0,.28), inset 0 .5cqw 0 rgba(255,255,255,.25), 0 .9cqw 0 #0e1621;
  transform: translateY(-.6cqw);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s;
}
.touche-vote--pour { left: 12.8%; --c: #1257f0; }
.touche-vote--contre { left: 40.2%; --c: #a10000; }
.touche-vote--abst { left: 67.6%; --c: #ffffff; --t: var(--noir); font-size: clamp(.55rem, 2.75cqw, 1.5rem); }
.touche-vote:hover { transform: translateY(.1cqw); box-shadow: inset 0 -.4cqw 0 rgba(0,0,0,.28), inset 0 .3cqw 0 rgba(255,255,255,.2), 0 .2cqw 0 #0e1621; }
.touche-vote:active, .touche-vote[aria-pressed="true"] {
  transform: translateY(.5cqw); filter: brightness(.88);
  box-shadow: inset 0 .7cqw 1.2cqw rgba(0,0,0,.45), 0 0 0 #0e1621;
}
.touche-vote[aria-pressed="true"]::after { content: ''; position: absolute; top: 7%; right: 7%; width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #39e17c; box-shadow: 0 0 1.4cqw #39e17c; }
.compteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: min(820px, 100%); margin: 14px auto 0; text-align: center; font-size: .88rem; font-weight: 700; }

.votes-panneau { margin-top: 30px; }
.votes-barre { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.votes-barre h3 { font-weight: 900; text-transform: uppercase; margin: 0; }
.votes-barre input { min-height: 48px; padding: 0 18px; border-radius: 14px; border: var(--trait); font: inherit; width: min(380px, 100%); background: var(--pur); }
.votes-barre input:focus { outline: none; box-shadow: 4px 4px 0 var(--bleu); }
.liste-votes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vote-item {
  background: var(--pur); border-radius: 14px; padding: 16px 18px; border: var(--trait); border-left: 8px solid var(--c);
  display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center;
}
.vote-item .meta { font-size: .78rem; color: var(--gris); }
.vote-item .titre-vote a { color: var(--noir); text-decoration: none; font-weight: 600; }
.vote-item .titre-vote a:hover { color: var(--bleu); text-decoration: underline; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; border: 1.5px solid currentColor; }
.badge--adopte { color: #157146; }
.badge--rejete { color: var(--rouge); }
.votes-vide { text-align: center; padding: 36px 20px; border: 2px dashed var(--noir); border-radius: 16px; }
@media (max-width: 860px) {
  .bloc-2col, .hemicycle-bloc { grid-template-columns: 1fr; }
  .video-insta iframe { height: 560px; }
}
@media (max-width: 640px) { .vote-item { grid-template-columns: 1fr; } }

.commission-carte { background: var(--noir); color: var(--blanc); border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: 8px 8px 0 var(--bleu); }
.commission-carte h3 { color: #fff; font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }
.commission-carte p { color: rgba(248,245,243,.85); }

.carte-monde-bloc { position: relative; padding: clamp(10px, 2vw, 22px); background: var(--pur); }
.carte-monde-bloc svg { width: 100%; height: auto; }
.pays { fill: #dfe3e9; stroke: #fff; stroke-width: .5; }
.pays--visite { fill: var(--bleu); cursor: pointer; transition: fill .2s; }
.pays--visite:hover, .pays--visite.is-active { fill: var(--rouge); }
.marqueur { cursor: pointer; }
.marqueur circle.halo { fill: var(--rouge); opacity: .25; transform-box: fill-box; transform-origin: center; animation: halo 2s ease-out infinite; }
.marqueur circle.point { fill: var(--rouge); stroke: #fff; stroke-width: 2; }
@keyframes halo { from { transform: scale(.6); opacity: .5; } to { transform: scale(2.2); opacity: 0; } }
.bulle {
  position: absolute; z-index: 5; width: min(320px, calc(100% - 24px)); background: var(--noir); color: var(--blanc);
  border-radius: 18px; padding: 20px 20px 18px; box-shadow: 6px 6px 0 var(--rouge); animation: apparition .25s ease;
}
.bulle[hidden] { display: none; }
.bulle .drapeau { font-size: 2rem; line-height: 1; }
.bulle h3 { color: #fff; margin: 8px 0 6px; font-weight: 900; text-transform: uppercase; }
.bulle p { font-size: .9rem; color: rgba(248,245,243,.85); }
.bulle a { color: #9cbcff; font-weight: 700; }
.bulle .fermer { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.2rem; }
@media (max-width: 700px) { .bulle { position: relative; left: auto !important; top: auto !important; width: 100%; margin-top: 12px; } }
.deplacements { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.deplacements button { min-height: 46px; padding: 8px 16px; border-radius: 12px; border: var(--trait); background: var(--blanc); font-weight: 700; box-shadow: 3px 3px 0 var(--noir); transition: transform .15s, box-shadow .15s, color .2s; }
.deplacements button:hover, .deplacements button.is-active { color: var(--rouge); border-color: var(--rouge); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--rouge); }

/* ---------- Équipe ---------- */
.grille-equipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.carte-membre { perspective: 1200px; height: 430px; }
.carte-membre .interieur { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.carte-membre.is-flipped .interieur { transform: rotateY(180deg); }
@media (hover: hover) { .carte-membre:hover .interieur { transform: rotateY(180deg); } }
.face {
  position: absolute; inset: 0; border-radius: 22px; border: var(--trait); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; overflow: hidden;
}
.face--avant { background: var(--blanc); }
.face--avant .photo { flex: 1; position: relative; border-bottom: var(--trait); background: linear-gradient(135deg, var(--bleu), #0b3fa6); display: grid; place-items: center; color: #fff; font-size: 4rem; font-weight: 900; }
.face--avant .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face--avant .corps { padding: 16px 18px 18px; text-align: left; }
.face--avant h3 { font-weight: 900; text-transform: uppercase; font-size: 1.2rem; margin: 0 0 .25em; }
.face--avant .role { font-size: .88rem; line-height: 1.45; margin: 0; }
.face--avant .astuce { display: inline-block; margin-top: 10px; font-size: .74rem; font-weight: 800; text-transform: uppercase; color: var(--bleu); }
.face--arriere { background: var(--bleu); color: #fff; transform: rotateY(180deg); justify-content: center; gap: 10px; padding: 24px; box-shadow: inset 0 0 0 4px var(--bleu); }
.face--arriere h3 { color: #fff; font-weight: 900; text-transform: uppercase; }
.face--arriere a {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; font-size: .86rem; word-break: break-all; text-align: left;
  transition: background .2s;
}
.face--arriere a:hover { background: rgba(255,255,255,.25); }
.face--arriere svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; }
@media (max-width: 960px) { .grille-equipe { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grille-equipe { grid-template-columns: 1fr; } .carte-membre { height: 420px; } }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.coordonnees { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coordonnees > li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--pur); border: var(--trait); border-radius: 16px; }
.coordonnees .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--noir); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.coordonnees .ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.coordonnees .etiq { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.coordonnees a { color: var(--noir); text-decoration: none; font-weight: 500; word-break: break-word; }
.coordonnees .reseaux { margin-top: 6px; }
.mail-zone { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mail-lien { transition: color .2s; }
.mail-lien:hover, .mail-lien:focus-visible { color: var(--bleu) !important; }
.copier {
  border: var(--trait); border-radius: 10px; padding: 4px 10px; min-height: 32px; font-size: .74rem; font-weight: 800; text-transform: uppercase;
  background: var(--bleu); border-color: var(--bleu); color: #fff; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s;
}
.mail-zone:hover .copier, .mail-zone:focus-within .copier, .copier.copie { opacity: 1; transform: none; }
@media (hover: none) { .copier { opacity: 1; transform: none; } }

.formulaire { padding: clamp(20px, 3vw, 30px); background: var(--pur); }
.champ { margin-bottom: 14px; }
.champ label { display: block; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.champ input, .champ textarea, .champ select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: var(--trait);
  font: inherit; color: var(--noir); background: var(--blanc); transition: transform .2s ease, box-shadow .2s;
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ--grossit input:hover, .champ--grossit textarea:hover { transform: scale(1.025); }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; box-shadow: 4px 4px 0 var(--bleu); background: #fff; }
.formulaire .note { font-size: .8rem; color: var(--gris); margin: 12px 0 0; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } .permanences { grid-template-columns: 1fr; } }

/* ---------- FALC ---------- */
.falc { font-size: 1.18rem; line-height: 1.8; }
.falc h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.falc h2 .emoji { font-size: 2rem; }
.falc-bloc { padding: clamp(22px, 4vw, 36px); margin-bottom: 22px; background: var(--pur); }
.falc-bloc ul { padding-left: 1.2em; }
.falc-bloc li { margin-bottom: .5em; }
.falc-bloc strong { color: var(--bleu); }
.falc-sommaire { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; }
@media (max-width: 860px) { .falc-sommaire { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .falc-sommaire { grid-template-columns: 1fr; } }
.falc-sommaire a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border-radius: 14px; background: var(--bleu); color: #fff; text-decoration: none; font-weight: 800; box-shadow: 4px 4px 0 var(--rouge); }
.falc-sommaire a:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--rouge); }
.bandeau-falc { display: inline-flex; align-items: center; gap: 14px; border: var(--trait); border-radius: 14px; padding: 10px 16px; background: var(--pur); font-size: 1rem; }
.bandeau-falc .logo-falc { font-weight: 900; color: var(--bleu); }

/* ---------- Responsive général ---------- */
@media (max-width: 900px) {
  .hero-grille { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  :root { --header-h: 90px; }
  body { font-size: 15.5px; }
  .barre .logo img { height: 40px; }
  .reperes { grid-template-columns: 1fr; }
  .communes a { font-size: .9rem; }
  .communes li + li::before { margin: 0 9px; }
}

/* Apparition douce au scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Repère animé autour du siège 370 */
.hemicycle .halo-siege { fill: none; stroke: var(--rouge); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: halo-siege 1.8s ease-out infinite; }
@keyframes halo-siege { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.permanence .quand sup, .titre sup { text-transform: none; }
.coordonnees > li { position: relative; }
.coordonnees .copier { position: absolute; top: 12px; right: 12px; }

/* ---------- Pastilles colorées (fiche « Qui je suis ») ---------- */
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pastilles li { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 10px; font-size: .86rem; font-weight: 700; line-height: 1.3; color: #fff; background: var(--p, var(--noir)); }
.pastilles li small { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.pastilles .p-bleu { --p: var(--bleu); }
.pastilles .p-rouge { --p: var(--rouge); }
.pastilles .p-noir { --p: var(--noir); }
.pastilles .p-vert { --p: #0f8a6a; }
.pastilles .p-ciel { --p: #b9cdfa; color: var(--noir); }

/* ---------- Cartes de permanence qui se retournent ---------- */
.permanences--4 { grid-template-columns: repeat(4, 1fr); }
.carte-perm { perspective: 1000px; height: 150px; border: 0; padding: 0; background: none; text-align: center; cursor: pointer; }
.carte-perm .interieur { position: relative; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.carte-perm.is-flipped .interieur { transform: rotateY(180deg); }
@media (hover: hover) { .carte-perm:hover .interieur { transform: rotateY(180deg); } }
.carte-perm .face { justify-content: center; align-items: center; padding: 16px; border-radius: var(--rayon); }
.carte-perm .face--avant { background: var(--pur); }
.carte-perm .face--avant .ou { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 900; text-transform: uppercase; color: var(--bleu); line-height: 1.1; }
.carte-perm .face--avant .astuce { margin-top: 8px; font-size: .7rem; font-weight: 800; text-transform: uppercase; color: var(--gris); }
.carte-perm .face--arriere { background: var(--bleu); color: #fff; padding: 16px; gap: 4px; }
.carte-perm .face--arriere .quand { font-weight: 800; text-transform: uppercase; font-size: .95rem; }
.carte-perm .face--arriere .quand sup { text-transform: none; }
.carte-perm .face--arriere .heure { font-size: 1.3rem; font-weight: 900; }
.carte-perm .face--arriere .attente { font-weight: 600; font-size: .92rem; line-height: 1.4; }
.carte-perm--attente .face--arriere { background: var(--noir); }
@media (max-width: 960px) { .permanences--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .carte-perm { height: 130px; } }

/* ---------- Assemblée : vidéo, hémicycle, carte du monde ---------- */
a.video-insta { display: block; text-decoration: none; color: inherit; transition: transform .2s; }
a.video-insta:hover { transform: translate(-2px, -2px); }
.video-insta video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: #000; }
.video-insta .lien-insta { display: block; text-align: center; padding: 10px 0 2px; font-weight: 800; font-size: .82rem; text-transform: uppercase; color: var(--bleu); }
.video-insta { width: min(320px, 100%); }

.hemicycle-bloc { grid-template-columns: auto 1fr; align-items: center; }
.hemicycle-carte { display: grid; grid-template-columns: auto minmax(0, 400px); gap: 20px; align-items: center; padding: 18px 22px; }
.hemicycle-carte .legende-hemi { flex-direction: column; margin: 0; gap: 10px; }
@media (max-width: 860px) {
  .hemicycle-bloc { grid-template-columns: 1fr; }
  .hemicycle-carte { grid-template-columns: 1fr; }
  .hemicycle-carte .legende-hemi { flex-direction: row; order: 2; }
}

.monde-bloc { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.monde-bloc .carte-monde-bloc { max-width: 760px; }
.monde-bloc .deplacements { flex-direction: column; margin: 0; }
.deplacements .lieu {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; width: 100%; text-align: left; padding: 12px 14px;
}
.deplacements .lieu .emoji { grid-row: span 2; font-size: 1.8rem; }
.deplacements .lieu strong { font-weight: 900; text-transform: uppercase; font-size: .95rem; }
.deplacements .lieu span { font-size: .8rem; font-weight: 500; color: var(--gris); }
@media (max-width: 860px) { .monde-bloc { grid-template-columns: 1fr; } .monde-bloc .deplacements { flex-direction: row; flex-wrap: wrap; } .deplacements .lieu { width: auto; } }

/* ---------- Téléphone : touche son ---------- */
.reel .son { position: absolute; top: 46px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); font-size: 1.1rem; z-index: 2; }
.reel video { cursor: pointer; }

/* ---------- Recherche ---------- */
.recherche {
  position: fixed; inset: 0; z-index: 400; background: rgba(10,16,24,.7); display: flex; justify-content: center; align-items: flex-start;
  padding: calc(var(--header-h) + 8px) var(--gouttiere) 24px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.recherche.is-open { opacity: 1; visibility: visible; }
.recherche-boite { width: min(680px, 100%); background: var(--blanc); border: var(--trait); border-radius: 20px; box-shadow: 8px 8px 0 var(--bleu); overflow: hidden; }
.recherche-champ { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: var(--trait); }
.recherche-champ svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--bleu); stroke-width: 2.6; stroke-linecap: round; }
.recherche-champ input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1.1rem; color: var(--noir); }
.recherche-champ input:focus { outline: none; }
.recherche-champ button { border: 0; background: none; font-size: 1.5rem; line-height: 1; width: 40px; height: 40px; }
.recherche-resultats { list-style: none; margin: 0; padding: 8px; max-height: min(60vh, 520px); overflow-y: auto; }
.recherche-resultats a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--noir); }
.recherche-resultats a:hover, .recherche-resultats a:focus-visible { background: var(--bleu-pale); }
.recherche-resultats .type { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--rouge); }
.recherche-resultats strong { font-weight: 700; }
.recherche-resultats .extrait { display: block; font-size: .85rem; color: var(--gris); }
.recherche-resultats mark { background: #ffe27a; color: inherit; border-radius: 3px; }
.recherche-vide { padding: 18px; color: var(--gris); font-size: .92rem; }

/* FALC : sommaire en contour, rempli au survol */
.falc-sommaire a, .falc .btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; width: 100%; padding: 10px 16px; border-radius: 14px;
  background: transparent; color: var(--rouge); border: 2px solid var(--rouge); box-shadow: 4px 4px 0 var(--rouge);
  font-size: 1rem; font-weight: 800; text-transform: none; letter-spacing: 0; text-align: center; line-height: 1.2;
  transition: background .2s, color .2s, transform .15s, box-shadow .15s;
}
.falc .btn { width: min(340px, 100%); }
.falc-sommaire a:hover, .falc .btn:hover { background: var(--rouge); color: #fff; transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--rouge); }
@media (min-width: 861px) { .hemicycle-carte .legende-hemi { order: -1; } }

/* Bouton à contour bordeaux (texte bleu), rempli au survol */
.btn--contour-bordeaux { background: transparent; color: var(--rouge); border-color: var(--rouge); box-shadow: 5px 5px 0 var(--rouge); }
.btn--contour-bordeaux:hover { background: var(--rouge); color: #fff; box-shadow: 3px 3px 0 var(--rouge); }

/* Assemblée : blocs rapprochés */
.section--compacte { padding: clamp(20px, 3vw, 36px) 0; }

/* Assemblée : sur ordinateur, encarts à gauche, carte à droite, titre aligné à droite */
@media (min-width: 861px) {
  .monde-tete { text-align: right; }
  .monde-tete .chapo { margin-left: auto; }
  .monde-bloc { grid-template-columns: 280px minmax(0, 1fr); }
  .monde-bloc .deplacements { order: -1; }
  .monde-bloc .carte-monde-bloc { justify-self: end; width: 100%; }
}

/* Contact : sur ordinateur, la newsletter se place sous « Suivez-moi ! », face au formulaire */
.contact-grille { grid-template-areas: "coord form" "nl form"; grid-template-rows: auto 1fr; }
.contact-grille > .contact-coord { grid-area: coord; }
.contact-grille > .formulaire { grid-area: form; }
.contact-grille > .contact-nl { grid-area: nl; align-self: start; margin-top: 18px; }
.contact-nl .newsletter { grid-template-columns: 1fr; }
.contact-nl .newsletter .titre, .contact-nl .newsletter .nl-ligne, .contact-nl .newsletter .nl-bas { grid-column: 1; grid-row: auto; }
@media (max-width: 900px) {
  .contact-grille { grid-template-areas: "coord" "form" "nl"; grid-template-rows: auto; }
  .contact-grille > .contact-nl { margin-top: 12px; }
}

/* Qui je suis : pastilles à la suite */
.bio-cote .pastilles { display: flex; flex-wrap: wrap; flex-direction: row; }

/* En circo : blocs « Les communes » et « À votre rencontre » rapprochés */
.section--rapprochee { padding-top: clamp(8px, 2vw, 20px); }

/* Assemblée : plus d’air avant « Au-delà de nos frontières » */
.monde-tete { margin-top: clamp(72px, 9vw, 120px) !important; }

/* Assemblée : vidéo avec touche son */
.video-assemblee { position: relative; justify-self: center; width: min(320px, 100%); }
.video-assemblee .video-insta { width: 100%; }
.video-assemblee .son {
  position: absolute; top: 22px; right: 22px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.55); font-size: 1.15rem; cursor: pointer;
}

/* Assemblée : liste des lieux plus compacte */
.deplacements .lieu { padding: 9px 12px; }
.deplacements .lieu .emoji { font-size: 1.5rem; }
.deplacements .lieu strong { font-size: .88rem; }
.deplacements .lieu span { font-size: .76rem; line-height: 1.3; }
.deplacements .lieu .quand { color: var(--rouge); font-weight: 700; }
.bulle .quand { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #ffd5d5; margin-bottom: 4px; }
@media (min-width: 861px) {
  .monde-bloc { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); align-items: center; }
  .monde-bloc .deplacements { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
}
.bio-cote .pastilles { gap: 6px; }
.bio-cote .pastilles li { padding: 5px 9px; font-size: .78rem; gap: 5px; }
.bio-cote .pastilles li small { font-size: .62rem; }
.falc-sommaire a { justify-content: flex-start; text-align: left; padding: 10px 16px; font-size: .9rem; white-space: nowrap; }
.falc-sommaire a span[aria-hidden] { width: 26px; flex-shrink: 0; text-align: center; }
@media (max-width: 860px) { .falc-sommaire a { white-space: normal; } }

/* ---------- Au-delà de nos frontières : encarts compacts, carte agrandie, zoom ---------- */
.carte-monde-bloc { overflow: hidden; }
.pays, .pays--visite { vector-effect: non-scaling-stroke; }
.vue-ensemble {
  position: absolute; top: 12px; left: 12px; z-index: 4; min-height: 40px; padding: 6px 14px; border-radius: 12px;
  border: 2px solid var(--rouge); background: #fff; color: var(--rouge); font-weight: 800; font-size: .82rem;
  box-shadow: 3px 3px 0 var(--rouge); transition: background .2s, color .2s;
}
.vue-ensemble:hover { background: var(--rouge); color: #fff; }
.vue-ensemble[hidden] { display: none; }
.deplacements .lieu {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 12px; text-align: left;
}
.deplacements .lieu .emoji { font-size: 1.35rem; line-height: 1; }
.deplacements .lieu strong { font-size: .86rem; font-weight: 800; text-transform: uppercase; line-height: 1.15; }
@media (min-width: 861px) {
  .monde-bloc { grid-template-columns: 300px minmax(0, 1fr); align-items: stretch; }
  .monde-bloc .carte-monde-bloc { max-width: none; align-self: center; }
  /* Panneau des lieux à la hauteur de la carte, avec de la place pour les prochains déplacements */
  .monde-bloc .deplacements {
    display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 10px;
    padding: 16px; border: var(--trait); border-radius: var(--rayon); background: var(--pur);
  }
}
@media (max-width: 860px) {
  .monde-bloc .deplacements { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .vue-ensemble { top: 8px; left: 8px; font-size: .75rem; min-height: 36px; padding: 4px 10px; }
}
@media (max-width: 700px) { .carte-monde-bloc { display: flex; flex-direction: column; } .carte-monde-bloc .bulle { order: 2; } }
/* Carte un peu réduite pour que tous les encarts tiennent dans le panneau blanc */
@media (min-width: 861px) {
  .monde-bloc { grid-template-columns: 360px minmax(0, 1fr); }
  .monde-bloc .deplacements .lieu { min-width: 0; }
}

/* Au-delà de nos frontières : boutons sans encart blanc, carte plus grande dans son cadre */
.monde-bloc .carte-monde-bloc { padding: 6px; }
@media (min-width: 861px) {
  .monde-bloc .deplacements { padding: 0; border: 0; border-radius: 0; background: none; align-content: center; }
}
@media (min-width: 861px) { .monde-bloc { grid-template-columns: 310px minmax(0, 1fr); } }
.monde-bloc .carte-monde-bloc { overflow: visible; }

/* ==========================================================================
   Page « Votez ! »
   ========================================================================== */
.votez { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.votez-texte { padding: clamp(20px, 3vw, 32px); grid-row: span 2; }
.votez-etiquettes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.pastille-theme { display: inline-block; padding: 5px 12px; border-radius: 10px; background: var(--rouge); color: #fff; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.votez-etape { font-size: .8rem; font-weight: 700; color: var(--gris); }
.votez-titre { font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; margin: 0 0 8px; }
.votez-intitule { font-size: .85rem; color: var(--gris); font-style: italic; margin-bottom: 16px; }
.votez-question { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 800; color: var(--bleu); line-height: 1.3; padding: 14px 18px; border-left: 6px solid var(--bleu); background: var(--bleu-pale); border-radius: 0 12px 12px 0; }
.votez-sous-titre { font-weight: 900; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; margin: 22px 0 8px; }
.votez-mesures { padding-left: 1.2em; margin: 0; }
.votez-mesures li { margin-bottom: .55em; }
.votez-debat { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.votez-debat > div { min-width: 0; }
.votez-debat p { font-size: .95rem; margin: 0; }
.votez-sources { font-size: .8rem; color: var(--gris); margin: 20px 0 0; }

/* Isoloir */
.isoloir { position: relative; padding: 20px; border: var(--trait); border-radius: 22px; background: var(--pur); box-shadow: 8px 8px 0 var(--bleu); }
.isoloir-consigne { margin: 0 0 14px; font-weight: 700; text-align: center; min-height: 3em; }
.isoloir-scene { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: end; }
.bulletins { display: flex; flex-direction: column; gap: 12px; }
.bulletin {
  position: relative; z-index: 2; width: 132px; height: 84px; border: 2px solid var(--noir); border-radius: 6px; background: #fffdf8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 3px 3px 0 rgba(31,45,61,.18); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: transform .25s ease, box-shadow .2s, opacity .3s;
}
.bulletin small { font-size: .55rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gris); }
.bulletin strong { font-size: 1.15rem; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.bulletin--pour { transform: rotate(-3deg); } .bulletin--pour strong { color: var(--bleu); }
.bulletin--contre { transform: rotate(2deg); } .bulletin--contre strong { color: var(--rouge); }
.bulletin--abstention { transform: rotate(-1.5deg); } .bulletin--abstention strong { color: var(--noir); font-size: .95rem; }
.bulletin:hover { box-shadow: 5px 5px 0 rgba(31,45,61,.25); }
.bulletin.is-choisi { box-shadow: 0 0 0 3px var(--bleu), 5px 5px 0 rgba(31,45,61,.25); }
.bulletin.is-glisse { z-index: 20; cursor: grabbing; transition: none; box-shadow: 10px 14px 24px rgba(31,45,61,.3); }
.bulletin.is-depose { z-index: 20; transition: transform .5s cubic-bezier(.5,0,.75,0), opacity .5s .25s; opacity: 0; pointer-events: none; }
.bulletin:disabled { cursor: default; opacity: .35; }
.bulletin:disabled.bulletin--vote { opacity: 0; }

/* Urne : l'image fournie, avec le bulletin déposé visible derrière la vitre */
.urne { position: relative; width: 100%; max-width: 250px; justify-self: center; border: 0; padding: 0; background: none; cursor: pointer; display: block; transition: transform .2s; }
.urne-image { width: 100%; height: auto; display: block; pointer-events: none; user-select: none; -webkit-user-drag: none; }
/* Repères en % de l'image : fente et vitre */
.urne-fente { position: absolute; left: 28%; top: 7%; width: 43%; height: 3.4%; border-radius: 4px; }
.urne-vitre { position: absolute; left: 6.6%; top: 27%; width: 86.6%; height: 62%; overflow: hidden; pointer-events: none; }
.urne-pile { position: absolute; left: 0; right: 0; bottom: 9%; display: flex; justify-content: center; }
/* Le verre par-dessus le bulletin : légère teinte et reflets, comme sur l'image */
.urne-reflet {
  position: absolute; inset: 0;
  background:
    linear-gradient(125deg, transparent 18%, rgba(255,255,255,.55) 19%, rgba(255,255,255,.55) 23%, transparent 24%, transparent 30%, rgba(255,255,255,.4) 31%, rgba(255,255,255,.4) 33%, transparent 34%),
    rgba(214, 234, 250, .28);
}
.bulletin-mini {
  width: 92px; height: 56px; border: 2px solid var(--noir); border-radius: 4px; background: #fffdf8; transform: rotate(-7deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-weight: 900; text-transform: uppercase; font-size: .72rem; letter-spacing: .02em;
}
.bulletin-mini small { font-size: .38rem; font-weight: 700; letter-spacing: .1em; color: var(--gris); }
.bulletin-mini--pour { color: var(--bleu); }
.bulletin-mini--contre { color: var(--rouge); }
.bulletin-mini--abstention { color: var(--noir); font-size: .58rem; }
.urne.recoit .bulletin-mini { animation: chute .7s cubic-bezier(.3,1.25,.6,1) both; }
@keyframes chute { from { transform: translateY(-260px) rotate(12deg); } to { transform: translateY(0) rotate(-7deg); } }
.urne.attend .urne-image, .urne.survol .urne-image { filter: drop-shadow(0 0 10px rgba(15,90,235,.55)); }
.urne.survol { transform: scale(1.04); }
.urne:disabled { cursor: default; }

/* Tampon « A voté ! » */
.tampon {
  position: absolute; left: 50%; top: 46%; z-index: 30; pointer-events: none;
  padding: 10px 22px; border: 5px double var(--rouge); border-radius: 12px; color: var(--rouge); background: rgba(255,255,255,.9);
  font-weight: 900; font-size: clamp(2rem, 6vw, 3.2rem); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-12deg);
}
.tampon.frappe { animation: tampon .55s cubic-bezier(.2,1.6,.4,1) both, tampon-fin .5s 2.6s ease forwards; }
@keyframes tampon { from { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.6); } to { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }
@keyframes tampon-fin { to { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(.9); } }

/* Résultats */
.resultats { padding: clamp(18px, 3vw, 26px); animation: apparition .4s ease; }
.resultats .votez-sous-titre { margin-top: 0; }
.resultats-vous { margin: 0 0 14px; }
.choix-pour { color: var(--bleu); } .choix-contre { color: var(--rouge); } .choix-abstention { color: var(--noir); }
.scores { display: grid; gap: 12px; }
.score { display: grid; grid-template-columns: 96px minmax(0, 1fr) 92px; gap: 10px; align-items: center; }
.score-nom { font-weight: 800; text-transform: uppercase; font-size: .82rem; }
.score-piste { height: 22px; border: 2px solid var(--noir); border-radius: 8px; background: var(--blanc); overflow: hidden; }
.score-remplie { display: block; height: 100%; width: 0; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.score--pour .score-remplie { background: var(--bleu); }
.score--contre .score-remplie { background: var(--rouge); }
.score--abstention .score-remplie { background: #8d97a3; }
.score-valeur { text-align: right; font-variant-numeric: tabular-nums; }
.score-valeur strong { font-weight: 900; }
.score-valeur small { display: block; font-size: .72rem; color: var(--gris); }
.score--moi .score-nom::after { content: ' · vous'; color: var(--gris); text-transform: none; font-weight: 600; }
.resultats-note { margin: 14px 0 0; font-size: .8rem; color: var(--gris); }

@media (max-width: 960px) {
  .votez { grid-template-columns: 1fr; }
  .votez-texte { grid-row: auto; }
}
@media (max-width: 560px) {
  .votez-debat { grid-template-columns: 1fr; }
  .isoloir-scene { grid-template-columns: 1fr; justify-items: center; }
  .bulletins { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .bulletin { width: 100px; height: 70px; }
  .bulletin strong { font-size: .95rem; } .bulletin--abstention strong { font-size: .76rem; }
  .urne { max-width: 200px; }
  .score { grid-template-columns: 80px minmax(0, 1fr) 70px; }
}
@media (prefers-reduced-motion: reduce) { .bulletin.is-depose { opacity: 0; } }

/* Barre de menu : intitulés un peu plus serrés pour loger « Votez ! » */
.barre ul a { font-size: 1rem; padding: 9px 10px; letter-spacing: .01em; }
/* Deux côtés de même largeur (assez pour leurs intitulés) : le logo reste pile au centre */
@media (min-width: 1241px) { .barre { grid-template-columns: minmax(455px, 1fr) auto minmax(455px, 1fr); } }
/* Votez : urne et résultats dans une même colonne, qui reste visible au scroll */
.votez-texte { grid-row: auto; }
.votez-cote { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 8px); }
@media (max-width: 960px) { .votez-cote { position: static; } }
/* Loupe à l’extrémité droite de la barre, en miroir de « Qui je suis » à gauche */
@media (min-width: 1241px) {
  .barre .nav-avant { justify-content: space-between; }
  .barre .nav-apres .nav-recherche { margin-left: auto; }
}

/* Mentions légales */
.mentions { display: grid; gap: 16px; }
.mentions > * { max-width: 860px; }
.mentions-bloc { padding: clamp(18px, 3vw, 28px); }
.mentions-bloc h2 { font-weight: 900; text-transform: uppercase; font-size: 1.1rem; margin-bottom: .7em; }
.mentions-bloc p:last-child, .mentions-bloc ul:last-child { margin-bottom: 0; }
.mentions-bloc ul { padding-left: 1.2em; }
.mentions-bloc li { margin-bottom: .6em; }
.footer-bas a + a { margin-left: 18px; }

/* Votez : historique des consultations */
.archives { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.archive { padding: clamp(18px, 3vw, 24px); display: flex; flex-direction: column; }
.archive .votez-etiquettes { margin-bottom: 10px; }
.archive-titre { font-weight: 900; text-transform: uppercase; font-size: 1.1rem; line-height: 1.1; margin: 0 0 6px; }
.archive-question { font-weight: 600; color: var(--bleu); margin: 0 0 14px; }
.archive .scores { gap: 8px; }
.archive .score { grid-template-columns: 90px minmax(0, 1fr) 52px; }
.archive .score-piste { height: 16px; }
.archive-total { font-size: .8rem; color: var(--gris); margin: 10px 0 0; }
.archive-carole { margin: 12px 0 0; padding-top: 12px; border-top: 2px solid var(--blanc); font-weight: 600; margin-top: auto; }
.archive-carole--attente { color: var(--gris); font-weight: 500; font-size: .9rem; }
.archives-vide { padding: 20px; border: 2px dashed var(--noir); border-radius: var(--rayon); margin: 0; color: var(--gris); }
@media (max-width: 400px) { .archives { grid-template-columns: 1fr; } }
