/* =====================================================================
   Sarah Zimbris · editorial-lecture.css  (lot 2 de la refonte, 26/09)
   Deux familles de pages, même univers que l'accueil :
     body.ed-bibliotheque (+ ed-skin) : /guides et /blog, pages-sommaires
     body.ed-lecture                  : articles, guides, lexique
   À charger APRÈS editorial.css (et editorial-pages.css pour la
   bibliothèque). Le HTML des articles n'est pas modifié : l'agent qui
   rédige un article par semaine garde exactement le même gabarit.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1 · EN-TÊTES : ivoire, grand titre, un seul surlignage
   --------------------------------------------------------------------- */
body.ed-bibliotheque :is(.blog-hero,.guides-hero),
body.ed-lecture :is(.art-hero,.lex-hero){
  background:var(--ivoire);border-bottom:1px solid var(--ed-line);--rouge-txt:var(--rouge-deep);
  padding:clamp(48px,6vw,96px) 0 clamp(40px,5vw,72px);
}
body.ed-bibliotheque :is(.blog-hero,.guides-hero) .wrap{max-width:var(--ed-container);padding:0 var(--ed-gutter)}
body.ed-lecture :is(.art-hero,.lex-hero) .wrap{max-width:calc(920px + 2 * var(--ed-gutter));padding:0 var(--ed-gutter);margin:0 auto}
body:is(.ed-bibliotheque,.ed-lecture) :is(.blog-hero,.guides-hero,.art-hero,.lex-hero,.guide-head) h1{
  font-family:var(--display);font-weight:700;font-size:var(--ed-h1);line-height:1.04;letter-spacing:-.035em;
  color:var(--ed-ink);max-width:16ch;margin:0 0 var(--ed-s5);text-wrap:balance;
}
body.ed-lecture .art-hero h1{font-size:clamp(34px,4.4vw,62px);max-width:20ch}
body:is(.ed-bibliotheque,.ed-lecture) :is(.blog-hero,.guides-hero,.art-hero,.lex-hero,.guide-head) h1 :is(.hl,.hl-draw){font-style:italic;font-weight:500;color:var(--ed-ink)}
body:is(.ed-bibliotheque,.ed-lecture) :is(.blog-hero .sub,.guides-hero .lead,.art-hero .lead,.lex-hero .subtitle,.guide-head .lead){
  font-family:var(--display);font-weight:500;font-size:var(--ed-fs-lead);line-height:1.5;color:var(--ed-ink-2);max-width:52ch;
}

/* Étiquette éditoriale (la pastille rose devient un label à filet) */
body.ed-lecture .tag{
  display:flex;align-items:center;gap:12px;background:none;padding:0;border-radius:0;
  font-family:var(--display);font-weight:700;font-size:var(--ed-fs-label);letter-spacing:.14em;text-transform:uppercase;
  color:var(--ed-ink);margin:0 0 var(--ed-s5);
}
body.ed-lecture .tag::before{content:"";flex:0 0 28px;height:2px;background:var(--rouge)}

/* Ligne auteur, date, temps de lecture */
body.ed-lecture .article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-family:var(--display);font-weight:600;font-size:14px;color:var(--ed-ink-2);border-color:var(--ed-line)!important}
body.ed-lecture .article-meta a{color:var(--ed-ink);border-bottom:1px solid var(--rouge);text-decoration:none}

/* Boutons (mêmes règles que les pages commerciales) */
body.ed-lecture .btn{border-radius:var(--ed-radius);font-family:var(--display);font-weight:700;font-size:var(--ed-fs-btn);letter-spacing:.05em;text-transform:uppercase;padding:16px 24px;min-height:52px;line-height:1.3}
body.ed-lecture .btn-1:hover{background:var(--ed-ink);filter:none}
body.ed-lecture .btn:focus-visible{outline:3px solid var(--rouge);outline-offset:3px}

/* Entrée des en-têtes au chargement (contrat du §9 de editorial.css) */
.js body:is(.ed-bibliotheque,.ed-lecture) :is(.blog-hero,.guides-hero,.art-hero,.lex-hero,.guide-head) :is(h1,.sub,.lead,.subtitle){animation:edHeroIn .75s var(--ed-ease) both}
.js body:is(.ed-bibliotheque,.ed-lecture) :is(.blog-hero,.guides-hero,.art-hero,.lex-hero,.guide-head) :is(.sub,.lead,.subtitle){animation-delay:150ms}
.ed-safe body :is(.blog-hero,.guides-hero,.art-hero,.lex-hero,.guide-head) *{animation:none!important}
@media(prefers-reduced-motion:reduce){.js body :is(.blog-hero,.guides-hero,.art-hero,.lex-hero,.guide-head) *{animation:none!important}}

/* ---------------------------------------------------------------------
   2 · /BLOG : un magazine, pas un annuaire
   L'article le plus récent (première carte) devient la une.
   --------------------------------------------------------------------- */
body.ed-bibliotheque .blog-list{padding:clamp(48px,6vw,96px) 0;background:#fff}
body.ed-bibliotheque .blog-list .wrap{max-width:var(--ed-container);padding:0 var(--ed-gutter)}
body.ed-bibliotheque .blog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(40px,5vw,64px) clamp(24px,3vw,40px);align-items:start}
body.ed-bibliotheque .post-card{display:flex;flex-direction:column;background:none;border:0;border-radius:0;overflow:visible;box-shadow:none}
body.ed-bibliotheque .post-card:hover{transform:none;box-shadow:none;border-color:transparent}
body.ed-bibliotheque .post-cover{height:auto;aspect-ratio:4/3;border-radius:var(--ed-radius);overflow:hidden}
body.ed-bibliotheque .post-cover::before{display:none}
body.ed-bibliotheque .post-cover.photo img{transition:transform 1.2s var(--ed-ease)}
body.ed-bibliotheque .post-card:hover .post-cover.photo img{transform:scale(1.04)}
body.ed-bibliotheque .post-cover.dark{background:var(--anthracite);padding:clamp(18px,2vw,28px)}
body.ed-bibliotheque .post-cover .cc-cat{font-size:12px;letter-spacing:.12em}
body.ed-bibliotheque .post-cover .cc-key{font-size:clamp(20px,1.9vw,27px);line-height:1.12}
body.ed-bibliotheque .post-body{padding:18px 0 0}
body.ed-bibliotheque .post-body h2{font-size:clamp(19px,1.5vw,22px);line-height:1.22;margin-bottom:8px;transition:color .3s ease}
body.ed-bibliotheque .post-card:hover .post-body h2{color:var(--rouge-txt)}
body.ed-bibliotheque .post-body p{font-size:16px;line-height:1.6;color:var(--ed-ink-2)}
body.ed-bibliotheque .post-body .meta{font-size:13px;letter-spacing:.04em;color:var(--ed-ink-3);border-top:0;padding-top:0;margin-top:12px}
/* La une */
@media(min-width:901px){
  body.ed-bibliotheque .blog-grid>.post-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(32px,4vw,64px);align-items:center;padding-bottom:clamp(40px,5vw,64px);border-bottom:1px solid var(--ed-line)}
  body.ed-bibliotheque .blog-grid>.post-card:first-child .post-cover{aspect-ratio:16/10}
  body.ed-bibliotheque .blog-grid>.post-card:first-child .post-cover .cc-key{font-size:clamp(28px,3vw,44px)}
  body.ed-bibliotheque .blog-grid>.post-card:first-child .post-body{padding:0}
  body.ed-bibliotheque .blog-grid>.post-card:first-child .post-body h2{font-size:var(--ed-h2);line-height:var(--ed-lh-title);letter-spacing:-.028em;margin-bottom:var(--ed-s4)}
  body.ed-bibliotheque .blog-grid>.post-card:first-child .post-body p{font-size:18px;-webkit-line-clamp:5}
}
@media(max-width:900px){body.ed-bibliotheque .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.ed-bibliotheque .blog-grid{grid-template-columns:1fr;gap:40px}body.ed-bibliotheque .post-card{display:flex}body.ed-bibliotheque .post-cover{aspect-ratio:16/10}}

/* ---------------------------------------------------------------------
   3 · /GUIDES : la collection par famille, puis les outils
   --------------------------------------------------------------------- */
body.ed-bibliotheque .covers-family{margin-bottom:clamp(56px,7vw,96px);padding-top:var(--ed-s6);border-top:1px solid var(--ed-line)}
body.ed-bibliotheque .family-eyebrow{display:inline-block;font-family:var(--display);font-weight:700;font-size:var(--ed-h3);letter-spacing:-.015em;text-transform:none;color:var(--ed-ink);margin:0 0 var(--ed-s5)}
body.ed-bibliotheque .covers-grid{gap:clamp(36px,4vw,56px) clamp(24px,3vw,40px);padding:0}
body.ed-bibliotheque .cover-meta .kicker{font-size:13px;letter-spacing:.08em}
body.ed-bibliotheque .cover-meta .verb{font-size:17px}
body.ed-bibliotheque .guides-tool-card{border-radius:var(--ed-radius)}

/* ---------------------------------------------------------------------
   4 · ARTICLES : une vraie page de lecture
   --------------------------------------------------------------------- */
body.ed-lecture .art-hero{padding-bottom:clamp(64px,7vw,104px)}
body.ed-lecture .art-illu{max-width:calc(1040px + 2 * var(--ed-gutter));padding:0 var(--ed-gutter);margin:clamp(-72px,-5vw,-44px) auto 0;position:relative;z-index:2}
body.ed-lecture .art-illu img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--ed-radius);box-shadow:0 30px 60px -36px rgba(22,22,22,.45)}
body.ed-lecture .art-body{padding:clamp(48px,6vw,80px) 0 clamp(32px,4vw,56px)}
body.ed-lecture .art-body .narrow{max-width:calc(720px + 2 * var(--ed-gutter));padding:0 var(--ed-gutter)}
body.ed-lecture .art-body p,body.ed-lecture .art-body li{font-size:18px;line-height:1.75;color:var(--ed-ink-2)}
body.ed-lecture .art-body p strong,body.ed-lecture .art-body li strong{color:var(--ed-ink)}
body.ed-lecture .art-body h2{font-size:clamp(26px,2.5vw,34px);line-height:1.12;letter-spacing:-.022em;color:var(--ed-ink);margin:clamp(44px,5vw,64px) 0 var(--ed-s4);padding:0;border:0}
body.ed-lecture .art-body h2::before{content:"";display:block;width:28px;height:2px;background:var(--rouge);margin-bottom:16px}
body.ed-lecture .art-body h3{font-size:clamp(20px,1.7vw,24px);margin:32px 0 10px}
body.ed-lecture .art-body .biais li{background:none;border:0;border-top:1px solid var(--ed-line);border-radius:0;padding:18px 0 16px;margin:0}
body.ed-lecture .art-body .biais li:last-child{border-bottom:1px solid var(--ed-line)}
body.ed-lecture .art-body .biais li strong{font-size:18px;margin-bottom:6px}
body.ed-lecture .art-body .biais li span{font-size:16px;line-height:1.65;color:var(--ed-ink-2)}
body.ed-lecture .art-body .pull{background:var(--anthracite);border-radius:var(--ed-radius);padding:clamp(28px,3vw,40px)}
body.ed-lecture .art-body .pull p{font-size:clamp(20px,1.8vw,24px);line-height:1.4;color:#fff}
body.ed-lecture .art-body .lawbox{background:var(--ivoire);border:0;border-left:3px solid var(--rouge);border-radius:var(--ed-radius)}
body.ed-lecture .table-scroll{border-radius:var(--ed-radius)}
body.ed-lecture .art-toc{border-radius:var(--ed-radius);background:var(--ivoire)}
body.ed-lecture .art-lire{background:var(--ivoire);padding:clamp(48px,6vw,88px) 0}
body.ed-lecture .art-lire .narrow{max-width:calc(1080px + 2 * var(--ed-gutter));padding:0 var(--ed-gutter)}
body.ed-lecture .art-lire h2{font-family:var(--display);font-size:var(--ed-fs-label);letter-spacing:.14em;text-transform:uppercase;display:flex;align-items:center;gap:12px;margin-bottom:var(--ed-s6)}
body.ed-lecture .art-lire h2::before{content:"";flex:0 0 28px;height:2px;background:var(--rouge)}
body.ed-lecture .lire-grid{gap:clamp(24px,3vw,40px)}
body.ed-lecture .lire-card{background:none;border:0;border-radius:0;box-shadow:none}
body.ed-lecture .lire-card:hover{transform:none;box-shadow:none}
body.ed-lecture .lire-vis{border-radius:var(--ed-radius);overflow:hidden}
body.ed-lecture .lire-vis img{transition:transform 1.2s var(--ed-ease)}
body.ed-lecture .lire-card:hover .lire-vis img{transform:scale(1.04)}
body.ed-lecture .lire-titre{font-size:clamp(18px,1.4vw,20px)}
/* Appel final : bloc anthracite */
body.ed-lecture .art-cta{background:#fff;padding:clamp(40px,5vw,72px) var(--ed-gutter)}
body.ed-lecture .art-cta .box{max-width:1040px;background:var(--anthracite);border:0;border-radius:var(--ed-radius);padding:clamp(32px,4vw,56px);--rouge-txt:var(--rouge-clair)}
body.ed-lecture .art-cta .box .eb{color:var(--rouge-clair);font-size:12px;letter-spacing:.14em}
body.ed-lecture .art-cta .box h3{color:#fff;font-size:clamp(24px,2.4vw,34px);line-height:1.12;max-width:24ch}
body.ed-lecture .art-cta .box p{color:var(--ed-on-dark-2);font-size:17px}
body.ed-lecture .art-cta .box .btn-3{color:#fff;border-color:rgba(255,255,255,.55);background:transparent}
body.ed-lecture .art-cta .box .btn-3:hover{background:#fff;color:var(--ed-ink)}

/* ---------------------------------------------------------------------
   5 · GUIDES INDIVIDUELS : hiérarchie de lecture, encadrés à plat
   (la couverture du hero reste la vraie couverture du PDF)
   --------------------------------------------------------------------- */
body.ed-lecture .guide-head h1{font-size:clamp(36px,4.6vw,66px);max-width:16ch}
body.ed-lecture .article-body p{font-size:18px;line-height:1.75}
body.ed-lecture .part-eyebrow{font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.12em;color:var(--rouge-txt)}
body.ed-lecture .part-title{font-size:clamp(28px,3vw,42px);line-height:1.08;letter-spacing:-.025em}
body.ed-lecture :is(.toc,.callout,.callout-noir,.callout-vert,.saviez-vous,.pro-card,.cta-central,.agent-card,.card,.qmix,.qmix-result,.pdf-download,.form,.legal-table,.ask){border-radius:var(--ed-radius)!important}
body.ed-lecture [style*="border-radius:16px"],body.ed-lecture [style*="border-radius:14px"],body.ed-lecture [style*="border-radius:12px"]{border-radius:var(--ed-radius)!important}
body.ed-lecture .pull-quote{background:var(--ivoire)}
body.ed-lecture :is(input,select,textarea){border-radius:var(--ed-radius)}

/* ---------------------------------------------------------------------
   6 · LEXIQUE : la lettre en grand, fixe pendant la lecture
   --------------------------------------------------------------------- */
body.ed-lecture .lex-search{border-radius:var(--ed-radius)}
body.ed-lecture .lex-atoz a,body.ed-lecture .lex-atoz span{border-radius:var(--ed-radius)}
body.ed-lecture .lex-list{max-width:calc(1080px + 2 * var(--ed-gutter));padding:clamp(40px,5vw,72px) var(--ed-gutter)}
@media(min-width:820px){
  body.ed-lecture .lex-group{display:grid;grid-template-columns:120px minmax(0,1fr);gap:0 40px;align-items:start;padding-top:var(--ed-s5);border-top:1px solid var(--ed-line)}
  body.ed-lecture .lex-group h2{position:sticky;top:130px;font-size:clamp(56px,6vw,88px);line-height:.9;color:var(--ed-ink);border:0;padding:0;margin:0}
}
body.ed-lecture .lex-group h2{color:var(--ed-ink)}
body.ed-lecture .lex-group dt{border-left-width:2px;font-size:19px}
body.ed-lecture .lex-group dd{font-size:16px;color:var(--ed-ink-2)}

/* =====================================================================
   7 · GUIDES ET QUIZ (étape 2, 27/09) : forme seulement, rien du contenu
   ni des bonnes réponses n'est touché. Les sélecteurs « body.ed-lecture »
   passent devant les <style> propres à chaque guide.
   ===================================================================== */
/* Étiquettes en pilule rose : labels éditoriaux à filet */
body.ed-lecture :is(.guide-hero-tag,.cta-central-eyebrow,.contact-panel .ct-eyebrow,.agent-info .ag-eyebrow,.pdf-eyebrow,.cta-mid-eyebrow,.fw-eyebrow,.sv-eyebrow,.tools-eyebrow,.fe-eyebrow,.pc-eyebrow){
  display:inline-flex;align-items:center;gap:10px;background:none!important;border:0!important;border-radius:0!important;padding:0!important;
  font-family:var(--display);font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;
}
body.ed-lecture :is(.guide-hero-tag,.cta-central-eyebrow,.contact-panel .ct-eyebrow,.agent-info .ag-eyebrow,.pdf-eyebrow,.cta-mid-eyebrow)::before{content:"";flex:0 0 24px;height:2px;background:var(--rouge)}

/* Dégradés et halos : aplats de la charte */
body.ed-lecture .toc{background:var(--ivoire)!important}
body.ed-lecture :is(.pdf-download,.punch-stat,.stat-card){background:var(--anthracite)!important;box-shadow:none!important}
/* Score, format 1 (sombre) : aplat anthracite. Format 2 (blanc, .final-score) : reste clair */
body.ed-lecture .qmix-result:has(.qmix-result-score){background:var(--anthracite)!important;box-shadow:none!important}
body.ed-lecture :is(.pdf-download,.qmix-result,.cta-central,.callout-noir,.callout-dark)::before{width:3px!important}

/* Carte « Qui écrit ce guide » : portrait carré, pas de médaillon */
body.ed-lecture .agent-photo{border-radius:var(--ed-radius)!important;border:0!important;box-shadow:0 1px 2px rgba(22,22,22,.08),0 18px 30px -18px rgba(22,22,22,.4)}
body.ed-lecture .agent-coord .coord-ico{border-radius:var(--ed-radius)!important}

/* ---------------------------------------------------------------------
   LE QUIZ
   --------------------------------------------------------------------- */
body.ed-lecture .quiz-section{background:var(--ivoire)}
body.ed-lecture .quiz-section h2{font-size:var(--ed-h2)!important;line-height:var(--ed-lh-title)!important;letter-spacing:-.028em;max-width:22ch}
/* Barre d'avancement (collante) */
body.ed-lecture .qmix-intro{background:var(--anthracite);border-radius:var(--ed-radius);box-shadow:0 18px 36px -24px rgba(22,22,22,.55);padding:18px 24px}
body.ed-lecture .qmix-intro::before{width:3px;height:100%;top:0}
body.ed-lecture .qmix-intro p{font-size:15px;color:var(--ed-on-dark)}
body.ed-lecture .qmix-counter{border-radius:var(--ed-radius);background:rgba(255,255,255,.06);font-size:13px;letter-spacing:.08em}
body.ed-lecture .qmix-counter :is(.qmix-done,.qmix-score){color:var(--rouge-clair)}
body.ed-lecture .qmix-counter small{color:var(--ed-on-dark-2)!important}
body.ed-lecture .qmix-progress{height:3px;border-radius:0;background:rgba(255,255,255,.14)}
body.ed-lecture .qmix-progress-bar{border-radius:0;transition:width .6s var(--ed-ease)}
/* Questions : une liste à filets, pas des cartes arrondies */
body.ed-lecture .qmix-list{gap:0;border-bottom:1px solid var(--ed-line)}
body.ed-lecture .qmix{background:none;border:0;border-top:1px solid var(--ed-line);border-radius:0;padding:28px 0;box-shadow:none}
body.ed-lecture .qmix:hover{box-shadow:none}
body.ed-lecture .qmix-num{font-size:13px;letter-spacing:.1em;color:var(--rouge-txt)}
body.ed-lecture .qmix-type{background:none;border:1px solid var(--ed-line);border-radius:var(--ed-radius);font-size:12px;letter-spacing:.08em;color:var(--ed-ink-2);padding:3px 8px}
body.ed-lecture .qmix-question{font-size:clamp(19px,1.6vw,22px);line-height:1.35;color:var(--ed-ink);max-width:58ch}
/* Choix de réponse */
body.ed-lecture .qmix-btn{background:#fff;border:1.5px solid var(--ed-line);border-radius:var(--ed-radius);font-size:16px;min-height:52px;color:var(--ed-ink);
  transition:border-color .3s ease,background .3s ease,transform .3s var(--ed-ease),opacity .3s ease}
body.ed-lecture .qmix-btn:hover:not(:disabled){border-color:var(--ed-ink);background:#fff;transform:translateX(4px)}
body.ed-lecture .qmix-options.row .qmix-btn:hover:not(:disabled){transform:translateY(-2px)}
body.ed-lecture .qmix-btn:focus-visible{outline:3px solid var(--rouge);outline-offset:2px}
body.ed-lecture .qmix-letter{color:var(--rouge-txt);font-size:16px}
body.ed-lecture .qmix-btn:disabled{opacity:.5}
body.ed-lecture .qmix-btn.is-correct{background:#fff;border:2px solid var(--ed-ink);opacity:1;box-shadow:inset 4px 0 0 var(--ed-ink)}
body.ed-lecture .qmix-btn.is-wrong{background:#fff;border:2px solid var(--rouge);color:var(--rouge-deep);opacity:1;box-shadow:inset 4px 0 0 var(--rouge)}
/* Correction */
body.ed-lecture .qmix-explain{background:#fff;border-radius:0;border-left:2px solid var(--rouge);font-size:16px;line-height:1.65;color:var(--ed-ink-2);padding:18px 22px}
/* Bouton de fin et score final */
body.ed-lecture .qmix-finish .btn{padding:16px 32px}
body.ed-lecture .qmix-result{border-radius:var(--ed-radius);padding:clamp(36px,5vw,64px) clamp(24px,4vw,56px)}
body.ed-lecture .qmix-result:has(.qmix-result-score){--rouge-txt:var(--rouge-clair)}
body.ed-lecture .qmix-result-eyebrow{font-size:12px;letter-spacing:.14em;color:var(--rouge-clair)}
body.ed-lecture .qmix-result-score{font-size:clamp(64px,9vw,112px);color:#fff}
body.ed-lecture .qmix-result-score span{color:var(--ed-on-dark-2)}
body.ed-lecture .qmix-result-level{font-size:var(--ed-h3)}
body.ed-lecture .qmix-result-msg{font-size:17px;color:var(--ed-on-dark-2)}
body.ed-lecture .qmix-result .btn-3{color:#fff;border-color:rgba(255,255,255,.55);background:transparent}
body.ed-lecture .qmix-result .btn-3:hover{background:#fff;color:var(--ed-ink)}
@media(max-width:600px){
  body.ed-lecture .qmix{padding:22px 0}
  body.ed-lecture .qmix-intro{padding:14px 16px}
}
/* Le score apparaît avec une montée douce (mouvement réduit : sans) */
body.ed-lecture .qmix-result.is-visible{animation:edHeroIn .7s var(--ed-ease) both}
@media(prefers-reduced-motion:reduce){body.ed-lecture .qmix-result.is-visible{animation:none}body.ed-lecture .qmix-btn:hover:not(:disabled){transform:none}}

/* Formulaire de téléchargement du PDF et formulaire de contact */
body.ed-lecture .pdf-download{padding:clamp(28px,4vw,48px)!important}
body.ed-lecture .pdf-download :is(input,select,textarea){border-radius:var(--ed-radius);min-height:48px}
body.ed-lecture .contact-panel{border-radius:var(--ed-radius)}

/* Quiz, format 2 (guides indivision et vendre) : mêmes règles que le format 1 */
body.ed-lecture .qmix-opt{background:#fff;border:1.5px solid var(--ed-line);border-radius:var(--ed-radius);font-size:16px;min-height:52px;color:var(--ed-ink);
  transition:border-color .3s ease,background .3s ease,transform .3s var(--ed-ease),opacity .3s ease}
body.ed-lecture .qmix-opt:hover:not(:disabled){border-color:var(--ed-ink);transform:translateX(4px)}
body.ed-lecture .qmix-opt:focus-visible{outline:3px solid var(--rouge);outline-offset:2px}
body.ed-lecture .qmix-opt:disabled{opacity:.5}
body.ed-lecture .qmix-opt.is-correct{background:#fff;border:2px solid var(--ed-ink);opacity:1;box-shadow:inset 4px 0 0 var(--ed-ink)}
body.ed-lecture .qmix-opt.is-wrong{background:#fff;border:2px solid var(--rouge);color:var(--rouge-deep);opacity:1;box-shadow:inset 4px 0 0 var(--rouge)}
body.ed-lecture .qmix-opts{gap:10px}
body.ed-lecture .qmix-intro h3{font-size:18px;color:#fff}
body.ed-lecture .qmix-score .score-num{font-size:28px;color:#fff}
body.ed-lecture .qmix-score .score-num span{color:var(--rouge-clair)}
body.ed-lecture .qmix-score .score-lab{font-size:12px;color:var(--ed-on-dark-2)}
body.ed-lecture .qmix-result:has(.final-score){background:#fff;border:0;border-top:3px solid var(--rouge);box-shadow:0 30px 60px -40px rgba(22,22,22,.4)}
body.ed-lecture .qmix-result .final-score{font-size:clamp(56px,7vw,88px);color:var(--rouge-txt);letter-spacing:-.04em}
body.ed-lecture .qmix-result .final-score small{color:var(--ed-ink-3)}
body.ed-lecture .qmix-result:has(.final-score) h3{font-size:var(--ed-h3)}
body.ed-lecture .qmix-result:has(.final-score) p{font-size:17px;color:var(--ed-ink-2)}
@media(prefers-reduced-motion:reduce){body.ed-lecture .qmix-opt:hover:not(:disabled){transform:none}}
body.ed-lecture .qmix-result-score .qmix-result-num{color:#fff;font-size:1em}
body.ed-lecture .qmix-result:has(.final-score){--rouge-txt:var(--rouge-deep)}
body.ed-lecture .qmix-result:has(.final-score) .final-score{color:var(--rouge-deep)}
body.ed-lecture .quiz-section:has(.qmix-result.is-visible) .qmix-intro{position:relative;top:auto}
/* Couverture web de la collection en tête de chaque guide (27/09) :
   la même que sur /guides. Le PDF téléchargé garde sa propre couverture. */
body.ed-lecture .guide-cover-visual .ed-cover--hero{width:100%;max-width:420px;margin-left:auto;transform:rotate(1.5deg);
  box-shadow:0 1px 2px rgba(22,22,22,.08),0 40px 70px -34px rgba(22,22,22,.55)}
body.ed-lecture .guide-cover-visual{background:none!important;box-shadow:none!important;transform:none!important}
@media(max-width:860px){body.ed-lecture .guide-cover-visual .ed-cover--hero{max-width:260px;margin:0 auto;transform:none}}
