/* Les Cours Sésame et SAJ
   Charte : bleu marine et or. Fond blanc, texte sombre, l'or sert de filet et de repère.
   Polices hébergées sur le site (Source Serif 4 et Source Sans 3, licence SIL OFL : assets/fonts/). */

@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/source-serif-4-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/source-serif-4-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/source-serif-4-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/source-serif-4-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2")}

:root{
  --navy:#0f2a5c;
  --navy-2:#163670;
  --navy-3:#0b1f45;
  --navy-line:rgba(255,255,255,.16);
  --gold:#e8a62b;
  --gold-2:#f0b94a;
  --gold-ink:#8a5a00;
  --cream:#f3f5f8;
  --cream-2:#e4e8ef;
  --paper:#ffffff;
  --ink:#18202f;
  --muted:#566074;
  --line:#dde2ea;
  --wa:#1fa855;
  --wa-2:#178a45;
  --serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --sans:"Source Sans 3",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r:8px;
  --r-sm:6px;
  --wrap:1180px;
  --gutter:clamp(16px,4vw,32px);
  --ease:cubic-bezier(.2,.8,.2,1);
  color-scheme:light;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{font-family:var(--sans);font-size:17px;line-height:1.6;color:var(--ink);background:var(--paper);overflow-x:hidden;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:4px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.nowrap{white-space:nowrap}
[hidden]{display:none!important}

/* ---------- Typographie ---------- */
.eyebrow{display:inline-block;font-size:.9rem;font-weight:600;color:var(--gold-ink)}
.h-section{font-family:var(--serif);font-weight:700;font-size:clamp(1.65rem,3.2vw,2.3rem);line-height:1.15;letter-spacing:-.005em;margin:0 0 .6rem;color:var(--navy);text-wrap:balance}
.h-section em,.sub-h1 em,.hero h1 em{font-style:normal;color:inherit}
.lead{font-size:clamp(1.02rem,1.5vw,1.12rem);color:var(--muted);max-width:62ch}
.lead a{color:var(--navy);font-weight:600;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
.section{padding:clamp(56px,8vw,96px) 0;position:relative}
.section-head{max-width:760px;margin-bottom:clamp(28px,4vw,40px)}
.section-head .eyebrow{margin-bottom:.4rem}
.on-dark{background:var(--cream)}
.conseiller-photo img,.section-photo img,.about-photo img{height:auto}
.photo-credit{display:block;margin-top:.5rem;font-size:.8rem;color:var(--muted)}
.photo-credit a{color:inherit}

/* ---------- Boutons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;padding:.7rem 1.3rem;border-radius:var(--r-sm);font-weight:700;font-size:1rem;text-decoration:none;transition:background .2s,color .2s,border-color .2s;white-space:nowrap;border:1.5px solid transparent}
.btn svg{width:18px;height:18px;flex:none}
.btn-gold{background:var(--gold);color:var(--navy)}
.btn-gold:hover{background:var(--gold-2)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-3)}
.btn-ghost{border-color:var(--line);color:var(--navy);background:#fff}
.btn-ghost:hover{border-color:var(--navy)}
.btn-wa{background:var(--wa);color:#fff}
.btn-wa:hover{background:var(--wa-2)}
.btn-sm{min-height:40px;padding:.45rem .95rem;font-size:.92rem}
.btn-block{width:100%}

/* ---------- Logo ---------- */
.mark{width:44px;height:44px;flex:none}
.mark{--m-n:var(--navy);--m-g:var(--gold);--m-w:#fff}
.footer .mark,.mobile-menu .mark,.mark.inv{--m-n:#fff;--m-w:var(--navy)}
.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;min-width:0}
.brand-text{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.brand-name{font-family:var(--serif);font-weight:700;font-size:1.18rem;white-space:nowrap;color:var(--navy)}
.brand-rule{width:56%;height:2px;background:var(--gold);margin:.3rem 0 .25rem}
.brand-tag{font-size:.78rem;color:var(--muted);white-space:nowrap}

/* ---------- En-tête ---------- */
.site-top{position:sticky;top:0;z-index:50}
.promo{background:var(--navy);color:#fff;font-size:.9rem;text-align:center;padding:.45rem 3rem;position:relative}
.promo a{text-decoration:none}
.promo strong{font-weight:700;color:var(--gold)}
.promo-close{position:absolute;right:.4rem;top:50%;translate:0 -50%;width:34px;height:34px;border-radius:4px;display:grid;place-items:center;color:#fff}
.promo-close:hover{background:var(--navy-2)}
.header{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:1rem;height:72px}
.nav{display:flex;align-items:center;gap:.1rem;margin-left:auto}
.nav a{white-space:nowrap;font-size:.98rem;font-weight:600;text-decoration:none;padding:.5rem .7rem;color:var(--ink);border-bottom:2px solid transparent}
.nav a:hover,.nav a.active{color:var(--navy);border-bottom-color:var(--gold)}
.header-actions{display:flex;align-items:center;gap:.4rem}
.icon-btn{position:relative;width:44px;height:44px;border-radius:var(--r-sm);display:grid;place-items:center;color:var(--navy)}
.icon-btn:hover{background:var(--cream)}
.icon-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.cart-count{position:absolute;top:2px;right:0;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--gold);color:var(--navy);font-size:.75rem;font-weight:700;display:none;place-items:center}
.cart-count.show{display:grid}
.menu-btn{display:none}
.header-actions .btn-navy{background:var(--wa)}
.header-actions .btn-navy:hover{background:var(--wa-2)}

/* Menu mobile */
.mobile-menu{position:fixed;inset:0;z-index:80;background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:16px var(--gutter) 24px;visibility:hidden;opacity:0;transition:opacity .2s,visibility .2s;overflow-y:auto}
.mobile-menu.open{visibility:visible;opacity:1}
.mobile-menu-head{display:flex;justify-content:space-between;align-items:center}
.mobile-menu .brand-name{color:#fff}
.mobile-menu .icon-btn{color:#fff}
.mobile-menu .icon-btn:hover{background:var(--navy-2)}
.mobile-menu nav{display:flex;flex-direction:column;margin:1.6rem 0}
.mobile-menu nav a{font-size:1.2rem;font-weight:600;text-decoration:none;padding:.8rem 0;border-bottom:1px solid var(--navy-line)}
.mobile-menu nav a span{display:none}
.mobile-menu nav a:hover{color:var(--gold)}
.mobile-menu .btn{margin-top:auto}

/* ---------- Accueil : en-tête de page ---------- */
.hero{position:relative}
.hero-home{padding:clamp(40px,6vw,72px) 0 clamp(48px,7vw,88px);border-bottom:1px solid var(--line)}
.hero-inner{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,5vw,64px);align-items:center}
.hero h1{font-family:var(--serif);font-weight:700;font-size:clamp(2rem,4.4vw,3.1rem);line-height:1.1;letter-spacing:-.01em;color:var(--navy);margin:0 0 1.1rem;text-wrap:balance}
.hero .lead{margin-bottom:1.6rem;color:#3f4a5e}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.7rem}
.hero-facts{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem 0;margin-top:2rem;padding-top:1.2rem;border-top:1px solid var(--line);font-size:.98rem;color:var(--muted)}
.hero-facts li{padding-right:1.1rem;margin-right:1.1rem;border-right:1px solid var(--line)}
.hero-facts li:last-child{border-right:0;margin-right:0;padding-right:0}
.hero-facts b{color:var(--ink);font-weight:700}

/* Les vraies premières pages, posées les unes sur les autres */
.hero-pages{margin:0;position:relative}
.hp-stack{position:relative;aspect-ratio:6/5}
.hp-stack img{position:absolute;height:auto;border:1px solid var(--line);background:#fff;box-shadow:0 1px 2px rgba(15,42,92,.08),0 10px 24px rgba(15,42,92,.10)}
.hp-stack .hp-1{width:64%;right:0;top:0;rotate:1.5deg}
.hp-stack .hp-2{width:64%;right:5%;top:44%;rotate:-1deg}
.hp-stack .hp-3{width:40%;left:0;top:6%;rotate:-1.5deg;z-index:2}
.hero-pages figcaption{margin-top:1rem;font-size:.85rem;color:var(--muted);max-width:52ch}

/* ---------- Pages intérieures : en-tête ---------- */
.hero-sub{background:var(--cream);border-bottom:1px solid var(--line);padding:clamp(28px,5vw,56px) 0 clamp(32px,5vw,56px)}
.crumbs{display:flex;flex-wrap:wrap;gap:.45rem;font-size:.9rem;color:var(--muted);margin-bottom:1rem}
.crumbs a{color:var(--navy);text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs [aria-current]{color:var(--muted)}
.sub-h1{font-family:var(--serif);font-weight:700;font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.12;letter-spacing:-.01em;margin:0 0 .9rem;max-width:26ch;color:var(--navy);text-wrap:balance}
.hero-sub .lead{max-width:70ch;margin-bottom:1.3rem;color:#3f4a5e}
.hero-sub .hero-facts{margin-top:1.4rem}
.hero-sub .eyebrow{margin-bottom:.4rem}
.hero-sub .btn-gold{background:var(--navy);color:#fff}
.hero-sub .btn-gold:hover{background:var(--navy-3)}

/* ---------- Choix du concours ---------- */
.concours-section{background:var(--paper)}
.concours-grid{display:grid;border-top:1px solid var(--line)}
.concours-card{display:grid;grid-template-columns:minmax(150px,220px) 1fr auto;gap:.3rem 1.6rem;align-items:baseline;padding:1.1rem .3rem;border-bottom:1px solid var(--line);text-decoration:none;color:inherit}
.concours-card:hover{background:var(--cream)}
.cc-num{display:none}
.cc-name{font-family:var(--serif);font-size:1.35rem;font-weight:700;color:var(--navy)}
.cc-sub{color:var(--muted);font-size:.98rem}
.cc-go{font-weight:600;color:var(--navy);white-space:nowrap;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
.cc-go svg{display:none}
.concours-grid-4{grid-template-columns:none}
a.concours-card{text-decoration:none}

/* ---------- Catalogue ---------- */
.toolbar{position:sticky;top:var(--top-h,112px);z-index:20;background:#fff;margin:0 calc(var(--gutter)*-1) 24px;padding:12px var(--gutter);border-bottom:1px solid var(--line)}
.toolbar-row{display:flex;gap:10px;align-items:center}
.search{position:relative;flex:1;min-width:0}
.search svg{position:absolute;left:14px;top:50%;translate:0 -50%;width:18px;height:18px;stroke:var(--muted);fill:none;stroke-width:2.2}
.search input{width:100%;height:46px;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff;padding:0 1rem 0 2.6rem;font-size:1rem}
.search input:focus{outline:none;border-color:var(--navy)}
.select{height:46px;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff;padding:0 2.3rem 0 .9rem;font-size:.95rem;font-weight:600;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2318202f' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center;cursor:pointer}
.chips{display:flex;gap:6px;margin-top:10px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;height:38px;padding:0 .9rem;border-radius:var(--r-sm);border:1.5px solid var(--line);background:#fff;font-size:.95rem;font-weight:600;color:var(--ink)}
.chip:hover{border-color:var(--navy)}
.chip[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.chip .n{opacity:.65;margin-left:.35rem;font-weight:400}
.result-info{font-size:.92rem;color:var(--muted);margin-bottom:16px}
.group-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:.3rem 1rem;font-family:var(--serif);font-size:clamp(1.4rem,2.6vw,1.8rem);font-weight:700;color:var(--navy);margin:48px 0 18px;padding-bottom:10px;border-bottom:2px solid var(--navy)}
.group-title:first-child{margin-top:0}
.group-title small{font-family:var(--sans);font-size:.95rem;font-weight:400;color:var(--muted)}
.group-link{margin-left:auto;font-family:var(--sans);font-size:.95rem;font-weight:600;color:var(--navy);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
.phase-title{font-size:1.05rem;font-weight:700;color:var(--ink);margin:6px 0 14px}
.phase-title small{font-weight:400;color:var(--muted);margin-left:.5rem;font-size:.95rem}
.books+.phase-title,.pack+.phase-title{margin-top:40px}
.books{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:32px 22px}
.book{display:flex;flex-direction:column;min-width:0}
.book-cover-btn{display:block;width:100%;text-align:left}

/* Première page de l'ouvrage : image réelle, ou page de titre composée au même modèle */
.cover{position:relative;aspect-ratio:1.414/1;background:#fff;border:1px solid var(--line);overflow:hidden;color:var(--navy);display:flex;flex-direction:column}
.book-cover-btn:hover .cover,.book-cover-btn:focus-visible .cover{border-color:var(--navy)}
.cover-page img{width:100%;height:100%;object-fit:cover;object-position:top center}
.cover-made{align-items:center;justify-content:center;padding:6% 7%;gap:5%}
.cover-top{display:flex;align-items:center;gap:.4em;font-family:var(--serif);font-weight:700;font-size:clamp(.6rem,.9vw,.72rem);line-height:1.05;color:var(--navy)}
.cover-top .mark{width:2.6em;height:2.6em}
.cover-top .cb i{display:none}
.cover-band{align-self:stretch;background:var(--navy);color:#fff;border-top:3px solid var(--gold);border-bottom:3px solid var(--gold);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:5% 6%;min-height:44%}
.cover-series{font-size:clamp(.5rem,.75vw,.62rem);font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.cover-title{font-family:var(--serif);font-weight:700;text-transform:uppercase;font-size:clamp(.72rem,1.05vw,.9rem);line-height:1.15;margin-top:.35em;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;hyphens:auto}
.orn{display:none}
.cover-foot{font-size:clamp(.5rem,.72vw,.6rem);font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--navy)}
.cover-num{display:none}
.cover .mark{--m-n:var(--navy);--m-g:var(--gold);--m-w:#fff}

.book-meta{padding-top:12px;display:flex;flex-direction:column;flex:1}
.book-concours{font-size:.88rem;color:var(--muted)}
.book-title{font-family:var(--serif);font-size:1.1rem;font-weight:700;line-height:1.25;margin:.15rem 0 .35rem;color:var(--ink)}
.book-title a{color:inherit;text-decoration:none}
.book-title a:hover,.book-title a:focus-visible{color:var(--gold-ink)}
.book-niveau{font-size:.9rem;color:var(--muted)}
.book-extrait{display:block;margin-top:.25rem;font-size:.88rem;font-weight:600;color:var(--gold-ink)}
.book-num{display:block;margin-top:.25rem;font-size:.88rem;font-weight:600;color:var(--navy)}
.book-buy{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:auto;padding-top:.8rem}
.price{font-size:1.2rem;font-weight:700;white-space:nowrap;color:var(--ink)}
.price small{font-size:.85rem;font-weight:400;color:var(--muted);margin-left:.25rem}
.add-btn{display:inline-flex;align-items:center;gap:.35rem;height:40px;padding:0 .9rem;border-radius:var(--r-sm);border:1.5px solid var(--navy);color:var(--navy);background:#fff;font-size:.92rem;font-weight:700}
.add-btn:hover{background:var(--navy);color:#fff}
.add-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.add-btn.in{background:var(--navy);color:#fff}
.empty{text-align:center;padding:56px 16px;color:var(--muted)}
.empty b{display:block;font-family:var(--serif);font-size:1.35rem;color:var(--ink);margin-bottom:.3rem}
.empty a{color:var(--navy);font-weight:600}
.spec.spec-num{background:var(--gold);color:var(--navy)}

/* Packs */
.pack{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem 1.5rem;background:var(--cream);border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:var(--r-sm);padding:.9rem 1rem .9rem 1.2rem;margin:0 0 24px}
.pack-text{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem 1rem}
.pack-tag{font-weight:700;color:var(--navy)}
.pack-text b{font-weight:400;color:var(--muted)}
.pack-price{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}
.pack-price s{color:var(--muted);font-size:.95rem}
.pack-price strong{font-size:1.2rem;color:var(--ink)}
.pack-price em{font-style:normal;font-size:.9rem;color:var(--gold-ink);font-weight:600}
.pack .btn-gold{background:var(--navy);color:#fff}
.pack .btn-gold:hover{background:var(--navy-3)}

/* ---------- Test « Quel ouvrage pour moi ? » ---------- */
.conseiller-section{background:var(--cream)}
.conseiller-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,64px);align-items:start}
.conseiller-photo{margin-top:1.6rem}
.conseiller-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-sm);background:var(--cream-2)}
.cs-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:clamp(20px,3vw,32px);min-height:380px}
.cs-progress{font-size:.9rem;color:var(--muted);margin-bottom:1rem}
.cs-progress i{display:block;height:4px;border-radius:2px;background:var(--gold);margin-top:.45rem;transition:width .3s}
.cs-step h3,.cs-result h3,.qcm-card h3{font-family:var(--serif);font-size:clamp(1.25rem,2.2vw,1.55rem);line-height:1.25;color:var(--navy);margin-bottom:1rem}
.cs-opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cs-opt{display:flex;align-items:center;text-align:left;min-height:52px;padding:.7rem .9rem;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff;font-weight:600}
.cs-opt svg{display:none}
.cs-opt:hover{border-color:var(--navy);background:var(--cream)}
.cs-back{margin-top:1rem;font-size:.95rem;font-weight:600;color:var(--muted);text-decoration:underline}
.cs-result .eyebrow{margin-bottom:.4rem}
.cs-list{list-style:none;display:grid;gap:6px;margin-bottom:1.1rem}
.cs-book,.fiche-book{width:100%;display:grid;grid-template-columns:34px 1fr auto;gap:.8rem;align-items:center;text-align:left;padding:.55rem .75rem;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff}
.cs-book:hover,.fiche-book:hover{border-color:var(--navy)}
.cs-book b,.fiche-book b{display:block;font-family:var(--serif);font-size:1rem;line-height:1.25}
.cs-book small,.fiche-book small{font-size:.86rem;color:var(--muted)}
.cs-book em{font-style:normal;font-weight:700;font-size:.95rem;white-space:nowrap}
.cs-total{display:flex;align-items:baseline;gap:.7rem;flex-wrap:wrap;margin-bottom:1rem}
.cs-total s{color:var(--muted)}
.cs-total strong{font-size:1.5rem}
.cs-total em{font-style:normal;font-size:.92rem;font-weight:600;color:var(--gold-ink)}
.cs-actions{display:flex;flex-wrap:wrap;gap:8px}
.cs-note{margin-top:1rem;font-size:.92rem;color:var(--muted)}
.cs-note a{color:var(--navy);font-weight:600}
.c-mini{aspect-ratio:3/4;border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;overflow:hidden}
.c-mini::after{content:"";flex:0 0 40%;margin-top:30%;background:var(--navy);border-block:2px solid var(--gold)}

/* ---------- Méthodologie ---------- */
.methodo-layout{display:grid;grid-template-columns:260px 1fr;gap:clamp(20px,4vw,40px);align-items:start}
.m-tabs{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.m-tab{text-align:left;padding:.85rem .6rem;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;font-family:var(--serif);font-size:1.12rem;font-weight:700;color:var(--ink)}
.m-tab small{font-family:var(--sans);font-size:.88rem;font-weight:400;color:var(--muted)}
.m-tab:hover{background:#fff}
.m-tab[aria-selected="true"]{background:#fff;color:var(--navy);box-shadow:inset 3px 0 0 var(--gold)}
.m-panel{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:clamp(20px,3vw,32px)}
.m-panel .eyebrow{font-size:1rem}
.m-label{font-size:1rem;font-weight:700;color:var(--ink);margin:1.3rem 0 .6rem}
.pills{display:flex;flex-wrap:wrap;gap:6px}
.pill{padding:.3rem .75rem;border-radius:var(--r-sm);border:1px solid var(--line);background:var(--cream);font-size:.92rem;font-weight:600;color:var(--navy)}
.m-panel p{color:#3f4a5e;max-width:68ch}
.m-link{display:inline-block;margin-top:1.1rem;font-weight:700;color:var(--navy);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
.m-link svg{display:none}

.ep-block{margin-top:clamp(48px,7vw,72px)}
.ep-block h3{font-family:var(--serif);font-size:clamp(1.4rem,2.6vw,1.8rem);color:var(--navy);margin-bottom:.3rem}
.ep-block>.lead{margin-bottom:1.2rem}
.ep-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px;margin-bottom:18px}
.ep-tabs::-webkit-scrollbar{display:none}
.ep-tab{flex:none;height:42px;padding:0 1rem;border-radius:var(--r-sm);border:1.5px solid var(--line);background:#fff;font-weight:600;font-size:.95rem;color:var(--ink)}
.ep-tab:hover{border-color:var(--navy)}
.ep-tab[aria-selected="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.ep-panel>p{color:#3f4a5e;max-width:72ch;margin-bottom:1.2rem}
.ep-panel>p:last-child{margin:1.2rem 0 0}
.ep-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 24px;counter-reset:step;border-top:1px solid var(--line)}
.ep-step{counter-increment:step;position:relative;padding:.9rem 0 .9rem 2.4rem;border-bottom:1px solid var(--line)}
.ep-step::before{content:counter(step);position:absolute;top:.85rem;left:0;width:1.7rem;height:1.7rem;border-radius:50%;background:var(--navy);color:#fff;font-size:.88rem;font-weight:700;display:grid;place-items:center}
.ep-step strong{display:block;font-size:1rem;color:var(--ink)}
.ep-step span{font-size:.95rem;color:var(--muted);line-height:1.5}
.qcm-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;margin-top:clamp(36px,5vw,56px);padding:clamp(18px,3vw,28px);border-radius:var(--r);background:#fff;border:1px solid var(--line);border-left:4px solid var(--gold);text-decoration:none}
.qcm-band b{display:block;font-family:var(--serif);font-size:clamp(1.25rem,2.4vw,1.5rem);color:var(--navy);margin-bottom:.2rem}
.qcm-band>span:first-child{color:var(--muted);max-width:62ch}
.qcm-band .btn-gold{background:var(--navy);color:#fff}

/* ---------- Sujets corrigés ---------- */
.sujets{background:var(--paper)}
.section-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,360px);gap:clamp(24px,4vw,48px);align-items:end;margin-bottom:clamp(28px,4vw,40px)}
.section-photo .section-head{margin-bottom:0}
.section-photo figure{margin:0}
.section-photo img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--r-sm);background:var(--cream-2)}
.s-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin-bottom:20px;padding-bottom:4px}
.s-tabs::-webkit-scrollbar{display:none}
.s-tab{flex:none;height:42px;padding:0 1.1rem;border-radius:var(--r-sm);border:1.5px solid var(--line);background:#fff;font-weight:600;font-size:.95rem;color:var(--ink)}
.s-tab:hover{border-color:var(--navy)}
.s-tab[aria-selected="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.paper{background:#fff;border:1px solid var(--line);border-radius:var(--r);display:grid;grid-template-columns:300px 1fr;overflow:hidden}
.paper-side{background:var(--cream);border-right:1px solid var(--line);padding:clamp(20px,3vw,32px)}
.paper-side .tag{font-size:.92rem;font-weight:600;color:var(--gold-ink)}
.paper-side h3{font-family:var(--serif);font-size:1.35rem;line-height:1.25;color:var(--navy);margin:.4rem 0 .7rem}
.paper-side .meta{font-size:.9rem;color:var(--muted);line-height:1.5}
.enonce{margin-top:1.3rem;padding:1rem 1.1rem;border-left:3px solid var(--gold);background:#fff}
.enonce b{display:block;font-size:.92rem;color:var(--ink);margin-bottom:.3rem}
.enonce p{font-family:var(--serif);font-style:italic;font-size:1.02rem;line-height:1.55}
.paper-main{padding:clamp(20px,3.5vw,40px);min-width:0}
.corrige{position:relative;max-height:520px;overflow:hidden}
.corrige.open{max-height:none}
.corrige h5{font-family:var(--serif);font-size:1.2rem;margin:1.4rem 0 .5rem;color:var(--navy)}
.corrige h5:first-child{margin-top:0}
.corrige p{margin-bottom:.9rem;color:#2b3446;text-align:justify;hyphens:auto}
.corrige-more{display:flex;justify-content:center;padding-top:1rem;border-top:1px dashed var(--line);margin-top:.4rem}
.corrige-cta{margin-top:1.6rem;padding:1.1rem 1.2rem;border-radius:var(--r-sm);background:var(--cream);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.corrige-cta p{font-size:.98rem;color:var(--muted);flex:1 1 260px}
.corrige-cta p b{color:var(--ink)}

/* ---------- Avis ---------- */
.reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px}
.review{padding:1.3rem 0;border-top:1px solid var(--line);display:flex;flex-direction:column;margin:0}
.review blockquote{font-family:var(--serif);font-size:1.1rem;line-height:1.5;color:var(--ink);flex:1}
.review figcaption{margin-top:.8rem;font-size:.95rem}
.review cite{font-style:normal;font-weight:700}
.review small{color:var(--muted);font-size:.95rem}
.review .stars,.avatar{display:none}
.r-row{display:contents}

/* ---------- À propos ---------- */
.about-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,5vw,64px);align-items:start}
.about-text .h-section{margin-bottom:1rem}
.about-text p{color:#3f4a5e;margin-bottom:1rem}
.mission{margin:1.4rem 0;padding:.2rem 0 .2rem 1.2rem;border-left:3px solid var(--gold);font-family:var(--serif);font-weight:400;font-size:1.15rem;line-height:1.5;color:var(--navy)}
.about-photo{margin:0}
.about-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-sm);background:var(--cream-2)}
.about-facts{display:grid;grid-template-columns:1fr 1fr;margin-top:1.6rem;border-top:1px solid var(--line)}
.about-facts div{padding:.8rem 0;border-bottom:1px solid var(--line)}
.about-facts dt{font-size:.92rem;color:var(--muted)}
.about-facts dd{font-family:var(--serif);font-size:1.35rem;font-weight:700;color:var(--navy)}
.about-stats,.a-stat{display:none}
.promises{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px;margin-top:clamp(40px,6vw,64px);border-top:2px solid var(--navy)}
.promise{padding:1.1rem 0;border-bottom:1px solid var(--line)}
.promise svg{display:none}
.promise h4{font-size:1.05rem;font-weight:700;color:var(--ink);margin-bottom:.2rem}
.promise p{font-size:.98rem;color:var(--muted)}

/* ---------- FAQ ---------- */
.faq-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(28px,5vw,64px);align-items:start}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item:first-child{border-top:1px solid var(--line)}
.faq-item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.05rem 0;font-weight:700;font-size:1.08rem;color:var(--ink)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary i{flex:none;width:20px;height:20px;position:relative}
.faq-item summary i::before,.faq-item summary i::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;background:var(--navy);translate:-50% -50%}
.faq-item summary i::after{rotate:90deg}
.faq-item[open] summary i::after{display:none}
.faq-item p{padding:0 2.5rem 1.2rem 0;color:#3f4a5e}

/* ---------- Contact ---------- */
.contact{background:var(--cream);border-top:1px solid var(--line)}
.contact-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,64px);align-items:start}
.contact h2{font-family:var(--serif);font-size:clamp(1.65rem,3.2vw,2.3rem);line-height:1.15;color:var(--navy);margin:0 0 .7rem}
.contact h2 em{font-style:normal}
.contact p{max-width:52ch;color:#3f4a5e;margin-bottom:1.3rem}
.contact .eyebrow{display:none}
.contact-phones{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.4rem}
.contact-phone{display:inline-flex;align-items:center;gap:.6rem;font-size:1.25rem;font-weight:700;text-decoration:none;color:var(--navy)}
.contact-phone svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.9}
.contact p.contact-note{font-size:.95rem;margin:0 0 1.3rem;color:var(--muted)}
.contact-list{list-style:none;display:grid;gap:.7rem;padding:1.2rem 1.3rem;background:#fff;border:1px solid var(--line);border-radius:var(--r)}
.contact-list li{color:#3f4a5e}
.contact-list b{display:block;color:var(--ink)}
.contact-door{display:none}
.contact-alt{margin-left:.5rem}

/* ---------- Pied de page ---------- */
.footer{background:var(--navy);color:rgba(255,255,255,.78);padding:56px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.2rem;padding-bottom:36px;border-bottom:1px solid var(--navy-line)}
.footer .brand-name{color:#fff}
.footer .brand-tag{color:rgba(255,255,255,.6)}
.footer h4{font-size:1rem;font-weight:700;color:#fff;margin-bottom:.8rem}
.footer ul{list-style:none;display:grid;gap:.45rem}
.footer a{text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer-about{font-size:.98rem;margin-top:1.1rem;max-width:38ch}
.footer-legal{font-size:.88rem;opacity:.8;max-width:90ch;padding-top:20px;margin:0}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding-top:16px;font-size:.9rem}
.footer-bottom a{margin-left:.4rem;text-decoration:underline;text-underline-offset:3px}

/* ---------- Flottants ---------- */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:40;width:56px;height:56px;border-radius:50%;background:var(--wa);display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.wa-float:hover{background:var(--wa-2)}
.wa-float svg{width:28px;height:28px;fill:#fff}
.cart-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:45;display:none;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem .55rem .55rem 1rem;border-radius:var(--r);background:var(--navy);color:#fff;translate:0 140%;transition:translate .3s var(--ease)}
.cart-bar.show{translate:0 0}
.cart-bar b{font-size:1.1rem;color:#fff}
.cart-bar small{display:block;font-size:.85rem;color:rgba(255,255,255,.75)}
body.has-cart-bar .wa-float{bottom:84px}
.toast{position:fixed;left:50%;top:16px;z-index:120;translate:-50% -160%;background:var(--ink);color:#fff;padding:.7rem 1.1rem .7rem .8rem;border-radius:var(--r-sm);display:flex;align-items:center;gap:.6rem;font-size:.98rem;font-weight:600;transition:translate .3s var(--ease);max-width:calc(100% - 32px);width:max-content}
.toast.show{translate:-50% 0}
.toast i{width:24px;height:24px;border-radius:50%;background:var(--wa);display:grid;place-items:center;flex:none}
.toast i svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:3.2}
.toast span{line-height:1.3}

/* ---------- Panier ---------- */
.overlay{position:fixed;inset:0;z-index:90;background:rgba(15,42,92,.5);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.overlay.open{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;bottom:0;z-index:100;width:min(440px,100%);background:#fff;display:flex;flex-direction:column;translate:100% 0;transition:translate .35s var(--ease);visibility:hidden}
.drawer.open{translate:0 0;visibility:visible}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.3rem;border-bottom:1px solid var(--line)}
.drawer-head h3{font-family:var(--serif);font-size:1.4rem;color:var(--navy)}
.drawer-body{flex:1;overflow-y:auto;padding:.6rem 1.3rem}
.c-item{display:grid;grid-template-columns:44px 1fr auto;gap:.9rem;align-items:center;padding:.8rem 0;border-bottom:1px solid var(--line)}
.c-item b{display:block;font-family:var(--serif);font-size:1rem;line-height:1.25}
.c-item small{color:var(--muted);font-size:.86rem}
.c-item .c-price{font-weight:700;font-size:.95rem;margin-top:.1rem;display:block}
.c-remove{width:36px;height:36px;border-radius:var(--r-sm);display:grid;place-items:center;color:var(--muted)}
.c-remove:hover{background:var(--cream);color:var(--ink)}
.c-remove svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round}
.c-empty{text-align:center;padding:3rem 1rem;color:var(--muted)}
.c-empty b{display:block;font-family:var(--serif);font-size:1.25rem;color:var(--ink);margin-bottom:.3rem}
.drawer-foot{padding:1.1rem 1.3rem 1.3rem;border-top:1px solid var(--line);background:var(--cream)}
.promo-meter{font-size:.95rem;font-weight:600;margin-bottom:.9rem}
.promo-meter .bar{height:5px;border-radius:3px;background:var(--cream-2);margin-top:.45rem;overflow:hidden}
.promo-meter .bar i{display:block;height:100%;background:var(--gold);width:0;transition:width .3s}
.promo-meter.ok{color:var(--gold-ink)}
.t-row{display:flex;justify-content:space-between;font-size:.98rem;color:var(--muted);margin-bottom:.25rem}
.t-row.total{font-size:1.05rem;color:var(--ink);font-weight:700;margin:.4rem 0 .9rem;align-items:baseline}
.t-row.total b{font-size:1.5rem}

/* ---------- Fenêtre ouvrage ---------- */
.modal{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:16px;visibility:hidden;pointer-events:none}
.modal.open{visibility:visible;pointer-events:auto}
.modal-box{position:relative;width:min(880px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;background:#fff;border-radius:var(--r);display:grid;grid-template-columns:340px 1fr;opacity:0;transition:opacity .2s}
.modal.open .modal-box{opacity:1}
.modal-cover{background:var(--cream);padding:32px 24px;display:flex;align-items:center;justify-content:center}
.modal-cover .cover{width:100%}
.modal-main{padding:28px 28px 24px}
.modal-close{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:var(--r-sm);background:#fff;border:1px solid var(--line);display:grid;place-items:center;z-index:2}
.modal-close svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round}
.modal-main h3{font-family:var(--serif);font-size:clamp(1.35rem,2.6vw,1.75rem);line-height:1.2;color:var(--navy);margin:.3rem 2.5rem .7rem 0}
.modal-main .desc{color:#3f4a5e;margin-bottom:1rem}
.specs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:1.1rem}
.spec{font-size:.88rem;font-weight:600;padding:.25rem .65rem;border-radius:4px;background:var(--cream);color:var(--navy)}
.modal-buy{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.9rem 0;border-block:1px solid var(--line)}
.modal-buy .price{font-size:1.6rem}
.modal-links{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;margin-top:.9rem}
.extrait-link{display:inline-flex;align-items:center;gap:.45rem;font-weight:600;font-size:1rem;color:var(--navy);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
.extrait-link:hover{color:var(--navy-3)}
.extrait-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.quick{margin-top:1.1rem}
.quick summary{cursor:pointer;font-weight:600;color:var(--navy);list-style:none;display:flex;align-items:center;gap:.4rem}
.quick summary::-webkit-details-marker{display:none}
.quick summary::after{content:"+";font-size:1.2rem;line-height:1}
.quick[open] summary::after{content:"-"}
.form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:1rem}
.field{display:flex;flex-direction:column;gap:.3rem}
.field.full{grid-column:1/-1}
.field label{font-size:.92rem;font-weight:600;color:var(--ink)}
.field input,.field textarea,.field select{height:46px;border:1.5px solid var(--line);border-radius:var(--r-sm);padding:0 .85rem;background:#fff;font-size:1rem}
.field textarea{height:80px;padding:.65rem .85rem;resize:vertical}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--navy)}
.field input.err{border-color:#b3261e}
.form .btn{grid-column:1/-1;margin-top:.3rem}

/* Ancienne animation d'apparition : retirée, les éléments sont visibles d'emblée */
.reveal{opacity:1}

/* ---------- Pages intérieures : blocs ---------- */
.section-cream{background:var(--cream)}
.section-top-0{padding-top:0}
.pills-light .pill{background:#fff}
.ep-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:24px}
.ep-cards:first-child{margin-top:0}
.ep-card{display:flex;flex-direction:column;gap:.4rem;padding:1.2rem;border-radius:var(--r);border:1px solid var(--line);background:#fff;text-decoration:none;color:inherit}
.ep-card:hover{border-color:var(--navy)}
.section-cream .ep-card{background:#fff}
.ep-card-tag{font-size:.9rem;color:var(--muted)}
.ep-card b{font-family:var(--serif);font-size:1.2rem;line-height:1.25;color:var(--navy)}
.ep-card span:not(.ep-card-tag):not(.ep-card-go){font-size:.95rem;color:#3f4a5e}
.ep-card-go{margin-top:auto;padding-top:.4rem;display:flex;align-items:center;gap:.35rem;font-size:.95rem;font-weight:700;color:var(--navy)}
.ep-card-go svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2}
.ep-card-go svg:last-child:not(:first-child){display:none}
.sub-door{display:none}
.hero-video{display:none}

/* Fiches méthode */
.fiches{background:var(--paper)}
.fiche-toc{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:32px}
.fiche-toc a{padding:.4rem .85rem;border-radius:var(--r-sm);border:1.5px solid var(--line);font-size:.95rem;font-weight:600;text-decoration:none;color:var(--navy)}
.fiche-toc a:hover{border-color:var(--navy)}
.fiche{padding:clamp(24px,4vw,40px) 0;border-top:1px solid var(--line)}
.fiche-head{margin-bottom:1.1rem}
.fiche-num{display:none}
.fiche h2{font-family:var(--serif);font-size:clamp(1.45rem,2.8vw,1.9rem);line-height:1.2;color:var(--navy)}
.fiche-meta{margin-top:.3rem;font-size:.95rem;color:var(--muted)}
.fiche-meta a{color:var(--navy);font-weight:600}
.fiche-books{margin-top:1.4rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}
.fiche-books .m-label{grid-column:1/-1;margin:0}
.fiche-book{grid-template-columns:34px 1fr;color:var(--ink)}
.fiche-videos{margin-top:1.6rem}
.fiche-videos .m-label{margin:0 0 .9rem}

/* ---------- QCM ---------- */
.qcm-wrap{max-width:780px}
.qcm-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:clamp(20px,3vw,32px)}
.qcm-tag{display:inline-block;font-size:.92rem;font-weight:600;color:var(--gold-ink);margin-bottom:.4rem}
.qcm-opts{display:grid;gap:8px}
.qcm-opt{display:flex;align-items:center;gap:.8rem;text-align:left;min-height:52px;padding:.6rem .9rem;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff;font-weight:600}
.qcm-opt span{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--cream);font-weight:700;font-size:.92rem}
.qcm-opt:not(:disabled):hover{border-color:var(--navy)}
.qcm-opt:disabled{cursor:default}
.qcm-opt.ok{border-color:#1f7a45;background:#eaf5ee}
.qcm-opt.ok span{background:#1f7a45;color:#fff}
.qcm-opt.ko{border-color:#b3261e;background:#fbecea}
.qcm-opt.ko span{background:#b3261e;color:#fff}
.qcm-expl{margin-top:1rem;padding:.9rem 1rem;border-radius:var(--r-sm);background:var(--cream)}
.qcm-expl a{font-weight:600;color:var(--navy)}
.qcm-expl .btn{display:flex;width:max-content;margin-top:.8rem}
.qcm-end{text-align:center}
.qcm-end .cs-actions{justify-content:center}
.qcm-score{display:flex;align-items:baseline;justify-content:center;gap:.4rem;margin-bottom:.6rem}
.qcm-score b{font-family:var(--serif);font-size:clamp(3rem,9vw,4.5rem);line-height:1;color:var(--navy)}
.qcm-score span{font-size:1.5rem;color:var(--muted)}

/* ---------- Page d'un ouvrage ---------- */
.hero-product{background:var(--paper)}
.product{display:grid;grid-template-columns:minmax(260px,460px) 1fr;gap:clamp(28px,5vw,64px);align-items:start}
.product-cover .cover{width:100%}
.product-cover .cover-page,.modal-cover .cover-page{aspect-ratio:auto}
.product-cover .cover-page img,.modal-cover .cover-page img{height:auto}
.product-cover{margin:0}
.product-cover .cover-made{gap:6%}
.product-cover .cover-top{font-size:.95rem}
.product-cover .cover-series{font-size:.8rem}
.product-cover .cover-title{font-size:clamp(1.05rem,2vw,1.45rem)}
.product-cover .cover-foot{font-size:.78rem}
.product-cover figcaption{margin-top:.6rem;font-size:.88rem;color:var(--muted)}
.product-info{min-width:0}
.product-concours{display:flex;flex-wrap:wrap;gap:6px}
.product-concours a{font-size:.92rem;font-weight:600;color:var(--navy);background:var(--cream);border:1px solid var(--line);padding:.2rem .65rem;border-radius:4px;text-decoration:none}
.product-concours a:hover{border-color:var(--navy)}
.product-title{font-family:var(--serif);font-weight:700;font-size:clamp(1.7rem,3.4vw,2.5rem);line-height:1.15;color:var(--navy);margin:.8rem 0 .8rem;text-wrap:balance}
.hero-product .lead{margin-bottom:1.1rem}
.product-buy{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.4rem;margin-top:.4rem;padding:1rem 0;border-block:1px solid var(--line)}
.product-buy .price{font-size:1.9rem}
.product-buy .btn-gold{background:var(--navy);color:#fff}
.product-buy .btn-gold:hover{background:var(--navy-3)}
.product-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.1rem}
.product-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem 1.6rem;margin-top:1.2rem;font-size:.95rem;color:var(--muted)}
.share-btn{display:inline-flex;align-items:center;gap:.45rem;font-weight:600;color:var(--navy);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:4px}
.share-btn svg{width:18px;height:18px}
.share-btn-dark{color:var(--navy)}
.apercu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,24px)}
.apercu-grid.apercu-portrait{grid-template-columns:repeat(4,minmax(0,1fr))}
.apercu-page{position:relative;display:block;border:1px solid var(--line);background:#fff}
.apercu-page:hover,.apercu-page:focus-visible{border-color:var(--navy)}
.apercu-page img{display:block;width:100%;height:auto}
.apercu-page span{display:block;padding:.4rem .7rem;font-size:.9rem;color:var(--muted);border-top:1px solid var(--line)}
.apercu-cta{display:flex;flex-wrap:wrap;justify-content:center;gap:.7rem;margin-top:clamp(24px,3vw,36px)}

/* ---------- Pages des sujets corrigés ---------- */
.sujet-card b{font-size:1.15rem}
.sujet-card-foot{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .6rem;font-size:.9rem;color:var(--muted)}
.sujet-card-foot em{font-style:normal;font-weight:600;color:var(--gold-ink)}
.sujets-chips{flex-wrap:wrap;margin:0 0 24px}
.sujet-h1{font-size:clamp(1.7rem,3.6vw,2.6rem);max-width:30ch}
.hero-sujet .lead strong{color:var(--ink)}
.hero-sujet .product-concours{margin-top:1rem}
.sujet-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:clamp(28px,5vw,64px);align-items:start}
.sujet-main{min-width:0;max-width:78ch}
.enonce-box{background:var(--cream);border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:var(--r-sm);padding:clamp(18px,3vw,28px);margin-bottom:clamp(28px,4vw,40px)}
.enonce-label{display:block;font-weight:700;color:var(--ink);margin-bottom:.3rem}
.enonce-box p,.enonce-box li{font-family:var(--serif);font-size:1.06rem;line-height:1.6}
.enonce-box p{margin:.4rem 0}
.enonce-box ol{margin:.5rem 0 0 1.4rem}
.enonce-box li{margin:.3rem 0}
.enonce-box h4{font-size:1rem;font-weight:700;color:var(--navy);margin:1.1rem 0 .2rem}
.copie{font-size:1.04rem;line-height:1.75;color:#2b3446}
.copie h3{font-family:var(--serif);font-size:clamp(1.35rem,2.4vw,1.65rem);color:var(--navy);margin:2.4rem 0 1rem;padding-bottom:.4rem;border-bottom:2px solid var(--gold)}
.copie h3:first-child{margin-top:0}
.copie h4{font-family:var(--serif);font-size:clamp(1.12rem,2vw,1.28rem);line-height:1.3;color:var(--navy);margin:1.8rem 0 .7rem}
.copie h4.sur{font-family:var(--sans);font-size:1rem;font-weight:700;color:var(--gold-ink);margin-top:2.2rem}
.copie h5{font-family:var(--serif);font-size:1.06rem;font-style:italic;font-weight:400;line-height:1.35;color:var(--navy);margin:1.4rem 0 .5rem}
.copie p{margin-bottom:1rem;text-align:justify;hyphens:auto}
.copie p.transition{font-style:italic;color:var(--muted);border-left:3px solid var(--cream-2);padding-left:1rem}
.copie ul{margin:0 0 1rem 1.3rem}
.copie li{margin-bottom:.5rem}
.copie strong{color:var(--ink)}
.copie .encadre{background:var(--cream);border-left:4px solid var(--gold);padding:.9rem 1.1rem;margin:1.1rem 0}
.copie .encadre p{margin:.3rem 0;text-align:left}
.copie .encadre-titre{font-weight:700;color:var(--gold-ink)}
.table-wrap{overflow-x:auto;margin:1.1rem 0;border:1px solid var(--line);border-radius:var(--r-sm)}
.copie table{width:100%;min-width:520px;border-collapse:collapse;font-size:.92rem;line-height:1.5}
.copie th,.copie td{padding:.6rem .8rem;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.copie th{background:var(--navy);color:#fff;font-weight:700}
.copie th strong{color:inherit}
.copie tr:nth-child(even) td{background:var(--cream)}
.plan-item{margin:.9rem 0}
.plan-item>strong:first-child{display:block;margin-bottom:.25rem;color:var(--navy)}
.sujet-note{margin-top:2rem;font-size:.95rem;font-style:italic;color:var(--muted)}
.sujet-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 2rem;margin-top:1.1rem;padding-top:1.1rem;border-top:1px solid var(--line)}
.sujet-actions .extrait-link{margin:0}
.sujet-aside{position:sticky;top:calc(var(--top-h,80px) + 20px)}
.aside-card{display:flex;flex-direction:column;gap:.8rem;padding:20px;border-radius:var(--r);background:var(--cream);border:1px solid var(--line)}
.aside-cover{display:block;width:100%}
.aside-title{font-family:var(--serif);font-size:1.1rem;font-weight:700;line-height:1.25;color:var(--ink);text-decoration:none}
a.aside-title:hover{color:var(--gold-ink)}
.aside-buy{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.aside-card p{font-size:.95rem;color:var(--muted)}
.aside-card .btn{width:100%}
.copie-apercu{position:relative;max-height:22rem;overflow:hidden;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.verrou{margin-top:-1rem;padding:clamp(20px,3vw,30px);border-radius:var(--r);background:var(--cream);border:1px solid var(--line);border-left:4px solid var(--gold)}
.verrou .eyebrow{margin-bottom:.2rem}
.verrou h2{font-family:var(--serif);font-size:clamp(1.3rem,2.4vw,1.6rem);line-height:1.2;color:var(--navy);margin:.2rem 0 .5rem}
.verrou p{color:#3f4a5e;max-width:62ch}
.verrou-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.verrou .btn-gold{background:var(--navy);color:#fff}

/* ---------- Vidéos ---------- */
.videos{background:var(--paper)}
.v-frame{position:relative;border-radius:var(--r-sm);overflow:hidden;background:var(--navy)}
.v-vertical{aspect-ratio:9/16}
.v-carre{aspect-ratio:1/1}
.v-media{display:block;width:100%;height:100%;object-fit:cover;background:var(--navy)}
.v-dur{position:absolute;top:8px;right:8px;z-index:2;font-size:.85rem;font-weight:600;line-height:1.5;background:rgba(11,31,69,.85);color:#fff;padding:.05rem .5rem;border-radius:4px;pointer-events:none}
.v-play{position:absolute;inset:0;z-index:1;display:flex;align-items:flex-end;justify-content:flex-start;width:100%;height:100%;padding:12px;cursor:pointer}
.v-play-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.3rem .9rem .3rem .3rem;border-radius:var(--r-sm);background:#fff;color:var(--navy);font-size:.95rem;font-weight:700}
.v-play-pill svg{width:30px;height:30px;padding:8px 7px 8px 9px;border-radius:4px;background:var(--navy);fill:#fff;flex:none}
.v-play:hover .v-play-pill{background:var(--gold)}
.v-play:focus-visible{outline:3px solid var(--gold);outline-offset:-6px}
.is-playing .v-play,.is-playing .v-dur{display:none}
.v-tag{font-size:.9rem;color:var(--muted)}
.v-feature{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:clamp(24px,5vw,56px);align-items:center}
.v-feature-vertical{grid-template-columns:minmax(0,300px) minmax(0,1fr)}
.v-feature-text h3{font-family:var(--serif);font-weight:700;font-size:clamp(1.4rem,2.6vw,1.9rem);line-height:1.2;color:var(--navy);margin:.4rem 0 .6rem;text-wrap:balance}
.v-feature-text p{color:#3f4a5e;max-width:54ch}
.v-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.3rem}
.v-actions .btn-gold{background:var(--navy);color:#fff}
.v-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,2vw,24px)}
.v-rail-after{margin-top:clamp(40px,6vw,64px)}
.v-card{min-width:0;margin:0;display:flex;flex-direction:column;gap:.8rem}
.v-card figcaption{display:flex;flex-direction:column;gap:.25rem}
.v-card b{font-family:var(--serif);font-size:1.12rem;line-height:1.25;color:var(--ink)}
.v-desc{font-size:.95rem;line-height:1.5;color:var(--muted)}
.v-link{display:inline-block;margin-top:.2rem;font-size:.95rem;font-weight:600;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px;color:var(--navy)}
.v-link svg{display:none}
.v-rail-sm{grid-template-columns:repeat(auto-fill,minmax(180px,220px))}
.v-inline{display:grid;grid-template-columns:180px minmax(0,1fr);gap:1.2rem;align-items:center;padding:.9rem;border:1px solid var(--line);border-radius:var(--r);background:var(--cream);margin-bottom:clamp(22px,3vw,32px)}
.v-inline b{display:block;font-family:var(--serif);font-size:1.2rem;line-height:1.25;margin:.3rem 0 .4rem;color:var(--navy)}
.v-inline p{font-size:.95rem;color:var(--muted)}
.v-inline .v-play{padding:8px}
.v-inline .v-play-pill{font-size:.85rem;padding-right:.7rem}

/* ---------- Mentions légales ---------- */
.legal-wrap{max-width:780px}
.legal h2{font-family:var(--serif);font-weight:700;font-size:clamp(1.3rem,2.2vw,1.6rem);line-height:1.2;color:var(--navy);margin:2.4rem 0 .6rem}
.legal h2:first-child{margin-top:0}
.legal p,.legal li{margin:.6rem 0;color:#3f4a5e}
.legal ul{margin-left:1.2rem}
.legal a{color:var(--navy);font-weight:600}
.legal .legal-date{margin-top:2.4rem;font-size:.95rem;color:var(--muted)}

/* ---------- Espace abonnés ---------- */
.field small,.ad-note{font-size:.88rem;color:var(--muted);line-height:1.45}
.ea-app{min-height:320px}
.ea-app[aria-busy="true"]{opacity:.55;pointer-events:none;transition:opacity .2s}
.ea-attente,.ea-vide{color:var(--muted)}
.ea-erreur{color:#9b1c1c;font-weight:700}
.ea-carte-info{max-width:640px;padding:clamp(20px,3vw,32px);border:1px solid var(--line);border-radius:var(--r);background:var(--cream)}
.ea-carte-info h3{font-family:var(--serif);font-size:1.4rem;line-height:1.2;color:var(--navy);margin-bottom:.5rem}
.ea-carte-info p{color:var(--muted);margin-bottom:1.1rem}
.ea-accueil{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:start}
.ea-auth{padding:clamp(20px,3vw,30px);border:1px solid var(--line);border-radius:var(--r);background:#fff}
.ea-auth h3{font-family:var(--serif);font-size:1.4rem;color:var(--navy);margin-bottom:.3rem}
.ea-onglets{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:var(--r-sm);background:var(--cream);margin-bottom:.6rem}
.ea-onglets button{min-height:40px;padding:0 1rem;border-radius:4px;font-size:.98rem;font-weight:600;color:var(--muted)}
.ea-onglets button[aria-selected="true"]{background:var(--navy);color:#fff}
.ea-form .btn{grid-column:1/-1}
.ea-msg{grid-column:1/-1;font-size:.98rem;font-weight:600;color:var(--navy)}
.ea-msg:empty{display:none}
.ea-aide{grid-column:1/-1;font-size:.95rem;color:var(--muted)}
.ea-avis{grid-column:1/-1;font-size:.98rem;font-weight:600;color:var(--gold-ink);background:#fdf1d8;padding:.65rem .85rem;border-radius:6px}
.ea-aide a,.ea-accord a{color:var(--navy);font-weight:600}
.ea-accord{grid-column:1/-1;display:flex;gap:.6rem;align-items:flex-start;font-size:.95rem;color:var(--muted);line-height:1.45;cursor:pointer}
.ea-accord input{width:18px;height:18px;margin-top:.2rem;flex:none;accent-color:var(--navy)}
.ea-accord span{flex:1}
.ea-apercu{padding:clamp(20px,3vw,30px);border-radius:var(--r);background:var(--cream);border:1px solid var(--line)}
.ea-apercu h3{font-family:var(--serif);font-size:1.4rem;color:var(--navy);margin-bottom:.7rem}
.ea-compte-types{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:1rem}
.ea-liste{list-style:none;display:grid}
.ea-item{display:grid;grid-template-columns:30px 1fr;gap:.7rem;align-items:center;padding:.6rem 0;border-top:1px solid var(--line)}
.ea-item b{display:block;font-size:1rem;line-height:1.3}
.ea-item small{display:block;font-size:.88rem;color:var(--muted);margin-top:.1rem}
.ea-cadenas{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid var(--line)}
.ea-cadenas svg{width:15px;height:15px;fill:none;stroke:var(--navy);stroke-width:2}
.ea-type{display:inline-block;font-size:.85rem;font-weight:600;padding:.15rem .55rem;border-radius:4px;background:var(--cream);color:var(--navy)}
.ea-type-video{background:var(--navy);color:#fff}
.ea-type-pdf{background:#fdf1d8;color:var(--gold-ink)}
.ea-type-texte{background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1px var(--line)}
.ea-type-lien{background:var(--cream-2);color:var(--navy)}
.ea-compte{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem 1.4rem;padding-bottom:1rem;margin-bottom:1.3rem;border-bottom:1px solid var(--line);color:var(--muted)}
.ea-compte b{color:var(--ink)}
.ea-compte-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.ea-panneau{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,3vw,28px);padding:clamp(18px,3vw,26px);margin-bottom:1.5rem;border:1px solid var(--line);border-radius:var(--r);background:var(--cream)}
.ea-panneau .form{margin-top:0;align-content:start}
.ea-statut{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;padding:clamp(18px,3vw,28px);border-radius:var(--r);margin-bottom:clamp(22px,3vw,36px)}
.ea-statut h3{font-family:var(--serif);font-size:clamp(1.25rem,2.4vw,1.6rem);line-height:1.2;margin:.3rem 0 .2rem;text-wrap:balance}
.ea-statut-ok{background:var(--navy);color:#fff}
.ea-statut-ok .eyebrow{color:var(--gold)}
.ea-statut-ok p{color:rgba(255,255,255,.8)}
.ea-statut-attente{display:block;border:1px solid var(--line);border-left:4px solid var(--gold);background:#fff}
.ea-statut-attente h3{color:var(--navy)}
.ea-statut-attente .btn{margin-top:1.1rem}
.ea-tarifs{display:flex;flex-wrap:wrap;gap:6px;margin:.7rem 0 .2rem}
.ea-tarifs span{padding:.35rem .75rem;border-radius:4px;background:var(--cream);font-size:.95rem}
.ea-etapes{margin:1rem 0 0 1.2rem;display:grid;gap:.4rem;color:var(--ink);max-width:62ch}
.ea-etapes li::marker{font-weight:700;color:var(--gold-ink)}
.ea-accueil-inscrit{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.ea-accueil-inscrit .ea-statut{margin-bottom:0}
.ea-biblio-tete{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1.6rem;margin-bottom:1.1rem}
.ea-biblio-tete h3{font-family:var(--serif);font-size:clamp(1.35rem,2.6vw,1.8rem);color:var(--navy)}
.ea-biblio-tete .chips{margin-top:0}
.ea-cherche{display:block;flex:1 1 260px;max-width:420px}
.ea-cherche input{width:100%;padding:.65rem .9rem;border-radius:var(--r-sm);border:1.5px solid var(--line);background:#fff;font:inherit}
.ea-cherche input:focus{outline:none;border-color:var(--navy)}
.ea-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.ea-carte{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;padding:1.15rem;text-align:left;border-radius:var(--r);border:1px solid var(--line);background:#fff}
.ea-carte:hover,.ea-carte:focus-visible{border-color:var(--navy)}
.ea-carte b{font-family:var(--serif);font-size:1.15rem;line-height:1.25;color:var(--navy)}
.ea-carte-desc{font-size:.95rem;color:var(--muted);line-height:1.5}
.ea-carte small{font-size:.88rem;color:var(--muted)}
.ea-carte-go{margin-top:auto;display:flex;align-items:center;gap:.4rem;font-size:.95rem;font-weight:700;color:var(--navy)}
.ea-carte-go svg{display:none}
.ea-visionneuse{position:fixed;inset:0;z-index:130;display:grid;place-items:center;padding:16px;background:rgba(9,24,54,.86);overflow-y:auto}
.ea-v-boite{position:relative;width:min(920px,100%);max-height:calc(100vh - 32px);overflow-y:auto;padding:clamp(18px,3vw,32px);border-radius:var(--r);background:#fff;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.ea-v-boite h3{font-family:var(--serif);font-size:clamp(1.35rem,2.6vw,1.8rem);line-height:1.2;color:var(--navy);margin:.5rem 0 .4rem}
.ea-v-desc{color:var(--muted);margin-bottom:1rem}
.ea-v-fermer{position:sticky;top:0;float:right;z-index:4;margin:-8px -8px 0 8px;width:44px;height:44px;border-radius:var(--r-sm);display:grid;place-items:center;background:#fff;border:1px solid var(--line)}
.ea-v-fermer svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2}
.ea-v-corps{margin-top:.6rem}
.ea-v-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1rem 0 .4rem}
.ea-etat{font-weight:600;color:var(--navy)}
.ea-lecteur{position:relative;border-radius:var(--r-sm);overflow:hidden;background:#000}
.ea-lecteur video{display:block;width:100%;max-height:70vh;background:#000}
.ea-lecteur:fullscreen{display:grid;place-items:center}
.ea-lecteur:fullscreen video{max-height:100vh;height:100%}
.ea-marque{position:absolute;z-index:2;max-width:70%;font-size:clamp(.7rem,1.6vw,.95rem);font-weight:700;color:rgba(255,255,255,.55);text-shadow:0 1px 2px rgba(0,0,0,.6);pointer-events:none;transition:left 1.2s var(--ease),top 1.2s var(--ease);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ea-plein{position:absolute;z-index:3;top:10px;right:10px;width:40px;height:40px;border-radius:var(--r-sm);display:grid;place-items:center;background:rgba(15,42,92,.75)}
.ea-plein svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round}
.ea-mention{margin-top:.8rem;font-size:.9rem;color:var(--muted)}
.ea-pdf{display:grid;gap:12px;padding:12px;border-radius:var(--r-sm);background:#e8eaee}
.ea-pdf-barre{position:sticky;top:-12px;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.5rem 1.4rem;margin:-12px -12px 0;padding:10px 60px 10px 12px;background:var(--navy);color:#fff;font-size:.95rem;font-weight:600;border-radius:var(--r-sm) var(--r-sm) 0 0}
.ea-pdf-barre input{width:5.5em;margin-left:.4rem;padding:.3rem .5rem;border-radius:4px;border:0;font:inherit;color:var(--navy);-webkit-user-select:text;user-select:text}
.ea-page{display:block;width:100%;height:auto;scroll-margin-top:64px;background:#fff;box-shadow:0 2px 10px rgba(9,24,54,.18);pointer-events:none}
@media print{body.ea-lecture *{visibility:hidden!important}body.ea-lecture::after{content:"Impression désactivée : document réservé aux abonnés.";visibility:visible;display:block;padding:40px;font:700 18px sans-serif}}
.ea-fiche{font-family:var(--serif);font-size:1.06rem;line-height:1.7;color:var(--ink)}
.ea-fiche p{margin-bottom:.9rem}
.ea-fiche h4{font-size:1.2rem;color:var(--navy);margin:1.4rem 0 .5rem}
.espace-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.1rem 2rem;margin-top:clamp(40px,6vw,64px);padding:clamp(20px,3vw,30px);border-radius:var(--r);background:var(--navy);color:#fff}
.espace-band b{display:block;font-family:var(--serif);font-size:clamp(1.3rem,2.4vw,1.6rem);line-height:1.2;margin-bottom:.3rem}
.espace-band p{max-width:58ch;color:rgba(255,255,255,.82)}
.espace-band .btn-navy{background:var(--gold);color:var(--navy)}
.espace-band .btn-navy:hover{background:var(--gold-2)}
.espace-band .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.espace-band .btn-ghost:hover{border-color:#fff}
.espace-band-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.espace-section{padding-top:clamp(32px,5vw,56px)}
.espace-etapes{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;counter-reset:etape;border-top:2px solid var(--navy)}
.espace-etape{counter-increment:etape;position:relative;padding:1rem 0 1rem 2.4rem;border-bottom:1px solid var(--line)}
.espace-etape::before{content:counter(etape);position:absolute;top:1.05rem;left:0;width:1.7rem;height:1.7rem;border-radius:50%;background:var(--navy);color:#fff;font-size:.9rem;font-weight:700;display:grid;place-items:center}
.espace-etape b{display:block;font-size:1.05rem;margin-bottom:.2rem}
.espace-etape span{font-size:.98rem;color:var(--muted)}

/* ---------- Administration de l'espace abonnés ---------- */
.ad-connexion{max-width:480px}
.ad-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:1.3rem}
.ad-stats-2{grid-template-columns:repeat(2,1fr);max-width:560px}
.ad-stats div{padding:.9rem 1rem;border-radius:var(--r-sm);background:var(--cream);border:1px solid var(--line)}
.ad-stats b{display:block;font-family:var(--serif);font-size:clamp(1.3rem,2.4vw,1.7rem);line-height:1.1;color:var(--navy)}
.ad-stats span{font-size:.9rem;color:var(--muted)}
.ad-onglets{margin-bottom:1.1rem}
.ad-outils{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-bottom:1rem}
.ad-outils .search{flex:1 1 260px}
.ad-outils .chips{margin-top:0}
.ad-liste{display:grid;gap:8px}
.ad-ligne{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem 1.4rem;align-items:center;padding:.9rem 1.1rem;border:1px solid var(--line);border-radius:var(--r-sm);background:#fff}
.ad-nom{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .7rem}
.ad-nom b{font-size:1.02rem}
.ad-ident small{display:block;margin-top:.2rem;font-size:.9rem;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}
.ad-ident small a{color:var(--navy);font-weight:600}
.ad-actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}
.ad-actions .btn-sm{min-height:36px;padding:.35rem .8rem;font-size:.9rem}
.ad-danger{color:#9b1c1c}
.ad-zone{grid-column:1/-1;padding-top:.8rem;border-top:1px dashed var(--line)}
.ad-form{margin-top:0}
.ad-form .ad-note{grid-column:1/-1}
.ad-badge{font-size:.85rem;font-weight:600;padding:.15rem .55rem;border-radius:4px;background:var(--cream);color:var(--navy)}
.ad-actif{background:var(--navy);color:#fff}
.ad-bientot{background:#fdf1d8;color:var(--gold-ink)}
.ad-expire{background:var(--cream-2);color:var(--muted)}
.ad-attente{background:#fff;color:var(--gold-ink);box-shadow:inset 0 0 0 1px var(--gold)}
.ad-partage{background:#fbe9e9;color:#9b1c1c}
.ad-retour{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.2rem}
.ad-mdp{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:1.15rem;letter-spacing:.08em;background:var(--cream);padding:.15rem .5rem;border-radius:4px}
.ad-histo{list-style:none;display:grid;gap:.5rem;font-size:.95rem}
.ad-histo small{display:block;color:var(--muted);font-size:.88rem}
.ad-ajout{margin-bottom:1.1rem;border:1px solid var(--line);border-radius:var(--r);background:var(--cream)}
.ad-ajout summary{cursor:pointer;padding:.9rem 1.1rem;font-weight:700;color:var(--navy);list-style:none}
.ad-ajout summary::-webkit-details-marker{display:none}
.ad-ajout summary::before{content:"+ "}
.ad-ajout[open] summary::before{content:"- "}
.ad-ajout .form{padding:0 1.1rem 1.1rem}
.ad-concours{border:0;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem}
.ad-concours legend{width:100%;margin-bottom:.4rem;font-size:.92rem;font-weight:600;color:var(--ink)}
.ad-concours label{display:inline-flex;gap:.4rem;align-items:center;cursor:pointer}
.ad-concours input{width:17px;height:17px;accent-color:var(--navy)}
.ad-tableau{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-sm);background:#fff;margin-top:1.1rem}
.ad-tableau table{width:100%;border-collapse:collapse;font-size:.95rem}
.ad-tableau th,.ad-tableau td{padding:.6rem .85rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.ad-tableau th{font-size:.9rem;font-weight:700;color:var(--ink);background:var(--cream)}
.ad-tableau td:nth-child(4){white-space:nowrap;font-weight:700}

/* ---------- QCM de l'espace abonnés ---------- */
.qz-accueil{padding:1.1rem;border-radius:var(--r-sm);background:var(--cream)}
.qz-accueil p{margin-bottom:.8rem}
.qz-barre{position:sticky;top:-12px;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.2rem;padding:10px 60px 10px 12px;margin-bottom:1rem;border-radius:var(--r-sm);background:var(--navy);color:#fff;font-size:.95rem;font-weight:600}
.qz-temps{font-variant-numeric:tabular-nums;color:var(--gold)}
.qz-score{font-family:var(--serif);font-size:1.15rem;color:var(--gold)}
.qz-liste{list-style:decimal;margin:0 0 0 1.4rem;display:grid;gap:1rem}
.qz-q{padding:.85rem 1rem;border-radius:var(--r-sm);border:1px solid var(--line);background:#fff}
.qz-q p{font-weight:700;margin-bottom:.5rem}
.qz-q label{display:flex;gap:.55rem;align-items:flex-start;padding:.4rem .5rem;border-radius:4px;cursor:pointer}
.qz-q label:hover{background:var(--cream)}
.qz-q input{margin-top:.3rem;accent-color:var(--navy)}
.qz-ok{border-color:#2e7d4f}.qz-ko{border-color:#b3261e}
.qz-bonne{background:#e6f4ea!important;font-weight:700}
.qz-fausse{background:#fce8e6!important;text-decoration:line-through}
.qz-expli{margin-top:.6rem;padding:.6rem .8rem;border-radius:4px;background:var(--cream);font-size:.95rem}
.qz-expli small{display:block;margin-top:.3rem;color:var(--muted)}

/* ---------- Adaptation aux écrans ---------- */
@media (max-width:1100px){
  .nav a{padding:.5rem .5rem;font-size:.95rem}
  .v-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1240px){.nav .nav-opt{display:none}}
@media (max-width:1060px){
  .nav,.header-actions .btn{display:none}
  .menu-btn{display:grid}
  .header-actions{margin-left:auto}
}
@media (max-width:960px){
  .hero-inner{grid-template-columns:1fr}
  .hero-pages{max-width:560px}
  .methodo-layout{grid-template-columns:1fr}
  .m-tabs{flex-direction:row;overflow-x:auto;scrollbar-width:none;border-top:0;gap:6px}
  .m-tabs::-webkit-scrollbar{display:none}
  .m-tab{flex:none;font-size:1rem;padding:.55rem .9rem;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff}
  .m-tab[aria-selected="true"]{box-shadow:none;border-color:var(--navy)}
  .paper{grid-template-columns:1fr}
  .paper-side{border-right:0;border-bottom:1px solid var(--line)}
  .about-grid,.faq-grid,.contact-inner,.conseiller-grid{grid-template-columns:1fr}
  .section-photo{grid-template-columns:1fr}
  .section-photo figure{max-width:440px}
  .reviews{grid-template-columns:1fr 1fr}
  .promises{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid>div:first-child{grid-column:1/-1}
  .modal-box{grid-template-columns:1fr}
  .modal-cover{padding:20px 20px 4px;background:#fff}
  .modal-cover .cover{max-width:340px}
  .cart-bar{display:flex}
  .product{grid-template-columns:1fr;gap:28px}
  .product-cover{max-width:460px}
  .sujet-layout{grid-template-columns:1fr}
  .sujet-aside{position:static}
  .aside-card{max-width:440px}
  .v-feature,.v-feature-vertical{grid-template-columns:1fr}
  .v-feature .v-frame{width:100%;max-width:440px}
  .v-feature-vertical .v-frame{max-width:300px}
  .v-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter) 10px;scroll-padding:0 var(--gutter)}
  .v-card,.v-rail-sm .v-card{flex:0 0 min(62vw,240px);scroll-snap-align:start}
  .ea-accueil,.ea-accueil-inscrit{grid-template-columns:1fr}
  .ad-stats{grid-template-columns:repeat(2,1fr)}
  .ad-ligne{grid-template-columns:1fr}
  .ad-actions{justify-content:flex-start}
  .espace-etapes{grid-template-columns:1fr}
}
@media (max-width:640px){
  body{font-size:16px}
  .header-inner{height:62px}
  .brand-name{font-size:1.02rem}
  .brand-tag{font-size:.74rem}
  .header .mark{width:38px;height:38px}
  .promo{font-size:.85rem;padding:.45rem 2.6rem .45rem .8rem}
  .promo-long{display:none}
  .hero-facts{display:grid;grid-template-columns:1fr 1fr;gap:.5rem 1rem}
  .hero-facts li{border-right:0;margin-right:0;padding-right:0}
  .hero-ctas .btn{flex:1 1 100%}
  .concours-card{grid-template-columns:1fr auto;gap:.1rem 1rem;padding:.95rem .2rem}
  .cc-sub{grid-column:1;grid-row:2;font-size:.92rem}
  .cc-go{grid-row:1/3;grid-column:2;align-self:center}
  .toolbar{position:static}
  .toolbar-row .select{width:120px;font-size:.9rem}
  .books{grid-template-columns:1fr 1fr;gap:26px 14px}
  .cover-made{padding:5% 6%}
  .cover-top{font-size:.5rem}
  .cover-title{font-size:.7rem}
  .book-concours{display:none}
  .book-title{font-size:.98rem}
  .book-niveau{display:none}
  .book-buy{flex-direction:column;align-items:stretch;gap:.45rem}
  .price{font-size:1.08rem}
  .add-btn{justify-content:center}
  .cs-opts{grid-template-columns:1fr}
  .cs-book{grid-template-columns:30px 1fr}
  .cs-book em{grid-column:2}
  .pack .btn{width:100%}
  .reviews,.promises,.about-facts{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .faq-item p{padding-right:0}
  .form{grid-template-columns:1fr}
  .modal{padding:0;place-items:end center}
  .modal-box{border-radius:var(--r) var(--r) 0 0;max-height:92dvh}
  .modal-main{padding:18px 18px 22px}
  .corrige{max-height:420px}
  .corrige p,.copie p{text-align:left}
  .copie{font-size:1rem}
  .apercu-grid{grid-template-columns:1fr}
  .apercu-grid.apercu-portrait{grid-template-columns:1fr 1fr}
  .product-actions .btn{width:100%}
  .product-buy .price{font-size:1.6rem}
  .contact-alt{margin:.7rem 0 0}
  .v-inline{grid-template-columns:110px minmax(0,1fr);gap:.9rem;padding:.75rem}
  .v-inline b{font-size:1.05rem}
  .v-inline .v-play-pill>span{display:none}
  .v-inline .v-play-pill{padding:.25rem}
  .ea-panneau{grid-template-columns:1fr}
  .ea-auth .form,.ad-form{grid-template-columns:1fr}
  .ea-v-boite{padding:16px 14px}
  .ea-statut .btn{width:100%}
}
@media (max-width:480px){.header-actions .icon-espace{display:none}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
