/* ==========================================================================
   Kargoo — base commune des maquettes (polices, tokens, remise à zéro, accessibilité)
   Tokens repris de TEMPLATE/MAPPING.md §2 (relevés dans TEMPLATE/1..5/*.dc.html)
   et de VIDEO/src/theme.ts. Écarts volontaires, pour l'accessibilité AA :
   --kg-text3 #5B6A7C (au lieu de #6B7A8C, ≈4:1 sur #F2F4F7), --kg-on-orange (texte
   marine sur orange : 5,1:1 ; le blanc sur #F7941D donne 2,3:1).
   ========================================================================== */
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-latin-ext.woff2") format("woff2"); font-weight: 600 800; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Charte (CDC §9, MAPPING §2.1) */
  --kg-navy: #1B3A5C;
  --kg-navy-hover: #16314D;
  --kg-navy-deep: #10243A;      /* VIDEO theme.ts navyDeep */
  --kg-orange: #F7941D;
  --kg-orange-hover: #E08514;
  --kg-light: #F2F4F7;
  --kg-white: #FFFFFF;
  /* Surfaces et textes */
  --kg-surface2: #F7F9FB;
  --kg-hover: #EDF1F5;
  --kg-text2: #3D5A78;
  --kg-text3: #5B6A7C;          /* AA — voir en-tête */
  --kg-border: #E1E5EA;
  --kg-border-fine: #EDF1F5;
  --kg-border-mid: #C9D2DB;
  --kg-on-orange: #1B3A5C;      /* AA — voir en-tête */
  /* Sémantique (statuts uniquement) */
  --kg-success: #1D9E75; --kg-success-bg: #DFF3EB; --kg-success-text: #12704F;
  --kg-warning-bg: #FCEDD6; --kg-warning-text: #96600C;
  --kg-navy-badge-bg: #E7EDF4;
  --kg-air-bg: #EDE9F9; --kg-air-text: #4A3389;
  /* WhatsApp (aperçu C16) — heure foncée pour AA */
  --wa-header: #075E54; --wa-avatar: #0B7C6D; --wa-sub: #B7D8D2; --wa-bg: #ECE5DD;
  --wa-bubble: #E7FFDB; --wa-in: #FFFFFF; --wa-text: #111B21; --wa-time: #56656F; --wa-ticks: #2E8FC4;
  /* Rayons (MAPPING §2.3) */
  --r-card: 12px; --r-btn: 10px; --r-callout: 9px; --r-input: 8px; --r-pill: 99px; --r-mobile: 14px;
  /* Ombres : une seule « bouton », une seule « bulle » */
  --sh-btn: 0 1px 2px rgba(27,58,92,.18);
  --sh-bubble: 0 1px 1px rgba(11,20,26,.13);
  /* Polices */
  --f-title: "Montserrat", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --focus: 2px solid var(--kg-navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); color: var(--kg-navy); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--kg-navy); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Valeur de réglage absente : visible, jamais inventée */
.is-missing { display: inline-block; background: #FBE3E2; color: #A62A29; border: 1px dashed #A62A29; border-radius: 6px; padding: 2px 8px; font: 600 13px/1.4 var(--f-body); }
a[aria-disabled="true"] { cursor: not-allowed; }

/* Variable de modèle WhatsApp (le numéro du transitaire n'est jamais affiché sur le site) */
.wa-var { font-style: normal; background: rgba(27,58,92,.08); border-bottom: 1px dashed currentColor; border-radius: 3px; padding: 0 3px; white-space: nowrap; }
.wa-blur { filter: blur(4px); user-select: none; }

/* Boîte de dialogue vidéo (commune) */
.video-dialog { padding: 0; border: 0; background: transparent; width: min(960px, 94vw); max-height: 92vh; }
.video-dialog.is-portrait { width: min(380px, 88vw); }
.video-dialog::backdrop { background: rgba(16,36,58,.82); }
.video-dialog video { width: 100%; height: auto; max-height: 82vh; border-radius: 12px; background: #000; }
.video-dialog .video-close { display: flex; margin: 0 0 10px auto; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--r-btn); background: #fff; color: var(--kg-navy); font-weight: 600; cursor: pointer; }
.video-dialog figcaption { color: #fff; font-size: 13px; margin-top: 8px; }

/* Messages du formulaire */
.form-status { margin-top: 14px; border-radius: var(--r-callout); padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { background: #FBE3E2; color: #A62A29; }
.form-status.is-ok { background: var(--kg-success-bg); color: var(--kg-success-text); }
.field-error { color: #A62A29; font-size: 13px; line-height: 1.4; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Socle commun D / E / F : en-tête, boutons, formulaire, FAQ, pied. La personnalité vit dans chaque style.css. */
:root { --wrap: 1200px; --gutter: 16px; --band: clamp(64px, 6vw + 32px, 128px); --r: 10px; }
@media (min-width: 720px) { :root { --gutter: 32px; } }
body { background: var(--kg-light); font-size: 17px; line-height: 1.6; color: var(--kg-text2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3, .h2 { font-family: var(--f-title); color: var(--kg-navy); }
.h2 { font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; max-width: 22ch; margin-bottom: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(1.12rem, 1.05rem + .3vw, 1.3rem); font-weight: 700; line-height: 1.3; }
p { max-width: 64ch; }
.note { font-size: 14px; color: var(--kg-text3); margin-top: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 2px solid transparent; font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn-orange { background: var(--kg-orange); color: var(--kg-on-orange); box-shadow: var(--sh-btn); }
.btn-orange:hover { background: var(--kg-orange-hover); }
.btn-navy { background: var(--kg-navy); color: #fff; }
.btn-navy:hover { background: var(--kg-navy-hover); }
.btn-ghost { background: transparent; color: var(--kg-navy); border-color: var(--kg-border-mid); }
.btn-ghost:hover { background: #fff; border-color: var(--kg-navy); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-ghost .icon { fill: currentColor; stroke: none; width: 12px; height: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--kg-border); }
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; flex: none; }
.brand-full { display: none; height: 46px; width: auto; }
.brand-k { height: 34px; width: auto; }
.nav { display: none; }
.top-cta { margin-left: auto; min-height: 40px; padding: 0 14px; font-size: 14px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--kg-border); border-radius: var(--r); background: #fff; color: var(--kg-navy); cursor: pointer; }
.nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--kg-border); padding: 8px var(--gutter) 16px; }
.nav a { padding: 12px 4px; color: var(--kg-navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--kg-border-fine); }
@media (min-width: 960px) {
  .brand-full { display: block; } .brand-k { display: none; } .menu-btn { display: none; }
  .nav, .nav.is-open { display: flex; position: static; flex-direction: row; padding: 0; border: 0; gap: 28px; margin-left: 40px; background: none; }
  .nav a { border: 0; padding: 6px 0; font-size: 15px; color: var(--kg-text2); }
  .nav a:hover { color: var(--kg-navy); text-decoration: underline; text-underline-offset: 6px; }
  .top-in { height: 76px; }
}

.faq-list { border-top: 2px solid var(--kg-navy); }
.faq details { border-bottom: 1px solid var(--kg-border-mid); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font: 600 1.08rem/1.4 var(--f-title); color: var(--kg-navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; }

.mail { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-weight: 600; color: var(--kg-navy); }
.form { display: grid; gap: 16px; }
.row2 { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; color: var(--kg-navy); }
.field input, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--kg-border-mid); border-radius: var(--r); padding: 10px 14px; background: #fff; font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--kg-navy); box-shadow: 0 0 0 3px rgba(27,58,92,.16); }
[aria-invalid="true"] { border-color: #A62A29 !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--kg-navy); flex: none; }
.form .btn { justify-self: start; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }

.final { background: var(--kg-navy); padding: var(--band) 0; }
.final h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; max-width: 20ch; }
.final p { color: #D5DEE8; margin-top: 14px; font-size: 1.12rem; }
.final :focus-visible, .foot :focus-visible { outline-color: #fff; }

.foot { background: var(--kg-navy-deep); color: #C5D0DC; padding: 40px 0 24px; font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.foot-logo { height: 52px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { color: #fff; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #AEBBCA; }
.copyright a { color: #fff; }
/* G — landing de vente animée.
   Système ui-ux-pro-max : schéma « Scroll-Triggered Storytelling », style « Motion-Driven »
   (+ verre dépoli sur le hero), transitions 300–400 ms, transform uniquement.
   Charte Kargoo conservée : marine / orange / #F2F4F7, Montserrat + Inter. */

:root { --wrap: 1200px; --r-xl: 22px; --ease: cubic-bezier(.2,.8,.2,1); --sh-card: 0 1px 2px rgba(16,36,58,.06), 0 12px 32px rgba(16,36,58,.10); }
body { background: var(--kg-light); }
.h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.btn { border-radius: 12px; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-orange { box-shadow: 0 8px 22px rgba(247,148,29,.35); }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.16); }

/* Barre de progression */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 50; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--kg-orange); transform-origin: 0 50%; transform: scaleX(0); }

/* En-tête : transparent sur le hero, plein en défilant */
.top { position: fixed; inset: 0 0 auto; background: transparent; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.top.is-solid { background: rgba(16,36,58,.94); border-color: rgba(255,255,255,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand img { height: 44px; width: auto; }
.top .nav a { color: #DCE4EC; }
.top .nav a:hover { color: #fff; }
.menu-btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.nav.is-open { background: var(--kg-navy-deep); border-color: rgba(255,255,255,.1); }
.nav.is-open a { color: #fff; border-color: rgba(255,255,255,.1); }
.top :focus-visible { outline-color: #fff; }
@media (min-width: 960px) { .nav.is-open { background: none; } }

/* ═════ HERO ═════ */
.hero { position: relative; overflow: hidden; background: var(--kg-navy-deep); color: #C9D5E2; padding: 120px 0 clamp(64px, 7vw, 120px); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -180px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247,148,29,.22), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000 30%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 500; color: #DCE4EC; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61,220,151,.18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin-top: 22px; max-width: 15ch; }
.hero .lead { font-size: clamp(1.06rem, 1rem + .4vw, 1.28rem); margin-top: 22px; color: #C9D5E2; max-width: 46ch; }
.hero .actions { margin-top: 32px; }
.hero-offer { margin-top: 18px; font-size: 15px; color: #FFD39B; font-weight: 600; }
.hero :focus-visible { outline-color: #fff; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: 1fr 1.05fr; } }

.stage { position: relative; }
.player { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); }
.player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px; border: 0; cursor: pointer; background: linear-gradient(to top, rgba(16,36,58,.55), rgba(16,36,58,.05)); color: #fff; font: 700 17px/1.2 var(--f-title); text-align: left; }
.play small { display: block; font: 500 13px/1.3 var(--f-body); color: #DCE4EC; }
.play-ring { width: 74px; height: 74px; border-radius: 50%; background: var(--kg-orange); color: var(--kg-navy); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(247,148,29,.25); transition: transform .3s var(--ease); animation: ring 2.4s ease-in-out infinite; }
.play-ring .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; margin-left: 4px; }
.play:hover .play-ring { transform: scale(1.08); }
@keyframes ring { 50% { box-shadow: 0 0 0 18px rgba(247,148,29,0); } }
.play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
/* Notifications flottantes en verre dépoli */
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 34px rgba(0,0,0,.25); color: var(--kg-navy); font-size: 13px; line-height: 1.35; max-width: 270px; animation: in .6s var(--ease) both, bob 6s ease-in-out infinite; }
.float p { display: grid; max-width: none; }
.float b { font: 700 13.5px/1.3 var(--f-title); }
.float img { width: 34px; height: 34px; border-radius: 50%; }
.ok { width: 30px; height: 30px; border-radius: 50%; background: var(--kg-success); color: #fff; display: grid; place-items: center; flex: none; }
.ok .icon { width: 17px; height: 17px; stroke-width: 2.6; }
.f1 { left: -28px; top: -26px; animation-delay: .6s, .6s; }
.f2 { right: -22px; bottom: 34px; animation-delay: 1.2s, 1.6s; }
.f3 { left: 18px; bottom: -30px; animation-delay: 1.8s, 2.4s; }
@keyframes in { from { opacity: 0; transform: translateY(14px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -6px; } }
@media (max-width: 700px) { .f1 { left: -6px; top: -34px; } .f2 { right: -6px; bottom: auto; top: 44%; } .f3 { left: 6px; bottom: -40px; } .float { max-width: 230px; font-size: 12px; } }

/* ═════ CHAPITRES ═════ */
.chapter { padding: clamp(80px, 8vw, 140px) 0; }
.chapter-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.chapter-head .h2 { margin-bottom: 16px; max-width: none; }
.sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--kg-text2); }
.big { font: 700 clamp(1.15rem, 1.05rem + .5vw, 1.45rem)/1.4 var(--f-title); color: var(--kg-navy); margin-bottom: 12px; }
.note { font-size: 13.5px; color: var(--kg-text3); margin-top: 16px; }

/* Problème : l'écran verrouillé qui se remplit */
.problem { background: #fff; }
.problem-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .problem-in { grid-template-columns: 1fr 1fr; gap: 80px; } }
.lock { width: min(360px, 100%); margin: 0 auto; border-radius: 40px; padding: 34px 16px 22px; background: linear-gradient(160deg, #24486F, #10243A); color: #fff; box-shadow: var(--sh-card); min-height: 560px; }
.lock-time { text-align: center; font: 300 64px/1 var(--f-body); letter-spacing: -.02em; max-width: none; }
.lock-date { text-align: center; color: #C9D5E2; margin-bottom: 22px; max-width: none; }
.pile { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pile li { background: rgba(255,255,255,.88); color: #111B21; border-radius: 16px; padding: 10px 14px; font-size: 14px; display: grid; opacity: 0; transform: translateY(-18px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.pile li b { font-size: 12.5px; color: #3D5A78; }
.pile li.on { opacity: 1; transform: none; }

/* Rangées du parcours */
.journey { background: var(--kg-light); }
.row { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(72px, 9vw, 128px); }
.row-text h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 14px 0 12px; }
.row-text p { font-size: clamp(1.02rem, 1rem + .2vw, 1.12rem); }
.step { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--kg-navy); color: #fff; font: 800 18px/1 var(--f-title); }
@media (min-width: 960px) { .row { grid-template-columns: 5fr 6fr; gap: 80px; } .row-rev .row-text { order: 2; } }
.scene { position: relative; }
.mini-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-card); }
.mini-cta p { font: 700 1.2rem/1.3 var(--f-title); color: var(--kg-navy); }

/* Scène 1 : fenêtre d'enregistrement */
.win { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-card); overflow: hidden; max-width: 520px; margin: 0 auto; position: relative; }
.win-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--kg-border); font: 700 16px/1 var(--f-title); color: var(--kg-navy); }
.win-bar .ref { font: 600 12.5px/1 var(--f-body); background: var(--kg-navy-badge-bg); padding: 6px 10px; border-radius: 99px; }
.form-demo { padding: 18px 20px 22px; display: grid; gap: 12px; }
.form-demo p { display: grid; gap: 5px; max-width: none; }
.form-demo p > span { font-size: 13px; color: var(--kg-text3); }
.type { display: block; min-height: 44px; border: 1px solid var(--kg-border-mid); border-radius: 10px; padding: 11px 14px; font-weight: 600; color: var(--kg-navy); position: relative; transition: border-color .3s, box-shadow .3s; }
.type.on { border-color: var(--kg-navy); box-shadow: 0 0 0 3px rgba(27,58,92,.10); }
.type.on::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--kg-navy); vertical-align: -2px; margin-left: 1px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.fake-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 12px; background: var(--kg-orange); color: var(--kg-navy); font: 700 15px/1 var(--f-body); margin-top: 6px; transition: transform .15s; }
.fake-btn.on { animation: press .5s var(--ease); }
@keyframes press { 30% { transform: scale(.94); filter: brightness(.92); } 100% { transform: none; } }
.toast-ok { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: flex; gap: 8px; align-items: center; white-space: nowrap; background: var(--kg-success); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: 0 12px 28px rgba(18,112,79,.35); opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast-ok.on { opacity: 1; transform: none; }
.toast-ok .icon { width: 18px; height: 18px; stroke-width: 2.6; }

/* Scènes téléphone */
.phone { width: min(340px, 100%); margin: 0 auto; border-radius: 40px; border: 10px solid var(--kg-navy-deep); background: var(--wa-bg); overflow: hidden; box-shadow: var(--sh-card); min-height: 560px; display: flex; flex-direction: column; }
.wa-top { display: flex; align-items: center; gap: 10px; background: var(--wa-header); color: #fff; padding: 14px 16px; }
.wa-top img { width: 36px; height: 36px; border-radius: 50%; }
.wa-top p { display: grid; line-height: 1.2; max-width: none; }
.wa-top span { font-size: 12px; color: var(--wa-sub); }
.wa-chat { padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.bub { align-self: flex-start; max-width: 94%; background: #fff; color: var(--wa-text); border-radius: 12px 12px 12px 3px; padding: 9px 11px 6px; font-size: 13.5px; line-height: 1.45; box-shadow: var(--sh-bubble); display: none; }
.bub.on { display: block; animation: pop .4s var(--ease); }
.bub time { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 11px; color: var(--wa-time); }
.bub time .icon { width: 15px; height: 15px; color: var(--wa-ticks); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.typing { align-self: flex-start; background: #fff; border-radius: 12px; padding: 12px 14px; display: none; gap: 4px; box-shadow: var(--sh-bubble); }
.typing.on { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA6B2; animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translateY(-4px); background: #56656F; } 60% { transform: none; } }

/* Scène suivi */
.track { background: #F5F7FA; }
.tr-head { display: flex; gap: 12px; align-items: center; background: #0F5F4E; color: #fff; padding: 18px 16px; }
.tr-head .av { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: #0F5F4E; display: grid; place-items: center; font: 800 17px/1 var(--f-title); }
.tr-head p { display: grid; line-height: 1.25; max-width: none; }
.tr-head span { font-size: 12px; opacity: .85; }
.tr-card { margin: 14px; background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid var(--kg-border); }
.tr-card p { max-width: none; }
.tr-lab { font-size: 12px; color: var(--kg-text3); }
.tr-num { font: 800 21px/1.2 var(--f-title); color: var(--kg-navy); }
.tr-desc { font-size: 13.5px; color: var(--kg-text2); margin-bottom: 10px; }
.badge { position: relative; height: 30px; }
.badge span { position: absolute; left: 0; top: 0; padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.badge span.on { opacity: 1; transform: none; }
.s1, .s2 { background: var(--kg-navy-badge-bg); color: var(--kg-navy); }
.s3 { background: var(--kg-success-bg); color: var(--kg-success-text); }
.s4 { background: var(--kg-warning-bg); color: #7A4E09; }
.tl { list-style: none; margin: 0 14px 16px; padding: 14px 16px; background: #fff; border-radius: 14px; border: 1px solid var(--kg-border); }
.tl li { position: relative; padding: 0 0 16px 34px; display: grid; font-size: 13px; color: var(--kg-text3); }
.tl li b { color: #8A97A6; font-size: 14px; transition: color .3s; }
.tl li i { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D5DCE4; background: #fff; transition: background-color .35s, border-color .35s, transform .35s var(--ease); }
.tl li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: #E1E5EA; }
.tl li::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: #0F5F4E; transform: scaleY(0); transform-origin: top; transition: transform 1.6s linear; }
.tl li:last-child { padding-bottom: 0; } .tl li:last-child::before, .tl li:last-child::after { display: none; }
.tl li.on b { color: var(--kg-navy); }
.tl li.on i { background: #0F5F4E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: #0F5F4E; animation: bump .4s var(--ease); }
.tl li.on::after { transform: scaleY(1); }
@keyframes bump { 50% { transform: scale(1.25); } }

/* Scène factures */
.inv-stage { position: relative; max-width: 520px; margin: 0 auto; min-height: 520px; }
.cont { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--sh-card); }
.cont p { display: grid; max-width: none; }
.cont b { font: 700 16px/1.2 var(--f-title); color: var(--kg-navy); }
.cont-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--kg-navy-badge-bg); color: var(--kg-navy); display: grid; place-items: center; }
.cont-ico .icon { width: 24px; height: 24px; }
.cst { position: relative; height: 26px; }
.cst em { position: absolute; font-style: normal; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cst em.on { opacity: 1; }
.c1 { background: var(--kg-warning-bg); color: #7A4E09; }
.c2 { background: var(--kg-success-bg); color: var(--kg-success-text); }
.invoice { margin: 16px 0 0 24px; background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--sh-card); display: grid; gap: 8px; opacity: 0; transform: translateY(24px) rotate(-1.5deg); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.invoice.on { opacity: 1; transform: rotate(-1.5deg); }
.invoice p { display: flex; justify-content: space-between; gap: 10px; max-width: none; font-size: 14px; }
.inv-h b { font: 800 18px/1.2 var(--f-title); color: var(--kg-navy); }
.inv-h span { font-size: 13px; color: var(--kg-text3); }
.inv-l { border-bottom: 1px dashed var(--kg-border); padding-bottom: 6px; }
.inv-t { font-weight: 700; color: var(--kg-navy); }
.blur { filter: blur(4px); user-select: none; }
.pdf-bub { position: absolute; right: 0; bottom: 0; width: min(300px, 88%); background: var(--wa-bubble); color: var(--wa-text); border-radius: 12px 12px 3px 12px; padding: 9px 11px 6px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 16px 36px rgba(16,36,58,.22); opacity: 0; transform: translate(-60px, -120px) scale(.6); transition: opacity .3s, transform .7s var(--ease); }
.pdf-bub.on { opacity: 1; transform: none; }
.pdf { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.75); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; }
.pdf .icon { width: 28px; height: 28px; color: #A62A29; }
.pdf b { display: grid; font-size: 13px; }
.pdf small { font-weight: 400; color: var(--wa-time); font-size: 11.5px; }
.pdf-bub time { display: flex; justify-content: flex-end; gap: 3px; font-size: 11px; color: var(--wa-time); }
.pdf-bub time .icon { width: 15px; height: 15px; color: var(--wa-ticks); }

/* ═════ CHAPITRE ADMIN (sombre) ═════ */
.admin { background: var(--kg-navy-deep); color: #C9D5E2; }
.admin .h2 { color: #fff; }
.admin .sub { color: #C9D5E2; }
.admin .note { color: #9FB0C3; }
.dash { display: grid; grid-template-columns: 1fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); color: var(--kg-text2); }
.dash-side { display: none; }
@media (min-width: 900px) {
  .dash { grid-template-columns: 210px 1fr; }
  .dash-side { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; border-right: 1px solid var(--kg-border); background: #FBFCFD; }
  .dash-side img { width: 44px; height: auto; margin: 0 8px 14px; }
  .dash-side span { padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--kg-text2); }
  .dash-side .on { background: var(--kg-navy); color: #fff; font-weight: 600; }
}
.dash-main { padding: clamp(16px, 2.4vw, 28px); display: grid; gap: 18px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metrics div { border: 1px solid var(--kg-border); border-radius: 14px; padding: 14px; display: grid; gap: 6px; }
.metrics span { font-size: 12.5px; color: var(--kg-text3); line-height: 1.3; }
.metrics b { font: 800 clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem)/1 var(--f-title); color: var(--kg-navy); font-variant-numeric: tabular-nums; }
.metrics .warn b { color: #C2410C; }
.feed { border: 1px solid var(--kg-border); border-radius: 14px; overflow: hidden; }
.feed-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #FBFCFD; border-bottom: 1px solid var(--kg-border); font: 700 14px/1.2 var(--f-title); color: var(--kg-navy); max-width: none; }
.live { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--f-body); color: var(--kg-success-text); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kg-success); animation: pulse2 1.4s infinite; }
@keyframes pulse2 { 50% { opacity: .3; } }
.feed ul { list-style: none; margin: 0; padding: 0; min-height: 260px; }
.feed li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--kg-border-fine); font-size: 13.5px; opacity: 0; transform: translateX(-16px); transition: opacity .35s var(--ease), transform .45s var(--ease), background-color 1.2s; }
.feed li.on { opacity: 1; transform: none; animation: flash 1.4s; }
@keyframes flash { 0% { background: #FFF4E5; } 100% { background: transparent; } }
.feed .ref { font: 700 13.5px/1.2 var(--f-title); color: var(--kg-navy); }
.feed .sent { grid-column: 1 / -1; display: inline-flex; gap: 6px; align-items: center; color: var(--kg-success-text); font-weight: 600; font-size: 13px; }
.feed .sent .icon { width: 16px; height: 16px; }
.pill { justify-self: end; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.p-n { background: var(--kg-navy-badge-bg); color: var(--kg-navy); } .p-s { background: var(--kg-success-bg); color: var(--kg-success-text); } .p-w { background: var(--kg-warning-bg); color: #7A4E09; }
@media (min-width: 640px) { .feed li { grid-template-columns: 140px 130px 1fr; } .feed .sent { grid-column: auto; justify-self: end; } .pill { justify-self: start; } }

.duo { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px); }
.card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.card > p { color: #C9D5E2; margin-bottom: 20px; }
/* Relevé du soir */
.brief { display: grid; gap: 14px; justify-items: start; min-height: 230px; }
.clock { display: flex; align-items: center; gap: 14px; }
.clock span { font: 800 30px/1 var(--f-title); color: #fff; font-variant-numeric: tabular-nums; }
.clock::before { content: ""; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--kg-orange); }
.hand { position: absolute; width: 3px; height: 20px; background: var(--kg-orange); margin-left: 24.5px; margin-top: -18px; transform-origin: 50% 100%; transform: rotate(-60deg); transition: transform 1.8s var(--ease); border-radius: 2px; }
.clock.on .hand { transform: rotate(210deg); }
.clock { position: relative; }
.brief-bub { background: var(--wa-bubble); }
/* Devis 3D */
.quote { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; min-height: 230px; }
.cube-wrap { perspective: 600px; height: 130px; display: grid; place-items: center; }
.cube { position: relative; width: 80px; height: 64px; transform-style: preserve-3d; animation: spin 9s linear infinite; animation-play-state: paused; }
.quote.is-in .cube, .is-static .cube { animation-play-state: running; }
.f { position: absolute; inset: 0; border: 2px solid #0E6B54; background: rgba(22,138,108,.88); }
.fr { transform: translateZ(40px); } .bk { transform: rotateY(180deg) translateZ(40px); }
.rt { width: 80px; transform: rotateY(90deg) translateZ(40px); } .lf { width: 80px; transform: rotateY(-90deg) translateZ(40px); }
.tp { height: 80px; top: -8px; transform: rotateX(90deg) translateZ(40px); background: rgba(40,170,135,.9); } .bt { height: 80px; top: -8px; transform: rotateX(-90deg) translateZ(32px); }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.q-panel { background: #fff; border-radius: 16px; padding: 14px; display: grid; gap: 8px; color: var(--kg-text2); }
.q-panel p { max-width: none; }
.q-dims { display: flex; flex-wrap: wrap; gap: 6px; }
.q-dims span { font: 700 12.5px/1 var(--f-title); color: var(--kg-navy); border: 1px solid var(--kg-border-mid); border-radius: 99px; padding: 6px 10px; }
.q-cat { font-size: 13px; }
.q-price { display: grid; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.q-price.on { opacity: 1; transform: none; }
.q-price span { font-size: 12px; color: var(--kg-text3); }
.q-price b { font: 800 26px/1.1 var(--f-title); color: var(--kg-navy); }
.q-note { font-size: 12px; color: var(--kg-text3); }
.quote .fake-btn { min-height: 42px; font-size: 14px; margin: 0; }
@media (max-width: 480px) { .quote { grid-template-columns: 1fr; } }

/* ═════ BÉNÉFICES ═════ */
.gains { background: #fff; }
.gains-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .gains-in { grid-template-columns: 5fr 7fr; gap: 80px; } }
.photo { margin: 0; }
.photo img { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-xl); box-shadow: var(--sh-card); }
.photo figcaption { font-size: 13px; color: var(--kg-text3); margin-top: 10px; }
.gains-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.gains-list li { display: flex; align-items: center; gap: 14px; font: 800 clamp(1.3rem, 1.1rem + 1vw, 1.9rem)/1.2 var(--f-title); color: var(--kg-navy); opacity: .25; transition: opacity .4s; }
.gains-list li.on { opacity: 1; }
.gains-list li span { width: 40px; height: 40px; border-radius: 50%; background: var(--kg-orange); color: var(--kg-navy); display: grid; place-items: center; flex: none; transform: scale(.6); transition: transform .4s var(--ease); }
.gains-list li.on span { transform: none; }
.gains-list .icon { width: 22px; height: 22px; stroke-width: 3; }
.who { display: grid; gap: 12px; border-top: 1px solid var(--kg-border); padding-top: 24px; }
.who p { display: flex; gap: 12px; align-items: flex-start; max-width: none; }
.who .icon { width: 24px; height: 24px; color: var(--kg-navy); flex: none; margin-top: 2px; }
.who b { color: var(--kg-navy); }

/* ═════ OFFRE ═════ */
.offer { padding: 0 0 clamp(80px, 8vw, 140px); background: #fff; }
.offer-card { position: relative; overflow: hidden; background: var(--kg-navy); border-radius: 28px; padding: clamp(28px, 5vw, 64px); color: #C9D5E2; }
.offer-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247,148,29,.35), transparent); }
.offer-a { position: relative; color: #fff; font: 800 clamp(1.6rem, 1.2rem + 2vw, 2.9rem)/1.1 var(--f-title); letter-spacing: -.02em; max-width: 22ch; }
.offer-b { position: relative; color: #FFD39B; font: 700 clamp(1.2rem, 1rem + 1vw, 1.7rem)/1.25 var(--f-title); margin-top: 14px; }
.offer-small { position: relative; margin-top: 14px; }
.offer .actions { position: relative; }
.offer :focus-visible { outline-color: #fff; }

/* FAQ / contact / final */
.faq { padding: clamp(80px, 8vw, 140px) 0; }
.faq-in { display: grid; gap: 8px; }
@media (min-width: 900px) { .faq-in { grid-template-columns: 4fr 8fr; gap: 64px; } }
.faq-list { background: #fff; border-radius: var(--r-xl); border-top: 0; padding: 4px 24px; box-shadow: var(--sh-card); }
.faq details:last-child { border-bottom: 0; }
.contact { padding: 0 0 clamp(80px, 8vw, 140px); }
.contact-in { display: grid; gap: 32px; }
.contact .form { background: #fff; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); box-shadow: var(--sh-card); }
.field input, .field textarea { border-radius: 12px; }
@media (min-width: 900px) { .contact-in { grid-template-columns: 4fr 7fr; gap: 64px; } }
.final { position: relative; overflow: hidden; background: var(--kg-navy-deep); }
.final::before { content: ""; position: absolute; width: 700px; height: 700px; left: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(247,148,29,.2), transparent); }
.final-in { position: relative; }
.final h2 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.6rem); font-weight: 800; }

/* Mouvement réduit : tout est dans son état final (anim.js pose .on partout) */
@media (prefers-reduced-motion: reduce) {
  .float, .dot, .play-ring, .live::before { animation: none !important; }
  .bub.on, .typing.on { animation: none; }
}

/* ── Corrections après relecture des captures ── */
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.5rem); max-width: 17ch; }
.play { justify-content: flex-start; align-items: flex-end; padding: 22px; background: linear-gradient(20deg, rgba(16,36,58,.85), rgba(16,36,58,0) 55%); }
.play-ring { width: 62px; height: 62px; }
.type.on::after { content: none; }
.type.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--kg-navy); vertical-align: -2px; margin-left: 1px; animation: caret .8s steps(1) infinite; }
.toast-ok { bottom: auto; top: 12px; }
.bub .pdf { margin: -2px -4px 6px; background: #F0F2F5; }
.phone:not(.track) { height: 600px; min-height: 0; }
.wa-chat { flex: 1; overflow: hidden; justify-content: flex-end; }
.play { align-items: flex-start; background: linear-gradient(160deg, rgba(16,36,58,.78), rgba(16,36,58,0) 50%); }
.play > span:last-child { text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.f1 { left: auto; right: -24px; top: -30px; }
.cube { transform: rotateX(-22deg) rotateY(-35deg); }
@media (max-width: 700px) { .f1 { right: -6px; top: -38px; } }
.player .poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-dialog[open] { animation: dlg .3s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.video-dialog::backdrop { background: rgba(10,22,36,.86); backdrop-filter: blur(4px); }
/* Fil WhatsApp naturel : du haut vers le bas, défilement automatique quand il est plein */
.wa-chat { justify-content: flex-start; overflow-y: hidden; }
.wa-chat > * { flex: none; }

/* ═════ Menu : boutons plus grands, icônes (demande du 13/10) ═════ */
.brand img { height: 50px; }
.top-in { height: 72px; gap: 12px; }
.nav a { display: inline-flex; align-items: center; gap: 10px; }
.nav a .icon { width: 20px; height: 20px; color: var(--kg-orange); flex: none; }
.top-cta { font-size: 15px; min-height: 46px; padding: 0 18px; gap: 8px; }
.top-cta .icon { width: 18px; height: 18px; }
.menu-btn { width: 48px; height: 48px; border-radius: 12px; }
.menu-btn .icon { width: 24px; height: 24px; }
/* Mobile et tablette : grand menu déroulant */
@media (max-width: 1179px) {
  .nav { display: none !important; }
  .nav.is-open { display: flex !important; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px; padding: 10px var(--gutter) 18px; background: var(--kg-navy-deep); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .nav.is-open a { font: 600 17px/1.2 var(--f-body); color: #fff; padding: 15px 12px; border-radius: 12px; border: 0; }
  .nav.is-open a + a { border-top: 1px solid rgba(255,255,255,.08); }
  .nav.is-open a:hover { background: rgba(255,255,255,.08); }
  .menu-btn { display: inline-flex !important; }
  .brand-full { display: none; }
}
@media (max-width: 420px) { .top-cta { font-size: 14px; padding: 0 12px; } .top-cta .icon { display: none; } .brand img { height: 42px; } }
/* Bureau : barre de boutons en pastille */
@media (min-width: 1180px) {
  .top-in { height: 84px; }
  .menu-btn { display: none !important; }
  .nav, .nav.is-open { display: flex !important; flex-direction: row; position: static; gap: 4px; margin-left: 28px; padding: 0; border: 0; background: none; box-shadow: none; }
  .top .nav a { font: 600 16px/1 var(--f-body); color: #E4EBF2; padding: 12px 14px; border-radius: 12px; border: 0; text-decoration: none; position: relative; transition: background-color .2s, color .2s; }
  .top .nav a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
  .top .nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--kg-orange); transform: scaleX(0); transition: transform .25s var(--ease); }
  .top .nav a:hover::after, .top .nav a:focus-visible::after { transform: scaleX(1); }
}
/* Pages intérieures (mentions, confidentialité) : en-tête plein, contenu décalé */
.top.is-page { background: var(--kg-navy-deep); }
.page-legal { padding: 130px 0 80px; }
.page-legal .wrap { max-width: 820px; }
.page-legal h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.page-legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.page-legal dl { border-top: 1px solid var(--kg-border); }
.page-legal dl div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--kg-border); }
.page-legal dt { font-weight: 600; color: var(--kg-navy); }
@media (min-width: 640px) { .page-legal dl div { grid-template-columns: 260px 1fr; gap: 16px; } }
.page-legal .warn { background: var(--kg-warning-bg); color: #7A4E09; border-radius: 12px; padding: 12px 16px; margin-top: 12px; }
.page-legal ul { padding-left: 1.2em; }

/* ═════ Performance et contraste (Lighthouse mobile) ═════ */
/* Sections sous la ligne de flottaison : rendues seulement à l'approche */
.chapter, .offer, .faq, .contact, .final, .foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Mobile : pas de flou d'arrière-plan ni de masque coûteux */
@media (max-width: 1179px) {
  .top.is-solid, .btn-glass, .float { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .top.is-solid { background: rgba(16,36,58,.98); }
  .hero::after { display: none; }
}
/* Contraste AA des éléments « en attente » (plus de transparence) */
.tl li b { color: #5F6E7F; }
.tl li.on b { color: var(--kg-navy); }
.gains-list li { opacity: 1; color: #5F6E7F; transition: color .4s; }
.gains-list li.on { color: var(--kg-navy); }

/* ═════ Chapitre assistant WhatsApp ═════ */
.bot { background: #fff; }
.bot-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .bot-grid { grid-template-columns: 6fr 5fr; gap: 72px; } }
.bot-scene { position: relative; padding-bottom: 40px; }
.bub.me { align-self: flex-end; background: var(--wa-bubble); border-radius: 12px 12px 3px 12px; }
.escal { position: absolute; right: 0; bottom: 0; width: min(300px, 86%); background: #fff; border-radius: 16px; padding: 14px 16px; border: 2px solid var(--kg-orange); box-shadow: 0 18px 40px rgba(16,36,58,.22); display: grid; gap: 6px; font-size: 14px; color: var(--kg-text2); opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.escal.on { opacity: 1; transform: none; }
.escal p { max-width: none; }
.escal-h { display: flex; align-items: center; gap: 10px; color: var(--kg-navy); font-size: 14.5px; }
.escal-ico { width: 32px; height: 32px; border-radius: 50%; background: var(--kg-warning-bg); color: #7A4E09; display: grid; place-items: center; flex: none; }
.escal-ico .icon { width: 18px; height: 18px; }
.escal-q { font-style: italic; color: #111B21; }
.escal .fake-btn { min-height: 40px; font-size: 14px; }
@media (min-width: 960px) { .bot-scene .phone { margin-left: 0; } .escal { right: -10px; bottom: 30px; } }
.bot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.bot-list li { display: flex; gap: 14px; align-items: flex-start; }
.bot-list li div { display: grid; gap: 2px; }
.bot-list b { font: 700 1.12rem/1.3 var(--f-title); color: var(--kg-navy); }
.bl-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.bl-ico .icon { width: 20px; height: 20px; stroke-width: 2.4; }
.ok-ico { background: var(--kg-success-bg); color: var(--kg-success-text); }
.up-ico { background: var(--kg-warning-bg); color: #7A4E09; }
.bot-note { margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: var(--kg-light); font-size: 15px; }
@media (max-width: 959px) { .bot-scene { padding-bottom: 0; } .escal { position: static; margin: 16px auto 0; width: min(340px, 100%); } }
@media (min-width: 960px) { .escal { width: 260px; right: -24px; bottom: 60px; } }

/* Photo de la cliente (étape 2) */
.client-photo { margin: 24px 0 0; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--sh-card); max-width: 460px; }
.client-photo img { width: 120px; height: 120px; object-fit: cover; object-position: 50% 32%; border-radius: 12px; }
.client-photo figcaption { font: 600 15px/1.45 var(--f-body); color: var(--kg-navy); }
.client-photo figcaption span { display: block; margin-top: 6px; font: 400 12.5px/1.4 var(--f-body); color: var(--kg-text3); }
@media (min-width: 960px) { .client-photo { grid-template-columns: 150px 1fr; } .client-photo img { width: 150px; height: 170px; } }

/* Photo de la cliente, version grande (remplace la vignette) */
.client-photo { position: relative; display: block; margin: 28px 0 0; padding: 0; max-width: 520px; border-radius: 22px; overflow: hidden; background: #E9EEF3; box-shadow: var(--sh-card); grid-template-columns: none; }
.client-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 52%; border-radius: 0; }
.client-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(to top, rgba(16,36,58,.88), rgba(16,36,58,0)); color: #fff; font: 700 16px/1.4 var(--f-title); }
@media (min-width: 960px) { .client-photo { grid-template-columns: none; } .client-photo img { width: 100%; height: auto; } }

/* ═════ v1.42 — WhatsApp direct (rendez-vous, informations) + fonctionnalités du bureau + prix ═════
   Seule couleur ajoutée : le vert WhatsApp foncé (texte blanc lisible, contraste ≥ 4,5:1), réservé aux boutons WhatsApp. */
:root { --wa: #0E7A45; --wa-hover: #0B6338; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-wa .icon, .hero-wa .icon, .wa-float .icon { width: 20px; height: 20px; }
.hero-wa { margin-top: 10px; font-size: 15px; color: #DCE4EC; }
.hero-wa a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.45); }
.hero-wa a:hover { text-decoration-color: #fff; }
.hero-wa .icon { width: 18px; height: 18px; }
.offer-price { position: relative; color: #fff; font: 600 clamp(1.05rem, .95rem + .5vw, 1.3rem)/1.4 var(--f-body); margin-top: 12px; max-width: 46ch; }
.contact .btn-wa { margin: 6px 0 10px; }
.trio { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(2, 1fr); } }
.trio .card > p { margin-bottom: 0; }
.wa-float { position: fixed; z-index: 40; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 15px; border-radius: 99px; background: var(--wa); color: #fff; font: 600 15px/1 var(--f-body); text-decoration: none; box-shadow: 0 8px 24px rgba(16,36,58,.28); }
.wa-float:hover { background: var(--wa-hover); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--wa); }
@media (max-width: 700px) { .wa-float { right: 12px; bottom: 12px; } .foot { padding-bottom: 84px; } }
@media print { .wa-float { display: none; } }

/* ═════ 08/11 — démos des 3 fonctions principales : extraits muets de la vidéo, en boucle ═════
   Format téléphone (9:16) à la place de l'ancienne animation ; même ombre que les scènes « téléphone ». */
.demo-clip { margin: 0 auto; width: min(300px, 82vw); }
.demo-clip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: var(--kg-navy-deep, #0F2236); box-shadow: 0 18px 44px rgba(16,36,58,.28); }
.demo-clip figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.45; text-align: center; color: var(--kg-text3, #5B7089); }
.bot .demo-clip figcaption { color: inherit; opacity: .8; }

/* ═════ v1.42.2 — REFONTE CONVERSION : héros mobile actionnable, UN primaire, WhatsApp en contour,
   étapes condensées, bande d'offre, grille de prix, barre d'action collante (mobile). Charte inchangée. ═════ */
:root { --wa-light: #9BE7BD; }                       /* contour WhatsApp sur fond bleu nuit (≈ 9:1) */
.btn:active { transform: translateY(1px); filter: brightness(.94); }
.btn-wa-line { background: transparent; border: 2px solid currentColor; }
.btn-wa-line.is-light { color: var(--wa); }
.btn-wa-line.is-light:hover { background: rgba(14,122,69,.08); }
.btn-wa-line.is-dark { color: var(--wa-light); }
.btn-wa-line.is-dark:hover { background: rgba(155,231,189,.12); }
.btn-wa-line .icon { width: 20px; height: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-row.is-end { margin-top: clamp(36px, 5vw, 56px); }
/* Héros */
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.badge-gift { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(247,148,29,.16); border: 1px solid rgba(247,148,29,.55); color: #FFD39B; font: 700 15px/1.2 var(--f-body); }
.hero-price { color: #fff; font: 600 16px/1.3 var(--f-body); }
.hero .lead { margin-top: 24px; }
.hero .cta-row { margin-top: 22px; }
/* Étapes condensées */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } }
.step-card { display: grid; gap: 20px; align-content: start; background: #fff; border-radius: var(--r-xl); padding: clamp(20px, 3vw, 30px); box-shadow: var(--sh-card); }
.step-txt h3 { font-size: clamp(1.2rem, 1.1rem + .6vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin: 12px 0 8px; }
.step-txt p { font-size: 1.02rem; }
.step-card .demo-clip { width: min(240px, 70vw); }
.step-card .phone { width: min(300px, 100%); min-height: 430px; }
.step-card .inv-stage { width: 100%; }
/* Bande d'offre compacte */
.offer-band { display: grid; gap: 4px; align-items: center; margin-top: clamp(32px, 5vw, 48px); padding: 22px 24px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--sh-card); border-left: 6px solid var(--kg-orange); }
.offer-band p b { display: block; font: 800 clamp(1.15rem, 1rem + .6vw, 1.4rem)/1.25 var(--f-title); color: var(--kg-navy); }
.offer-band p span { display: inline-block; margin-top: 4px; color: #9A5800; font-weight: 700; }
.offer-band p span::before { content: "🎁 "; }
@media (min-width: 900px) { .offer-band { grid-template-columns: 1fr auto; gap: 24px; } .offer-band .cta-row { margin-top: 0; } }
/* Grille de prix (bloc tarif) */
.price-grid { position: relative; width: 100%; max-width: 560px; margin: 22px 0 4px; border-collapse: collapse; }
.price-grid th, .price-grid td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 1.02rem; }
.price-grid th { text-align: left; font-weight: 500; color: #C9D5E2; }
.price-grid td { text-align: right; font-weight: 800; color: #fff; white-space: nowrap; padding-left: 16px; }
.offer .cta-row { position: relative; margin-top: 26px; }
/* Mobile : tout le héros actionnable sans défiler, boutons pleine largeur */
@media (max-width: 599px) {
  .hero { padding-top: 92px; padding-bottom: 48px; }
  .hero .kicker { display: none; }
  .hero h1 { margin-top: 0; font-size: 1.95rem; line-height: 1.08; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; min-height: 52px; }
  .hero .lead { font-size: 1rem; }
  .chapter { padding: 56px 0; }
  .chapter-head { margin-bottom: 28px; }
}
/* Barre d'action collante — mobile uniquement */
.cta-bar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(16,36,58,.97); box-shadow: 0 -6px 20px rgba(16,36,58,.25); transform: translateY(110%); transition: transform .25s var(--ease); }
.cta-bar.is-on { transform: none; }
.cta-bar .btn { flex: 1; min-height: 48px; padding: 0 14px; }
.cta-bar-wa { flex: 0 0 56px; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--wa-light); border-radius: var(--r); color: var(--wa-light); }
.cta-bar-wa .icon { width: 24px; height: 24px; }
.cta-bar :focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 899px) { body { padding-bottom: 72px; } .wa-float { display: none; } }
@media (min-width: 900px) { .cta-bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .cta-bar { transition: none; } }
/* v1.42.2 — ajustements après captures : cartes d'étape alignées en haut, téléphone de hauteur fixe,
   bouton WhatsApp flottant (bureau) en CONTOUR : il ne concurrence plus le bouton primaire. */
.steps { align-items: start; }
.step-card .phone { height: 430px; min-height: 0; }
.wa-float { background: #fff; color: var(--wa); border: 2px solid var(--wa); box-shadow: 0 8px 24px rgba(16,36,58,.18); }
.wa-float:hover { background: #EEF8F2; }

/* ═════ v1.42.2 — PASSE D'HARMONIE (corrections design, aucun nouveau composant) ═════ */
/* Rythme vertical : UN espacement pour toutes les sections, bureau et mobile. */
:root { --sec: clamp(64px, 7vw, 112px); }
.chapter, .offer, .faq, .contact, .final { padding: var(--sec) 0; }
.chapter-head { margin-bottom: clamp(32px, 4vw, 56px); }
@media (max-width: 599px) { :root { --sec: 56px; } .chapter { padding: var(--sec) 0; } }
/* Héros : à gauche badge + titre + prix + 2 boutons ; à droite UN seul visuel (plus de bulles). */
.badge-gift { margin: 0 0 18px; }
.hero h1 { margin-top: 0; }
.hero-price { display: block; margin-top: 16px; font-size: 18px; }
@media (max-width: 599px) { .hero-price { font-size: 16px; margin-top: 12px; } .badge-gift { margin-bottom: 14px; } }
/* UNE taille de mockup téléphone pour toute la page : 260 px, 9:16, même rayon, même ombre, centré. */
.demo-clip, .step-card .demo-clip { width: min(260px, 76vw); margin: 0 auto; }
.demo-clip video, .demo-clip img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: var(--kg-navy-deep, #10243A); box-shadow: 0 18px 44px rgba(16,36,58,.28); }
/* 4 étapes au même rythme : numéro + une phrase, puis le visuel, alignés d'une carte à l'autre. */
.step-card { grid-template-rows: auto 1fr; align-items: start; }
@media (min-width: 900px) {
  .steps { align-items: stretch; }
  .step-card { grid-row: span 2; grid-template-rows: subgrid; row-gap: 22px; }
}
/* « Vous voyez tout » : 4 cartes identiques (même style, même hauteur). */
.cards4 { margin-top: clamp(32px, 4vw, 48px); }
.cards4 .card { display: flex; flex-direction: column; }
.cards4 .card > p { margin-bottom: 0; }
@media (min-width: 900px) { .cards4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; } }
/* Aucun cadre vide : les lignes « Messages envoyés à l'instant » sont visibles d'emblée ; l'animation ne fait plus que les surligner. */
.feed li { opacity: 1; transform: none; }

/* v1.42.4 — RECIBLAGE TRANSITAIRES (texte seulement) : le kicker revient au-dessus du titre (mobile compris),
   une ligne « Kargoo n'expédie pas de colis » sous le titre, « Premier mois offert » sous la ligne de prix. */
.hero .kicker { display: inline-flex; margin: 0 0 18px; }
.hero-sub { margin-top: 14px; color: #DCE4EC; font: 500 clamp(1rem, .95rem + .3vw, 1.15rem)/1.45 var(--f-body); max-width: 40ch; }
.hero-price + .badge-gift { margin: 12px 0 0; }
@media (max-width: 599px) {
  .hero .kicker { display: inline-flex; margin-bottom: 12px; padding: 6px 12px; font-size: 13px; }
  .hero-sub { margin-top: 10px; font-size: .95rem; }
  .hero-price + .badge-gift { margin-top: 10px; }
}
