/* Bible Academy — site vitrine. Même identité que l'app (« Aube ») : nuit indigo → aube violet/rose/or → jour. */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/Geist-Variable.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/Newsreader-opsz.woff2') format('woff2-variations'); font-weight: 200 800; font-display: swap; }

:root {
  --night: #120d33;
  --night-2: #1b1446;
  --indigo: #5b4bff;
  --violet: #8b5cf6;
  --rose: #ec4899;
  --gold: #f5a524;
  --paper: #f6f4fd;
  --surface: #ffffff;
  --ink: #17152e;
  --ink-2: #4a4766;
  --ink-3: #6f6b8f;
  --line: rgba(23, 21, 46, 0.1);
  --grad: linear-gradient(115deg, #5b4bff 0%, #8b5cf6 50%, #ec4899 100%);
  --dawn: linear-gradient(180deg, #2a1f7a 0%, #6d3fd6 34%, #e2589c 66%, #f9a947 100%);
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Geist', 'Segoe UI', Roboto, system-ui, sans-serif;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --wrap: 1180px;
  --pad: clamp(16px, 4vw, 40px);
  --p: 0;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -0.035em; margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(91, 75, 255, 0.7); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -14px rgba(139, 92, 246, 0.85); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn-ghost { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.btn-quiet { background: var(--ink); box-shadow: none; }
.btn-light { background: #fff; color: var(--night-2); box-shadow: 0 16px 40px -18px rgba(18, 13, 51, 0.6); }

/* ---------- en-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 12px var(--pad); color: var(--ink); background: rgba(246, 244, 253, 0.78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease; }
.top.on-night { color: #fff; background: rgba(18, 13, 51, 0.35); border-color: rgba(255, 255, 255, 0.08); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: inherit; text-decoration: none; font-weight: 600; font-size: 0.95rem; opacity: 0.82; }
.links a:hover { opacity: 1; }
.top .btn-sm { margin-left: 4px; }
@media (max-width: 860px) { .links { display: none; } .top .btn-sm { margin-left: auto; } }

/* ---------- ciel (accueil) ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.sky i { position: absolute; inset: 0; }
.s-night { background: radial-gradient(120% 80% at 70% 0%, #2a1f7a 0%, var(--night) 55%, #0b0824 100%); }
.s-dawn { background: var(--dawn); opacity: var(--o-dawn, 0); }
.s-day { background: var(--paper); opacity: var(--o-day, 0); }

/* ---------- héros ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: 96px var(--pad) 64px; }
.stars { position: absolute; inset: 0; opacity: 0.9; background-image:
  radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 26% 42%, #fff, transparent), radial-gradient(1.2px 1.2px at 38% 12%, #ffe9b8, transparent), radial-gradient(1px 1px at 47% 30%, #fff, transparent), radial-gradient(1.6px 1.6px at 58% 9%, #fff, transparent), radial-gradient(1px 1px at 66% 36%, #cfd4ff, transparent), radial-gradient(1.3px 1.3px at 79% 21%, #fff, transparent), radial-gradient(1px 1px at 88% 44%, #fff, transparent), radial-gradient(1.2px 1.2px at 93% 11%, #ffe9b8, transparent), radial-gradient(1px 1px at 7% 52%, #fff, transparent), radial-gradient(1px 1px at 33% 60%, #cfd4ff, transparent), radial-gradient(1.2px 1.2px at 72% 58%, #fff, transparent), radial-gradient(1px 1px at 18% 70%, #fff, transparent), radial-gradient(1px 1px at 52% 52%, #fff, transparent);
  animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 0.95; } }
.sunrise { position: absolute; left: 50%; bottom: -62vh; width: 160vw; height: 90vh; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 102, 0.95), rgba(236, 72, 153, 0.55) 45%, rgba(139, 92, 246, 0.25) 70%, transparent); filter: blur(30px); animation: rise 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
@keyframes rise { from { transform: translate(-50%, 40vh); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.hero-in { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); }
.hero h1 .ln { display: block; animation: lineIn 1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero h1 .ln + .ln { animation-delay: 0.18s; background: linear-gradient(100deg, #fff 10%, #ffd9a0 45%, #ff9cc8 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes lineIn { from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.lede { margin-top: 22px; max-width: 34em; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.82); animation: lineIn 1s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: lineIn 1s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fine { margin-top: 14px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); }
.hero-phone { position: relative; justify-self: center; animation: phoneIn 1.4s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) rotate(2deg); } to { opacity: 1; transform: none; } }
.float { position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 20px 40px -20px rgba(0, 0, 0, 0.6); font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); animation: lineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.float b { color: #fff; font-size: 1rem; }
.f1 { left: -64px; top: 18%; animation-delay: 1.1s; }
.f2 { right: -56px; bottom: 16%; max-width: 230px; animation-delay: 1.35s; }
.f2 b { color: #7ff0b8; }
@media (max-width: 900px) {
  .hero { padding-top: 88px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone { width: min(78vw, 300px); }
  .f1 { left: -12%; } .f2 { right: -14%; }
}

/* ---------- téléphone ---------- */
.phone { position: relative; width: 300px; aspect-ratio: 390 / 844; padding: 9px; border-radius: 48px; background: linear-gradient(160deg, #2a2550, #0d0b1f); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 50px 90px -40px rgba(10, 6, 40, 0.9); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 40px; }
.phone.sm { width: min(70vw, 280px); }
.phone.lg { width: 320px; }
.hero-phone .phone { width: 100%; max-width: 320px; }

/* ---------- parcours (Genèse → Apocalypse) ---------- */
.journey { position: relative; height: 320vh; }
.journey-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: 110px 0 48px; overflow: hidden; color: color-mix(in oklab, #fff calc((1 - var(--p)) * 100%), var(--ink)); }
.journey-copy { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.journey h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 15em; }
.journey-copy p { margin-top: 14px; max-width: 34em; font-size: 1.15rem; opacity: 0.85; }
.rail-wrap { align-self: center; min-width: 0; overflow: visible; }
.rail { display: flex; gap: clamp(28px, 4vw, 56px); padding: 0 var(--pad); width: max-content; will-change: transform; transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); }
.rail a { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.rail span { font-size: clamp(2.6rem, 8vw, 6.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; background: linear-gradient(120deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rail small { font-size: 0.9rem; opacity: 0.7; font-weight: 600; }
.rail a:hover span, .rail a:focus-visible span { filter: brightness(1.15) saturate(1.2); }
.journey-meter { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 10px; }
.journey-meter i { height: 4px; border-radius: 4px; background: color-mix(in oklab, currentColor 18%, transparent); position: relative; overflow: hidden; align-self: center; }
.journey-meter i::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p)); background: linear-gradient(90deg, var(--gold), var(--rose), var(--violet)); }
.journey-meter span { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.journey-meter small { opacity: 0.7; font-weight: 600; }

/* ---------- fonctionnalités (téléphone fixe) ---------- */
.features, .quiz-sec, .people, .pricing, .faq { position: relative; background: var(--paper); }
.feat-grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 380px; gap: 64px; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; max-width: 30em; }
.step h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.step p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-2); }
.step-phone { display: none; }
.feat-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; }
.feat-sticky .phone img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); opacity: 0; transform: scale(0.97); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.feat-sticky .phone img.on { opacity: 1; transform: none; }
.step { opacity: 0.35; transition: opacity 0.4s ease; }
.step.on { opacity: 1; }
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; gap: 0; }
  .feat-sticky { display: none; }
  .step { min-height: 0; padding: 56px 0; opacity: 1; max-width: none; }
  .step-phone { display: block; order: 3; margin-top: 28px; }
}

/* ---------- quiz interactif ---------- */
.quiz-sec { padding: 120px var(--pad); }
.quiz-head { max-width: var(--wrap); margin: 0 auto 36px; }
.quiz-head h2, .people-head h2, .pricing h2, .faq h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.quiz-head p, .people-head p { margin-top: 12px; max-width: 34em; font-size: 1.15rem; color: var(--ink-2); }
.quiz-card { max-width: var(--wrap); margin: 0 auto; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--night-2); color: #fff; box-shadow: 0 40px 80px -40px rgba(27, 20, 70, 0.7); background-image: radial-gradient(80% 120% at 100% 0%, rgba(139, 92, 246, 0.45), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(236, 72, 153, 0.25), transparent 60%); }
.qc-top { display: flex; justify-content: space-between; font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); font-weight: 600; }
.qc-q { margin-top: 18px; font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; max-width: 28em; }
.qc-choices, .mq-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.qc-choices button, .mq-choices button { text-align: left; min-height: 56px; padding: 14px 18px; border-radius: 16px; border: 0; font: inherit; font-weight: 600; cursor: pointer; color: inherit; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); transition: background 0.2s ease, transform 0.15s ease; }
.qc-choices button:hover:not(:disabled) { background: rgba(255, 255, 255, 0.14); }
.qc-choices button:disabled, .mq-choices button:disabled { cursor: default; }
.qc-choices .right, .mq-choices .right { background: #17a865 !important; color: #fff; box-shadow: none; }
.qc-choices .wrong, .mq-choices .wrong { background: #d94b57 !important; color: #fff; box-shadow: none; animation: shake 0.35s ease; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.qc-expl { margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); font-size: 1.05rem; line-height: 1.55; animation: lineIn 0.5s ease both; }
.qc-expl b { display: block; margin-bottom: 4px; }
.ref { display: inline-block; font-size: 0.85em; font-weight: 700; color: var(--violet); white-space: nowrap; }
.qc-expl .ref { color: #ffd38a; }
.qc-foot { margin-top: 22px; display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
@media (max-width: 640px) { .qc-choices, .mq-choices { grid-template-columns: 1fr; } }

/* ---------- mur des personnages ---------- */
.people { padding: 40px var(--pad) 120px; overflow-x: clip; }
.people-head { max-width: var(--wrap); margin: 0 auto 36px; }
.wall { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; }
.wall a { position: relative; color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.wall a:nth-child(3n + 2) { color: var(--ink-3); font-weight: 600; }
.wall a:nth-child(7n + 4) { color: var(--ink-2); font-weight: 800; }
.wall a:hover, .wall a:focus-visible { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wall a::after { content: attr(data-title); position: absolute; left: 0; top: 100%; z-index: 3; width: max-content; max-width: 260px; margin-top: 6px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease; -webkit-text-fill-color: #fff; }
.wall a:hover::after, .wall a:focus-visible::after { opacity: 1; transform: none; }
.more-links { max-width: var(--wrap); margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 700; }

/* ---------- tarifs ---------- */
.pricing { padding: 100px var(--pad); text-align: center; }
.pr-sub { margin: 14px auto 0; max-width: 32em; color: var(--ink-2); font-size: 1.12rem; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 20px; margin-top: 44px; }
.plan { display: grid; gap: 10px; justify-items: center; padding: 34px 28px; border-radius: 28px; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(60, 40, 160, 0.4); }
.plan.best { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent; }
.plan h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.price b { display: block; font-size: 3.2rem; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--ink-3); font-weight: 600; }
.note { color: var(--ink-2); font-size: 0.95rem; min-height: 1.6em; }
.plan .btn { margin-top: 10px; width: 100%; }
.incl { list-style: none; padding: 0; margin: 44px auto 0; max-width: 820px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; text-align: left; }
.incl li { padding-left: 28px; position: relative; color: var(--ink-2); }
.incl li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 2.5px solid var(--indigo); border-bottom: 2.5px solid var(--indigo); transform: rotate(-45deg); }
@media (max-width: 700px) { .plans, .incl { grid-template-columns: 1fr; } }

/* ---------- questions ---------- */
.faq { padding: 40px var(--pad) 120px; max-width: calc(820px + 2 * var(--pad)); margin: 0 auto; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* ---------- final ---------- */
.final { text-align: center; padding: 120px var(--pad); color: #fff; background: var(--dawn); }
.final h2 { font-size: clamp(2.8rem, 7vw, 6rem); }
.final > p { margin: 16px auto 32px; font-size: 1.2rem; max-width: 30em; opacity: 0.92; }
.final .fine { color: rgba(255, 255, 255, 0.8); margin-top: 22px; font-family: var(--serif); font-size: 1.05rem; }

/* ---------- pied de page ---------- */
.foot { background: var(--night); color: rgba(255, 255, 255, 0.75); padding: 64px var(--pad) 40px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-brand b { color: #fff; font-size: 1.1rem; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot h2 { font-size: 0.95rem; letter-spacing: 0; color: #fff; margin-bottom: 4px; }
.foot a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-note { max-width: var(--wrap); margin: 40px auto 0; font-size: 0.85rem; opacity: 0.6; }
@media (max-width: 800px) { .foot-in { grid-template-columns: 1fr 1fr; } }

/* ---------- pages de contenu ---------- */
.page { max-width: calc(780px + 2 * var(--pad)); margin: 0 auto; padding: 104px var(--pad) 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-head > p:not(.kicker):not(.sub) { margin-top: 14px; font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.kicker { font-weight: 700; color: var(--indigo); margin-bottom: 10px; font-size: 0.98rem; }
.sub { margin-top: 12px; font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
.fam-head h1 { background: linear-gradient(120deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.fam-head .kicker { color: var(--a); }
.lead { margin-top: 30px; font-size: 1.22rem; line-height: 1.65; color: var(--ink); }
.meta-line { margin-top: 18px; color: var(--ink-2); }
.page section { margin-top: 44px; }
.page section h2, .mini-quiz h2 { font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 14px; }
.page section p { color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .two { grid-template-columns: 1fr; } }
ul.plain, ol.moments, ol.outline { padding-left: 1.2em; margin: 0; display: grid; gap: 10px; color: var(--ink-2); }
ol.outline li p { margin-top: 4px; }
.facts { margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts div { padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.facts dt { font-size: 0.85rem; font-weight: 700; color: var(--ink-3); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }
.verse { margin: 44px 0 0; padding: 0 0 0 22px; border-left: 3px solid; border-image: var(--grad) 1; }
.verse blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--ink); font-variation-settings: 'opsz' 36; }
.verse figcaption { margin-top: 10px; font-weight: 700; color: var(--indigo); font-size: 0.98rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.chips a:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); }
.mini-quiz { margin-top: 56px; padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: var(--night-2); color: #fff; background-image: radial-gradient(80% 120% at 100% 0%, rgba(139, 92, 246, 0.4), transparent 60%); }
.mq + .mq { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.mq-q { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.mq-choices { margin-top: 16px; }
.mq-choices button { min-height: 48px; padding: 10px 14px; font-size: 0.98rem; }
.mq-expl { margin-top: 14px; color: rgba(255, 255, 255, 0.85); }
.mq-expl .ref, .mq-more a { color: #ffd38a; }
.mq-more { margin-top: 28px; color: rgba(255, 255, 255, 0.75); }
.cta-band { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px; border-radius: 28px; background: var(--dawn); color: #fff; }
.cta-band h2 { font-size: 1.6rem; letter-spacing: -0.025em; }
.cta-band p { margin-top: 6px; opacity: 0.9; }
.cta-band .btn { background: #fff; color: var(--night-2); }
.index-group { margin-top: 48px; }
.index-group h2 { font-size: 1.7rem; display: flex; align-items: baseline; gap: 10px; }
.index-group h2 small { font-size: 1rem; color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
.fam { background: linear-gradient(120deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.index-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.index-list.numbered { counter-reset: n; }
.index-list a { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.index-list a b { font-weight: 700; }
.index-list a span { color: var(--ink-3); font-size: 0.95rem; }
.index-list a:hover b { color: var(--indigo); }
@media (max-width: 640px) { .index-list { grid-template-columns: 1fr; } }
.prevnext { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; font-weight: 700; }
.prevnext a:first-child::before { content: '‹ '; }
.prevnext a:last-child::after { content: ' ›'; }

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .journey { height: auto; }
  .journey-pin { position: relative; height: auto; color: var(--ink); background: var(--paper); gap: 28px; }
  .rail { flex-wrap: wrap; width: auto; transform: none; gap: 10px 22px; }
  .rail span { font-size: 1.6rem; }
  .s-dawn { display: none; }
}
/* le petit quiz est une section sombre : on annule le gris des sections claires */
.page .mini-quiz p { color: rgba(255, 255, 255, 0.86); }
.page .mini-quiz .mq-q { color: #fff; }
.page .mini-quiz h2 { color: #fff; }

/* bandeau d'accord (visiteurs en Europe seulement) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(23, 21, 46, 0.94); color: #fff; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); font-size: 0.95rem; }
.consent div { display: flex; gap: 8px; }
.consent button:not(.btn) { background: none; border: 0; color: rgba(255, 255, 255, 0.8); font: inherit; font-weight: 600; cursor: pointer; padding: 8px 10px; }
