/* ==========================================================================
   IMMIA-NB : système graphique du site
   Marine et sarcelle du logo A1 « Gantry », Montserrat pour la voix de la
   marque, Inter pour la lecture, Geist pour le héros et la navigation (la
   grotesque libre la plus proche de Plain, mesurée le 10 novembre 2026).
   Coins carrés, filets fins, aplats de couleur.
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy: #0B2545;        /* Marine, logo */
  --navy-2: #133158;      /* Marine relevée, anneau sur fond marine */
  --teal: #1B8A8F;        /* Sarcelle, logo : graphisme et grands textes */
  --teal-ink: #0E6F75;    /* Sarcelle profonde : liens et petits textes sur blanc */
  --teal-light: #4FBFC4;  /* Sarcelle claire : sur fond marine, aplats */
  --mist: #EEF2F5;        /* Brume : aplats clairs */
  --slate: #526178;       /* Ardoise : texte secondaire */
  --navy-mute: #8FA3BF;   /* Texte secondaire sur marine */
  --rule: rgba(11, 37, 69, 0.18);
  --rule-strong: #0B2545;
  --error: #B42318;
  --white: #FFFFFF;

  --f-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-hero: "Geist", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.2vw, 64px);
  --col-gap: clamp(16px, 2vw, 32px);
  --maxw: 1440px;
  --header-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--navy);
  background: var(--white);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.is-loading body { opacity: 0; }
body { transition: opacity 240ms ease-out; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--teal-light); }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 12px 18px;
  font-family: var(--f-display); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__word { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1; white-space: nowrap; }
.logo__word span { font-weight: 400; }
.mark-ring { fill: none; stroke: var(--navy); stroke-width: 5; }
.mark-arc { fill: none; stroke: var(--teal); stroke-width: 8; }
.mark-dot { fill: var(--teal); }
.on-dark .logo { color: var(--white); }
.on-dark .mark-ring { stroke: var(--white); }
.on-dark .mark-arc { stroke: var(--teal-light); }
.on-dark .mark-dot { fill: var(--teal-light); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* Accueil : en-tête pleine largeur, à 24 px des bords. Le logo s'aligne sur la légende du héros, les liens sur ses points.
   Les autres pages gardent l'en-tête aligné sur leur grille. */
html[data-page="home"] .site-header__inner { max-width: none; padding-inline: 24px; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.site-nav__links { display: flex; gap: clamp(16px, 2.6vw, 36px); }
.site-nav__links a {
  font-family: var(--f-hero); font-weight: 400; font-size: 1rem; text-decoration: none;
  padding: 8px 0; border-bottom: 1px solid transparent;
}
.site-nav__links a:hover { border-bottom-color: var(--rule); }
.site-nav__links a[aria-current="page"] { border-bottom-color: var(--navy); }

.lang { display: inline-flex; }
.lang button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--f-hero); font-weight: 400; font-size: 1rem;
  min-width: 32px; min-height: 32px; padding: 0 4px; border-bottom: 1px solid transparent;
}
/* Comme sur pentagram.com : un seul lien texte, vers l'autre langue. */
.lang button[aria-pressed="true"] { display: none; }
.lang button:hover { border-bottom-color: var(--navy); }

.preview-banner { background: var(--teal-light); color: var(--navy); font-size: 0.875rem; padding: 8px 0; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border: 2px solid var(--navy);
  background: var(--navy); color: var(--white); text-decoration: none; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--mist); border-color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); }
.link {
  font-family: var(--f-display); font-weight: 600; color: var(--navy);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  text-decoration-color: var(--teal);
}
.link:hover { text-decoration-color: var(--navy); }
.textbtn {
  appearance: none; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem; color: var(--navy);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.textbtn:hover { text-decoration-thickness: 2px; }
.todo { background: #FFF4D6; color: #6B4A00; padding: 0 4px; font-style: normal; }

/* ==========================================================================
   Accueil
   ========================================================================== */
/* ---------- Héros à la Pentagram (v1.3, 10 novembre 2026) ----------
   Le média parle, la phrase chuchote. Mesures relevées sur pentagram.com à 1710 px :
   pastille 44 px, marge 0 16 px, fond rgba(232,232,232,.8), flou 7,5 px, rayon 4 px ;
   chaque mot est une fenêtre de 44 px (28 px sur mobile) sur la colonne de toutes les options, qui roule
   en 1 s sur une courbe lente, rapide, lente ; fondu d'image de 1 s ; points de 18 px au pas de 24 px ;
   légende blanche à 24 px des bords, avec une ombre de texte et sans dégradé.
   Les positions et dimensions calculées (cadrage, fenêtres, panneau) sont posées par home.js. */
.hero {
  --ink: #1A1A1A; --pill-bg: rgba(232, 232, 232, 0.8); --ground: #E3E4E5; --row: 44px; --hero-gutter: 24px;
  --roll: 1000ms; --fade: 1000ms; --ease-roll: cubic-bezier(0.83, 0, 0.17, 1); --ease-p: cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white); color: var(--ink);
}
.hero__frame {
  position: relative; overflow: hidden; width: 100%; max-width: 1728px; margin: 0 auto;
  aspect-ratio: 7 / 3; min-height: 440px; max-height: calc(100svh - var(--header-h));
  background: var(--ground); font-family: var(--f-hero); font-size: 1rem; line-height: 1.25; font-weight: 400;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { overflow: hidden; opacity: 0; transition: opacity var(--fade) var(--ease-p); }
.hero__slide.is-current { opacity: 1; }
.hero__slide.no-fade { transition: none; }
.hero__poster, .hero__video { position: absolute; display: block; max-width: none; }
.hero__poster.is-missing { display: none; }
.hero__video { opacity: 0; transition: opacity 300ms ease; }
.hero__slide.has-video .hero__video { opacity: 1; }
/* v1.4. Zoom du site : les images fixes respirent d'environ 3 %, sur l'image elle-même (aucune vidéo, aucune
   anatomie inventée). Il s'arrête avec la rotation (bouton Pause, menu ouvert, héros hors écran) et n'existe pas
   en mouvement réduit. Variante large : la vidéo de l'image en hauteur est masquée. */
@keyframes hero-zoom { 0%, 100% { scale: 1; } 50% { scale: var(--zoom, 1.03); } }
.hero__slide.is-zoom .hero__poster { animation: hero-zoom var(--zoom-ms, 8000ms) ease-in-out infinite; animation-play-state: paused; }
.hero__frame.is-live .hero__slide.is-zoom.is-current .hero__poster { animation-play-state: running; }
.hero__slide.is-wide .hero__video { display: none; }

.pill {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  max-width: calc(100% - 32px); max-height: calc(100% - 32px); overflow: hidden; white-space: nowrap;
  background: var(--pill-bg); -webkit-backdrop-filter: blur(7.5px); backdrop-filter: blur(7.5px);
  border-radius: 4px; color: var(--ink); transition: border-radius 0.4s;
}
.pill.is-anim { transition: width 0.4s var(--ease-p), height 0.4s var(--ease-p), border-radius 0.4s; }
.pill.is-open { z-index: 100; border-radius: 8px; background: rgba(232, 232, 232, 0.92); }
.pill.is-open.is-settled { justify-content: flex-start; overflow-y: auto; }
.pill__row { display: flex; align-items: center; justify-content: center; flex: none; height: var(--row); padding: 0 16px; }
.pill__grp { display: inline-flex; align-items: center; flex: none; height: var(--row); }
.pill__grp + .pill__grp { margin-left: 0.3em; }
.pill__seg { flex: none; }
.pill__seg + .pill__word, .pill__word + .pill__seg { margin-left: 0.3em; }
.pill__word {
  appearance: none; -webkit-appearance: none; background: none; border: 0; margin: 0; padding: 0;
  display: inline-flex; align-items: center; flex: none; height: var(--row); cursor: pointer;
  color: inherit; font: inherit; text-align: left;
}
.pill__word:hover { color: #5E5E5E; }
.pill__win { display: block; flex: none; height: var(--row); overflow: hidden; transition: width var(--roll) var(--ease-roll); }
.pill__col { display: flex; flex-direction: column; align-items: flex-start; transition: transform var(--roll) var(--ease-roll); will-change: transform; }
.pill__opt { display: flex; align-items: center; flex: none; height: var(--row); white-space: nowrap; }
.pill__word.no-anim .pill__win, .pill__word.no-anim .pill__col { transition: none; }
.chev { width: 12px; height: 12px; margin-left: 2px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 0.3s ease-in-out; }
.pill__word[aria-expanded="true"] .chev { transform: rotate(180deg); }
.hero :focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; }
.hero .pill__word:focus-visible { outline-offset: -3px; }
.hero__frame[data-theme="dark"] .hero__foot :focus-visible { outline-color: var(--white); }

/* Menu : la pastille elle-même grandit en panneau d'étiquettes, la page se floute derrière. */
.pill__panel {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 16px 24px 20px; white-space: normal; opacity: 0; transition: opacity 0.25s ease;
}
.pill__panel[hidden] { display: none; }
.pill.is-open .pill__panel { opacity: 1; transition-delay: 0.14s; }
.pill__close {
  appearance: none; -webkit-appearance: none; background: none; border: 0; cursor: pointer; align-self: flex-end;
  min-height: 24px; padding: 0 4px; margin-right: -8px; color: var(--ink); font: inherit; font-size: 0.875rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer; min-height: 28px; padding: 4px 8px; border-radius: 2px;
  background: rgba(0, 0, 0, 0.07); color: var(--ink); font: inherit; font-size: 0.875rem; line-height: 1.43;
}
.chip:hover { background: rgba(0, 0, 0, 0.14); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.hero-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.hero-backdrop.is-on { opacity: 1; pointer-events: auto; }
html.has-hero-menu { overflow: hidden; }

/* Légende sur deux lignes, points et pause. Le cadrage réserve cette bande : la légende ne touche jamais l'anatomie. */
.hero__foot {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: var(--hero-gutter); color: var(--ink); transition: color var(--fade) var(--ease-p);
}
.hero__frame[data-theme="dark"] .hero__foot { color: var(--white); text-shadow: rgba(0, 0, 0, 0.5) -1px 1px 4px; }
.hero__caption { min-width: 0; max-width: 60rem; }
.hero__caption p { margin: 0; }
.hero__controls { flex: none; display: flex; align-items: center; gap: 12px; }
.hero__toggle {
  appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0 4px; min-height: 24px; cursor: pointer;
  color: inherit; font: inherit; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; text-shadow: inherit;
}
.hero__dots { display: flex; gap: 6px; }
.hero__dots li { display: flex; }
.hero__dot {
  appearance: none; -webkit-appearance: none; border: 0; padding: 0; width: 18px; height: 18px; border-radius: 50%;
  background: currentColor; color: inherit; opacity: 0.5; cursor: pointer; transition: opacity 0.3s ease;
}
.hero__dot:hover { opacity: 0.8; }
.hero__dot[aria-current="true"] { opacity: 1; }
.hero__frame[data-theme="dark"] .hero__dot { box-shadow: rgba(0, 0, 0, 0.35) -1px 1px 4px; }

.section { padding-block: clamp(80px, 11vw, 168px); }
.label { font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem; color: var(--slate); margin: 0; }

.mission__label { grid-column: 1 / 4; padding-top: 14px; border-top: 1px solid var(--navy); align-self: start; }
.mission__lead {
  grid-column: 4 / 13; margin: 0; max-width: 24ch;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3.7vw, 3.4rem);
  line-height: 1.1; letter-spacing: -0.018em;
}
.mission__body { grid-column: 4 / 11; margin: clamp(28px, 3vw, 44px) 0 0; font-size: 1.1875rem; line-height: 1.6; max-width: 62ch; }
.principles { grid-column: 4 / 13; margin-top: clamp(64px, 7vw, 104px); }
.principles__title { font-size: 1.25rem; font-weight: 600; margin-bottom: 24px; }
.principles__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--col-gap); }
.principles__list li { border-top: 1px solid var(--navy); padding-top: 18px; }
.principles__list h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.principles__list p { margin: 0; color: var(--slate); max-width: 46ch; }
/* Nombre impair de principes : le dernier occupe toute la largeur (« Le savoir ouvert »). */
.principles__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.principles__list li:last-child:nth-child(odd) p { max-width: 70ch; }

.fields { background: var(--mist); }
.fields__head { align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.fields__title { grid-column: 1 / 8; font-size: clamp(2.4rem, 5.4vw, 5rem); letter-spacing: -0.025em; line-height: 0.98; }
.fields__intro { grid-column: 9 / 13; margin: 0; color: var(--slate); max-width: 40ch; }
.field { border-top: 1px solid var(--navy); padding-block: clamp(28px, 3.2vw, 44px); row-gap: 16px; }
.field:last-child { border-bottom: 1px solid var(--navy); }
.field__glyph { grid-column: 1 / 2; width: 44px; height: 44px; margin-top: 6px; }
.field__glyph .ring { fill: none; stroke: var(--navy); stroke-width: 5; }
.field__glyph .arc { fill: none; stroke: var(--teal); stroke-width: 8; }
.field__glyph .dot { fill: var(--teal); }
.field__name { grid-column: 2 / 6; font-size: clamp(1.75rem, 2.9vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.02; }
.field__what { grid-column: 6 / 10; margin: 0; font-size: 1.125rem; max-width: 36ch; }
.field__now { grid-column: 10 / 13; font-size: 0.9375rem; color: var(--slate); }
.field__now-label { font-family: var(--f-display); font-weight: 600; color: var(--navy); margin: 0 0 6px; font-size: 0.875rem; }
.field__now li + li { margin-top: 6px; }
.field__now a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }

.manifesto { background: var(--teal-light); color: var(--navy); padding-block: clamp(72px, 10vw, 148px) clamp(40px, 5vw, 64px); }
.manifesto__label { grid-column: 1 / 13; margin-bottom: clamp(28px, 4vw, 56px); color: var(--navy); }
.manifesto__stage { grid-column: 1 / 13; min-height: 2.2em; font-size: clamp(2.25rem, 6vw, 6.25rem); }
.manifesto__line {
  margin: 0; max-width: 17ch; font-family: var(--f-display); font-weight: 700;
  font-size: 1em; line-height: 1.02; letter-spacing: -0.026em;
}
.manifesto__line.is-in { animation: rise 640ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(0.28em); } to { opacity: 1; transform: none; } }
.manifesto__foot { grid-column: 1 / 13; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: 16px; border-top: 1px solid var(--navy); position: relative; }
.manifesto__meta { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem; }
.manifesto__meta span { font-weight: 400; margin-left: 14px; }
.manifesto__ctrl { display: flex; gap: 8px; }
.manifesto__ctrl button {
  appearance: none; cursor: pointer; background: transparent; color: var(--navy); border: 1px solid var(--navy);
  min-height: 40px; min-width: 44px; padding: 0 14px; font-family: var(--f-display); font-weight: 600; font-size: 0.8125rem;
}
.manifesto__ctrl button:hover { background: rgba(11, 37, 69, 0.08); }
.manifesto__timer { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--navy); transform-origin: left; transform: scaleX(0); }
.manifesto__timer.is-running { animation: timer var(--dur, 7000ms) linear forwards; }
@keyframes timer { to { transform: scaleX(1); } }

.collab__title { grid-column: 1 / 6; font-size: clamp(2.25rem, 4.2vw, 3.75rem); letter-spacing: -0.022em; line-height: 1; }
.collab__text { grid-column: 7 / 13; margin: 0; font-size: 1.1875rem; line-height: 1.6; max-width: 54ch; }
.collab__ways { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(56px, 6vw, 96px); }
.collab__ways li { border-top: 2px solid var(--navy); padding-top: 22px; display: flex; flex-direction: column; }
.collab__ways h3 { font-size: 1.375rem; margin-bottom: 10px; }
.collab__ways p { color: var(--slate); flex: 1; margin-bottom: 20px; max-width: 40ch; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: var(--white); padding-block: clamp(56px, 7vw, 96px) 32px; }
.site-footer .logo__mark { width: 44px; height: 44px; }
.site-footer .logo__word { font-size: 1.5rem; }
.footer__brand { grid-column: 1 / 6; }
.footer__descriptor { margin: 18px 0 0; color: var(--navy-mute); max-width: 34ch; font-size: 0.9375rem; }
.footer__about { grid-column: 7 / 11; margin: 0; color: var(--white); max-width: 44ch; font-size: 0.9375rem; }
.footer__about p + p { margin-top: 12px; color: var(--navy-mute); }
.footer__links { grid-column: 11 / 13; display: flex; flex-direction: column; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 0.9375rem; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { grid-column: 1 / 13; margin-top: clamp(48px, 6vw, 80px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); color: var(--navy-mute); font-size: 0.8125rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ==========================================================================
   Page de consultation
   ========================================================================== */
.c-hero { padding-block: clamp(64px, 9vw, 136px) clamp(48px, 6vw, 88px); }
.c-hero__title { grid-column: 1 / 13; font-size: clamp(2.6rem, 6.8vw, 7rem); letter-spacing: -0.03em; line-height: 0.96; }
.c-hero__title span { display: block; }
.c-hero__title span + span { font-weight: 400; }
.c-hero__sub { grid-column: 1 / 9; margin: clamp(28px, 3vw, 44px) 0 0; font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.5; max-width: 46ch; color: var(--navy); }
.c-hero__progress { grid-column: 9 / 13; align-self: end; display: flex; flex-direction: column; gap: 10px; }
.c-hero__progress p { margin: 0; font-size: 0.9375rem; color: var(--slate); }
.c-hero__progress strong { font-family: var(--f-display); font-weight: 600; color: var(--navy); font-size: 1.0625rem; }
.c-hero__rings { display: flex; gap: 10px; }
.c-hero__rings svg { width: 40px; height: 40px; }

.facts { background: var(--mist); padding-block: clamp(48px, 6vw, 88px); }
.facts__list { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--col-gap); }
.facts__list li { border-top: 1px solid var(--navy); padding-top: 16px; }
.facts__list h2 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.facts__list p { margin: 0; color: var(--navy); font-size: 0.96875rem; }

.neutral { padding-block: clamp(56px, 7vw, 104px) 0; }
.neutral__title { grid-column: 1 / 6; font-size: clamp(1.75rem, 2.8vw, 2.5rem); letter-spacing: -0.02em; }
.neutral__text { grid-column: 7 / 13; margin: 0; font-size: 1.1875rem; line-height: 1.6; max-width: 52ch; }

.modules { padding-block: clamp(64px, 8vw, 120px); }
.modules__title { grid-column: 1 / 13; font-size: 1.25rem; font-weight: 600; margin-bottom: 24px; color: var(--slate); }
.module { grid-column: 1 / 13; border-top: 2px solid var(--navy); padding-block: clamp(32px, 4vw, 56px); row-gap: 20px; }
.module:last-child { border-bottom: 2px solid var(--navy); }
.module__num { grid-column: 1 / 3; font-family: var(--f-display); font-weight: 400; font-size: clamp(5rem, 10vw, 9.5rem); line-height: 0.78; letter-spacing: -0.04em; margin: 0; }
.module__body { grid-column: 3 / 9; }
.module__part { margin: 0 0 8px; font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem; color: var(--teal-ink); }
.module__title { font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -0.015em; line-height: 1.1; max-width: 26ch; }
.module__desc { margin: 16px 0 0; max-width: 56ch; }
.module__aud { margin: 14px 0 0; color: var(--slate); font-size: 0.9375rem; max-width: 56ch; }
.module__aud strong { color: var(--navy); font-weight: 600; }
.module__side { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 18px; }
.module__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 0.9375rem; }
.module__meta dt { color: var(--slate); }
.module__meta dd { margin: 0; font-weight: 500; }
.module__status { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; }
.module__status svg { width: 32px; height: 32px; flex: none; }

.gauge .ring { fill: none; stroke: var(--rule); stroke-width: 6; }
.gauge .arc { fill: none; stroke: var(--teal); stroke-width: 8; stroke-linecap: butt; transition: stroke-dashoffset 700ms var(--ease); }
.gauge .dot { fill: var(--navy); }
.gauge.is-done .ring { stroke: var(--navy); }

.cprivacy { background: var(--navy); color: var(--white); padding-block: clamp(56px, 7vw, 104px); }
.cprivacy__title { grid-column: 1 / 13; font-size: clamp(1.75rem, 2.8vw, 2.5rem); margin-bottom: clamp(32px, 4vw, 56px); }
.cprivacy__list { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--col-gap); }
.cprivacy__list li { border-top: 1px solid rgba(255, 255, 255, 0.4); padding-top: 16px; }
.cprivacy__list h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.cprivacy__list p { margin: 0; color: #D5DEEA; font-size: 0.96875rem; max-width: 42ch; }
.cprivacy__link { grid-column: 1 / 13; margin-top: clamp(32px, 4vw, 48px); }
.cprivacy .link { color: var(--white); text-decoration-color: var(--teal-light); }

/* ==========================================================================
   Politique de confidentialité
   ========================================================================== */
.doc { padding-block: clamp(64px, 8vw, 120px); }
.doc__head { grid-column: 1 / 13; margin-bottom: clamp(48px, 6vw, 80px); }
.doc__title { font-size: clamp(2.6rem, 6vw, 5.5rem); letter-spacing: -0.03em; line-height: 0.96; }
.doc__lead { margin: 24px 0 0; font-size: 1.3125rem; max-width: 44ch; }
.doc__updated { margin: 16px 0 0; color: var(--slate); font-size: 0.9375rem; }
.doc__section { grid-column: 1 / 13; border-top: 1px solid var(--navy); padding-block: 28px 36px; }
.doc__section h2 { grid-column: 1 / 5; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; }
.doc__section div { grid-column: 5 / 12; }
.doc__section p { max-width: 66ch; }
.doc__section p:last-child { margin-bottom: 0; }
.doc__section a { color: var(--teal-ink); }

/* ==========================================================================
   Questionnaire
   ========================================================================== */
.sv-bar { border-bottom: 1px solid var(--rule); background: var(--white); }
.sv-bar__inner { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 14px; }
.sv-bar__part { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem; color: var(--teal-ink); }
.sv-bar__part span { color: var(--navy); font-weight: 500; margin-left: 12px; }
.sv-bar a { font-size: 0.9375rem; color: var(--navy); text-underline-offset: 4px; }

.sv { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 120px); }
.sv__aside { grid-column: 1 / 4; }
.sv__main { grid-column: 4 / 13; min-width: 0; max-width: 900px; padding-left: clamp(0px, 2vw, 32px); }
.sv__aside-inner { position: sticky; top: calc(var(--header-h) + 32px); }
.sv-gauge { display: flex; align-items: center; gap: 20px; }
.sv-gauge svg { width: 120px; height: 120px; flex: none; }
.sv-gauge__pct { font-family: var(--f-display); font-weight: 600; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1; }
.sv-gauge__pct small { display: block; font-family: var(--f-text); font-weight: 400; font-size: 0.8125rem; color: var(--slate); letter-spacing: 0; margin-top: 6px; }
.sv-gauge .ring { fill: none; stroke: var(--rule); stroke-width: 5; }
.sv-gauge .arc { fill: none; stroke: var(--teal); stroke-width: 8; transition: stroke-dashoffset 700ms var(--ease); }
.sv-gauge .dot { fill: var(--navy); }
.sv-steps { margin-top: 32px; border-top: 1px solid var(--navy); }
.sv-steps li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; color: var(--slate); }
.sv-steps li .n { font-family: var(--f-display); font-weight: 600; min-width: 1.4em; }
.sv-steps li.is-current { color: var(--navy); font-weight: 600; }
.sv-steps li.is-current .n { color: var(--teal-ink); }
.sv-steps li.is-done { color: var(--navy); }
.sv-mobile { display: none; }

.sv-title { font-size: clamp(2rem, 3.6vw, 3.25rem); letter-spacing: -0.024em; line-height: 1.02; margin-bottom: 20px; }
.sv-title:focus { outline: none; }
.sv-kicker { margin: 0 0 14px; font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem; color: var(--teal-ink); }
.sv-intro { font-size: 1.125rem; max-width: 60ch; }
.sv-context { margin: 32px 0; padding: 24px 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--rule); }
.sv-context p { max-width: 62ch; }
.sv-context p:last-child { margin-bottom: 0; }
.sv-source { color: var(--slate); font-size: 0.875rem; }
.sv-hypo { margin: 32px 0; background: var(--mist); padding: 24px 28px; }
.sv-hypo h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; }
.sv-hypo p { margin: 0; max-width: 60ch; }
.sv-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; margin: 32px 0; font-size: 1rem; }
.sv-facts dt { font-family: var(--f-display); font-weight: 600; }
.sv-facts dd { margin: 0; }
.sv-facts dd small { display: block; color: var(--slate); font-size: 0.875rem; margin-top: 2px; }
.sv-note { color: var(--slate); font-size: 0.9375rem; max-width: 60ch; }
.sv-note a { color: var(--teal-ink); }
.sv-notice { margin: 24px 0; padding: 16px 20px; border: 1px solid var(--navy); font-size: 0.9375rem; }
.sv-sent { border-color: var(--teal-ink); }
.sv-start { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.sv-section-intro { color: var(--slate); max-width: 60ch; margin-bottom: 36px; }

.q { border: 0; padding: 0; margin: 0 0 clamp(44px, 5vw, 64px); min-width: 0; }
.q__label { float: left; width: 100%; padding: 0; margin: 0 0 6px; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.32; letter-spacing: -0.005em; }
.q__label + * { clear: both; }
.q__meta { margin: 0 0 6px; font-size: 0.8125rem; color: var(--slate); }
.q__help { margin: 0 0 14px; font-size: 0.9375rem; color: var(--slate); max-width: 62ch; }
.q__error { margin: 8px 0 12px; color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.q.has-error .q__label { color: var(--error); }
.q.has-error .opts, .q.has-error .mx { box-shadow: -14px 0 0 -11px var(--error); }

.opts { margin-top: 12px; border-top: 1px solid var(--rule); }
.opt { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 13px 12px; border-bottom: 1px solid var(--rule); cursor: pointer; }
.opt:hover { background: var(--mist); }
.opt__text { padding-top: 1px; }
.opt__other { grid-column: 2; margin-top: 8px; }

input[type="radio"], input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; margin: 1px 0 0; flex: none;
  width: 22px; height: 22px; border: 2px solid var(--navy); background: var(--white); cursor: pointer;
  display: inline-grid; place-content: center;
}
input[type="radio"] { border-radius: 50%; }
input[type="radio"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform 140ms ease-out; }
input[type="radio"]:checked { border-color: var(--navy); }
input[type="radio"]:checked::after { transform: scale(1); }
input[type="checkbox"]::after { content: ""; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -2px; transition: transform 140ms ease-out; }
input[type="checkbox"]:checked { background: var(--navy); }
input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
input[type="checkbox"]:disabled, input[type="radio"]:disabled { opacity: 0.35; cursor: not-allowed; }
.opt.is-disabled { cursor: not-allowed; color: var(--slate); }
.opt.is-disabled:hover { background: transparent; }

.field-text, .field-area {
  width: 100%; font: inherit; color: var(--navy); background: var(--white);
  border: 1px solid var(--navy); border-radius: 0; padding: 12px 14px; min-height: 48px;
}
.field-area { min-height: 160px; resize: vertical; line-height: 1.5; }
.field-text:focus, .field-area:focus { outline: 3px solid var(--teal-ink); outline-offset: 1px; }
.field-count { margin: 6px 0 0; font-size: 0.8125rem; color: var(--slate); text-align: right; }

/* Grille de réponses (matrice) */
.mx { margin-top: 14px; --cw: 70px; }
.mx__head, .mx__row { display: grid; align-items: center; }
.mx__head { position: sticky; top: var(--header-h); z-index: 3; background: var(--white); border-bottom: 1px solid var(--navy); padding-bottom: 10px; align-items: end; }
.mx__head span { font-size: 0.75rem; line-height: 1.25; text-align: center; color: var(--slate); padding: 0 3px; hyphens: auto; }
.mx__head span.is-extra { color: var(--slate); }
.mx__head .gap, .mx__row .gap { border-left: 1px solid var(--rule); height: 100%; justify-self: center; }
.mx__row { border-bottom: 1px solid var(--rule); min-height: 60px; }
.mx__row:hover { background: var(--mist); }
.mx__rowlabel { padding: 12px 16px 12px 0; font-size: 0.96875rem; line-height: 1.4; }
.mx__rowlabel small { display: block; color: var(--slate); font-size: 0.84375rem; margin-top: 3px; }
.mx__cell { display: grid; place-items: center; min-height: 52px; cursor: pointer; }
.mx__cell .mx__celltext { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mx__row.is-missing .mx__rowlabel { color: var(--error); font-weight: 600; }

/* Classement */
.rank { margin-top: 12px; border-top: 1px solid var(--rule); }
.rank__opt {
  appearance: none; width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
  text-align: left; padding: 12px 12px; background: var(--white); border: 0; border-bottom: 1px solid var(--rule); cursor: pointer;
  font: inherit; color: var(--navy);
}
.rank__opt:hover { background: var(--mist); }
.rank__badge { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--navy); font-family: var(--f-display); font-weight: 700; font-size: 0.9375rem; }
.rank__opt[aria-pressed="true"] .rank__badge { background: var(--navy); color: var(--white); }
.rank__opt[aria-pressed="true"] { font-weight: 600; }
.rank__hint { font-size: 0.8125rem; color: var(--slate); }
.rank__opt[aria-disabled="true"] { color: var(--slate); cursor: not-allowed; }
.rank__other { padding: 0 12px 12px 60px; border-bottom: 1px solid var(--rule); }

.sv-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--navy); flex-wrap: wrap; }
.sv-actions__right { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.sv-saved { font-size: 0.8125rem; color: var(--slate); }
.sv-utility { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 0.875rem; color: var(--slate); }
.sv-utility .textbtn { font-size: 0.875rem; font-weight: 500; color: var(--slate); padding: 4px 0; }

.err-summary { margin: 0 0 40px; padding: 20px 24px; border: 2px solid var(--error); }
.err-summary:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.err-summary h3 { font-size: 1.0625rem; font-weight: 600; color: var(--error); margin-bottom: 10px; }
.err-summary li + li { margin-top: 4px; }
.err-summary a { color: var(--error); }

.review-sec { border-top: 1px solid var(--navy); padding: 24px 0 32px; }
.review-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.review-sec h3 { font-size: 1.25rem; font-weight: 600; }
.review dl { margin: 0; }
.review dt { font-size: 0.9375rem; color: var(--slate); margin-top: 16px; max-width: 62ch; }
.review dd { margin: 4px 0 0; font-weight: 500; }
.review dd ul li { display: flex; gap: 8px; font-weight: 400; }
.review dd ul li b { font-weight: 500; }
.review .is-empty { color: var(--slate); font-weight: 400; font-style: italic; }
.sv-submit { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--navy); }
.sv-submit p { color: var(--slate); font-size: 0.9375rem; max-width: 60ch; }
.sv-alert { margin: 20px 0; padding: 16px 20px; border: 2px solid var(--error); color: var(--navy); }
.sv-alert strong { color: var(--error); }

.thanks__title { font-size: clamp(2.25rem, 4.4vw, 4rem); letter-spacing: -0.026em; line-height: 1; max-width: 16ch; margin-bottom: 24px; }
.thanks__label { margin-top: 48px; }
.thanks__others { margin-top: 16px; border-top: 1px solid var(--navy); }
.thanks__others li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }

dialog.confirm { border: 2px solid var(--navy); padding: 28px; max-width: 480px; color: var(--navy); }
dialog.confirm::backdrop { background: rgba(11, 37, 69, 0.55); }
dialog.confirm h2 { font-size: 1.375rem; margin-bottom: 12px; }
dialog.confirm label { display: flex; gap: 10px; align-items: center; margin: 16px 0 24px; }
dialog.confirm .row { display: flex; justify-content: flex-end; gap: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: var(--white); padding: 12px 20px; font-size: 0.9375rem; z-index: 80; }

.noscript { padding: 48px var(--gutter); font-size: 1.125rem; }

/* ==========================================================================
   Adaptations
   ========================================================================== */
@media (max-width: 1080px) {
  .field__glyph { grid-column: 1 / 2; }
  .field__name { grid-column: 2 / 7; }
  .field__what { grid-column: 7 / 13; }
  .field__now { grid-column: 7 / 13; }
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module__num { grid-column: 1 / 3; }
  .module__body { grid-column: 3 / 13; }
  .module__side { grid-column: 3 / 13; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .mx { --cw: 64px; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .logo__word { font-size: 1.0625rem; }
  .logo__mark { width: 28px; height: 28px; }
  .site-nav__links a { font-size: 0.875rem; }
  .mission__label, .mission__lead, .mission__body, .principles,
  .fields__title, .fields__intro, .collab__title, .collab__text,
  .footer__brand, .footer__about, .footer__links,
  .neutral__title, .neutral__text, .c-hero__sub, .c-hero__progress { grid-column: 1 / 13; }
  .mission__label { margin-bottom: 24px; }
  .fields__intro, .collab__text, .neutral__text { margin-top: 20px; }
  .c-hero__progress { margin-top: 32px; }
  .footer__about, .footer__links { margin-top: 32px; }
  .principles__list, .collab__ways, .cprivacy__list { grid-template-columns: 1fr; }
  .field__glyph { grid-column: 1 / 13; }
  .field__name, .field__what, .field__now { grid-column: 1 / 13; }
  .module__num { grid-column: 1 / 13; font-size: 5rem; }
  .module__body, .module__side { grid-column: 1 / 13; }
  .doc__section h2, .doc__section div { grid-column: 1 / 13; }

  .sv__aside { display: none; }
  .sv__main { grid-column: 1 / 13; }
  .sv-mobile { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
  .sv-mobile svg { width: 44px; height: 44px; flex: none; }
  .sv-mobile p { margin: 0; font-size: 0.875rem; color: var(--slate); line-height: 1.35; }
  .sv-mobile strong { display: block; color: var(--navy); font-family: var(--f-display); font-weight: 600; font-size: 0.9375rem; }
}

@media (max-width: 720px) {
  .mx__head { display: none; }
  .mx__row { display: block; padding: 14px 0 6px; }
  .mx__row:hover { background: transparent; }
  .mx__rowlabel { padding: 0 0 8px; font-weight: 600; }
  .mx__row .gap { display: none; }
  .mx__cell { display: grid; grid-template-columns: 24px 1fr; gap: 12px; place-items: center start; min-height: 44px; padding: 6px 4px; border-top: 1px solid var(--rule); }
  .mx__cell:hover { background: var(--mist); }
  .mx__cell .mx__celltext { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: 0.9375rem; }
  .mx__cell.is-extra { color: var(--slate); }
  .site-nav { gap: 12px; }
  .site-nav__links { gap: 14px; }
  .facts__list { grid-template-columns: 1fr; }
  .sv-actions { flex-direction: column-reverse; align-items: stretch; }
  .sv-actions__right { margin-left: 0; flex-direction: column-reverse; align-items: stretch; }
  .sv-actions .btn { width: 100%; }
  .sv-facts { grid-template-columns: 1fr; gap: 2px; }
  .sv-facts dd { margin-bottom: 12px; }
  .manifesto__foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  html[data-page="home"] .site-header__inner { padding-inline: 16px; }
  /* Héros : fenêtres de 28 px, et la phrase sur deux lignes, une par groupe insécable. */
  .hero { --row: 28px; --hero-gutter: 16px; }
  .hero__frame { aspect-ratio: 3 / 4; min-height: 0; max-height: calc(100svh - var(--header-h) - 24px); }
  .pill { top: var(--pill-top, 42%); }
  .pill__row { flex-direction: column; height: auto; padding: 8px; }
  .pill__grp + .pill__grp { margin-left: 0; }
  .pill__panel { padding: 12px 12px 14px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__controls { order: -1; width: 100%; justify-content: space-between; }
  .hero__caption { font-size: 0.875rem; line-height: 1.29; }
  .hero__dots { gap: 4px; }
  .hero__dot { width: 16px; height: 16px; margin: 2px; }
}

@media (max-width: 420px) {
  .logo__word { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .manifesto__timer { display: none; }
  .hero__slide.is-zoom .hero__poster { animation: none; }
}

@media print {
  .site-header, .site-footer, .sv__aside, .sv-actions, .sv-utility, .hero__slides, .hero__foot, .hero-backdrop { display: none !important; }
  body { color: #000; }
}
