/* Même D.A que le PDF : gris clair, bleu nuit, jaune, traits marron, ombres pleines. */
:root {
  --fond: #EEEEEE; --nuit: #1E2146; --trait: #432F21; --jaune: #F4B824; --jaune-clair: #FBE3A1;
  --texte: #2A2A33; --doux: #686873; --rouge: #C4452E; --blanc: #FFFFFF;
  --ombre: 5px 6px 0 rgba(67, 47, 33, .16);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 80px }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif }
mark { background: var(--jaune-clair); color: var(--rouge); font-weight: 700; padding: 0 4px; border-radius: 4px }
img { max-width: 100%; height: auto; display: block }
a { color: var(--nuit) }
h1, h2, h3 { color: var(--nuit); font-weight: 900; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em }
h2 { font-size: clamp(30px, 5vw, 44px) }
h3 { font-size: 20px; line-height: 1.2 }
p { margin: 0 0 1em }
b { color: var(--nuit) }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px }
section { padding: 88px 0 }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
          color: var(--nuit); background: var(--jaune); padding: 3px 10px; border-radius: 5px; margin-bottom: 18px }
.chapo { font-size: 19px; color: var(--doux); max-width: 640px }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px }

/* bouton */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--jaune); color: var(--nuit); font-weight: 900; font-size: 18px;
       text-decoration: none; padding: 14px 24px; border: 2px solid var(--trait); border-radius: 12px; box-shadow: 4px 5px 0 var(--trait);
       transition: transform .12s, box-shadow .12s; cursor: pointer; font-family: inherit }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 7px 0 var(--trait) }
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--trait) }
.btn small { font-size: 15px; font-weight: 700; opacity: .75 }
.btn.petit { font-size: 15px; padding: 8px 16px; box-shadow: 3px 3px 0 var(--trait) }
.btn.grand { font-size: 23px; padding: 18px 40px; width: min(560px, 100%); justify-content: center }
.lien { font-weight: 700; color: var(--nuit); text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; text-underline-offset: 4px }

/* en-tête */
header { position: sticky; top: 0; z-index: 10; background: rgba(238, 238, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid #D5D5D5 }
header .wrap { display: flex; align-items: center; gap: 28px; height: 68px }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--nuit); text-decoration: none; font-size: 17px; margin-right: auto }
.logo img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--trait) }
header nav { display: flex; gap: 24px }
header nav a { text-decoration: none; font-weight: 600; font-size: 15px }
header nav a:hover { text-decoration: underline }

/* haut de page : cible, promesse, vidéo, gros bouton juste dessous */
.hero { padding: 32px 0 72px; text-align: center }
.cible { font-size: clamp(14px, 1.7vw, 18px); font-weight: 900; text-transform: uppercase; letter-spacing: .03em; color: var(--rouge); margin: 0 0 14px }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.3; letter-spacing: -.025em; margin: 0; text-wrap: balance }
.hero h1 em { font-style: normal; background: var(--jaune); border: 2px solid var(--trait); border-radius: .2em; padding: 0 .12em;
              box-decoration-break: clone; -webkit-box-decoration-break: clone }
.defile { font-size: clamp(17px, 2vw, 21px); color: var(--doux); margin: 18px 0 24px }
.defile b { display: block; font-weight: 700; color: var(--nuit); text-decoration: underline; text-decoration-color: var(--jaune);
            text-decoration-thickness: 4px; text-underline-offset: 5px }
.lecteur { position: relative; aspect-ratio: 16 / 9; background: var(--nuit); border: 3px solid var(--trait); border-radius: 18px; overflow: hidden;
           box-shadow: 8px 10px 0 rgba(67, 47, 33, .22); max-width: 780px; margin: 0 auto 30px }
.lecteur video { width: 100%; height: 100%; display: block; object-fit: cover; cursor: pointer }
.progression { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(30, 33, 70, .55); pointer-events: none }
.progression i { display: block; height: 100%; background: var(--jaune); transform: scaleX(0); transform-origin: left; transition: transform .3s linear }
.lecteur.en-cours .play, .lecteur.bientot .progression { display: none }
.play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; background: var(--jaune); border: 3px solid var(--trait);
        box-shadow: 4px 5px 0 var(--trait); cursor: pointer; transition: transform .12s }
.play::before { content: ""; position: absolute; left: 36px; top: 27px; border-left: 30px solid var(--nuit); border-block: 18px solid transparent }
.play:hover { transform: scale(1.06) }
.lecteur.bientot .play { display: none }
.lecteur.bientot::after { content: "La vidéo arrive bientôt"; position: absolute; left: 50%; bottom: 18px; translate: -50% 0; white-space: nowrap;
                          background: var(--blanc); border: 2px solid var(--trait); border-radius: 10px; padding: 6px 14px; font-weight: 700; color: var(--nuit) }
.hero .chapo { margin: 34px auto 0 }
.garanties { font-size: 14px; color: var(--doux); margin-top: 22px }
.couv { position: relative; isolation: isolate; justify-self: center; width: min(340px, 80%) }
.couv::before { content: ""; position: absolute; inset: 8% -12% -4%; background: var(--jaune-clair); border-radius: 50%; z-index: -1 }
.couv > img { border: 2px solid var(--trait); border-radius: 6px; box-shadow: 10px 12px 0 rgba(67, 47, 33, .22); transform: rotate(2.5deg) }

/* bulle de la mascotte */
.bulle { display: flex; align-items: flex-end; gap: 10px; max-width: 340px }
.bulle img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--trait); flex: none }
.bulle p { margin: 0; background: var(--blanc); border: 2px solid var(--trait); border-radius: 16px 16px 16px 4px; padding: 10px 14px;
           font-size: 15px; font-weight: 600; color: var(--nuit); line-height: 1.35; box-shadow: 3px 4px 0 rgba(67, 47, 33, .18) }

/* chiffres */
.chiffres { background: var(--nuit); color: #fff; padding: 36px 0 }
.chiffres .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center }
.chiffres b { display: block; color: var(--jaune); font-size: 46px; font-weight: 900; line-height: 1 }
.chiffres span { font-size: 15px; opacity: .85 }

/* la scène */
.scene .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center }
.scene .grand { font-size: 21px; line-height: 1.55; color: var(--nuit) }
.scene figure { margin: 0; position: relative }
.scene figure img { border: 2px solid var(--trait); border-radius: 16px; box-shadow: var(--ombre) }
.scene figure .bulle { position: absolute; right: 14px; top: 14px; max-width: 70% }

/* sans le guide · avec le guide */
.entetes, .reflexes li { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 18px; align-items: center }
.entetes { margin-top: 36px; padding: 0 18px; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--doux) }
.entetes span:first-child { grid-column: 2 }
.reflexes { list-style: none; padding: 0; margin: 10px 0 0 }
.reflexes li { background: var(--blanc); border: 2px solid var(--trait); border-radius: 16px; padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--ombre) }
.reflexes .n { font-weight: 900; color: var(--nuit); font-size: 18px; line-height: 1.2 }
.reflexes p { margin: 0; padding-left: 34px; position: relative; font-size: 16px; line-height: 1.45 }
.reflexes p::before { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center;
                      font-weight: 900; font-size: 14px; border: 1.5px solid var(--trait) }
.reflexes .non { color: var(--doux) }
.reflexes .non::before { content: "✗"; background: #F3D3CC; color: var(--rouge) }
.reflexes .oui { color: var(--nuit); font-weight: 600 }
.reflexes .oui::before { content: "✓"; background: var(--jaune); color: var(--nuit) }
.relance { text-align: center; margin-top: 44px }

/* aperçu */
.apercu { background: var(--blanc); border-block: 2px solid var(--trait) }
.pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px }
.pages a { display: block; text-decoration: none; color: var(--doux); font-size: 14px; font-weight: 600 }
.pages img { border: 2px solid var(--trait); border-radius: 6px; box-shadow: var(--ombre); margin-bottom: 12px; transition: transform .15s }
.pages a:hover img { transform: translateY(-4px) rotate(-1deg) }

/* chapitres */
.chapitres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; padding: 0; list-style: none }
.chapitres li { display: grid; grid-template-columns: 200px 1fr; gap: 18px; background: var(--blanc); border: 2px solid var(--trait);
                border-radius: 16px; padding: 14px; box-shadow: var(--ombre) }
.chapitres img { border-radius: 10px; border: 1.5px solid var(--trait); aspect-ratio: 16 / 9; object-fit: cover }
.chapitres .n { font-size: 13px; font-weight: 900; letter-spacing: .16em; color: var(--doux) }
.chapitres h3 { margin: 2px 0 6px }
.chapitres p { font-size: 15px; line-height: 1.45; color: var(--texte); margin: 0 }

/* plus qu'un livre */
.plus .wrap { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center }
.cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px }
.carte { background: var(--blanc); border: 2px solid var(--trait); border-radius: 14px; padding: 18px 20px; box-shadow: var(--ombre) }
.carte h3 { font-size: 18px; margin-bottom: 4px }
.carte p { font-size: 15px; line-height: 1.45; margin: 0; color: var(--texte) }

/* questions */
.faq { max-width: 780px }
details { background: var(--blanc); border: 2px solid var(--trait); border-radius: 14px; margin: 14px 0; box-shadow: 3px 4px 0 rgba(67, 47, 33, .14) }
summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 18px; color: var(--nuit); list-style: none; display: flex; justify-content: space-between; gap: 16px }
summary::-webkit-details-marker { display: none }
summary::after { content: "+"; font-weight: 900; font-size: 24px; line-height: 1 }
details[open] summary::after { content: "–" }
details p { padding: 0 22px; font-size: 16px }

/* l'offre */
.offre { background: var(--nuit); color: #fff }
.offre .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center }
.offre h2 { color: #fff }
.offre .couv::before { background: rgba(244, 184, 36, .25) }
.offre ul { list-style: none; padding: 0; margin: 0 0 30px }
.offre li { padding: 7px 0 7px 34px; position: relative }
.offre li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 6px; background: var(--jaune);
                    color: var(--nuit); font-weight: 900; font-size: 14px; display: grid; place-items: center }
.prix { font-size: 56px; font-weight: 900; color: var(--jaune); line-height: 1; margin-bottom: 4px }
.offre .garanties { color: rgba(255, 255, 255, .75) }

footer { padding: 36px 0 48px; font-size: 14px; color: var(--doux) }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px }
footer p { max-width: 640px; margin: 0 }

/* upsell avant paiement */
dialog { max-width: 480px; width: calc(100% - 32px); border: 2px solid var(--trait); border-radius: 18px; padding: 28px; background: var(--fond);
         box-shadow: 8px 10px 0 var(--trait); color: var(--texte) }
dialog::backdrop { background: rgba(30, 33, 70, .6) }
dialog h2 { font-size: 30px; padding-right: 24px }
dialog .prix { font-size: 40px; color: var(--nuit) }
dialog .garanties { margin: 4px 0 20px }
dialog .non { display: block; margin-top: 16px; text-align: center; color: var(--doux); font-size: 15px }
dialog .btn { width: 100%; justify-content: center }
dialog .fermer { position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--doux); cursor: pointer; padding: 4px 8px }

/* pages simples (merci, mentions) */
.simple { max-width: 760px; padding: 64px 20px 88px; margin: 0 auto }
.simple h1 { font-size: clamp(36px, 6vw, 56px) }
.simple h2 { font-size: 26px; margin-top: 1.6em }
.etapes { counter-reset: e; list-style: none; padding: 0 }
.etapes li { counter-increment: e; position: relative; padding: 4px 0 18px 54px }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--jaune);
                     border: 2px solid var(--trait); display: grid; place-items: center; font-weight: 900; color: var(--nuit) }

@media (max-width: 900px) {
  section { padding: 64px 0 }
  .hero { padding: 28px 0 56px }
  header nav { display: none }
  .scene .wrap, .plus .wrap, .offre .wrap { grid-template-columns: 1fr }
  .defile { min-height: 4.4em }
  .entetes { display: none }
  .reflexes li { grid-template-columns: 1fr; gap: 10px }
  .chiffres .wrap { grid-template-columns: repeat(2, 1fr) }
  .pages { grid-template-columns: repeat(2, 1fr) }
  .chapitres { grid-template-columns: 1fr }
  .plus img.lecture { max-width: 220px; margin: 0 auto }
}
@media (max-width: 520px) {
  body { font-size: 16px }
  .logo span { display: none }
  .chapitres li { grid-template-columns: 1fr }
  .scene figure .bulle { position: static; margin-top: 14px; max-width: none }
  .cartes { grid-template-columns: 1fr }
  .btn { font-size: 17px; padding: 13px 20px }
  .btn.grand { font-size: 20px; padding: 16px 20px }
  .play { scale: .75 }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important } }
