/* ===========================================================
   Verisimilis — Système de design
   Refonte du site verisimilis.com — Maquettes V1
   =========================================================== */

:root {
  /* Couleurs - palette éditoriale épurée */
  --paper: #faf8f4;          /* fond principal, blanc cassé très chaud */
  --paper-soft: #f3efe7;     /* fond secondaire pour les zones */
  --paper-warm: #ede8dc;     /* fond pour les blocs encadrés */
  --ink: #1a1a1a;            /* noir profond pour le texte */
  --ink-soft: #4a4540;       /* gris-noir pour textes secondaires */
  --ink-faint: #8a847a;      /* gris pour métadonnées */
  --line: #d8d2c4;           /* lignes de séparation discrètes */
  --line-soft: #e8e3d5;      /* lignes encore plus discrètes */
  --accent: #6b1f1a;         /* bordeaux profond, accent unique */
  --accent-soft: #8a3b34;    /* bordeaux clair pour hover */
  --shadow: rgba(60, 40, 20, 0.06);  /* ombres très subtiles */

  /* Typographie */
  --serif: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Tailles */
  --text-xs: 0.78rem;
  --text-sm: 0.92rem;
  --text-base: 1.05rem;
  --text-lg: 1.2rem;
  --text-xl: 1.45rem;
  --text-2xl: 1.85rem;
  --text-3xl: 2.4rem;
  --text-4xl: 3.2rem;
  --text-5xl: 4.2rem;

  /* Espacements */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Arrondis */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Largeurs de contenu */
  --width-narrow: 36rem;
  --width-text: 42rem;
  --width-content: 56rem;
  --width-wide: 72rem;
}

/* ===========================================================
   Reset et base
   =========================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: var(--text-base);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

a:hover {
  color: var(--accent-soft);
  border-bottom-color: var(--accent-soft);
}

/* ===========================================================
   En-tête du site
   =========================================================== */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(250, 248, 244, 0.95);
}

.site-header-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.site-brand {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-brand em {
  color: var(--accent);
  font-style: italic;
}

.site-brand a {
  color: inherit;
  border-bottom: none;
}

.site-brand a:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}

.site-nav a {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  border-bottom: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.active {
  color: var(--accent);
}

.lang-switcher {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  padding-left: var(--space-5);
  border-left: 1px solid var(--line);
}

.lang-switcher a {
  font-family: var(--sans);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.lang-switcher a:hover {
  background: var(--paper-warm);
  color: var(--ink);
}

.lang-switcher a.active {
  background: var(--ink);
  color: var(--paper);
}

/* Picto de téléchargement dans le menu (à droite de "L'auteur") */
.nav-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: var(--ink-faint);
  border-bottom: none !important;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-download-icon:hover {
  color: var(--accent);
  background: var(--paper-warm);
}

.nav-download-icon.active {
  color: var(--accent);
}

/* Menu hamburger pour mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  font-family: var(--sans);
  font-size: var(--text-base);
  color: var(--ink);
}

/* ===========================================================
   Layouts
   =========================================================== */

main {
  min-height: calc(100vh - 200px);
}

.container {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--width-text);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-8) 0;
}

.section-tight {
  padding: var(--space-7) 0;
}

/* ===========================================================
   Hero
   =========================================================== */

.hero {
  padding: var(--space-9) 0 var(--space-8);
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-5);
}

.hero-title {
  font-family: var(--serif);
  font-size: var(--text-5xl);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.5;
  max-width: 38rem;
  margin-bottom: var(--space-6);
}

.hero-author {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

/* ===========================================================
   Typographie de contenu
   =========================================================== */

article h1, .prose h1 {
  font-family: var(--serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

article h2, .prose h2 {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

article h3, .prose h3 {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

article p, .prose p {
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  line-height: 1.75;
}

article p.lead, .prose p.lead {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

article ul, article ol, .prose ul, .prose ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
}

article li, .prose li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
}

article blockquote, .prose blockquote {
  border-left: 2px solid var(--accent);
  padding-left: var(--space-5);
  padding-right: var(--space-3);
  margin: var(--space-5) 0;
  /* Italique discret uniquement pour les citations courtes via la classe .citation */
  font-style: normal;
  color: var(--ink);
  font-size: var(--text-base);
}

/* Citation courte (avec la classe .citation) : italique + style citation */
article blockquote.citation, .prose blockquote.citation {
  font-style: italic;
  color: var(--ink-soft);
  font-size: var(--text-lg);
}

/* Pour le texte long dans blockquote : pas de justification trop dure, retour au flux normal */
.prose blockquote p {
  text-align: left;  /* pas de justification forcée pour les longs textes */
  text-indent: 0;
  line-height: 1.75;
}

/* ===========================================================
   Cartes (sections de la page d'accueil)
   =========================================================== */

.card {
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.card-title {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.card-text {
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.card-link {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--accent);
  letter-spacing: 0.02em;
}

.card-link::after {
  content: ' →';
  display: inline-block;
  margin-left: var(--space-1);
  transition: transform 0.18s ease;
}

.card:hover .card-link::after {
  transform: translateX(2px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: var(--space-5);
}

/* ===========================================================
   Boutons
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  font-family: var(--sans);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  background: var(--ink);
  color: var(--paper);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  border-bottom-color: var(--accent);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* ===========================================================
   Ornements éditoriaux
   =========================================================== */

.ornament {
  text-align: center;
  margin: var(--space-7) 0;
  color: var(--accent);
  font-size: var(--text-lg);
  letter-spacing: 1.5rem;
  opacity: 0.5;
}

.ornament::before {
  content: '✦   ✦   ✦';
}

.divider {
  height: 1px;
  background: var(--line);
  margin: var(--space-6) 0;
  border: none;
}

/* ===========================================================
   Poème
   =========================================================== */

.poem {
  padding: var(--space-7) var(--space-5);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: var(--space-6) 0;
  background: var(--paper-soft);
}

.poem-title {
  font-family: var(--serif);
  font-size: var(--text-xl);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-5);
}

.poem-stanza {
  margin-bottom: var(--space-4);
}

.poem-stanza:last-child {
  margin-bottom: 0;
}

.poem-author {
  font-style: normal;
  font-family: var(--sans);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  color: var(--ink-faint);
  margin-top: var(--space-5);
  text-transform: uppercase;
}

/* ===========================================================
   Fast button (le poème toujours accessible)
   =========================================================== */

.poem-button {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 50;
  padding: var(--space-3) var(--space-5);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.poem-button:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.poem-button-icon {
  font-size: var(--text-base);
}

/* Modal du poème */
.poem-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 14, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}

.poem-modal-backdrop.open {
  display: flex;
}

.poem-modal {
  background: var(--paper);
  border-radius: var(--radius-xl);
  max-width: 36rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-7);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.poem-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-xl);
  color: var(--ink-faint);
  padding: var(--space-2);
  line-height: 1;
}

.poem-modal-close:hover {
  color: var(--accent);
}

.poem-modal .poem {
  border: none;
  margin: 0;
  padding: 0;
  background: none;
}

/* ===========================================================
   Pied de page
   =========================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
  padding: var(--space-7) 0 var(--space-6);
  margin-top: var(--space-9);
}

.footer-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-7);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: var(--space-2);
}

.footer-col a {
  color: var(--ink-soft);
  font-size: var(--text-sm);
  border-bottom: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-brand {
  font-family: var(--serif);
  font-size: var(--text-xl);
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.footer-brand em {
  color: var(--accent);
  font-style: italic;
}

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 24rem;
}

.footer-bottom {
  max-width: var(--width-wide);
  margin: var(--space-6) auto 0;
  padding: var(--space-5) var(--space-6) 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: var(--text-xs);
  color: var(--ink-faint);
}

/* ===========================================================
   Page de lecture du livre
   =========================================================== */

.reader-layout {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: var(--space-7);
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: var(--space-6);
  min-height: calc(100vh - 80px);
}

.reader-toc {
  position: sticky;
  top: 6rem;
  align-self: start;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  padding-right: var(--space-4);
  border-right: 1px solid var(--line);
}

.reader-toc h3 {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--space-4);
}

.reader-toc-list {
  list-style: none;
  padding: 0;
}

.reader-toc-list li {
  margin-bottom: var(--space-1);
}

.reader-toc-list a {
  font-family: var(--serif);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border-bottom: none;
  line-height: 1.4;
}

.reader-toc-list a:hover {
  background: var(--paper-warm);
  color: var(--ink);
}

.reader-toc-list a.active {
  background: var(--ink);
  color: var(--paper);
}

.reader-toc-list .toc-section {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  padding: var(--space-3) var(--space-3) var(--space-2);
  margin-top: var(--space-3);
}

.reader-main {
  max-width: 38rem;
  padding-bottom: var(--space-8);
}

.reader-controls {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.reader-control-btn {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  font-family: var(--sans);
  font-size: var(--text-sm);
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.18s ease;
}

.reader-control-btn:hover {
  background: var(--paper-warm);
  color: var(--ink);
}

.reader-control-label {
  font-family: var(--sans);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  margin-right: var(--space-2);
}

.reader-paragraph {
  margin-bottom: var(--space-5);
  position: relative;
  font-size: var(--text-base);
  line-height: 1.8;
  padding-left: var(--space-5);
}

.reader-paragraph-num {
  position: absolute;
  left: 0;
  top: 0.3rem;
  font-family: var(--mono);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

.reader-block {
  margin: var(--space-5) 0;
  padding: var(--space-4) var(--space-5);
  background: var(--paper-soft);
  border-left: 2px solid var(--line);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.reader-block-label {
  font-family: var(--sans);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.reader-block-theorie {
  border-left-color: var(--ink-faint);
}

.reader-block-methode {
  border-left-color: var(--accent);
  background: rgba(107, 31, 26, 0.04);
}

.reader-block-baudelaire {
  border-left-color: #a6843c;
  background: rgba(166, 132, 60, 0.06);
}

/* ===========================================================
   Responsive — Tablette
   =========================================================== */

@media (max-width: 1024px) {
  .reader-layout {
    grid-template-columns: 14rem 1fr;
    gap: var(--space-5);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

/* ===========================================================
   Responsive — Mobile
   =========================================================== */

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.8rem;
    --text-4xl: 2.2rem;
    --text-3xl: 1.8rem;
    --text-2xl: 1.5rem;
    --text-xl: 1.25rem;
  }

  .site-header-inner {
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--space-4) var(--space-4) var(--space-5);
    gap: var(--space-3);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: var(--text-base);
  }

  .site-nav a:last-of-type {
    border-bottom: none;
  }

  .lang-switcher {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: var(--space-3);
    margin-top: var(--space-2);
    justify-content: center;
  }

  .menu-toggle {
    display: block;
  }

  .container,
  .container-narrow,
  .container-wide {
    padding: 0 var(--space-4);
  }

  .hero {
    padding: var(--space-7) 0 var(--space-6);
  }

  .section {
    padding: var(--space-6) 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  .reader-layout {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }

  .reader-toc {
    position: relative;
    top: auto;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-5);
  }

  .reader-toc-list {
    max-height: 12rem;
    overflow-y: auto;
  }

  .poem-button {
    bottom: var(--space-4);
    right: var(--space-4);
    padding: var(--space-3) var(--space-4);
  }

  .poem-button-text {
    display: none;
  }

  .poem-modal {
    padding: var(--space-5);
  }

  article h1, .prose h1 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }
}

/* ===========================================================
   Utilitaires
   =========================================================== */

.text-center { text-align: center; }
.text-muted { color: var(--ink-faint); }
.italic { font-style: italic; }
.serif { font-family: var(--serif); }
.small { font-size: var(--text-sm); }

.spacer-sm { height: var(--space-4); }
.spacer-md { height: var(--space-6); }
.spacer-lg { height: var(--space-8); }

/* ===========================================================
   Email en image dans le footer (anti-spam)
   =========================================================== */

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-email-img {
  height: 20px;
  width: auto;
  vertical-align: middle;
  opacity: 0.85;
  /* Ne pas être sélectionnable comme texte */
  user-select: none;
  -webkit-user-select: none;
}

/* En mode sombre, on inverse les couleurs de l'image */
body.reader-dark .footer-email-img {
  filter: invert(0.85);
  opacity: 0.85;
}

/* ===========================================================
   Bouton "Reprendre la lecture" dans le header
   =========================================================== */

.resume-reading-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--radius-full);
  border-bottom: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.resume-reading-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
  transform: translateY(-1px);
}

.resume-reading-btn[hidden] {
  display: none;
}

.resume-icon {
  font-size: 0.7em;
}

@media (max-width: 768px) {
  .resume-text {
    display: none;  /* sur mobile on garde juste l'icône */
  }
  
  .resume-reading-btn {
    padding: var(--space-2);
    min-width: 36px;
    justify-content: center;
  }
}

/* ===========================================================
   Skip link pour l'accessibilité
   =========================================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-3);
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-family: var(--sans);
  font-size: var(--text-sm);
  z-index: 1000;
  border-bottom: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: var(--space-3);
  color: var(--paper);
  border-bottom: none;
}

/* ===========================================================
   Indicateur de focus visible (accessibilité)
   =========================================================== */

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

button:focus-visible,
a:focus-visible {
  outline-offset: 4px;
}

/* ===========================================================
   Lisibilité des pages longues
   =========================================================== */

/* Style amélioré pour les paragraphes longs en prose */
.prose p {
  /* L'interligne par défaut était 1.65, on l'aère légèrement pour les pages longues */
  line-height: 1.8;
  margin-bottom: var(--space-5);
  /* On évite la justification dure qui crée des espaces grotesques entre mots
     dans les longs paragraphes. Un alignement gauche reste plus lisible. */
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Première lettre du premier paragraphe d'une sous-section : lettrine légère */
.prose h3 + p::first-letter {
  font-size: 1.3em;
  font-weight: 500;
  color: var(--accent);
  margin-right: 1px;
  line-height: 1;
}

/* Citations entre guillemets français : style légèrement distinct */
.prose p {
  /* Mettre en italique implicite les passages entre « » est trop risqué
     car les guillemets servent aussi à délimiter des mots techniques.
     On se contente d'améliorer leur rendu typographique. */
  quotes: "«" "»" "“" "”";
}

/* Lien interne entre sections (h3) : marqueur visuel léger en marge */
.prose h3 {
  position: relative;
  padding-left: var(--space-4);
}

.prose h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  bottom: 0.4em;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.6;
}

/* Renforcement des séparateurs entre grandes sections */
.prose hr.divider {
  margin: var(--space-8) auto;
  width: 6rem;
  border: none;
  height: 1px;
  background: var(--line);
  position: relative;
}

.prose hr.divider::before {
  content: "✦";
  position: absolute;
  top: -0.6em;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 var(--space-3);
  color: var(--accent);
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Préserver le confort de lecture sur les écrans larges */
@media (min-width: 768px) {
  /* Pas d'indentation de première ligne : style éditorial moderne sur écran
     plutôt que classique d'imprimerie. Plus lisible pour la lecture en ligne. */
}

/* ===========================================================
   Eyebrow de section
   =========================================================== */

.section-eyebrow {
  text-align: center;
  font-family: var(--sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin-bottom: var(--space-4);
}

.section-title-center {
  text-align: center;
  font-family: var(--serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  margin-bottom: var(--space-7);
  letter-spacing: -0.01em;
  border: none;
  padding: 0;
}

.section-title-center.no-border {
  border: none;
}

/* ===========================================================
   Actions hero (boutons multiples)
   =========================================================== */

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===========================================================
   Grille de cartes de langue
   =========================================================== */

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.lang-card {
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  border-bottom: none;
  transition: all 0.2s ease;
  color: var(--ink);
}

.lang-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}

.lang-card-flag {
  font-size: 2rem;
  margin-bottom: var(--space-2);
  line-height: 1;
}

.lang-card-name {
  font-family: var(--serif);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.lang-card-link {
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--accent);
}

/* ===========================================================
   Préférences utilisateur — mouvement réduit
   =========================================================== */

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

/* ===========================================================
   Encadrés "exergue" pour citations, exemples, anecdotes
   (disponibles dans toutes les pages, pas seulement le lecteur)
   =========================================================== */

.exergue,
.prose .exergue {
  background: var(--paper-warm, #f3efe7);
  border-left: 2px solid var(--line, #d8d2c4);
  padding: var(--space-3) var(--space-4);
  margin: var(--space-4) 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95em;
  color: var(--ink-soft, #4a4540);
}

.exergue p:last-child,
.prose .exergue p:last-child {
  margin-bottom: 0;
}

.exergue-label {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

/* ===========================================================
   Formulaire de contact anti-spam
   =========================================================== */

.contact-form-wrapper {
  max-width: 32rem;
  margin: var(--space-4) auto;
  text-align: center;
}

.contact-form-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.contact-form-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.contact-form {
  margin-top: var(--space-4);
  padding: var(--space-5);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
}

.contact-form-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
  text-align: center;
}

.contact-form-field {
  margin-bottom: var(--space-3);
}

.contact-form-field label {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.contact-form-field input {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--serif);
  font-size: var(--text-base);
  color: var(--ink);
}

.contact-form-field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.contact-form-feedback {
  font-family: var(--sans);
  font-size: var(--text-sm);
  margin: var(--space-2) 0;
  min-height: 1.5em;
  color: var(--ink-soft);
}

.contact-form-feedback.error {
  color: var(--accent);
  font-style: italic;
}

.contact-form-actions {
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
  margin-top: var(--space-3);
}

.contact-form-actions button {
  padding: var(--space-2) var(--space-4);
  font-family: var(--sans);
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  transition: all 0.15s ease;
}

.contact-form-cancel:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form-submit {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-color: var(--ink) !important;
}

.contact-form-submit:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.contact-form-result {
  text-align: center;
  padding: var(--space-3) 0;
}

.contact-form-result p {
  font-family: var(--serif);
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}

.contact-form-email {
  font-family: var(--mono);
  font-size: var(--text-lg);
  color: var(--accent);
  padding: var(--space-3);
  background: var(--paper);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  margin: var(--space-3) 0;
  user-select: all;
  word-break: break-all;
}

.contact-form-result-hint {
  font-size: var(--text-sm);
  font-style: italic;
}

.contact-form-result-hint a {
  color: var(--accent);
}

/* Image email dans la section contact de la page auteur */
.contact-email-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: var(--space-5) auto var(--space-3);
  border-radius: var(--radius-md);
}

.contact-section {
  margin: var(--space-7) 0 var(--space-5);
}

/* Lien mentions légales dans le footer */
.footer-bottom-links {
  display: flex;
  gap: var(--space-3);
}

.footer-bottom-link {
  font-family: var(--sans);
  font-size: var(--text-xs);
  color: var(--ink-faint);
  border-bottom: none;
}

.footer-bottom-link:hover {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* ===========================================================
   MODULE GLOBAL — Contrôles de lecture (taille, mode sombre, épingle)
   Étendu depuis reader.css pour fonctionner partout sur le site.
   =========================================================== */

/* --- Bandeau de contrôles compact, intégré au header --- */
.site-controls {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: var(--space-3);
  padding-left: var(--space-3);
  border-left: 1px solid var(--line);
}

.site-control {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.78rem;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  padding: 0;
  line-height: 1;
}

.site-control:hover:not(:disabled) {
  background: var(--paper-warm);
  color: var(--accent);
  border-color: var(--accent);
}

.site-control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.site-control[aria-pressed="true"] {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

.site-control-text-small { font-size: 0.7rem; }
.site-control-text-big { font-size: 0.95rem; }

/* --- Taille de texte : 7 paliers, application via variables CSS --- */
/* On redéfinit les variables --text-* du <body> ; toute la typo en hérite,
   car les .prose p / h2 / h3 etc. utilisent var(--text-base), var(--text-lg)…
   On scale uniformément avec un facteur k, en gardant les ratios entre les tailles. */
body.text-size-0 {  /* 80 % */
  --text-xs: 0.62rem;  --text-sm: 0.74rem;   --text-base: 0.84rem;
  --text-lg: 0.96rem;  --text-xl: 1.16rem;   --text-2xl: 1.48rem;
  --text-3xl: 1.92rem; --text-4xl: 2.56rem;  --text-5xl: 3.36rem;
}
body.text-size-1 {  /* 90 % */
  --text-xs: 0.70rem;  --text-sm: 0.83rem;   --text-base: 0.95rem;
  --text-lg: 1.08rem;  --text-xl: 1.30rem;   --text-2xl: 1.66rem;
  --text-3xl: 2.16rem; --text-4xl: 2.88rem;  --text-5xl: 3.78rem;
}
/* text-size-2 = valeurs par défaut de :root, donc on les copie pour assurer
   l'override quand on revient d'un autre niveau */
body.text-size-2 {
  --text-xs: 0.78rem;  --text-sm: 0.92rem;   --text-base: 1.05rem;
  --text-lg: 1.20rem;  --text-xl: 1.45rem;   --text-2xl: 1.85rem;
  --text-3xl: 2.40rem; --text-4xl: 3.20rem;  --text-5xl: 4.20rem;
}
body.text-size-3 {  /* 115 % */
  --text-xs: 0.90rem;  --text-sm: 1.06rem;   --text-base: 1.21rem;
  --text-lg: 1.38rem;  --text-xl: 1.67rem;   --text-2xl: 2.13rem;
  --text-3xl: 2.76rem; --text-4xl: 3.68rem;  --text-5xl: 4.83rem;
}
body.text-size-4 {  /* 130 % */
  --text-xs: 1.01rem;  --text-sm: 1.20rem;   --text-base: 1.37rem;
  --text-lg: 1.56rem;  --text-xl: 1.89rem;   --text-2xl: 2.41rem;
  --text-3xl: 3.12rem; --text-4xl: 4.16rem;  --text-5xl: 5.46rem;
}
body.text-size-5 {  /* 145 % */
  --text-xs: 1.13rem;  --text-sm: 1.33rem;   --text-base: 1.52rem;
  --text-lg: 1.74rem;  --text-xl: 2.10rem;   --text-2xl: 2.68rem;
  --text-3xl: 3.48rem; --text-4xl: 4.64rem;  --text-5xl: 6.09rem;
}
body.text-size-6 {  /* 160 % */
  --text-xs: 1.25rem;  --text-sm: 1.47rem;   --text-base: 1.68rem;
  --text-lg: 1.92rem;  --text-xl: 2.32rem;   --text-2xl: 2.96rem;
  --text-3xl: 3.84rem; --text-4xl: 5.12rem;  --text-5xl: 6.72rem;
}

/* --- Mode sombre : palette douce (cohérente avec reader.css) --- */
/* Le secret : redéfinir les variables CSS — la cascade fait le reste. */
body.reader-dark {
  --paper: #1c1a17;
  --paper-soft: #252320;
  --paper-warm: #2c2924;
  --ink: #ece6da;
  --ink-soft: #b8b0a0;
  --ink-faint: #7a7368;
  --line: #3a352e;
  --line-soft: #2e2a25;
  --accent: #d4877a;
  --accent-soft: #e5a499;
  --shadow: rgba(0, 0, 0, 0.4);
}

/* Quelques rares ajustements pour des fonds spécifiques qui ne dérivent pas
   directement des variables (image, gradients fins). */
body.reader-dark .site-header {
  background: rgba(28, 26, 23, 0.95);
}
body.reader-dark .ornament,
body.reader-dark .divider {
  opacity: 0.5;
}

/* ===========================================================
   MODULE GLOBAL — Épinglage déplaçable du poème (partout)
   Repris de reader.css pour être disponible sur toutes les pages.
   =========================================================== */

.poem-pinned {
  position: fixed;
  top: 90px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 120px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(60, 40, 20, 0.18);
  z-index: 950;
  font-family: var(--serif);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.poem-pinned[hidden] { display: none; }

.poem-pinned-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  cursor: move;
  user-select: none;
}

.poem-pinned-drag-icon {
  color: var(--ink-faint);
  font-size: 1rem;
  letter-spacing: -2px;
}

.poem-pinned-title {
  flex: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
}

.poem-pinned-close {
  background: transparent;
  border: none;
  color: var(--ink-faint);
  font-size: 0.95rem;
  cursor: pointer;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.poem-pinned-close:hover {
  background: var(--paper-soft);
  color: var(--accent);
}

.poem-pinned-body {
  padding: var(--space-3) var(--space-4) var(--space-4);
  overflow-y: auto;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.poem-pinned-stanza {
  margin-bottom: var(--space-3);
}

.poem-pinned-stanza:last-child { margin-bottom: 0; }

/* Cacher le bouton flottant quand le poème est épinglé */
body.poem-is-pinned .poem-button { display: none; }

@media (max-width: 768px) {
  .poem-pinned {
    width: calc(100vw - 32px);
    right: 16px;
    top: 80px;
    max-height: 50vh;
  }
}

/* ===========================================================
   MODULE GLOBAL — Typographie v1 (bordeaux unifié)
   Trois types de guillemets stylisés via JS (TreeWalker).
   Reprend exactement les classes mm-* de methode-v1.html.
   =========================================================== */

/* === 1) Termes redéfinis par Michel Magnen — "…" (smart curly) === */
.prose .mm-term {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.94em;
  letter-spacing: 0.005em;
  color: var(--ink);
  background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(107, 31, 26, 0.07) 55%, rgba(107, 31, 26, 0.07) 95%, transparent 95%);
  padding: 0 0.18em;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.prose .mm-term:hover {
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(107, 31, 26, 0.12) 50%, rgba(107, 31, 26, 0.12) 95%, transparent 95%);
}
.prose .mm-term-quote {
  color: var(--ink-faint);
  font-weight: 400;
  margin: 0 0.04em;
}

/* === 2) „Correspondences" — pilule cliquable épinglant le poème === */
.prose .mm-poem-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32em;
  padding: 0.08em 0.55em 0.12em 0.5em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  background: rgba(107, 31, 26, 0.045);
  border: 1px solid rgba(107, 31, 26, 0.14);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  vertical-align: baseline;
  box-shadow: 0 1px 0 rgba(60, 40, 20, 0.02);
}
.prose .mm-poem-link::before {
  content: "\2726";
  font-style: normal;
  font-size: 0.78em;
  color: var(--accent);
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.2s ease;
  display: inline-block;
}
.prose .mm-poem-link:hover {
  background: rgba(107, 31, 26, 0.09);
  border-color: rgba(107, 31, 26, 0.28);
  color: var(--accent-soft);
  box-shadow: 0 2px 6px rgba(107, 31, 26, 0.10);
  transform: translateY(-1px);
}
.prose .mm-poem-link:hover::before {
  transform: rotate(72deg);
  opacity: 1;
}
.prose .mm-poem-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.prose .mm-poem-link.is-active {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.prose .mm-poem-link.is-active::before {
  color: var(--paper);
  opacity: 1;
}
/* Variante allégée dans un titre */
.prose h2 .mm-poem-link,
.prose h3 .mm-poem-link,
.prose h4 .mm-poem-link {
  font-size: 0.92em;
  padding: 0.04em 0.42em 0.06em 0.38em;
  vertical-align: baseline;
  font-style: italic;
}

/* === 2bis) „X" non-cliquable (autre que Correspondences) === */
/* Même apparence visuelle que mm-poem-link mais sans interactivité */
.prose .mm-poem-name {
  display: inline-block;
  padding: 0.04em 0.45em 0.08em 0.45em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  background: rgba(107, 31, 26, 0.045);
  border: 1px solid rgba(107, 31, 26, 0.14);
  border-radius: var(--radius-full);
  white-space: nowrap;
  vertical-align: baseline;
}

/* === 3) Citations d'auteurs — «…» === */
.prose .mm-cite {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  background: linear-gradient(180deg, rgba(74, 69, 64, 0.025) 0%, rgba(74, 69, 64, 0.045) 100%);
  padding: 0.05em 0.32em;
  border-radius: 2px;
  box-shadow: inset 0 -1px 0 rgba(74, 69, 64, 0.10);
  transition: background 0.18s ease;
}
.prose .mm-cite:hover {
  background: linear-gradient(180deg, rgba(74, 69, 64, 0.045) 0%, rgba(74, 69, 64, 0.075) 100%);
}
.prose .mm-cite-mark {
  color: var(--ink-faint);
  font-style: normal;
  font-weight: 400;
  margin: 0 0.06em;
  font-size: 0.95em;
}

/* Mode sombre : ajustements pour les trois familles */
body.reader-dark .prose .mm-term {
  background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(212, 135, 122, 0.12) 55%, rgba(212, 135, 122, 0.12) 95%, transparent 95%);
}
body.reader-dark .prose .mm-term:hover {
  background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(212, 135, 122, 0.20) 50%, rgba(212, 135, 122, 0.20) 95%, transparent 95%);
}
body.reader-dark .prose .mm-poem-link,
body.reader-dark .prose .mm-poem-name {
  background: rgba(212, 135, 122, 0.08);
  border-color: rgba(212, 135, 122, 0.25);
  color: var(--accent-soft);
}
body.reader-dark .prose .mm-poem-link:hover {
  background: rgba(212, 135, 122, 0.16);
  border-color: rgba(212, 135, 122, 0.45);
}
body.reader-dark .prose .mm-cite {
  background: linear-gradient(180deg, rgba(232, 227, 213, 0.04) 0%, rgba(232, 227, 213, 0.07) 100%);
  box-shadow: inset 0 -1px 0 rgba(232, 227, 213, 0.10);
}

/* Réduction d'animation */
@media (prefers-reduced-motion: reduce) {
  .prose .mm-poem-link,
  .prose .mm-poem-link::before,
  .prose .mm-term,
  .prose .mm-cite {
    transition: none;
  }
  .prose .mm-poem-link:hover {
    transform: none;
  }
}
