/* L’Hexagonie — generated from tokens.json */
:root, [data-theme="clair"] {
  --marine: #1D3557;
  --marine-survol: #16294A;
  --marine-doux: #E4E9F2;
  --sur-fonce: #FFFFFF;
  --encre: #16191F;
  --encre-trait: #14161C;
  --texte-2: #2A2F38;
  --texte-3: #555C69;
  --filet: #D3D8E0;
  --filet-doux: #E6E9EE;
  --fond: #EEF0F4;
  --surface: #FFFFFF;
  --surface-2: #F5F6F9;
  --bulle: #FFFFFF;
  --bulle-texte: #16191F;
  --segment-actif: var(--surface);
  --papier: #FBF8F1;
  --papier-filet: #D9D2C3;
  --verre: rgba(255, 255, 255, 0.84);
  --verre-filet: rgba(20, 22, 28, 0.08);
  --voile: rgba(22, 25, 31, 0.42);
  --trame: rgba(20, 22, 28, 0.13);
  --fourchette: rgba(29, 53, 87, 0.3);
  --danger: #9E2A2B;
  --danger-texte: #8E2426;
  --danger-fond: #F8E6E6;
  --bon: #2E6B3F;
  --bon-texte: #25573A;
  --bon-fond: #E3F0E6;
  --vigilance: #B26A00;
  --vigilance-texte: #8A5300;
  --vigilance-fond: #F6EBD6;
  --jauge-vigilance: #F1E2C4;
  --jauge-danger: #F3D2D0;
  --frise-courant: #8E9AAF;
  --frise-election: #E3B4B0;
  --lemercier-encre: #4A2E9A;
  --opposition-fond: var(--hugo-0);
  --conseil-fond: var(--felicia-0);
  --nadia-0: #A8EEE8;
  --nadia-1: #5CD8D1;
  --nadia-2: #03BDB6;
  --nadia-3: #0BA19B;
  --gerard-0: #FFCFE0;
  --gerard-1: #FAA3C4;
  --gerard-2: #E87DA9;
  --gerard-3: #D65A91;
  --malik-0: #FED4C1;
  --malik-1: #FDAA85;
  --malik-2: #EB8656;
  --malik-3: #DA6425;
  --claire-0: #F0DDA9;
  --claire-1: #DCBE69;
  --claire-2: #C7A01E;
  --claire-3: #AB8708;
  --hugo-0: #E0D8FF;
  --hugo-1: #C6B3FF;
  --hugo-2: #AB91F2;
  --hugo-3: #9573E4;
  --felicia-0: #BFE4FE;
  --felicia-1: #84CAFB;
  --felicia-2: #4FAEEB;
  --felicia-3: #0195DB;
  --armand-0: #DADEE3;
  --armand-1: #BBC2C9;
  --armand-2: #9DA6AF;
  --armand-3: #838D98;
  --lucien-0: #BEECC6;
  --lucien-1: #8CD59B;
  --lucien-2: #5BBD74;
  --lucien-3: #22A752;
  --ivoire: #F4EFE3;
  --ivoire-lisere: #B9B2A3;
  --terre: #C8A285;
  --terre-lisere: #A47F62;
  --anis: #C1E975;
  --ombre-capsule: 0 10px 28px rgba(22, 25, 31, 0.18), 0 1px 2px rgba(22, 25, 31, 0.08);
  --ombre-carte: 0 1px 2px rgba(22, 25, 31, 0.05), 0 8px 20px rgba(22, 25, 31, 0.07);
  --ombre-choisie: 0 4px 14px rgba(29, 53, 87, 0.12);
  --ombre-choisie-danger: 0 4px 14px rgba(158, 42, 43, 0.12);
  --ombre-segment: 0 1px 3px rgba(22, 25, 31, 0.15);
  --ombre-feuille: 0 -10px 30px rgba(22, 25, 31, 0.2);
  --ombre-une: 0 2px 10px rgba(22, 25, 31, 0.12);
  --ombre-encart: 0 2px 10px rgba(22, 25, 31, 0.08);
}
[data-theme="sombre"] {
  --marine: #8DB4EC;
  --marine-survol: #B3CDF3;
  --marine-doux: #1F2D45;
  --sur-fonce: #101318;
  --encre: #ECEFF4;
  --texte-2: #CDD2DB;
  --texte-3: #9CA4B2;
  --filet: #3A414E;
  --filet-doux: #2B313B;
  --fond: #101318;
  --surface: #181C23;
  --surface-2: #20252E;
  --segment-actif: #333A45;
  --papier: #1D1B17;
  --papier-filet: #3B362D;
  --verre: rgba(24, 28, 35, 0.84);
  --verre-filet: rgba(255, 255, 255, 0.08);
  --voile: rgba(0, 0, 0, 0.6);
  --fourchette: rgba(141, 180, 236, 0.3);
  --danger: #F28B82;
  --danger-texte: #FF9D95;
  --danger-fond: #3B2022;
  --bon: #7BC995;
  --bon-texte: #8AD7A2;
  --bon-fond: #1B3325;
  --vigilance: #E0A03A;
  --vigilance-texte: #F2BC66;
  --vigilance-fond: #382B16;
  --jauge-vigilance: #3E331F;
  --jauge-danger: #45272B;
  --frise-courant: #6B7890;
  --frise-election: #A9716C;
  --lemercier-encre: #CDBEFF;
  --opposition-fond: #272042;
  --conseil-fond: #162A3C;
  --ombre-capsule: 0 10px 28px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
  --ombre-carte: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.35);
  --ombre-choisie: 0 4px 14px rgba(0, 0, 0, 0.4);
  --ombre-choisie-danger: 0 4px 14px rgba(0, 0, 0, 0.4);
  --ombre-segment: 0 1px 3px rgba(0, 0, 0, 0.5);
  --ombre-feuille: 0 -10px 30px rgba(0, 0, 0, 0.5);
  --ombre-une: 0 2px 10px rgba(0, 0, 0, 0.4);
  --ombre-encart: 0 2px 10px rgba(0, 0, 0, 0.35);
}
:root {
  --espace-2: 2px;
  --espace-4: 4px;
  --espace-6: 6px;
  --espace-8: 8px;
  --espace-10: 10px;
  --espace-12: 12px;
  --espace-14: 14px;
  --espace-16: 16px;
  --espace-20: 20px;
  --espace-24: 24px;
  --rayon-frise: 2px;
  --rayon-jauge: 4px;
  --rayon-tuile: 10px;
  --rayon-reponse: 12px;
  --rayon-section: 14px;
  --rayon-carte: 16px;
  --rayon-feuille: 18px;
  --rayon-onglet: 26px;
  --rayon-capsule: 31px;
  --rayon-pilule: 999px;
  --rayon-rond: 50%;
  --ecran: 390px;
  --zone-haut: 47px;
  --zone-bas: 34px;
  --cible: 44px;
  --bouton-principal: 52px;
  --bouton-secondaire: 48px;
  --capsule: 62px;
  --capsule-reserve: 96px;
  --medaillon-xs: 26px;
  --medaillon-s: 32px;
  --medaillon-m: 36px;
  --medaillon-l: 44px;
  --medaillon-xl: 52px;
  --jauge: 8px;
  --frise: 4px;
  --trame-pas: 7px;
  --trait: 2px;
  --opacite-indisponible: 0.6;
  --opacite-ecartee: 0.5;
  --font-presse: "Literata", Georgia, serif;
  --font-gazette: "Libre Caslon Text", Georgia, serif;
  --font-texte: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-chiffres: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --font-marque: "Libre Caslon Text", Georgia, serif;
}
.titre-resultat { font-family: var(--font-presse); font-size: 28px; line-height: 1.15; font-weight: 700; }
.titre-ecran { font-family: var(--font-presse); font-size: 27px; line-height: 1.15; font-weight: 700; }
.titre-feuille { font-family: var(--font-presse); font-size: 23px; line-height: 1.2; font-weight: 700; }
.titre-carte { font-family: var(--font-presse); font-size: 20px; line-height: 1.2; font-weight: 700; }
.titre-section { font-family: var(--font-presse); font-size: 19px; line-height: 1.2; font-weight: 700; }
.titre-barre { font-family: var(--font-presse); font-size: 18px; line-height: 1.2; font-weight: 700; }
.titre-groupe { font-family: var(--font-presse); font-size: 17px; line-height: 1.2; font-weight: 700; }
.replique { font-family: var(--font-presse); font-size: 15px; line-height: 1.4; font-weight: 400; font-style: italic; }
.une-journal { font-family: var(--font-gazette); font-size: 26px; line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
.une-titre { font-family: var(--font-gazette); font-size: 31px; line-height: 1.08; font-weight: 700; }
.une-texte { font-family: var(--font-gazette); font-size: 15px; line-height: 1.45; font-weight: 400; }
.marque { font-family: var(--font-marque); font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -0.01em; }
.corps { font-family: var(--font-texte); font-size: 16px; line-height: 1.4; font-weight: 400; }
.reponse { font-family: var(--font-texte); font-size: 16px; line-height: 21px; font-weight: 700; }
.bouton { font-family: var(--font-texte); font-size: 16px; line-height: 20px; font-weight: 700; }
.bouton-secondaire { font-family: var(--font-texte); font-size: 15px; line-height: 20px; font-weight: 700; }
.texte-carte { font-family: var(--font-texte); font-size: 15px; line-height: 20px; font-weight: 400; }
.texte-court { font-family: var(--font-texte); font-size: 14px; line-height: 19px; font-weight: 400; }
.detail { font-family: var(--font-texte); font-size: 13.5px; line-height: 18px; font-weight: 400; }
.pastille { font-family: var(--font-texte); font-size: 13px; line-height: 18px; font-weight: 700; }
.note { font-family: var(--font-texte); font-size: 12.5px; line-height: 16px; font-weight: 400; }
.legende { font-family: var(--font-texte); font-size: 12px; line-height: 15px; font-weight: 400; }
.onglet { font-family: var(--font-texte); font-size: 11.5px; line-height: 14px; font-weight: 600; }
.sous-chiffre { font-family: var(--font-texte); font-size: 11px; line-height: 14px; font-weight: 400; }
.chiffre-partage { font-family: var(--font-chiffres); font-size: 44px; line-height: 46px; font-weight: 500; }
.chiffre-resultat { font-family: var(--font-chiffres); font-size: 34px; line-height: 38px; font-weight: 500; }
.chiffre-duel { font-family: var(--font-chiffres); font-size: 22px; line-height: 24px; font-weight: 500; }
.chiffre-l { font-family: var(--font-chiffres); font-size: 20px; line-height: 24px; font-weight: 500; }
.chiffre-m { font-family: var(--font-chiffres); font-size: 16px; line-height: 21px; font-weight: 500; }
.chiffre-s { font-family: var(--font-chiffres); font-size: 15px; line-height: 20px; font-weight: 500; }
.chiffre-xs { font-family: var(--font-chiffres); font-size: 13px; line-height: 17px; font-weight: 500; }
.annee { font-family: var(--font-chiffres); font-size: 13px; line-height: 18px; font-weight: 500; }
.etiquette { font-family: var(--font-chiffres); font-size: 11px; line-height: 14px; font-weight: 400; letter-spacing: 0.07em; }
.debattu { font-family: var(--font-chiffres); font-size: 11px; line-height: 14px; font-weight: 400; letter-spacing: 0.04em; }
.compteur { font-family: var(--font-chiffres); font-size: 11px; line-height: 18px; font-weight: 400; }
@font-face { font-family: "Literata"; src: url("fonts/literata-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="clair"]) {
  --marine: #8DB4EC;
  --marine-survol: #B3CDF3;
  --marine-doux: #1F2D45;
  --sur-fonce: #101318;
  --encre: #ECEFF4;
  --texte-2: #CDD2DB;
  --texte-3: #9CA4B2;
  --filet: #3A414E;
  --filet-doux: #2B313B;
  --fond: #101318;
  --surface: #181C23;
  --surface-2: #20252E;
  --segment-actif: #333A45;
  --papier: #1D1B17;
  --papier-filet: #3B362D;
  --verre: rgba(24, 28, 35, 0.84);
  --verre-filet: rgba(255, 255, 255, 0.08);
  --voile: rgba(0, 0, 0, 0.6);
  --fourchette: rgba(141, 180, 236, 0.3);
  --danger: #F28B82;
  --danger-texte: #FF9D95;
  --danger-fond: #3B2022;
  --bon: #7BC995;
  --bon-texte: #8AD7A2;
  --bon-fond: #1B3325;
  --vigilance: #E0A03A;
  --vigilance-texte: #F2BC66;
  --vigilance-fond: #382B16;
  --jauge-vigilance: #3E331F;
  --jauge-danger: #45272B;
  --frise-courant: #6B7890;
  --frise-election: #A9716C;
  --lemercier-encre: #CDBEFF;
  --opposition-fond: #272042;
  --conseil-fond: #162A3C;
  --ombre-capsule: 0 10px 28px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
  --ombre-carte: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.35);
  --ombre-choisie: 0 4px 14px rgba(0, 0, 0, 0.4);
  --ombre-choisie-danger: 0 4px 14px rgba(0, 0, 0, 0.4);
  --ombre-segment: 0 1px 3px rgba(0, 0, 0, 0.5);
  --ombre-feuille: 0 -10px 30px rgba(0, 0, 0, 0.5);
  --ombre-une: 0 2px 10px rgba(0, 0, 0, 0.4);
  --ombre-encart: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
}

/* Le site de L’Hexagonie.
   Les couleurs, polices, tailles de texte, rayons et espaces sont ceux du design
   system (design-system/tokens.css, posé avant ce fichier) : chaque taille de
   texte reprend la classe du système nommée en commentaire. */

:root {
  /* Proposé : la largeur de lecture du site, que le design system ne fixe pas
     (il dessine des écrans de téléphone). Environ 70 signes par ligne. */
  --mesure: 42rem;
  color-scheme: light dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte-2);
  /* corps */
  font-family: var(--font-texte);
  font-size: 16px;
  line-height: 1.4;
}

img {
  max-width: 100%;
}

/* Le lien d'évitement : invisible jusqu'au focus clavier. */
.saut {
  position: absolute;
  left: var(--espace-16);
  top: calc(-1 * var(--cible) - var(--espace-16));
  display: inline-flex;
  align-items: center;
  min-height: var(--cible);
  padding: 0 var(--espace-16);
  border-radius: var(--rayon-pilule);
  background: var(--marine);
  color: var(--sur-fonce);
  font-weight: 700;
}

.saut:focus {
  top: var(--espace-16);
}

.page {
  max-width: var(--mesure);
  margin: 0 auto;
  padding: 0 var(--espace-16);
}

.entete {
  padding: var(--espace-24) 0 var(--espace-8);
}

/* Le logo : le composant Logo du design system. */
.hx-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--espace-10);
  min-height: var(--cible);
  text-decoration: none;
}

.hx-logo__symbole {
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
}

.hx-logo__mot {
  /* marque */
  font-family: var(--font-marque);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--encre);
  white-space: nowrap;
}

.hx-logo__i {
  position: relative;
  display: inline-block;
}

.hx-logo__point {
  position: absolute;
  left: 0;
  top: 0.14em;
  width: 0.19em;
  height: 0.19em;
  display: block;
}

/* Les titres : en presse. */
h1,
h2,
h3 {
  color: var(--encre);
  font-family: var(--font-presse);
  font-weight: 700;
}

h1 {
  /* titre-resultat */
  font-size: 28px;
  line-height: 1.15;
  margin: var(--espace-16) 0 var(--espace-12);
}

h2 {
  /* titre-carte */
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 var(--espace-10);
}

h3 {
  /* titre-groupe */
  font-size: 17px;
  line-height: 1.2;
  margin: var(--espace-20) 0 var(--espace-6);
}

h2 + h3 {
  margin-top: var(--espace-12);
}

p,
ul,
ol {
  margin: 0 0 var(--espace-12);
}

ul,
ol {
  padding-left: var(--espace-20);
}

li + li {
  margin-top: var(--espace-6);
}

strong {
  color: var(--encre);
}

a {
  color: var(--marine);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--marine-survol);
}

a:focus-visible {
  outline: 2px solid var(--marine);
  outline-offset: 2px;
  border-radius: 2px;
}

.pastille {
  display: inline-block;
  margin: 0 0 var(--espace-12);
  padding: var(--espace-4) var(--espace-12);
  border-radius: var(--rayon-pilule);
  background: var(--marine-doux);
  color: var(--marine);
  /* pastille */
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

/* Une section : surface bordée d'un filet, sans ombre. */
.section {
  margin: 0 0 var(--espace-12);
  padding: var(--espace-20);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-section);
  background: var(--surface);
}

.section > :last-child {
  margin-bottom: 0;
}

.section > h3:first-child {
  margin-top: 0;
}

.intro {
  margin: 0 0 var(--espace-20);
}

.mise-a-jour {
  color: var(--texte-3);
  /* texte-court */
  font-size: 14px;
  line-height: 19px;
}

/* Le bouton principal : écrire au support. */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--bouton-principal);
  padding: 0 var(--espace-24);
  border-radius: var(--rayon-pilule);
  background: var(--marine);
  color: var(--sur-fonce);
  /* bouton */
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
}

.bouton:hover {
  background: var(--marine-survol);
  color: var(--sur-fonce);
}

/* Les tableaux de la politique de confidentialité défilent seuls sur un téléphone. */
.tableau {
  overflow-x: auto;
  margin: 0 0 var(--espace-12);
}

/* Sur un téléphone, chaque ligne d'un tableau .empile devient une fiche,
   chaque cellule précédée du nom de sa colonne (data-label). */
@media (max-width: 40rem) {
  .empile thead {
    display: none;
  }

  .empile,
  .empile tbody,
  .empile tr,
  .empile th,
  .empile td {
    display: block;
  }

  .empile tr {
    margin: 0 0 var(--espace-10);
    border: 1px solid var(--filet);
    border-radius: var(--rayon-reponse);
    overflow: hidden;
  }

  .empile th,
  .empile td {
    border: 0;
  }

  .empile td + td {
    padding-top: 0;
  }

  .empile td::before {
    content: attr(data-label) "\00a0: ";
    color: var(--encre);
    font-weight: 700;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  /* texte-court */
  font-size: 14px;
  line-height: 19px;
}

th,
td {
  padding: var(--espace-8) var(--espace-10);
  border: 1px solid var(--filet);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-2);
  color: var(--encre);
}

.coordonnees {
  font-style: normal;
}

.pied {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--espace-8) var(--espace-24);
  margin-top: var(--espace-24);
  padding: var(--espace-16) 0 var(--espace-24);
  border-top: 1px solid var(--filet);
  color: var(--texte-3);
  /* texte-court */
  font-size: 14px;
  line-height: 19px;
}

.pied p {
  margin: 0;
}

.pied ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--espace-16);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pied li + li {
  margin-top: 0;
}

/* Toute cible fait au moins 44 px, liens texte compris. */
.pied a {
  display: inline-flex;
  align-items: center;
  min-height: var(--cible);
}

.pied a[aria-current="page"] {
  color: var(--encre);
  text-decoration: none;
}

/* ------------------------------------------------------------------------
   L’accueil : une page large, d’après la maquette validée le 15 novembre
   2026 (docs/maquette-accueil/). Les couleurs, polices, rayons et espaces
   viennent du design system ; les dimensions propres au site (largeur de
   page, marges des bandes, tailles des grands titres) sont celles de la
   maquette, et celles qu’elle ne fixe pas sont marquées « proposé ».
   ------------------------------------------------------------------------ */

.page--large {
  max-width: none;
  padding: 0;
}

/* Les marges de la page large : celles de la maquette. */
.page--large {
  --large: 75rem;
  --gouttiere: clamp(16px, 4vw, 48px);
  --bande: clamp(40px, 5vw, 72px);
}

.contenu {
  max-width: var(--large);
  margin: 0 auto;
  padding-inline: var(--gouttiere);
}

.page--large main :where(p, ul, ol, dl, dd, figure, h1, h2, h3) {
  margin: 0;
}

.page--large main :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.page--large main :where(li + li) {
  margin-top: 0;
}

.page--large main h2 {
  font-size: clamp(28px, 2.9vw, 42px);
  line-height: 1.12;
  text-wrap: balance;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Masqué à l’écran, lu par les lecteurs d’écran. */
.cache {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* L’en-tête large : le logo et les sections de la page. */
.entete--large {
  padding: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--filet);
}

.entete__contenu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--espace-6) var(--espace-24);
  max-width: var(--large);
  margin: 0 auto;
  padding: var(--espace-10) var(--gouttiere);
}

.entete--large .hx-logo__mot {
  font-size: 27px;
}

.sections {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--espace-4);
}

.sections a {
  display: inline-flex;
  align-items: center;
  min-height: var(--cible);
  padding: 0 var(--espace-10);
  color: var(--texte-2);
  font-weight: 600;
  text-decoration: none;
}

.sections a:hover {
  color: var(--marine);
}

.sections .sections__essayer {
  margin-left: var(--espace-8);
  padding: 0 18px;
  border-radius: var(--rayon-pilule);
  background: var(--marine);
  color: var(--sur-fonce);
  font-weight: 700;
}

.sections .sections__essayer:hover {
  background: var(--marine-survol);
  color: var(--sur-fonce);
}

/* Proposé : sur un téléphone, les sections tiennent sur une ligne sous le logo ;
   le bouton « Essayer un dossier » s’efface, puisque l’accroche mène au même
   endroit, juste en dessous. */
@media (max-width: 40rem) {
  .entete__contenu {
    padding-bottom: var(--espace-2);
  }

  .sections {
    gap: 0;
    margin-left: calc(-1 * var(--espace-8));
  }

  .sections a {
    padding: 0 var(--espace-8);
  }

  .sections .sections__essayer {
    display: none;
  }
}

/* Une bande : une section de la page, sur toute la largeur. */
.bande {
  padding-block: var(--bande);
  border-top: 1px solid var(--filet);
}

.bande--surface {
  background: var(--surface);
}

.etiquette {
  color: var(--marine);
  /* etiquette, en 12 px sur le site (maquette) */
  font-family: var(--font-chiffres);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* La tête d’une bande : étiquette, titre, chapeau. */
.tete {
  display: flex;
  flex-direction: column;
  gap: var(--espace-10);
  max-width: 680px;
  margin-bottom: 28px;
}

.tete--double {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--espace-12) 40px;
  max-width: none;
}

.tete__titre {
  display: flex;
  flex: 1 1 26rem;
  flex-direction: column;
  gap: var(--espace-10);
  max-width: 640px;
}

.tete--double .tete__texte {
  flex: 1 1 20rem;
  max-width: 460px;
}

/* La trame des bandeaux, comme dans le jeu. */
.visuel__bandeau,
.groupe__bandeau,
.dossier__bandeau,
.lemercier__bandeau,
.fin {
  background-image: radial-gradient(var(--trame) 1px, transparent 1.5px);
  background-size: var(--trame-pas) var(--trame-pas);
}

/* Les bulles et les humeurs : blanches et bordées d’encre, dans les deux thèmes. */
.bulle {
  padding: var(--espace-10) var(--espace-14) 11px;
  border: var(--trait) solid var(--encre-trait);
  border-radius: var(--rayon-section);
  background: var(--bulle);
  color: var(--bulle-texte);
  font-family: var(--font-presse);
  font-style: italic;
}

.humeur {
  padding: var(--espace-2) var(--espace-8);
  border: 1.5px solid var(--encre-trait);
  border-radius: var(--rayon-pilule);
  background: var(--bulle);
  color: var(--encre-trait);
  /* legende, en gras */
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

/* Les boutons de la page. */
.page--large .bouton {
  gap: var(--espace-6);
}

.lien-fort {
  display: inline-flex;
  align-items: center;
  gap: var(--espace-6);
  min-height: var(--cible);
  padding: 0;
  border: 0;
  background: none;
  color: var(--marine);
  font-family: var(--font-texte);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.lien-fort:hover {
  color: var(--marine-survol);
}

.bouton-second {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--espace-8);
  min-height: var(--bouton-principal);
  padding: 0 18px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon-pilule);
  background: var(--surface);
  color: var(--marine);
  /* bouton-secondaire */
  font-family: var(--font-texte);
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.bouton-second:hover {
  border-color: var(--marine);
}

button:focus-visible,
summary:focus-visible,
.defile:focus-visible {
  outline: 2px solid var(--marine);
  outline-offset: 2px;
}

.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espace-10);
}

/* Les boutons de la bêta : les nôtres, ni badge ni logo d’Apple ou de Google. */
.bouton-beta {
  display: flex;
  align-items: center;
  gap: var(--espace-10);
  min-width: 176px;
  min-height: var(--bouton-principal);
  padding: var(--espace-6) 18px var(--espace-6) var(--espace-14);
  border-radius: var(--rayon-reponse);
  background: var(--marine);
  color: var(--sur-fonce);
  line-height: 1.1;
  text-decoration: none;
}

.bouton-beta:hover {
  background: var(--marine-survol);
  color: var(--sur-fonce);
}

.bouton-beta__icone {
  flex: none;
}

.bouton-beta__textes {
  display: flex;
  flex-direction: column;
}

.bouton-beta__petit {
  font-size: 12px;
}

.bouton-beta__grand {
  font-size: 19px;
  font-weight: 700;
}

/* Les badges officiels des stores, tels quels : même hauteur (Apple demande
   40 px au moins, Google pas plus petit que celui d’Apple), et l’espace libre
   d’un quart de leur hauteur que les deux demandent. */
.badge {
  display: flex;
  align-items: center;
  gap: var(--espace-8);
  margin: 0 var(--espace-4);
}

/* Un badge dont la fiche n’est pas encore donnée reste tel quel, sans fondu. */
.badge.indisponible {
  opacity: 1;
}

.badge__image {
  display: block;
  width: auto;
  height: 48px;
}

/* Un lien que site.json ne donne pas encore. */
.indisponible {
  opacity: var(--opacite-indisponible);
  cursor: default;
}

.indisponible__note {
  font-size: 13px;
  font-weight: 400;
}

/* 1. L’accroche */
.accroche {
  padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 5vw, 80px);
}

.accroche__contenu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px clamp(24px, 4vw, 64px);
}

.accroche__texte {
  display: flex;
  flex: 1 1 27.5rem;
  flex-direction: column;
  gap: var(--espace-20);
  min-width: 0;
  max-width: 600px;
}

.page--large .pastille {
  align-self: flex-start;
  margin: 0;
}

.surtitre {
  color: var(--texte-3);
  font-family: var(--font-chiffres);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page--large .accroche h1 {
  margin-top: calc(-1 * var(--espace-8));
  font-size: clamp(34px, 3.7vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.accroche__intro {
  max-width: 34em;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.5;
}

.accroche__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--espace-12) var(--espace-20);
}

.page--large .accroche__gratuit {
  margin-top: calc(-1 * var(--espace-10));
  color: var(--texte-3);
  font-size: 14px;
  line-height: 19px;
}

.chiffres {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--espace-16);
  padding-top: 18px;
  border-top: 1px solid var(--filet);
}

.chiffres div {
  display: flex;
  flex-direction: column;
  gap: var(--espace-2);
}

.chiffres dt {
  order: 2;
  color: var(--texte-3);
  font-size: 13.5px;
  line-height: 18px;
}

.chiffres dd {
  order: 1;
  color: var(--encre);
  font-family: var(--font-chiffres);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  font-weight: 500;
}

.accroche__visuel {
  flex: 1 1 25rem;
  min-width: 0;
  max-width: 560px;
  container-type: inline-size;
}

.visuel {
  position: relative;
  width: 100%;
  aspect-ratio: 560 / 600;
}

.visuel__bandeau {
  position: absolute;
  inset: 10% 0 0 14%;
  overflow: hidden;
  border: var(--trait) solid var(--encre-trait);
  border-radius: 28px;
  background-color: var(--felicia-1);
}

.visuel__felicia {
  position: absolute;
  right: -2%;
  bottom: -8%;
  width: auto;
  max-width: none;
  height: 92%;
}

.visuel__parole {
  position: absolute;
  top: 2%;
  right: 3%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--espace-4);
  max-width: 44%;
}

.visuel__parole .bulle {
  font-size: clamp(13px, 3cqi, 17px);
  line-height: 1.35;
}

.visuel__nom {
  /* Sur la teinte du bandeau, pour rester lisible quand le portrait passe dessous. */
  padding: 0 var(--espace-4);
  border-radius: var(--rayon-frise);
  background: var(--felicia-1);
  color: var(--encre-trait);
  font-size: clamp(12px, 2.6cqi, 15px);
  line-height: 18px;
  font-weight: 700;
}

.telephone {
  position: absolute;
  top: 6%;
  left: 0;
  width: 44%;
  overflow: hidden;
  border: 7px solid var(--encre-trait);
  border-radius: 38px;
  background: var(--encre-trait);
  box-shadow: 0 30px 60px rgba(16, 19, 24, 0.35), 0 4px 10px rgba(16, 19, 24, 0.2);
  transform: rotate(-3deg);
}

.telephone__ecran {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rayon-capsule);
}

/* Les rangées qui défilent du doigt sur un téléphone. */
.defile {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--espace-6);
  border-radius: var(--rayon-carte);
}

/* 2. Les sept groupes */
.groupes {
  display: flex;
  gap: var(--espace-12);
}

.groupe {
  display: flex;
  flex: 1 0 140px;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
  padding-bottom: var(--espace-12);
  border: var(--trait) solid var(--encre-trait);
  border-radius: var(--rayon-carte);
  background: var(--surface);
  scroll-snap-align: start;
}

.groupe__bandeau {
  position: relative;
  height: 172px;
  margin-bottom: 7px;
  overflow: hidden;
  border-bottom: var(--trait) solid var(--encre-trait);
}

.groupe__portrait {
  position: absolute;
  top: var(--espace-10);
  left: 50%;
  width: auto;
  max-width: none;
  height: 196px;
  transform: translateX(-50%);
}

.groupe .humeur {
  position: absolute;
  bottom: var(--espace-8);
  left: var(--espace-8);
}

.groupe > :not(.groupe__bandeau) {
  padding-inline: var(--espace-12);
}

.groupe .etiquette {
  font-size: 11px;
  line-height: 14px;
}

.page--large .groupe__porte-parole {
  /* titre-groupe */
  font-size: 17px;
  line-height: 1.2;
}

.groupe__sujets {
  color: var(--texte-3);
  /* detail */
  font-size: 13.5px;
  line-height: 18px;
}

.page--large .groupe__voix {
  margin-top: var(--espace-6);
  color: var(--encre);
  /* chiffre-xs */
  font-family: var(--font-chiffres);
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
}

.groupe--nadia .groupe__bandeau { background-color: var(--nadia-1); }
.groupe--gerard .groupe__bandeau { background-color: var(--gerard-0); }
.groupe--malik .groupe__bandeau { background-color: var(--malik-1); }
.groupe--claire .groupe__bandeau { background-color: var(--claire-0); }
.groupe--lucien .groupe__bandeau { background-color: var(--lucien-0); }
/* lea-1 et bernard-2 sont dans tokens.json du design system, pas encore dans
   son tokens.css : leur valeur de tokens.json sert de repli. */
.groupe--lea .groupe__bandeau { background-color: var(--lea-1, #B8CC79); }
.groupe--bernard .groupe__bandeau { background-color: var(--bernard-2, #C69B78); }

/* 3. La démo : un dossier du jeu, en HTML et CSS seuls. */
.demo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--espace-24) clamp(20px, 3vw, 40px);
}

.dossier {
  display: flex;
  flex: 1 1 22.5rem;
  flex-direction: column;
  min-width: 0;
  max-width: 480px;
  overflow: hidden;
  border: 1px solid var(--filet);
  border-radius: var(--rayon-carte);
  background: var(--surface);
  box-shadow: var(--ombre-carte);
}

.dossier__bandeau {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--espace-6);
  min-height: 140px;
  padding: var(--espace-12) var(--espace-12) var(--espace-10) 152px;
  overflow: hidden;
  border-bottom: var(--trait) solid var(--encre-trait);
  background-color: var(--nadia-1);
}

.dossier__portrait {
  position: absolute;
  bottom: -36px;
  left: -18px;
  width: auto;
  max-width: none;
  height: 184px;
}

.dossier__parole {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--espace-6);
}

.dossier__parole .bulle {
  padding: var(--espace-8) 11px 9px;
  /* replique */
  font-size: 15px;
  line-height: 1.4;
}

.dossier__qui {
  color: var(--encre-trait);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}

.dossier__bandeau .humeur {
  position: absolute;
  bottom: var(--espace-10);
  left: var(--espace-10);
}

.dossier__corps {
  display: flex;
  flex-direction: column;
  gap: var(--espace-10);
  padding: var(--espace-12) var(--espace-14) var(--espace-14);
}

.dossier__tete .etiquette {
  font-size: 11px;
  line-height: 14px;
}

.page--large .dossier h3 {
  margin-top: -3px;
  /* titre-carte */
  font-size: 20px;
  line-height: 1.2;
}

.page--large .dossier__texte {
  margin-top: calc(-1 * var(--espace-8));
  /* texte-carte */
  font-size: 15px;
  line-height: 20px;
}

.choix-liste {
  display: flex;
  flex-direction: column;
  gap: var(--espace-8);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Une réponse : le bouton radio du navigateur, caché mais atteignable au
   clavier, et son label dessiné comme dans le jeu. */
.choix {
  position: relative;
  padding: 0 var(--espace-12);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-reponse);
  background: var(--surface-2);
}

.choix input {
  position: absolute;
  top: var(--espace-12);
  right: var(--espace-12);
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
}

.choix label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--espace-12);
  min-height: 46px;
  padding-block: var(--espace-10);
  color: var(--encre);
  cursor: pointer;
}

.choix input:focus-visible + label {
  outline: 2px solid var(--marine);
  outline-offset: 2px;
  border-radius: var(--rayon-tuile);
}

.choix__titre {
  /* reponse */
  font-size: 16px;
  line-height: 21px;
  font-weight: 700;
}

.choix__cout {
  display: none;
  grid-column: 1;
  margin-top: var(--espace-2);
  color: var(--texte-3);
  /* detail */
  font-size: 13.5px;
  line-height: 18px;
}

.choix input:checked + label .choix__cout {
  display: block;
}

.radio {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: var(--trait) solid var(--filet);
  border-radius: var(--rayon-rond);
}

.choix input:checked + label .radio {
  border-color: var(--marine);
}

.choix input:checked + label .radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: var(--rayon-rond);
  background: var(--marine);
}

/* L’aperçu suit sa réponse : il s’ouvre quand elle est cochée. */
.apercu {
  display: none;
  margin-bottom: var(--espace-10);
  padding-top: var(--espace-10);
  border-top: 1px solid var(--filet-doux);
}

.choix input:checked ~ .apercu {
  display: block;
}

.apercu__lignes {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: baseline;
  gap: var(--espace-10);
}

.apercu__lignes dt {
  color: var(--texte-3);
  font-family: var(--font-chiffres);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.effets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.effet {
  padding: var(--espace-2) var(--espace-8);
  border-radius: var(--rayon-pilule);
  font-size: 13px;
  line-height: 17px;
  font-weight: 600;
}

.effet--bon {
  background: var(--bon-fond);
  color: var(--bon-texte);
}

.effet--mal {
  background: var(--danger-fond);
  color: var(--danger-texte);
}

.plus-tard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--texte-2);
  font-size: 13.5px;
  line-height: 18px;
}

.dossier__actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--espace-10);
  margin-top: var(--espace-4);
}

/* « Confirmer ce choix » : une case à cocher et son label. Sans :has(), elle
   ne changerait rien à l’écran : elle n’apparaît qu’avec lui. */
#confirmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#confirmer,
#confirmer + label {
  display: none;
}

.bouton--confirmer {
  flex: 1;
  cursor: pointer;
}

#confirmer:focus-visible + label {
  outline: 2px solid var(--marine);
  outline-offset: 2px;
}

/* Le pays, à droite du dossier. */
.pays {
  display: flex;
  flex: 1 1 22.5rem;
  flex-direction: column;
  gap: var(--espace-14);
  min-width: 0;
}

.tableau {
  padding: var(--espace-14) var(--espace-16) var(--espace-12);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-section);
  background: var(--surface);
}

.etat__date {
  color: var(--encre);
  /* annee */
  font-family: var(--font-chiffres);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.tableau__medaillon {
  display: none;
}

.etat + .etat {
  margin-top: var(--espace-12);
  padding-top: var(--espace-12);
  border-top: 1px solid var(--filet-doux);
}

.etat__titre {
  color: var(--encre);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.etat__deficit {
  color: var(--texte-3);
  font-size: 13px;
  line-height: 18px;
}

.etat__signal {
  margin-top: var(--espace-8);
  /* texte-court */
  font-size: 14px;
  line-height: 19px;
}

.etat__signal--bon {
  color: var(--bon-texte);
}

.etat__signal--mal {
  color: var(--danger-texte);
}

.resultat__note {
  color: var(--texte-3);
  font-size: 14px;
  line-height: 19px;
}

/* Les chiffres d’une ligne de coût, en Plex Mono comme dans le jeu. */
.nombre {
  color: var(--encre);
  font-family: var(--font-chiffres);
  font-size: 13px;
  font-weight: 500;
}

.promesses {
  display: flex;
  flex-direction: column;
  gap: var(--espace-2);
  color: var(--texte-2);
  font-size: 13.5px;
  line-height: 18px;
}

.promesse--bon b {
  color: var(--bon-texte);
}

.promesse--mal b {
  color: var(--danger-texte);
}

.etat__deficit b {
  color: var(--encre);
  font-family: var(--font-chiffres);
  font-weight: 500;
}

.variation {
  white-space: nowrap;
  font-family: var(--font-chiffres);
  font-size: 12px;
  font-weight: 500;
}

.variation--mal {
  color: var(--danger-texte);
}

.variation--bon {
  color: var(--bon-texte);
}

/* Le duel avec Lemercier : la jauge part du milieu vers celui qui mène. */
.duel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--espace-12);
  margin-top: var(--espace-8);
}

.duel__score {
  display: flex;
  flex-direction: column;
  color: var(--texte-3);
  /* legende */
  font-size: 12px;
  line-height: 15px;
}

.duel__score b {
  color: var(--encre);
  font-family: var(--font-chiffres);
  font-size: 26px;
  line-height: 28px;
  font-weight: 500;
}

.duel__score--lemercier {
  align-items: flex-end;
}

.duel__score--lemercier b {
  color: var(--danger-texte);
}

.duel__barre {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.duel__barre::before {
  content: "";
  height: var(--jauge);
  border-radius: var(--rayon-jauge);
  background:
    linear-gradient(var(--encre), var(--encre)) center / 2px 100% no-repeat,
    linear-gradient(to right, transparent 50%, var(--hugo-2) 50%, var(--hugo-2) calc(50% + var(--ecart)), transparent calc(50% + var(--ecart))),
    var(--filet-doux);
}

.duel--1 { --ecart: 5%; }
.duel--2 { --ecart: 10%; }
.duel--3 { --ecart: 15%; }
.duel--4 { --ecart: 20%; }
.duel--5 { --ecart: 25%; }

.duel__ecart {
  color: var(--danger-texte);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  text-align: center;
}

.duel--encart {
  padding: var(--espace-12) var(--espace-14);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-reponse);
  background: var(--surface);
}

.duel--encart .duel__score b {
  /* chiffre-duel */
  font-size: 22px;
  line-height: 24px;
}

.duel--encart .duel__score {
  font-size: 11px;
  line-height: 14px;
}

.duel--encart .duel__ecart {
  font-size: 12px;
  line-height: 15px;
}

.medaillon,
.tableau__medaillon,
.conseil__medaillon {
  flex: none;
  border-radius: var(--rayon-rond);
}

.conseil {
  display: flex;
  align-items: flex-start;
  gap: var(--espace-12);
  padding: var(--espace-14) var(--espace-16);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-section);
  background: var(--conseil-fond);
  color: var(--encre);
  font-size: 15px;
  line-height: 1.45;
}

.conseil__medaillon {
  width: var(--medaillon-xl);
  height: var(--medaillon-xl);
  border: var(--trait) solid var(--felicia-3);
  background: var(--felicia-1);
}

.conseil i {
  font-family: var(--font-presse);
}

.pays__note {
  color: var(--texte-3);
  font-size: 14px;
  line-height: 19px;
}

.pays__apercu,
.choisi,
.humeur--apres {
  display: none;
}

.pays__apercu {
  padding: var(--espace-14) var(--espace-16);
  border: 1px dashed var(--filet);
  border-radius: var(--rayon-section);
  color: var(--texte-2);
  font-size: 15px;
  line-height: 1.45;
}

/* Sans :has(), le résultat montre d’emblée les trois issues, l’une sous l’autre. */
.resultat {
  display: flex;
  flex-direction: column;
  gap: var(--espace-14);
}

.gazette {
  display: flex;
  flex-direction: column;
  gap: var(--espace-10);
  padding: var(--espace-16) 18px 18px;
  border: 1px solid var(--papier-filet);
  background: var(--papier);
  box-shadow: var(--ombre-une);
}

.gazette__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--espace-12);
  padding-bottom: var(--espace-8);
  border-bottom: 3px double var(--encre);
}

.gazette__nom {
  color: var(--encre);
  font-family: var(--font-gazette);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gazette__date sup {
  text-transform: none;
}

.gazette__date {
  color: var(--texte-3);
  font-family: var(--font-chiffres);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.une {
  color: var(--encre);
  font-family: var(--font-gazette);
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.1;
  font-weight: 700;
}

.une__reponse {
  display: block;
  margin-bottom: var(--espace-2);
  color: var(--texte-3);
  font-family: var(--font-texte);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.suite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--espace-14);
  padding: 18px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon-section);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.45;
}

.suite__titre {
  color: var(--encre);
  font-family: var(--font-presse);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.suite__bientot {
  color: var(--encre);
  font-weight: 600;
}

/* Rejouer n’a de sens qu’avec :has() ; le lien vers les stores reste toujours. */
.resultat .lien-fort[type="reset"] {
  display: none;
}

/* Les liens de fin de démo, sur une ligne quand ils tiennent (proposé). */
.suite__liens {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--espace-24);
}

/* Avec :has(), la démo se joue comme dans le jeu : toucher une réponse ouvre
   son aperçu, confirmer montre le pays après la décision et la Une. */
@supports selector(:has(*)) {
  .demo:not(:has(.choix input:checked)) .dossier__actions { display: none; }
  #confirmer { display: block; }
  #confirmer + label { display: flex; }
  .choix:has(input:checked) { padding: var(--espace-4) 11px 0; border: var(--trait) solid var(--marine); background: var(--surface); box-shadow: var(--ombre-choisie); }
  .choix-liste:has(input:checked) .choix:not(:has(input:checked)) { opacity: var(--opacite-ecartee); }
  .demo:has(.choix input:checked) .conseil,
  .demo:has(.choix input:checked) .pays__note { display: none; }
  .demo:has(.choix input:checked):not(:has(#confirmer:checked)) .pays__apercu { display: block; }
  .demo:has(#r-aider:checked) .choisi--aider,
  .demo:has(#r-allonger:checked) .choisi--allonger,
  .demo:has(#r-refuser:checked) .choisi--refuser { display: inline; }
  .tableau { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--espace-12); row-gap: var(--espace-8); }
  .etat__date { grid-row: 1; grid-column: 1; }
  .etat { display: none; }
  .etat--avant { display: contents; }
  .etat + .etat { margin: 0; padding: 0; border: 0; }
  .etat__deficit { grid-row: 1; grid-column: 2; text-align: right; }
  .etat__titre { grid-row: 2; grid-column: 1 / -1; }
  .duel { grid-row: 3; grid-column: 1; margin: 0; }
  .etat__signal { grid-row: 4; grid-column: 1 / -1; margin: 0; }
  .tableau__medaillon { display: block; grid-row: 3; grid-column: 2; width: 40px; height: 40px; border: var(--trait) solid var(--hugo-3); background: var(--hugo-2); }
  .resultat { display: none; }
  .une { display: none; }
  .une__reponse { display: none; }
  .resultat .lien-fort[type="reset"] { display: inline-flex; }
  .demo:has(#confirmer:checked) .dossier__actions { display: none; }
  .demo:has(#confirmer:checked) .choix-liste { pointer-events: none; }
  .demo:has(#confirmer:checked) .apercu { display: none; }
  .demo:has(#confirmer:checked):has(.choix input:checked) .resultat { display: flex; }
  .demo:has(#confirmer:checked):has(.choix input:checked) .etat--avant { display: none; }
  .demo:has(#confirmer:checked):has(.choix input:checked) .humeur--avant { display: none; }
  .demo:has(#confirmer:checked):has(#r-aider:checked) .apres--aider,
  .demo:has(#confirmer:checked):has(#r-allonger:checked) .apres--allonger,
  .demo:has(#confirmer:checked):has(#r-refuser:checked) .apres--refuser { display: contents; }
  .demo:has(#confirmer:checked):has(#r-aider:checked) .une--aider,
  .demo:has(#confirmer:checked):has(#r-allonger:checked) .une--allonger,
  .demo:has(#confirmer:checked):has(#r-refuser:checked) .une--refuser,
  .demo:has(#confirmer:checked):has(#r-aider:checked) .humeur--aider,
  .demo:has(#confirmer:checked):has(#r-allonger:checked) .humeur--allonger,
  .demo:has(#confirmer:checked):has(#r-refuser:checked) .humeur--refuser { display: block; }
  .demo:has(#confirmer:checked):has(#r-aider:checked) .dossier__bandeau,
  .demo:has(#confirmer:checked):has(#r-allonger:checked) .dossier__bandeau { background-color: var(--nadia-0); }
  .demo:has(#confirmer:checked):has(#r-refuser:checked) .dossier__bandeau { background-color: var(--nadia-2); }
}

/* 4. Du premier dossier au soir de l’élection */
.ecrans {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
}

.ecrans > li {
  flex: 1 0 260px;
  max-width: 370px;
  scroll-snap-align: start;
}

/* Proposé : sur un téléphone, un écran presque entier, le suivant qui dépasse. */
@media (max-width: 40rem) {
  .ecrans > li {
    flex-basis: 78vw;
  }
}

.ecran {
  display: flex;
  flex-direction: column;
  gap: var(--espace-14);
}

.ecran__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 12.5;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--filet);
  border-radius: 28px;
  background: var(--fond);
  box-shadow: var(--ombre-carte);
}

.ecran figcaption {
  display: flex;
  flex-direction: column;
  gap: var(--espace-4);
}

.ecran .etiquette {
  font-size: 11px;
  line-height: 14px;
}

.ecran__titre {
  color: var(--encre);
  font-family: var(--font-presse);
  font-size: 20px;
  line-height: 1.2;
}

.ecran__texte {
  font-size: 15px;
  line-height: 1.45;
}

/* 5. Lemercier et « Pourquoi ? » côte à côte */
.cotes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espace-20);
}

.cotes > * {
  flex: 1 1 23.75rem;
  min-width: 0;
}

/* L’iPhone seul, à la préinscription : la largeur d’une colonne, pas toute la ligne (proposé). */
.cotes > .beta:only-child {
  max-width: 34rem;
}

.page--large .titre-encart {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
}

.lemercier {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: var(--trait) solid var(--encre-trait);
  border-radius: var(--rayon-carte);
  background: var(--opposition-fond);
}

.lemercier__bandeau {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: var(--trait) solid var(--encre-trait);
  background-color: var(--hugo-1);
}

.lemercier__etiquette.etiquette {
  position: absolute;
  top: var(--espace-16);
  left: var(--espace-16);
  color: var(--encre-trait);
  font-size: 11px;
  line-height: 14px;
}

.lemercier__portrait {
  position: absolute;
  top: var(--espace-12);
  right: 4%;
  width: auto;
  max-width: none;
  height: 250px;
}

.lemercier__corps {
  display: flex;
  flex-direction: column;
  gap: var(--espace-12);
  padding: var(--espace-16) 18px 18px;
}

.lemercier .duel {
  margin: 0;
}

.pourquoi {
  display: flex;
  flex-direction: column;
  gap: var(--espace-16);
  padding: 22px var(--espace-20) var(--espace-20);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-carte);
  background: var(--surface);
}

.pourquoi .etiquette {
  font-size: 11px;
  line-height: 14px;
}

.pourquoi .titre-encart {
  margin-top: calc(-1 * var(--espace-6));
}

.pourquoi__exemple {
  display: flex;
  flex-direction: column;
  gap: var(--espace-10);
  padding: var(--espace-14) var(--espace-16);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-section);
  background: var(--surface-2);
}

.pourquoi__chiffre {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--espace-12);
  padding-bottom: var(--espace-10);
  border-bottom: 1px solid var(--filet-doux);
}

.pourquoi__nom {
  color: var(--encre);
  font-family: var(--font-presse);
  font-size: 18px;
  line-height: 1.2;
}

.pourquoi__chiffre > span {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: var(--espace-8);
}

.pourquoi__chiffre > span > b {
  color: var(--encre);
  font-family: var(--font-chiffres);
  font-size: 16px;
  font-weight: 500;
}

.pourquoi__chiffre .variation {
  font-size: 13px;
}

.pourquoi__intertitre {
  color: var(--texte-3);
  /* detail */
  font-size: 13.5px;
  line-height: 18px;
}

.pourquoi__causes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--espace-8) var(--espace-16);
  font-size: 14px;
  line-height: 19px;
}

.pourquoi__causes div {
  display: contents;
}

.pourquoi__causes dd {
  font-family: var(--font-chiffres);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

.environ {
  color: var(--texte-3);
  font-family: var(--font-texte);
  font-size: 12.5px;
  font-weight: 400;
}

.pourquoi__note {
  color: var(--texte-3);
  font-size: 14px;
  line-height: 19px;
}

/* 6. En bref, et les questions fréquentes repliées */
.questions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px clamp(24px, 5vw, 72px);
}

.bref {
  display: flex;
  flex: 1 1 20rem;
  flex-direction: column;
  gap: var(--espace-16);
  min-width: 0;
  max-width: 420px;
}

.bref__tuiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--espace-10);
}

.bref__tuiles li {
  display: flex;
  flex-direction: column;
  gap: var(--espace-4);
  padding: var(--espace-14);
  border: 1px solid var(--filet-doux);
  border-radius: var(--rayon-tuile);
  background: var(--surface-2);
  font-size: 14px;
  line-height: 19px;
}

.bref__tuiles b {
  color: var(--encre);
  font-size: 16px;
}

.bref__tuiles .bref__chiffre {
  font-family: var(--font-chiffres);
  font-weight: 500;
}

.faq {
  display: flex;
  flex: 2 1 26.25rem;
  flex-direction: column;
  min-width: 0;
}

.page--large .faq h2 {
  margin-bottom: var(--espace-16);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
}

.faq details {
  border-top: 1px solid var(--filet);
}

.faq details:last-child {
  border-bottom: 1px solid var(--filet);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--espace-16);
  min-height: var(--bouton-principal);
  padding-block: var(--espace-10);
  color: var(--encre);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* Le signe « plus », dessiné : il devient « moins » quand la réponse est ouverte. */
.plus {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: var(--marine);
}

.plus::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.plus::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

.faq details[open] .plus::after {
  display: none;
}

.reponse-faq p {
  max-width: 64ch;
  margin-bottom: var(--espace-16);
}

/* 7. La bêta */
.beta {
  display: flex;
  flex-direction: column;
  gap: var(--espace-16);
  padding: 22px var(--espace-20) var(--espace-20);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-carte);
  background: var(--surface);
}

.beta__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--espace-2) var(--espace-10);
  color: var(--encre);
}

.page--large .beta h3 {
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}

.beta__systeme {
  margin-left: auto;
  color: var(--texte-3);
  font-size: 13px;
  line-height: 17px;
}

.etapes {
  display: flex;
  flex-direction: column;
  gap: var(--espace-12);
  counter-reset: etape;
}

.etapes li {
  display: flex;
  align-items: flex-start;
  gap: var(--espace-12);
  counter-increment: etape;
}

.etapes li::before {
  content: counter(etape);
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: -3px;
  border: var(--trait) solid var(--marine);
  border-radius: var(--rayon-rond);
  color: var(--marine);
  font-family: var(--font-chiffres);
  font-size: 13px;
  font-weight: 500;
}

.etapes b {
  color: var(--encre);
}

.beta__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--espace-10);
}

.numero {
  font-family: var(--font-chiffres);
  font-size: 13px;
  font-weight: 500;
}

.page--large .beta__note {
  max-width: 64ch;
  margin-top: var(--espace-20);
  color: var(--texte-3);
  font-size: 14px;
  line-height: 19px;
}

/* 8. Le bandeau final, sur la teinte de Félicia : en thème clair dans les deux thèmes. */
.fin {
  overflow: hidden;
  color: var(--texte-2);
  border-top: var(--trait) solid var(--encre-trait);
  border-bottom: var(--trait) solid var(--encre-trait);
  background-color: var(--felicia-1);
}

.fin__contenu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0 32px;
}

.fin__texte-bloc {
  display: flex;
  flex: 1 1 26.25rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--espace-16);
  min-width: 0;
  max-width: 620px;
  padding-block: clamp(36px, 5vw, 64px);
}

.page--large .fin h2 {
  color: var(--encre-trait);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.08;
}

.fin__texte {
  max-width: 32em;
  color: var(--encre-trait);
  font-size: 17px;
  line-height: 1.5;
}

.fin__felicia {
  display: block;
  flex: none;
  width: auto;
  height: clamp(220px, 24vw, 330px);
  margin: 0 0 -2px auto;
}

/* Le pied de page large. */
.page--large .pied {
  max-width: var(--large);
  margin: 0 auto;
  padding: var(--espace-20) var(--gouttiere) 32px;
  border-top: 0;
}

/* Un badge pas encore téléchargé : un simple bouton, qui n’imite pas le badge. */
.badge--texte {
  margin: 0;
}

/* Proposé : sur un petit téléphone, le médaillon de Lemercier laisse sa place à la
   jauge du duel, pour que « Il mène de 3 points » tienne sur une ligne. */
@media (max-width: 30rem) {
  .tableau__medaillon {
    display: none;
  }

  .tableau {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tableau .duel {
    grid-column: 1 / -1;
  }
}
