/* Club CHAHIFAD · deck proposition · direction Lumière */
:root {
  --cream: #F7F1E6;
  --cream-2: #EFE6D4;
  --ink: #152A1F;
  --ink-soft: #3D5247;
  --terra: #C2591F;
  --gold: #A8801F;
  --gold-l: #E9C982;
  --st-g: #1E4D3B;
  --st-r: #A6371F;
  --st-o: #D9A441;
  --line: rgba(21, 42, 31, 0.14);
  --line-d: rgba(244, 238, 223, 0.18);
  --display: "Fraunces", Georgia, serif;
  --font: "Outfit", system-ui, sans-serif;
  --pad: clamp(1.2rem, 4vw, 4.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { background: var(--ink); color: var(--ink); font-family: var(--font); font-weight: 300; overflow: hidden; }
img { max-width: 100%; display: block; }

/* Barre de progression + entête */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.14); z-index: 20; }
.progress span { display: block; height: 100%; width: 9%; background: var(--gold-l); transition: width .3s ease; }
.topbar { position: fixed; top: 3px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 14px 26px; z-index: 20; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,238,223,.85); mix-blend-mode: difference; }
.tb-brand i { font-style: normal; color: var(--gold-l); }

/* Diapositives : une seule visible, plein écran */
.slide { display: none; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; padding: calc(var(--pad) + 20px) var(--pad) var(--pad); background: var(--cream); flex-direction: column; justify-content: center; position: relative; }
.slide.active { display: flex; animation: slide-in .45s ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide.active { animation: none; } }
.slide::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--st-g) 0 42px, var(--cream) 42px 48px, var(--st-r) 48px 90px, var(--cream) 90px 96px, var(--st-o) 96px 138px, var(--cream) 138px 144px); }

/* Typographie */
.kicker { display: flex; align-items: center; gap: 13px; font-size: clamp(10px, 1.2vw, 12.5px); letter-spacing: .26em; text-transform: uppercase; color: var(--terra); font-weight: 500; margin-bottom: clamp(10px, 1.8vh, 22px); }
.kicker::before { content: ""; width: 40px; height: 1px; background: var(--terra); flex: none; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 5.6rem); line-height: 1.02; letter-spacing: -.015em; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.01em; margin-bottom: clamp(14px, 3vh, 34px); }
h1 em, h2 em { font-style: italic; color: var(--terra); }
.nobr { white-space: nowrap; }

/* Diapos sombres */
.s-dark { background: var(--ink); color: #F4EEDF; }
.s-dark h2 em { color: var(--gold-l); }
.s-dark .kicker { color: var(--gold-l); }
.s-dark .kicker::before { background: var(--gold-l); }
.s-dark::before { background: repeating-linear-gradient(90deg, var(--st-g) 0 42px, var(--ink) 42px 48px, var(--st-r) 48px 90px, var(--ink) 90px 96px, var(--st-o) 96px 138px, var(--ink) 138px 144px); }

/* 1 · Couverture */
.cover-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.cover-lines { margin-top: clamp(14px, 2.6vh, 26px); font-size: clamp(.95rem, 1.7vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }
.cover-lines b { color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(16px, 3vh, 30px); }
.chip { border: 1.5px solid var(--gold); border-radius: 100px; padding: .55em 1.1em; font-size: clamp(.8rem, 1.4vw, 1rem); font-weight: 500; }
.chip-terra { background: var(--terra); border-color: var(--terra); color: #FFF6E9; }
.cover-sig { margin-top: clamp(16px, 3.4vh, 34px); font-size: clamp(.8rem, 1.2vw, .95rem); color: var(--ink-soft); letter-spacing: .06em; }
.cover-visual img { width: 100%; aspect-ratio: 4 / 5; max-height: 74vh; object-fit: cover; border-radius: 260px 260px 20px 20px; }

/* 2 · Reçus avec captures du site en ligne */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.6vw, 40px); align-items: start; }
.pf { position: relative; }
.pf img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 16px 38px rgba(21,42,31,.16); max-height: 34vh; width: 100%; object-fit: cover; object-position: top; }
.pf figcaption { display: inline-block; margin-top: 8px; background: var(--ink); color: #F4EEDF; font-size: clamp(.62rem, 1vw, .78rem); letter-spacing: .04em; padding: .45em 1em; border-radius: 100px; }
.pf-sm { width: 72%; margin-top: clamp(8px, 1.6vh, 16px); }
.pf-sm img { max-height: 22vh; }
.receipts { list-style: none; display: grid; gap: clamp(8px, 1.5vh, 14px); }
.receipts li { position: relative; padding-left: 26px; font-size: clamp(.74rem, 1.2vw, .92rem); color: var(--ink-soft); line-height: 1.45; }
.receipts li::before { content: "✕"; position: absolute; left: 0; top: 1px; color: var(--st-r); font-weight: 600; }
.receipts b { display: block; color: var(--ink); font-weight: 600; font-size: clamp(.82rem, 1.35vw, 1rem); }
.proof-note { margin-top: clamp(12px, 2.2vh, 20px); padding: 12px 16px; background: var(--cream-2); border-left: 3px solid var(--terra); border-radius: 0 12px 12px 0; font-size: clamp(.75rem, 1.2vw, .92rem); color: var(--ink-soft); }

/* 3 · Diapo déclaration (pivot nouveau départ) */
.s-statement .st-lines { display: grid; gap: clamp(12px, 2.4vh, 22px); max-width: 820px; }
.s-statement .st-lines p { font-size: clamp(.95rem, 1.8vw, 1.3rem); line-height: 1.6; color: rgba(244,238,223,.82); }
.s-statement .st-lines b { color: var(--gold-l); font-weight: 600; }
.s-statement .st-final { font-family: var(--display); font-style: italic; color: #F4EEDF; font-size: clamp(1.1rem, 2.2vw, 1.6rem); }

/* 4 · Chaîne + duo */
.slide:not(.s-dark) .link { color: var(--ink-soft); }
.slide:not(.s-dark) .link span { border-color: var(--line); color: var(--terra); }
.chain { display: grid; gap: clamp(7px, 1.2vh, 12px); margin-bottom: clamp(14px, 3vh, 30px); }
.link { display: flex; align-items: center; gap: 14px; font-size: clamp(.85rem, 1.5vw, 1.1rem); color: rgba(244,238,223,.9); }
.link span { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-style: italic; color: var(--gold-l); font-size: .85em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.duo-card { border: 1px solid var(--line-d); border-radius: 18px; padding: clamp(14px, 2vw, 26px); }
.slide:not(.s-dark) .duo-card { border-color: var(--line); background: #FFFDF8; }
.duo-k { display: block; font-size: clamp(.65rem, 1vw, .8rem); letter-spacing: .2em; text-transform: uppercase; color: var(--terra); font-weight: 600; margin-bottom: 8px; }
.s-dark .duo-k { color: var(--gold-l); }
.duo-card b { font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.6rem); font-weight: 500; display: block; margin-bottom: 6px; }
.duo-card p { font-size: clamp(.75rem, 1.2vw, .95rem); color: inherit; opacity: .75; line-height: 1.5; }
.duo-good { background: var(--st-g); border-color: var(--st-g); color: #F4EEDF; }
.slide:not(.s-dark) .duo-good { background: var(--st-g); color: #F4EEDF; border-color: var(--st-g); }
.duo-good .duo-k { color: var(--gold-l); }

/* 4 · Démo */
.demo-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(16px, 3vw, 44px); align-items: center; }
.shots { position: relative; }
.shot-d { width: 92%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(21,42,31,.18); max-height: 58vh; object-fit: cover; object-position: top; }
.shot-m { position: absolute; right: 0; bottom: -8%; width: 26%; border-radius: 14px; border: 3px solid var(--ink); box-shadow: 0 18px 40px rgba(21,42,31,.28); max-height: 46vh; object-fit: cover; object-position: top; }
.checks { list-style: none; display: grid; gap: clamp(8px, 1.4vh, 14px); }
.checks li { position: relative; padding-left: 30px; font-size: clamp(.85rem, 1.4vw, 1.05rem); line-height: 1.45; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--st-g); color: #F4EEDF; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.demo-note { margin-top: clamp(12px, 2.4vh, 22px); padding: 14px 18px; background: var(--cream-2); border-left: 3px solid var(--terra); border-radius: 0 12px 12px 0; font-size: clamp(.78rem, 1.25vw, .95rem); color: var(--ink-soft); }

/* 7/9 · colonnes */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 26px); }
.sc-col { border-radius: 18px; padding: clamp(14px, 2vw, 28px); }
.ba-h { display: block; font-family: var(--display); font-size: clamp(1rem, 1.8vw, 1.4rem); font-weight: 500; margin-bottom: clamp(8px, 1.6vh, 16px); }
.scope ul { list-style: none; display: grid; gap: clamp(6px, 1.1vh, 11px); }
.scope li { font-size: clamp(.8rem, 1.3vw, 1rem); line-height: 1.45; padding-left: 22px; position: relative; }
.sc-in { background: #FFFDF8; border: 1px solid var(--line); }
.sc-in li::before { content: "✓"; position: absolute; left: 0; color: var(--st-g); font-weight: 600; }
.sc-out { background: var(--cream-2); border: 1px solid var(--line); }
.sc-out li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }
.sc-note { margin-top: clamp(10px, 2vh, 18px); font-size: clamp(.72rem, 1.15vw, .88rem); color: var(--ink-soft); font-style: italic; font-family: var(--display); }
.opt-band { margin-top: clamp(12px, 2.2vh, 22px); border: 1.5px dashed var(--gold); border-radius: 16px; padding: clamp(12px, 1.8vw, 20px) clamp(14px, 2vw, 24px); background: #FFFDF8; }
.opt-band .opt-k { display: block; font-size: clamp(.62rem, .95vw, .76rem); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.opt-band p { font-size: clamp(.78rem, 1.25vw, .95rem); color: var(--ink-soft); line-height: 1.5; }
.opt-band b { color: var(--ink); font-weight: 600; }
.s-dark .sc-in, .s-dark .sc-out { background: rgba(244,238,223,.06); border-color: var(--line-d); }

/* 6 · Offre */
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.of-card { background: #FFFDF8; border: 1px solid var(--line); border-radius: 20px; padding: clamp(16px, 2.4vw, 32px); text-align: center; }
.of-hero { background: var(--ink); color: #F4EEDF; border-color: var(--ink); }
.of-k { display: block; font-size: clamp(.65rem, 1vw, .8rem); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--terra); margin-bottom: 10px; }
.of-hero .of-k { color: var(--gold-l); }
.of-card b { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 2.1rem); display: block; margin-bottom: 8px; }
.of-card b i { font-style: normal; font-size: .55em; color: inherit; opacity: .7; }
.of-card p { font-size: clamp(.75rem, 1.2vw, .92rem); opacity: .75; line-height: 1.5; }
.of-note { margin-top: clamp(12px, 2.6vh, 24px); font-size: clamp(.78rem, 1.25vw, .95rem); color: var(--ink-soft); }
.s-dark .of-note { color: rgba(244,238,223,.75); }

/* 10 · Calendrier */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.4vw, 18px); }
.tl { background: #FFFDF8; border: 1px solid var(--line); border-radius: 16px; padding: clamp(12px, 1.6vw, 22px); }
.tl span { display: inline-block; font-family: var(--display); font-style: italic; color: var(--terra); font-size: clamp(.85rem, 1.4vw, 1.1rem); margin-bottom: 8px; }
.tl b { display: block; font-size: clamp(.82rem, 1.3vw, 1rem); font-weight: 600; margin-bottom: 5px; }
.tl p { font-size: clamp(.7rem, 1.1vw, .85rem); color: var(--ink-soft); line-height: 1.45; }

/* 11 · CTA */
.s-cta { text-align: center; align-items: center; }
.s-cta .kicker { justify-content: center; }
.s-cta .kicker::before { display: none; }
.cta-sub { max-width: 560px; font-size: clamp(.9rem, 1.5vw, 1.1rem); color: rgba(244,238,223,.8); line-height: 1.6; margin: 0 auto clamp(16px, 3vh, 30px); }
.cta-cards { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 22px); justify-content: center; }
.cta-card { background: rgba(244,238,223,.07); border: 1px solid var(--line-d); border-radius: 18px; padding: clamp(14px, 2vw, 26px) clamp(20px, 3vw, 40px); }
.cta-card b { font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 2.6vw, 2rem); display: block; margin-top: 6px; color: var(--gold-l); }
.cta-card a { color: inherit; text-decoration: none; }
.cta-card a:hover { text-decoration: underline; text-underline-offset: 5px; }
.cta-price { margin-top: clamp(16px, 3.4vh, 34px); font-size: clamp(.8rem, 1.3vw, 1rem); letter-spacing: .12em; text-transform: uppercase; color: rgba(244,238,223,.65); }

/* Boutons de navigation */
.navbtns { position: fixed; right: 22px; bottom: 22px; display: flex; gap: 10px; z-index: 20; }
.navbtns button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(244,238,223,.4); background: rgba(21,42,31,.55); color: #F4EEDF; font-size: 17px; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.navbtns button:hover { background: var(--terra); border-color: var(--terra); }

/* Mobile first : sur téléphone, le deck devient une page qui défile naturellement
   (livré via WhatsApp, lu dans un navigateur mobile : zéro apprentissage).
   La navigation diapo par diapo ne s'applique qu'au grand écran. */
@media (max-width: 820px) {
  html, body { height: auto; }
  body { overflow-y: auto; overflow-x: hidden; }
  .slide { display: flex !important; height: auto; min-height: 100dvh; overflow: visible; justify-content: flex-start; padding-top: calc(var(--pad) + 40px); }
  .slide.active { animation: none; }
  .navbtns, .tb-count { display: none; }
  .cover-grid, .demo-grid, .proof-grid { grid-template-columns: 1fr; gap: 18px; }
  .pf-sm { width: 100%; }
  .pf img { max-height: 26vh; }
  .cover-visual img { aspect-ratio: 16 / 9; max-height: 30vh; border-radius: 120px 120px 14px 14px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .offer, .duo, .scope { grid-template-columns: 1fr; }
  .cta-cards { flex-direction: column; align-items: stretch; }
  .shot-d { width: 100%; max-height: 34vh; }
  .shot-m { display: none; }
}
@media (max-height: 600px) {
  .kicker { margin-bottom: 8px; }
  h2 { margin-bottom: 12px; }
}

/* Impression : toutes les diapos, une par page */
@media print {
  body, .slide { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { overflow: visible; background: var(--cream); }
  .progress, .topbar, .navbtns { display: none; }
  .slide { display: flex !important; height: auto; min-height: 96vh; page-break-after: always; animation: none !important; }
  .slide:last-of-type { page-break-after: auto; }
}
