/* =========================================================================
   DESIGN KIT, Page de vente « funnel » YoocanFly
   Système de référence (issu de la page Malorie Salvador), généralisé.

   CE QUI EST FIGÉ : le LANGAGE VISUEL funnel.io (contraste fort, gros titres,
   color blocking sombre/clair, CTA d'accent proéminent, preuve sociale,
   sticky mobile). C'est ça, « ressembler à une page de vente ».

   CE QUI EST LIBRE : la composition, l'ordre et le choix des sections.
   Pioche/assemble librement les composants ci-dessous selon l'offre.

   PAR CLIENT : seul le bloc `:root` change (couleurs + polices), d'après
   `content/brief-design.md`. On ne réécrit pas les composants : on les
   réutilise (et on peut en composer de nouveaux avec les mêmes primitives :
   .section--*, .kicker, h2.title + .hl, .btn--gold, grilles de cartes).
   ========================================================================= */

:root {
  /* ---- COULEURS · Le Dragon du Jeu (d'après content/brief-design.md) ---
     Charte du site et du logo : noir, blanc, rouge vif (#FC0000).
     Color blocking en noir profond / blanc cassé ; le rouge est réservé
     aux CTA, surlignages et chiffres clés (partout, il deviendrait criard).
     ---------------------------------------------------------------------- */
  /* Couleur de marque dominante (sections sombres, texte sur clair) */
  --color-primary:        #151515;   /* quasi-noir du logo */
  --color-primary-dark:   #0a0a0a;   /* footer, overlays, barre de preuves */
  --color-primary-soft:   #222222;   /* cartes sur fond sombre */
  --color-border-dark:    #333333;   /* filets sur fond sombre */

  /* Couleur d'accent de la marque (CTA, surlignages, chiffres clés)
     --color-secondary : rouge du site (#FC0000) foncé de 11 % en #E00000.
     Raison : texte BLANC sur #FC0000 = 4,1:1 et texte noir = 4,47:1, les deux
     sous le seuil AA. Blanc sur #E00000 = 5,0:1 (AA), écart de teinte
     imperceptible. Le texte du bouton passe donc en blanc (surcouche en fin
     de fichier), comme sur le site actuel.
     --color-accent : #FF4545 au lieu du #FF3B30 du brief, pour tenir 4,7:1
     sur les cartes #222222 (le #FF3B30 y plafonne à 4,49:1). 5,4:1 sur #151515. */
  --color-secondary:      #e00000;
  --color-accent:         #ff4545;   /* rouge clair : .hl et chiffres sur fond sombre */
  --color-secondary-deep: #b30000;   /* rouge en TEXTE sur clair : 6,7:1 sur #F7F7F7, 6,2:1 sur #EDEDED */

  /* Fonds clairs & surfaces (blancs neutres, pas de crème : la marque est N/B/R) */
  --color-bg:             #f7f7f7;
  --color-bg-alt:         #ededed;
  --color-surface:        #ffffff;

  /* Textes */
  --color-text:           #151515;
  --color-text-soft:      #4a4a4a;   /* 8,3:1 sur #F7F7F7 */
  --color-text-muted:     #6b6b6b;   /* 5,0:1 sur #F7F7F7, 4,6:1 sur #EDEDED */
  --color-text-light:     #f2f2f2;
  --color-text-light-soft: rgba(255,255,255,.80);

  /* ---- TYPOGRAPHIE · police du site (Google Fonts) --------------------
     Display : Red Hat Display 800/900 (tient les très gros titres serrés).
     Body : Red Hat Text, famille sœur dessinée pour le texte courant.
     Pas de serif : la marque n'en utilise pas. */
  --font-display: 'Red Hat Display', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.5rem, 5.2vw, 4.3rem);   /* Red Hat Display 900 est large : un cran sous le kit pour tenir le CTA au-dessus de la ligne de flottaison */
  --fs-3xl: clamp(2.2rem, 4.6vw, 3.6rem);
  --fs-2xl: clamp(1.7rem, 3vw, 2.4rem);
  --fs-lg: 1.18rem;

  /* ---- INVARIANTS (ne pas modifier d'un client à l'autre) ------------- */
  --max: 1180px;
  --max-text: 760px;
  --pad: clamp(3.5rem, 8vw, 7rem);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-full: 999px;

  --sh-sm: 0 2px 10px rgba(18,24,58,.08);
  --sh-md: 0 12px 34px rgba(18,24,58,.13);
  --sh-lg: 0 28px 70px rgba(11,15,40,.30);
  --t: .28s ease;
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary-deep); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .6rem; font-weight: 800; }
p { margin: 0 0 1rem; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; border-radius: 3px; }

/* =========================================================================
   LAYOUT
   ========================================================================= */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.section { padding: var(--pad) 0; }
.section--cream { background: var(--color-bg); }
.section--alt { background: var(--color-bg-alt); }
.section--navy { background: var(--color-primary); color: var(--color-text-light); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: var(--max-text); margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* =========================================================================
   ÉLÉMENTS TYPO
   ========================================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 800;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-secondary-deep); margin-bottom: 1rem;
}
.section--navy .kicker { color: var(--color-accent); }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; display: inline-block; }
.kicker.center { justify-content: center; }

/* Mot-clé surligné dans les titres */
.hl { color: var(--color-secondary-deep); }
.section--navy .hl, .hero .hl { color: var(--color-accent); }
.mark { background: linear-gradient(180deg, transparent 58%, rgba(203,151,57,.38) 58%); padding: 0 .05em; }

.lead { font-size: var(--fs-lg); color: var(--color-text-soft); }
.section--navy .lead { color: var(--color-text-light-soft); }
.muted { color: var(--color-text-muted); }
.section--navy .muted { color: rgba(255,255,255,.6); }

h2.title { font-size: var(--fs-3xl); max-width: 22ch; letter-spacing: -.01em; }
.center h2.title { margin-left: auto; margin-right: auto; }

/* =========================================================================
   BOUTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 800; font-size: 1.02rem;
  padding: 1.05rem 2.1rem; border-radius: var(--r-full);
  border: 2px solid transparent; cursor: pointer; letter-spacing: .005em;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  text-align: center; line-height: 1.15;
}
/* CTA principal : couleur d'accent de la marque */
.btn--gold { background: var(--color-secondary); color: var(--color-primary); box-shadow: 0 10px 26px rgba(203,151,57,.36); }
.btn--gold:hover { background: var(--color-accent); color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(203,151,57,.46); }
.btn--navy { background: var(--color-primary); color: #fff; }
.btn--navy:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-3px); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--color-primary); }
.btn--lg { padding: 1.2rem 2.6rem; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn .arr { font-size: 1.1em; line-height: 1; transition: transform var(--t); }
.btn:hover .arr { transform: translateX(4px); }

/* Réassurance sous le CTA */
.reassure { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .92rem; font-weight: 600; }
.reassure span { display: inline-flex; align-items: center; gap: .45rem; }
.reassure .tick { width: 1.05em; height: 1.05em; color: var(--color-accent); flex: 0 0 auto; }

.stars { display: inline-flex; gap: 2px; color: var(--color-secondary); }
.stars svg { width: 18px; height: 18px; }

/* =========================================================================
   BANDEAU D'ANNONCE
   ========================================================================= */
.topbar { background: var(--color-primary-dark); color: rgba(255,255,255,.86); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-align: center; padding: .55rem 1rem; }
.topbar b { color: var(--color-accent); font-weight: 800; }
.topbar .sep { color: var(--color-secondary); margin: 0 .55rem; }
@media (max-width: 620px){ .topbar .opt { display:none; } }

/* =========================================================================
   HEADER (sticky, fond sombre pour rester lisible sur le logo)
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--color-primary); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem clamp(1rem, 4vw, 2.2rem); box-shadow: 0 1px 0 var(--color-border-dark); transition: padding var(--t), box-shadow var(--t); }
.site-header.scrolled { box-shadow: var(--sh-md); padding-top: .5rem; padding-bottom: .5rem; }
.brand img { height: 50px; width: auto; transition: height var(--t); }
.scrolled .brand img { height: 42px; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a.nav-link { font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.86); }
.nav a.nav-link:hover { color: var(--color-accent); }
.header-cta { margin-left: .3rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; color: #fff; }
.nav-toggle svg { width: 28px; height: 28px; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; isolation: isolate; color: var(--color-text-light); padding: clamp(3.5rem,7vw,6rem) 0 clamp(3rem,6vw,5rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(102deg, rgba(11,15,40,.96) 0%, rgba(13,17,44,.90) 42%, rgba(18,24,58,.62) 78%, rgba(18,24,58,.40) 100%); }
.hero__inner { max-width: 730px; }
.hero__rating { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; font-weight: 600; font-size: .95rem; }
.hero__rating .stars svg { color: var(--color-accent); fill: var(--color-accent); }
.hero h1 { font-size: var(--fs-hero); font-weight: 900; letter-spacing: -.015em; margin-bottom: 1.3rem; color: #fff; }
.hero__sub { font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: rgba(255,255,255,.9); max-width: 48ch; margin-bottom: 2rem; }
.hero__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero .reassure { color: rgba(255,255,255,.9); }

/* =========================================================================
   BARRE DE PREUVES (stats)
   ========================================================================= */
.trust { background: var(--color-primary-dark); color: #fff; padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { text-align: center; padding: 1.8rem 1.2rem; position: relative; }
.trust-item + .trust-item::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--color-border-dark); }
.trust-item .num { font-family: var(--font-display); font-weight: 900; font-size: 2.3rem; color: var(--color-accent); line-height: 1; display: block; }
.trust-item .lbl { font-size: .86rem; color: rgba(255,255,255,.74); margin-top: .45rem; display: block; line-height: 1.4; }
.trust-item .lbl b { color: #fff; font-weight: 700; }
@media (max-width: 720px){ .trust-grid { grid-template-columns: repeat(2,1fr); } .trust-item:nth-child(odd)::before { display: none; } }

/* =========================================================================
   PROBLÈME, variante A : grille de cartes-symptômes
   ========================================================================= */
.pain-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin: 2.4rem 0 0; }
.pain-card { background: var(--color-surface); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--sh-sm); border-left: 4px solid var(--color-secondary); display: flex; gap: 1rem; align-items: flex-start; }
.pain-card .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(203,151,57,.14); color: var(--color-secondary-deep); }
.pain-card .ic svg { width: 26px; height: 26px; }
.pain-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.12rem; margin: .1rem 0 .3rem; color: var(--color-primary); }
.pain-card p { margin: 0; color: var(--color-text-soft); font-size: .98rem; }

/* PROBLÈME, variante B : récit dramatisé (miroir avatar) */
.mirror { max-width: 720px; margin: 2.6rem auto 0; }
.mirror p { font-size: 1.16rem; color: var(--color-text); }
.mirror .scene { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.35rem; line-height: 1.5; color: var(--color-primary); border-left: 4px solid var(--color-secondary); padding-left: 1.3rem; margin: 1.6rem 0; }

/* Phrase pivot (fin de section problème) */
.pivot { text-align: center; font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: clamp(1.4rem, 2.7vw, 2rem); color: var(--color-primary); max-width: 30ch; margin: 2.6rem auto 0; line-height: 1.35; }
.pivot b { font-style: normal; font-weight: 800; color: var(--color-secondary-deep); }

/* =========================================================================
   DIMENSIONS / PILIERS DE LA MÉTHODE (cartes sur fond sombre)
   ========================================================================= */
.dim-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.1rem; margin-top: 3rem; }
.dim-card { background: var(--color-primary-soft); border-radius: var(--r-md); padding: 1.7rem 1.4rem; border: 1px solid var(--color-border-dark); }
.dim-card .n { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: var(--color-accent); }
.dim-card h3 { font-size: 1.3rem; color: #fff; margin: .35rem 0 .45rem; }
.dim-card p { margin: 0; color: rgba(255,255,255,.74); font-size: .95rem; }

/* =========================================================================
   MÉTHODE / OUTILS (cartes sur fond clair)
   ========================================================================= */
.tools-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin-top: 2.6rem; }
.tool-card { background: var(--color-surface); border-radius: var(--r-md); padding: 1.8rem; box-shadow: var(--sh-sm); border: 1px solid rgba(18,24,58,.08); transition: transform var(--t), box-shadow var(--t); }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.tool-card .tnum { font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; color: var(--color-secondary-deep); letter-spacing: .04em; }
.tool-card h3 { font-size: 1.45rem; color: var(--color-primary); margin: .2rem 0 .5rem; }
.tool-card p { margin: 0; color: var(--color-text-soft); font-size: .98rem; }

/* =========================================================================
   SECTION SPLIT (image + texte, ex : mécanisme / preuve)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 5/4; object-fit: cover; }
.feature-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .8rem; align-items: flex-start; }
.feature-list .tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--color-secondary); color: var(--color-primary); display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { width: 15px; height: 15px; }
.feature-list b { color: var(--color-primary); }
.section--navy .feature-list b { color: #fff; }
.section--navy .feature-list li { color: rgba(255,255,255,.82); }

/* =========================================================================
   ÉTAPES (déroulé / comment ça marche)
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.8rem; }
.step-card { background: var(--color-surface); border-radius: var(--r-md); padding: 1.9rem 1.6rem; box-shadow: var(--sh-sm); position: relative; }
.step-card .sn { width: 52px; height: 52px; border-radius: 50%; background: var(--color-primary); color: var(--color-accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: .4rem; }
.step-card p { margin: 0; color: var(--color-text-soft); font-size: .98rem; }

/* =========================================================================
   BÉNÉFICES
   ========================================================================= */
.ben-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.8rem; }
.ben-card { background: var(--color-bg); border-radius: var(--r-md); padding: 1.8rem 1.6rem; border: 1px solid rgba(18,24,58,.07); transition: transform var(--t), box-shadow var(--t); }
.ben-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.ben-card .b-ic { width: 50px; height: 50px; border-radius: 13px; background: var(--color-primary); color: var(--color-accent); display: grid; place-items: center; margin-bottom: 1rem; }
.ben-card .b-ic svg { width: 26px; height: 26px; }
.ben-card h3 { font-size: 1.3rem; color: var(--color-primary); margin-bottom: .35rem; }
.ben-card p { margin: 0; color: var(--color-text-soft); font-size: .97rem; }

/* =========================================================================
   TÉMOIGNAGES (+ badge note globale)
   ========================================================================= */
.gbadge { display: inline-flex; align-items: center; gap: .8rem; background: var(--color-surface); border: 1px solid rgba(18,24,58,.1); border-radius: var(--r-full); padding: .7rem 1.4rem; box-shadow: var(--sh-sm); margin-bottom: 1rem; }
.gbadge .g { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; color: var(--color-primary); }
.gbadge .score { font-weight: 800; color: var(--color-primary); }
.gbadge .sub { font-size: .85rem; color: var(--color-text-muted); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2.6rem; }
.testi-card { background: var(--color-surface); border-radius: var(--r-md); padding: 1.7rem; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: .8rem; border: 1px solid rgba(18,24,58,.06); }
.testi-card blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--color-text); }
.testi-person { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: .4rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-display); background: var(--color-primary); }
.testi-person .who { font-weight: 700; font-size: .92rem; color: var(--color-primary); }
.testi-person .ctx { font-size: .8rem; color: var(--color-text-muted); }

/* =========================================================================
   À PROPOS
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: 42% 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 4/5; object-fit: cover; }
.about-photo .frame { position: absolute; inset: 16px -16px -16px 16px; border: 3px solid var(--color-secondary); border-radius: var(--r-lg); z-index: -1; }
.about-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.3rem 0; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; padding: .42rem .9rem; border-radius: var(--r-full); background: var(--color-surface); color: var(--color-primary); border: 1px solid rgba(18,24,58,.12); }
.badge svg { width: 15px; height: 15px; color: var(--color-secondary-deep); }
.sig-quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.35rem; color: var(--color-primary); border-left: 4px solid var(--color-secondary); padding-left: 1.2rem; margin-top: 1.5rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: var(--max-text); margin: 2.6rem auto 0; }
details.faq-item { border: 1px solid rgba(18,24,58,.12); border-radius: var(--r-md); margin-bottom: .9rem; background: var(--color-surface); overflow: hidden; transition: box-shadow var(--t); }
details.faq-item[open] { box-shadow: var(--sh-sm); border-color: rgba(203,151,57,.5); }
details.faq-item summary { list-style: none; cursor: pointer; padding: 1.2rem 3rem 1.2rem 1.4rem; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--color-primary); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .plus { position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; transition: transform var(--t); color: var(--color-secondary-deep); }
details.faq-item summary .plus::before, details.faq-item summary .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
details.faq-item summary .plus::before { left: 0; right: 0; top: 10px; height: 2px; }
details.faq-item summary .plus::after { top: 0; bottom: 0; left: 10px; width: 2px; }
details.faq-item[open] summary .plus { transform: translateY(-50%) rotate(45deg); }
.faq-answer p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--color-text-soft); }
details.faq-item[open] .faq-answer { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   CTA FINAL + FORMULAIRE
   ========================================================================= */
.final { position: relative; isolation: isolate; color: var(--color-text-light); padding: var(--pad) 0; overflow: hidden; }
.final__bg { position: absolute; inset: 0; z-index: -2; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; }
.final__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,15,40,.90), rgba(11,15,40,.93)); }
.final h2.title { color: #fff; }
.final-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; margin-top: 1rem; }
.final-copy p { color: rgba(255,255,255,.88); }
.final-copy .reassure { color: rgba(255,255,255,.92); margin-top: 1.4rem; }
/* Si CTA = lien externe (pas de formulaire), centrer le bloc copy */
.final--link .final-grid { grid-template-columns: 1fr; max-width: var(--max-text); margin-left: auto; margin-right: auto; text-align: center; }
.final--link .final-copy .reassure { justify-content: center; }

.form-card { background: var(--color-surface); border-radius: var(--r-lg); padding: clamp(1.6rem,4vw,2.5rem); box-shadow: var(--sh-lg); color: var(--color-text); }
.form-card h3 { font-size: 1.55rem; color: var(--color-primary); margin-bottom: .3rem; }
.form-card .fsub { color: var(--color-text-muted); font-size: .92rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: .35rem; color: var(--color-primary); }
.field label .req { color: var(--color-secondary-deep); }
.field input, .field textarea, .field select { width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--color-text); padding: .85rem 1rem; border: 1.5px solid rgba(18,24,58,.22); border-radius: var(--r-sm); background: #fcfbf9; transition: border-color var(--t), box-shadow var(--t); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(203,151,57,.2); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; background: rgba(192,57,43,.04); }
.field .error-msg { display: none; color: #c0392b; font-size: .82rem; margin-top: .3rem; font-weight: 700; }
.field.has-error .error-msg { display: block; }
.form-card .btn { margin-top: .3rem; }
.form-foot { font-size: .8rem; color: var(--color-text-muted); margin-top: .9rem; text-align: center; }
.form-foot a { text-decoration: underline; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(18,24,58,.4); border-top-color: var(--color-primary); border-radius: 50%; animation: spin .7s linear infinite; display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .spinner { display: inline-block; }
#form-result { margin-top: 1rem; font-size: .92rem; font-weight: 700; text-align: center; }
#form-result.err { color: #c0392b; }
.form-success { display: none; text-align: center; padding: 1rem 0; }
.form-success.show { display: block; animation: fadeIn .4s ease; }
.success-check { width: 74px; height: 74px; margin: 0 auto 1.1rem; border-radius: 50%; background: rgba(203,151,57,.16); display: grid; place-items: center; color: var(--color-secondary-deep); }
.success-check svg { width: 38px; height: 38px; }
.success-check svg path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .6s ease .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { color: var(--color-primary); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,.78); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 2.2rem; }
.site-footer h4 { font-family: var(--font-body); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 1rem; }
.footer-brand img { height: 58px; width: auto; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--color-accent); }
.footer-nav { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.2rem; }
.footer-nav li { margin-bottom: .55rem; }
.footer-contact p { margin: 0 0 .6rem; }
.footer-bottom { border-top: 1px solid var(--color-border-dark); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-legal a { text-decoration: underline; }
.disclaimer { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 1.2rem; max-width: 72ch; line-height: 1.6; font-style: italic; }

/* =========================================================================
   CTA STICKY MOBILE
   ========================================================================= */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: .7rem clamp(.8rem,4vw,1.2rem); background: rgba(11,15,40,.96); backdrop-filter: blur(8px); box-shadow: 0 -4px 18px rgba(0,0,0,.3); transform: translateY(120%); transition: transform var(--t); }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

/* =========================================================================
   ANIMATIONS AU SCROLL
   ========================================================================= */
.js [data-animate] { opacity: 0; transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.js [data-animate="up"] { transform: translateY(26px); }
.js [data-animate="left"] { transform: translateX(26px); }
.js [data-animate="right"] { transform: translateX(-26px); }
.js [data-animate].visible { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px){
  .dim-grid { grid-template-columns: repeat(2,1fr); }
  .ben-grid, .testi-grid, .steps { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: -1; }
  .final-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .nav { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: .2rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-primary); padding: 1rem 1.4rem 1.4rem; box-shadow: var(--sh-md); }
  .nav.open a.nav-link { color: #fff; padding: .6rem 0; border-bottom: 1px solid var(--color-border-dark); }
  .nav.open .header-cta { margin: .8rem 0 0; }
  .nav.open .header-cta .btn { width: 100%; }
  .pain-grid, .tools-grid, .ben-grid, .testi-grid, .steps, .dim-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mirror .scene { font-size: 1.2rem; }
}

/* =========================================================================
   SURCOUCHE CLIENT · Le Dragon du Jeu
   Le kit n'est pas réécrit : on ajoute ici (1) les correctifs des valeurs
   codées en dur dans le kit (or et bleu marine de la page de référence)
   et (2) les composants nouveaux propres à cette page.
   ========================================================================= */

/* ---- 1. Correctifs de teinte ------------------------------------------ */
/* CTA : texte blanc sur rouge #E00000 (5,0:1), ombre rouge au lieu de l'or */
.btn--gold { color: #fff; box-shadow: 0 10px 26px rgba(224,0,0,.34); }
.btn--gold:hover { background: #c40000; color: #fff; box-shadow: 0 16px 34px rgba(224,0,0,.44); }
.feature-list .tick { color: #fff; }
.mark { background: linear-gradient(180deg, transparent 58%, rgba(224,0,0,.22) 58%); }
details.faq-item[open] { border-color: rgba(224,0,0,.45); }

/* Overlays : noir de la marque au lieu du bleu marine */
.hero__overlay { background: linear-gradient(102deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.92) 44%, rgba(21,21,21,.74) 78%, rgba(21,21,21,.58) 100%); }
.final__overlay { background: linear-gradient(180deg, rgba(10,10,10,.84), rgba(10,10,10,.92)); }
.sticky-cta { background: rgba(10,10,10,.96); }

/* Bandeau d'annonce en rouge (offre de livraison = info clé, bande fine) */
.topbar { background: var(--color-secondary); color: #fff; }
.topbar b { color: #fff; }
.topbar .sep { color: rgba(255,255,255,.72); }

/* ---- 2. Hero : visuel produit (en attendant la photo d'ambiance) -------
   Tant qu'il n'y a pas de vraie photo (display ouvert, fond sombre), le fond
   du hero est un packshot officiel très flouté (ambiance colorée des cartes)
   et les displays sont présentés en éventail à droite.
   À l'arrivée de la photo : retirer .hero__bg--ambient et .hero__visual. */
.hero__bg--ambient img { filter: blur(34px) saturate(1.3); transform: scale(1.3); object-position: center 40%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero__visual { position: relative; isolation: isolate; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: end; }
.hero__visual::before { content: ""; position: absolute; inset: -14%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(224,0,0,.42), rgba(224,0,0,.12) 60%, rgba(224,0,0,0)); filter: blur(24px); }
.hero__plate { position: absolute; background: #fff; border-radius: var(--r-md); padding: .55rem; box-shadow: 0 26px 60px rgba(0,0,0,.55); }
.hero__plate img { width: 100%; height: auto; border-radius: calc(var(--r-md) - 6px); }
.hero__plate--back-l { width: 58%; left: 0; top: 6%; transform: rotate(-9deg); }
.hero__plate--back-r { width: 58%; right: 0; top: 2%; transform: rotate(8deg); }
.hero__plate--front { width: 70%; left: 15%; top: 22%; transform: rotate(-1.5deg); box-shadow: 0 34px 80px rgba(0,0,0,.65); }
@media (max-width: 960px){
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 360px; margin-top: .5rem; }
}
@media (max-width: 520px){ .hero__visual { max-width: 280px; } }

/* Barre de preuves : suffixe « /10 » plus petit que la note */
.trust-item .num small { font-size: .5em; font-weight: 800; margin-left: .08em; }

/* ---- 3. Utilitaires ----------------------------------------------------- */
/* Placeholder visible : donnée client manquante (voir A-COMPLETER.md) */
.todo { display: inline; background: #fff3a8; color: #151515; border: 1px dashed #9a7b00; border-radius: 4px; padding: .05em .35em; font-family: var(--font-body); font-weight: 700; font-style: normal; font-size: .85em; letter-spacing: 0; text-transform: none; }
.section-cta { margin-top: 2.8rem; text-align: center; }
.fine-print { font-size: .88rem; color: var(--color-text-muted); margin: 1.4rem 0 0; }
.section--navy .fine-print { color: rgba(255,255,255,.68); }
h2.title--split { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

/* ---- 4. Section nouvelle : les deux packs (#packs) ---------------------- */
.pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.2rem); max-width: 1040px; margin: 3.4rem auto 0; align-items: stretch; }
.pack-card { position: relative; display: flex; flex-direction: column; background: var(--color-surface); border-radius: var(--r-lg); border: 2px solid rgba(21,21,21,.08); box-shadow: var(--sh-md); transition: transform var(--t), box-shadow var(--t); }
.pack-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.pack-card--featured { border-color: var(--color-secondary); }
.pack-card__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); z-index: 1; white-space: nowrap; background: var(--color-primary); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; padding: .45rem 1.05rem; border-radius: var(--r-full); box-shadow: var(--sh-sm); }
.pack-card--featured .pack-card__badge { background: var(--color-secondary); }
.pack-card__media { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 2.3rem 1.4rem .8rem; border-bottom: 1px solid rgba(21,21,21,.08); }
.pack-card__media .main { width: 60%; }
.pack-card__media .addon { width: 30%; }
.pack-card__plus { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--color-secondary); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; line-height: 1; box-shadow: 0 6px 14px rgba(224,0,0,.3); }
.pack-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem clamp(1.3rem, 3vw, 2.1rem) clamp(1.5rem, 3vw, 2.1rem); }
.pack-card__label { font-family: var(--font-body); font-weight: 800; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--color-secondary-deep); margin: 0 0 .35rem; }
.pack-card__name { font-size: clamp(1.55rem, 2.6vw, 1.95rem); font-weight: 900; letter-spacing: -.01em; color: var(--color-primary); margin-bottom: .55rem; }
.pack-card__for { color: var(--color-text-soft); margin-bottom: 1.2rem; }
.pack-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .75rem; }
.pack-list li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.pack-list .tick { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--color-secondary); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.pack-list .tick svg { width: 14px; height: 14px; }
.pack-card__offer { margin-top: auto; padding-top: 1.2rem; border-top: 1px dashed rgba(21,21,21,.18); }
.pack-price-lbl { font-weight: 700; font-size: .95rem; color: var(--color-text-soft); margin: 0 0 .15rem; }
.pack-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; margin: 0 0 .25rem; }
.pack-price .amount { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 4.6vw, 3.3rem); line-height: 1; letter-spacing: -.02em; color: var(--color-primary); }
.pack-price .amount .todo { font-size: .3em; vertical-align: middle; letter-spacing: 0; }
.pack-price .ttc { font-weight: 700; font-size: .9rem; color: var(--color-text-muted); }
.pack-was { font-size: .92rem; color: var(--color-text-muted); margin: 0 0 .7rem; }
.pack-urgency { font-size: .92rem; font-weight: 700; color: var(--color-secondary-deep); margin: 0; }
.pack-card .btn { margin-top: 1.2rem; }

.chapters { max-width: 920px; margin: 3.6rem auto 0; text-align: center; }
.chapters h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); color: var(--color-primary); margin-bottom: 1.1rem; }
.chapter-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.chapter-pills li { background: var(--color-surface); border: 1px solid rgba(21,21,21,.14); border-radius: var(--r-full); padding: .5rem 1rem; font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--color-primary); }
.chapter-pills li span { color: var(--color-secondary-deep); font-weight: 800; margin-left: .15rem; }
.chapter-pills li.is-new { border: 2px solid var(--color-secondary); }
.chapters__note { font-size: .92rem; color: var(--color-text-muted); margin: 1rem 0 0; }

.pack-help { max-width: var(--max-text); margin: 2.6rem auto 0; background: var(--color-surface); border-left: 4px solid var(--color-secondary); border-radius: var(--r-md); box-shadow: var(--sh-sm); padding: 1.4rem 1.6rem; }
.pack-help p { margin: 0; }
.pack-help a { font-weight: 700; text-decoration: underline; white-space: nowrap; }

@media (max-width: 900px){
  .pack-grid { grid-template-columns: 1fr; max-width: 560px; row-gap: 2.6rem; }
}
@media (max-width: 440px){
  .pack-card__badge { white-space: normal; width: max-content; max-width: calc(100% - 2rem); text-align: center; }
}

/* ---- 5. Composants du kit adaptés à cette page -------------------------- */
/* Packshot (fond blanc) dans un .split : on le montre entier, pas recadré */
.split__media--packshot img { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: clamp(1rem, 3vw, 2rem); }

/* Avis sur fond sombre (rupture après la section claire des étapes) */
.section--navy .gbadge { border-color: transparent; }
.testi-tag { font-family: var(--font-body); font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-secondary-deep); }
.testi-card .stars svg { width: 16px; height: 16px; }
.avis-more { margin-top: 2.6rem; text-align: center; }

/* À propos : visuel provisoire (logo) en attendant le portrait ou la photo colis */
.about-photo { isolation: isolate; }
.about-placeholder { aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--color-surface); box-shadow: var(--sh-lg); display: grid; place-items: center; padding: 2rem; }
.about-photo .about-placeholder img { width: 100%; max-width: 340px; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; }
.sig-name { font-weight: 800; font-size: .95rem; color: var(--color-secondary-deep); margin: .7rem 0 0 1.5rem; }

/* CTA final (variante lien, deux boutons) */
.final .kicker, .final .hl { color: var(--color-accent); }
.final__bg--ambient img { filter: blur(40px) saturate(1.3); transform: scale(1.3); }
.final-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 2rem 0 1.5rem; }
/* Grille élargie pour tenir les deux gros boutons côte à côte ; texte gardé à ~60 caractères */
.final--link .final-grid { max-width: 960px; }
.final--link .final-copy > p:not(.reassure):not(.fine-print) { max-width: 60ch; margin-left: auto; margin-right: auto; }
.final .fine-print { color: rgba(255,255,255,.72); }

/* Footer à 4 colonnes (la copie en prévoit 4, le kit 3) */
.footer-grid--4 { grid-template-columns: 1.3fr .8fr 1.25fr 1fr; }
.site-footer .footer-h { font-family: var(--font-body); font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 1rem; line-height: 1.4; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-brand p { max-width: 34ch; }
@media (max-width: 960px){ .footer-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px){ .footer-grid--4 { grid-template-columns: 1fr; } }

/* CTA sticky : masqué sur les zones de conversion (#packs, #commander) */
.sticky-cta.is-muted { transform: translateY(120%); visibility: hidden; transition: transform var(--t), visibility 0s linear .28s; }

/* Pages légales */
.legal { max-width: var(--max-text); margin: 0 auto; }
.legal h1 { font-size: var(--fs-3xl); font-weight: 900; margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .6rem; color: var(--color-primary); }
.legal p, .legal li { color: var(--color-text-soft); }
.legal a { text-decoration: underline; }

/* Remise à zéro des marges navigateur (figure / blockquote utilisés pour la sémantique) */
figure.testi-card { margin: 0; }
blockquote.sig-quote { margin: 1.5rem 0 0; }

/* Retouches mobile */
.gbadge { flex-wrap: wrap; justify-content: center; }
@media (max-width: 620px){
  .gbadge { border-radius: var(--r-md); gap: .35rem .7rem; }
  .gbadge .sub { flex-basis: 100%; text-align: center; }
}
@media (max-width: 960px){ .about-placeholder { aspect-ratio: 16 / 10; } }
@media (max-width: 520px){ .pack-card .btn--lg, .final-ctas .btn--lg { padding: 1.05rem 1.3rem; font-size: 1.02rem; } }
