/* ============================================================
   GUICHET 9 — refonte.css
   Styles ajoutés par la refonte « clarté + commercial » :
   triptyque post-hero, fiche jeu, procès-verbal, dos des cartes
   Personnage (force / faiblesse / citation), objectif 500 boîtes,
   annexe éditeurs & distributeurs, réseaux sociaux, micro-tampons,
   scène Three.js du hero.
   ============================================================ */

/* ---------- LE DOSSIER EN 3 LIGNES (post-hero) ---------- */
.brief { padding-block: clamp(36px, 5vw, 64px); }
.brief__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.brief__card {
  position: relative;
  border: 1.5px solid var(--panel-line);
  background: var(--panel);
  padding: clamp(20px, 2.4vw, 30px);
  padding-top: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
}
.brief__card--danger { border-color: color-mix(in srgb, var(--red) 45%, var(--panel-line)); }
.brief__k {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
}
.brief__card p { font-size: clamp(16px, 1.9vw, 19px); line-height: 1.4; color: var(--ink); text-wrap: pretty; margin: 0; }
.brief__card p b { color: var(--ink); }
.brief__card--danger p b { color: var(--red); }
.brief__stamp {
  position: absolute; top: 12px; inset-inline-end: 14px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); border: 1.5px solid currentColor; border-radius: 3px;
  padding: 3px 8px; transform: rotate(6deg); opacity: .65;
}
.brief__stamp--ok { color: var(--red); }
.brief__stamp--no { color: var(--red-deep, var(--red)); opacity: .8; }
@media (max-width: 820px) {
  .brief__grid { grid-template-columns: 1fr; }
}

/* ---------- FICHE JEU (section 01) ---------- */
.fiche {
  border: 1.5px solid var(--panel-line);
  background: var(--panel);
  padding: clamp(18px, 2.2vw, 26px);
  align-self: start;
}
.fiche__code {
  display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); padding-bottom: 12px; margin-bottom: 6px;
  border-bottom: 1.5px solid var(--panel-line);
}
.fiche__rows { display: grid; margin: 0; }
.fiche__row {
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline;
  padding-block: 9px; border-bottom: 1px dashed var(--panel-line-2);
}
.fiche__row:last-child { border-bottom: none; }
.fiche__row dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-mute);
}
.fiche__row dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.35; }

/* ---------- PROCÈS-VERBAL (storytelling, section 04) ---------- */
.story {
  position: relative; margin: 0 0 clamp(28px, 4vw, 44px);
  border: 1.5px solid var(--panel-line); background: var(--panel);
  border-inline-start: 4px solid var(--ink);
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px);
  max-width: 760px;
}
.story p {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 2.4vw, 26px); line-height: 1.25;
  color: var(--ink); margin: 0 0 6px; text-wrap: balance;
}
.story .story__last { color: var(--red); margin-bottom: 0; }
.story__ref {
  position: absolute; top: 14px; inset-inline-end: 16px;
  font-size: 9.5px; letter-spacing: .14em; color: var(--ink-mute); opacity: .7;
}
@media (max-width: 560px) { .story__ref { display: none; } }

/* ---------- DOS DES CARTES PERSONNAGE ---------- */
/* Open: la carte grandit pour contenir tout le dossier au lieu de le rogner.
   Le recto reste en aspect portrait ; une fois ouvert, le verso pilote la hauteur. */
.ccard.open .ccard__flip { aspect-ratio: auto; height: auto; }
.ccard.open .ccard__back { position: relative; }
.ccard.open .ccard__front { /* reste en absolu, masqué */ }
.ccard__back { justify-content: flex-start; gap: 14px; overflow: auto; }
.ccard.open .ccard__back { overflow: visible; }
.ccard__back-head h3 { font-size: clamp(22px, 2.6vw, 30px); }
.ccard__back-mid { display: flex; flex-direction: column; }
.ccard__traits { display: grid; gap: 12px; }
.ccard__trait { display: grid; grid-template-columns: 4.8em 1fr; gap: 8px; align-items: baseline; }
.ccard__trait b {
  font-family: var(--mono); font-weight: 600; font-size: 9.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.ccard__trait--weak b { color: var(--ink-mute); }
.ccard__trait span { font-size: clamp(13px, 1.5vw, 14.5px); line-height: 1.4; color: var(--ink-soft); }
.ccard__quote {
  margin: 0 0 12px; padding: 0 0 14px;
  border-bottom: 1px solid var(--panel-line-2);
  font-style: italic; font-weight: 500; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.3;
  color: var(--red);
}
.ccard__back .ccard__back-foot { margin-top: 0; padding-top: 14px; border-top: 1px solid var(--panel-line-2); }

/* ---------- OBJECTIF : 500 BOÎTES (section réservation) ---------- */
.goal { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.goal__big {
  font-family: var(--display); font-weight: 700; line-height: .85;
  font-size: clamp(56px, 7vw, 84px); color: var(--red);
  font-variant-numeric: tabular-nums;
}
.goal__lbl {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); line-height: 1.5;
}
.goal__lbl b { color: var(--ink); font-weight: 700; }
.goal__note { font-size: 11.5px; color: var(--ink-mute); margin-bottom: 26px; }

/* ---------- ANNEXE PRO — ÉDITEURS & DISTRIBUTEURS ---------- */
.prosec { background: var(--paper-2); border-block: 1.5px solid var(--panel-line-2); }
.pro__grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(26px, 4vw, 56px); align-items: start;
}
.pro__pitch p {
  font-size: clamp(16px, 1.9vw, 19px); line-height: 1.55; color: var(--ink-soft);
  max-width: 34em; text-wrap: pretty; margin: 0 0 22px;
}
.pro__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pro__status {
  margin: 0; border: 1.5px solid var(--panel-line); background: var(--panel);
  padding: clamp(18px, 2.2vw, 26px);
}
.pro__status-code {
  display: block; font-size: 10px; letter-spacing: .16em;
  color: var(--red); padding-bottom: 12px; margin-bottom: 6px;
  border-bottom: 1.5px solid var(--panel-line);
}
.pro__row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding-block: 10px; border-bottom: 1px dashed var(--panel-line-2);
}
.pro__row:last-child { border-bottom: none; }
.pro__row dt { font-size: 14px; color: var(--ink); }
.pro__row dd { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); }
.stamp--wait { color: var(--ink-mute); border-color: currentColor; }

/* ---------- PARTNER FORM ---------- */
.pro__form { position: relative; margin-top: clamp(22px, 3vw, 30px); }
.pro__form .formcode { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--ink-faint); margin-bottom: 14px; }
.pro__form .field { margin-bottom: 14px; }
.pro__form textarea {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--panel-line-2); border-radius: 4px;
  padding: 11px 13px; transition: border-color .2s var(--ease); resize: vertical; min-height: 96px;
}
.pro__form textarea:focus { outline: none; border-color: var(--red); }
.pro__form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.pro__thanks { margin-top: clamp(22px, 3vw, 30px); }
.pro__thanks .big-stamp {
  display: inline-flex; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 3vw, 28px); letter-spacing: .04em; color: var(--red);
  border: 3px solid var(--red); padding: 9px 20px; border-radius: 6px; transform: rotate(-2deg); margin-bottom: 16px;
}
.pro__thanks h4 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 2.2vw, 24px); margin-bottom: 10px; }
.pro__thanks p { color: var(--ink-soft); }

@media (max-width: 880px) { .pro__grid { grid-template-columns: 1fr; } }

/* ---------- FOOTER — réseaux sociaux (emplacements préparés) ---------- */
.footer__social { display: flex; align-items: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer__social-lbl {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244,231,212,.5); margin-inline-end: 4px;
}
.soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid rgba(244,231,212,.3); border-radius: 3px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: rgba(244,231,212,.65); cursor: default; user-select: none;
}

/* ---------- MICRO-TAMPON « EN ATTENTE » au survol des CTA ---------- */
.btn--primary { position: relative; }
.btn--primary::after {
  content: "En attente";
  position: absolute; top: -13px; inset-inline-end: -12px;
  font-family: var(--mono); font-size: 8.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); background: var(--paper);
  border: 1.5px solid var(--red); border-radius: 3px;
  padding: 3px 7px; pointer-events: none;
  opacity: 0; transform: rotate(10deg) scale(.7);
  transition: opacity .18s var(--ease), transform .22s var(--ease);
}
.btn--primary:hover::after { opacity: 1; transform: rotate(-5deg) scale(1); }
.btn--block.btn--primary::after { inset-inline-end: 10px; }
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .btn--primary::after { display: none; }
}
body.no-anim .btn--primary::after { display: none; }

/* ---------- TAMPON DISCRET sur l'édition Collector ---------- */
.edition--soon { position: relative; overflow: hidden; }
.edition--soon::after {
  content: "Pièce manquante";
  position: absolute; bottom: 12px; inset-inline-end: 14px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); border: 1.5px solid currentColor; border-radius: 3px;
  padding: 3px 8px; transform: rotate(-5deg); opacity: .45; pointer-events: none;
}

/* ---------- SATURATION — animation plus courte ---------- */
.satscroll { height: 230vh; }
@media (max-width: 880px) { .satscroll { height: 210vh; } }

/* ---------- HERO 3D (Three.js) ---------- */
.doc--bare { position: relative; }
.hero3d {
  position: absolute; inset: 0; z-index: 1; opacity: 0;
}
.hero3d canvas { display: block; width: 100%; height: 100%; }
.doc--bare.is-3d img { opacity: 0; transition: opacity .4s var(--ease); }
.doc--bare.is-3d .doc__stamp--hero { z-index: 2; }

/* ============================================================
   JAUGE GLOBALE 0→9 — Modèle A (cadran / tampon)
   Discrète, verticale, à droite. Monte avec le défilement.
   ============================================================ */
.ggauge {
  position: fixed; inset-inline-end: 16px; inset-block-start: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  z-index: 60; pointer-events: none; user-select: none;
  opacity: 0; transition: opacity .55s var(--ease);
}
.ggauge.is-visible { opacity: .5; }
.ggauge.is-crit { opacity: .82; }
.ggauge__cap {
  font-family: var(--mono); font-size: 8px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute);
}
.ggauge__num {
  font-family: var(--mono); font-weight: 700; font-size: 21px; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
  transition: color .35s var(--ease);
}
.ggauge.is-crit .ggauge__num { color: var(--red); }
.ggauge__den { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--ink-mute); }
.ggauge__rail {
  display: flex; flex-direction: column-reverse; gap: 5px;
  padding: 9px 6px; border-inline-start: 1.5px solid var(--panel-line-2);
}
.gtick {
  display: block; width: 15px; height: 3px; border-radius: 1px;
  background: var(--ink-mute); opacity: .28;
  transition: opacity .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease), width .3s var(--ease);
}
.gtick.on { opacity: .85; background: var(--ink); }
.gtick.crit { background: var(--ink-mute); }
.gtick.crit.on { background: var(--red); opacity: .9; }
.gtick.active { transform: scaleX(1.55); transform-origin: inline-start; }
@media (prefers-reduced-motion: no-preference) {
  .gtick.active.on { animation: gtick-pulse 1.6s var(--ease) infinite; }
}
@keyframes gtick-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--red) 50%, transparent); }
  50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 0%, transparent); }
}
/* le cartouche tamponné « Le Système se ferme. » apparaît à 9 */
.ggauge__stamp {
  position: absolute; inset-inline-end: 34px; inset-block-start: 50%;
  width: max-content; max-width: 42vw;
  font-family: var(--display, var(--mono)); font-weight: 700; text-transform: uppercase;
  font-size: 12.5px; letter-spacing: .04em; line-height: 1.05; text-align: center;
  color: var(--red); background: var(--paper);
  border: 2.5px solid var(--red); border-radius: 5px; padding: 7px 12px;
  opacity: 0; transform: translateY(-50%) rotate(8deg) scale(.6);
  transition: opacity .3s var(--ease), transform .42s cubic-bezier(.2,1.3,.35,1);
  pointer-events: none;
}
.ggauge.is-closing .ggauge__stamp {
  opacity: .96; transform: translateY(-50%) rotate(-4deg) scale(1);
}
.ggauge.is-closing .ggauge__rail { border-inline-start-color: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .ggauge.is-flash .ggauge__rail { animation: ggauge-flash .5s var(--ease) 1; }
}
@keyframes ggauge-flash {
  0% { background: color-mix(in srgb, var(--red) 30%, transparent); }
  100% { background: transparent; }
}
/* discret : masquée sur petits écrans pour ne pas encombrer */
@media (max-width: 820px) { .ggauge { display: none; } }
body.no-anim .gtick.active.on { animation: none; }

/* ============================================================
   ALLÉGER L'INTENSITÉ DÉCORATIVE (rien n'est retiré, juste adouci)
   ============================================================ */
body::before { opacity: .6; }                    /* grain papier plus discret */
[data-theme="dark"] body::before { opacity: .42; }
.ccard__hint { animation-duration: 3.4s; }        /* indice « cliquez » moins insistant */
.ccard__hint-dot { animation-duration: 2s; }
.readbar { opacity: .72; }

/* ============================================================
   AJOUTS — itération « clarté commerciale » (juin 2026)
   En 10 secondes · onglet Procédure · confiance formulaire
   ============================================================ */

/* ---------- LE JEU EN 10 SECONDES (remplace le triptyque) ---------- */
.pitch10 { padding-block: clamp(40px, 6vw, 78px); }
.pitch10__card {
  position: relative;
  border: 1.5px solid var(--panel-line);
  border-inline-start: 4px solid var(--red);
  background: var(--panel);
  padding: clamp(28px, 4vw, 50px) clamp(24px, 4.5vw, 62px);
  max-width: 940px; margin-inline: auto;
}
.pitch10__kicker {
  display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.pitch10__kicker::before { content: "// "; }
.pitch10__lead {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(21px, 3vw, 33px); line-height: 1.3;
  color: var(--ink); margin: 0; text-wrap: pretty;
}
.pitch10__lead b { color: var(--ink); }
.pitch10__lead b.red { color: var(--red); }
.pitch10__ref {
  position: absolute; top: 16px; inset-inline-end: 18px;
  font-size: 9.5px; letter-spacing: .14em; color: var(--ink-mute); opacity: .7;
}
@media (max-width: 560px) { .pitch10__ref { display: none; } }

/* ---------- ONGLET « LA PROCÉDURE » (page indépendante) ---------- */
.nav .nav__tab {
  border: 1.5px solid var(--panel-line-2);
  border-bottom: 2.5px solid var(--red);
  border-radius: 5px 5px 2px 2px;
  padding: 5px 12px; color: var(--ink); background: var(--panel);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav .nav__tab::after { display: none; }
.nav .nav__tab:hover { border-color: var(--red); background: color-mix(in srgb, var(--red) 7%, var(--panel)); }

/* ---------- CONFIANCE + CONFIDENTIALITÉ (formulaire réservation) ---------- */
.po-trust {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--ink); font-weight: 600;
  margin: -2px 0 16px; line-height: 1.35;
}
.po-trust__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; flex: none;
  border: 1.5px solid var(--red); border-radius: 50%;
  color: var(--red); font-size: 11px; font-weight: 700;
}
.po-privacy { margin-top: 6px; }
.po-privacy a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.po-privacy a:hover { color: var(--red); }

/* ---------- PAGE INDÉPENDANTE « LA PROCÉDURE » ---------- */
.procedure-page { padding-top: clamp(100px, 12vw, 142px); }
.proc-breadcrumb {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 clamp(20px, 3vw, 30px);
  text-align: center;
}
.proc-breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.proc-breadcrumb a:hover { color: var(--red); }
.proc-breadcrumb span { margin-inline: 8px; opacity: .6; }
.proc-foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  max-width: 760px; margin: clamp(44px, 6vw, 72px) auto 0;
  padding-top: clamp(28px, 4vw, 40px); border-top: 1.5px dashed var(--panel-line-2);
}

/* ============================================================
   ITÉRATION juin 2026 — barre du haut épurée, réseaux sociaux,
   alignement des CTA, espacements resserrés, sections centrées.
   ============================================================ */

/* ---------- BARRE DU HAUT : réseaux sociaux (emplacements) ---------- */
.topsocial { display: flex; align-items: center; gap: 6px; }
.soc-top {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid var(--panel-line-2); border-radius: 7px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .03em;
  color: var(--ink-soft); text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.soc-top:hover { background: var(--stamp-ghost); color: var(--ink); border-color: var(--panel-line); transform: translateY(-1px); }
.soc-top:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (max-width: 760px) {
  .topsocial { gap: 5px; }
  .soc-top { width: 31px; height: 31px; font-size: 10.5px; }
}
@media (max-width: 360px) {
  .soc-top { width: 28px; height: 28px; }
}

/* ---------- TITRE HERO : seuls « Coopérez » et « Trahissez » en rouge ---------- */
.hero h1 .hero__t2 { display: block; color: var(--ink); }
.hero h1 .hero__t2 .rd { color: var(--red); }

/* ---------- HERO : trois boutons alignés ---------- */
.hero__cta { gap: 12px; }
@media (min-width: 761px) {
  .hero__cta { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; }
  .hero__cta .btn { width: 100%; max-width: 360px; justify-content: center; }
}
@media (max-width: 760px) {
  .hero__cta { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- ESPACEMENTS RESSERRÉS ---------- */
.hero { padding-block: clamp(88px, 11vw, 128px) clamp(40px, 5.5vw, 68px); }
.pitch10 { padding-block: clamp(34px, 4.5vw, 56px) clamp(18px, 2.4vw, 28px); }
#promise { padding-top: clamp(26px, 3.6vw, 44px); }

/* ---------- MATÉRIEL : tableau « nombre de cartes » ajusté + centré ---------- */
.manifest { margin-top: clamp(22px, 3vw, 34px); }
@media (min-width: 761px) {
  .manifest { max-width: 600px; margin-inline: auto; }
}

/* ---------- RÉSERVATION : édition unique, espace optimisé ---------- */
#editions { margin-top: 22px !important; }
.editions .edition.sel { max-width: 480px; }

/* ---------- ANNEXE PRO : centré, façon « Section 10 » ---------- */
.prosec .pro__grid--solo {
  grid-template-columns: 1fr; max-width: 760px; margin-inline: auto;
}
.pro__grid--solo .pro__pitch p {
  margin-inline: auto; text-align: center; max-width: 40em;
}
.pro__grid--solo .pro__form,
.pro__grid--solo .pro__thanks {
  max-width: 680px; margin-inline: auto;
  background: var(--panel); border: 1.5px solid var(--panel-line);
  border-radius: 8px; padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 16px 34px -22px rgba(0,0,0,.4);
}
.pro__grid--solo .pro__form .formcode {
  position: absolute; inset-block-start: 14px; inset-inline-end: 16px; margin-bottom: 0;
}
.pro__grid--solo .pro__form-actions { justify-content: center; }
.pro__grid--solo .pro__thanks { text-align: center; }

/* ============================================================
   ITÉRATION juin 2026 (suite) — logos de marque officiels,
   hero (objectif + réassurance), navigation par sections,
   mini-simulation à conséquences.
   ============================================================ */

/* ---------- LOGOS DE MARQUE OFFICIELS (charte conservée) ---------- */
.soc-top svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.soc svg { width: 15px; height: 15px; fill: currentColor; display: block; }
@media (max-width: 760px) { .soc-top svg { width: 15px; height: 15px; } }

/* ---------- HERO : objectif + micro-réassurance ---------- */
.hero__obj {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(17px, 2.2vw, 23px); line-height: 1.34;
  color: var(--ink); margin: 12px 0 0; max-width: 26em; text-wrap: pretty;
}
.hero__obj b { font-weight: 700; color: var(--ink); }
.hero__obj b.rd { color: var(--red); }
.hero__reassure {
  font-family: var(--mono); font-size: 11.5px; line-height: 1.55;
  letter-spacing: .015em; color: var(--ink-mute);
  margin: 14px 0 0; max-width: 30em;
}
.hero__reassure::before { content: "✓ "; color: var(--red); font-weight: 700; }

/* on retire le tampon décoratif « En attente » au survol des CTA
   (remplacé par de vrais statuts UX dans la simulation) */
.btn--primary::after { content: none !important; display: none !important; }

/* ---------- NAVIGATION PAR SECTIONS ---------- */
@media (min-width: 1025px) {
  .nav { gap: 16px; }
  .nav a { font-size: 11px; letter-spacing: .05em; }
  .nav .nav__tab { padding: 5px 11px; }
}
/* drawer plein écran dès 1024px pour absorber les 8 liens */
@media (max-width: 1024px) {
  .topbar .nav { display: none; }
  .topbar .menu-toggle { display: flex; }
  #nav.open {
    display: flex; position: fixed; inset: 0; z-index: 58;
    flex-direction: column; justify-content: center; gap: 2px;
    background: var(--paper); padding: 100px var(--gutter) 48px;
    overflow-y: auto;
  }
  #nav.open a {
    font-family: var(--display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(23px, 5.4vw, 32px); letter-spacing: .01em; color: var(--ink);
    padding: 13px 2px; border-bottom: 1px solid var(--panel-line-2);
  }
  #nav.open a::after { display: none; }
  #nav.open .nav__tab {
    border: 1px solid var(--panel-line-2); border-bottom: 2.5px solid var(--red);
    border-radius: 5px; padding: 13px 14px; margin-top: 10px;
  }
  #menuToggle[aria-expanded="true"] { position: relative; z-index: 62; }
  #menuToggle[aria-expanded="true"] span { background: transparent; }
  #menuToggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  #menuToggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
}

/* ============================================================
   MINI-SIMULATION À CONSÉQUENCES (Section 07)
   Tableau d'état vivant : Saturation, Contributions, Rival,
   Dossier. Chaque action déclenche un vrai statut UX (tampon).
   ============================================================ */
.sim { position: relative; }
.sim__board {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(10px, 1.6vw, 18px); margin-bottom: clamp(18px, 2.4vw, 26px);
}
.simcell {
  position: relative; border: 1.5px solid var(--panel-line-2);
  background: var(--paper); border-radius: 6px;
  padding: 14px 15px 13px; display: flex; flex-direction: column; gap: 9px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.simcell--sat { grid-column: 1 / -1; }
.simcell__lbl {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-mute);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.simcell__big {
  font-family: var(--display); font-weight: 700; line-height: 1;
  font-size: clamp(26px, 3.4vw, 34px); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.simcell--sat .simcell__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.simcell__big .den { font-size: .5em; color: var(--ink-mute); margin-inline-start: 2px; }
.simcell__zone { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); letter-spacing: .02em; }
.satrow { display: flex; gap: 5px; }
.sattick {
  flex: 1; height: 12px; border-radius: 2px;
  background: var(--stamp-ghost); border: 1px solid var(--panel-line-2);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
}
.sattick.on { background: var(--ink); border-color: var(--ink); }
.sattick.crit { border-color: color-mix(in srgb, var(--red) 50%, var(--panel-line-2)); }
.sattick.crit.on { background: var(--red); border-color: var(--red); }
.sattick.bump { transform: scaleY(1.35); }

.simcell__dossier {
  align-self: flex-start;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1.5px solid var(--ink-mute); color: var(--ink-mute);
  border-radius: 4px; padding: 5px 10px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.simcell__dossier.exposed { color: var(--red); border-color: var(--red); }

/* flash quand une cellule change */
.simcell.flash { border-color: var(--red); background: color-mix(in srgb, var(--red) 7%, var(--paper)); }
@media (prefers-reduced-motion: no-preference) {
  .simcell.flash { animation: simcell-flash .6s var(--ease) 1; }
}
@keyframes simcell-flash {
  0% { background: color-mix(in srgb, var(--red) 18%, var(--paper)); }
  100% { background: var(--paper); }
}

/* delta-tampon qui surgit sur la cellule touchée */
.simdelta {
  position: absolute; top: -12px; inset-inline-end: -8px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); background: var(--paper);
  border: 1.5px solid var(--red); border-radius: 4px; padding: 3px 8px;
  opacity: 0; transform: rotate(8deg) scale(.6); pointer-events: none;
  z-index: 3;
}
.simdelta.show { opacity: 1; transform: rotate(-5deg) scale(1); }
@media (prefers-reduced-motion: no-preference) {
  .simdelta.show { animation: simdelta-pop .42s cubic-bezier(.2,1.3,.35,1) 1; }
}
@keyframes simdelta-pop {
  0% { opacity: 0; transform: rotate(12deg) scale(.4); }
  60% { opacity: 1; transform: rotate(-7deg) scale(1.12); }
  100% { opacity: 1; transform: rotate(-5deg) scale(1); }
}

.sim__verdict-row {
  margin-top: clamp(16px, 2.2vw, 24px);
  border-top: 1.5px dashed var(--panel-line-2); padding-top: 16px;
  display: flex; align-items: flex-start; gap: 14px; min-height: 26px;
}
.sim__verdict-row .sim__vstamp {
  flex: none; font-family: var(--mono); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red);
  border: 1.5px solid var(--red); border-radius: 4px; padding: 4px 9px;
  transform: rotate(-3deg);
}
.sim__verdict-row .sim__vtext {
  font-size: clamp(14px, 1.7vw, 16.5px); line-height: 1.4; color: var(--ink);
  text-wrap: pretty; margin: 2px 0 0;
}
.sim__hint { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin: 2px 0 0; }

/* fin de partie : Saturation 9 */
.sim.is-closed .simcell--sat { border-color: var(--red); }
.sim__closure {
  display: none; margin-top: 16px;
  border: 2.5px solid var(--red); border-radius: 6px;
  padding: 16px 18px; text-align: center;
}
.sim.is-closed .sim__closure { display: block; }
.sim__closure b {
  display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(17px, 2.4vw, 22px); color: var(--red); letter-spacing: .02em;
}
.sim__closure span { font-size: 13.5px; color: var(--ink-soft); }

.sim__reset { margin-top: 16px; }

@media (max-width: 620px) {
  .sim__board { grid-template-columns: 1fr 1fr; }
  .simcell--sat { grid-column: 1 / -1; }
}
