/* =============================================================================
   MONTE, feuille de style
   Registre : « Linear / Modern » (profondeur, lumière ambiante, verre, précision),
   passé à la charte V2 « Chaleur structurée » de William Angora.
   Fond Encre, texte Papier, accent Crème, halos Terre et Olive. Jamais de Terre en
   texte sur fond sombre (1,9:1). Clash Display pour les titres, Montserrat pour le
   reste, JetBrains Mono pour les étiquettes, les timecodes et le code.
   ============================================================================= */

/* ---- Polices locales ------------------------------------------------------- */
@font-face { font-family: "Clash Display"; src: url("/masterclass-montage/assets/fonts/ClashDisplay-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/masterclass-montage/assets/fonts/ClashDisplay-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/masterclass-montage/assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/masterclass-montage/assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/masterclass-montage/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/masterclass-montage/assets/fonts/jetbrains-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/masterclass-montage/assets/fonts/jetbrains-mono-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---- Jetons ---------------------------------------------------------------- */
:root {
  --encre: #1E1814;
  --papier: #F5EEE5;
  --creme: #ECD8BB;
  --terre: #703B16;
  --olive: #8C8652;
  --bois: #4B3C20;
  --brume: #989D8C;

  --bg-deep: #120E0B;
  --bg: var(--encre);
  --bg-elev: #26201A;
  --surface: rgba(245, 238, 229, 0.05);
  --surface-hover: rgba(245, 238, 229, 0.08);
  --fg: var(--papier);
  --fg-muted: var(--brume);
  --fg-subtle: rgba(245, 238, 229, 0.6);
  --accent: var(--creme);
  --accent-bright: #F3E4CD;
  --accent-glow: rgba(112, 59, 22, 0.38);
  --olive-glow: rgba(140, 134, 82, 0.28);
  --creme-glow: rgba(236, 216, 187, 0.16);
  --border: rgba(245, 238, 229, 0.07);
  --border-hover: rgba(245, 238, 229, 0.14);
  --border-accent: rgba(236, 216, 187, 0.3);
  --ok: #B7C08F;
  --ko: #D99A7B;

  --font-title: "Clash Display", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-lg: 16px;
  --r-md: 10px;
  --r-sm: 8px;

  --shadow-card: 0 0 0 1px rgba(245, 238, 229, 0.06), 0 2px 20px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 0 0 1px rgba(245, 238, 229, 0.11), 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 80px var(--accent-glow);
  --shadow-cta: 0 0 0 1px rgba(236, 216, 187, 0.55), 0 4px 14px rgba(112, 59, 22, 0.45), 0 0 40px rgba(112, 59, 22, 0.3), inset 0 1px 0 0 rgba(255, 255, 255, 0.35);

  --max: 1180px;
  color-scheme: dark;
}

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--fg-muted); }
.subtle { color: var(--fg-subtle); }
strong { font-weight: 600; color: var(--fg); }
::selection { background: rgba(236, 216, 187, 0.3); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

/* ---- Fond en couches : dégradé, bruit, halos, grille ----------------------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, #2A211A 0%, var(--bg) 48%, var(--bg-deep) 100%);
}
.ambient .noise {
  position: absolute; inset: 0; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
}
.ambient .grid {
  position: absolute; inset: 0; opacity: 0.045;
  background-image: linear-gradient(rgba(245, 238, 229, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 238, 229, 0.5) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(120px); will-change: transform; }
.blob-1 { width: 900px; height: 1100px; left: 50%; top: -420px; transform: translateX(-50%); background: var(--accent-glow); animation: float 11s ease-in-out infinite; }
.blob-2 { width: 620px; height: 760px; left: -260px; top: 32vh; background: var(--olive-glow); filter: blur(110px); animation: float 13s ease-in-out infinite reverse; }
.blob-3 { width: 520px; height: 640px; right: -220px; top: 58vh; background: var(--creme-glow); filter: blur(100px); animation: float 9s ease-in-out infinite; }
.blob-4 { width: 800px; height: 500px; left: 30%; bottom: -260px; background: rgba(112, 59, 22, 0.22); animation: pulse 10s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate(var(--tx, 0), 0) rotate(0deg); } 50% { transform: translate(var(--tx, 0), -22px) rotate(1deg); } }
.blob-1 { --tx: -50%; }
@keyframes pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* ---- Structure ------------------------------------------------------------- */
.page { position: relative; z-index: 1; }
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
section { padding-block: clamp(4.5rem, 9vw, 8rem); }
section + section { border-top: 1px solid var(--border); }
.hairline { height: 1px; background: linear-gradient(90deg, transparent, rgba(245, 238, 229, 0.14), transparent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: 0.7; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head p { font-size: 1.1rem; color: var(--fg-muted); margin-top: 1rem; }
.gradient-text {
  background: linear-gradient(180deg, var(--papier) 0%, rgba(245, 238, 229, 0.95) 55%, rgba(245, 238, 229, 0.62) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shimmer {
  background: linear-gradient(90deg, var(--creme), #F7EAD4, var(--olive), var(--creme));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* ---- Boutons --------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.5rem; border-radius: var(--r-sm); border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; text-decoration: none; white-space: nowrap;
  transition: transform 200ms var(--ease), box-shadow 250ms var(--ease), background 200ms var(--ease), filter 200ms var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn-primary { background: var(--accent); color: var(--encre); box-shadow: var(--shadow-cta); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 600ms var(--ease);
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(236, 216, 187, 0.7), 0 8px 24px rgba(112, 59, 22, 0.55), 0 0 60px rgba(112, 59, 22, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.4); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary[aria-disabled="true"] { background: rgba(236, 216, 187, 0.35); color: rgba(30, 24, 20, 0.9); box-shadow: 0 0 0 1px rgba(236, 216, 187, 0.2); cursor: not-allowed; }
.btn-primary[aria-disabled="true"]:hover { transform: none; }
.btn-primary[aria-disabled="true"]::after { display: none; }
.btn-secondary { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--border-hover), inset 0 1px 0 0 rgba(255, 255, 255, 0.06); }
.btn-secondary:hover { background: var(--surface-hover); box-shadow: inset 0 0 0 1px var(--border-accent), 0 0 30px rgba(112, 59, 22, 0.25); }
.btn-ghost { background: transparent; color: var(--fg-muted); padding-inline: 0.9rem; }
.btn-ghost:hover { color: var(--fg); background: var(--surface); }
.btn .arrow { transition: transform 200ms var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Cartes ---------------------------------------------------------------- */
.card {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(245, 238, 229, 0.075) 0%, rgba(245, 238, 229, 0.022) 100%);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  transition: transform 250ms var(--ease), box-shadow 300ms var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 238, 229, 0.28), transparent);
}
.card .spot {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms var(--ease);
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(236, 216, 187, 0.14), transparent 60%);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card:hover .spot { opacity: 1; }
.card > * { position: relative; }
.card-glass { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(38, 32, 26, 0.55); }
.card-accent { box-shadow: var(--shadow-card), 0 0 0 1px var(--border-accent), 0 0 60px rgba(112, 59, 22, 0.22); }

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: rgba(236, 216, 187, 0.06); box-shadow: inset 0 0 0 1px var(--border-accent);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted);
}

/* ---- En-tête --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(30, 24, 20, 0.62); border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand .sep { width: 1px; height: 22px; background: var(--border-hover); }
.brand .mc { font-family: var(--font-title); font-weight: 700; letter-spacing: 0.06em; font-size: 1.05rem; }
.header-meta { display: none; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.header-cta .btn { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.9rem; }
@media (min-width: 900px) { .header-meta { display: block; } }

/* ---- Héros ----------------------------------------------------------------- */
.hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); border-top: 0; }
.hero .container { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 980px) { .hero .container { grid-template-columns: 1.45fr 1fr; gap: 4rem; } }
.hero-copy { will-change: transform, opacity; }
.hero h1 { margin-bottom: 1.3rem; max-width: 12ch; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--fg-muted); max-width: 56ch; }
.hero .lead strong { color: var(--fg); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; margin-top: 2rem; }
.hero-price { display: flex; align-items: baseline; gap: 0.6rem; }
.hero-price .amount { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.45rem, 6.5vw, 1.9rem); letter-spacing: -0.02em; }
.hero-price .fcfa { font-family: var(--font-mono); font-size: 0.85rem; color: var(--fg-muted); }
.hero-price .before, .price-card .before { font-family: var(--font-mono); font-size: 0.85rem; color: var(--fg-muted); text-decoration: line-through; text-decoration-color: rgba(217, 154, 123, 0.8); margin-left: 0.4rem; }
.price-card .before { font-size: 0.95rem; }
.mobile-bar .p small { white-space: nowrap; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.8rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; color: var(--fg-muted); }
.hero-meta span::before { content: "›"; color: var(--accent); margin-right: 0.5rem; }
.hero-prereq { margin-top: 1.6rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font-size: 0.92rem; }
.hero-prereq .label { display: block; margin-bottom: 0.4rem; }
.hero-prereq ol { margin: 0; padding-left: 1.2rem; color: var(--fg-muted); }
.hero-prereq li + li { margin-top: 0.15rem; }
.hero-prereq strong { color: var(--fg); }

/* la preuve vidéo, en 9:16 */
.proof { position: relative; width: min(100%, 360px); margin-inline: auto; }
.proof .frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--bg-deep);
  box-shadow: var(--shadow-card), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 120px var(--accent-glow);
}
.proof video { width: 100%; height: 100%; object-fit: cover; }
.proof .play {
  position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(18, 14, 11, 0.1), rgba(18, 14, 11, 0.55));
  border: 0; color: var(--fg); transition: opacity 250ms var(--ease);
}
.proof .play .btn-play {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(236, 216, 187, 0.92); color: var(--encre);
  box-shadow: 0 0 0 8px rgba(236, 216, 187, 0.14), 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 200ms var(--ease);
}
.proof .play:hover .btn-play { transform: scale(1.06); }
.proof .play[hidden] { display: none; }
.hud {
  position: absolute; left: -1.2rem; bottom: 2.2rem; width: 250px; padding: 0.9rem 1rem; border-radius: 12px;
  background: rgba(38, 32, 26, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--border-accent), 0 10px 30px rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.5; color: var(--fg-muted);
}
.hud .big { font-family: var(--font-title); font-size: 1.35rem; color: var(--fg); letter-spacing: -0.01em; line-height: 1.15; }
.hud .row { display: flex; justify-content: space-between; gap: 0.6rem; margin-top: 0.35rem; }
.hud .row b { color: var(--accent); font-weight: 500; }
.hud-top { left: auto; right: -1.2rem; bottom: auto; top: 2.2rem; width: 200px; }
@media (max-width: 979px) { .hud { left: 0.6rem; } .hud-top { right: 0.6rem; } }

/* ---- Les deux chiffres ----------------------------------------------------- */
.stats { display: grid; gap: 1rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat .label { margin-bottom: 0.6rem; }
.stat .value { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; line-height: 1.05; }
.stat .value small { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 400; color: var(--fg-muted); letter-spacing: 0; margin-left: 0.4rem; }
.stat p { color: var(--fg-muted); font-size: 0.93rem; margin-top: 0.7rem; }
.stat .note { font-family: var(--font-mono); font-size: 0.7rem; color: var(--olive); margin-top: 0.9rem; letter-spacing: 0.04em; }
.honest { margin-top: 1.6rem; color: var(--fg-muted); font-size: 0.95rem; max-width: 70ch; }

/* ---- Le transcript et la liste de coupes ----------------------------------- */
.logic { display: grid; gap: 1.2rem; }
@media (min-width: 980px) { .logic { grid-template-columns: 1.1fr 0.9fr; align-items: start; } .logic .card-terminal:first-child { margin-top: -1.5rem; } }
.card-terminal { padding: 0; background: rgba(18, 14, 11, 0.75); font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.7; }
.card-terminal .bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); color: var(--fg-muted); font-size: 0.72rem; letter-spacing: 0.08em; }
.card-terminal .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-hover); }
.card-terminal .bar i:nth-child(1) { background: rgba(217, 154, 123, 0.7); }
.card-terminal .bar i:nth-child(2) { background: rgba(236, 216, 187, 0.6); }
.card-terminal .bar i:nth-child(3) { background: rgba(183, 192, 143, 0.7); }
.card-terminal .bar .path { margin-left: auto; }
.card-terminal pre { margin: 0; padding: 1rem 1.1rem 1.2rem; overflow-x: auto; white-space: pre; color: var(--fg); }
.card-terminal .tc { color: var(--olive); }
.card-terminal .cut { color: var(--ko); text-decoration: line-through; text-decoration-color: rgba(217, 154, 123, 0.7); }
.card-terminal .keep { color: var(--fg); }
.card-terminal .why { color: var(--fg-muted); }
.card-terminal .ok { color: var(--ok); }
.card-terminal .prompt { color: var(--accent); }
.card-terminal .cursor { display: inline-block; width: 8px; height: 1em; background: var(--accent); vertical-align: -0.15em; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { opacity: 0; } }
.logic-text { display: grid; gap: 1rem; }
.logic-text .card h3 { margin-bottom: 0.5rem; }
.logic-text .card p { color: var(--fg-muted); font-size: 0.95rem; }

/* ---- Le pipeline en bento -------------------------------------------------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); } .bento .span-2 { grid-column: span 2; } .bento .span-3 { grid-column: span 3; } .bento .span-4 { grid-column: span 4; } .bento .row-2 { grid-row: span 2; } }
.step .n { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.6rem; }
.step .n::after { content: ""; flex: 1; height: 1px; background: var(--border-hover); }
.step h3 { margin-bottom: 0.45rem; }
.step p { color: var(--fg-muted); font-size: 0.93rem; }
.step .io { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--fg-subtle); display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; }
.step .io span::before { content: "→ "; color: var(--olive); }
.step-hero { display: flex; flex-direction: column; justify-content: space-between; }
.step-hero .command { margin-top: 1.2rem; padding: 0.8rem 1rem; border-radius: var(--r-sm); background: rgba(18, 14, 11, 0.75); box-shadow: inset 0 0 0 1px var(--border); font-family: var(--font-mono); font-size: 0.78rem; color: var(--fg); overflow-x: auto; white-space: nowrap; }
.step-hero .command .prompt { color: var(--accent); }

/* ---- Déroulé --------------------------------------------------------------- */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 62px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, transparent, var(--border-hover) 10%, var(--border-hover) 90%, transparent); }
.tl-item { display: grid; grid-template-columns: 48px 28px 1fr; gap: 0 0.6rem; padding: 1.05rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.tl-item:last-child { border-bottom: 0; }
.tl-item .t { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); padding-top: 0.25rem; }
.tl-item .dot { width: 10px; height: 10px; margin: 0.42rem auto 0; border-radius: 50%; background: var(--bg-elev); box-shadow: 0 0 0 1px var(--border-accent), 0 0 12px rgba(236, 216, 187, 0.25); }
.tl-item.hot .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(236, 216, 187, 0.16), 0 0 18px var(--accent); }
.tl-item h3 { font-size: 1.08rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }
.tl-item h3 .dur { font-family: var(--font-mono); font-size: 0.72rem; color: var(--fg-muted); font-weight: 400; letter-spacing: 0.08em; }
.tl-item p { color: var(--fg-muted); font-size: 0.93rem; margin-top: 0.3rem; }
.tl-item.hot h3::after { content: "le bloc qui vaut le prix"; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre); background: var(--accent); padding: 0.15rem 0.5rem; border-radius: 999px; font-weight: 500; }
@media (max-width: 560px) { .timeline::before { left: 46px; } .tl-item { grid-template-columns: 36px 20px 1fr; } }

/* ---- Ce que tu reçois ------------------------------------------------------ */
.deliverables { display: grid; gap: 1rem; }
@media (min-width: 720px) { .deliverables { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .deliverables { grid-template-columns: repeat(3, 1fr); } }
.deliverable .icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(236, 216, 187, 0.07); box-shadow: inset 0 0 0 1px var(--border-accent); color: var(--accent); margin-bottom: 1rem; }
.deliverable .icon svg { width: 20px; height: 20px; }
.deliverable h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.deliverable p { color: var(--fg-muted); font-size: 0.93rem; }
.deliverable .flag { display: inline-block; margin-top: 0.7rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); }

/* ---- Pour qui / pas pour qui ---------------------------------------------- */
.who { display: grid; gap: 1rem; }
@media (min-width: 860px) { .who { grid-template-columns: 1fr 1fr; } .who .card:nth-child(2) { transform: translateY(1.6rem); } .who .card:nth-child(2):hover { transform: translateY(calc(1.6rem - 4px)); } }
.who ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.who li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start; color: var(--fg-muted); font-size: 0.95rem; }
.who li svg { width: 18px; height: 18px; margin-top: 0.2rem; }
.who .yes li svg { color: var(--ok); }
.who .no li svg { color: var(--ko); }
.who li strong { color: var(--fg); }

/* ---- Prérequis et achat ---------------------------------------------------- */
.buy { display: grid; gap: 1.2rem; }
@media (min-width: 980px) { .buy { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.prereq-list { display: grid; gap: 0.7rem; margin-top: 1.2rem; }
.prereq {
  display: grid; grid-template-columns: 26px 1fr; gap: 0.9rem; align-items: start;
  padding: 0.95rem 1rem; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border);
  cursor: pointer; transition: box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.prereq:hover { background: var(--surface-hover); box-shadow: inset 0 0 0 1px var(--border-hover); }
.prereq input { appearance: none; width: 22px; height: 22px; margin: 0.15rem 0 0; border-radius: 6px; background: var(--bg-deep); box-shadow: inset 0 0 0 1px var(--border-hover); cursor: pointer; transition: all 150ms var(--ease); position: relative; }
.prereq input:checked { background: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 14px rgba(236, 216, 187, 0.5); }
.prereq input:checked::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--encre); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.prereq input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.prereq .txt { font-size: 0.95rem; }
.prereq .txt strong { display: block; }
.prereq .txt span { color: var(--fg-muted); font-size: 0.88rem; }
.prereq-hint { margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--fg-muted); min-height: 1.4em; }
.prereq-hint.ok { color: var(--ok); }

.price-card { position: sticky; top: 88px; }
.price-card .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.price-card .name { font-family: var(--font-title); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.04em; }
.price-card .name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.9rem; letter-spacing: 0; color: var(--fg-muted); margin-top: 0.2rem; }
/* Le montant en FCFA est plus long qu'un montant en euros : il se réduit avec la
   largeur plutôt que de se couper en deux lignes. */
.price-card .amount { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.9rem, 9vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; margin-top: 1.2rem; }
.price-card .amount > [data-price-eur], .hero-price .amount { white-space: nowrap; }
.price-card .amount small, .hero-price .fcfa { white-space: nowrap; display: inline-block; }
.price-card .amount small { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 400; color: var(--fg-muted); letter-spacing: 0; margin-left: 0.5rem; }
.price-card ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; color: var(--fg-muted); }
.price-card li::before { content: "✓"; color: var(--accent); margin-right: 0.6rem; font-family: var(--font-mono); }
.price-card .btn { width: 100%; margin-top: 1.4rem; font-size: 1.05rem; min-height: 54px; }
.price-card .micro { margin-top: 0.8rem; font-family: var(--font-mono); font-size: 0.7rem; color: var(--fg-muted); text-align: center; line-height: 1.5; }
.countdown { display: flex; gap: 0.5rem; margin-top: 1.2rem; }
.countdown .unit { flex: 1; text-align: center; padding: 0.55rem 0.2rem; border-radius: var(--r-sm); background: rgba(18, 14, 11, 0.6); box-shadow: inset 0 0 0 1px var(--border); }
.countdown .unit b { display: block; font-family: var(--font-title); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.countdown .unit span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.countdown-label { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }

/* ---- À propos -------------------------------------------------------------- */
.about { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: 300px 1fr; gap: 3.5rem; } }
.about .portrait { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card), 0 0 80px var(--accent-glow); aspect-ratio: 4 / 5; }
.about .portrait img { width: 100%; height: 100%; object-fit: cover; }
.about p { color: var(--fg-muted); }
.about p strong { color: var(--fg); }

/* ---- FAQ ------------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq details { border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: 0.6rem; transition: box-shadow 200ms var(--ease); }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--border-accent), 0 0 30px rgba(112, 59, 22, 0.14); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.15rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 1.2rem; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.15rem 1.1rem; color: var(--fg-muted); font-size: 0.95rem; }

/* ---- Pied de page ---------------------------------------------------------- */
.site-footer { position: relative; z-index: 1; padding: 3rem 0 6rem; background: var(--bg-deep); border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--fg-muted); }
.site-footer .container { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .site-footer .container { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.site-footer a { color: var(--fg-muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }

/* ---- Barre mobile ---------------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(30, 24, 20, 0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform 300ms var(--ease);
}
.mobile-bar.show { transform: translateY(0); }
.mobile-bar .p { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; }
.mobile-bar .p small { font-family: var(--font-mono); font-weight: 400; font-size: 0.68rem; color: var(--fg-muted); display: block; letter-spacing: 0; }
.mobile-bar .btn { min-height: 44px; padding-inline: 1.1rem; font-size: 0.92rem; }
@media (min-width: 980px) { .mobile-bar { display: none; } }

/* ---- Apparitions ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-group.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-group.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-group.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-group.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-group.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-group.in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-group.in > *:nth-child(8) { transition-delay: 560ms; }
/* la carte décalée de la grille « pour qui » garde son décalage une fois apparue */
@media (min-width: 860px) { .who.in .card:nth-child(2) { transform: translateY(1.6rem); } }

/* ---- Mouvement réduit ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- Refonte du 08/09/2026 : navigation, légende de la vidéo, bloc de clôture -- */
.site-nav { display: none; gap: 1.6rem; font-size: 0.88rem; }
.site-nav a { color: var(--fg-muted); text-decoration: none; white-space: nowrap; transition: color 0.2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--fg); }
@media (min-width: 1080px) { .site-nav { display: flex; } .header-meta { display: none; } }

.proof-caption { margin: 1.1rem 0 0; font-size: 0.9rem; line-height: 1.6; color: var(--fg-muted); text-align: left; }
.proof-caption strong { color: var(--fg); }

.big-claim { font-family: var(--font-title); font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.25; margin: 0; }
@media (max-width: 480px) { .brand .sep, .brand .mc { display: none; } .header-cta .btn { padding: 0.5rem 0.9rem; font-size: 0.82rem; } }
.pay-choix { display: grid; gap: 0.6rem; }
.pay-choix .btn { width: 100%; }

/* ---- Version 2 du 05/10/2026 : une colonne, mobile d'abord -------------------- */
.v2 .container { max-width: 680px; }
.v2 .hero .container { grid-template-columns: 1fr; gap: 2rem; }
.v2 .hero h1 { max-width: none; }
.v2 .proof { width: min(100%, 320px); }
.v2 .price-block { display: grid; gap: 0.6rem; justify-items: center; text-align: center; }
.v2 .price-meta { color: var(--fg-muted); font-size: 0.92rem; margin: 0; }
.v2 .btn-wide { width: 100%; justify-content: center; }
.v2 .cta-row { display: grid; gap: 0.6rem; justify-items: center; text-align: center; margin-top: 2rem; }
.v2 .cta-row .btn { width: 100%; justify-content: center; }
.v2 .cta-note { color: var(--fg-muted); font-size: 0.85rem; }
.v2 .cta-note b { color: var(--fg); font-weight: 600; }
.v2 .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.v2 .check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start; color: var(--fg-muted); font-size: 0.97rem; }
.v2 .check-list li svg { width: 18px; height: 18px; margin-top: 0.2rem; color: var(--ok); }
.v2 .check-list strong { color: var(--fg); }
.v2 .quotes { display: grid; gap: 1rem; }
.v2 .quotes blockquote { margin: 0; }
.v2 .quotes p { font-size: 1.08rem; color: var(--fg); margin: 0 0 0.6rem; }
.v2 .quotes cite { font-style: normal; font-size: 0.85rem; color: var(--fg-muted); }
.v2 .price-card { text-align: center; }
.v2 .price-card .top { justify-content: center; }
.v2 .price-card .micro { margin-top: 0.8rem; }
.v2 h1, .v2 h2 { letter-spacing: -0.005em; word-spacing: 0.12em; }
.v2 .hero { padding-block: 2rem 3rem; }
.v2 .hero .container { gap: 1.4rem; }
.v2 .proof { width: min(62vw, 260px); }
@media (min-width: 720px) { .v2 .proof { width: 300px; } }
@media (max-width: 719px) { .v2 .proof { width: min(52vw, 200px); } .v2 .proof-caption { font-size: 0.8rem; } .v2 .hero .lead { font-size: 1rem; } }
