/*
 * Site de campagne d'Isabelle Chappuis, direction « Orange du Centre ».
 * Blanc, noir, gris clair, une seule police, des filets fins. L'orange
 * (#FF9B00, repris de son site isabelle-chappuis.ch) sert au fond des
 * boutons d'action et au trait du logo, rien d'autre. Pas de dégradé,
 * d'ombre portée, de coin arrondi.
 * Les règles d'un composant pour petit écran sont écrites juste après lui.
 */

@font-face {
    font-family: "Host Grotesk";
    src: url("/assets/fonts/HostGrotesk-Variable.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --es-ink: #141414;
    --es-muted: #5C5C5C;
    --es-line: #E3E3E0;
    --es-surface: #F6F6F4;
    --es-white: #FFFFFF;
    --es-signal: #FF9B00;
    --es-signal-survol: #EB8C00;
    --es-on-dark-muted: #C3CCDB;
    /* Bleu nuit des aplats sombres (à la place du noir). */
    --es-nuit: #13274A;
    --es-nuit-2: #1C345E;
    --es-nuit-ligne: #2D4674;
    --es-field-line: #8A8A86;

    --es-font: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
    --es-h1: clamp(44px, 6.6vw, 92px);
    --es-h1-page: clamp(40px, 5.6vw, 80px);
    --es-h2: clamp(30px, 3.4vw, 46px);
    --es-body: 17px;
    --es-lead: 19px;
    --es-small: 15px;
    --es-label: 14px;

    --es-maxw: 1240px;
    --es-gutter: clamp(20px, 4vw, 48px);
    --es-section-y: 96px;
    --es-section-court: 72px;
    --es-entete: 76px;
}

/* Base. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--es-white); color: var(--es-ink); font-family: var(--es-font); font-size: var(--es-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--es-ink); }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; }
button, input, select, textarea { font-family: inherit; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--es-ink); outline-offset: 3px; }
.appel-final :focus-visible { outline-color: var(--es-white); }
.evitement { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--es-nuit); color: var(--es-white); padding: 12px 16px; }
.evitement:focus { left: 16px; top: 16px; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
mark.a-completer { background: none; color: var(--es-muted); box-shadow: inset 0 -1px 0 var(--es-muted); padding: 0; font-size: inherit; }

/* Mise en page : conteneur, sections, schéma filet + titre à gauche + contenu à droite. */
.conteneur { width: 100%; max-width: var(--es-maxw); margin: 0 auto; padding-left: var(--es-gutter); padding-right: var(--es-gutter); }
.section-courte { padding-top: var(--es-section-court); padding-bottom: var(--es-section-court); }
.bloc { box-shadow: inset 0 1px 0 var(--es-line); padding-top: 32px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.bloc-tete { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.bloc-corps { flex: 2.2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.fond-gris { background: var(--es-surface); }

/* Typographie. */
.surtitre { font-size: var(--es-label); font-weight: 500; color: var(--es-muted); }
.titre-section { font-size: var(--es-h2); line-height: 1.08; letter-spacing: -0.022em; font-weight: 500; max-width: 14ch; }
.chapeau { font-size: var(--es-lead); line-height: 1.55; color: var(--es-muted); max-width: 50ch; }
.note { font-size: 13px; line-height: 1.55; color: var(--es-muted); max-width: 90ch; }
.note a { color: var(--es-muted); text-underline-offset: 3px; }
.petit { font-size: var(--es-label); color: var(--es-muted); }
.facultatif { font-size: var(--es-label); font-weight: 400; color: var(--es-muted); }

/* Boutons : tous les boutons d'action ont le fond orange. */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; background: var(--es-signal); color: var(--es-ink); font: 500 16px/1.2 var(--es-font); text-align: center; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; transition: background-color 0.2s ease; }
.bouton:hover { background: var(--es-signal-survol); }
.bouton-petit { min-height: 44px; padding: 0 16px; font-size: 15px; }
.bouton-grand { min-height: 56px; padding: 0 28px; font-size: 17px; }

/* Action secondaire : un lien souligné, jamais un deuxième bouton. */
.lien-action { font-size: 16px; font-weight: 500; color: var(--es-ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button.lien-action { background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; font-family: var(--es-font); }
.lien-action:hover { text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Listes à filets. */
.liste-filets { list-style: none; padding: 0; }
.liste-filets > li { padding: 16px 0; box-shadow: inset 0 1px 0 var(--es-line); font-size: 16px; line-height: 1.55; max-width: 72ch; }

/* Grilles d'éléments à filet. */
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); gap: 48px 32px; }
.element-numero { font-size: var(--es-label); color: var(--es-muted); }

/* En-tête du site. */
.bandeau-test { background: var(--es-nuit); color: var(--es-white); text-align: center; padding: 6px 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.entete { position: sticky; top: 0; z-index: 50; background: var(--es-white); box-shadow: inset 0 -1px 0 var(--es-line); }
.entete-interieur { max-width: 1400px; margin: 0 auto; padding: 14px var(--es-gutter); min-height: var(--es-entete); display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 24px; }
.marque { display: flex; align-items: center; color: var(--es-ink); padding: 5px 0; text-decoration: none; }
/* Logo : trait orange et nom dans la police du site, couleur héritée. */
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; font: 500 21px/1 var(--es-font); letter-spacing: -0.01em; white-space: nowrap; }
.logo-trait { flex: none; width: 8px; height: 1.1em; background: var(--es-signal); }
.nav-principale ul { display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(16px, 1.5vw, 26px); list-style: none; padding: 0; }
.nav-principale a { font-size: 15px; color: var(--es-ink); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.nav-principale a:hover, .nav-principale a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.entete-actions { flex: none; display: flex; align-items: center; gap: 20px; }
.entete-actions .bouton { white-space: nowrap; }
.langues { display: flex; gap: 12px; list-style: none; padding: 0; }
.langues a { display: inline-block; padding: 6px 0; font-size: 13px; font-weight: 400; color: var(--es-muted); text-decoration: none; }
.langues a[aria-current="true"] { font-weight: 600; color: var(--es-ink); }
.langues a:hover { color: var(--es-ink); }
.menu-mobile { display: none; position: relative; }
.menu-mobile summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; box-shadow: inset 0 0 0 1px var(--es-ink); font-size: 15px; font-weight: 500; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile[open] summary { background: var(--es-nuit); color: var(--es-white); }
.menu-mobile nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 40px)); background: var(--es-white); box-shadow: inset 0 0 0 1px var(--es-ink); padding: 8px 20px 20px; z-index: 60; }
.menu-mobile ul { list-style: none; padding: 0; }
.menu-mobile nav > ul > li > a { display: block; padding: 14px 0; box-shadow: inset 0 -1px 0 var(--es-line); font-size: 17px; color: var(--es-ink); text-decoration: none; }
.menu-mobile .bouton { width: 100%; margin-top: 16px; }
.menu-mobile .langues { margin-top: 16px; gap: 20px; }
.menu-mobile .langues a { font-size: 15px; }
/* Sous 1400 px, le menu complet (jusqu'à 1 290 px en portugais, bouton
   « Manter-se informado » compris) ne tient plus sur une ligne avec ses
   marges : il passe dans le bouton « Menu ». */
@media (max-width: 1400px) {
    .nav-principale, .entete-actions { display: none; }
    .menu-mobile { display: block; }
}

/* Pied de page. */
.pied { box-shadow: inset 0 1px 0 var(--es-line); }
.pied-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: 64px var(--es-gutter) 48px; display: flex; flex-direction: column; gap: 64px; }
.pied-colonnes { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.pied-marque { flex: 1.4 1 280px; display: flex; flex-direction: column; gap: 20px; color: var(--es-ink); }
.pied-marque .logo { font-size: 19px; }
.pied-marque p { font-size: var(--es-small); color: var(--es-muted); max-width: 34ch; }
.pied-colonne { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; font-size: var(--es-small); }
.pied-colonne .surtitre { margin-bottom: 6px; font-weight: 400; }
.pied-colonne ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pied-colonne a { color: var(--es-ink); text-decoration: none; }
.pied-colonne a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--es-muted); }
.pied-langues { display: flex; gap: 6px; list-style: none; padding: 0; }
.pied-langues a { color: var(--es-muted); text-decoration: none; }
.pied-langues a[aria-current="true"] { color: var(--es-ink); font-weight: 600; }
.pied-langues li + li::before { content: "·"; margin-right: 6px; }

/* Photo avec légende et crédit (une par page au plus). */
.photo-figure { margin: 0 auto; }
.photo-figure .photo { display: block; width: 100%; height: auto; }
.photo-figure figcaption { margin-top: 8px; }

/* En-tête des pages intérieures. */
.entete-page { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--es-gutter) 56px; display: flex; flex-direction: column; gap: 24px; }
.entete-page h1 { font-size: var(--es-h1-page); line-height: 1.02; letter-spacing: -0.032em; font-weight: 500; max-width: 13ch; }
.entete-page .actions { margin-top: 8px; }

/* Ouverture de l'accueil. */
.ouverture { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--es-gutter) 72px; display: flex; flex-direction: column; gap: 40px; }
/* Étiquettes de l'accueil : l'enjeu de la campagne, tout de suite. */
.ouverture-etiquettes { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; }
.ouverture-etiquette { display: inline-block; padding: 12px 22px; font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; letter-spacing: 0.01em; line-height: 1.15; box-shadow: 0 10px 24px rgba(20, 20, 20, 0.14); }
.ouverture-etiquette-enjeu { background: var(--es-signal); color: var(--es-ink); text-decoration: none; transform: rotate(-2deg); position: relative; z-index: 1; }
.ouverture-etiquette-enjeu:hover { text-decoration: underline; text-underline-offset: 4px; }
.ouverture-etiquette-date { background: var(--es-nuit); color: var(--es-white); text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(14px, 1.4vw, 17px); transform: rotate(-1deg) translate(10px, -4px); }
@media (prefers-reduced-motion: no-preference) {
    .ouverture-etiquette-enjeu { animation: etiquette-arrivee 0.7s cubic-bezier(.2,.9,.3,1.2) both; }
    .ouverture-etiquette-date { animation: etiquette-arrivee-date 0.7s cubic-bezier(.2,.9,.3,1.2) 0.18s both; }
}
@keyframes etiquette-arrivee { from { opacity: 0; transform: rotate(-8deg) translateX(-24px); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes etiquette-arrivee-date { from { opacity: 0; transform: rotate(-6deg) translate(-16px, -4px); } to { opacity: 1; transform: rotate(-1deg) translate(10px, -4px); } }
.ouverture-titre { font-size: var(--es-h1); line-height: 1; letter-spacing: -0.034em; font-weight: 500; max-width: 12ch; }
.ouverture-initiale { color: var(--es-signal); }
/* Accroche sous le nom : « Bis ! », elle repart pour un mandat. */
.ouverture-accroche { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: -16px; font-size: var(--es-lead); line-height: 1.35; }
.ouverture-accroche strong { display: inline-block; padding: 6px 16px 8px; background: var(--es-nuit); color: var(--es-white); font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; transform: rotate(-2deg); box-shadow: 0 10px 24px rgba(19, 39, 74, 0.18); }
.ouverture-bas { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ouverture-texte { font-size: var(--es-lead); line-height: 1.55; max-width: 46ch; }

/* Bloc final sur fond noir. */
.appel-final { background: var(--es-nuit); color: var(--es-white); }
.appel-final-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: 112px var(--es-gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.appel-final-interieur > div { display: flex; flex-direction: column; gap: 20px; }
.appel-final h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 500; }
.appel-final p { font-size: var(--es-lead); line-height: 1.5; color: var(--es-on-dark-muted); max-width: 40ch; }
.appel-final .lien-action { color: var(--es-white); }
/* Formulaire de la lettre dans le bloc final noir. */
.appel-final-formulaire { flex: 1 1 360px; max-width: 520px; }
.appel-final .formulaire label, .appel-final .formulaire .aide a { color: var(--es-white); }
.appel-final .formulaire .aide { color: var(--es-on-dark-muted); font-size: var(--es-label); max-width: none; }
/* Fenêtre de la lettre, proposée après quelques secondes (app.js). */
.popup-lettre { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; padding: 32px; border: 1px solid var(--es-ink); border-radius: 0; background: var(--es-white); color: var(--es-ink); }
.popup-lettre::backdrop { background: rgba(19, 39, 74, 0.55); }
.popup-lettre-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.popup-lettre h2 { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; margin-top: 8px; }
.popup-lettre-texte { font-size: var(--es-body); line-height: 1.55; color: var(--es-muted); }
.popup-fermer { flex: none; padding: 6px 0; background: none; border: 0; color: var(--es-ink); font: 500 15px/1.2 var(--es-font); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 640px) {
    .popup-lettre { width: 100%; max-width: 100%; margin: auto 0 0; padding: 24px 20px; border-width: 1px 0 0; }
}
/* Tête de section sur toute la largeur : titre à gauche, lien à droite. */
.section-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; padding-top: 32px; margin-bottom: 40px; box-shadow: inset 0 1px 0 var(--es-line); }
.section-tete > div { display: flex; flex-direction: column; gap: 16px; }
/* Frise chronologique (accueil) : une ligne, un repère par jalon ; le
   dernier tronçon, vers l'élection à venir, est en pointillé orange. Sur
   téléphone, la ligne devient verticale. */
.frise { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.frise-jalon { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 40px; }
.frise-jalon::before { content: ""; position: absolute; left: 0; right: -32px; top: 7px; height: 2px; background: var(--es-ink); }
.frise-jalon:nth-last-child(2)::before { background: repeating-linear-gradient(90deg, var(--es-signal) 0 8px, transparent 8px 14px); }
.frise-jalon:last-child::before { display: none; }
.frise-jalon::after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; background: var(--es-ink); }
.frise-prochaine::after { background: var(--es-signal); box-shadow: 0 0 0 6px #FFE6BF; }
.frise-date { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.frise-jour { font-size: 0.45em; letter-spacing: 0; color: var(--es-muted); }
.frise-texte { font-size: 16px; line-height: 1.5; color: var(--es-ink); max-width: 30ch; }
.frise-etiquette { position: absolute; top: -4px; left: 34px; padding: 3px 10px; background: var(--es-signal); color: var(--es-ink); font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
@media (max-width: 760px) {
    .frise { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .frise-jalon { padding: 0 0 32px 40px; gap: 8px; }
    .frise-jalon::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .frise-jalon:nth-last-child(2)::before { background: repeating-linear-gradient(180deg, var(--es-signal) 0 8px, transparent 8px 14px); }
    .frise-etiquette { position: static; align-self: flex-start; order: -1; }
}
/* Autres fonctions : panneau crème sous la frise, quatre colonnes. */
.fonctions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 8px 0; background: #F7F3EC; }
.fonctions > div { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px; }
.fonctions > div + div { box-shadow: inset 1px 0 0 #E2D9C8; }
.fonctions dt { display: flex; align-items: center; gap: 10px; font-size: var(--es-label); color: var(--es-muted); }
.fonctions dt::before { content: ""; flex: none; width: 18px; height: 3px; background: var(--es-signal); }
.fonctions dd { margin: 0; font-size: 17px; line-height: 1.45; }
.fonctions-sources { margin-top: 24px; }
@media (max-width: 1000px) {
    .fonctions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fonctions > div:nth-child(3) { box-shadow: inset 0 1px 0 #E2D9C8; }
    .fonctions > div:nth-child(4) { box-shadow: inset 1px 0 0 #E2D9C8, inset 0 1px 0 #E2D9C8; }
}
@media (max-width: 560px) {
    .fonctions { grid-template-columns: minmax(0, 1fr); padding: 0 0 4px; }
    .fonctions > div { padding: 20px; }
    .fonctions > div + div, .fonctions > div:nth-child(4) { box-shadow: inset 0 1px 0 #E2D9C8; }
}
/* Ligne d'un thème sans page (accueil). */
.theme-ligne { margin-top: 48px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--es-line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.theme-ligne a { color: var(--es-ink); text-underline-offset: 4px; }
/* Thème et liste de ses interventions (accueil). */
.theme { display: flex; flex-direction: column; gap: 12px; }
.theme h3 { font-size: 20px; line-height: 1.25; font-weight: 500; }
.theme h3 a { color: var(--es-ink); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.form-en-ligne { display: inline; margin-left: 16px; }
.titre-formulaire { font-size: 24px; margin-bottom: 8px; }
.tableau tr.passe { color: var(--es-muted); }
.visuellement-masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Don par virement : coordonnées et QR-facture éventuelle. */
.don-virement { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.don-virement h3 { font-size: 20px; }
.don-qr { width: 220px; height: auto; background: var(--es-white); }

/* Audience (administration). */
.audience-jours { list-style: none; padding: 0; margin: 0 0 48px; display: flex; flex-direction: column; gap: 4px; max-width: 720px; }
.audience-jours li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 56px; gap: 12px; align-items: center; font-size: var(--es-label); }
.audience-barre { width: 100%; height: 10px; }
.audience-barre rect { fill: var(--es-ink); }
.audience-nombre { text-align: right; font-variant-numeric: tabular-nums; }
.audience-listes { --min: 300px; }

/* Comité de soutien sur l'accueil : nombre en grand, quelques noms. */
/* Comité de soutien (accueil) : panneau sombre avec le décompte, noms en cartes. */
.cm-bloc { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 0; box-shadow: inset 0 0 0 1px var(--es-line); }
.cm-appel { display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 48px); background: var(--es-nuit); color: var(--es-white); }
.cm-appel .surtitre { color: var(--es-signal); }
.cm-titre { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; }
.cm-nombre { display: flex; align-items: baseline; gap: 10px; margin-top: auto; font-size: var(--es-small); color: var(--es-on-dark-muted); }
.cm-nombre span { font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; color: var(--es-signal); font-variant-numeric: tabular-nums; }
.cm-appel .lien-action { color: var(--es-white); }
.cm-liste { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); background: #F7F3EC; }
.cm-noms { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cm-noms li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--es-white); box-shadow: 0 1px 0 #E8E0D2; }
.cm-initiales { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--es-signal); color: var(--es-ink); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.cm-personne { display: flex; flex-direction: column; min-width: 0; }
.cm-nom { font-size: 17px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.cm-commune { font-size: var(--es-label); color: var(--es-muted); }
.cm-exemple { margin: 0; }
@media (max-width: 900px) {
    .cm-bloc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .cm-noms { grid-template-columns: minmax(0, 1fr); }
}
/* Prochains rendez-vous (accueil) : cartes et carte « Inviter Isabelle ». */
.acc-rdv-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.acc-rdv { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--es-white); box-shadow: inset 0 0 0 1px var(--es-line); }
.acc-rdv-proche { box-shadow: inset 0 0 0 1px var(--es-line), inset 0 4px 0 var(--es-signal); }
.acc-rdv-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.acc-rdv-tete .ag-bientot { margin: 0; }
.acc-rdv > p { margin: 0; }
.acc-rdv > .acc-rdv-actions { margin-top: auto; padding-top: 12px; }
.acc-rdv-inviter { justify-content: flex-end; min-height: 220px; font-size: var(--es-body); }
.acc-rdv-inviter .ag-appel-titre { font-size: clamp(24px, 2.4vw, 32px); }
@media (max-width: 640px) {
    .acc-rdv-inviter { min-height: 0; }
}

/* Compte à rebours de l'élection : bande noire, nombre géant qui défile
   à son apparition (app.js), ligne de la législature écoulée. */
.rebours { background: var(--es-nuit); color: var(--es-white); margin-top: clamp(48px, 7vw, 96px); }
.rebours-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--es-gutter); display: flex; flex-direction: column; gap: 20px; }
.rebours-surtitre { font-size: var(--es-label); font-weight: 500; color: var(--es-on-dark-muted); }
.rebours-nombre { font-size: clamp(120px, 24vw, 340px); line-height: 0.82; letter-spacing: -0.06em; font-weight: 500; font-variant-numeric: tabular-nums; margin-left: -0.04em; }
.rebours-legende { font-size: clamp(24px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; max-width: 18ch; }
.rebours-legislature { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin-top: 16px; }
.rebours-ligne { width: 100%; height: 4px; }
.rebours-fond { fill: #3A3A3A; }
.rebours-fait { fill: var(--es-white); }
.rebours-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: var(--es-label); color: var(--es-on-dark-muted); }
.rebours .actions { margin-top: 16px; }
.rebours .lien-action { color: var(--es-white); }
.rebours :focus-visible { outline-color: var(--es-white); }

/* Calendrier de l'Avent : grille de portes ; le battant pivote sur sa
   charnière gauche et découvre la vignette du jour. */
.avent { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .avent { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .avent { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
.porte { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; perspective: 700px; color: var(--es-ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--es-ink); }
.porte-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.porte-battant { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 12px; background: var(--es-white); box-shadow: inset 0 0 0 1px var(--es-ink); transform-origin: 0 50%; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); backface-visibility: hidden; }
.porte-numero { font-size: clamp(28px, 4vw, 52px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; font-variant-numeric: tabular-nums; }
.porte-mention { font-size: 12px; color: var(--es-muted); }
a.porte:hover .porte-battant, a.porte:focus-visible .porte-battant { transform: rotateY(-22deg); }
.porte.entrouverte .porte-battant { transform: rotateY(-62deg); }
.porte.ouvre .porte-battant { transform: rotateY(-108deg); }
.porte-fermee { box-shadow: inset 0 0 0 1px var(--es-line); }
/* Couleurs de Noël : rouge et crème des visuels, vert sapin, or. Cadre
   intérieur fin, comme une boîte-cadeau. */
.avent-case { --teinte-fond: #E30310; --teinte-texte: #FFFFFF; }
.avent-teinte-1 { --teinte-fond: #F7F3EC; --teinte-texte: #B8020C; }
.avent-teinte-2 { --teinte-fond: #1E5B3A; --teinte-texte: #F7F3EC; }
.avent-teinte-3 { --teinte-fond: #E9B949; --teinte-texte: #3B2A06; }
.avent-case .porte { box-shadow: none; }
.avent-case .porte-battant { background: var(--teinte-fond); color: var(--teinte-texte); box-shadow: inset 0 0 0 5px var(--teinte-fond), inset 0 0 0 6px currentColor; }
.avent-case .porte-mention { color: var(--teinte-texte); opacity: 0.85; }
.avent-case .porte-fermee .porte-battant { opacity: 0.45; }
.avent-aujourdhui .porte { outline: 3px solid var(--es-ink); outline-offset: 3px; }
.avent-aujourdhui .porte-battant { background: var(--teinte-fond); color: var(--teinte-texte); }
.avent-aujourdhui .porte-mention { color: var(--teinte-texte); }
.avent-progression { font-size: var(--es-small); font-weight: 500; }
.avent-actions { margin-top: 40px; }
/* Une porte ouverte : visuel à gauche, textes à droite. */
.avent-porte { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; padding-top: clamp(40px, 6vw, 80px); padding-bottom: var(--es-section-y); }
.avent-visuel { flex: 0 1 520px; margin: 0; }
.avent-visuel img { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px var(--es-line); }
.avent-texte { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.avent-texte h1 { font-size: var(--es-h2); line-height: 1.08; letter-spacing: -0.022em; }
.avent-court p { font-size: var(--es-lead); line-height: 1.55; }
.avent-long summary { cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.avent-long div { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; max-width: 64ch; }
.avent-partage ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
/* Liens et bouton « Copier le lien » sur la même ligne et à la même hauteur. */
.avent-partage li { display: flex; }
.avent-partage .lien-action { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.2; }
/* Page du livre : couverture en volume sur un aplat rouge du livre, citation en grand. */
.livre-une { background: linear-gradient(90deg, var(--es-white) 0 58%, #F7F3EC 58% 100%); overflow: hidden; }
.livre-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--es-gutter) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.livre-une-texte { display: flex; flex-direction: column; gap: 22px; }
.livre-une h1 { font-size: var(--es-h1-page); line-height: 1.02; letter-spacing: -0.032em; font-weight: 500; max-width: 12ch; }
.livre-citation { margin: 8px 0 0; padding: 4px 0 4px 24px; box-shadow: inset 4px 0 0 #E2203F; }
.livre-citation blockquote { margin: 0; }
.livre-citation p { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.01em; max-width: 30ch; }
.livre-citation strong { color: #C8102E; font-weight: 600; }
.livre-citation figcaption { margin-top: 10px; font-size: var(--es-label); color: var(--es-muted); }
.livre-objet { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 28px; perspective: 1400px; }
.livre-volume { position: relative; display: block; width: min(100%, 380px); transform: rotateY(-16deg) rotateX(2deg); transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); box-shadow: 1px 1px 0 #DDD, 18px 26px 40px rgba(20, 20, 20, 0.22), 40px 60px 80px rgba(200, 16, 46, 0.14); }
.livre-volume::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,0.18), rgba(255,255,255,0.25) 45%, rgba(0,0,0,0.06)); z-index: 1; }
.livre-volume img { display: block; width: 100%; height: auto; }
.livre-objet:hover .livre-volume { transform: rotateY(-6deg) rotateX(1deg) translateY(-4px); }
.livre-reperes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: var(--es-small); color: var(--es-muted); }
.livre-reperes strong { color: var(--es-ink); font-weight: 600; }
@media (max-width: 860px) {
    .livre-une { background: linear-gradient(180deg, var(--es-white) 0 62%, #F7F3EC 62% 100%); }
    .livre-une-interieur { grid-template-columns: 1fr; }
    .livre-volume { width: min(62vw, 300px); }
}
@media (prefers-reduced-motion: reduce) {
    .livre-volume { transition: none; }
}

/* Ce qu'elle défend : bande sombre, citations en grand, guillemets orange. */
.positions { background: var(--es-nuit); color: var(--es-white); }
.positions-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: var(--es-section-y) var(--es-gutter); }
.positions-tete { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.positions .surtitre { color: var(--es-signal); }
.positions .titre-section { color: var(--es-white); }
.positions-intro { font-size: var(--es-lead); line-height: 1.5; color: var(--es-on-dark-muted); }
.positions-grille { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--es-nuit-ligne); box-shadow: 0 0 0 1px var(--es-nuit-ligne); }
.position { background: var(--es-nuit); padding: 32px 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.position-titre { font-size: var(--es-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--es-signal); }
.position-citation { margin: 0; }
.position-citation p { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.28; letter-spacing: -0.012em; font-weight: 500; }
.position-source { font-size: 13px; }
.position-source a { color: var(--es-on-dark-muted); text-underline-offset: 3px; }
.position-texte { font-size: var(--es-small); line-height: 1.55; color: var(--es-on-dark-muted); margin-top: auto; padding-top: 8px; }
.position-objet { font-size: 13px; color: var(--es-on-dark-muted); display: flex; flex-direction: column; gap: 2px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--es-nuit-ligne); }
.position-objet a { color: var(--es-white); font-weight: 600; text-underline-offset: 3px; }
.positions-parti { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: var(--es-small); color: var(--es-on-dark-muted); }
.positions-parti a { color: var(--es-white); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.pied-partis { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pied-partis a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 980px) {
    .positions-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .positions-grille { grid-template-columns: 1fr; margin-top: 40px; }
    .position { padding: 26px 20px; }
}

/* Concours de l'Avent : carte crème liserée de rouge sous la porte, annonce sous la grille. */
/* Accueil : couverture du livre sous son titre. */
.accueil-livre-couverture { display: block; width: clamp(150px, 18vw, 220px); margin-top: 28px; transform: rotate(-2deg); box-shadow: 0 18px 40px rgba(19, 39, 74, 0.22); transition: transform 0.3s ease; }
.accueil-livre-couverture:hover { transform: rotate(0deg) translateY(-4px); }
.accueil-livre-couverture img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .accueil-livre-couverture, .accueil-livre-couverture:hover { transition: none; transform: none; } }
/* Page Livre : calendrier et concours, personnages, propos. */
.livre-avent { background: var(--es-nuit); color: var(--es-white); }
.livre-avent-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: var(--es-section-court) var(--es-gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 88px); align-items: center; }
.livre-avent-texte { display: flex; flex-direction: column; gap: 18px; }
.livre-avent-texte .surtitre { color: var(--es-signal); }
.livre-avent-texte p:not(.surtitre):not(.actions) { color: var(--es-on-dark-muted); font-size: var(--es-lead); line-height: 1.55; max-width: 34em; }
.livre-avent .titre-section { color: var(--es-white); }
.livre-concours { background: var(--es-signal); color: var(--es-ink); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.livre-concours-etiquette { align-self: flex-start; font-size: var(--es-label); font-weight: 600; background: var(--es-ink); color: var(--es-white); padding: 4px 10px; }
.livre-concours h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.livre-concours p { font-size: var(--es-small); line-height: 1.55; }
.livre-concours-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.livre-concours .bouton { background: var(--es-ink); color: var(--es-white); }
.livre-concours .bouton:hover { background: var(--es-nuit); }
.livre-concours .lien-action { color: var(--es-ink); }
.livre-muster-liste { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.livre-personnage { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--es-surface); color: var(--es-ink); text-decoration: none; box-shadow: inset 0 3px 0 var(--es-nuit); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.livre-personnage:hover { box-shadow: inset 0 6px 0 var(--es-signal); transform: translateY(-2px); }
.livre-personnage-initiale { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--es-nuit); color: var(--es-signal); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.livre-personnage-nom { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.livre-personnage-role { font-size: var(--es-label); color: var(--es-muted); }
.livre-personnage-texte { font-size: 16px; line-height: 1.5; margin-top: 6px; }
.livre-personnage-porte { margin-top: auto; padding-top: 12px; font-size: var(--es-label); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.livre-propos { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.livre-propos-texte { display: flex; flex-direction: column; gap: 18px; }
.livre-propos .titre-section, .livre-muster .titre-section { max-width: none; }
.livre-parlement { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 36px); background: var(--es-white); color: var(--es-ink); text-decoration: none; box-shadow: inset 4px 0 0 var(--es-signal); }
.livre-parlement-texte { font-size: 19px; line-height: 1.45; }
.livre-parlement:hover .lien-action { text-decoration-thickness: 2px; }
@media (max-width: 1000px) { .livre-muster-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
    .livre-avent-interieur, .livre-propos { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .livre-muster-liste { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .livre-personnage, .livre-personnage:hover { transition: none; transform: none; } }
.concours, .concours-annonce { background: #F7F3EC; box-shadow: inset 4px 0 0 #B8020C; padding: 28px 28px 28px 32px; margin: 8px 0 32px; }
.concours-annonce { margin: 40px 0 0; max-width: 760px; }
.concours .surtitre, .concours-annonce .surtitre { color: #B8020C; }
.concours-titre { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin: 4px 0 12px; }
.concours-formulaire { margin-top: 20px; }
.concours-formulaire .champ input[type="email"] { background: var(--es-white); }
.concours-formulaire .actions { margin-top: 8px; }
.partage-boutons { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.partage-boutons li { display: flex; }
.partage-boutons .lien-action { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.2; }
@media (max-width: 560px) {
    .concours, .concours-annonce { padding: 22px 18px 22px 22px; }
}
.avent-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--es-line); }
/* Bandeau de l'accueil pendant l'Avent : couleurs des visuels du
   calendrier (crème et rouge), étiquette-cadeau du jour, flocons qui
   scintillent doucement. Seule exception saisonnière à la règle d'une
   seule couleur. */
.avent-bandeau { --avent-creme: #F7F3EC; --avent-rouge: #E30310; position: relative; display: block; overflow: hidden; background: var(--avent-creme); color: var(--es-ink); text-decoration: none; box-shadow: inset 0 -1px 0 #E8E0D2; }
.avent-decor { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.avent-decor .flocon path { fill: none; stroke: var(--avent-rouge); stroke-width: 1.4; stroke-linecap: round; opacity: 0.45; }
.avent-points circle { fill: var(--avent-rouge); opacity: 0.3; }
.avent-decor .flocon { animation: scintille 4.5s ease-in-out infinite; }
.avent-decor .f2 { animation-delay: -1.5s; }
.avent-decor .f3 { animation-delay: -3s; }
@keyframes scintille { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.avent-bandeau-interieur { position: relative; display: flex; align-items: center; gap: 18px 24px; max-width: var(--es-maxw); margin: 0 auto; padding: 14px var(--es-gutter); }
.avent-etiquette { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 58px; height: 80px; padding-bottom: 8px; background: var(--avent-rouge); color: #FFFFFF; clip-path: polygon(24% 0, 76% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); transform: rotate(-4deg); }
.avent-etiquette-trou { position: absolute; top: 9px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--avent-creme); }
.avent-etiquette-num { font-size: 28px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.avent-etiquette-mois { font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.avent-bandeau-texte { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: var(--es-small); }
.avent-bandeau-titre { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.avent-bandeau-action { flex: none; font-size: var(--es-small); font-weight: 500; color: var(--avent-rouge); text-decoration: underline; text-underline-offset: 4px; }
.avent-bandeau:hover .avent-bandeau-action { text-decoration-thickness: 2px; }
.avent-bandeau:hover .avent-etiquette { transform: rotate(3deg); transition: transform 0.3s ease; }
.avent-bandeau + .ouverture { padding-top: clamp(40px, 6vw, 80px); }
@media (max-width: 640px) {
    .avent-bandeau-interieur { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 6px 18px; padding-top: 16px; padding-bottom: 16px; }
    .avent-etiquette { grid-row: 1 / span 2; align-self: center; }
    .avent-bandeau-texte { min-width: 0; }
    .avent-bandeau-titre { font-size: 17px; }
    .avent-bandeau-action { grid-column: 2; justify-self: start; }
    .avent-decor { display: none; }
}

/* Espace presse. */
.bio { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bio h3 { font-size: 20px; }
.presse-photos { --min: 260px; }
.presse-photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.presse-photo .photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.presse-photo figcaption { display: flex; flex-direction: column; gap: 6px; font-size: var(--es-small); }

/* Passages dans les médias en cartes (accueil) : le média en premier. */
.texte-tete { font-size: 16px; line-height: 1.55; color: var(--es-muted); max-width: 46ch; }
.medias-cartes { --min: 260px; gap: 40px 32px; }
.media-carte { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; box-shadow: inset 0 2px 0 var(--es-ink); color: var(--es-ink); text-decoration: none; }
.media-carte-meta { font-size: var(--es-label); color: var(--es-muted); }
.media-carte-nom { font-size: 26px; line-height: 1.15; letter-spacing: -0.015em; font-weight: 500; }
.media-carte-titre { font-size: 16px; line-height: 1.5; color: var(--es-muted); }
.media-carte-action { margin-top: auto; padding-top: 6px; font-size: var(--es-small); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.media-carte:hover .media-carte-action { text-decoration-thickness: 2px; }
.media-carte:hover .media-carte-nom { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
/* Aperçu d'un passage (image du média), avec pastille de lecture pour la vidéo. */
.media-apercu { position: relative; display: block; overflow: hidden; background: var(--es-nuit); }
.media-apercu-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease; }
.media-carte:hover .media-apercu-image, .med-vedette:hover .media-apercu-image { transform: scale(1.03); }
.media-apercu-video::before { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--es-signal); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); z-index: 1; }
.media-apercu-video::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -6px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--es-ink); z-index: 2; }
.media-apercu-credit { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; font-weight: 400; letter-spacing: 0; color: var(--es-muted); }
.med-vedette-avec-apercu { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; align-items: start; }
.med-vedette-avec-apercu .media-apercu { grid-column: 1; grid-row: 1 / 4; align-self: center; }
.med-vedette-avec-apercu .med-vedette-media, .med-vedette-avec-apercu .med-vedette-titre, .med-vedette-avec-apercu .med-vedette-pied { grid-column: 2; }
@media (max-width: 900px) {
    .med-vedette-avec-apercu { grid-template-columns: 1fr; grid-template-rows: none; }
    .med-vedette-avec-apercu .media-apercu, .med-vedette-avec-apercu .med-vedette-media, .med-vedette-avec-apercu .med-vedette-titre, .med-vedette-avec-apercu .med-vedette-pied { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .media-apercu-image { transition: none; } .media-carte:hover .media-apercu-image, .med-vedette:hover .media-apercu-image { transform: none; } }
/* Liste des passages dans les médias. */
.medias-annee { font-size: 20px; font-weight: 500; margin-top: 8px; }
.medias-liste a { color: var(--es-ink); text-underline-offset: 4px; }
.medias-liste .note { display: block; margin-top: 4px; }
.theme .liste-filets a { color: var(--es-ink); text-underline-offset: 4px; }

/* Champs de formulaire. */
.formulaire { display: flex; flex-direction: column; }
.champ { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px 0; min-width: 0; }
label { font-size: var(--es-small); font-weight: 500; }
input[type="text"], input[type="email"], input[type="password"], select, textarea { display: block; width: 100%; min-height: 52px; padding: 0 14px; border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--es-field-line); background: var(--es-white); font: 400 17px var(--es-font); color: var(--es-ink); -webkit-appearance: none; appearance: none; }
textarea { padding: 14px; min-height: 160px; line-height: 1.55; resize: vertical; }
select { max-width: 440px; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--es-ink); outline-offset: 0; }
::placeholder { color: var(--es-muted); opacity: 1; }
.champs-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 24px; }
.aide { font-size: var(--es-label); color: var(--es-muted); }
.aide a { color: var(--es-muted); }
.erreur-champ { clear: both; font-size: var(--es-small); font-weight: 500; color: var(--es-ink); padding-left: 12px; box-shadow: inset 2px 0 0 var(--es-ink); margin: 0 0 12px; }
.en-erreur input, .en-erreur select, .en-erreur textarea { box-shadow: inset 0 0 0 2px var(--es-ink); }
.champ-valable input:not([type="checkbox"]), .champ-valable textarea { box-shadow: inset 0 0 0 1px var(--es-ink); }
.alerte, .flash { box-shadow: inset 0 0 0 1px var(--es-ink); padding: 16px 20px; margin-bottom: 24px; font-size: var(--es-small); }
.flash { max-width: var(--es-maxw); margin: 16px auto 0; }
.case-a-cocher { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.case-a-cocher .erreur-champ { flex-basis: 100%; }
.case-a-cocher input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--es-ink); flex: none; }
.case-a-cocher label { flex: 1; font-weight: 400; }
/* Groupe de cases (« Je m'engage ») : légende comme une étiquette de champ. */
.choix-multiples { border: 0; margin: 0; gap: 12px; }
.choix-multiples legend { padding: 0 0 4px; font-weight: 500; }
.choix-multiples .case-a-cocher { display: flex; }
/* Tableau large de l'administration : défilement horizontal sur téléphone. */
.defilement-tableau { overflow-x: auto; }
.formulaire .actions { padding-top: 16px; }

/* Encadré : filet à gauche. */
.encadre { box-shadow: inset 2px 0 0 var(--es-ink); padding: 4px 0 4px 16px; font-size: var(--es-small); max-width: 60ch; }

/* Tableaux. */
.tableau { width: 100%; border-collapse: collapse; font-size: var(--es-small); }
.tableau caption { text-align: left; font-size: var(--es-label); color: var(--es-muted); padding-bottom: 8px; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; box-shadow: inset 0 1px 0 var(--es-line); font-weight: 400; }
.tableau thead th { font-size: var(--es-label); color: var(--es-muted); box-shadow: none; padding-top: 0; }
.tableau tbody th { font-weight: 500; }
.tableau .petit { display: block; }

/* Fiche : terme et valeur sur une ligne (livre, fonctions). */
.fiche > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 4px 32px; padding: 14px 0; box-shadow: inset 0 1px 0 var(--es-line); }
.fiche dt { font-size: var(--es-label); color: var(--es-muted); }
.fiche dd { font-size: 16px; }
.texte-colonne { display: flex; flex-direction: column; gap: 16px; max-width: 64ch; }

/* Textes juridiques : une colonne de 72 caractères. */
.texte-legal { display: flex; flex-direction: column; gap: 16px; }
.texte-legal h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; padding-top: 24px; margin-top: 16px; box-shadow: inset 0 1px 0 var(--es-line); }
.texte-legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

/* Comptes de l'équipe et pages d'erreur. */
.cle-totp { font-size: 22px; letter-spacing: 0.08em; font-weight: 500; word-break: break-all; }
.detail-technique { overflow-x: auto; background: var(--es-surface); padding: 16px; font-size: 13px; }

/* Apparitions au défilement : un fondu discret. */
@keyframes apparition { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.a-venir { opacity: 0; transform: translateY(12px); }
.apparu { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

/* Transitions de page en fondu. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.15s ease both fondu-sortie; }
::view-transition-new(root) { animation: 0.25s ease both fondu-entree; }
@keyframes fondu-sortie { to { opacity: 0; } }
@keyframes fondu-entree { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    @view-transition { navigation: none; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .a-venir { opacity: 1; transform: none; }
}

/* Petits écrans : seulement ce que les grilles souples ne règlent pas seules. */
@media (max-width: 640px) {
    :root { --es-section-y: 72px; --es-section-court: 56px; }
    .bloc { gap: 24px; }
    .actions .bouton { flex: 1 1 100%; }
    .ouverture { gap: 32px; }
    .appel-final-interieur { padding-top: 80px; padding-bottom: 80px; }
    .appel-final .bouton { width: 100%; }
}

/* Listes sur deux colonnes (comité de soutien). */
.liste-deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); column-gap: 32px; }
.liste-deux > li { font-size: var(--es-small); padding: 12px 0; }
.pied-marque .logo, .marque .logo { align-self: flex-start; }

/* Colonnes étroites : formulaires, textes juridiques, comptes. */
.conteneur-etroit > * { max-width: 820px; }
.texte-legal > * { max-width: 72ch; }
.section-compte { padding-top: clamp(48px, 7vw, 96px); padding-bottom: var(--es-section-y); display: flex; flex-direction: column; gap: 24px; }
.section-compte .titre-compte { font-size: var(--es-h1-page); line-height: 1.02; letter-spacing: -0.032em; font-weight: 500; max-width: 13ch; }
#comparer .bloc { margin-bottom: 32px; }

/* En-tête qui s'efface en descendant et revient en remontant. */
.entete { transition: transform 0.3s ease; }
.entete.cachee { transform: translateY(-100%); }

/* Repère bref sur la section atteinte par un lien. */
@keyframes repere-section { 0% { box-shadow: inset 0 2px 0 var(--es-ink); } 70% { box-shadow: inset 0 2px 0 var(--es-ink); } 100% { box-shadow: inset 0 1px 0 var(--es-line); } }
.section-ciblee .bloc { animation: repere-section 1.6s ease both; }

/* Menu sur téléphone : ouverture en douceur. */
@keyframes menu-ouverture { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menu-mobile[open] nav { animation: menu-ouverture 0.22s ease both; }

/* Bouton d'envoi en cours. */
.bouton[aria-busy="true"] { cursor: progress; opacity: 0.75; }

/* ===== Scènes au défilement : « Son parcours, page par page » et pages thèmes ===== */
.pca-scene { box-shadow: inset 0 1px 0 var(--es-line); }
.pca-collant { padding: var(--es-section-y) 0; }
.pca-grille { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; }
.pca-texte { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.pca-tete { display: flex; flex-direction: column; gap: 16px; }
.pca-chiffres { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.pca-chiffre { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--es-line); }
.pca-valeur { font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; font-variant-numeric: tabular-nums; }
.pca-legende { font-size: 16px; line-height: 1.5; color: var(--es-muted); max-width: 30ch; }
.pca-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.pca-compteur { display: none; font-size: var(--es-label); color: var(--es-muted); font-variant-numeric: tabular-nums; }
.pca-document { flex: 1.2 1 420px; min-width: 0; width: 100%; height: auto; max-height: 560px; overflow: visible; }
.pca-page { transform-box: view-box; transform-origin: 320px 208px; }
.pca-feuille { fill: var(--es-white); stroke: var(--es-ink); stroke-width: 1.2; }
.pca-ligne { fill: var(--es-line); }
.pca-titre-page { font: 500 13px var(--es-font); fill: var(--es-ink); }
.pca-numero-page { font: 400 11px var(--es-font); fill: var(--es-muted); text-anchor: end; }
/* Document déplié, sans script : chaque page à sa place dans l'éventail. */
.pca-page[data-page="0"] { transform: translate(-170px, 18px) rotate(-14deg); }
.pca-page[data-page="1"] { transform: translate(-102px, 6px) rotate(-8.5deg); }
.pca-page[data-page="2"] { transform: translate(-34px, 0) rotate(-3deg); }
.pca-page[data-page="3"] { transform: translate(34px, 0) rotate(3deg); }
.pca-page[data-page="4"] { transform: translate(102px, 6px) rotate(8.5deg); }
.pca-page[data-page="5"] { transform: translate(170px, 18px) rotate(14deg); }

/* Avec le script : scène collée à l'écran, pilotée par le défilement. */
.pca-actif { height: 250vh; height: 250svh; }
/* « Passer » : visible seulement quand la scène est animée (sinon tout est
   déjà lisible d'un coup d'œil). */
.pca-passer { display: none; font-size: var(--es-small); color: var(--es-muted); }
.pca-actif .pca-passer { display: inline; }
.pca-actif .pca-collant { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 0; overflow: hidden; }
.pca-actif .pca-chiffres { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 13rem; }
.pca-actif .pca-chiffre { grid-area: 1 / 1; box-shadow: none; padding-top: 0; opacity: 0; transform: translateY(24px); transition: opacity 0.45s ease, transform 0.45s ease; }
.pca-actif .pca-chiffre.active { opacity: 1; transform: none; }
.pca-actif .pca-valeur { font-size: clamp(72px, 11vw, 168px); letter-spacing: -0.045em; }
.pca-actif .pca-legende { font-size: var(--es-lead); max-width: 28ch; color: var(--es-ink); }
.pca-actif .pca-compteur { display: block; }
.pca-actif .pca-page { transition: none; }
.pca-page.active .pca-feuille { stroke-width: 2; }
@media (max-width: 760px) {
    .pca-actif .pca-grille { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 16px; }
    .pca-actif .pca-texte { flex: none; gap: 16px; }
    .pca-actif .pca-tete .titre-section { font-size: 26px; }
    .pca-actif .pca-chiffres { min-height: 9.5rem; }
    .pca-actif .pca-valeur { font-size: 72px; }
    .pca-actif .pca-legende { font-size: 16px; }
    .pca-actif .pca-document { flex: none; max-height: 34svh; }
}
.pca-page .pca-titre-page, .pca-page .pca-numero-page, .pca-page .pca-ligne { transition: opacity 0.3s ease; }
.pca-page.pca-vierge .pca-titre-page, .pca-page.pca-vierge .pca-numero-page, .pca-page.pca-vierge .pca-ligne { opacity: 0; }

/* ===== Pages thèmes : objets en perspective, animés au défilement ===== */
.objet { --e0: 1; --e1: 1; --e2: 1; --e3: 1; overflow: visible; }
.objet polygon, .objet rect, .objet circle, .objet ellipse, .objet path, .objet line { stroke: var(--es-ink); stroke-width: 1.2; stroke-linejoin: round; }
.objet .face-h, .objet .fond-blanc { fill: var(--es-white); }
.objet .face-g { fill: var(--es-surface); }
.objet .face-d { fill: var(--es-line); }
.objet .fond-encre, .objet .voyant { fill: var(--es-ink); }
.objet .fond-gris { fill: var(--es-line); stroke: none; }
.objet .trait { fill: none; }
.objet g, .objet polygon { transform-box: view-box; }
.objet .principal { transform: translateY(calc((1 - var(--e0)) * 12px)); }

/* Volume : faces ombrées chaudes, socle crème, ombre portée, accents orange. */
.objet .face-g { fill: #EFEBE4; }
.objet .face-d { fill: #D8D2C6; }
.objet .ombre-centre { stop-color: #141414; stop-opacity: 0.16; }
.objet .ombre-bord { stop-color: #141414; stop-opacity: 0; }
.objet .objet-ombre { stroke: none; }
.objet .sol polygon { stroke: #CFC8BB; }
.objet .sol .face-h { fill: #F7F3EC; }
.objet .sol .face-g { fill: #E9E2D6; }
.objet .sol .face-d { fill: #DDD5C7; }
.objet .bouclier .face-h, .objet .barriere .face-h { fill: #FFC266; }
.objet .bouclier .face-g, .objet .barriere .face-g { fill: var(--es-signal); }
.objet .bouclier .face-d, .objet .barriere .face-d { fill: #D97A00; }
.objet .personne .face-g { fill: var(--es-signal); }
.objet .personne .face-d { fill: #D97A00; }
.objet .bulle .fond-gris { fill: var(--es-signal); }
.objet .baie-locale .fond-encre { fill: #D52B1E; }
.objet .menace { stroke: #C8102E; }
.objet .coupure path { stroke: #C8102E; }
.objet .voyant { fill: var(--es-signal); stroke: none; }
.objet .colonne .face-g { fill: #F4F1EB; }
@keyframes objet-flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: no-preference) {
    /* « translate » se compose avec le « transform » des phases. */
    .objet .bouclier, .objet .baie-locale, .objet .bulle { animation: objet-flotte 4.5s ease-in-out infinite; }
    .objet .bulle-1 { animation-delay: -1.5s; }
    .objet .bulle-2 { animation-delay: -3s; }
    .objet .baie-locale { animation-duration: 5.5s; }
}

/* Tiroirs de serveur (thème « Souveraineté numérique »). */
.objet .tiroir { fill: var(--es-white); }
.objet .tiroir-eteint { fill: var(--es-ink); stroke: none; }
.objet .tiroir-0 { opacity: clamp(0, calc(var(--e1) - clamp(0, calc(var(--e3) * 4 - 3), 1)), 1); }
.objet .tiroir-1 { opacity: clamp(0, calc(var(--e1) - clamp(0, calc(var(--e3) * 4 - 2), 1)), 1); }
.objet .tiroir-2 { opacity: clamp(0, calc(var(--e1) - clamp(0, calc(var(--e3) * 4 - 1), 1)), 1); }
.objet .tiroir-3 { opacity: clamp(0, calc(var(--e1) - clamp(0, calc(var(--e3) * 4), 1)), 1); }

/* Thème « Liberté de penser » : écran, bulles, protection. */
.objet .ecran { fill: var(--es-ink); }
.objet .bulle-0 { opacity: clamp(0, calc(var(--e1) * 3 - var(--e3) * 3), 1); transform: translateY(calc((1 - clamp(0, calc(var(--e1) * 3), 1)) * 24px)); }
.objet .bulle-1 { opacity: clamp(0, calc(var(--e1) * 3 - 1 - var(--e3) * 3), 1); transform: translateY(calc((1 - clamp(0, calc(var(--e1) * 3 - 1), 1)) * 24px)); }
.objet .bulle-2 { opacity: clamp(0, calc(var(--e1) * 3 - 2 - var(--e3) * 3), 1); transform: translateY(calc((1 - clamp(0, calc(var(--e1) * 3 - 2), 1)) * 24px)); }
.objet .bouclier { opacity: var(--e2); transform: translateY(calc((1 - var(--e2)) * 60px)); }
/* Thème « Souveraineté numérique » : câble coupé, baie locale. */
.objet .cable { fill: none; stroke-width: 2; opacity: calc(1 - var(--e1) * 0.75); }
.objet .coupure { opacity: clamp(0, calc(var(--e1) * 2 - var(--e3) * 2), 1); }
.objet .coupure path { stroke-width: 2.4; }
.objet .baie-locale { opacity: var(--e2); transform: translate(calc((1 - var(--e2)) * 80px), calc((1 - var(--e2)) * 40px)); }
.objet .croix { fill: var(--es-white); stroke: none; }
/* Thème « Sécurité » : menaces, barrière. */
.objet .menace { fill: none; stroke-width: 1.8; }
.objet .menaces { opacity: clamp(0, calc(var(--e1) * 2 - var(--e3) * 2), 1); transform: translateX(calc((var(--e1) - 1) * 70px)); }
.objet .barriere { opacity: var(--e2); transform: translateY(calc((1 - var(--e2)) * 36px)); }

/* Page « Le Conseil national » : chiffres clés, schéma des pouvoirs, étapes, droits populaires. */
.cn-une { background: #F7F3EC; }
.cn-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--es-gutter) clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.cn-une-texte { display: flex; flex-direction: column; gap: 22px; }
.cn-une h1 { font-size: var(--es-h1-page); line-height: 1.02; letter-spacing: -0.032em; font-weight: 500; max-width: 14ch; }
.cn-chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #E2DACB; box-shadow: 0 0 0 1px #E2DACB; margin: 0; }
.cn-chiffres div { background: #F7F3EC; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.cn-chiffres dt { font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -0.03em; color: #C8102E; font-variant-numeric: tabular-nums; }
.cn-chiffres dd { margin: 0; font-size: var(--es-small); line-height: 1.4; color: var(--es-muted); }
.cn-schema { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 60px; position: relative; }
.cn-acteur { position: relative; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; background: var(--es-white); box-shadow: inset 0 0 0 1px var(--es-line); }
/* Flèche centrée dans l'écart de 60 px entre deux blocs. */
.cn-acteur + .cn-acteur::before { content: "→"; position: absolute; left: -60px; width: 60px; top: 50%; transform: translateY(-50%); text-align: center; font-size: 40px; line-height: 1; font-weight: 600; color: var(--es-signal); }
.cn-acteur-nom { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.cn-acteur p:not(.cn-acteur-nom) { font-size: var(--es-small); line-height: 1.5; color: var(--es-muted); }
.cn-acteur-parlement { background: var(--es-nuit); box-shadow: none; color: var(--es-white); }
.cn-acteur-parlement p:not(.cn-acteur-nom) { color: var(--es-on-dark-muted); }
.cn-acteur-parlement .cn-acteur-nom { color: var(--es-signal); }
.cn-chambres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cn-chambres p { padding: 14px; box-shadow: inset 0 0 0 1px var(--es-nuit-ligne); display: flex; flex-direction: column; gap: 4px; }
.cn-chambres strong { color: var(--es-white); font-weight: 600; font-size: 16px; }
.cn-roles { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cn-roles li { padding-top: 18px; box-shadow: inset 0 3px 0 var(--es-signal); display: flex; flex-direction: column; gap: 8px; }
.cn-role-nom { font-size: 20px; font-weight: 500; }
.cn-roles li p:not(.cn-role-nom) { font-size: var(--es-small); line-height: 1.5; color: var(--es-muted); }
.cn-milice { margin-top: 36px; max-width: 64ch; font-size: var(--es-lead); line-height: 1.5; }
.cn-etapes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.cn-etapes li { position: relative; padding: 0 0 28px 34px; display: flex; flex-direction: column; gap: 6px; }
.cn-etapes li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--es-signal); }
.cn-etapes li::after { content: ""; position: absolute; left: 6px; top: 22px; bottom: 2px; width: 2px; background: var(--es-line); }
.cn-etapes li:last-child::after { display: none; }
.cn-etapes li:last-child::before { background: #C8102E; }
.cn-etape-nom { font-size: 20px; font-weight: 500; }
.cn-etapes li p:not(.cn-etape-nom) { color: var(--es-muted); max-width: 60ch; }
.cn-outils { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 1px; background: var(--es-line); box-shadow: 0 0 0 1px var(--es-line); }
.cn-outils div { flex: 1 1 260px; background: var(--es-surface); padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.cn-outils dt { font-size: 19px; font-weight: 500; }
.cn-outils dd { margin: 0; font-size: var(--es-small); line-height: 1.5; color: var(--es-muted); }
.cn-outils dd a { display: inline-flex; align-items: center; min-height: 44px; color: var(--es-ink); font-weight: 600; text-underline-offset: 3px; }
.cn-droits { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cn-droits li { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; background: #F7F3EC; }
.cn-droit-chiffre { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: #C8102E; }
.cn-droit-nom { font-size: 18px; font-weight: 600; }
.cn-droits li p:last-child { font-size: var(--es-small); line-height: 1.5; color: var(--es-muted); }
.titre-section.cn-titre-large { max-width: 22ch; hyphens: manual; }
.cn-niveaux { margin-top: 32px; font-size: var(--es-lead); }
.cn-pourquoi { padding: 16px 18px; background: var(--es-white); box-shadow: inset 4px 0 0 var(--es-signal); font-size: var(--es-small); line-height: 1.55; max-width: 60ch; }
.cn-pourquoi strong { display: block; margin-bottom: 2px; }
.cn-photo { margin: 0; overflow: hidden; }
.cn-photo-image { display: block; width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; object-position: 50% 30%; }
.cn-photo figcaption { max-width: var(--es-maxw); margin: 10px auto 0; padding: 0 var(--es-gutter); }
.cn-photo figcaption a, .cn-elle-credit a { color: inherit; }
/* Liens vers ses réseaux. */
.reseaux { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.reseaux-libelle { font-size: var(--es-small); color: var(--es-muted); }
.reseau { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--es-ink); text-decoration: none; font-size: var(--es-small); font-weight: 500; }
.reseau svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.reseau svg .plein { fill: currentColor; stroke: none; }
.reseau:hover span { text-decoration: underline; text-underline-offset: 4px; }
.reseau:hover svg { transform: translateY(-2px) rotate(-4deg); }
.reseaux-ouverture { margin-top: -16px; }
.reseaux-pied .reseau span, .reseaux-menu .reseau span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reseaux-pied .reseau, .reseaux-menu .reseau { min-width: 44px; justify-content: center; }
.reseaux-pied .reseau svg, .reseaux-menu .reseau svg { width: 26px; height: 26px; }
.reseaux-menu { margin-top: 12px; }
.reseaux-sombre { margin-top: 20px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--es-nuit-ligne); }
.reseaux-sombre .reseaux-libelle { color: var(--es-on-dark-muted); }
.reseaux-sombre .reseau { color: var(--es-white); }
.reseaux-avent { margin-top: 28px; }

/* Page « Dans les médias ». */
.med-une { background: var(--es-nuit); color: var(--es-white); }
.med-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--es-gutter) clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr); max-width: calc(var(--es-maxw)); }
.med-une-texte { display: flex; flex-direction: column; gap: 20px; }
.med-une .surtitre { color: var(--es-signal); }
.med-une h1 { font-size: var(--es-h1-page); line-height: 1.02; letter-spacing: -0.032em; font-weight: 500; max-width: 13ch; }
.med-une .chapeau { color: var(--es-on-dark-muted); }
.media-icone { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.med-meta { display: inline-flex; align-items: center; gap: 8px; font-size: var(--es-label); color: var(--es-muted); }
.med-action { font-size: var(--es-small); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.med-a-la-une { display: flex; flex-direction: column; gap: 24px; }
.med-a-la-une .titre-section { max-width: none; }
.med-vedette { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); background: #F7F3EC; color: var(--es-ink); text-decoration: none; box-shadow: inset 6px 0 0 var(--es-signal); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.med-vedette:hover { box-shadow: inset 10px 0 0 var(--es-signal); transform: translateY(-2px); }
.med-vedette-media { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; font-weight: 600; letter-spacing: -0.025em; }
.med-vedette-titre { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; letter-spacing: -0.012em; font-weight: 500; }
.med-vedette-pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 16px; box-shadow: inset 0 1px 0 #E2DACB; }
.med-barre { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: 12px; }
.med-filtres { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.med-filtre-groupe { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.med-filtre { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 0; background: var(--es-surface); color: var(--es-ink); font: inherit; font-size: var(--es-small); cursor: pointer; box-shadow: inset 0 0 0 1px var(--es-line); }
.med-filtre:hover { box-shadow: inset 0 0 0 1px var(--es-ink); }
.med-filtre[aria-pressed="true"] { background: var(--es-nuit); color: var(--es-white); box-shadow: none; }
.med-compte { font-size: var(--es-label); color: var(--es-muted); }
.med-annee { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px 32px; padding: 32px 0; box-shadow: inset 0 1px 0 var(--es-line); }
.med-annee-titre { font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: #B9B2A5; position: sticky; top: calc(var(--es-entete, 76px) + 20px); align-self: start; }
.med-grille { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.med-carte { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; background: var(--es-white); color: var(--es-ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--es-line), inset 0 3px 0 var(--es-ink); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.med-carte-audio { box-shadow: inset 0 0 0 1px var(--es-line), inset 0 3px 0 var(--es-signal); }
.med-carte-video { box-shadow: inset 0 0 0 1px var(--es-line), inset 0 3px 0 #C8102E; }
.med-carte:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--es-ink), inset 0 3px 0 var(--es-ink), 0 14px 28px rgba(20, 20, 20, 0.08); }
.med-carte-media { font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
.med-carte-titre { font-size: var(--es-small); line-height: 1.5; color: var(--es-muted); }
.med-carte .med-action { margin-top: auto; padding-top: 6px; }
.med-carte-item[hidden], .med-annee[hidden] { display: none; }
.med-vide { padding: 24px 0; color: var(--es-muted); }
.med-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 28px; box-shadow: inset 0 1px 0 var(--es-line); }
@media (max-width: 860px) {
    .med-une-interieur { grid-template-columns: 1fr; }
            .med-vedette { grid-template-columns: 1fr; }
    .med-annee { grid-template-columns: 1fr; }
    .med-annee-titre { position: static; }
    .med-filtres { align-items: flex-start; }
    .med-filtre-groupe { justify-content: flex-start; }
}

/* Posez votre question à Isabelle. */
.q-une { background: #F7F3EC; overflow: hidden; }
.q-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--es-gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr); max-width: calc(var(--es-maxw)); }
.q-une-texte { display: flex; flex-direction: column; gap: 20px; padding-bottom: clamp(40px, 6vw, 80px); }
.q-une h1 { font-size: var(--es-h1-page); line-height: 1.02; letter-spacing: -0.032em; font-weight: 500; max-width: 13ch; }
.q-une-photo { position: relative; margin: 0; }
.q-une-photo .photo { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 20%; }
.q-bulle { position: absolute; left: -26px; top: 32px; width: 84px; height: 84px; display: grid; place-items: center; background: var(--es-signal); color: var(--es-ink); font-size: 52px; font-weight: 600; border-radius: 50% 50% 50% 8px; box-shadow: 0 12px 30px rgba(20, 20, 20, 0.18); }
@media (prefers-reduced-motion: no-preference) {
    .q-bulle { animation: q-bulle 3.6s ease-in-out infinite; }
}
@keyframes q-bulle { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.q-corps { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.q-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-etapes { position: sticky; top: calc(var(--es-entete, 76px) + 24px); padding: 26px 24px; background: var(--es-nuit); color: var(--es-white); }
.q-etapes-titre { font-size: 22px; font-weight: 500; margin-bottom: 18px; }
.q-etapes ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: q; }
.q-etapes li { padding-left: 18px; box-shadow: inset 3px 0 0 var(--es-signal); display: flex; flex-direction: column; gap: 4px; }
.q-etape-nom { font-weight: 600; }
.q-etapes li p:last-child { font-size: var(--es-small); line-height: 1.5; color: var(--es-on-dark-muted); }
.q-reponses { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.q-reponse { background: var(--es-white); padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 3px 0 var(--es-signal); }
.q-reponse-question { font-size: 20px; line-height: 1.3; font-weight: 500; }
.q-reponse-auteur { font-size: var(--es-label); color: var(--es-muted); }
.q-reponse-texte { font-size: var(--es-small); line-height: 1.6; padding-top: 10px; box-shadow: inset 0 1px 0 var(--es-line); }
.q-filtres { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 8px 0 24px; }
.q-filtres a[aria-current="page"] { font-weight: 700; }
.q-admin { padding: 20px 0; box-shadow: inset 0 1px 0 var(--es-line); display: flex; flex-direction: column; gap: 8px; }
.q-admin-question { font-size: 18px; font-weight: 500; }
/* Appel sur l'accueil. */
.q-appel { display: block; background: var(--es-signal); color: var(--es-ink); text-decoration: none; }
.q-appel-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(24px, 3vw, 36px) var(--es-gutter); display: flex; align-items: center; gap: 22px; }
.q-appel-signe { flex: none; width: 64px; height: 64px; display: grid; place-items: center; background: var(--es-nuit); color: var(--es-signal); font-size: 40px; font-weight: 600; border-radius: 50% 50% 50% 6px; }
.q-appel-texte { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.q-appel-titre { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.q-appel-bouton { flex: none; background: var(--es-nuit); color: var(--es-white); }
.q-appel:hover .q-appel-bouton { background: var(--es-nuit-ligne); }
@media (max-width: 860px) {
    .q-une-interieur, .q-corps { grid-template-columns: 1fr; }
    .q-une-photo { max-width: 420px; }
    .q-etapes { position: static; }
    .q-appel-interieur { flex-wrap: wrap; }
    .q-appel-bouton { width: 100%; }
}
@media (max-width: 560px) {
    .q-deux { grid-template-columns: 1fr; }
    .q-bulle { left: 12px; top: 12px; width: 64px; height: 64px; font-size: 40px; }
}

/* Votations. */
.vot-une { background: var(--es-nuit); color: var(--es-white); }
.vot-une { overflow: hidden; }
.vot-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--es-gutter) clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vot-une-texte { display: flex; flex-direction: column; gap: 20px; }
.vot-une .surtitre { color: var(--es-signal); }
.vot-une h1 { font-size: var(--es-h1-page); line-height: 1.02; letter-spacing: -0.032em; font-weight: 500; max-width: 16ch; }
.vot-une .chapeau { color: var(--es-on-dark-muted); max-width: 56ch; }
.vot-decompte { display: inline-flex; align-items: baseline; gap: 10px; font-size: var(--es-lead); color: var(--es-white); }
.vot-decompte strong { font-size: clamp(44px, 5vw, 64px); font-weight: 500; color: var(--es-signal); letter-spacing: -0.03em; line-height: 1; }
.vot-carte { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px clamp(28px, 5vw, 64px); align-items: start; }
.vot-carte-tete { grid-column: 1; display: flex; flex-direction: column; gap: 14px; }
.vot-etiquette { font-size: var(--es-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #B05F00; }
.vot-etiquette a { color: inherit; }
.vot-carte-titre { font-size: var(--es-h2); line-height: 1.08; letter-spacing: -0.022em; font-weight: 500; }
.vot-question { margin: 0; padding: 14px 0 14px 20px; box-shadow: inset 4px 0 0 var(--es-line); }
.vot-question p { font-size: var(--es-lead); line-height: 1.45; }
.vot-position { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--es-entete, 76px) + 24px); padding: 28px 26px; background: #F7F3EC; box-shadow: inset 0 4px 0 var(--es-signal); display: flex; flex-direction: column; gap: 10px; }
.vot-position-etiquette { font-size: var(--es-label); font-weight: 600; color: var(--es-muted); }
.vot-position-oui { font-size: clamp(56px, 7vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--es-ink); }
.vot-position p:last-child { font-size: var(--es-small); line-height: 1.55; color: var(--es-muted); }
.vot-bloc { grid-column: 1; display: flex; flex-direction: column; gap: 14px; }
.vot-bloc h3, .vot-argument h3 { font-size: 21px; font-weight: 500; }
.vot-liste { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.vot-liste li { line-height: 1.55; }
.vot-arguments { grid-column: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vot-argument { padding: 22px; display: flex; flex-direction: column; gap: 8px; background: var(--es-surface); }
.vot-argument p { font-size: var(--es-small); line-height: 1.55; color: var(--es-muted); }
.vot-argument-pour { box-shadow: inset 0 3px 0 #2F7D4A; }
.vot-argument-contre { box-shadow: inset 0 3px 0 #C8102E; }
.vot-chiffres { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.vot-chiffres div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 16px; align-items: center; }
.vot-chiffres dt { font-weight: 600; }
.vot-chiffres dd { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--es-small); color: var(--es-muted); }
.vot-barre { width: 100%; max-width: 420px; height: 10px; }
.vot-barre-fond { fill: #E5C3C6; }
.vot-barre-oui { fill: #2F7D4A; transform-box: view-box; transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
    .a-venir .vot-barre-oui { transform: scaleX(0); }
    .vot-barre-oui { transition: transform 1.1s cubic-bezier(.2,.7,.2,1) 0.2s; }
}
.vot-recos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.vot-reco { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--es-surface); }
.vot-reco a { font-weight: 700; text-decoration: none; padding: 2px 10px; display: inline-flex; align-items: center; min-height: 32px; }
.vot-reco-oui a { color: #1F5E35; box-shadow: inset 0 0 0 1px #2F7D4A; }
.vot-reco-non a { color: #9B0D23; box-shadow: inset 0 0 0 1px #C8102E; }
.vot-officiel { padding-top: 18px; box-shadow: inset 0 1px 0 var(--es-line); }
.vot-sources ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 24px; }
.vot-sources a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--es-label); color: var(--es-muted); }
/* Résultat d'une votation. */
.vot-resultat { background: #F7F3EC; }
.vot-resultat-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--es-gutter); display: flex; flex-direction: column; gap: 20px; }
.vot-resultat-titre { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -0.035em; font-weight: 600; }
.vot-resultat-accepte { color: #1F5E35; }
.vot-resultat-rejete { color: #9B0D23; }
.vot-resultat-chiffres { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vot-resultat-chiffres div { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; box-shadow: inset 0 3px 0 var(--es-ink); }
.vot-resultat-chiffres dt { font-weight: 600; }
.vot-resultat-chiffres dd { margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--es-muted); }
.vot-resultat-chiffres strong { font-size: clamp(36px, 4vw, 52px); line-height: 1; font-weight: 500; letter-spacing: -0.03em; color: var(--es-ink); }
.vot-barre-grande { height: 14px; max-width: none; overflow: visible; }
.vot-barre-moitie { stroke: var(--es-ink); stroke-width: 0.6; }
.vot-resultat-note { font-size: var(--es-small); color: var(--es-muted); max-width: 70ch; }
.vot-resultat-note a { color: inherit; }
@media (max-width: 760px) {
    .vot-resultat-chiffres { grid-template-columns: 1fr; }
}

/* Encart de l'accueil avant une votation. */
.vot-encart { background: var(--es-nuit); color: var(--es-white); text-decoration: none; display: block; }
.vot-encart-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: 14px var(--es-gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: var(--es-small); }
.vot-encart strong { color: var(--es-signal); }
.vot-encart-action { text-decoration: underline; text-underline-offset: 4px; margin-left: auto; }
@media (max-width: 900px) {
    .vot-carte { grid-template-columns: 1fr; }
    .vot-position { grid-column: 1; grid-row: auto; position: static; }
    .vot-arguments { grid-template-columns: 1fr; }
    .vot-chiffres div { grid-template-columns: 1fr; }
    .vot-encart-action { margin-left: 0; }
}

/* Hémicycle des forces politiques. */
.cn-forces-grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cn-forces-texte { display: flex; flex-direction: column; gap: 16px; }
.cn-forces-texte p:last-child { font-size: var(--es-lead); line-height: 1.5; color: var(--es-muted); }
.hemicycle { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.hemicycle-svg { width: 100%; height: auto; overflow: visible; }
.hemicycle .siege { transform-box: fill-box; transform-origin: center; }
.siege-sienne { fill: var(--es-signal); stroke: var(--es-ink); stroke-width: 3; }
.siege-sienne-onde { fill: none; stroke: var(--es-signal); stroke-width: 3; transform-box: fill-box; transform-origin: center; opacity: 0; }
.hemicycle-etiquette polyline { fill: none; stroke: var(--es-ink); stroke-width: 2; }
.hemicycle-etiquette text { font: 600 24px var(--es-font); fill: var(--es-ink); paint-order: stroke; stroke: var(--es-white); stroke-width: 8px; stroke-linejoin: round; }
.hemicycle-total { font: 500 52px var(--es-font); fill: var(--es-ink); letter-spacing: -0.03em; }
.hemicycle-sous { font: 400 19px var(--es-font); fill: var(--es-muted); }
.hemicycle-legende { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hemicycle-legende li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--es-small); }
.hemicycle-legende strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.hemicycle-legende-sien { box-shadow: inset 0 -2px 0 var(--es-signal); }
.hemicycle-pastille { width: 12px; height: 12px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
    .hemicycle.a-venir .siege, .hemicycle.a-venir .siege-sienne { opacity: 0; transform: scale(0.3); }
    .hemicycle.a-venir .hemicycle-etiquette { opacity: 0; }
    .hemicycle .siege, .hemicycle .siege-sienne { transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.3,1.4,.5,1); }
    .hemicycle .siege-sienne { transform-box: fill-box; transform-origin: center; transition-delay: 1.2s; }
    .hemicycle .hemicycle-etiquette { transition: opacity 0.5s ease 1.5s; }
    .hemicycle .siege-g1 { transition-delay: 0.15s; }
    .hemicycle .siege-g2 { transition-delay: 0.3s; }
    .hemicycle .siege-g3 { transition-delay: 0.45s; }
    .hemicycle .siege-g4 { transition-delay: 0.6s; }
    .hemicycle .siege-g5 { transition-delay: 0.75s; }
    .siege-sienne-onde { animation: hemicycle-onde 2.2s ease-out 1.8s infinite; }
}
@keyframes hemicycle-onde { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
@media (max-width: 860px) {
    .cn-forces-grille { grid-template-columns: 1fr; }
}

/* Et Isabelle Chappuis ? Grand bloc sur le Palais fédéral de nuit. */
.cn-elle { position: relative; overflow: hidden; color: var(--es-white); background: #0B0F1A; isolation: isolate; }
.cn-elle-fond { position: absolute; inset: 0; z-index: -1; }
.cn-elle-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.06); }
.cn-elle-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 18, 0.55) 0%, rgba(8, 10, 18, 0.78) 45%, rgba(8, 10, 18, 0.94) 100%); }
.cn-elle-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(96px, 14vw, 180px) var(--es-gutter) clamp(56px, 7vw, 88px); display: flex; flex-direction: column; gap: 24px; }
.cn-elle .surtitre { color: var(--es-signal); font-size: 16px; }
.cn-elle-titre { font-size: clamp(48px, 8vw, 112px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; max-width: 12ch; color: var(--es-white); }
.cn-elle-texte { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; color: #E4E4E0; max-width: 46ch; }
.cn-voix { margin-top: 24px; padding-top: 28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.cn-voix-titre { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.01em; }
.cn-voix-liste { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cn-voix-liste li { padding: 22px 22px 24px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 3px 0 var(--es-signal); backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 8px; }
.cn-voix-nom { font-size: 19px; font-weight: 600; color: var(--es-white); }
.cn-voix-liste li p:last-child { font-size: var(--es-small); line-height: 1.55; color: #D2D2CE; }
.cn-elle .actions { margin-top: 16px; }
.cn-lien-clair { color: var(--es-white); }
.cn-elle-credit { margin-top: 24px; font-size: 12px; color: #A9A9A4; }
@media (prefers-reduced-motion: no-preference) {
    .cn-elle-image { animation: cn-zoom 24s ease-in-out infinite alternate; }
    .cn-acteur + .cn-acteur::before { animation: cn-pouls 2.4s ease-in-out infinite; }
}
@keyframes cn-zoom { from { transform: scale(1.06); } to { transform: scale(1.14) translateY(-1.5%); } }
@keyframes cn-pouls { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@media (max-width: 860px) {
    .cn-voix-liste { grid-template-columns: 1fr; }
}
.cn-sources ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 24px; }
.cn-sources a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--es-label); color: var(--es-muted); text-underline-offset: 3px; }
@media (max-width: 980px) {
    .cn-schema { grid-template-columns: 1fr; gap: 60px; }
    .cn-acteur + .cn-acteur::before { content: "↓"; left: 50%; top: -50px; transform: translateX(-50%); }
    .cn-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cn-droits { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .cn-une-interieur { grid-template-columns: 1fr; }
    .cn-chiffres div { padding: 18px 16px; }
}
@media (max-width: 560px) {
    .cn-roles { grid-template-columns: 1fr; }
    .cn-chambres { grid-template-columns: 1fr; }
}

/* Page « Ses thèmes » : en-tête en deux colonnes, puis une scène par thème. */
.themes-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--es-gutter) clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.themes-une-texte { display: flex; flex-direction: column; gap: 22px; }
.themes-une h1 { font-size: var(--es-h1-page); line-height: 1.02; letter-spacing: -0.032em; font-weight: 500; }
.themes-sommaire { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; }
.themes-sommaire a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 14px 0; min-height: 44px; color: var(--es-ink); text-decoration: none; box-shadow: inset 0 -1px 0 var(--es-line); transition: box-shadow 0.2s ease, padding 0.2s ease; }
.themes-sommaire li:first-child a { box-shadow: inset 0 1px 0 var(--es-line), inset 0 -1px 0 var(--es-line); }
.themes-sommaire a:hover { box-shadow: inset 4px 0 0 var(--es-signal), inset 0 -1px 0 var(--es-line); padding-left: 16px; }
.themes-sommaire-titre { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.themes-sommaire-nombre { font-size: var(--es-label); color: var(--es-muted); }
.themes-une-photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.themes-une-photo .photo { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 60% 40%; }
.themes-scenes { background: #F7F3EC; padding: clamp(24px, 4vw, 56px) 0; }
.theme-rangee { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(32px, 5vw, 72px) var(--es-gutter); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.theme-rangee + .theme-rangee { box-shadow: inset 0 1px 0 #E6DFD2; }
.theme-rangee-inverse .theme-scene { order: 2; }
.theme-scene { display: block; }
.objet-scene { width: 100%; height: auto; aspect-ratio: 640 / 430; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.theme-scene:hover .objet-scene { transform: translateY(-6px) scale(1.015); }
.theme-rangee-texte { display: flex; flex-direction: column; gap: 16px; }
.theme-rangee-numero { font-size: var(--es-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #B05F00; }
.theme-rangee-titre { font-size: var(--es-h2); line-height: 1.08; letter-spacing: -0.022em; font-weight: 500; }
.theme-rangee-titre a { color: var(--es-ink); text-decoration: none; }
.theme-rangee-titre a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.theme-rangee-chapeau { font-size: var(--es-lead); line-height: 1.5; color: var(--es-muted); }
.theme-rangee-objets { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 10px; }
.theme-rangee-objets li { font-size: var(--es-small); line-height: 1.45; padding-left: 16px; box-shadow: inset 2px 0 0 var(--es-signal); }
.theme-rangee-objets .note { display: block; font-size: 13px; }
@media (max-width: 860px) {
    .themes-une-interieur { grid-template-columns: 1fr; }
    .theme-rangee { grid-template-columns: 1fr; }
    .theme-rangee-inverse .theme-scene { order: 0; }
}

/* Page « Ses thèmes » : une carte par thème. */
.familles { --min: 280px; }
.famille { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--es-line); text-decoration: none; color: var(--es-ink); }
.objet-vignette { width: 100%; height: auto; aspect-ratio: 640 / 430; margin-bottom: 8px; transition: transform 0.4s ease; }
.famille:hover .objet-vignette { transform: translateY(-4px); }
.famille-titre { font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; }
.famille:hover .famille-titre { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.famille-texte { font-size: var(--es-small); color: var(--es-muted); }
.navigation-risques { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; box-shadow: inset 0 1px 0 var(--es-line); }
.entete-page .surtitre a { color: var(--es-muted); }
/* Mots à la place des chiffres : plus petits pour tenir sur une ligne. */
.pca-actif .pca-valeur.pca-mot { font-size: clamp(48px, 6.4vw, 96px); letter-spacing: -0.035em; }
@media (max-width: 760px) {
    .pca-actif .pca-valeur { font-size: clamp(44px, 16vw, 72px); }
    .pca-actif .pca-valeur.pca-mot { font-size: clamp(36px, 11vw, 56px); }
}

/* Impression : le contenu seul. */
@media print {
    .entete, .pied, .bandeau-test, .actions, .evitement, .appel-final { display: none !important; }
    .section-courte { padding-top: 16px; padding-bottom: 16px; }
    a { text-decoration: none; }
}

/* Je m'engage : en-tête sombre avec photo, trois façons d'aider, formulaire
   en cases-tuiles avec « Et ensuite ? » à côté. */
.eng-une { position: relative; background: var(--es-nuit); color: var(--es-white); overflow: hidden; }
.eng-une-photo { position: absolute; inset: 0; margin: 0; }
.eng-une-photo .photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
/* Voile sombre à gauche : le texte reste lisible, Isabelle reste visible. */
.eng-une-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 39, 74, 0.94) 0%, rgba(19, 39, 74, 0.86) 38%, rgba(19, 39, 74, 0.25) 64%, rgba(19, 39, 74, 0) 80%), linear-gradient(0deg, rgba(19, 39, 74, 0.55) 0%, rgba(19, 39, 74, 0) 22%); }
.eng-une-photo figcaption { position: absolute; z-index: 1; right: var(--es-gutter); bottom: 18px; max-width: 46ch; text-align: right; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, 0.78); }
.eng-une-interieur { position: relative; z-index: 1; max-width: var(--es-maxw); min-height: clamp(560px, 78vh, 760px); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--es-gutter) clamp(72px, 9vw, 120px); display: flex; align-items: center; }
.eng-une-texte { max-width: 620px; display: flex; flex-direction: column; gap: 22px; }
.eng-une .surtitre { color: var(--es-signal); }
.eng-une h1 { font-size: clamp(48px, 7vw, 100px); overflow-wrap: break-word; hyphens: auto; line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; }
.eng-une .chapeau { color: #E4E4E1; max-width: 31ch; }
.eng-une .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.eng-une .lien-action { color: var(--es-white); }
.eng-voies { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.eng-voie { padding: 28px 26px; background: var(--es-white); box-shadow: inset 0 0 0 1px var(--es-line), inset 0 4px 0 var(--es-signal); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.eng-voie h3 { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; }
.eng-voie > p { font-size: var(--es-small); line-height: 1.55; color: var(--es-muted); }
.eng-voie > .lien-action { margin-top: auto; }
.eng-voie-don { background: var(--es-nuit); color: var(--es-white); box-shadow: inset 0 4px 0 var(--es-signal); }
.eng-voie-don > p { color: var(--es-on-dark-muted); }
.eng-voie-don .lien-action { color: var(--es-white); }
.eng-pastilles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.eng-pastilles a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; font-size: var(--es-small); line-height: 1.3; color: var(--es-ink); text-decoration: none; background: var(--es-surface); box-shadow: inset 0 0 0 1px var(--es-line); transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.eng-pastilles a:hover { box-shadow: inset 0 0 0 1px var(--es-ink); }
.eng-pastilles a.coche { background: var(--es-signal); box-shadow: none; }
.eng-corps { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.eng-form-texte { margin: 10px 0 12px; color: var(--es-muted); }
.eng-choix { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.eng-choix > .erreur-champ, .eng-choix > .case-a-cocher:last-child { grid-column: 1 / -1; }
.eng-choix .case-a-cocher { padding: 14px 16px; background: var(--es-white); box-shadow: inset 0 0 0 1px var(--es-line); transition: box-shadow 0.2s ease; }
.eng-choix .case-a-cocher:hover { box-shadow: inset 0 0 0 1px var(--es-ink); }
.eng-choix .case-a-cocher:has(input:checked) { box-shadow: inset 0 0 0 2px var(--es-ink), inset 8px 0 0 var(--es-signal); }
.eng-choix .case-a-cocher label { cursor: pointer; }
.eng-don { background: #F7F3EC; }
@media (max-width: 980px) {
    .eng-voies { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .eng-corps { grid-template-columns: 1fr; }
    /* Sur petit écran : la photo en haut, le texte en dessous sur fond noir. */
    .eng-une-photo { position: relative; }
    .eng-une-photo .photo { height: auto; aspect-ratio: 4 / 3.6; object-position: 58% 30%; }
    .eng-une-photo::after { background: linear-gradient(0deg, rgba(20, 20, 20, 1) 0%, rgba(20, 20, 20, 0) 40%); }
    .eng-une-photo figcaption { left: var(--es-gutter); right: var(--es-gutter); bottom: 10px; text-align: left; font-size: 12px; }
    .eng-une-interieur { min-height: 0; padding-top: 12px; padding-bottom: 56px; }
    .eng-suite { position: static; }
}
@media (max-width: 560px) {
    .eng-choix { grid-template-columns: 1fr; }
}

/* Contact : en-tête sombre avec les bons chemins selon la demande, sujets
   en pastilles, autres façons de la joindre à côté du formulaire. */
.ct-une { background: #F7F3EC; color: var(--es-ink); box-shadow: inset 0 -1px 0 #E8E0D2; }
.ct-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--es-gutter); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.ct-une-texte { display: flex; flex-direction: column; gap: 22px; }
.ct-une .surtitre { color: var(--es-ink); }
.ct-une h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; overflow-wrap: break-word; hyphens: manual; }
.ct-une h1::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 22px; background: var(--es-signal); }
.ct-une .chapeau { color: var(--es-muted); max-width: 34ch; }
.ct-raccourcis { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-raccourcis a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; background: var(--es-white); color: var(--es-muted); font-size: var(--es-small); line-height: 1.5; text-decoration: none; box-shadow: 0 1px 0 #E8E0D2, 0 10px 24px rgba(20, 20, 20, 0.06); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.ct-raccourcis a:hover { transform: translateY(-2px); box-shadow: inset 4px 0 0 var(--es-signal), 0 14px 30px rgba(20, 20, 20, 0.1); }
.ct-raccourci-titre { display: flex; justify-content: space-between; gap: 12px; color: var(--es-ink); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.ct-raccourci-titre::after { content: "→"; color: var(--es-signal); transition: transform 0.2s ease; }
.ct-raccourcis a:hover .ct-raccourci-titre::after { transform: translateX(4px); }
.ct-raccourcis a.coche { background: #FFF1DA; box-shadow: inset 4px 0 0 var(--es-signal); }
.ct-corps { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ct-form-titre { margin-bottom: 8px; }
.ct-sujets { border: 0; margin: 0; display: flex; flex-flow: row wrap; gap: 8px; }
.ct-sujets legend { width: 100%; }
.ct-sujets > .erreur-champ { flex-basis: 100%; }
.ct-sujet { position: relative; }
.ct-sujet input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-sujet label { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; font-weight: 400; background: var(--es-white); box-shadow: inset 0 0 0 1px var(--es-field-line); cursor: pointer; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.ct-sujet label:hover { box-shadow: inset 0 0 0 1px var(--es-ink); }
.ct-sujet input:checked + label { background: var(--es-nuit); color: var(--es-white); box-shadow: inset 0 -3px 0 var(--es-signal); }
.ct-sujet input:focus-visible + label { outline: 3px solid var(--es-signal); outline-offset: 2px; }
.ct-aside a { color: var(--es-white); }
@media (max-width: 980px) {
    .ct-une-interieur { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .ct-corps { grid-template-columns: 1fr; }
    .ct-aside { position: static; }
}
@media (max-width: 560px) {
    .ct-raccourcis { grid-template-columns: 1fr; }
}

/* Bandeau de l'Avent : les cadeaux du concours, en rouge. */
.avent-bandeau-cadeaux { font-weight: 600; color: var(--avent-rouge); }

/* Calendrier de l'Avent : le traîneau traverse l'écran une fois à
   l'arrivée, puis disparaît. Aucun affichage si les animations sont réduites. */
.traineau { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .traineau { display: block; position: fixed; z-index: 70; top: clamp(96px, 20vh, 200px); left: 0; width: clamp(200px, 28vw, 360px); pointer-events: none; animation: traineau-vol 5.2s cubic-bezier(0.42, 0, 0.58, 1) 0.5s both; }
    .traineau-corps { animation: traineau-balance 0.9s ease-in-out infinite alternate; transform-origin: 80px 80px; }
    .traineau-renne-1 { animation: traineau-galop 0.36s ease-in-out infinite alternate; }
    .traineau-renne-2 { animation: traineau-galop 0.36s ease-in-out 0.18s infinite alternate; }
    .traineau-etincelles { animation: traineau-scintille 0.5s steps(2) infinite; }
}
@keyframes traineau-vol {
    0% { transform: translate(-110%, 60px) rotate(-4deg); opacity: 1; }
    45% { transform: translate(40vw, 0) rotate(-2deg); }
    92% { transform: translate(92vw, -60px) rotate(-9deg); opacity: 1; }
    100% { transform: translate(104vw, -80px) rotate(-10deg); opacity: 0; visibility: hidden; }
}
@keyframes traineau-balance { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg) translateY(2px); } }
@keyframes traineau-galop { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes traineau-scintille { 50% { opacity: 0.2; } }
.traineau-dessin { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 10px rgba(20, 20, 20, 0.18)); }
.traineau-etincelles { fill: #F2B33D; }
.traineau-renes { fill: none; stroke: #6B4A2E; stroke-width: 1.4; }
.traineau-sac { fill: var(--es-signal); }
.traineau-lien { fill: none; stroke: #9A5B00; stroke-width: 2.4; stroke-linecap: round; }
.traineau-manteau, .traineau-luge { fill: #E30310; }
.traineau-bras { fill: none; stroke: #E30310; stroke-width: 6.5; stroke-linecap: round; }
.traineau-ceinture { fill: var(--es-ink); }
.traineau-gant { fill: var(--es-ink); }
.traineau-visage { fill: #F4C7A5; }
.traineau-blanc { fill: #FFFFFF; }
.traineau-volute { fill: none; stroke: #E30310; stroke-width: 6; stroke-linecap: round; }
.traineau-patin { fill: none; stroke: #F2B33D; stroke-width: 4; stroke-linecap: round; }
.traineau-renne { fill: #8A5A33; }
.traineau-cou { fill: none; stroke: #8A5A33; stroke-width: 7; stroke-linecap: round; }
.traineau-pattes { fill: none; stroke: #6B4A2E; stroke-width: 3.2; stroke-linecap: round; }
.traineau-bois { fill: none; stroke: #4A3020; stroke-width: 2.2; stroke-linecap: round; }
.traineau-nez { fill: #E30310; }

/* Votations : bulletin de vote illustré dans l'en-tête, avec le vote
   d'Isabelle Chappuis au Parlement coché en orange (tracé animé). */
.vot-bulletin { position: relative; padding: 26px 26px 22px; background: #FBF8F2; color: var(--es-ink); transform: rotate(2.5deg); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 1px #E8E0D2; }
.vot-bulletin::before { content: ""; position: absolute; inset: 10px; box-shadow: inset 0 0 0 1px #E2D9C8; pointer-events: none; }
.vot-bulletin-tete { position: relative; display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 6px; box-shadow: inset 0 -1px 0 #E2D9C8; font-size: var(--es-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.vot-bulletin-date { margin-left: auto; font-weight: 500; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.vot-croix { width: 22px; height: 22px; flex: none; }
.vot-croix rect { fill: #E30310; }
.vot-croix path { fill: #FFFFFF; }
.vot-bulletin-questions { position: relative; list-style: none; padding: 0; margin: 0; }
.vot-bulletin-questions li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; box-shadow: inset 0 -1px 0 #E2D9C8; }
.vot-bulletin-questions a { color: var(--es-ink); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25; font-weight: 500; text-decoration: none; }
.vot-bulletin-questions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.vot-cases { flex: none; display: flex; gap: 14px; }
.vot-case { display: inline-flex; align-items: center; gap: 6px; font-size: var(--es-label); color: var(--es-muted); }
.vot-case svg { width: 24px; height: 24px; overflow: visible; }
.vot-case rect { fill: #FFFFFF; stroke: #8A8A86; stroke-width: 1.5; }
.vot-case-cochee { color: var(--es-ink); font-weight: 600; }
.vot-coche { fill: none; stroke: var(--es-signal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.vot-bulletin-legende { position: relative; margin-top: 14px; font-size: 13px; color: var(--es-muted); }
@media (prefers-reduced-motion: no-preference) {
    .vot-coche { stroke-dasharray: 24; stroke-dashoffset: 24; }
    .vot-coche { animation: vot-cocher 0.5s ease-out 0.6s forwards; }
    .vot-bulletin-questions li:nth-child(2) .vot-coche { animation-delay: 1.1s; }
}
@keyframes vot-cocher { to { stroke-dashoffset: 0; } }
.vot-objet-suivant { padding-top: 0; }
.vot-cm-resultat { padding: 20px 22px; background: var(--es-surface); display: flex; flex-direction: column; gap: 6px; }
.vot-aussi p { padding: 20px 22px; font-size: var(--es-small); line-height: 1.55; color: var(--es-muted); box-shadow: inset 4px 0 0 var(--es-line); }
@media (max-width: 860px) {
    .vot-une-interieur { grid-template-columns: 1fr; }
    .vot-bulletin { transform: rotate(1.5deg); }
}
@media (max-width: 420px) {
    .vot-bulletin-questions li { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Agenda : en-tête sombre avec le prochain rendez-vous, feuilles de
   calendrier, appels « Inviter » et « S'abonner », rendez-vous passés. */
.ag-une { background: var(--es-nuit); color: var(--es-white); }
.ag-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--es-gutter); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ag-une-texte { display: flex; flex-direction: column; gap: 20px; }
.ag-une .surtitre { color: var(--es-signal); }
.ag-une h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; overflow-wrap: break-word; hyphens: auto; }
.ag-une .chapeau { color: var(--es-on-dark-muted); max-width: 34ch; }
.ag-prochain { padding: 26px; background: var(--es-nuit-2); box-shadow: inset 0 0 0 1px var(--es-nuit-ligne), inset 0 4px 0 var(--es-signal); display: flex; flex-direction: column; gap: 20px; }
.ag-prochain-etiquette { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--es-label); color: var(--es-on-dark-muted); }
.ag-prochain-etiquette strong { color: var(--es-signal); font-size: 18px; font-weight: 600; }
.ag-prochain-corps { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; }
.ag-prochain-titre { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; margin: 6px 0; }
.ag-prochain .ag-meta, .ag-prochain .ag-lieu { color: var(--es-on-dark-muted); }
.ag-prochain .lien-action { color: var(--es-white); }
.ag-prochain-vide p:first-child { color: var(--es-on-dark-muted); font-size: var(--es-lead); }
.ag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ag-feuille { align-self: start; margin: 0; flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; background: var(--es-white); color: var(--es-ink); box-shadow: 0 1px 0 #DDD, 0 8px 18px rgba(0, 0, 0, 0.12); text-align: center; }
.ag-feuille-mois { width: 100%; padding: 5px 4px; background: var(--es-signal); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; overflow-wrap: anywhere; }
.ag-feuille-jour { padding-top: 6px; font-size: 40px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ag-feuille-sem { padding: 2px 0 8px; font-size: 13px; color: var(--es-muted); }
.ag-feuille-grande { width: 112px; }
.ag-feuille-grande .ag-feuille-jour { font-size: 54px; }
.ag-mois { margin: 36px 0 4px; font-size: var(--es-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--es-muted); }
.ag-liste { list-style: none; padding: 0; margin: 0; }
.ag-evenement { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 28px; padding: 24px 0; box-shadow: inset 0 -1px 0 var(--es-line); }
.ag-evenement-corps { display: flex; flex-direction: column; gap: 6px; }
.ag-meta { font-size: var(--es-label); color: var(--es-muted); }
.ag-bientot { display: inline-block; margin-left: 6px; padding: 1px 8px; background: var(--es-signal); color: var(--es-ink); font-weight: 600; }
.ag-titre { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 500; }
.ag-evenement-corps > p { margin: 0; }
.ag-lieu { font-size: var(--es-small); }
.ag-details { font-size: var(--es-small); color: var(--es-muted); max-width: 62ch; }
.ag-evenement .ag-actions { margin-top: 6px; }
.ag-appels { background: var(--es-surface); }
.ag-appels-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--es-gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ag-appel { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: var(--es-white); color: var(--es-muted); font-size: var(--es-small); line-height: 1.5; text-decoration: none; box-shadow: inset 0 0 0 1px var(--es-line); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.ag-appel:hover { box-shadow: inset 0 0 0 1px var(--es-ink); transform: translateY(-2px); }
.ag-appel-titre { display: flex; justify-content: space-between; gap: 12px; color: var(--es-ink); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.ag-appel-titre::after { content: "→"; color: var(--es-signal); }
.ag-appel-inviter { background: var(--es-signal); color: var(--es-ink); box-shadow: none; }
.ag-appel-inviter .ag-appel-titre::after { color: var(--es-ink); }
.ag-passes { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ag-passes li { padding: 18px 20px; box-shadow: inset 3px 0 0 var(--es-line); display: flex; flex-direction: column; gap: 6px; }
.ag-passe-titre { font-size: 17px; line-height: 1.35; color: var(--es-muted); }
@media (max-width: 900px) {
    .ag-une-interieur, .ag-appels-interieur { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .ag-prochain-corps, .ag-evenement { grid-template-columns: 1fr; gap: 14px; }
    .ag-feuille, .ag-feuille-grande { flex-direction: row; width: auto; align-self: flex-start; gap: 0; }
    .ag-feuille-mois { width: auto; padding: 6px 10px; }
    .ag-feuille-jour, .ag-feuille-grande .ag-feuille-jour { padding: 0 10px; font-size: 24px; }
    .ag-feuille-sem { padding: 0 10px 0 0; }
}
/* ===== Lettre d'information : en-tête crème avec formulaire et lettre dessinée ===== */
.lt-une { background: #F7F3EC; box-shadow: inset 0 -1px 0 #E8E0D2; overflow: hidden; }
.lt-une-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(32px, 4vw, 56px) var(--es-gutter); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lt-une-texte { display: flex; flex-direction: column; gap: 16px; }
.lt-une h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.035em; font-weight: 500; overflow-wrap: break-word; hyphens: manual; }
.lt-une h1::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 16px; background: var(--es-signal); }
.lt-une .chapeau { color: var(--es-muted); max-width: 40ch; }
.lt-formulaire { margin-top: 4px; padding: clamp(20px, 2.2vw, 28px); background: var(--es-white); box-shadow: 0 1px 0 #E8E0D2, 0 14px 34px rgba(20, 20, 20, 0.07); max-width: 620px; }
.lt-formulaire .formulaire { gap: 16px; }
.lt-illustration svg { display: block; width: 100%; max-width: 440px; margin: 0 auto; height: auto; transform: rotate(-4deg); }
.lt-env-fond { fill: #E9DFCC; }
.lt-env-avant { fill: var(--es-signal); }
.lt-env-pli { fill: none; stroke: #E58A00; stroke-width: 2; }
.lt-papier { fill: var(--es-white); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08)); }
.lt-orange { fill: var(--es-signal); }
.lt-nom { font: 500 17px var(--es-font); fill: var(--es-ink); }
.lt-ligne { fill: #E6E2DA; }
.lt-ligne-forte { fill: var(--es-ink); }
.lt-feuille { animation: lt-sortie 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
@keyframes lt-sortie { from { transform: translateY(70px); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .lt-feuille { animation: none; } }
.lt-sujets { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lt-sujets a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 26px; color: var(--es-muted); font-size: var(--es-small); line-height: 1.5; text-decoration: none; box-shadow: inset 0 0 0 1px var(--es-line), inset 0 4px 0 var(--es-signal); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.lt-sujets a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--es-ink), inset 0 4px 0 var(--es-signal); }
.lt-sujet-titre { display: flex; justify-content: space-between; gap: 12px; color: var(--es-ink); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.lt-sujet-titre::after { content: "→"; color: var(--es-signal); }
.lt-bas { background: var(--es-surface); }
.lt-bas-interieur { max-width: var(--es-maxw); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--es-gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lt-bas h2 { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; }
.lt-garanties { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--es-nuit); color: var(--es-white); }
.lt-garanties ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.lt-garanties li { position: relative; padding-left: 32px; font-size: var(--es-small); line-height: 1.5; color: var(--es-on-dark-muted); }
.lt-garanties li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 7px; height: 12px; border: solid var(--es-signal); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.lt-garanties .note a { color: var(--es-white); }
.lt-suivre { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--es-white); box-shadow: inset 0 0 0 1px var(--es-line); }
.lt-suivre .ag-appel { box-shadow: inset 0 0 0 1px var(--es-line); }
@media (max-width: 960px) {
    .lt-une-interieur { grid-template-columns: minmax(0, 1fr); }
    .lt-illustration { order: -1; }
    .lt-illustration svg { max-width: 260px; }
    .lt-sujets, .lt-bas-interieur { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .lt-illustration { display: none; }
}


/* Comment voter : numéros, bulletins dessinés, règles */
.voter-numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 56px; max-width: 760px; }
.voter-numeros div { padding: 22px 24px; background: var(--es-nuit); color: var(--es-white); }
.voter-numeros dt { font-size: var(--es-label); color: var(--es-on-dark-muted); }
.voter-numeros dd { margin: 6px 0 0; font-size: 30px; font-weight: 500; line-height: 1.2; }
.voter-numeros dd:has(.a-completer) { line-height: 1.45; }
.voter-numeros dd .a-completer { font-size: var(--es-small); font-weight: 400; color: var(--es-signal); box-shadow: none; }
.voter-facons { list-style: none; margin: 28px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.voter-facon { padding: 26px; background: var(--es-surface); }
.voter-facon-phare { box-shadow: inset 4px 0 0 var(--es-signal); }
.voter-facon h3 { margin: 18px 0 8px; font-size: 22px; font-weight: 500; }
.voter-facon p { margin: 0; color: var(--es-muted); }
.bulletin { display: block; width: 100%; max-width: 380px; height: auto; }
.bulletin-papier { fill: var(--es-white); stroke: var(--es-line); stroke-width: 2; }
.bulletin-petit { font: 500 11px var(--es-font); fill: var(--es-muted); }
.bulletin-case { fill: none; stroke: var(--es-ink); stroke-width: 1.5; }
.bulletin-numero-liste { font: 600 18px var(--es-font); fill: var(--es-ink); }
.bulletin-parti { font: 600 20px var(--es-font); fill: var(--es-nuit); }
.bulletin-trait { stroke: var(--es-line); stroke-width: 1.5; }
.bulletin-num { font: 400 12px var(--es-font); fill: var(--es-muted); }
.bulletin-nom { font: 400 15px var(--es-font); fill: var(--es-ink); }
.bulletin-nom-sienne { font-weight: 600; }
.bulletin-main { font: italic 500 16px Georgia, "Times New Roman", serif; fill: #1F5FB8; }
.bulletin-main-num { font-size: 12px; }
.bulletin-main-grand { font-size: 22px; }
.bulletin-biffe { stroke: #1F5FB8; stroke-width: 2.5; stroke-linecap: round; }
.bulletin-ligne-vide { stroke: var(--es-line); stroke-dasharray: 3 4; }
.voter-pratique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.voter-pratique h2 { font-size: 30px; font-weight: 500; margin: 0 0 18px; }
.voter-pratique h3 { font-size: 19px; font-weight: 500; margin: 22px 0 6px; }
.voter-pratique p { margin: 0; }
.voter-liste { margin: 0; padding: 0; list-style: none; }
.voter-liste li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--es-line); position: relative; }
.voter-liste li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; background: var(--es-signal); }
.sources-titre { font-size: 20px; font-weight: 500; margin: 0 0 10px; }
.sources { margin: 0; padding-left: 18px; font-size: var(--es-small); color: var(--es-muted); }
.sources a { color: var(--es-muted); text-underline-offset: 3px; }
@media (max-width: 860px) {
    .voter-facons, .voter-pratique { grid-template-columns: 1fr; gap: 20px; }
    .voter-pratique { gap: 40px; }
}
@media (max-width: 520px) { .voter-numeros { grid-template-columns: 1fr; } .voter-facon { padding: 18px; } }

/* smartvote */
.smartvote { padding: 30px; box-shadow: inset 0 0 0 1px var(--es-line); max-width: 760px; }
.smartvote h2 { font-size: 26px; font-weight: 500; margin: 4px 0 10px; }
.smartvote p { margin: 0 0 14px; color: var(--es-muted); }
.smartvote p:last-child { margin-bottom: 0; }

/* Parlez-en à cinq personnes */
.partage-cinq { background: var(--es-nuit); color: var(--es-white); }
.partage-cinq-interieur { max-width: 860px; margin: 0 auto; padding: 64px 24px; }
.partage-cinq .surtitre { color: var(--es-signal); }
.partage-cinq h2 { font-size: var(--es-h2); font-weight: 500; line-height: 1.1; margin: 6px 0 14px; }
.partage-cinq p { color: var(--es-on-dark-muted); margin: 0 0 20px; }
.partage-cinq-message { margin: 0 0 24px; padding: 18px 20px; background: var(--es-nuit-2); border-left: 4px solid var(--es-signal); font-size: var(--es-lead); line-height: 1.5; overflow-wrap: anywhere; }
.partage-cinq-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.partage-cinq .lien-action { color: var(--es-white); }

/* Lettre : les lettres précédentes */
.lt-archives { list-style: none; margin: 28px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lt-archive { display: flex; flex-direction: column; gap: 10px; height: 100%; color: var(--es-ink); text-decoration: none; }
.lt-archive img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--es-surface); transition: transform 0.3s ease; }
.lt-archive:hover img, .lt-archive:focus-visible img { transform: scale(1.02); }
.lt-archive-meta { font-size: var(--es-label); color: var(--es-muted); }
.lt-archive-accroche { font-size: 18px; line-height: 1.45; }
.lt-archive-lire { margin-top: auto; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 960px) { .lt-archives { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lt-archives { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lt-archive img { transition: none; } }
