/* =====================================================================
   Cycles & Crises — système de design partagé
   Source unique des jetons, de la navigation, du pied de page et des
   composants communs aux 6 pages. Une page ne redéfinit jamais :root.
   Référence : Shopify Editions Winter '26 (version légère), moodboards
   de 04-design (gravure sombre, sépia, spirale).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Jetons
   --------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg-primary:   #0a0a0a;
  --bg-secondary: #111827;
  --bg-card:      #151e2d;
  --bg-footer:    #050505;

  /* Accents */
  --accent-red:   #c0392b;
  --accent-blue:  #1a3a5c;
  --accent-gold:  #d4af37;

  /* Texte */
  --text-primary:   #f5f0e8;
  --text-secondary: #9ca3af;
  --text-dim:       #4b5563;

  /* Bordures */
  --border-subtle: rgba(255,255,255,0.07);
  --border-light:  rgba(255,255,255,0.10);
  --border-frame:  rgba(245,240,232,0.35);

  /* Codage émotionnel des 5 phases */
  --phase-proto:      #1a3a5c;
  --phase-debut:      #e67e22;
  --phase-sommet:     #c0392b;
  --phase-resolution: #6c3483;
  --phase-post:       #d4af37;

  /* Couleurs par théorie (constantes sur tout le site) */
  --theory-minsky:     #e74c3c;
  --theory-kondratiev: #e67e22;
  --theory-juglar:     #00bcd4;
  --theory-dalio:      #9b59b6;
  --theory-fourth:     #d4af37;
  --theory-durkheim:   #27ae60;
  --theory-beck:       #e91e63;
  --theory-taleb:      #ecf0f1;
  --theory-bourdieu:   #3498db;
  --theory-foules:     #f39c12;

  /* Scénarios 2025-2035 */
  --scenario-a: #1a7a5a;
  --scenario-b: #a05a00;
  --scenario-c: #7a0000;

  /* Typographie */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;
  --font-body:    'Source Serif Pro', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Échelle typographique fluide */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.85rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2:  clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --step-3:  clamp(1.9rem, 1.5rem + 2vw, 3rem);
  --step-4:  clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);
  --step-5:  clamp(3.5rem, 2rem + 7vw, 7rem);
  --step-6:  clamp(4rem, 1.5rem + 11vw, 9.5rem);

  /* Espacement */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Gabarit */
  --nav-h:     64px;
  --toc-w:     220px;
  --content-w: 1200px;
  --gutter:    clamp(1.25rem, 5vw, 4rem);

  /* Mouvement */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 200ms;
  --dur-base: 500ms;
  --dur-slow: 800ms;
}

/* ---------------------------------------------------------------------
   2. Reset et base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain global : rappel de l'usure du temps, signature du site */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

a { color: inherit; text-decoration: none; }
img, svg, video, canvas { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.nav-links, .nav-mobile ul, .footer-nav-col ul, .toc ul { list-style: none; }

::selection { background: var(--accent-red); color: var(--text-primary); }

:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 3px; }

/* ---------------------------------------------------------------------
   3. Navigation
   --------------------------------------------------------------------- */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
#main-nav.is-scrolled {
  background: rgba(10,10,10,0.94);
  border-bottom-color: var(--border-subtle);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent-red); font-style: italic; font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.75rem);
  flex-wrap: nowrap;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); border-bottom-color: var(--accent-red); }

/* CTA pilule : dernier lien (« Les futurs »), à la Shopify */
.nav-links a.nav-cta {
  border: 1px solid var(--border-frame);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  color: var(--text-primary);
  background: rgba(245,240,232,0.04);
}
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 999;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4) var(--gutter) var(--space-5);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.nav-mobile.open { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: var(--space-3); }
.nav-mobile a {
  display: block;
  font-family: var(--font-ui);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  transition: color var(--dur-fast);
}
.nav-mobile a:hover { color: var(--text-primary); }
.nav-mobile a.active { color: var(--accent-gold); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ---------------------------------------------------------------------
   4. Rythme éditorial (eyebrow → titre → lead)
   --------------------------------------------------------------------- */
.section { padding: clamp(4rem, 9vw, 8rem) var(--gutter); }
.container { max-width: var(--content-w); margin: 0 auto; }
.container--narrow { max-width: 760px; margin: 0 auto; }

.section-label,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: var(--space-3);
}
.eyebrow--ui {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}
.section-title em { font-style: italic; color: var(--accent-gold); }

.section-intro,
.lead {
  font-family: var(--font-body);
  font-size: var(--step-1);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.65;
}
.lead { color: var(--text-primary); font-size: var(--step-2); line-height: 1.35; letter-spacing: -0.01em; max-width: 720px; }
.lead--italic { font-family: var(--font-display); font-style: italic; }

/* Lettrine à la Shopify */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 2.2em;
  line-height: 0.8;
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--accent-gold);
}

/* ---------------------------------------------------------------------
   5. Boutons
   --------------------------------------------------------------------- */
.btn-pill,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn-pill { background: var(--text-primary); color: var(--bg-primary); border: 1px solid var(--text-primary); }
.btn-pill:hover { background: var(--accent-red); border-color: var(--accent-red); color: var(--text-primary); }
.btn-ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border-frame); }
.btn-ghost:hover { border-color: var(--accent-red); background: rgba(192,57,43,0.12); }
.btn-pill svg, .btn-ghost svg { transition: transform var(--dur-fast) var(--ease); }
.btn-pill:hover svg, .btn-ghost:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   6. Cartes et modules
   --------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: var(--space-5) var(--space-4);
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.card:hover { border-color: var(--border-light); }
.card--link { display: block; cursor: pointer; }
.card--link:hover { transform: translateY(-2px); }

.card h3, .card-title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
.card p { font-size: var(--step--1); color: var(--text-secondary); line-height: 1.7; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-4);
}
.module { display: flex; flex-direction: column; gap: var(--space-3); }
.module-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  position: relative;
}
.module-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.module:hover .module-media img { transform: scale(1.03); }
.module:hover .module-media { border-color: var(--border-frame); }
.module-caption h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.module-caption p { font-size: var(--step--1); color: var(--text-secondary); line-height: 1.65; }

/* Encadré « Nous sommes ici » */
.callout-now {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border: 1px solid rgba(192,57,43,0.3);
  border-left: 3px solid var(--accent-red);
  padding: var(--space-3) var(--space-4);
  background: rgba(192,57,43,0.05);
  border-radius: 2px;
}
.callout-now svg { flex-shrink: 0; margin-top: 0.2rem; }
.callout-now-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 0.2rem;
}
.callout-now p:not(.callout-now-label) {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------------------------------------------------------------------
   7. Chapitre plein écran (couverture et chapitres)
   --------------------------------------------------------------------- */
.chapter {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-secondary);
}
.chapter--short { min-height: 70svh; }
.chapter--cover { align-items: center; justify-content: center; text-align: center; }

.chapter-media {
  position: absolute;
  inset: -4%;               /* marge pour la parallaxe souris */
  z-index: -2;
  background: radial-gradient(ellipse at 50% 35%, #142238 0%, #0a1220 45%, var(--bg-primary) 100%);
  transition: transform var(--dur-base) var(--ease);
}
.chapter-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* traitement sépia/assombrissement cuit dans les fichiers webp (pas de filtre CSS : trop coûteux sur 7 médias plein écran) */
}
/* Repli sans image : spirale SVG */
.chapter-media--fallback::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23f5f0e8' stroke-opacity='0.14' stroke-width='1'%3E%3Cpath d='M400 400 m0 -2 a2 2 0 0 1 2 2 a4 4 0 0 1 -4 4 a8 8 0 0 1 -8 -8 a14 14 0 0 1 14 -14 a24 24 0 0 1 24 24 a38 38 0 0 1 -38 38 a60 60 0 0 1 -60 -60 a95 95 0 0 1 95 -95 a150 150 0 0 1 150 150 a235 235 0 0 1 -235 235 a370 370 0 0 1 -370 -370'/%3E%3Ccircle cx='400' cy='400' r='120'/%3E%3Ccircle cx='400' cy='400' r='240'/%3E%3Ccircle cx='400' cy='400' r='360'/%3E%3Cline x1='0' y1='400' x2='800' y2='400'/%3E%3Cline x1='400' y1='0' x2='400' y2='800'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(120vh, 140vw);
}
/* Voile : lisibilité du texte + fondu vers le fond de page */
.chapter::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg-primary) 0%, rgba(10,10,10,0.78) 30%, rgba(10,10,10,0.42) 60%, rgba(10,10,10,0.55) 100%);
  pointer-events: none;
}
/* Overlay constellation, statique, très discret */
.chapter-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    linear-gradient(var(--text-primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--text-primary) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.chapter-body {
  position: relative;
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--space-6)) var(--gutter) var(--space-6);
}
.chapter-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  margin-bottom: var(--space-3);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.chapter-title {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: var(--step-6);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.chapter-title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--accent-gold);
}
.chapter-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.3;
  color: var(--text-primary);
  max-width: 34ch;
  margin-bottom: var(--space-5);
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}
.chapter-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Cadre de couverture */
.cover-frame {
  border: 1px solid var(--border-frame);
  padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3rem);
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  background: rgba(10,10,10,0.18);
}
.cover-frame .chapter-title { font-size: var(--step-5); max-width: none; }
.cover-frame .chapter-tagline { font-size: var(--step-1); margin-bottom: var(--space-4); }

/* ---------------------------------------------------------------------
   8. Table des matières (dans la couverture, puis dockée en bas à gauche)
   --------------------------------------------------------------------- */
.toc ul { display: flex; flex-direction: column; gap: 0.15rem; }
.toc a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
  padding: 0.1rem 0;
  transition: color var(--dur-fast) var(--ease);
}
.toc a::after {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.toc a:hover, .toc a.is-active { color: var(--accent-red); }
.toc a.is-active::after { color: var(--accent-red); }

/* Docké : version fixe, bas gauche, visible seulement sur grand écran */
.toc--docked {
  position: fixed;
  left: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 900;
  width: var(--toc-w);
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), visibility var(--dur-base);
  pointer-events: none;
}
.toc--docked.is-docked { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.toc--docked a { font-size: 0.85rem; }
.toc--docked .toc-brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.toc--docked .toc-brand span { color: var(--accent-red); font-style: italic; }
@media (max-width: 1280px) { .toc--docked { display: none; } }

/* ---------------------------------------------------------------------
   9. Reveal au scroll (IntersectionObserver dans site.js)
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------------------------------------------------------------------
   10. Pied de page
   --------------------------------------------------------------------- */
footer.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-7) var(--gutter) var(--space-5);
  position: relative;
  z-index: 1;
}
.footer-inner { max-width: var(--content-w); margin: 0 auto; }
.footer-brand { margin-bottom: var(--space-6); }
.footer-brand .nav-logo { font-size: 1.6rem; }
.footer-brand p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text-secondary);
  margin-top: var(--space-2);
  max-width: 48ch;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-5) var(--space-4);
  margin-bottom: var(--space-6);
}
.footer-nav-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: var(--space-3);
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-nav-col a, .footer-nav-col li {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}
.footer-nav-col a:hover { color: var(--text-primary); }
.footer-sources { border-top: 1px solid var(--border-subtle); padding-top: var(--space-4); }
.footer-sources h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}
.footer-sources-list { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.footer-sources-list span { font-family: var(--font-ui); font-size: 0.72rem; color: rgba(156,163,175,0.6); }
.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-bottom p { font-family: var(--font-mono); font-size: 0.65rem; color: rgba(156,163,175,0.4); letter-spacing: 0.08em; }

/* ---------------------------------------------------------------------
   11. Mouvement réduit
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chapter-media { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
