/* ══════════════════════════════════════════════════════════════════════════
   TALIBI — accueil v1 (Z&H Platforms / Talibi / site-v1)
   Décisions : Talibi/REVIEW.md.
   · Barre : la pilule de l'Atlasi (logo · « Pour : » · WhatsApp · dashboard),
     aux couleurs de Talibi, verre flouté ; en bas de l'écran sur téléphone.
   · Hero et ruban : recopiés de talibi-signature (site.css §Hero, §Bandeau).
   · Démonstration : la grammaire « En direct » de Signature (nuit espresso).
   Jetons : apparence Pilot du produit (admin-dashboard/src/theme/palettes.js).
   ══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/inter.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-italic.woff2) format('woff2'); }
@font-face { font-family: 'Italianno'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/italianno.woff2) format('woff2'); }

:root {
  --beige-base: #e8dcc8;
  --beige-soft: #f0e6d4;
  --beige-card: #faf4ea;
  --beige-elevated: #fffbf5;
  --beige-inset: #e2d4bc;
  --ink: #2c2218;
  --brown-deep: #4a3d32;
  --brown-mid: #6b5344;
  --brown-accent: #8a6f56;
  --brown-gold: #a68652;
  --gold: #b8924a;
  --gold-light: #c4a574;
  --gold-bg: #f5ead8;
  --tertiary: #9a8470;
  --danger: #b91c1c;
  --line: rgba(107, 83, 68, 0.16);
  --line-2: rgba(107, 83, 68, 0.3);

  --night: #1b1510;
  --night-2: #241c15;
  --night-3: #2e241b;
  --n-line: rgba(245, 235, 224, 0.12);
  --n-line-2: rgba(245, 235, 224, 0.24);
  --cream: #f5ebe0;
  --cream-hi: #fff9f1;
  --n-muted: #bfae98;
  --gold-hi: #d9bb86;

  /* Départements (navHubs du tableau de bord) */
  --d-pilot: #e05040;
  --d-vs: #372595;
  --d-srv: #c98a00;
  --d-fin: #1f4a35;
  --d-adm: #2f6fb0;

  --btn-bg: linear-gradient(135deg, #8a6f56 0%, #6b5344 55%, #4a3728 100%);
  --btn-bg-hover: linear-gradient(135deg, #9a7f66 0%, #7a6350 55%, #5c4534 100%);
  --btn-fg: #fff9f1;
  --btn-shadow: 0 6px 20px rgba(74, 58, 42, 0.28);

  --f-serif: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --f-script: 'Italianno', 'Cormorant Garamond', cursive;
  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --maxw: 1320px;
  --r-card: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scroll-behavior: smooth; }
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
body { margin: 0; background: var(--beige-soft); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(52px, 6vw, 84px) 0; position: relative; z-index: 2; }

/* ── Typographie (Signature) ─────────────────────────────────────────── */
.eyebrow { font: 600 12px/1 var(--f-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--brown-mid); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.display-2, .hero-title, .lectures-title { font-family: var(--f-serif); font-weight: 600; line-height: 1; letter-spacing: -0.015em; color: var(--ink); }
.display-2 { font-size: clamp(32px, 3.6vw, 54px); }
.display-2 em { --tg: linear-gradient(115deg, #8a6f56 0%, #a68652 45%, #7a5f45 100%); font-style: italic; font-weight: 500; padding-right: 0.06em; }
.script { --tg: linear-gradient(115deg, #7a5f45 0%, #a68652 50%, #8a6f56 100%); font-family: var(--f-script); font-weight: 400; font-style: normal; font-size: 1.28em; line-height: 0.8; letter-spacing: 0.01em; padding: 0 0.1em 0 0.02em; }
.display-2 em, .script, .split em .w > span, .split .script .w > span { background: var(--tg); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.split em, .split .script { background: none; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.62; color: var(--brown-deep); max-width: 34em; }

/* ── Boutons (Signature) ─────────────────────────────────────────────── */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--f-body); letter-spacing: 0.005em; white-space: nowrap; border: 1px solid transparent; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s, filter 0.2s; }
.btn svg { font-size: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover .ico-down { transform: translateY(3px); }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: rgba(74, 58, 42, 0.25); box-shadow: var(--btn-shadow); }
.btn-primary:hover { background: var(--btn-bg-hover); box-shadow: 0 0 0 6px rgba(184, 146, 74, 0.16), 0 16px 34px -12px rgba(74, 58, 42, 0.5); filter: brightness(1.04); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255, 251, 245, 0.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--brown-accent); background: rgba(255, 251, 245, 0.8); }
.btn-soft { background: rgba(255, 251, 245, 0.55); color: var(--brown-deep); border-color: rgba(107, 83, 68, 0.2); }
.btn-soft:hover { background: rgba(255, 251, 245, 0.9); border-color: rgba(107, 83, 68, 0.35); }
.btn-gold { background: linear-gradient(135deg, #e2c894 0%, #c4a574 48%, #a68652 100%); color: var(--night); box-shadow: 0 10px 30px -10px rgba(196, 165, 116, 0.6); }
.btn-gold:hover { box-shadow: 0 0 0 6px rgba(196, 165, 116, 0.18), 0 18px 40px -12px rgba(196, 165, 116, 0.7); filter: brightness(1.05); }
.btn:disabled { opacity: 0.55; pointer-events: none; }

/* ── Barre : pilule Atlasi, habillée Talibi ──────────────────────────── */
.nav { position: fixed; inset: 14px 0 auto; z-index: 60; display: flex; justify-content: center; pointer-events: none; padding: 0 12px; }
.nav-in {
  pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 12px;
  border-radius: 999px; border: 1px solid rgba(107, 83, 68, 0.18);
  background: rgba(250, 244, 234, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 34px rgba(44, 34, 24, 0.12), inset 0 1px 0 rgba(255, 251, 245, 0.6);
  max-width: calc(100vw - 24px); transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
/* Sur une section sombre, la pilule passe en verre espresso (comme l'Atlasi) */
.nav-in, .nav .logo-wm, .nav .for, .nav .for b, .nav .btn-soft, .nav-sep { transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.nav.on-dark .nav-in { background: rgba(27, 21, 16, 0.62); border-color: rgba(245, 235, 224, 0.14); box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(245, 235, 224, 0.06); }
.nav.on-dark .logo-wm { color: var(--cream); }
.nav.on-dark .nav-sep { background: rgba(245, 235, 224, 0.16); }
.nav.on-dark .for { background: rgba(245, 235, 224, 0.08); border-color: rgba(245, 235, 224, 0.16); color: var(--n-muted); }
.nav.on-dark .for b { color: var(--cream); }
.nav.on-dark .btn-soft { background: rgba(245, 235, 224, 0.08); border-color: rgba(245, 235, 224, 0.16); color: var(--cream); }
.nav.on-dark .nav-wa svg { color: #4ade80; }
.nav.on-dark .btn-primary { background: linear-gradient(135deg, #e2c894 0%, #c4a574 48%, #a68652 100%); color: var(--night); border-color: transparent; }
.nav.on-dark .for-menu { background: rgba(36, 28, 21, 0.97); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(245, 235, 224, 0.1); }
.nav.on-dark .for-it { color: var(--cream); }
.nav.on-dark .for-it:hover, .nav.on-dark .for-it:focus-visible { background: rgba(245, 235, 224, 0.08); }
.nav.on-dark .for-it .ic { background: rgba(245, 235, 224, 0.08); color: var(--cream); }
.nav.on-dark .for-it[aria-selected='true'] .ic { background: var(--gold-light); color: var(--night); }
.nav.on-dark .for-h, .nav.on-dark .for-it .tk { color: var(--gold-hi); }
.nav.is-stuck:not(.on-dark) .nav-in { background: rgba(250, 244, 234, 0.66); box-shadow: 0 14px 44px rgba(44, 34, 24, 0.2), inset 0 1px 0 rgba(255, 251, 245, 0.6); }
.logo { display: inline-flex; align-items: center; gap: 8px; padding-right: 4px; }
.logo-mk { width: 32px; height: 32px; object-fit: contain; }
.logo-wm { font: italic 700 25px/1 var(--f-serif); color: var(--brown-deep); letter-spacing: 0.005em; }
.mbar { display: none; }
.nav-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 4px; }
.nav .btn { --h: 40px; padding: 0 16px; font-size: 13px; gap: 8px; }
.nav .btn svg { font-size: 16px; }
.nav .btn:hover svg { transform: none; }
.nav-wa svg { color: #128c7e; }

/* Sélecteur « Pour : » (mécanique de l'Atlasi) */
.for-wrap { position: relative; }
.for { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 30px 0 14px; border-radius: 999px; border: 1px solid rgba(107, 83, 68, 0.2); background: rgba(255, 251, 245, 0.55); font-size: 13.5px; font-weight: 600; color: var(--brown-mid); white-space: nowrap; transition: background 0.2s, border-color 0.2s; }
.for:hover { background: rgba(255, 251, 245, 0.9); }
.is-locked .for { cursor: default; padding-right: 14px; }
.is-locked .for:hover { background: rgba(255, 251, 245, 0.55); }
.is-locked .for::after { display: none; }
.nav.on-dark .is-locked .for:hover { background: rgba(245, 235, 224, 0.08); }
.for b { color: var(--ink); }
.for::after { content: ''; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease); }
.for-wrap.open .for::after { transform: translateY(-20%) rotate(225deg); }
.for-menu { position: absolute; z-index: 90; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 252px; padding: 8px; border-radius: 20px; background: rgba(255, 251, 245, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(44, 34, 24, 0.45), 0 0 0 1px rgba(44, 34, 24, 0.08); animation: forIn 0.28s var(--ease); }
.for-menu[hidden] { display: none; }
@keyframes forIn { from { opacity: 0; transform: translate(-50%, -6px) scale(0.98); } }
.for-h { margin: 6px 10px 8px; font: 500 italic 1.1rem/1 var(--f-serif); color: var(--brown-gold); }
.for-it { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px 0 8px; border-radius: 13px; font: 600 14.5px var(--f-body); color: var(--ink); text-align: left; }
.for-it:hover, .for-it:focus-visible { background: var(--beige-soft); outline: none; }
.for-it .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--gold-bg); color: var(--brown-mid); flex: none; }
.for-it .ic svg { width: 18px; height: 18px; }
.for-it .tk { width: 18px; height: 18px; margin-left: auto; color: var(--brown-gold); opacity: 0; }
.for-it[aria-selected='true'] .ic { background: var(--btn-bg); color: var(--cream-hi); }
.for-it[aria-selected='true'] .tk { opacity: 1; }

/* ── 1 · Hero (Signature, à l'identique) ─────────────────────────────── */
.hero { position: relative; z-index: 1; isolation: isolate; min-height: max(700px, 100svh); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 36px) 0 clamp(40px, 5vw, 64px); overflow: visible; background: var(--beige-base); }
/* La vidéo reste ancrée à l'écran. Le dégradé et le halo restent au-dessus d'elle, dans le hero.
   Le ruban et les sections (z-index 2) la recouvrent en défilant. */
.hero-media { position: fixed; top: 0; bottom: auto; right: 0; left: 24%; height: 100svh; z-index: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 42% 30%; transform: scale(1.08); animation: kenburns 16s var(--ease) forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(232, 220, 200, 0.96) 0%, rgba(232, 220, 200, 0.9) 30%, rgba(232, 220, 200, 0.35) 52%, rgba(232, 220, 200, 0) 66%), linear-gradient(180deg, rgba(232, 220, 200, 0.5) 0%, rgba(232, 220, 200, 0) 20%, rgba(232, 220, 200, 0) 72%, rgba(232, 220, 200, 0.95) 100%); }
.hero-halo { position: absolute; z-index: 1; pointer-events: none; width: 760px; height: 760px; left: 0; top: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 249, 241, 0.55) 0%, rgba(196, 165, 116, 0.14) 38%, rgba(196, 165, 116, 0) 66%); transform: translate3d(var(--hx, 22vw), var(--hy, 40vh), 0) translate(-50%, -50%); transition: transform 0.9s var(--ease); mix-blend-mode: soft-light; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hero-title { font-size: clamp(56px, min(7.6vw, 12.6svh), 128px); line-height: 0.96; margin: 2px 0 22px; max-width: 8.6em; }
.hero-title .line { display: block; clip-path: inset(-0.6em -1em 0 -1em); padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.15s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.14s; }
.hero-title .script { font-size: 1.24em; line-height: 0.9; }
@keyframes lineUp { to { transform: none; } }
.hero-sub { font-size: clamp(17px, 1.45vw, 20.5px); max-width: 33em; color: var(--brown-deep); line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: clamp(20px, 3.4svh, 30px) 0 clamp(22px, 4svh, 38px); }
.hero-proof { display: flex; flex-wrap: nowrap; gap: clamp(20px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--line-2); max-width: 900px; }
.hero-proof li { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; }
.hero-proof b { font: 700 34px/1 var(--f-serif); color: var(--ink); }
.hero-proof li > span { font-size: 13px; color: var(--brown-mid); line-height: 1.4; }
.hero-film { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(40px, 5vw, 64px); display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 22px; background: rgba(255, 251, 245, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(107, 83, 68, 0.2); box-shadow: 0 18px 40px -18px rgba(44, 34, 24, 0.45); text-align: left; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.hero-film:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -18px rgba(44, 34, 24, 0.55); }
.hero-film-img { position: relative; width: 116px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.hero-film-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-film-img i { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 249, 241, 0.92); color: var(--brown-deep); font-size: 15px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); }
.hero-film-img i svg { margin-left: 2px; }
.hero-film-txt { display: flex; flex-direction: column; gap: 3px; }
.hero-film-txt b { font: italic 700 20px/1 var(--f-serif); color: var(--ink); }
.hero-film-txt small { font-size: 12.5px; color: var(--brown-mid); font-weight: 600; }

/* ── Ruban incliné (Signature) + couleurs qui glissent ───────────────── */
.ticker {
  /* Le dégradé, deux fois plus large que le ruban, glisse lentement : l'encre
     s'éclaire en brun doré puis revient — sans jamais quitter la palette. */
  background: linear-gradient(90deg, #2c2218 0%, #4a3d32 18%, #6b5344 32%, #4a3d32 46%, #2c2218 62%, #5c4534 80%, #2c2218 100%);
  background-size: 220% 100%;
  animation: tickerHue 18s ease-in-out infinite alternate, tickerIn 1.2s var(--ease) 0.6s both;
  color: var(--cream);
  overflow: hidden; padding: 17px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -10px 0; position: relative; z-index: 3;
  box-shadow: 0 18px 40px -24px rgba(44, 34, 24, 0.6);
}
@keyframes tickerHue { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes tickerIn { from { opacity: 0; transform: rotate(0deg) scale(1.02) translateY(18px); } to { opacity: 1; transform: rotate(-1.2deg) scale(1.02); } }
.ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 44s linear infinite; }
.ticker span { font: italic 600 clamp(26px, 2.9vw, 40px)/1 var(--f-serif); white-space: nowrap; background: linear-gradient(180deg, #fff9f1 0%, #e2c894 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticker svg { width: 11px; height: 11px; color: var(--gold-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 2 · Le miroir : une question, une ligne, fondu ──────────────────── */
/* Le ruban est incliné : sous son bord droit, la vidéo ancrée apparaissait. Le fond du miroir
   remonte de 44 px derrière lui (le ruban, z-index 3, reste au-dessus). */
.miroir::before { content: ''; position: absolute; left: 0; right: 0; top: -44px; height: 46px; z-index: -1; background: var(--beige-base); }
/* Sous les questions : une bande à la couleur des boutons, en écho au ruban */
.miroir::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--btn-bg); box-shadow: 0 10px 24px -14px rgba(74, 58, 42, 0.55); }
.miroir { padding-bottom: calc(clamp(26px, 3vw, 38px) + 22px) !important; }
.miroir { position: relative; z-index: 2; padding: clamp(30px, 3.4vw, 44px) 0 clamp(26px, 3vw, 38px); text-align: center; background: linear-gradient(180deg, var(--beige-base) 0%, var(--beige-soft) 45%, var(--beige-card) 100%); }
.miroir-q { position: relative; display: grid; min-height: 1.2em; font: 500 clamp(28px, 3.4vw, 48px)/1.12 var(--f-serif); color: var(--ink); }
.miroir-q .q { grid-area: 1 / 1; align-self: center; opacity: 0; transform: translateY(10px); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease); }
.miroir-q .q.is-on { opacity: 1; transform: none; filter: none; }
.miroir-q .q.is-out { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
.miroir-q em { font-style: italic; font-weight: 600; --tg: linear-gradient(115deg, #7a5f45 0%, #b8924a 50%, #8a6f56 100%); background: var(--tg); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
.miroir-dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0 10px; }
.miroir-dots i { width: 22px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background 0.4s, width 0.4s var(--ease); }
.miroir-dots i.is-on { width: 40px; background: var(--gold); }
.miroir-a { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.2em 0.55em; font-size: clamp(18px, 1.6vw, 22px); }
.miroir-a .a1 { font: italic 500 1.2em/1.2 var(--f-serif); color: var(--brown-mid); }
.miroir-a .a2 { font-weight: 600; color: var(--ink); }
.miroir-a .a2 b { font: italic 700 1.25em/1 var(--f-serif); color: var(--brown-deep); }

/* ── 3 · Les départements : une barre, un département à la fois ──────── */
.td-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.deps { background: linear-gradient(180deg, var(--beige-card) 0%, var(--beige-soft) 100%); }
.deps.section { padding-top: clamp(18px, 2.4vw, 32px); }
.deps-head { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 34px); }
/* Le titre dans une tuile Atlas : verre, rail coloré à gauche (brun Talibi → or), marque Talibi */
.deps-title-box { position: relative; display: inline-flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); padding: clamp(12px, 1.4vw, 18px) clamp(20px, 2.4vw, 32px) clamp(12px, 1.4vw, 18px) clamp(20px, 2vw, 28px); border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--beige-elevated) 62%, transparent); border: 1px solid rgba(166, 134, 82, 0.26); box-shadow: 0 22px 44px -30px rgba(44, 34, 24, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.deps-title-box::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #6e3d21 0%, #a68652 60%, #c4a574 100%); }
.deps-title-mark { flex: none; width: clamp(40px, 3.6vw, 52px); height: auto; filter: drop-shadow(0 6px 10px rgba(110, 61, 33, 0.25)); }
.deps-title-box .display-2 { font-size: clamp(30px, 3.4vw, 46px); }
.deps-tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255, 251, 245, 0.6); border: 1px solid var(--line); box-shadow: 0 10px 28px -18px rgba(44, 34, 24, 0.4); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.deps-tabs::-webkit-scrollbar { display: none; }
.dep-pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--beige-elevated); box-shadow: 0 6px 16px -8px rgba(44, 34, 24, 0.45), inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
.dep-tab { position: relative; z-index: 1; flex: none; padding: 0 16px; height: 40px; border-radius: 999px; font: 600 14px/40px var(--f-body); color: var(--brown-mid); white-space: nowrap; transition: color 0.3s; overflow: hidden; }
.dep-tab:hover { color: var(--ink); }
.dep-tab.is-on { color: var(--c); }
.dep-bar { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; }
.dep-bar b { display: block; height: 100%; border-radius: 2px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; opacity: 0.7; }
.dep-tab.is-on .dep-bar b { animation: momentFill var(--dur, 8s) linear forwards; }
.deps-tabs.is-paused .dep-tab.is-on .dep-bar b { animation-play-state: paused; }
.deps-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.dep-copy { border-left: 3px solid var(--c); padding-left: 20px; transition: border-color 0.5s; }
.dep-copy h3 { font: italic 600 clamp(26px, 2.4vw, 34px)/1.08 var(--f-serif); color: var(--ink); margin-bottom: 10px; }
.dep-copy p { color: var(--brown-deep); font-size: 16px; line-height: 1.55; max-width: 30em; }
.dep-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.dep-tags span { font-size: 12px; font-weight: 600; color: var(--brown-mid); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 251, 245, 0.6); }
.dep-copy.is-swap > * { opacity: 0; transform: translateY(8px); }
.dep-copy > * { transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }

.screen { position: relative; border-radius: 20px; overflow: hidden; background: var(--beige-elevated); border: 1px solid rgba(107, 83, 68, 0.18); box-shadow: none; transform: perspective(1800px) rotateY(-4deg) rotateX(1.5deg); transition: transform 0.9s var(--ease); }
.screen:hover { transform: perspective(1800px) rotateY(0) rotateX(0); }
.screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 30%); }
.screen-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: rgba(240, 230, 212, 0.9); border-bottom: 1px solid var(--line); }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(107, 83, 68, 0.25); }
.screen-bar span { margin-left: 10px; font-size: 11.5px; font-weight: 600; color: var(--tertiary); }
.screen-img { position: relative; width: 100%; aspect-ratio: 1350 / 599; }
.screen-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.screen-img > img.is-leaving { opacity: 0; transform: scale(1.015); }
/* Pilotage, Vie scolaire, Finances : l'écran du tableau de bord joue en direct (showcase.css + dash-ui.css) */
.screen-img { overflow: hidden; transition: height 0.5s var(--ease); }
.dep-live { opacity: 0; transition: opacity 0.6s var(--ease); }
.screen-img.is-live .dep-live { opacity: 1; }
.screen-img.is-live > img { opacity: 0; }
/* Sous la description : le commentaire de l'écran en cours, à la place des étiquettes —
   la boîte blanche translucide de l'ancienne section 4, avec l'image et la couleur de l'écran */
.dep-scene { display: none; position: relative; margin-top: 18px; padding: 16px 18px 16px 16px; border-radius: 22px; background: rgba(255, 252, 247, 0.74); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(166, 134, 82, 0.22); box-shadow: none; transition: opacity 0.42s var(--ease), transform 0.6s var(--ease), filter 0.42s var(--ease); }
.dep-copy.is-live .dep-tags { display: none; }
.dep-copy.is-live .dep-scene { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.dep-scene.is-swap { opacity: 0; transform: translateY(10px) scale(0.98); filter: blur(6px); }
.dep-scene-art { width: 72px; height: 54px; object-fit: contain; border-radius: 14px; background: color-mix(in srgb, var(--sc, #a68652) 10%, #fffbf5); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sc, #a68652) 22%, transparent); padding: 4px; }
.dep-copy .dep-scene-k { max-width: none; font: 700 10.5px/1.2 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc, var(--c)); }
.dep-copy .dep-scene-t { max-width: none; margin-top: 6px; font: italic 600 clamp(19px, 1.6vw, 22px)/1.12 var(--f-serif); color: color-mix(in srgb, var(--sc, #2c2218) 70%, #2c2218); }
.dep-copy .dep-scene-b { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--brown-deep); }

/* ── 4 · Ce que vous ne trouverez pas ailleurs — le fil d'or descend de l'écran de la
   section 3 sur le badge du panneau (la loupe). Le diaporama : showcase.css + dash-ui.css. ─ */
@keyframes momentFill { to { transform: scaleX(1); } }
/* La section 3 s'arrête juste sous son écran ; la 4 commence sans marge :
   même fond, aucun espace mort — elle se lit comme un gros plan de la 3. */
.deps { padding-bottom: 14px; }
.feats { padding-top: 0; background: linear-gradient(180deg, var(--beige-base) 0%, var(--beige-soft) 100%); }

/* La loupe : fil d'or tracé au défilement, de l'écran (à droite) au panneau (à gauche) */
.zoom { position: relative; height: clamp(70px, 8vw, 110px); }
.zoom-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.zoom-line path { fill: none; stroke-linecap: round; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 1.4s var(--ease); }
.zoom-path { stroke: #b8924a; stroke-width: 2; }
.zoom-glow { stroke: rgba(196, 165, 116, 0.4); stroke-width: 7; filter: blur(3px); }
.zoom.is-in .zoom-line path { stroke-dashoffset: 0; }
.zoom-src { position: absolute; left: var(--sx, 73%); top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(184, 146, 74, 0.18); }

.feats-panel { position: relative; padding: clamp(30px, 3vw, 40px) clamp(20px, 2.6vw, 34px) clamp(18px, 2vw, 24px); border-radius: 30px; background: linear-gradient(180deg, rgba(255, 251, 245, 0.85), rgba(255, 251, 245, 0.55)); border: 1px solid rgba(166, 134, 82, 0.28); box-shadow: 0 30px 70px -44px rgba(44, 34, 24, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7); }
.zoom-badge { position: absolute; z-index: 2; top: 0; left: var(--bx, 24%); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--beige-elevated); border: 1px solid rgba(166, 134, 82, 0.4); box-shadow: 0 12px 26px -14px rgba(44, 34, 24, 0.5); font: italic 600 18px/1 var(--f-serif); color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity 0.6s var(--ease) 1.1s, transform 0.6s var(--ease) 1.1s; }
.feats.is-zoomed .zoom-badge { opacity: 1; }
.zoom-lens { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--btn-bg); color: var(--cream-hi); font-size: 18px; }

/* ── 6 · L'application — règles reprises de talibi.page.gd ─────────────── */
/* Fond uni (beige doux) : la section 4 s'achève sur ce ton et la FAQ y commence — plus de couture.
   La section démarre sans marge : le fil d'or part du bas du panneau de la section 4. */
.appli { background: var(--beige-soft); overflow: hidden; }
.appli.section { padding-top: 0; }
.deps.section { padding-bottom: 0; }
.appli.is-zoomed .zoom-badge { opacity: 1; }
.appli-panel { max-width: none; width: 100%; margin: 0; padding: 42px clamp(24px, 3vw, 52px) 28px; }
.split-grid.appli-grid { grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.appli-copy .display-2 { font-size: clamp(30px, 2.9vw, 40px); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.appli-copy .lead { margin: 12px 0 18px; font-size: 15.5px; line-height: 1.55; }
.role-copy { margin-top: 16px; min-height: 0; }
.role-copy > * { animation: rowIn 0.5s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } }
.role-copy > p { font: italic 600 19px/1.3 var(--f-serif); color: var(--ink); max-width: 32em; margin-bottom: 12px; }
.appli-note { margin-top: 6px; font-size: 12px; color: var(--tertiary); }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.store-badge { display: block; line-height: 0; border-radius: 8px; overflow: hidden; transition: transform 0.35s var(--ease), filter 0.2s; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.06); }
.store-badge img { height: 52px; width: auto; }
.ticks { display: grid; gap: 8px; margin-bottom: 12px; font-size: 14.5px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--brown-deep); }
.ticks svg { flex: none; font-size: 15px; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(138, 111, 86, 0.14); color: var(--brown-deep); margin-top: -2px; }
.ticks b { color: var(--ink); font-weight: 600; }
.phones { position: relative; height: clamp(400px, 32vw, 470px); animation: appliFloat 9s ease-in-out infinite; }
@keyframes appliFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.phones::before { content: ''; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(196, 165, 116, 0.38), transparent 75%); filter: blur(10px); }
.phone { position: absolute; left: 50%; top: 50%; margin: 0; width: clamp(160px, 13vw, 200px); aspect-ratio: 620 / 1344; padding: 7px; border-radius: 34px; cursor: pointer; background: linear-gradient(145deg, #6b5344 0%, #4a3728 45%, #2c2218 100%); box-shadow: 0 40px 80px -30px rgba(44, 34, 24, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08); transform: translate(-50%, -50%) translateX(var(--x, 0)) rotate(var(--r, 0deg)) scale(var(--s, 1)); transition: transform 0.9s var(--ease), filter 0.6s, opacity 0.6s; z-index: var(--z, 1); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.phone.is-front { --x: 0px; --r: 0deg; --s: 1; --z: 3; cursor: default; }
.phone.is-left { --x: -58%; --r: -8deg; --s: 0.84; --z: 2; filter: saturate(0.85) brightness(0.97); }
.phone.is-right { --x: 58%; --r: 8deg; --s: 0.84; --z: 2; filter: saturate(0.85) brightness(0.97); }
.rseg { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 251, 245, 0.55); max-width: 100%; }
.rseg button { position: relative; z-index: 1; height: 44px; padding: 0 20px; border-radius: 999px; font: 600 14.5px/1 var(--f-body); color: var(--brown-mid); transition: color 0.3s; white-space: nowrap; }
.rseg button.is-on { color: var(--btn-fg); }
.rseg-pill { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--btn-bg); box-shadow: var(--btn-shadow); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }

/* ── Affiche sous l'application : bords fondus, flottement, même appel ─ */
.poster { --poster-a: 1; background: transparent; padding-top: clamp(56px, 7vh, 88px); padding-bottom: clamp(56px, 7vh, 88px); }
/* Le milieu reste à 60 % pour laisser deviner la vidéo. Haut et bas reviennent
   au beige plein, pour qu'il n'y ait pas de coupure avec les sections voisines. */
.poster::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--beige-soft) 0%, rgba(240, 230, 212, var(--poster-a)) 28%, rgba(240, 230, 212, var(--poster-a)) 72%, var(--beige-soft) 100%);
}
.poster-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr); align-items: center; gap: clamp(20px, 4vw, 72px); }
.poster-stage { width: min(100%, 560px); justify-self: start; }
.poster-stage.rise { opacity: 0; transform: scale(0.86); }
.poster-stage.rise.is-in { opacity: 1; transform: none; }
.poster-float { position: relative; width: 100%; margin: 0; animation: posterFloat 7.5s ease-in-out infinite; }
.poster-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.poster-cta { position: static; margin: 0; margin-top: 22px; }
/* L'offre (Hormozi) : le résultat, la preuve qu'on ne risque rien, la rareté, puis l'appel */
.poster-title { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.poster-lead { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--brown-deep); max-width: 30em; }
.poster-pts { margin: 18px 0 0; }
.poster-nudge { margin-top: 18px; font: italic 600 19px/1.3 var(--f-serif); color: #6e3d21; }
.poster-float::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 7%; height: 7%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(44, 34, 24, 0.2), transparent 72%); filter: blur(14px); z-index: -1; pointer-events: none; }
.poster-float img {
  width: 100%; height: auto;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 90%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 7%, #000 90%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}
@keyframes posterFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── 7 · Les questions (talibi.ma) ───────────────────────────────────── */
.faq { background: linear-gradient(180deg, var(--beige-soft) 0%, var(--beige-base) 100%); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid > :first-child { position: sticky; top: 110px; }
.faq-grid .lead { margin-top: 14px; }
.accordion { border-top: 1px solid var(--line-2); }
.accordion details { border-bottom: 1px solid var(--line-2); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; cursor: pointer; list-style: none; font: italic 600 clamp(20px, 1.7vw, 24px)/1.25 var(--f-serif); color: var(--ink); transition: color 0.2s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--brown-gold); }
.accordion summary svg { font-size: 20px; color: var(--gold); flex: none; transition: transform 0.4s var(--ease); }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion details p { padding: 0 40px 20px 0; color: var(--brown-deep); line-height: 1.7; }

/* ── Le panneau d'essai ──────────────────────────────────────────────── */
.trial { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 16px; }
.trial[hidden] { display: none; }
.trial-bg { position: absolute; inset: 0; background: rgba(27, 21, 16, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fadeIn 0.35s var(--ease) both; }
.trial-box { position: relative; width: min(980px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; padding: clamp(26px, 3.4vw, 44px); border-radius: 30px; background: radial-gradient(600px 300px at 0% 0%, rgba(196, 165, 116, 0.22), transparent 60%), var(--beige-elevated); border: 1px solid rgba(107, 83, 68, 0.16); box-shadow: 0 50px 100px -30px rgba(27, 21, 16, 0.6); animation: trialIn 0.5s var(--ease) both; }
@keyframes trialIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.trial-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--brown-deep); background: rgba(255, 251, 245, 0.8); border: 1px solid var(--line-2); transition: background 0.2s; }
.trial-x:hover { background: var(--beige-soft); }
.trial-title { font: 600 clamp(32px, 3.6vw, 48px)/1.02 var(--f-serif); color: var(--ink); }
.trial-pts { display: grid; gap: 8px; margin-top: 4px; }
.trial-pts li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--brown-deep); }
.trial-pts svg { font-size: 16px; color: var(--brown-gold); }
.trial-box .essai-form { padding-top: 8px; }
.trial-lead { margin-top: 14px; color: var(--brown-deep); font-size: 16px; line-height: 1.55; }
.essai-founders { margin: 14px 0 18px; display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--gold-bg); border: 1px solid var(--line); font-size: 13.5px; color: var(--brown-deep); }
.essai-founders b { margin-right: 4px; color: var(--ink); }
.essai-form { margin: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: 12.5px; font-weight: 700; color: var(--brown-mid); }
.field input, .field select { height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--beige-card); font: 500 15.5px var(--f-body); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--brown-mid) 50%), linear-gradient(135deg, var(--brown-mid) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--beige-elevated); box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.16); }
.field.is-bad input, .field.is-bad select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.1); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.essai-fine { margin-top: 14px; font-size: 13px; color: var(--brown-mid); text-align: center; }
.essai-msg { margin-top: 12px; font-size: 14px; color: var(--danger); text-align: center; }
.essai-msg a { font-weight: 700; text-decoration: underline; }
.essai-done { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: #e3f0e6; color: #1f5137; }
.essai-done[hidden] { display: none; }
.essai-done > svg { font-size: 22px; margin-top: 2px; }
.essai-done b { font: italic 700 22px/1 var(--f-serif); }
.essai-done p { font-size: 14.5px; margin-top: 6px; }

/* ── 7 · Réassurance + 8 · Pied de page : un seul bloc, une seule couleur ──
   Le cacao des boutons (#5c4534) : il est déjà partout sur la page, il se fond au beige.
   Une feuille aux coins arrondis se lève du beige ; tout le texte est crème. */
.reassure { position: relative; z-index: 2; isolation: isolate; background: var(--beige-base); padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); color: var(--cream); }
.reassure::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) 0 0; background: #5c4534; box-shadow: 0 -22px 50px -34px rgba(74, 58, 42, 0.55), inset 0 1px 0 rgba(255, 251, 245, 0.16); }
.reassure-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.reassure-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 251, 245, 0.07); border: 1px solid rgba(255, 251, 245, 0.14); }
.reassure-list b { font-size: 14.5px; color: var(--cream-hi); }
.reassure-list span { font-size: 13.5px; color: #e6d3bb; }

/* ── 8 · Pied de page ────────────────────────────────────────────────── */
.footer {
  z-index: 2;
  --n-muted: #e6d3bb;
  --n-line: rgba(245, 235, 224, 0.16);
  position: relative; isolation: isolate;
  background: #5c4534;
  color: var(--cream); padding: clamp(28px, 3vw, 40px) 0 calc(28px + env(safe-area-inset-bottom));
}
/* L'appel : un bouton crème sur le cacao, plus d'or */
.footer-top .btn { background: var(--cream-hi); color: #4a3728; border-color: transparent; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.45); }
.footer-top .btn:hover { background: #fff; box-shadow: 0 0 0 6px rgba(255, 251, 245, 0.14), 0 16px 34px -14px rgba(0, 0, 0, 0.5); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--n-line); }
.logo-light .logo-wm { color: var(--cream); font-size: 30px; }
.logo-light .logo-mk { width: 38px; height: 38px; }
.footer-brand p { color: var(--n-muted); margin-top: 14px; max-width: 26em; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--n-line); font-size: 14px; color: var(--n-muted); }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cream-hi); }
.footer-wa svg { font-size: 18px; }
.footer-acces { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-weight: 600; color: var(--cream-hi); border-bottom: 1px solid rgba(255, 251, 245, 0.45); padding-bottom: 2px; }
.footer-acces svg { font-size: 16px; transition: transform 0.3s var(--ease); }
.footer-acces:hover svg { transform: translateX(3px); }
@media (max-width: 640px) { .footer-acces { margin-left: 0; } }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 22px; font-size: 13.5px; color: var(--n-muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom nav a { color: var(--cream-hi); }
.footer-bottom nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ── Lecteur vidéo (Signature) ───────────────────────────────────────── */
.player { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.player[hidden] { display: none; }
.player-bg { position: absolute; inset: 0; background: rgba(27, 21, 16, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.player-box { position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 9; }
.player-frame { width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8); }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-x { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; background: rgba(255, 249, 241, 0.14); border: 1px solid rgba(255, 249, 241, 0.25); }

/* ── Apparitions (Signature) ─────────────────────────────────────────── */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.rise.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; vertical-align: top; clip-path: inset(-0.6em -0.3em 0 -0.3em); padding-bottom: 0.14em; margin-bottom: -0.14em; }
.split .script .w { padding-bottom: 0.32em; margin-bottom: -0.32em; clip-path: inset(-1.2em -0.6em 0 -0.6em); }
/* Les lettres de l'Italianno débordent de leur boîte : le dégradé (background-clip: text)
   ne peint que dans la boîte, le haut des jambages disparaissait. On agrandit la boîte. */
.split .script .w > span { padding: 0.32em 0.14em 0.04em; margin: -0.32em -0.14em -0.04em; }
.split .w > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .w > span { transform: none; }

/* ── Réactif ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-wa span { display: none; }
  .nav-wa { width: 40px; padding: 0; }
  .deps-grid { grid-template-columns: minmax(0, 1fr); }
  .screen { transform: none; }
  .live-card { position: static; width: auto; border-radius: 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; background: var(--beige-elevated); }
  .live-bar span { transform: none; }
  .deps-grid { padding-bottom: 6px; }
  .split-grid, .faq-grid, .poster-wrap { grid-template-columns: minmax(0, 1fr); }
  .split-grid.appli-grid { grid-template-columns: minmax(0, 1fr); }
  .appli .split-grid > .appli-copy { order: 1; }
  .role-copy { min-height: 0; }
  .phones { height: clamp(420px, 92vw, 560px); }
  .phone { width: clamp(190px, 44vw, 240px); }
  .trial-box { grid-template-columns: minmax(0, 1fr); gap: 14px; width: min(560px, 100%); }
  .trial-title { padding-right: 44px; font-size: 30px; }
  .faq-grid > :first-child { position: static; }
  .reassure-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  /* La vidéo en tête, le texte dessous — jamais le titre sur les visages (Signature) */
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding: 0 0 44px; }
  .hero::before { display: none; }
  .hero-media { position: relative; inset: auto; flex: none; height: clamp(340px, 56svh, 600px); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(232, 220, 200, 0.5) 0%, rgba(232, 220, 200, 0) 28%); }
  .hero-media video { object-position: 50% 22%; }
  .hero-inner { position: relative; margin-top: -40px; }
  .hero-film { display: none; }
  .hero-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Téléphone : la même pilule, en bas de l'écran */
@media (max-width: 760px) {
  /* Barre du haut : logo complet · « Directeur » · Dashboard. WhatsApp et l'essai passent en bas. */
  .nav { inset: calc(8px + env(safe-area-inset-top)) 0 auto; padding: 0 10px; }
  .nav-in { width: 100%; justify-content: space-between; gap: 6px; padding: 6px 6px 6px 10px; background: rgba(250, 244, 234, 0.72); box-shadow: 0 14px 40px rgba(44, 34, 24, 0.22), inset 0 1px 0 rgba(255, 251, 245, 0.6); }
  .nav .logo-wm { display: inline; font-size: 22px; }
  .nav .logo-mk { width: 30px; height: 30px; }
  .nav-sep { display: none; }
  .nav .nav-wa { display: none; }
  .for .pre { display: none; }
  .for { padding: 0 26px 0 12px; height: 38px; }
  .nav .btn { --h: 38px; }
  .nav-dash { padding: 0 14px; }
  /* Barre du bas : l'essai, et WhatsApp à droite */
  .mbar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(250, 244, 234, 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(255, 251, 245, 0.7); box-shadow: 0 14px 40px rgba(44, 34, 24, 0.28), inset 0 1px 0 rgba(255, 251, 245, 0.6); }
  .mbar .btn { --h: 44px; }
  .mbar-cta { flex: 1; justify-content: center; font-size: 14.5px; }
  .mbar-wa { flex: none; width: 44px; padding: 0; justify-content: center; }
  .mbar-wa svg { font-size: 20px; color: #128c7e; }
  /* Vidéo ancrée en haut. Son bord du bas se fond dans le beige, et l'accroche
     démarre sur ce fondu. Le texte recouvre l'image au défilement. */
  .hero { --mh: min(66svh, 104vw); padding-top: var(--mh); padding-bottom: 0; background: linear-gradient(180deg, transparent calc(var(--mh) * 0.52), var(--beige-base) calc(var(--mh) * 0.9)); }
  .hero-media { position: fixed; top: 0; left: 0; right: 0; bottom: auto; width: 100%; height: var(--mh); aspect-ratio: auto; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 96%); mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 96%); }
  .hero-media::after { display: none; }
  .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; transform: scale(1.12); animation: none; }
  .hero-inner { margin-top: -158px; padding-top: 4px; padding-bottom: 48px; background: linear-gradient(180deg, transparent 0, transparent 170px, var(--beige-base) 170px); }
  .hero-inner::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; bottom: auto; height: 172px; pointer-events: none; background: linear-gradient(180deg, rgba(232, 220, 200, 0) 0%, rgba(232, 220, 200, 0.55) 12%, rgba(232, 220, 200, 0.7) 42%, rgba(232, 220, 200, 0.94) 74%, var(--beige-base) 100%); }
  .hero-ctas .btn-primary { display: none; }
  .poster { background: var(--beige-soft); }
  .poster::before { content: none; }
  .hero .eyebrow { margin-top: 4px; }
  .hero-halo { display: none; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 0; }
  .hero-title { font-size: clamp(50px, 14.5vw, 76px); }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .hero-proof b { font-size: 28px; }
  .miroir-q { min-height: 2.3em; font-size: 26px; }
  .deps-tabs { width: 100%; }
  .dep-tab { padding: 0 13px; font-size: 13.5px; }
  .fields { grid-template-columns: 1fr; }
  .phone { width: clamp(180px, 50vw, 230px); }
  .phone.is-left { --x: -46%; }
  .phone.is-right { --x: 46%; }
  .rseg { width: 100%; }
  .rseg button { flex: 1; padding: 0 8px; font-size: 13px; }
  .seg { width: 100%; }
  .seg-btn { flex: 1; padding: 0 10px; font-size: 13.5px; }
  .seg-bar { left: 12px; right: 12px; }
  .trial-pts { display: none; }
  .accordion details p { padding-right: 0; }
  .reassure-list { grid-template-columns: 1fr; }
  .footer-top .btn { width: 100%; }
}
.nav-dash .l-short { display: none; }
@media (max-width: 430px) {
  .nav-dash .l-long { display: none; }
  .nav-dash .l-short { display: inline; }
  .nav-dash { padding: 0 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .rise, .poster-stage.rise, .split .w > span, .hero-title .line > span { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .hero-media video { animation: none; transform: none; }
}

/* ── Bandeau cookies (2026-10-02, intégration dans talibi-site) ─────────────
   `assets/css/cookie-consent.css` emprunte `.btn--gold` / `.btn--ghost` à la feuille
   du reste du site (`_astro/cgu.*.css`), que cette page ne charge pas : « Accepter »
   perdait son or. Valeurs recopiées de cette feuille (jetons --gold-light #c4a574,
   --gold #b8924a, --gold-deep #a68652, --line), limitées au bandeau. */
.cc-actions .btn { height: auto; min-height: 36px; padding: .55rem .8rem; font-size: .76rem; font-weight: 650; }
.cc-actions .btn--gold { background: linear-gradient(160deg, #c4a574, #b8924a); border-color: #a68652; color: #241a09; font-weight: 700; }
.cc-actions .btn--ghost { background: transparent; border-color: rgba(107, 83, 68, .24); color: #2c2218; box-shadow: none; }
.cc-actions .btn--gold:hover, .cc-actions .btn--ghost:hover { border-color: #c4a574; }
