/* ==========================================================================
   Académie ENIX — thème public (design v7).
   Une seule feuille, pas de framework. Mobile d'abord ; bascule du menu à 860 px.
   ========================================================================== */

:root {
  --navy: #00195f;
  --navy-2: #002b90;
  --blue: #1e3ea0;
  --blue-3: #3b57ba;
  --ink: #141b2b;
  --ink-2: #293040;
  --text-2: #444652;
  --muted: #666775;
  --line: rgba(197, 197, 212, .25);
  --line-2: #c5c5d4;
  --bg: #f9f9ff;
  --soft: #f1f3ff;
  --soft-2: #e9edff;
  --soft-3: #dce1ff;
  --lav: #b7c4ff;
  --gold: #ecc246;
  --gold-2: #c9a227;
  --gold-ink: #755b00;
  --red: #b91c1c;
  --green: #15803d;
  --green-2: #4ade80;
  --radius: 8px;
  --radius-s: 6px;
  --shadow-1: 0 1px 2px 0 rgba(0, 25, 95, .04);
  --shadow-2: 0 12px 24px -4px rgba(0, 25, 95, .12);
  --shadow-3: 0 20px 40px -8px rgba(0, 25, 95, .18);
  --wrap: 1240px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: inherit; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue-3); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: var(--radius-s); box-shadow: var(--shadow-2); }
.skip:focus { top: 8px; }
.ic { width: 18px; height: 18px; flex: none; fill: currentColor; }
.ic-16 { width: 16px; height: 16px; }
.ic-20 { width: 20px; height: 20px; }
.ic-24 { width: 24px; height: 24px; }
.ic-28 { width: 28px; height: 28px; }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-md { max-width: 1040px; }
.wrap-sm { max-width: 880px; }
.wrap-xs { max-width: 440px; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.page { padding: 40px 0 72px; flex: 1; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: var(--gap, 12px); flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; gap: var(--gap, 16px); grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr)); }
.grid-fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 280px)), 1fr)); }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-ink { background: var(--ink); color: #fff; }
.dots { position: relative; overflow: hidden; }
.dots::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(circle at 50% 50%, #fff 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.dots > * { position: relative; }

/* ---------- Titres de section ---------- */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.eyebrow-gold { color: var(--gold-ink); }
.bg-navy .eyebrow, .bg-ink .eyebrow { color: var(--lav); }
.h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; color: var(--navy); }
.h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; color: var(--navy); }
.h3 { font-size: 28px; }
.lead { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 620px; }
.bg-navy .h1, .bg-navy .h2 { color: #fff; }
.bg-navy .lead { color: var(--soft-3); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.more { font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: var(--radius-s); border: 1px solid transparent; font-size: 14px; font-weight: 500; line-height: 1.2; cursor: pointer; text-align: center; transition: opacity .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-lg { padding: 13px 20px; font-size: 15px; }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.btn-primary { background: linear-gradient(145deg, var(--navy-2), var(--navy)); color: #fff; }
.btn-primary:hover { color: #fff; opacity: .95; }
.btn-white { background: #fff; color: var(--navy); font-weight: 600; }
.btn-white:hover { color: var(--navy); box-shadow: var(--shadow-2); }
.btn-ghost { border-color: rgba(183, 196, 255, .4); color: #fff; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: var(--soft-2); color: var(--ink); }
.btn-outline { border-color: var(--line-2); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-gold { background: var(--gold); color: #241a00; font-weight: 600; }
.btn-gold:hover { color: #241a00; opacity: .92; }
.btn-link-gold { color: var(--gold); padding-left: 6px; padding-right: 6px; }
.btn-link-gold:hover { color: #fff; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* ---------- Bandeau d'annonce ---------- */
.ann { background: var(--navy); color: #fff; font-size: 13px; }
.ann .wrap { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.ann-tag { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--navy); background: var(--gold); padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
.ann-text { flex: 1; min-width: 0; color: var(--soft-3); }
.ann-text strong { color: #fff; }
.ann a { color: #fff; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.ann a:hover { color: var(--gold); }
.ann-close { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: var(--radius-s); display: flex; align-items: center; justify-content: center; color: var(--lav); }
.ann-close:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 640px) { .ann a { display: none; } }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: var(--shadow-1); }
.site-header .wrap { height: 64px; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 38px; height: 38px; border-radius: var(--radius-s); }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--navy); white-space: nowrap; }
.brand-name span, .red { color: var(--red); }
.main-nav { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.main-nav a { white-space: nowrap; padding: 8px 10px; border-radius: var(--radius-s); font-size: 13px; font-weight: 500; color: var(--ink); }
.main-nav a:hover { background: var(--soft); color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--soft); color: var(--navy); font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: var(--radius-s); display: flex; align-items: center; justify-content: center; color: var(--ink); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.badge-count { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; border-radius: 12px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.login-link { padding: 8px 12px; font-size: 13px; font-weight: 500; }
.me { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: var(--radius-s); color: var(--ink); }
.me:hover { background: var(--soft); color: var(--ink); }
.avatar { width: 32px; height: 32px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex: none; }
.me span:last-child { font-size: 13px; font-weight: 500; }
.menu-toggle { display: none; }
.mobile-nav { display: none; border-top: 1px solid rgba(197, 197, 212, .3); background: #fff; padding: 12px 16px 20px; flex-direction: column; gap: 2px; box-shadow: var(--shadow-3); max-height: calc(100vh - 64px); overflow-y: auto; }
.mobile-nav a { padding: 12px; border-radius: var(--radius-s); font-size: 15px; font-weight: 500; color: var(--ink); }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.mobile-nav .mobile-auth { display: flex; gap: 8px; margin-top: 10px; }
.mobile-nav .mobile-auth .btn { flex: 1; }
.site-header.is-open .mobile-nav { display: flex; }
@media (max-width: 859px) {
  .brand-name, .main-nav, .head-actions .login-link, .head-actions .btn-register, .me span:last-child { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Accueil : héros ---------- */
.hero .wrap { padding-top: 64px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.live { display: flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 12px; background: var(--green-2); }
.hero h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1; letter-spacing: -.04em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--soft-3); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(183, 196, 255, .18); }
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong { font-size: 15px; font-weight: 600; }
.hero-facts span { font-size: 12px; color: var(--lav); }
.hero-visual { position: relative; padding: 0 0 28px 28px; }
.hero-photo { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); box-shadow: 0 20px 40px -8px rgba(0, 0, 0, .35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; top: 16px; right: 16px; background: #fff; color: var(--ink); border-radius: var(--radius-s); padding: 8px 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow-2); }
.hero-chip .ic { color: var(--gold-ink); }

/* Terminal */
.term { background: var(--ink); border: 1px solid rgba(183, 196, 255, .15); border-radius: var(--radius); box-shadow: 0 20px 40px -8px rgba(0, 0, 0, .45); overflow: hidden; font-family: var(--mono); color: #edf0ff; }
.hero .term { position: absolute; left: 0; bottom: 0; width: min(78%, 340px); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--ink-2); }
.term-bar i { width: 8px; height: 8px; border-radius: 12px; background: var(--red); }
.term-bar i:nth-child(2) { background: var(--gold); }
.term-bar i:nth-child(3) { background: var(--green-2); }
.term-bar span { margin-left: 8px; font-size: 11px; color: var(--lav); }
.term-body { padding: 12px 14px; font-size: 12px; line-height: 1.75; white-space: pre-wrap; overflow-x: auto; margin: 0; }
.term-body .p { color: var(--green-2); }
.term-body .o { color: var(--lav); }
.caret { display: inline-block; width: 8px; height: 14px; background: #edf0ff; vertical-align: middle; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Cartes ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
a.card:hover { color: var(--ink); box-shadow: var(--shadow-2); }
.card-pad { padding: 20px; }
.card-media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 25, 95, .1), rgba(0, 25, 95, .8)); }
.card-media > * { z-index: 1; }
.chip-level { position: absolute; left: 14px; top: 12px; font-size: 10px; font-weight: 700; letter-spacing: .14em; padding: 5px 8px; border-radius: 4px; background: var(--soft-3); color: var(--navy); }
.chip-level.lv-intermediaire { background: var(--soft-2); color: var(--blue); }
.chip-level.lv-avance { background: #fff; color: var(--navy); }
.chip-level.lv-tres-avance { background: #ffe08e; color: #584400; }
.cert-card .card-media .cert-code { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.cert-code strong { font-size: 24px; font-weight: 700; letter-spacing: .02em; color: #fff; }
.cert-code span { font-family: var(--mono); font-size: 11px; color: var(--soft-3); }
.cert-card .card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cert-card .card-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.cert-card .card-text { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.card-facts { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12px; }
.card-facts div { display: flex; flex-direction: column; gap: 2px; }
.card-facts span { color: var(--muted); }
.card-facts strong { font-weight: 600; }
.card-facts .next { color: var(--navy); }

.mod-card { padding: 20px; gap: 12px; }
.mod-card .card-media { margin: -20px -20px 4px; }
.mod-card .card-media::after { background: linear-gradient(180deg, rgba(0, 25, 95, 0) 45%, rgba(0, 25, 95, .75)); }
.code-tag { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--navy); background: #fff; padding: 4px 8px; border-radius: 4px; }
.mod-card .code-tag { position: absolute; left: 14px; bottom: 12px; }
.mod-card .status { position: absolute; right: 12px; top: 12px; font-size: 10px; font-weight: 700; letter-spacing: .12em; background: #fff; padding: 4px 7px; border-radius: 4px; color: var(--green); }
.mod-card .cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.mod-card .title { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; min-height: 42px; }
.mod-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(197, 197, 212, .2); font-size: 13px; }
.mod-card .foot .meta { color: var(--text-2); }
.price { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price.is-free { color: var(--green); }
.price.is-muted { color: var(--muted); font-weight: 500; }
.placeholder-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .5); background: radial-gradient(circle at 30% 20%, var(--navy-2), var(--navy)); }
.placeholder-media .ic { width: 42px; height: 42px; }

/* Parcours */
.tabs-pill { display: flex; gap: 4px; background: #fff; padding: 4px; border-radius: var(--radius-s); flex-wrap: wrap; }
.tabs-pill button { all: unset; cursor: pointer; padding: 9px 14px; border-radius: 4px; font-size: 13px; font-weight: 500; color: var(--ink); }
.tabs-pill button[aria-selected="true"] { background: var(--navy); color: #fff; }
.step-card { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.step-card:hover { color: var(--ink); box-shadow: var(--shadow-2); }
.step-card .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step-card .code { font-size: 28px; font-weight: 700; letter-spacing: .01em; color: var(--navy); }
.step-card .name { font-size: 14px; font-weight: 600; }
.step-card .why { font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* Labs */
.labs-list { background: rgba(255, 255, 255, .06); border: 1px solid rgba(183, 196, 255, .18); border-radius: var(--radius); padding: 8px; font-family: var(--mono); }
.labs-list div { height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 12px; border-radius: var(--radius-s); }
.labs-list div:hover { background: rgba(255, 255, 255, .06); }
.labs-list div::before { content: ""; width: 6px; height: 6px; border-radius: 12px; background: var(--green-2); }
.labs-list span:first-child { font-size: 13px; flex: 1; color: #fff; }
.labs-list span:last-child { font-size: 11px; color: var(--lav); }
.media-16x9 { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.media-16x9 img { width: 100%; height: 100%; object-fit: cover; }

/* Vidéos */
.video-card { position: relative; aspect-ratio: 9 / 14; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; display: block; }
.video-card:hover { color: #fff; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-card:hover img { transform: scale(1.03); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 25, 95, .05) 35%, rgba(0, 25, 95, .92)); }
.video-card > span, .video-card > div { position: absolute; z-index: 1; }
.video-card .platform { left: 12px; top: 12px; font-size: 10px; font-weight: 700; letter-spacing: .12em; background: #fff; color: var(--navy); padding: 4px 7px; border-radius: 4px; }
.video-card .play { right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; }
.video-card > div { left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.video-card strong { font-size: 17px; font-weight: 600; line-height: 1.2; }
.video-card small { font-size: 12px; line-height: 1.45; color: var(--soft-3); }
.video-card em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--gold); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 12px; border-radius: var(--radius-s); background: var(--soft); font-size: 13px; font-weight: 500; color: var(--ink); border: 0; cursor: pointer; }
.chip:hover { background: var(--soft-2); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--navy); color: #fff; }

/* Bandeaux */
.band { background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: center; }
.band-icon { width: 52px; height: 52px; flex: none; border-radius: var(--radius); background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.band-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.band-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.bounty-box { background: var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 24px; color: #fff; }
.bounty-range { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.bounty-range strong { font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em; }
.bounty-range em { font-style: normal; color: var(--gold); }
.sev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sev div { background: rgba(255, 255, 255, .06); border-radius: var(--radius-s); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.sev b { font-size: 10px; letter-spacing: .12em; }
.sev span { font-size: 12px; color: var(--soft-3); }
.photo-band { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); color: #fff; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 25, 95, .92) 10%, rgba(0, 25, 95, .2) 70%); }
.photo-band .wrap { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 48px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--soft-3); }
.contact-lines span { display: flex; align-items: center; gap: 6px; }
.cybergo { position: relative; overflow: hidden; border-radius: var(--radius); background: #4c0003; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); color: #fff; }
.cybergo .copy { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.cybergo .eyebrow { color: #ffb4ac; }
.cybergo p { color: #ffdad6; max-width: 480px; font-size: 15px; line-height: 1.6; }
.cybergo .pic { position: relative; min-height: 280px; }
.cybergo .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cybergo .btn-white { color: #4c0003; }

/* Événements */
.ev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; color: var(--ink); }
.ev-card:hover { color: var(--ink); box-shadow: var(--shadow-2); }
.ev-date { background: var(--soft); border-radius: var(--radius-s); height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ev-date b { font-size: 22px; font-weight: 600; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.ev-date span { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--text-2); margin-top: 4px; text-transform: uppercase; }
.ev-type { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.ev-type.t-examen { color: var(--red); }
.ev-title { font-size: 14px; font-weight: 600; line-height: 1.35; }

/* Articles */
.post-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.post-card:hover { color: var(--ink); }
.post-card:hover .post-title { color: var(--navy); }
.post-thumb { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--soft-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-title { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.post-excerpt { font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* Instructeurs */
.person { display: flex; flex-direction: column; gap: 10px; }
.person .photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--soft-2); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 700; color: var(--lav); }
.person strong { font-size: 15px; font-weight: 600; }
.person span { font-size: 13px; line-height: 1.45; color: var(--text-2); }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: auto; background: var(--ink); color: #dce2f7; }
.site-footer a { color: #dce2f7; }
.site-footer a:hover { color: #fff; }
.nl { border-bottom: 1px solid rgba(197, 197, 212, .1); }
.nl .wrap { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: center; }
.nl .eyebrow { color: var(--gold); }
.nl-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.nl-form { display: flex; flex-direction: column; gap: 12px; }
.nl-form .row { gap: 8px; }
.nl-form input[type=email] { flex: 1; min-width: 200px; padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid rgba(183, 196, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px; }
.nl-form input::placeholder { color: #aab0c8; }
.topic { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .08); color: #dce2f7; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic .ic { width: 14px; height: 14px; opacity: .35; }
.topic:has(input:checked) { background: var(--gold); color: #241a00; }
.topic:has(input:checked) .ic { opacity: 1; }
.form-msg { font-size: 13px; padding: 12px 14px; border-radius: var(--radius-s); }
.form-msg.ok { background: rgba(74, 222, 128, .12); color: #bbf7d0; }
.form-msg.err { background: rgba(185, 28, 28, .15); color: #ffb4ac; }
.foot-cols { padding-top: 40px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.foot-cols .eyebrow { color: var(--muted); margin-bottom: 4px; }
.foot-cols img { width: 64px; height: 64px; border-radius: var(--radius-s); }
.foot-about { color: var(--line-2); line-height: 1.5; }
.foot-bottom { border-top: 1px solid rgba(197, 197, 212, .1); }
.foot-bottom .wrap { padding-top: 16px; padding-bottom: 16px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-bottom a { color: var(--muted); }
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: var(--radius); background: var(--green); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-2); }
.wa-float:hover { color: #fff; opacity: .95; }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 12px; border-radius: 50%; left: auto; right: 12px; bottom: 12px; } }

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--ink); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: #fff; font-size: 14px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 62, 160, .12); }
.field .hint { font-size: 12px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: var(--radius-s); font-size: 14px; }
.notice-ok { background: #dcfce7; color: #14532d; }
.notice-err { background: #fee2e2; color: #7f1d1d; }
.notice-info { background: var(--soft); color: var(--ink); }

/* ---------- Divers ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--soft); color: var(--navy); }
.badge-ok { background: #dcfce7; color: var(--green); }
.badge-warn { background: #fef3c7; color: var(--gold-ink); }
.badge-bad { background: #fee2e2; color: var(--red); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.prose { font-size: 16px; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 24px; margin-top: 1.6em; color: var(--navy); }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--radius); }
.prose pre, .prose code { font-family: var(--mono); font-size: 13px; }
.prose pre { background: var(--ink); color: #edf0ff; padding: 14px 16px; border-radius: var(--radius); overflow-x: auto; }
.prose blockquote { margin: 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--gold-2); color: var(--text-2); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-s); background: #fff; border: 1px solid var(--line); font-size: 14px; padding: 0 10px; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Bandeau de confirmation / erreur après un formulaire */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; max-width: min(560px, calc(100vw - 32px)); display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius); box-shadow: var(--shadow-3); font-size: 14px; line-height: 1.45; animation: toast-in .25s ease-out; }
.toast-ok { background: var(--ink); color: #fff; }
.toast-err { background: #7f1d1d; color: #fff; }
.toast-close { all: unset; cursor: pointer; opacity: .7; }
.toast-close:hover { opacity: 1; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- Catalogue ---------- */
.cat-layout { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 32px; align-items: start; }
.cat-filters { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 88px; }
.cat-filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cat-filters legend { margin-bottom: 8px; padding: 0; }
@media (max-width: 859px) { .cat-layout { grid-template-columns: 1fr; } .cat-filters { position: static; } }
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid rgba(197, 197, 212, .6); border-radius: var(--radius-s); padding: 0 12px; height: 42px; }
.search-box input { all: unset; flex: 1; font-size: 14px; min-width: 0; }
.search-box:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 62, 160, .12); }
.check-row { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px; border-radius: var(--radius-s); font-size: 14px; cursor: pointer; }
.check-row:hover { background: var(--soft); }
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.check-row .box { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line-2); background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.check-row .box .ic { opacity: 0; width: 14px; height: 14px; }
.check-row input:checked + .box { background: var(--navy); border-color: var(--navy); }
.check-row input:checked + .box .ic { opacity: 1; }
.check-row input:focus-visible + .box { outline: 2px solid var(--blue-3); outline-offset: 2px; }
.check-row .lbl { flex: 1; }
.pills { display: flex; flex-wrap: wrap; gap: 4px; }
.pills label, .seg label { cursor: pointer; }
.pills input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: block; padding: 6px 10px; border-radius: var(--radius-s); font-size: 13px; font-weight: 500; background: var(--soft); }
.pills input:checked + span { background: var(--navy); color: #fff; }
.pills input:focus-visible + span, .seg input:focus-visible + span { outline: 2px solid var(--blue-3); outline-offset: 2px; }
.seg { display: flex; gap: 4px; background: var(--soft); padding: 4px; border-radius: var(--radius-s); }
.seg label { flex: 1; }
.seg span { display: block; text-align: center; padding: 6px 8px; border-radius: 4px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 25, 95, .08); }
.seg-icons { flex: none; }
.seg-icons button { all: unset; cursor: pointer; width: 32px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--text-2); }
.seg-icons button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 25, 95, .08); }
.link-btn { all: unset; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--navy); }
.link-btn:hover { color: var(--blue); text-decoration: underline; }
/* Vue liste du catalogue */
.mod-grid.is-list { grid-template-columns: 1fr; gap: 0; background: #fff; border: 1px solid rgba(197, 197, 212, .2); border-radius: var(--radius); overflow: hidden; }
.mod-grid.is-list .mod-card { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 20px; border: 0; border-bottom: 1px solid rgba(197, 197, 212, .15); border-radius: 0; box-shadow: none; }
.mod-grid.is-list .card-media { margin: 0; aspect-ratio: auto; background: none; overflow: visible; grid-row: span 2; }
.mod-grid.is-list .card-media img, .mod-grid.is-list .card-media::after, .mod-grid.is-list .status { display: none; }
.mod-grid.is-list .code-tag { position: static; padding: 0; background: none; }
.mod-grid.is-list .cat { display: none; }
.mod-grid.is-list .title { min-height: 0; font-size: 14px; font-weight: 500; }
.mod-grid.is-list .foot { margin: 0; padding: 0; border: 0; gap: 16px; }

/* ---------- Page module ---------- */
.mod-hero { position: relative; overflow: hidden; }
.mod-hero > img { position: absolute; right: 0; top: 0; height: 100%; width: 60%; object-fit: cover; opacity: .55; }
.mod-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 40%, rgba(0, 25, 95, .35)); }
.mod-hero .wrap { position: relative; z-index: 1; padding-top: 36px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 16px; }
.mod-hero h1 { max-width: 760px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
.mod-hero p { max-width: 640px; font-size: 16px; line-height: 1.55; color: var(--soft-3); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--lav); flex-wrap: wrap; }
.crumbs a { color: var(--lav); }
.crumbs a:hover { color: #fff; }
.mod-facts { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; color: var(--soft-3); }
.mod-facts span { display: flex; align-items: center; gap: 6px; }
.mod-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px; align-items: start; padding-bottom: 72px; }
@media (max-width: 959px) { .mod-layout { grid-template-columns: 1fr; } .mod-hero .wrap { padding-bottom: 44px; } }
.tabs-line { display: flex; gap: 4px; border-bottom: 1px solid rgba(197, 197, 212, .4); margin-top: 8px; overflow-x: auto; }
.tabs-line button { all: unset; cursor: pointer; padding: 16px 14px 14px; font-size: 14px; font-weight: 500; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs-line button[aria-selected="true"] { font-weight: 600; color: var(--navy); border-bottom-color: var(--gold-2); }
.tabs-line button:focus-visible { outline: 2px solid var(--blue-3); }
.lesson-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lesson-list li { min-height: 48px; padding: 8px 20px; display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(197, 197, 212, .15); font-size: 14px; }
.lesson-list li:first-child { border-top: 0; }
.lesson-list li > .ic { color: var(--muted); }
.lesson-list li.is-done > .ic { color: var(--green); }
.lesson-list li > a:not(.badge), .lesson-list .t { flex: 1; color: var(--ink); }
.lesson-list li > a:not(.badge):hover { color: var(--navy); }
.lesson-list .n { font-size: 12px; color: var(--muted); width: 22px; }
.lesson-list .d { font-size: 12px; min-width: 56px; text-align: right; }
.lesson-list .badge { background: var(--soft-3); }
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px 24px; }
.outcomes div { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.outcomes .ic { color: var(--green); margin-top: 2px; }
.buy-box { margin-top: -80px; position: sticky; top: 88px; background: #fff; border: 1px solid rgba(197, 197, 212, .2); border-radius: var(--radius); box-shadow: 0 20px 40px -8px rgba(0, 25, 95, .12); padding: 24px; display: flex; flex-direction: column; gap: 14px; z-index: 2; }
@media (max-width: 959px) { .buy-box { margin-top: 0; position: static; } }
.big-price { font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.bar { height: 6px; background: var(--soft-2); border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--navy); }
.bar-gold { background: rgba(255, 255, 255, .15); }
.bar-gold span { background: var(--gold); }
.includes { --gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.includes div { display: flex; gap: 10px; font-size: 14px; }
.includes .ic { color: var(--text-2); }

/* ---------- Lecteur de cours ---------- */
.player { display: flex; flex-direction: column; min-height: 100vh; }
.player-bar { position: sticky; top: 0; z-index: 30; height: 56px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.player-bar .icon-btn { color: #fff; }
.player-bar .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.player-bar img { border-radius: 4px; }
.player-title { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.player-title span { font-size: 11px; color: var(--lav); }
.player-title strong { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-progress { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--soft-3); }
.player-progress .bar { width: 120px; }
.player-toggle { display: none; }
.player-body { flex: 1; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
.player-side { background: #dce2f7; box-shadow: 12px 0 24px -4px rgba(0, 25, 95, .08); padding: 12px 8px; overflow: auto; max-height: calc(100vh - 56px); position: sticky; top: 56px; }
.side-head { display: flex; justify-content: space-between; padding: 8px 12px 10px; font-size: 11px; }
.side-item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-s); color: var(--ink); font-size: 13px; line-height: 1.35; }
.side-item:hover { background: rgba(255, 255, 255, .55); color: var(--ink); }
.side-item.is-current { background: #fff; font-weight: 600; box-shadow: inset 0 1px 3px rgba(0, 25, 95, .08); }
.side-item span { flex: 1; }
.side-item small { font-size: 11px; color: var(--muted); }
.side-item .ic { color: var(--muted); }
.side-item .ic.ok { color: var(--green); }
.side-item.is-current .ic { color: var(--navy); }
.side-item.is-locked { opacity: .6; }
.player-main { min-width: 0; padding: 32px clamp(20px, 4vw, 56px) 40px; display: flex; flex-direction: column; gap: 22px; max-width: 980px; }
.player-main h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; color: var(--navy); }
@media (max-width: 859px) {
  .player-body { grid-template-columns: 1fr; }
  .player-side { display: none; position: fixed; inset: 56px 0 0 0; max-height: none; z-index: 25; }
  .player.is-side .player-side { display: block; }
  .player-toggle { display: flex; }
  .player-progress .bar { width: 60px; }
}
.video-frame { aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }
.pdf-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.pdf-box strong { display: flex; align-items: center; gap: 8px; }
.pdf-view { width: 100%; height: min(78vh, 900px); border: 0; border-radius: var(--radius-s); background: var(--soft); }
.res-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.res-link:hover { border-color: var(--navy); color: var(--ink); }
.res-link span { flex: 1; display: flex; flex-direction: column; }
.res-link small { color: var(--muted); font-size: 12px; }
.locked-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.locked-box > .ic { color: var(--muted); }
.player-nav { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(197, 197, 212, .4); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn.is-done { color: var(--green); }

/* Quiz */
.quiz-stats { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 18px; }
.quiz-stats div { display: flex; flex-direction: column; gap: 4px; }
.quiz-stats strong { font-size: 22px; font-weight: 600; }
.quiz-result { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); }
.quiz-result strong { font-size: 32px; }
.quiz-result.is-ok { background: #dcfce7; color: #14532d; }
.quiz-result.is-ko { background: #fef3c7; color: #713f12; }
.quiz-form { display: flex; flex-direction: column; gap: 16px; }
.q-block { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 18px 20px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.q-block.is-missing { border-color: var(--red); }
.q-block legend { font-weight: 600; font-size: 15px; line-height: 1.45; padding: 0 4px; white-space: pre-line; }
.q-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid rgba(197, 197, 212, .6); border-radius: var(--radius-s); cursor: pointer; font-size: 14px; }
.q-opt:hover { border-color: var(--navy); }
.q-opt:has(input:checked) { border-color: var(--navy); background: var(--soft); }
.q-opt input { margin-top: 3px; accent-color: var(--navy); }
.q-correction { display: flex; flex-direction: column; gap: 12px; padding-left: 20px; }
.q-correction > li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-s); padding: 14px 16px; }
.q-correction > li.ko { border-left-color: var(--red); }
.q-correction ul { margin: 8px 0 0; padding: 0; list-style: none; font-size: 14px; }
.q-correction ul li { display: flex; gap: 6px; padding: 3px 0; color: var(--text-2); }
.q-correction ul li.is-right { color: var(--green); font-weight: 600; }
.q-text { font-weight: 600; white-space: pre-line; }
.q-explain { margin-top: 8px; font-size: 13px; color: var(--text-2); background: var(--soft); padding: 8px 10px; border-radius: var(--radius-s); }

/* ---------- Certifications ---------- */
.page-hero { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.cert-hero { position: relative; overflow: hidden; }
.cert-hero > img { position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; opacity: .5; }
.cert-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 42%, rgba(0, 25, 95, .3)); }
.cert-hero .wrap { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 16px; }
.cert-hero h1 { max-width: 760px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.035em; }
.cert-hero p { max-width: 620px; font-size: 16px; line-height: 1.6; color: var(--soft-3); }
.cert-tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; overflow-x: auto; background: rgba(255, 255, 255, .08); padding: 4px; border-radius: var(--radius-s); }
.cert-tabs a { padding: 8px 14px; border-radius: 4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--soft-3); }
.cert-tabs a:hover { color: #fff; }
.cert-tabs a[aria-current="page"] { background: #fff; color: var(--navy); }
.kpis { background: #fff; border-radius: var(--radius); box-shadow: 0 20px 40px -8px rgba(0, 25, 95, .12); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpis div { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); }
.kpis div:last-child { border-right: 0; }
.kpis strong { font-size: 22px; font-weight: 600; color: var(--navy); }
.h-sec { font-size: 22px; letter-spacing: -.01em; }
.phase { background: var(--soft); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--navy); }
.phase .mono { font-size: 11px; }
.phase strong { font-size: 14px; line-height: 1.35; }
.phase .d { font-size: 13px; font-weight: 600; color: var(--navy); }
.prog-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prog-table > a, .prog-table > div { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 46px; padding: 6px 20px; border-bottom: 1px solid rgba(197, 197, 212, .15); color: var(--ink); font-size: 14px; }
.prog-table > a:hover { background: #fafbff; color: var(--ink); }
.prog-table .mono { font-size: 12px; color: var(--navy); }
.prog-table .total { background: var(--soft); min-height: 52px; }
.prog-table .exam { border-bottom: 0; }
@media (max-width: 640px) { .prog-table > a, .prog-table > div { grid-template-columns: 1fr auto; } .prog-table > a > .mono, .prog-table > div > .eyebrow { grid-column: 1 / -1; } }
.info-tile { background: var(--soft); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.55; }
.date-tile { background: var(--navy); color: #fff; border-radius: var(--radius-s); width: 64px; height: 64px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-tile b { font-size: 24px; font-weight: 600; line-height: 1; }
.date-tile span { font-size: 10px; font-weight: 700; letter-spacing: .12em; margin-top: 4px; }
.price-lines { padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.price-lines > div { display: flex; justify-content: space-between; gap: 8px; }
.price-lines > div > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.price-lines .tot { padding-top: 8px; border-top: 1px solid var(--line); font-weight: 600; }
.price-lines .tot strong { font-size: 18px; color: var(--navy); }
.fiche-form { padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.fiche-form .label { display: flex; align-items: center; gap: 6px; }
.apply-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.apply-form fieldset { border: 0; padding: 0; margin: 0; }
.cohort-opt { display: grid; grid-template-columns: auto 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid rgba(197, 197, 212, .6); border-radius: var(--radius); cursor: pointer; }
.cohort-opt:hover { border-color: var(--navy); }
.cohort-opt:has(input:checked) { border-color: var(--navy); background: var(--soft); box-shadow: 0 0 0 1px var(--navy); }
.cohort-opt:has(input:disabled) { opacity: .6; cursor: default; }
.cohort-opt input { accent-color: var(--navy); }
@media (max-width: 560px) { .cohort-opt { grid-template-columns: auto minmax(0, 1fr); } .cohort-opt .ev-date { display: none; } .cohort-opt .badge { grid-column: 2; justify-self: start; } }
.exam-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.compare-wrap { background: #fff; border: 1px solid rgba(197, 197, 212, .2); border-radius: var(--radius); overflow: auto; }
.compare { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13px; line-height: 1.45; }
.compare thead { background: var(--soft); }
.compare th, .compare td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid rgba(197, 197, 212, .2); }
.compare thead th a { display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.compare thead th strong { font-size: 15px; }
.compare thead th .mono { font-size: 11px; color: var(--muted); font-weight: 400; }
.compare thead th.is-cur { background: var(--navy); }
.compare thead th.is-cur a, .compare thead th.is-cur .mono { color: #fff; }
.compare tbody th { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); width: 170px; }
.compare td.is-cur { background: var(--soft); font-weight: 500; }
.compare td { color: var(--ink); }

/* ---------- Composants communs ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.seg a { flex: 1; text-align: center; padding: 8px 12px; border-radius: 4px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.seg a.is-on { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 25, 95, .08); }
.tabs-line a { padding: 14px 14px 12px; font-size: 14px; font-weight: 500; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs-line a:hover { color: var(--navy); }
.tabs-line a[aria-current="page"] { font-weight: 600; color: var(--navy); border-bottom-color: var(--gold-2); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.facts-grid div { display: flex; flex-direction: column; gap: 4px; }
.facts-grid strong { font-size: 15px; }
.facts-grid.on-dark .eyebrow { color: var(--lav); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); padding: 10px 12px; background: var(--soft); }
.data-table td { padding: 10px 12px; border-top: 1px solid rgba(197, 197, 212, .2); }
.data-table .num { text-align: right; }
.data-table .tot td { background: var(--soft); font-weight: 600; }
.ok { color: var(--green); }

/* Calendrier */
.featured-ev { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.fe-date { background: rgba(255, 255, 255, .1); border-radius: var(--radius); width: 96px; height: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fe-date b { font-size: 40px; font-weight: 600; line-height: 1; }
.fe-date span { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--lav); margin-top: 6px; }
@media (max-width: 560px) { .featured-ev { grid-template-columns: 1fr; } }
.ev-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.ev-meta span { display: flex; align-items: center; gap: 6px; }
.featured-ev .ev-meta { color: var(--soft-3); }
.ev-list { display: flex; flex-direction: column; gap: 10px; }
.ev-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; scroll-margin-top: 90px; }
.ev-row:target { border-color: var(--gold-2); box-shadow: 0 0 0 2px rgba(201, 162, 39, .3); }
.ev-row strong { font-size: 15px; }
@media (max-width: 640px) { .ev-row { grid-template-columns: 56px minmax(0, 1fr); } .ev-row > :last-child { grid-column: 2; justify-self: start; } }
.compare.cal-table td { vertical-align: middle; }

/* Boutique */
.product { padding: 20px; gap: 10px; }
.p-tile { width: 56px; height: 56px; border-radius: var(--radius); background: var(--soft-2); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.p-tile.gold { background: #ffe08e; color: #584400; }
.p-title { font-size: 16px; line-height: 1.3; }
.p-title a { color: var(--ink); }
.p-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; }
.p-foot .btn { max-width: 100%; white-space: normal; text-align: center; }

/* Panier / paiement */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 28px; align-items: start; }
@media (max-width: 859px) { .checkout { grid-template-columns: 1fr; } }
.checkout .panel { display: flex; flex-direction: column; gap: 14px; }
.pay-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(197, 197, 212, .6); border-radius: var(--radius); cursor: pointer; }
.pay-opt:hover { border-color: var(--navy); }
.pay-opt:has(input:checked) { border-color: var(--navy); background: var(--soft); box-shadow: 0 0 0 1px var(--navy); }
.pay-opt.is-off { opacity: .5; cursor: not-allowed; }
.pay-opt input { accent-color: var(--navy); }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); font-size: 12px; }
.summary { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 12px; }
.sum-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sum-total { display: flex; justify-content: space-between; font-weight: 600; font-size: 16px; }
.sum-total strong { font-size: 22px; color: var(--navy); }
pre.bank { margin: 0; white-space: pre-wrap; font-family: var(--mono); font-size: 13px; background: var(--soft); padding: 12px 14px; border-radius: var(--radius-s); }

/* Connexion */
.auth { min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.auth-side { padding: 40px clamp(24px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; color: #fff; }
.auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--soft-3); }
.auth-points li { display: flex; gap: 10px; align-items: center; }
.auth-points .ic { color: var(--green-2); }
.auth-side .term { max-width: 340px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.auth-box { width: 100%; max-width: 420px; }
@media (max-width: 859px) { .auth-side .term, .auth-points { display: none; } .auth-side { padding: 24px; gap: 20px; } }

/* Espace étudiant */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px; align-items: start; }
@media (max-width: 959px) { .dash { grid-template-columns: 1fr; } }
.resume { border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.resume strong { font-size: 20px; }
.my-mods { display: flex; flex-direction: column; gap: 8px; }
.my-mod { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); }
.my-mod:hover { border-color: var(--navy); color: var(--ink); }
.my-mod strong { font-size: 14px; }
.grade-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grade-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 90px 100px 70px; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid rgba(197, 197, 212, .15); font-size: 14px; }
.grade-row:first-child { border-top: 0; }
.grade-row .mono { font-size: 12px; color: var(--navy); }
@media (max-width: 640px) { .grade-row { grid-template-columns: 1fr auto; } .grade-row .mono { grid-column: 1 / -1; } }

/* Vérification */
.verify-form { display: flex; gap: 8px; flex-wrap: wrap; max-width: 560px; }
.verify-form input { flex: 1; min-width: 220px; padding: 13px 16px; border-radius: var(--radius-s); border: 1px solid rgba(183, 196, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; font-family: var(--mono); font-size: 16px; letter-spacing: .04em; }
.verify-form input::placeholder { color: #9aa6d6; }
.verify-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.verify-card.is-ok > .row .ic { color: var(--green); }
.verify-card.is-ko { border-top-color: var(--red); }
.verify-card.is-ko > .row .ic { color: var(--red); }
.verify-dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.verify-dl dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); padding-top: 2px; }
.verify-dl dd { margin: 0; }

/* Orientation */
.o-opt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-s); border: 1px solid rgba(197, 197, 212, .6); font-size: 15px; background: #fff; }
.o-opt:hover, .o-opt:focus-visible { border-color: var(--navy); background: var(--soft); }
.o-opt .ic { color: var(--muted); }
.o-reco { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.o-code { font-size: 44px; font-weight: 700; line-height: 1; }
.o-path .step-card { border: 1px solid var(--line); }
.o-path .step-card.is-best { background: var(--soft-3); border-color: var(--navy); }

/* FAQ, contact */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item h2 { margin: 0; font-size: 16px; }
.faq-item button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 600; }
.faq-item button:focus-visible { outline: 2px solid var(--blue-3); }
.faq-item button .ic { transition: transform .2s; color: var(--muted); flex: none; }
.faq-item button[aria-expanded="true"] .ic { transform: rotate(180deg); }
.faq-item .prose { padding: 0 20px 18px; font-size: 15px; color: var(--text-2); }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.contact-card:hover { border-color: var(--navy); color: var(--ink); }
.contact-card > .ic { color: var(--navy); }
.lead-form textarea { resize: vertical; }
@media (max-width: 560px) { .lesson-list .n { display: none; } .lesson-list li { padding: 8px 14px; } }
.path-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: s; }
.path-steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; font-size: 14px; line-height: 1.5; }
.path-steps li .num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.path-steps li:last-child .num { background: var(--gold-2); }
.q-hint { font-weight: 400; font-size: 12px; }
.q-tf { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 360px; }
.q-expected { margin-top: 8px; font-size: 14px; color: var(--text-2); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.q-correction > li.ok .q-expected { color: var(--green); }

/* ---- Emploi du temps (séances) ---- */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.timeline-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.timeline-item.is-past { opacity: .78; }
.timeline-item.is-cancelled { opacity: .7; }
.timeline-item.is-cancelled .ti-body strong { text-decoration: line-through; }
.ti-date { flex: 0 0 52px; text-align: center; background: var(--navy); color: #fff; border-radius: 10px; padding: 8px 0; align-self: flex-start; }
.ti-date strong { display: block; font-size: 22px; line-height: 1; }
.ti-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.ti-body { flex: 1 1 auto; min-width: 0; }

/* ---- Devoirs (soumission) ---- */
.assignment { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.submission-state { border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: var(--radius); padding: 14px 16px; }
.submission-state.is-submitted { border-left-color: var(--gold-ink); }
.submission-state.is-graded { border-left-color: var(--green); }
.submission-state.is-returned { border-left-color: var(--red); }
.grade-note { margin-top: 12px; font-family: var(--mono, monospace); }
.grade-note .num { font-size: 28px; color: var(--navy); font-weight: 800; }
.feedback { margin-top: 12px; background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.feedback .eyebrow { color: var(--gold-ink); }
.assignment-form { display: flex; flex-direction: column; gap: 12px; }
.assignment-form .field { display: flex; flex-direction: column; gap: 6px; }
.assignment-form .field > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.assignment-form textarea.input { resize: vertical; }

/* ---- Choix de formule (panier) ---- */
.formula-panel { border: 1px solid var(--gold-2, var(--line)); }
.formula-block { padding-top: 10px; }
.formula-block + .formula-block { border-top: 1px solid var(--line); margin-top: 6px; }
.formula-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 8px; }
.formula-opts form { margin: 0; display: flex; }
.formula-choice { flex: 1; display: flex; gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.formula-choice:hover { border-color: var(--navy); }
.formula-choice.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); cursor: default; }
.formula-choice svg { flex: 0 0 auto; color: var(--navy); }
.formula-choice span { display: flex; flex-direction: column; gap: 2px; }
.formula-choice small { color: var(--text-2); font-size: 12px; }

/* ---- Progression verrouillée ---- */
.side-item.is-locked { opacity: .5; cursor: not-allowed; pointer-events: none; }
.side-item.is-locked svg { color: var(--muted); }
.btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.locked-box { text-align: center; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ---- Compétence visée (cours) ---- */
.competence-box { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border-left: 3px solid var(--gold-ink); border-radius: 10px; padding: 14px 16px; margin: 14px 0 4px; }
.competence-box svg { color: var(--gold-ink); flex: 0 0 auto; margin-top: 2px; }
.competence-box p { margin: 4px 0 0; font-weight: 600; color: var(--navy); }

/* ---- Chapitres dans le sommaire du lecteur ---- */
.side-chapter { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px 6px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.side-chapter:not(:first-child) { border-top: 1px solid var(--line); margin-top: 6px; }

/* ---- Inside ENIX : cartes de séries et épisodes ---- */
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.series-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.series-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 25, 95, .12); border-color: transparent; }
.series-cover { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.series-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.series-card:hover .series-cover img { transform: scale(1.04); }
.series-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .2s; }
.series-card:hover .series-play { transform: scale(1.08); }
.series-count { position: absolute; right: 12px; bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; background: rgba(11, 16, 32, .82); color: #fff; padding: 4px 9px; border-radius: 20px; }
.series-body { display: flex; flex-direction: column; gap: 7px; padding: 16px 18px 20px; }
.series-title { font-size: 18px; color: var(--navy); line-height: 1.25; }
.series-more { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.episode { display: flex; flex-direction: column; gap: 12px; }
.episode-head { display: flex; align-items: center; gap: 12px; }
.episode-num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--gold); font-family: var(--mono, monospace); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.episode-note { background: var(--bg); border-radius: 10px; padding: 12px 14px; margin: 0; }

/* ---- Présentation de l'offre ENIX (sur chaque formation) ---- */
.offer-cert { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.offer-cert:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 25, 95, .10); border-color: transparent; }
.offer-cert.is-current { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.offer-cert .code { font-family: var(--mono, monospace); font-weight: 800; color: var(--navy); font-size: 16px; }
.offer-level { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-ink); }
.offer-name { color: var(--navy); font-size: 16px; line-height: 1.25; }
.offer-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.offer-cert.is-current .offer-go { color: var(--muted); }

/* ---- Détail des notes Google Classroom (espace étudiant) ---- */
.gc-detail { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; background: #fff; }
.gc-detail summary { cursor: pointer; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.gc-detail[open] summary { margin-bottom: 10px; }

/* Crédits ENIX de compétence (CrE) */
.cre-mark{display:inline-grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:50%;background:var(--navy);color:var(--gold);font:700 14px/1 Inter,system-ui,sans-serif;letter-spacing:.02em;box-shadow:inset 0 0 0 2px var(--gold-2)}
.cre-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:var(--navy);color:#fff;font:600 12px/1.6 'JetBrains Mono',monospace;white-space:nowrap}
.kpis .cre-chip{margin-top:6px;align-self:flex-start}
.cre-card{border:1px solid var(--line-2);border-radius:10px;background:#fff;padding:22px;display:flex;flex-direction:column;gap:16px}
.cre-head{display:flex;gap:14px;align-items:flex-start}
.cre-head h2{font-size:18px;margin:0 0 4px}
.cre-label{font-size:13px;color:var(--navy);background:var(--soft);border-radius:6px;padding:6px 10px;display:inline-block;margin:0;overflow-wrap:anywhere}
.cre-label-lg{font-size:clamp(14px,2.4vw,18px);padding:10px 14px}
.cre-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.cre-kpis>div{background:var(--soft);border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.cre-kpis strong{font-size:20px;color:var(--navy)}
.cre-kpis small{color:var(--muted);font-size:12px}
.cre-split{display:flex;height:26px;border-radius:6px;overflow:hidden;font:600 11px/26px 'JetBrains Mono',monospace;color:#fff}
.cre-split span{text-align:center;min-width:34px;white-space:nowrap}
.cre-t{background:var(--blue-3)}.cre-p{background:var(--navy)}.cre-x{background:var(--gold-ink)}.cre-e{background:var(--muted)}
.cre-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;margin:0}
.cre-legend b{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.cre-facts{display:grid;gap:8px;margin:0}
.cre-facts div{display:grid;grid-template-columns:minmax(120px,190px) 1fr;gap:10px;font-size:14px}
.cre-facts dt{color:var(--muted)}.cre-facts dd{margin:0}
.cre-foot{font-size:12px;margin:0}
.cre-lesson{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line-2);border-left:3px solid var(--gold-2);border-radius:8px;padding:12px 14px;margin:14px 0;background:#fff;font-size:14px}
.cre-lesson p{margin:4px 0}.cre-lesson .mono{font-size:12px;color:var(--navy)}
.cre-lesson a{font-size:13px}
.cre-subrow td{font-size:13px;color:var(--text-2)}
.cre-capital{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.cre-capital .num{font-size:26px;color:var(--navy)}
@media (max-width:560px){.cre-facts div{grid-template-columns:1fr;gap:2px}.cre-kpis strong{font-size:17px}}
@media print{.no-print,header,footer,nav,.acct-tabs,.tabs-line{display:none!important}.monthly details{break-inside:avoid}.monthly details:not([open])>*:not(summary){display:block}}
.data-table tr.is-official td{background:var(--soft)}

/* Salle de cours (séances, présences) */
.seance-head{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;margin:10px 0 20px}
.seance-clock{min-width:200px;border-radius:10px;background:var(--navy);color:#fff;padding:14px 18px;display:flex;flex-direction:column;gap:4px}
.seance-clock .eyebrow{color:var(--gold)}.seance-clock strong{font-size:26px}
.seance-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:18px}
.qr-box{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.qr-box #qr{width:min(320px,80vw);aspect-ratio:1;background:#fff;border:1px solid var(--line-2);border-radius:8px;padding:6px}
.qr-box #qr svg{width:100%;height:100%}
.att-table select{min-width:150px}
.stars{border:0;padding:0;margin:0;display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:4px}
.stars legend{font-weight:600;margin-bottom:4px;float:left;width:100%}
.stars input{position:absolute;opacity:0;width:1px;height:1px}
.stars label{font-size:28px;line-height:1;color:var(--line-2);cursor:pointer}
.stars input:checked~label,.stars label:hover,.stars label:hover~label{color:var(--gold-2)}
.stars input:focus-visible+label{outline:2px solid var(--navy);outline-offset:2px}
.pointer-result{max-width:520px;margin:40px auto;text-align:center;align-items:center}
.pointer-result.is-ok .pointer-ic{color:var(--green)}.pointer-result.is-err .pointer-ic{color:var(--red)}
.disc-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.disc-kpis>div{background:var(--soft);border-radius:8px;padding:10px 12px}.disc-kpis strong{display:block;font-size:22px;color:var(--navy)}
@media (max-width:820px){.seance-grid{grid-template-columns:minmax(0,1fr)}.seance-grid>*{min-width:0}}
.print-only{display:none}@media print{.print-only{display:block}}

/* Sommaire du module (lecteur) : chapitres repliables, étapes compactes */
.side-chap { margin: 2px 0; border-radius: var(--radius-s); }
.side-chap[open] { background: rgba(255,255,255,.45); padding-bottom: 6px; }
.side-chap > summary { list-style: none; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; padding: 10px 10px; cursor: pointer; border-radius: var(--radius-s); }
.side-chap > summary::-webkit-details-marker { display: none; }
.side-chap > summary:hover { background: rgba(255,255,255,.6); }
.side-chap > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.side-chap-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font: 700 12px/1 Inter, sans-serif; box-shadow: inset 0 0 0 1px var(--line-2); }
.side-chap.is-done .side-chap-num { background: var(--soft-3); }
.side-chap.is-validated .side-chap-num { background: var(--navy); color: var(--gold); box-shadow: none; }
.side-chap-title { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-chap-meta { font-size: 11px; color: var(--muted); }
.side-chap-bar { height: 3px; margin: 0 12px 6px 44px; background: rgba(0,25,95,.08); border-radius: 2px; overflow: hidden; }
.side-chap-bar span { display: block; height: 100%; background: var(--green); }
.side-chap .side-item { min-height: 34px; padding: 5px 10px 5px 16px; margin-left: 20px; gap: 8px; font-size: 12.5px; }
.side-chap .side-item .ic { width: 16px; height: 16px; }
.side-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.side-item-text b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item.is-current .side-item-text b { font-weight: 700; color: var(--navy); }
.side-item-text em { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item.is-done .side-item-text b { color: var(--text-2); }
.side-item small { white-space: nowrap; }

/* Étapes de chapitre : auto-évaluation, correction, validation de compétence */
.player-chapter { margin: -4px 0 10px; color: var(--text-2); font-size: 14px; }
.step-box { margin: 8px 0 20px; }
.selfeval-row { border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; margin: 0; }
.selfeval-row legend { font-weight: 600; padding: 0 4px; color: var(--ink); }
.selfeval-scale { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 6px; margin-top: 8px; }
.selfeval-scale label { position: relative; }
.selfeval-scale input { position: absolute; opacity: 0; }
.selfeval-scale span { display: block; text-align: center; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 13px; cursor: pointer; background: #fff; }
.selfeval-scale input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.selfeval-scale input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.validation-box { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line-2); border-left: 4px solid var(--gold-2); border-radius: 10px; padding: 18px 20px; background: #fff; }
.validation-box > svg { color: var(--gold-ink); flex: none; }
.validation-box.is-ok { border-left-color: var(--green); }
.validation-box.is-ok > svg { color: var(--green); }
.validation-comp { font-size: 17px; color: var(--navy); }

/* Graphiques des tableaux de bord */
.ch-ring { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ch-ring svg { width: 112px; height: 112px; }
.ch-ring-bg { fill: none; stroke: var(--soft-3); stroke-width: 10; }
.ch-ring-fg { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.ch-ring-v { position: absolute; top: 0; width: 112px; height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ch-ring-v strong { font-size: 22px; color: var(--navy); line-height: 1; }
.ch-ring-v small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; text-align: center; max-width: 80px; }
.ch-ring figcaption { font-size: 12px; color: var(--text-2); text-align: center; }
.ch-bars { margin: 0; }
.ch-bars ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ch-bars li { display: grid; grid-template-columns: minmax(70px, 120px) 1fr 52px; gap: 10px; align-items: center; font-size: 13px; }
.ch-bars-l { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.ch-bars-t { height: 10px; background: var(--soft-3); border-radius: 6px; overflow: hidden; }
.ch-bars-f { display: block; height: 100%; background: var(--navy); border-radius: 6px; }
.ch-bars-f.ok { background: var(--green); } .ch-bars-f.warn { background: var(--gold-2); } .ch-bars-f.bad { background: var(--red); }
.ch-bars-v { text-align: right; color: var(--text-2); font-size: 12px; }
.ch-line { margin: 0; }
.ch-line svg { width: 100%; height: 200px; overflow: visible; }
.ch-grid { stroke: var(--line-2); stroke-width: .6; stroke-dasharray: 3 4; }
.ch-thr { stroke: var(--gold-2); stroke-width: 1.4; stroke-dasharray: 6 4; }
.ch-ax { font: 10px Inter, sans-serif; fill: var(--muted); text-anchor: end; }
.ch-ax-x { text-anchor: middle; }
.ch-path { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linejoin: round; }
.ch-area { fill: rgba(0, 25, 95, .08); }
.ch-dot { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.ch-stack { margin: 0; }
.ch-stack-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--soft-3); }
.ch-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; font-size: 12px; color: var(--text-2); }
.ch-legend b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.st-present { background: var(--green); } .st-late { background: var(--gold-2); } .st-absent { background: var(--red); } .st-excused { background: var(--lav); }
.analytics { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin: 20px 0 8px; }
.analytics > * { grid-column: span 12; }
.an-card { background: #fff; border: 1px solid rgba(197,197,212,.45); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 8px 20px -12px rgba(0,25,95,.18); }
.an-card h3 { margin: 0; font-size: 14px; color: var(--navy); letter-spacing: .01em; }
.an-card h3 small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.an-rings { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; }
.an-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.an-kpi { background: var(--soft); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.an-kpi strong { font-size: 24px; color: var(--navy); line-height: 1.1; } .an-kpi span { font-size: 12px; color: var(--text-2); }
.an-kpi.is-alert { background: #fff4f4; } .an-kpi.is-alert strong { color: var(--red); }
.an-insights { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.an-insights li { display: flex; gap: 10px; align-items: flex-start; } .an-insights svg { flex: none; margin-top: 2px; }
.an-insights .up svg { color: var(--green); } .an-insights .down svg { color: var(--red); } .an-insights .todo svg { color: var(--gold-ink); }
.an-table td, .an-table th { font-size: 13px; } .an-risk { color: var(--red); font-size: 12px; }
@media (min-width: 900px) { .an-span-4 { grid-column: span 4; } .an-span-5 { grid-column: span 5; } .an-span-6 { grid-column: span 6; } .an-span-7 { grid-column: span 7; } .an-span-8 { grid-column: span 8; } }

/* Programme d'un module : chapitres et leurs étapes */
.chapters { display: flex; flex-direction: column; gap: 10px; }
.chap-card { background: #fff; border: 1px solid rgba(197,197,212,.5); border-radius: 12px; overflow: hidden; }
.chap-card[open] { box-shadow: 0 8px 22px -14px rgba(0,25,95,.25); }
.chap-card > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; }
.chap-card > summary::-webkit-details-marker { display: none; }
.chap-card > summary:hover { background: var(--soft); }
.chap-card > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.chap-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-3); color: var(--navy); font: 700 15px/1 Inter, sans-serif; }
.chap-card.is-validated .chap-num { background: var(--navy); color: var(--gold); }
.chap-head { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chap-head .eyebrow { font-size: 10px; }
.chap-head strong { font-size: 16px; color: var(--ink); line-height: 1.3; }
.chap-head small { color: var(--text-2); font-size: 12.5px; display: flex; gap: 6px; align-items: flex-start; }
.chap-head small svg { color: var(--gold-ink); flex: none; margin-top: 1px; }
.chap-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.chap-bar { width: 90px; height: 5px; background: var(--soft-3); border-radius: 3px; overflow: hidden; }
.chap-bar span { display: block; height: 100%; background: var(--green); }
.chap-card .step-list { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fcfcff; }
.chap-card .step-list li { min-height: 42px; padding: 6px 18px 6px 26px; }
.step-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.step-t small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-gold { background: #fdf3d3; color: var(--gold-ink); }
@media (max-width: 560px) { .chap-card > summary { grid-template-columns: 34px 1fr; } .chap-meta { grid-column: 2; align-items: flex-start; flex-direction: row; } .chap-num { width: 34px; height: 34px; } }
.lesson-list li.is-planned { opacity: .75; }
.lesson-list li.is-planned .t { font-style: italic; }
.side-item.is-planned { opacity: .72; cursor: default; }
.side-item.is-planned b { font-weight: 400; font-style: italic; }
.chip-level.lv-specialisation { background: #e7ecff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--gold-2); }

/* Lecteur de supports : pages en images, sans téléchargement */
.doc-viewer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.doc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.doc-bar strong { display: flex; align-items: center; gap: 8px; }
.doc-pages { max-height: min(80vh, 980px); overflow-y: auto; background: var(--soft); border-radius: var(--radius-s); padding: 12px; display: flex; flex-direction: column; gap: 12px; align-items: center; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; overscroll-behavior: contain; }
.doc-page { display: block; width: 100%; max-width: 900px; height: auto; background: #fff; box-shadow: 0 1px 3px rgba(20, 30, 70, .12); pointer-events: none; }
.doc-viewer:fullscreen { border-radius: 0; padding: 12px 16px; background: var(--soft); }
.doc-viewer:fullscreen .doc-pages { max-height: none; flex: 1; }
.doc-print-note { display: none; }
@media print {
  .doc-pages, .doc-bar button { display: none !important; }
  .doc-print-note { display: block; font-weight: 600; }
}
.seg-wrap { flex-wrap: wrap; }
.tabs-line .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--gold); color: #3b2c00; font-size: 12px; font-weight: 700; }
.seance-page .btn { white-space: normal; }
.crumbs-light, .crumbs-light a { color: var(--navy); }
.crumbs-light a:hover { color: var(--blue); }
/* Contraste sur fonds sombres (pied de page, bandeaux marine) */
.foot-cols .eyebrow, .foot-bottom .wrap, .foot-bottom a { color: #a9adc2; }
.bg-navy :focus-visible, .site-footer :focus-visible, .player-bar :focus-visible { outline-color: #ffd666; }
.side-item.is-locked { opacity: 1; color: var(--muted); }
.side-item.is-locked b, .side-item.is-locked span { color: var(--muted); }
.side-chap-meta { color: var(--text-2); }
.check-line { display: flex; flex-wrap: nowrap; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; } .check-line input { flex: none; margin-top: 3px; }
.ch-link { color: inherit; text-decoration: none; border-radius: 12px; display: block; }
.ch-link:hover .ch-ring-v strong { color: var(--blue); }
a.an-kpi { color: inherit; text-decoration: none; } a.an-kpi:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.ch-bars-l a { color: inherit; } .an-card h3 a { color: inherit; } .an-insights a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.prose table { display: block; overflow-x: auto; max-width: 100%; }
/* Contraste du sommaire du lecteur et des intitulés sur fond encre */
.side-item.is-planned { opacity: 1; color: var(--text-2); }
.player-side .muted, .player-side small { color: var(--text-2); }
.bounty-box .eyebrow { color: var(--lav); }
.player-side { --muted: #4f5160; } /* fond #dce2f7 : texte secondaire ≥ 6:1 */
.lesson-list li.is-planned { opacity: 1; color: var(--muted); }
.lesson-list li.is-planned .t, .lesson-list li.is-planned .n { color: var(--muted); }
/* Accessibilité : tailles minimales de texte et de cibles (WCAG 2.2, 2.5.8) */
.grade-grid small { font-size: 12px; }
.lesson-list a, .link-btn, .side-item { min-height: 24px; }
.link-btn { display: inline-flex; align-items: center; padding: 2px 0; }
/* Débordements horizontaux : indice visuel (fondu à droite) tant qu'il reste du contenu à faire défiler */
.tabs-line.has-more, .compare-wrap.has-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
/* Mobile : barre d'achat fixe sur la fiche module, masquée quand le bloc d'achat est à l'écran */
.buy-sticky { display: none; }
@media (max-width: 900px) {
  .buy-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 18px rgba(0, 25, 95, .12); }
  .buy-sticky span { display: flex; flex-direction: column; } .buy-sticky small { color: var(--text-2); font-size: 12px; }
  .buy-sticky.is-hidden { display: none; }
  body:has(.buy-sticky:not(.is-hidden)) .wa-float { bottom: 76px; }
}
/* Cours importés avec leur propre mise en page : jamais plus large que l'écran */
.lesson-imported { max-width: 100%; overflow-wrap: anywhere; }
.lesson-imported img, .lesson-imported video, .lesson-imported iframe { max-width: 100%; height: auto; }
.lesson-imported table, .lesson-imported pre { display: block; max-width: 100%; overflow-x: auto; }
.lesson-imported code { white-space: pre-wrap; word-break: break-word; }
.player-main .lesson-imported :where(h1, h2, h3, h4, h5, h6) { color: inherit; font-size: revert; } /* titres du cours : couleurs et tailles de sa propre mise en page */
/* Accueil : bandeau des références (logos en couleurs — plusieurs ont un fond coloré —, hauteur uniforme) */
.refs-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.refs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 36px; }
.ref { display: flex; align-items: center; justify-content: center; min-height: 48px; color: var(--text-2); text-decoration: none; }
.ref img { height: 56px; width: auto; max-width: 190px; object-fit: contain; border-radius: 6px; transition: transform .2s; }
.ref:hover img, .ref:focus-visible img { transform: scale(1.04); }
.ref-name { display: inline-flex; align-items: center; height: 56px; font-weight: 800; letter-spacing: .08em; font-size: 15px; color: var(--text-2); }
@media (max-width: 640px) { .refs { gap: 10px 22px; } .ref img, .ref-name { height: 42px; } .ref img { max-width: 150px; } }
/* Contrôle 6 : texte réservé aux lecteurs d'écran contenu dans les tableaux qui défilent ; cibles ≥ 24 px dans la salle */
.compare-wrap { position: relative; }
.seance-page select, .seance-page input[type="time"], .seance-page input[type="text"] { min-height: 32px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 24px; }
@media (max-width: 900px) { body:has(.buy-sticky:not(.is-hidden)) { padding-bottom: 72px; } }
/* Équipe connectée : la barre WordPress est repliée par défaut (bouton « WP ») ; le lecteur ne se décale que lorsqu'elle est
   ouverte, sinon il laisserait un vide en haut de l'écran. */
html.enx-ab-open .admin-bar .player-bar { top: var(--wp-admin--admin-bar--height, 32px); }
@media (min-width: 901px) { html.enx-ab-open .admin-bar .player-side { top: calc(56px + var(--wp-admin--admin-bar--height, 32px)); max-height: calc(100vh - 56px - var(--wp-admin--admin-bar--height, 32px)); } }

/* Agrément : extraits de l'arrêté */
.doc-extract{margin:0;display:flex;flex-direction:column;gap:6px}
.doc-extract img{width:100%;height:auto;border:1px solid var(--line);border-radius:6px;background:#fff}
.doc-extract figcaption{font-size:13px;color:var(--muted)}
/* Textes juridiques longs : sommaire, encadrés, champs à compléter */
.legal-toc{border:1px solid var(--line);border-radius:8px;padding:12px 16px;background:var(--surface,#fff)}
.legal-toc ol{margin:0;padding-left:20px;columns:2;column-gap:24px}
@media (max-width:640px){.legal-toc ol{columns:1}}
.prose aside.callout{border-left:4px solid var(--navy);background:rgba(0,25,95,.05);padding:12px 16px;border-radius:0 6px 6px 0;margin:16px 0}
.prose aside.callout p{margin:.4em 0 0}
.prose mark{background:#fff3c4;padding:0 2px}
.prose .legal-edition{font-size:13px;color:var(--muted);margin-top:0}
.prose blockquote.serment{border-left:4px solid var(--gold,#ecc246);margin:16px 0;padding:8px 16px;background:rgba(236,194,70,.08)}
.verify-dl dd{overflow-wrap:anywhere;min-width:0}

/* Épisodes vidéo (séries Inside ENIX) : vignette, lecteur chargé au clic */
.ep-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:22px}
.ep-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0}
.ep-facade{position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:10px;width:100%;aspect-ratio:16/9;border:0;padding:18px;cursor:pointer;text-align:left;color:#fff;font:inherit;
  background:radial-gradient(120% 80% at 100% 0%,rgba(185,28,28,.55),transparent 55%),linear-gradient(160deg,#0b1a45,#00195f 60%,#0b1a45)}
.ep-facade.is-vertical{aspect-ratio:4/5}
.ep-facade:focus-visible{outline:3px solid #ecc246;outline-offset:-3px}
.ep-brand{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#ecc246;font-weight:700}
.ep-big{font-size:22px;line-height:1.2;font-weight:700;max-width:95%}
.ep-play{align-self:center;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;transition:transform .2s}
.ep-facade:hover .ep-play{transform:scale(1.08);background:rgba(255,255,255,.26)}
.ep-src{font-size:12px;color:rgba(255,255,255,.7)}
.ep-frame{width:100%;aspect-ratio:16/9;border:0;display:block;background:#000}.ep-frame.is-vertical{aspect-ratio:9/16;max-height:620px}
.ep-body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px}
.ep-meta{font-size:12px;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.ep-play{transition:none}}

/* ---------- Blog : page d'article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .1s linear; }
.post-hero .wrap { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(36px, 5vw, 64px); }
.post-hero-in { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.post-hero-in.has-media { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.post-hero-copy { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.post-crumbs, .post-crumbs a { color: var(--lav); font-size: 13px; }
.post-crumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.post-crumbs a:hover { color: #fff; }
.post-cat { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(236, 194, 70, .14); border: 1px solid rgba(236, 194, 70, .45); color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-cat:hover { color: #fff; }
.post-h1 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.035em; color: #fff; margin: 0; text-wrap: balance; }
.post-lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--soft-3); margin: 0; max-width: 62ch; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 18px; margin-top: 4px; border-top: 1px solid rgba(183, 196, 255, .18); font-size: 13px; color: var(--lav); }
.post-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.post-meta-item .ic { color: var(--gold); }
.post-author { display: inline-flex; align-items: center; gap: 10px; }
.post-author img { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); padding: 6px; border: 1px solid rgba(183, 196, 255, .3); }
.post-author > span { display: flex; flex-direction: column; line-height: 1.25; }
.post-author strong { color: #fff; font-size: 13px; }
.post-author small { font-size: 12px; color: var(--lav); }
.post-hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .45); aspect-ratio: 16 / 10; background: var(--navy-2); }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; gap: 48px; padding-top: clamp(28px, 4vw, 48px); padding-bottom: 72px; }
.post-layout.has-toc { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
  .post-layout.has-toc { grid-template-columns: minmax(0, 1fr) 260px; }
  .post-toc.post-toc-mobile { display: none; }
}
@media (max-width: 1099px) { .post-side { display: none; } }
.post-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; max-width: 760px; }
.post-layout:not(.has-toc) .post-main { margin-inline: auto; }
.post-side { position: relative; }
.post-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.post-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 10px; }
.post-toc li { counter-increment: toc; display: grid; grid-template-columns: 22px 1fr; gap: 6px; font-size: 14px; line-height: 1.4; }
.post-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--gold-ink); padding-top: 3px; }
.post-toc a { color: var(--text-2); }
.post-toc a:hover, .post-toc a.is-on { color: var(--navy); font-weight: 600; }
.post-toc.post-toc-mobile { position: static; }
.post-toc-mobile summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); list-style: none; }
.post-toc-mobile summary::-webkit-details-marker { display: none; }
.post-toc-mobile[open] summary { margin-bottom: 4px; }
.post-legal { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; border: 1px solid rgba(201, 162, 39, .35); background: linear-gradient(135deg, #fffaf0, #fff); padding: 16px 18px; border-radius: var(--radius); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.post-legal-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
/* Texte de l'article : 60 à 75 caractères par ligne, hiérarchie marquée */
.post-prose { max-width: 68ch; font-size: 17px; line-height: 1.8; }
.post-prose > p:first-of-type { font-size: 19px; line-height: 1.7; color: var(--ink); }
.post-prose h2 { position: relative; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.25; letter-spacing: -.02em; margin-top: 2em; padding-top: 18px; scroll-margin-top: 90px; }
.post-prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--gold); }
.post-prose h3 { font-size: 20px; color: var(--navy); margin-top: 1.6em; scroll-margin-top: 90px; }
.post-prose ul { padding-left: 0; list-style: none; }
.post-prose ul > li { position: relative; padding-left: 24px; }
.post-prose ul > li + li, .post-prose ol > li + li { margin-top: .4em; }
.post-prose ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.post-prose ol { padding-left: 1.4em; }
.post-prose ol > li::marker { color: var(--gold-ink); font-weight: 700; }
.post-prose a { color: var(--blue); text-decoration-color: rgba(201, 162, 39, .6); text-decoration-thickness: 2px; }
.post-prose a:hover { text-decoration-color: var(--gold); }
.post-prose strong { color: var(--ink); }
.post-prose blockquote { position: relative; margin: 1.6em 0; padding: 18px 22px 18px 26px; border-left: 4px solid var(--gold); background: var(--soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 18px; color: var(--ink-2); }
.post-prose :not(pre) > code { background: var(--soft-2, #eef1fb); color: var(--navy); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.post-prose pre { position: relative; background: #0b1230; color: #e7ecff; padding: 18px 20px; border-radius: var(--radius); border: 1px solid #1d2a5c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); font-size: 13.5px; line-height: 1.65; }
.post-prose img { height: auto; max-width: 100%; border-radius: var(--radius); box-shadow: 0 10px 30px -12px rgba(0, 25, 95, .25); }
.post-prose figure { margin: 1.8em 0; }
.post-prose figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.post-prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.post-prose table { display: block; overflow-x: auto; border-collapse: collapse; max-width: 100%; font-size: 15px; }
.post-prose th, .post-prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.post-prose th, .post-prose tr:first-child td strong { color: var(--navy); }
.post-prose th { background: var(--soft); }
.post-foot { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; align-items: center; border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.post-offer-media { border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 3 / 2; }
.post-offer-media img { width: 100%; height: 100%; object-fit: cover; }
.post-offer-copy { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post-offer-title { font-size: 21px; line-height: 1.25; color: #fff; }
.post-offer-code { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: rgba(236, 194, 70, .16); color: var(--gold); font-size: 13px; font-family: var(--mono); vertical-align: middle; }
.post-offer-text { color: var(--soft-3); font-size: 15px; line-height: 1.6; }
.post-related { padding-bottom: 72px; }
/* Cartes d'articles sans image : vignette par rubrique plutôt que la même illustration partout */
.post-thumb.is-cat { display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: radial-gradient(120% 120% at 100% 0%, var(--navy-2) 0%, var(--navy) 55%, #000c33 100%); color: #fff; position: relative; overflow: hidden; }
.post-thumb.is-cat::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle, #fff 1px, transparent 1px); background-size: 20px 20px; }
.post-thumb.is-cat > * { position: relative; z-index: 1; }
.post-thumb.is-cat .pt-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(236, 194, 70, .14); color: var(--gold); }
.post-thumb.is-cat .pt-cat { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lav); }
.post-thumb.is-cat .pt-mark { position: absolute; right: -18px; bottom: -26px; color: #fff; opacity: .08; }
.post-thumb.is-cat .pt-mark .ic { width: 150px; height: 150px; }
.post-thumb.is-cat .pt-brand { font-size: 12px; color: var(--soft-3); opacity: .8; }
.post-thumb.cat-hacking { background: radial-gradient(120% 120% at 100% 0%, #1a2f8a 0%, var(--navy) 55%, #000c33 100%); }
.post-thumb.cat-forensic { background: radial-gradient(120% 120% at 100% 0%, #2b1a6b 0%, #14105a 55%, #070624 100%); }
.post-thumb.cat-astuces-utiles { background: radial-gradient(120% 120% at 100% 0%, #0d4a6b 0%, #082f5a 55%, #031a33 100%); }
.post-thumb.cat-actualite { background: radial-gradient(120% 120% at 100% 0%, #5a1a2b 0%, #2d0e3a 55%, #12061f 100%); }
.single-post .wa-float { opacity: .92; }

.quiz-timer { position: sticky; top: 72px; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 14px; border-radius: var(--radius-s); background: var(--navy); color: #fff; }
.quiz-timer .ic { color: var(--gold); }
.quiz-timer small { color: var(--lav); }
.quiz-timer.is-low { background: var(--red); }

/* Références longues sans espace (n° d'arrêté « 000597/MINEFOP/SG/… », adresses) : coupées plutôt que de déborder. */
.prose { overflow-wrap: anywhere; }

.ref-note { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; background: var(--gold); color: #241a00; font-size: 14px; font-weight: 600; text-align: center; }
.ref-note button { background: transparent; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; }

.ri-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; background: var(--soft); font-size: 14px; }
.ri-summary summary { cursor: pointer; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.ri-summary ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 6px; line-height: 1.5; }

/* Prix promotionnel : ancien prix barré, pastille de remise */
.was{color:var(--muted,#6b7280);text-decoration:line-through;font-weight:400;font-size:.85em}
.price.is-sale{color:#b42318}
.sale-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;font-size:14px}
.badge-sale{background:#b42318;color:#fff;font-weight:700;font-size:12px;border-radius:999px;padding:2px 9px}

/* Notifications : point « nouveau » et carte non lue */
.dot-new{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent,#f4c65a);vertical-align:middle}
.panel.is-unread{border-left:3px solid var(--accent,#f4c65a);background:#fbfcff}

/* Examens repliables (un étudiant peut en passer plusieurs) */
.exam-card > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.exam-card > summary::-webkit-details-marker { display: none; }
.exam-card > summary .exam-title { color: var(--navy); font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exam-card > summary:hover .exam-title { text-decoration: underline; }
.exam-card > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: var(--radius-s); }
.exam-chevron { color: var(--text-2); transition: transform .2s ease; flex-shrink: 0; }
.exam-card[open] .exam-chevron { transform: rotate(180deg); }
.exam-card[open] > summary { margin-bottom: 4px; }

/* Contenu de cours rédigé (.prose) : encadrés, fiches, tableaux, schémas, étapes de TP. Réutilisable par tous les cours. */
.prose .lede { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.prose .callout { border-left: 4px solid var(--navy); background: rgba(0, 25, 95, .05); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.prose .callout > :first-child { margin-top: 0; }
.prose .callout > * + * { margin-top: .6em; }
.prose .callout-title { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.prose .callout-scenario { border-left-color: var(--gold-2); background: rgba(236, 194, 70, .1); }
.prose .callout-scenario .callout-title { color: var(--gold-ink); }
.prose .callout-warn { border-left-color: var(--red); background: rgba(185, 28, 28, .05); }
.prose .callout-warn .callout-title { color: var(--red); }
.prose .callout-ok { border-left-color: var(--green); background: rgba(21, 128, 61, .06); }
.prose .callout-ok .callout-title { color: var(--green); }
.prose .fiche { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 2px 20px 18px; background: #fff; box-shadow: var(--shadow-1); }
.prose .fiche > h3:first-child { margin-top: .9em; color: var(--navy); }
.prose .fiche-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); background: rgba(236, 194, 70, .18); border-radius: 4px; padding: 2px 8px; margin-top: 1em; }
.prose table.tbl { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.5; }
.prose .tbl th, .prose .tbl td { border: 1px solid var(--line-2); padding: 8px 10px; vertical-align: top; text-align: left; }
.prose .tbl thead th { background: var(--soft-2); color: var(--navy); font-size: 13px; }
.prose .tbl tbody tr:nth-child(even) td { background: var(--soft); }
.prose figure.schema { margin: 1.6em 0; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; }
.prose figure.schema svg { display: block; width: 100%; height: auto; max-height: 560px; }
.prose figure.schema figcaption { margin-top: 10px; font-size: 13px; color: var(--text-2); text-align: center; }
.prose ol.etapes { list-style: none; counter-reset: etape; padding-left: 0; }
.prose ol.etapes > li { counter-increment: etape; position: relative; padding-left: 40px; }
.prose ol.etapes > li + li { margin-top: .8em; }
.prose ol.etapes > li::before { content: counter(etape); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.prose kbd { font-family: var(--mono); font-size: 12.5px; background: var(--soft); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; }
.prose :not(pre) > code { background: var(--soft); border-radius: 4px; padding: 1px 4px; }
.prose dl.defs { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 6px 16px; }
.prose dl.defs dt { font-weight: 700; color: var(--navy); }
.prose dl.defs dd { margin: 0; }
@media (max-width: 640px) { .prose dl.defs { grid-template-columns: 1fr; } .prose dl.defs dd { margin-bottom: 8px; } }
@media (max-width: 640px) { .prose figure.schema { overflow-x: auto; padding: 12px; } .prose figure.schema svg { min-width: 680px; max-height: none; } }
.prose .tbl th, .prose .tbl td { overflow-wrap: normal; word-break: normal; hyphens: manual; } /* tableaux : jamais de mot coupé, le tableau défile sur mobile */
/* Tableaux de 3 colonnes ou plus (cellules étiquetées data-label) : sur téléphone, une fiche par ligne, chaque valeur
   précédée de l'intitulé de sa colonne, au lieu de colonnes écrasées qui défilent de côté. */
@media (max-width: 640px) {
  .prose table.tbl-cards, .prose .tbl-cards tbody, .prose .tbl-cards tr, .prose .tbl-cards td { display: block; width: 100%; }
  .prose table.tbl-cards { overflow: visible; }
  .prose .tbl-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .prose .tbl-cards tr { border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; margin: 0 0 12px; overflow: hidden; }
  .prose .tbl-cards td, .prose .tbl-cards tbody tr:nth-child(even) td { border: 0; border-top: 1px solid var(--line); background: #fff; padding: 8px 12px; }
  .prose .tbl-cards td:first-child { border-top: 0; background: var(--soft-2); color: var(--navy); font-weight: 600; }
  .prose .tbl-cards td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--text-2); }
  .prose .tbl-cards td:first-child::before { color: var(--navy); opacity: .75; }
}
/* Corrigé repliable des activités autonomes (cours rédigés) : on réfléchit d'abord, on ouvre ensuite. */
.prose details.corrige { border: 1px solid var(--line-2); border-left: 4px solid var(--green); border-radius: var(--radius); background: #fff; padding: 0 18px; }
.prose details.corrige > summary { cursor: pointer; font-weight: 700; color: var(--green); padding: 14px 0; list-style: none; display: flex; align-items: center; gap: 8px; }
.prose details.corrige > summary::-webkit-details-marker { display: none; }
.prose details.corrige > summary::before { content: "▸"; transition: transform .15s; }
.prose details.corrige[open] > summary::before { transform: rotate(90deg); }
.prose details.corrige[open] { padding-bottom: 16px; }
