:root {
  --kingdom: #0A1F44;
  --kingdom-strong: #061735;
  --ink: #0B0D10;
  --muted: #586173;
  --line: #D8DFEA;
  --mist: #F4F7FB;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(10, 31, 68, .08);
  --content: 720px;
  --ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--ui); font-size: 17px; line-height: 1.72; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 50; top: -64px; left: 16px; background: var(--white); color: var(--kingdom); padding: 8px 14px; border-radius: 8px; font-weight: 800; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.eyebrow { margin: 0 0 8px; color: var(--kingdom); font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.on-navy { color: #C7D6F3; }

.site-header { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--kingdom); font-size: .70rem; font-weight: 800; line-height: 1.15; letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--kingdom); }
.brand-mark img { width: 26px; height: auto; display: block; }
.menu-toggle, .note-close { min-height: 48px; padding: 0 14px; border: 1px solid var(--kingdom); border-radius: 12px; background: var(--white); color: var(--kingdom); font-size: .88rem; font-weight: 800; }
.menu-toggle:focus-visible, .note-close:focus-visible, .button:focus-visible, .quiz-option:focus-visible, .footnote-trigger:focus-visible, textarea:focus-visible { outline: 3px solid #88A9E6; outline-offset: 3px; }
.course-menu { position: fixed; z-index: 19; inset: 72px 0 0; background: rgba(6, 23, 53, .48); }
.menu-panel { width: min(92%, 440px); height: 100%; overflow: auto; padding: 28px 22px 48px; background: var(--white); box-shadow: var(--shadow); }
.menu-panel h2 { margin: 0 0 20px; color: var(--kingdom); font-size: 1.35rem; line-height: 1.25; }
.menu-panel a { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.35; }
.menu-panel a span { color: var(--kingdom); font-weight: 900; }

.cover { min-height: 100dvh; display: flex; flex-direction: column; background: var(--kingdom); color: var(--white); }
.cover-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px; font-size: .8rem; font-weight: 800; letter-spacing: .03em; }
.cover-logo { display: block; width: 62px; height: auto; }
.cover-hero-logo { display: block; width: 118px; height: auto; margin: 0 0 22px; }
.cover-main { width: min(100% - 40px, var(--content)); margin: auto; padding: 70px 0 48px; }
.cover-kicker { margin: 0 0 22px; color: #C7D6F3; font-size: .76rem; letter-spacing: .12em; font-weight: 800; text-transform: uppercase; }
.cover h1 { max-width: 580px; margin: 0; font-size: clamp(2.65rem, 13vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.cover-subtitle { max-width: 440px; margin: 28px 0 40px; color: #E8EDF7; font-size: 1.12rem; line-height: 1.55; }
.cover-rule { width: 78px; height: 5px; margin: 32px 0; background: var(--white); border-radius: 10px; }
.cover-meta { display: flex; flex-wrap: wrap; gap: 9px 16px; color: #D7E1F5; font-size: .86rem; }
.cover-meta span + span::before { content: '•'; margin-right: 16px; }
.cover-actions { padding: 24px 20px calc(26px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.12); }
.cover-actions .button { width: min(100%, var(--content)); margin: auto; }

.intro-page, .result-page { width: min(100% - 32px, var(--content)); margin: 0 auto; padding: 34px 0 96px; }
.intro-heading { margin: 28px 0; }
.intro-heading h1, .result-page h1 { margin: 0; color: var(--kingdom); font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.contents-card, .template-card, .result-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.contents-card + .contents-card, .template-card + .template-card { margin-top: 18px; }
.contents-card h2, .template-card h2 { margin: 0 0 8px; color: var(--kingdom); font-size: 1.18rem; line-height: 1.3; }
.contents-list { margin: 12px 0 0; padding: 0; list-style: none; }
.contents-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 700; line-height: 1.35; }
.contents-list a::after { content: '→'; color: var(--kingdom); font-size: 1.25rem; }
.template-grid { display: grid; gap: 18px; margin-top: 18px; }
.template-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; background: var(--mist); color: var(--kingdom); font-weight: 900; }

.chapter-hero { background: var(--kingdom); color: var(--white); }
.hero-inner { width: min(100% - 40px, var(--content)); margin: auto; padding: 48px 0 42px; }
.chapter-label { margin: 0 0 6px; color: #C7D6F3; font-weight: 800; }
.chapter-hero h1 { max-width: 620px; margin: 0; font-size: clamp(2.1rem, 10vw, 4.25rem); line-height: 1.04; letter-spacing: -.05em; }
.chapter-subtitle { max-width: 480px; margin: 18px 0 28px; color: #E5EBF6; font-size: 1.05rem; line-height: 1.55; }
.chapter-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chapter-meta span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.32); border-radius: 99px; color: #E6ECF8; font-size: .77rem; font-weight: 700; }
.progress-wrap { position: sticky; z-index: 12; top: 72px; padding: 8px 20px 12px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.progress-caption { display: flex; justify-content: space-between; width: min(100%, var(--content)); margin: 0 auto 7px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.progress-bar { width: min(100%, var(--content)); height: 5px; margin: auto; overflow: hidden; border-radius: 50px; background: #DDE5F2; }
.progress-bar span { display: block; width: 16.67%; height: 100%; border-radius: inherit; background: var(--kingdom); }
.lesson-shell { width: min(100% - 32px, var(--content)); margin: 0 auto; }
.lesson-section, .chapter-closing, .references-section { padding: 42px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.section-kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.section-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--kingdom); color: var(--white); letter-spacing: 0; }
.lesson-section h2, .chapter-closing h2, .references-section h2, .faith-card h2 { margin: 16px 0 20px; color: var(--kingdom); font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.12; letter-spacing: -.035em; }
.lesson-section h3 { margin: 32px 0 10px; color: var(--kingdom); font-size: 1.2rem; line-height: 1.3; }
.section-visuals { display: grid; gap: 14px; margin: 24px 0 26px; }
.section-figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow); }
.section-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.reading-copy p { margin: 0 0 18px; }
.reading-copy ul { margin: 0 0 20px; padding-left: 1.15em; }
.reading-copy li { margin: 8px 0; padding-left: 4px; }
.reading-copy blockquote { margin: 24px 0; padding: 17px 18px; border-left: 4px solid var(--kingdom); border-radius: 0 12px 12px 0; background: var(--mist); color: var(--kingdom); font-weight: 750; line-height: 1.55; }
.footnote-trigger { display: inline-grid; width: 48px; height: 48px; margin: -14px -10px; place-items: center; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--kingdom); font-weight: 900; vertical-align: middle; }
.footnote-trigger:hover { background: var(--mist); }
.notes-print { display: none; }

.writing-zone { margin: 30px 0; padding: 22px; border: 1px solid #BDCCE5; border-radius: var(--radius); background: var(--mist); }
.writing-zone h3 { margin: 0 0 4px; }
.writing-condition { margin: 0 0 16px; color: var(--muted); font-size: .86rem; }
.writing-response + .writing-response { margin-top: 24px; padding-top: 20px; border-top: 1px solid #C8D4E6; }
.writing-prompt { margin: 0; font-weight: 700; line-height: 1.5; }
.writing-field { display: block; width: 100%; min-height: 152px; margin-top: 16px; padding: 14px; border: 1px solid #AABAD4; border-radius: 12px; background: var(--white); color: var(--ink); line-height: 1.55; resize: vertical; }
.writing-field::placeholder { color: #7C8798; }
.writing-meta { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 16px; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.system-feedback { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--white); border: 1px solid #B9C7DE; }
.system-feedback p { margin: 5px 0 12px; font-size: .91rem; }
.feedback-label { color: var(--kingdom); font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--kingdom); border-radius: 12px; font-size: .9rem; font-weight: 850; line-height: 1.25; text-align: center; }
.button-primary { background: var(--kingdom); color: var(--white); }
.button-primary:hover { background: var(--kingdom-strong); }
.button-secondary { background: var(--white); color: var(--kingdom); }
.text-button { min-height: 48px; padding: 0 4px; border: 0; background: transparent; color: var(--kingdom); font-weight: 850; text-decoration: underline; }

.mini-quiz { margin: 34px 0 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.quiz-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.quiz-heading h3 { margin: 0; color: var(--kingdom); font-size: 1.4rem; }
.quiz-status { flex: 0 0 auto; padding: 4px 8px; border-radius: 99px; background: var(--mist); color: var(--kingdom); font-size: .72rem; font-weight: 850; }
.quiz-instruction { margin: 8px 0 18px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.mini-question { padding: 19px 0; border-top: 1px solid var(--line); }
.mini-question-title { display: flex; gap: 9px; margin: 0 0 12px; color: var(--ink); font-size: .97rem; font-weight: 800; line-height: 1.45; }
.mini-question-title > span { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--kingdom); color: var(--white); font-size: .75rem; }
.quiz-options { display: grid; gap: 8px; }
.quiz-option { display: flex; width: 100%; min-height: 52px; align-items: center; gap: 10px; padding: 10px; border: 1px solid #B8C5D9; border-radius: 12px; background: var(--white); color: var(--ink); font-size: .9rem; line-height: 1.35; text-align: left; }
.quiz-option:hover { border-color: var(--kingdom); background: var(--mist); }
.quiz-option:disabled { cursor: default; }
.quiz-letter { display: grid; flex: 0 0 27px; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--mist); color: var(--kingdom); font-size: .78rem; font-weight: 900; }
.quiz-option.is-correct { border-color: var(--kingdom); background: #E8F0FF; }
.quiz-option.is-wrong { border-color: #788399; background: #F4F6F9; }
.quiz-feedback { margin-top: 12px; padding: 13px 14px; border-left: 4px solid var(--kingdom); border-radius: 0 10px 10px 0; background: var(--mist); color: var(--kingdom); font-size: .88rem; font-weight: 650; line-height: 1.5; }
.section-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.section-navigation .button { width: 100%; }

.faith-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin: 34px 0; padding: 22px; border-radius: var(--radius); background: var(--kingdom); color: var(--white); }
.faith-card h2 { margin: 0 0 13px; color: var(--white); font-size: 1.45rem; }
.faith-card h2 span { color: #C7D6F3; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.faith-card .reading-copy p { margin: 0; color: #E8EDF7; }
.faith-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--white); }
.reference-list { font-size: .92rem; line-height: 1.65; }
.reference-list p { margin: 0 0 16px; padding-left: 1.4em; text-indent: -1.4em; }
.chapter-finish { margin: 38px 0 96px; padding: 26px; border-radius: var(--radius); background: var(--mist); }
.chapter-finish h2 { margin: 0 0 10px; color: var(--kingdom); font-size: 1.55rem; line-height: 1.18; }
.chapter-finish p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.finish-actions { display: grid; gap: 10px; margin-top: 20px; }

.note-panel { position: fixed; z-index: 60; inset: 0; display: flex; align-items: flex-end; padding: 16px; background: rgba(6,23,53,.48); }
.note-panel-sheet { width: min(100%, 600px); max-height: min(72dvh, 560px); margin: auto; overflow: auto; padding: 22px; border-radius: 18px 18px 12px 12px; background: var(--white); box-shadow: 0 -10px 30px rgba(0,0,0,.18); }
.note-close { float: right; min-height: 48px; font-size: .8rem; }
.note-panel-sheet .eyebrow { margin-top: 8px; }
.note-panel-sheet p { margin: 0; line-height: 1.6; }
.note-number { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-bottom: 9px; border-radius: 50%; background: var(--kingdom); color: var(--white); font-size: .78rem; font-weight: 900; }

.result-page { padding-top: 42px; }
.result-card { margin-top: 24px; }
.score-placeholder { display: flex; align-items: end; gap: 8px; margin: 18px 0; color: var(--kingdom); }
.score-placeholder strong { font-size: 3.2rem; line-height: 1; letter-spacing: -.06em; }
.score-placeholder span { padding-bottom: 5px; color: var(--muted); font-weight: 800; }
.result-list { display: grid; gap: 10px; margin: 18px 0 0; }
.result-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .91rem; }
.result-dot { width: 12px; height: 12px; border: 2px solid var(--kingdom); border-radius: 50%; }
.lock-card { margin-top: 18px; padding: 18px; border-radius: var(--radius); background: var(--kingdom); color: var(--white); }
.lock-card h2 { margin: 0 0 8px; color: var(--white); font-size: 1.25rem; }
.lock-card p { margin: 0; color: #DDE7F8; font-size: .91rem; line-height: 1.55; }

@media (min-width: 620px) {
  .site-header { padding-right: 28px; padding-left: 28px; }
  .hero-inner { padding-top: 68px; padding-bottom: 62px; }
  .intro-page, .result-page, .lesson-shell { width: min(100% - 48px, var(--content)); }
  .section-visuals:has(figure + figure) { grid-template-columns: repeat(2, 1fr); }
  .finish-actions { grid-template-columns: auto auto; justify-content: start; }
  .cover-main { width: min(100% - 80px, 920px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  @page { margin: 18mm 15mm; }
  body { font-size: 11pt; line-height: 1.55; }
  .site-header, .progress-wrap, .course-menu, .section-navigation, .mini-quiz, .writing-zone, .chapter-finish, .note-panel, .skip-link { display: none !important; }
  .chapter-hero { color: var(--ink); background: var(--white); border-bottom: 2px solid var(--kingdom); }
  .hero-inner, .lesson-shell { width: 100%; }
  .chapter-hero h1, .chapter-subtitle, .chapter-label { color: var(--ink); }
  .lesson-section { break-inside: avoid; }
  .section-figure { box-shadow: none; }
  .section-figure img { max-height: 100mm; object-fit: contain; }
  .notes-print { display: block; margin-top: 18px; padding-top: 10px; border-top: 1px solid #777; font-size: .85em; }
  .notes-print h4 { margin: 0 0 6px; }
  .notes-print ol { margin: 0; padding-left: 1.2em; }
  .note-source { display: none !important; }
  .faith-card { color: var(--ink); background: var(--white); border: 1px solid var(--kingdom); }
  .faith-card h2, .faith-card .reading-copy p { color: var(--ink); }
}

.quiz-actions { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.quiz-note { margin: 8px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.quiz-option.is-chosen-wrong { border-color: #788399; background: #F4F6F9; }
.author-page { padding: 28px 22px 40px; }
.author-logo { display: block; width: 150px; height: auto; margin: 0 0 18px; }
.author-card { margin: 0 0 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.author-card h2 { margin: 0 0 10px; color: var(--kingdom); font-size: 1.25rem; }
.author-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.author-facts li { padding-left: 14px; border-left: 3px solid var(--kingdom); font-size: .92rem; line-height: 1.45; }
.author-note { font-size: .84rem; color: var(--muted); }
.author-subtitle { margin: 6px 0 22px; color: var(--kingdom); font-size: 1.02rem; line-height: 1.5; }

.is-step-hidden { display: none !important; }
.quiz-option.is-selected { border-color: var(--kingdom); background: #E8F0FF; box-shadow: inset 0 0 0 1px var(--kingdom); }
.quiz-validate { margin-top: 12px; width: 100%; }
.quiz-validate:disabled { opacity: .45; cursor: not-allowed; }
.section-navigation .button.is-blocked { opacity: .45; }
.gate-hint { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--mist); color: var(--kingdom); font-size: .84rem; font-weight: 650; line-height: 1.45; }
.course-menu a.is-locked { opacity: .5; }
.course-menu a.is-locked::after { content: ' (verrouillée)'; font-size: .75rem; }

/* ---------- Application serveur ---------- */
.page-app .site-header { position: sticky; top: 0; z-index: 20; }
.form-page { max-width: 520px; margin: 0 auto; padding: 28px 20px 48px; }
.form-page h1 { color: var(--kingdom); margin: 4px 0 8px; }
.form-intro { color: var(--muted); font-size: .92rem; }
.form-card { display: grid; gap: 8px; margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-card label { margin-top: 6px; font-size: .86rem; font-weight: 800; color: var(--kingdom); }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=password] { width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid #B8C5D9; border-radius: 12px; font-size: 1rem; background: var(--white); color: var(--ink); }
.form-card input:focus { outline: 3px solid #88A9E6; outline-offset: 2px; }
.form-card .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); line-height: 1.4; }
.form-card .check input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; }
.form-card .button { margin-top: 12px; width: 100%; }
.form-alt { margin: 8px 0 0; text-align: center; font-size: .9rem; }
.form-alt a, .app-footer a { color: var(--kingdom); font-weight: 800; }
.flash { margin: 12px 0; padding: 12px 14px; border-radius: 10px; font-size: .9rem; font-weight: 650; line-height: 1.45; }
.flash-info { background: var(--mist); color: var(--kingdom); border-left: 4px solid var(--kingdom); }
.flash-error { background: #FBEDEF; color: #7A1020; border-left: 4px solid #B3263D; }
.app-footer { padding: 24px 20px 32px; text-align: center; color: var(--muted); font-size: .82rem; }
.cover-login { display: block; margin-top: 14px; color: #fff; font-weight: 800; text-align: center; text-decoration: underline; }
.chip { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: var(--mist); color: var(--kingdom); font-size: .74rem; font-weight: 850; }
.chip-soon { background: #F1F3F6; color: #67728A; }
.contents-list li.is-soon { opacity: .65; }
.quiz-bar { position: sticky; top: 68px; z-index: 10; display: flex; justify-content: space-between; align-items: center; margin: 0 -2px 14px; padding: 10px 14px; border-radius: 12px; background: var(--kingdom); color: #fff; font-weight: 800; }
.quiz-bar .is-low { color: #FFD479; }
.quiz-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.quiz-page .mini-question { border-top: 0; }
.rules { margin: 0; padding-left: 1.1em; line-height: 1.7; }
.review-item { padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.review-q { font-weight: 800; margin: 0 0 6px; }
.review-yours { margin: 0; color: #7A1020; }
.review-good { margin: 4px 0; color: #0b5d2c; font-weight: 800; }
.review-expl { margin: 4px 0 0; color: var(--muted); }
.badge-pass { color: #0b5d2c; font-weight: 900; }
.badge-fail { color: #7A1020; font-weight: 900; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table th, .admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.course-menu a.is-locked::after { content: ' (verrouillée)'; font-size: .75rem; }

/* ---------- Correctif : appels de notes de bas de page ---------- */
.footnote-trigger { position: relative; display: inline; width: auto; height: auto; min-height: 0; margin: 0 0 0 1px; padding: 0 .12em; border: 0; border-radius: 4px; background: transparent; color: var(--kingdom); font: inherit; font-weight: 900; line-height: 0; vertical-align: baseline; cursor: pointer; }
.footnote-trigger sup { display: inline; margin: 0; padding: 0; font-size: .68em; line-height: 0; vertical-align: super; color: var(--kingdom); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.footnote-trigger::after { content: ''; position: absolute; top: -16px; bottom: -16px; left: -12px; right: -12px; }
.footnote-trigger:hover { background: var(--mist); }

/* ---------- Page « Mon parcours » : liste de chapitres ---------- */
.chap-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.chap { border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.chap > a, .chap > .chap-static { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; color: inherit; text-decoration: none; }
.chap > .chap-static { grid-template-columns: 44px minmax(0, 1fr); }
.chap-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--kingdom); color: var(--white); font-size: 1.05rem; font-weight: 900; }
.chap-num-soft { background: var(--mist); color: var(--kingdom); }
.chap-text { display: block; min-width: 0; }
.chap-line { display: block; color: var(--ink); font-weight: 700; line-height: 1.35; }
.chap-line b { color: var(--kingdom); font-weight: 900; }
.chap-meta { display: block; margin-top: 7px; }
.chap .chip { margin-left: 0; }
.chap-arrow { color: var(--kingdom); font-size: 1.5rem; line-height: 1; }
.chap-open { border-color: var(--kingdom); background: var(--mist); box-shadow: var(--shadow); }
.chap-open .chap-line { font-weight: 800; }
.chap-soon .chap-num { background: #E7EBF2; color: #7C879C; }
.chap-soon .chap-line, .chap-soon .chap-line b { color: #6B7689; }
.chap-soon .chap-line { font-weight: 600; }
.chap-bar { display: block; height: 6px; margin-top: 10px; border-radius: 99px; background: #D3DCEC; overflow: hidden; }
.chap-bar i { display: block; height: 100%; border-radius: 99px; background: var(--kingdom); }
.chap .chip { white-space: nowrap; }
