@font-face{
  font-family:"Sage";
  src:url("Fonts/sage.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
:root{ --sage-ink:#2E2318; }

/* --- Look titre Sage : unifie .chapter-title, .intro h1, .chapter-hero h1 --- */
.chapter-title,
.intro h1,
.chapter-hero h1{
  font-family:"Sage",'Fraunces',serif;
  font-weight:400;
  font-variation-settings:normal;
  letter-spacing:0;
  color:var(--sage-ink);
  text-shadow: 0 1px 0 rgba(255,255,255,.5), 0 3px 6px rgba(70,50,30,0.30);
}
.chapter-title .dot,
.intro h1 .dot,
.chapter-hero h1 .dot{ color:transparent; position:relative; text-shadow:none; }
.chapter-title .dot::before,
.intro h1 .dot::before,
.chapter-hero h1 .dot::before{
  content:""; position:absolute;
  left:0.02em; bottom:0.32em;
  width:0.18em; height:0.18em;
  border-radius:50%;
  background:var(--vermillion,#C8412C);
}

/* Pages chapitre : remonte le titre (reduit le padding-top du hero) */
.chapter-hero{ padding-top:calc(5vh + 2.4rem); }

/* Pages chapitre : ecart surtitre -> grand titre */
.chapter-hero .kicker{ margin-bottom:1.9rem; }

/* --- Palette centralisee : papier plus clair + or renforce (contraste) --- */
:root{
  --paper:#FAF4E7;
  --ch-intro:#FAF4E7; --ch-preface:#FAF4E7;
  --ch-1:#FAF4E7; --ch-2:#FAF4E7; --ch-3:#FAF4E7;
  --ch-4:#FAF4E7; --ch-5:#FAF4E7; --ch-6:#FAF4E7;
  --ch-zotero:#FAF4E7;
  --ink-soft:#332A1E;
  --gold:#9C7A3A;
  --gold-soft:#735836;
}

/* --- Tiroir TOC : soulignement anime au survol (repris d'index) --- */
aside.chapter-toc a{position:relative;transition:color .4s ease;font-size:.82rem;font-variation-settings:"opsz" 14,"wght" 500;text-transform:uppercase;letter-spacing:.16em}
aside.chapter-toc a::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:1.5px;background:var(--vermillion);transform:scaleX(0);transform-origin:left;transition:transform .4s ease}
aside.chapter-toc a:hover::after,aside.chapter-toc a.current::after{transform:scaleX(1)}
aside.chapter-toc a .rn{color:var(--vermillion);font-style:italic;font-variation-settings:"opsz" 14,"wght" 600}
