/* Tunnel ebook Tome 1 : même charte que l'ancienne page de vente systeme.io */
:root{
  --bg:#0b0e14; --surface:#121722; --surface2:#1a2030; --line:#252c3a; --line2:#2a3142;
  --gold:#d4a72c; --gold-h:#e2b740; --text:#f5f5f2; --muted:#b8bcc6; --danger:#ff7b72; --ok:#5fd38d;
  --title:'Space Grotesk',system-ui,sans-serif; --body:'Inter',system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--muted);font:400 16px/1.6 var(--body);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--gold)}
h1,h2,h3{font-family:var(--title);color:var(--text);font-weight:600;line-height:1.15;margin:0}
h1{font-size:clamp(34px,5vw,52px)}
h2{font-size:clamp(30px,4.2vw,50px);text-align:center}
h3{font-size:20px}
.gold{color:var(--gold)}
.wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.card{background:var(--surface);border-radius:24px;padding:clamp(32px,5vw,64px) clamp(20px,4vw,64px);margin:0 auto 48px}
.lead{max-width:560px;margin:16px auto 40px;text-align:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--gold);color:var(--bg);font:600 16px/1 var(--body);text-decoration:none;border:0;border-radius:14px;padding:16px 26px;cursor:pointer;transition:background .15s,transform .15s}
.btn:hover{background:var(--gold-h)}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.55;cursor:wait}
.btn:focus-visible,a:focus-visible,input:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--line2)}
.btn-ghost:hover{background:var(--surface2)}
.btn-block{width:100%}
.eyebrow{color:var(--gold);font-weight:600;margin:0 0 14px}

/* hero */
.hero{position:relative;background:url(/img/hero.jpg) center/cover;padding:56px 0 48px}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,14,20,.35),rgba(11,14,20,.75) 80%,var(--bg))}
.hero .wrap{position:relative;max-width:1120px}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.hero p.sub{font-size:18px;max-width:520px;margin:24px 0 32px}
.hero .livre{max-width:340px;margin-left:auto;filter:drop-shadow(0 30px 40px rgba(0,0,0,.55))}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:28px 32px;margin:48px auto 0;max-width:1000px}
.stat{display:flex;align-items:center;gap:14px}
.stat svg{width:30px;height:30px;color:var(--gold);flex:none}
.stat b{font:500 56px/1 var(--title);color:var(--gold)}
.stat span{font-size:15px;line-height:1.3}

/* programme */
.prog{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.prog-text p{font-size:18px;margin:0 0 20px}
.prog-text strong{color:var(--muted)}
details{background:var(--surface2);border-radius:16px;margin-bottom:12px}
summary{list-style:none;cursor:pointer;padding:20px 24px;color:var(--text);font:600 17px/1.35 var(--title);display:flex;justify-content:space-between;gap:16px;align-items:center}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";flex:none;width:22px;height:22px;border-radius:50%;background:var(--gold);color:var(--bg);font:700 16px/22px var(--body);text-align:center}
details[open] summary::after{content:"−"}
details p{margin:0;padding:0 24px 20px;font-size:15px}

/* extraits */
.quotes{display:grid;gap:20px}
.quote{display:grid;grid-template-columns:1fr 200px;gap:32px;align-items:center;background:var(--surface2);border-radius:16px;padding:28px 32px;margin:0}
.quote blockquote{margin:0}
.quote p{margin:0 0 14px;font-size:16px}
.quote cite{font:600 18px var(--title);color:var(--text);font-style:normal}
.quote img{width:200px;height:240px;object-fit:cover;border-radius:100px 100px 16px 16px}

/* cta */
.cta{text-align:center}
.cta p{max-width:520px;margin:16px auto 28px}

/* confiance */
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;text-align:center}
.trust img{width:100%;max-width:294px;aspect-ratio:294/330;object-fit:cover;border-radius:140px 140px 16px 16px;margin:0 auto 24px}
.trust h3{font-size:clamp(24px,2.6vw,32px);margin-bottom:12px}
.trust p{margin:0;font-size:15px}

/* inclus */
.incl{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.incl div{background:var(--surface2);border:1px solid var(--line2);border-radius:16px;padding:28px 24px;text-align:center}
.incl img{width:40px;height:40px;margin:0 auto 14px}
.incl h3{font-size:18px;margin-bottom:8px}
.incl p{margin:0;font-size:14px}

/* prix */
.price{display:grid;grid-template-columns:335px 1fr;border-radius:15px;overflow:hidden;max-width:1010px;margin:0 auto}
.price-l{background:var(--bg);padding:32px 28px}
.price-l .eyebrow{font-size:14px;font-weight:700}
.price-l .amount{font:700 60px/1 var(--body);color:#fff;margin:18px 0 10px}
.price-l .once{border-bottom:1px solid var(--line2);padding-bottom:18px;margin-bottom:24px}
.price-l small{display:block;font-size:14px;margin-top:16px}
.price-r{background:var(--surface2);padding:32px 36px}
.price-r h3{font:700 18px var(--body);color:var(--muted);margin-bottom:20px}
.checks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 28px}
.checks li{position:relative;padding-left:32px;font-size:15px;line-height:1.45}
.checks li::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0e14' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat}

/* bande réassurance + pied */
.assure{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:var(--surface);border-radius:16px;padding:24px 32px;margin-bottom:32px}
.assure div{display:flex;align-items:center;justify-content:center;gap:14px;font-size:14px;line-height:1.35}
.assure svg{width:30px;height:30px;color:var(--gold);flex:none}
.assure b{display:block;font:600 17px var(--title);color:var(--text)}
footer{text-align:center;font-size:14px;padding:8px 16px 40px}
footer a{text-decoration:none}
footer a:hover{text-decoration:underline}

/* commande */
.order{display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:start;max-width:1120px;margin:0 auto;padding:48px 16px}
.order h1{font-size:clamp(32px,4vw,44px);margin-bottom:24px}
.recap{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px 28px;margin-bottom:24px}
.recap h3{font-size:17px;margin-bottom:16px}
.recap .checks{grid-template-columns:1fr}
.order .quote{grid-template-columns:1fr;background:var(--surface);padding:24px 28px}
.form{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:clamp(24px,4vw,40px)}
.form h2{text-align:left;font-size:26px;margin:0 0 20px}
.form h2+p{margin:-12px 0 20px;font-size:14px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
label.f{display:block;margin-bottom:14px;font-size:14px;color:var(--text)}
label.f input{display:block;width:100%;margin-top:6px;background:var(--bg);color:var(--text);border:1px solid var(--line2);border-radius:12px;padding:14px 16px;font:400 16px var(--body)}
label.f input:focus{border-color:var(--gold);outline:none}
.box{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5;margin:0 0 14px;cursor:pointer}
.box input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--gold);flex:none}
.hp{position:absolute;left:-9999px}
.form h2.mt{margin-top:24px}
.total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line2);border-bottom:1px solid var(--line2);padding:16px 0;margin:24px 0}
.total b{font:700 28px var(--body);color:#fff}
.pay{display:grid;gap:12px}
.btn-paypal{background:#ffc439;color:#111}
.btn-paypal:hover{background:#f2b51f}
.legal{font-size:13px;margin:18px 0 0}
.err{color:var(--danger);font-size:14px;min-height:1.4em;margin:12px 0 0}
.notice{background:var(--surface2);border-left:3px solid var(--gold);border-radius:10px;padding:14px 18px;font-size:14px;margin-bottom:20px}

/* merci */
.thanks{max-width:720px;margin:0 auto;padding:64px 16px 32px;text-align:center}
.thanks .card{text-align:center}
.thanks h1{margin-bottom:20px}
.thanks p{margin:0 0 18px}
.thanks .btn{margin:10px 0 26px}
.thanks .muted{font-size:14px}

@media (max-width:860px){
  .hero-grid,.prog,.order{grid-template-columns:1fr}
  .hero .livre{margin:0 auto;max-width:260px}
  .stats{grid-template-columns:1fr;padding:22px}
  .stat b{font-size:44px}
  .quote{grid-template-columns:1fr;padding:24px}
  .quote img{display:none}
  .trust,.incl,.assure{grid-template-columns:1fr}
  .price{grid-template-columns:1fr}
  .checks{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
  .order .quotes{display:none}
  .assure div{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
