/* Hors fil — feuille de style commune. Identité : docs/identity-v2.md.
   Revue UX du 30 octobre 2026 : docs/ux-review.md (teintes dérivées et contrastes). */

@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/Fredoka-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/Fredoka-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/Nunito-latin-italique.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/Nunito-latin-ext-italique.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/Nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/Nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/Nunito-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/Nunito-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  /* Palette, identité v3 (31 octobre 2026) : bleu électrique, encre, papier, bleu nuit.
     Contrastes : #1F3BFF sur papier 6,2:1, blanc sur #1F3BFF 6,7:1, #8FA2FF sur bleu nuit 7,7:1. */
  --fond: #F7F5F0;
  --encre: #111317;
  --encre-2: #4A4F57;
  --accent: #1F3BFF;      /* bleu électrique : liens, boutons, marque */
  --accent-vif: #8FA2FF;  /* bleu clair : sur fond sombre, pastilles (encre dessus 7,8:1) */
  --teinte: #E6EAFF;
  --trait: #C9C4B8;
  --blanc: #FFFFFF;
  --nuit: #0B1033;        /* bleu nuit : pied de page */
  /* Teintes dérivées */
  --teinte-2: #F1F3FF;    /* survol, ligne cochée */
  --encre-3: #151C4F;     /* surface sombre secondaire (blocs de code) */
  --encre-doux: #C3C8E6;  /* texte secondaire sur bleu nuit (11,2:1) */
  --fil-sombre: #2A3270;  /* filet décoratif sur fond sombre */
  --bleu-pale: #D6DDFF;   /* texte secondaire sur bleu électrique (5,0:1) */

  /* Polices (OFL, servies par le site) : Fredoka, ronde et joueuse, pour les titres, les boutons
     et les chiffres ; Nunito, ronde elle aussi mais plus calme, pour le texte. */
  --police: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --police-titre: "Fredoka", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  --largeur: 72rem;
  --gouttiere: clamp(16px, 4vw, 40px);
  --rayon: 12px;
  --rayon-grand: 20px;
  --ombre: 0 1px 2px rgba(11, 16, 51, .06), 0 10px 30px -18px rgba(11, 16, 51, .35);
  --ombre-haute: 0 2px 4px rgba(11, 16, 51, .06), 0 18px 40px -20px rgba(11, 16, 51, .45);
  --duree: 180ms;
  --section: clamp(3rem, 8vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }

img, svg { max-width: 100%; }

h1, h2, h3 { font-family: var(--police-titre); line-height: 1.12; font-weight: 600; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 1.85rem; margin-top: 2.2rem; }
h3 { font-size: 1.25rem; margin-top: 1.6rem; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }
strong { font-weight: 800; }

a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--encre); text-decoration-thickness: 3px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }

kbd {
  font-family: var(--police-titre); font-weight: 600; font-size: 1rem;
  display: inline-block; min-width: 1.6em; padding: 0 .4em; text-align: center;
  background: var(--blanc); border: 2px solid var(--encre-2); border-bottom-width: 3px; border-radius: 6px; line-height: 1.4;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.saut {
  position: absolute; left: var(--gouttiere); top: -100px; z-index: 30;
  background: var(--encre); color: var(--fond); padding: .6rem 1rem; border-radius: var(--rayon); font-weight: 700;
}
.saut:focus { top: .5rem; color: var(--fond); }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.texte { max-width: 42rem; }
.section { margin-top: var(--section); }
.section > h2:first-child, .section__tete > h2 { margin-top: 0; }
.section__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.section__tete h2 { margin-bottom: 0; }
.chapo { font-size: 1.25rem; color: var(--encre-2); max-width: 40rem; }
.surtitre {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font-family: var(--police-titre); font-weight: 600; font-size: 1.05rem; letter-spacing: .01em; color: var(--accent);
}
.surtitre::before { content: ""; width: 1.6rem; height: 3px; border-radius: 3px; background: var(--accent); flex: none; }

/* En-tête de page intérieure */
.page-tete { padding: clamp(1.5rem, 5vw, 3.25rem) 0 0; }
.page-tete h1 { margin-bottom: .4em; }
.page-tete .chapo { margin-bottom: 0; }
.page-tete + .fil-sep { margin-top: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }

/* Bandeau de brouillon (versions de travail uniquement) */
.bandeau-brouillon {
  background: var(--encre); color: var(--fond); text-align: center; margin: 0;
  padding: .5rem var(--gouttiere); font-size: 1rem;
}

/* ---- Le fil : motif de séparation (un filet interrompu, le morceau soulevé) ---- */
.fil-sep {
  --x: 50%; --vide: 26px; --piece: 62px; --epaisseur: 3px; --levee: 16px;
  --couleur: var(--trait); --couleur-piece: var(--accent);
  position: relative; height: calc(var(--levee) + var(--epaisseur));
  margin: var(--section) 0;
}
.fil-sep::before, .fil-sep::after {
  content: ""; position: absolute; bottom: 0; height: var(--epaisseur);
  border-radius: var(--epaisseur); background: var(--couleur);
}
.fil-sep::before { left: 0; width: calc(var(--x) - var(--vide)); }
.fil-sep::after { right: 0; width: calc(100% - var(--x) - var(--vide)); }
.fil-sep > span {
  position: absolute; bottom: var(--levee); left: calc(var(--x) - var(--piece) / 2);
  width: var(--piece); height: var(--epaisseur); border-radius: var(--epaisseur);
  background: var(--couleur-piece);
  transition: transform 400ms cubic-bezier(.2, .8, .2, 1);
}
.fil-sep--gauche { --x: 14%; }
.fil-sep--droite { --x: 84%; }
.fil-sep--tiers { --x: 33%; }
.fil-sep--fort { --couleur: var(--encre); --epaisseur: 4px; --levee: 22px; --vide: 34px; --piece: 78px; }
.fil-sep--sombre { --couleur: var(--fil-sombre); --couleur-piece: var(--accent-vif); }
.fil-sep--serre { margin: 2rem 0; }
@media (max-width: 40rem) { .fil-sep--gauche, .fil-sep--droite { --x: 50%; } }

@keyframes hf-soulever { from { translate: 0 var(--levee); } to { translate: 0 0; } }
.fil-sep--anime > span { animation: hf-soulever 900ms cubic-bezier(.2, .8, .2, 1) 350ms both; }

/* ---- En-tête du site ---- */
.entete { background: var(--fond); border-bottom: 2px solid var(--encre); position: relative; z-index: 5; }
.entete__in {
  max-width: var(--largeur); margin: 0 auto; padding: .5rem var(--gouttiere);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 2rem;
}
.marque { display: inline-flex; align-items: center; gap: .55rem; color: var(--encre); text-decoration: none; min-height: 48px; border-radius: 4px; }
.marque:hover { color: var(--encre); }

.nav { min-width: 0; }
.nav__liste { position: relative; list-style: none; margin: 0; padding: 0; display: flex; gap: 0 .35rem; }
.nav__liste a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 .7rem; position: relative;
  color: var(--encre); text-decoration: none; font-family: var(--police-titre); font-weight: 600; font-size: 1.1rem; white-space: nowrap; border-radius: var(--rayon);
}
.nav__liste a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 6px; height: 3px; border-radius: 3px;
  background: transparent; transition: background-color var(--duree) ease;
}
.nav__liste a:hover::after { background: var(--trait); }
.nav__liste a[aria-current="page"]::after { background: var(--accent); }
.nav__liste a:focus-visible { outline-offset: -3px; }

.suivre-mini {
  display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 44px; padding: 0 1rem;
  border: 2px solid var(--accent); border-radius: 999px; color: var(--accent);
  font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color var(--duree) ease, color var(--duree) ease;
}
.suivre-mini:hover { background: var(--accent); color: var(--fond); }

@media (max-width: 75rem) {
  .entete__in { grid-template-columns: 1fr auto; padding-bottom: 0; gap: 0 1rem; }
  .marque { grid-column: 1; grid-row: 1; }
  .suivre-mini { grid-column: 2; grid-row: 1; }
  .nav { grid-column: 1 / -1; grid-row: 2; margin: 0 calc(-1 * var(--gouttiere)); }
  /* Une seule ligne qui défile à l'horizontale ; le fondu à droite signale la suite. */
  .nav__liste {
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    padding: 0 calc(var(--gouttiere) - .7rem);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
  }
  .nav__liste::-webkit-scrollbar { display: none; }
  .nav__liste li:last-child { padding-right: 2rem; }
}
@media (max-width: 27rem) {
  .suivre-mini__compte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.3rem; border-radius: var(--rayon);
  border: 2px solid var(--accent); background: var(--accent); color: var(--fond);
  font: inherit; font-family: var(--police-titre); font-weight: 600; font-size: 1.1rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  transition: background-color var(--duree) ease, border-color var(--duree) ease, color var(--duree) ease, transform var(--duree) ease, box-shadow var(--duree) ease;
}
.btn:hover { background: var(--encre); border-color: var(--encre); color: var(--fond); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--secondaire { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn--secondaire:hover { background: var(--encre); color: var(--fond); }
.btn--discret {
  background: transparent; color: var(--accent); border-color: transparent; padding-left: .5rem; padding-right: .5rem;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.btn--discret:hover { background: transparent; color: var(--encre); border-color: transparent; }
.btn--grand { min-height: 58px; padding: .9rem 1.7rem; font-size: 1.3rem; border-radius: 16px; }
.btn--clair { background: var(--fond); border-color: var(--fond); color: var(--encre); }
.btn--clair:hover { background: var(--accent-vif); border-color: var(--accent-vif); color: var(--encre); }
.btn--clair:focus-visible { outline-color: var(--accent-vif); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--accent); border-color: var(--accent); color: var(--fond); }
.btn--secondaire[disabled]:hover { background: transparent; border-color: var(--encre); color: var(--encre); }
.btn .fleche { display: inline-block; transition: transform var(--duree) ease; }
.btn:hover .fleche, a:hover > .fleche { transform: translateX(3px); }
.btn .ext { font-size: .95em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 1.5rem 0; }
@media (max-width: 30rem) {
  .actions--pile { flex-direction: column; align-items: stretch; }
  .actions--pile .btn--discret { align-self: center; }
}

/* ---- Panneaux, notices, pastilles ---- */
.panneau { background: var(--teinte); border-radius: var(--rayon-grand); padding: clamp(1.25rem, 3vw, 2rem); margin: 1.5rem 0; }
.panneau > :last-child { margin-bottom: 0; }
.panneau > :first-child, .notice > :first-child { margin-top: 0; }
.carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon-grand); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--ombre); }
.notice {
  position: relative; border: 2px solid var(--encre); background: var(--blanc);
  padding: 1.1rem 1.25rem 1.1rem 3.6rem; margin: 1.5rem 0; border-radius: var(--rayon-grand);
}
.notice::before {
  content: "i"; position: absolute; left: 1.1rem; top: 1.05rem; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--accent); color: var(--fond); display: grid; place-items: center; font-weight: 700; font-size: 1rem; line-height: 1;
}
.notice--alerte::before { content: "!"; background: var(--encre); }
.notice:has(.notice__titre) { padding-left: clamp(1.25rem, 3vw, 1.75rem); }
.notice:has(.notice__titre)::before { display: none; }
.notice__titre { display: flex; align-items: center; gap: .65rem; }
.notice__titre::before {
  content: "i"; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--accent); color: var(--fond); display: grid; place-items: center; font-size: 1rem; line-height: 1;
}
.notice--alerte .notice__titre::before { content: "!"; background: var(--encre); }
.notice > :last-child { margin-bottom: 0; }
.notice ul { padding-left: 1.1rem; }
.notice li { margin-bottom: .45rem; }
.notice__titre { font-family: var(--police-titre); font-weight: 600; font-size: 1.3rem; margin-bottom: .5rem; }
.pastille {
  display: inline-block; background: var(--accent-vif); color: var(--encre); font-family: var(--police-titre); font-weight: 600; font-size: 1rem;
  padding: .1rem .7rem; border-radius: 999px; line-height: 1.5; vertical-align: middle; letter-spacing: 0;
}
.pastille--neutre { background: var(--teinte); }
.pastille--contour { background: transparent; border: 2px solid var(--encre); line-height: 1.3; }

/* ---- Formulaires ---- */
.champ { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.champ label, .champ legend { font-weight: 700; }
.champ .aide { color: var(--encre-2); font-size: 1rem; margin: 0; }
.champ .erreur { color: var(--encre); font-weight: 700; border-left: 4px solid var(--accent); padding-left: .6rem; margin: 0; }
input[type="text"], input[type="search"], input[type="number"], input[type="email"], select, textarea {
  font: inherit; color: var(--encre); background: var(--blanc);
  border: 2px solid var(--encre-2); border-radius: var(--rayon); padding: .6rem .8rem; min-height: 48px; width: 100%; max-width: 32rem;
  transition: border-color var(--duree) ease, box-shadow var(--duree) ease;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111317' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center / 1.15rem 1.15rem;
}
input:hover, select:hover, textarea:hover { border-color: var(--encre); }
textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--encre); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--encre); border-width: 3px; }
input[type="checkbox"] { width: 1.4rem; height: 1.4rem; accent-color: var(--accent); }
input[type="radio"] { width: 1.3rem; height: 1.3rem; accent-color: var(--accent); flex: none; margin: 0; }
fieldset.champ { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
fieldset.champ legend { padding: 0; margin-bottom: .5rem; }
.filtres { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: end; margin: 1rem 0 1.5rem; }
.filtres .champ { margin: 0; flex: 1 1 14rem; }

/* Choix en cartes (boutons radio) */
.choix { display: grid; gap: .6rem; }
.choix label {
  display: flex; gap: .8rem; align-items: center; min-height: 56px; padding: .65rem 1rem;
  background: var(--blanc); border: 2px solid var(--trait); border-radius: 12px; cursor: pointer; font-weight: 400;
  transition: border-color var(--duree) ease, background-color var(--duree) ease;
}
.choix label:hover { border-color: var(--encre-2); }
.choix label:has(input:checked) { border-color: var(--accent); background: var(--teinte-2); font-weight: 700; }
.choix label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.choix input:focus-visible { outline: none; }

/* Messages d'état (formulaires, déclarations) */
.statut:empty { display: none; }
.statut { margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: 12px; background: var(--blanc); border: 2px solid var(--trait); }
.statut--ok { border-color: var(--accent); background: var(--teinte-2); }
.statut--ok::before { content: "✓ "; content: "✓ " / ""; color: var(--accent); font-weight: 700; }
.statut--erreur { border-color: var(--encre); }

/* Texte long (pages légales) */
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.6rem; padding-top: 1.4rem; position: relative; }
.prose h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background:
    linear-gradient(to right, var(--trait) 0 2.2rem, transparent 2.2rem 3.4rem, var(--trait) 3.4rem);
}
.prose h2::after { content: ""; position: absolute; top: -10px; left: 2.35rem; width: .9rem; height: 3px; border-radius: 3px; background: var(--accent); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .7rem; }
.prose li::marker { color: var(--accent); }
.meta { color: var(--encre-2); font-size: 1rem; margin: 0; }
.prose { margin-top: 2rem; }
.prose > p:first-child { font-size: 1.2rem; }
.prose > h2:first-child { margin-top: 0; }

/* Dialogues natifs */
dialog {
  border: 0; border-radius: var(--rayon-grand); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: 0 30px 80px -20px rgba(17, 19, 23, .6);
  max-width: min(34rem, calc(100vw - 2 * 16px)); background: var(--fond); color: var(--encre);
}
dialog h2 { margin-top: 0; }
dialog .actions { margin-bottom: 0; }
dialog::backdrop { background: rgba(11, 16, 51, .6); }

/* ---- Pied de page ---- */
.pied { background: var(--nuit); color: var(--fond); margin-top: var(--section); padding: clamp(2.5rem, 6vw, 4rem) 0 2.5rem; font-size: 1rem; }
.pied__in { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.pied__haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--fil-sombre); }
.pied__marque { display: flex; align-items: center; gap: .9rem; }
.pied__marque p { margin: 0; font-size: 1.125rem; }
.pied__marque strong { font-size: 1.35rem; margin-right: .35rem; }
.pied h2, .pied__slogan { font-family: var(--police-titre); }
.pied__slogan { color: var(--encre-doux); }
.pied a { color: var(--fond); }
.pied a:hover { color: var(--accent-vif); }
.pied :focus-visible { outline-color: var(--accent-vif); }
.pied .btn--clair { color: var(--encre); }
.pied__liens { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
.pied__liens a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-thickness: 1px; }
.pied__liens a:hover { text-decoration-thickness: 2px; }
.pied__note { color: var(--encre-doux); max-width: 48rem; margin-bottom: .5rem; }
.pied__note a { color: var(--fond); }

/* ---- Page introuvable ---- */
.introuvable { padding: clamp(2rem, 8vw, 5rem) 0 0; max-width: 40rem; }
.introuvable__signe { width: 6rem; height: 6rem; display: block; margin-bottom: 1.75rem; }
/* Liens de suite (fin de page) */
.liens-suite { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.75rem; }
.liens-suite a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* ---- Mouvement réduit ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- Impression ---- */
@media print {
  .entete, .pied, .saut, .actions, .onglets, .filtres, .btn, .suivre-mini, .bandeau-brouillon, .ne-pas-imprimer, .fil-sep, .barre-liste { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; display: block; }
  a { color: #000; text-decoration: none; }
  .entete-impression { display: block !important; }
}
.entete-impression { display: none; }

.identifiant { font-family: var(--mono); font-size: 1rem; color: var(--encre-2); }

/* ---- v1.2 (30 octobre) : en-tête collant, logo, bouton « Suivre @BlockFarRight » ---- */
.entete { position: sticky; top: 0; z-index: 30; }
html { scroll-padding-top: calc(var(--entete-h, 4.5rem) + 1rem); }
.marque { padding: .3rem 0; }
/* Marque (panneau « interdit de tourner à droite ») : un signe seul, sans nom ; ne jamais la retourner. */
.logo { display: block; height: 2.6rem; width: auto; transition: transform .25s ease; }
.marque:hover .logo, .marque:focus-visible .logo { transform: rotate(-8deg); }
.marque-deco { display: block; width: 100%; height: 100%; }

.suivre-x {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem;
  border-radius: 999px; background: var(--encre); color: var(--fond); font-family: var(--police-titre); font-weight: 600; font-size: 1rem;
  text-decoration: none; white-space: nowrap; justify-self: end;
}
.suivre-x:hover { background: var(--accent); color: var(--fond); }
.suivre-x:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.icone-x { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.pied__suivre .icone-x { margin-right: .4rem; vertical-align: -0.15em; }
.logo--clair { height: 3rem; }
.pied__marque { flex-wrap: wrap; gap: .75rem 1.25rem; }

@media (max-width: 56rem) {
  .suivre-x { grid-column: 2; grid-row: 1; font-size: .92rem; padding: .4rem .85rem; }
  .logo { height: 2.3rem; }
}
@media (max-width: 24rem) {
  .logo { height: 2.1rem; }
  .suivre-x { font-size: .85rem; padding: .35rem .7rem; gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .logo { transition: none; }
  .marque:hover .logo, .marque:focus-visible .logo { transform: none; }
}

.mot { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 75.01rem) {
  .entete__in { column-gap: 1.25rem; }
  .nav__liste { gap: 0 .1rem; }
  .nav__liste a { padding-left: .6rem; padding-right: .6rem; }
}

/* ---- v3 (31 octobre) : chiffres et libellés en Fredoka ---- */
.plateforme-carte__nom, .plateforme-carte__nombre, .plateformes li > span:first-child, .progression,
.liste-infos__nombre, .vide__titre, .bilan__texte, .lien-fleche, .mot__citation figcaption, .outil__meta dt,
.liens-suite a, .hero__suivre { font-family: var(--police-titre); font-weight: 600; }

/* ---- v3 : point « en direct » (compteur de l'accueil, nombre de comptes de la page Outils) ---- */
@keyframes hf-pouls {
  0% { box-shadow: 0 0 0 0 rgba(143, 162, 255, .75); }
  70% { box-shadow: 0 0 0 .6rem rgba(143, 162, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 162, 255, 0); }
}

/* Odometer 0.4.8, thème « minimal » (HubSpot, licence MIT : assets/js/vendor/odometer.LICENSE.txt),
   sans les reprises pour anciens navigateurs. Les chiffres défilent ; sans animation (mouvement
   réduit), le chiffre s'affiche directement, sans Odometer. */
.odometer.odometer-auto-theme, .odometer.odometer-theme-minimal { display: inline-block; vertical-align: baseline; position: relative; }
.odometer .odometer-digit { display: inline-block; vertical-align: baseline; position: relative; }
.odometer .odometer-digit .odometer-digit-spacer { display: inline-block; vertical-align: baseline; visibility: hidden; }
.odometer .odometer-digit .odometer-digit-inner { text-align: left; display: block; position: absolute; inset: 0; overflow: hidden; }
.odometer .odometer-digit .odometer-ribbon { display: block; }
.odometer .odometer-digit .odometer-ribbon-inner { display: block; backface-visibility: hidden; }
.odometer .odometer-digit .odometer-value { display: block; transform: translateZ(0); }
.odometer .odometer-digit .odometer-value.odometer-last-value { position: absolute; }
.odometer.odometer-animating-up .odometer-ribbon-inner { transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.odometer.odometer-animating-up.odometer-animating .odometer-ribbon-inner { transform: translateY(-100%); }
.odometer.odometer-animating-down .odometer-ribbon-inner { transform: translateY(-100%); }
.odometer.odometer-animating-down.odometer-animating .odometer-ribbon-inner { transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); transform: translateY(0); }
.odometer .odometer-formatting-mark { display: inline-block; padding: 0 .05em; }
.odometer { white-space: nowrap; }

/* ---- v3 : « Outils » mis en avant dans la navigation ---- */
.nav__liste a.nav__outils {
  background: var(--accent); color: var(--blanc); padding: 0 1rem; margin: .35rem 0 .35rem .2rem; min-height: 42px; border-radius: 999px;
}
.nav__liste a.nav__outils::after { display: none; }
.nav__liste a.nav__outils:hover { background: var(--encre); color: var(--blanc); }
.nav__liste a.nav__outils[aria-current="page"] { background: var(--encre); box-shadow: inset 0 -4px 0 var(--accent-vif); }
.nav__liste a.nav__outils:focus-visible { outline-offset: 2px; }

/* ---- v3 : pages (la liste ne s'affiche jamais en entier) ---- */
.pagination { margin: 1.5rem 0 0; }
.pagination__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .45rem; }
.pagination__bouton {
  min-width: 44px; min-height: 44px; padding: .3rem .9rem; border-radius: 999px; border: 2px solid var(--encre);
  background: var(--blanc); color: var(--encre); font: inherit; font-family: var(--police-titre); font-weight: 600; cursor: pointer;
  transition: background-color var(--duree) ease, color var(--duree) ease;
}
.pagination__bouton:hover { background: var(--encre); color: var(--fond); }
.pagination__bouton[aria-current="page"], .pagination__bouton[disabled] { background: var(--accent); border-color: var(--accent); color: var(--blanc); cursor: default; opacity: 1; }
.pagination__ellipse { color: var(--encre-2); padding: 0 .2rem; }
.resultats[aria-busy="true"] { opacity: .6; transition: opacity var(--duree) ease; }
.tableau__plateforme { color: var(--encre-2); font-family: var(--police); }
