/* ==========================================================================
   france-russie2010.com — Affiche d'exposition museale
   CSS statique pur — palette 7 couleurs, 3 polices Google, tokens museum
   ========================================================================== */

/* ---------- TOKENS ------------------------------------------------------- */
:root {
  /* Palette */
  --encre-nuit: #14131A;
  --bordeaux-profond: #6B1F2B;
  --bordeaux-clair: #9B3A4A;
  --or-patine: #B8935A;
  --or-patine-clair: #D4B77E;
  --pierre-claire: #D9CFC0;
  --ivoire-parchemin: #F5EFE6;

  /* Derives opacite encre */
  --encre-80: rgba(20, 19, 26, 0.8);
  --encre-65: rgba(20, 19, 26, 0.65);
  --encre-40: rgba(20, 19, 26, 0.4);
  --encre-20: rgba(20, 19, 26, 0.2);
  --encre-10: rgba(20, 19, 26, 0.1);
  --encre-06: rgba(20, 19, 26, 0.06);

  /* Derives opacite ivoire */
  --ivoire-95: rgba(245, 239, 230, 0.95);
  --ivoire-75: rgba(245, 239, 230, 0.75);
  --ivoire-40: rgba(245, 239, 230, 0.4);

  /* Derives opacite or */
  --or-40: rgba(184, 147, 90, 0.4);
  --or-20: rgba(184, 147, 90, 0.2);

  /* Polices */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  /* Espacement */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Typo scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.75rem;
  --fs-5xl: 3.75rem;
  --fs-6xl: 5rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 500ms;

  /* Layout */
  --content-width: 72ch;
  --wide-width: 1280px;
  --max-width: 1440px;

  /* Radius */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;

  /* Ombre */
  --shadow-sm: 0 1px 2px var(--encre-06), 0 2px 4px var(--encre-06);
  --shadow-md: 0 2px 4px var(--encre-06), 0 6px 16px var(--encre-10);
  --shadow-lg: 0 4px 8px var(--encre-10), 0 16px 32px var(--encre-10);
  --shadow-card: 0 2px 4px rgba(107, 31, 43, 0.06), 0 12px 28px rgba(107, 31, 43, 0.12);
}

/* ---------- RESET -------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--encre-nuit);
  background-color: var(--ivoire-parchemin);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(184, 147, 90, 0.06), transparent 45%),
    radial-gradient(circle at 100% 90%, rgba(107, 31, 43, 0.04), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bordeaux-profond);
  text-decoration: underline;
  text-decoration-color: var(--or-40);
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease-out), text-decoration-color var(--t-fast) var(--ease-out);
}

a:hover, a:focus-visible {
  color: var(--bordeaux-clair);
  text-decoration-color: var(--or-patine);
}

button {
  font-family: inherit;
  cursor: pointer;
}

p { margin: 0 0 var(--s-4); }

ul, ol { padding-left: 1.4em; margin: 0 0 var(--s-4); }
li { margin-bottom: 0.4em; }

strong, b { font-weight: 600; color: var(--encre-nuit); }

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--or-40), transparent);
  margin: var(--s-7) 0;
}

blockquote {
  margin: var(--s-6) 0;
  padding: var(--s-4) var(--s-5) var(--s-4) var(--s-6);
  border-left: 3px solid var(--bordeaux-profond);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-xl);
  line-height: 1.5;
  color: var(--encre-80);
  background: var(--ivoire-95);
}

/* ---------- TYPO DISPLAY -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--encre-nuit);
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-top: var(--s-8); }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); margin-top: var(--s-6); font-weight: 500; }
h4 { font-size: var(--fs-xl); margin-top: var(--s-5); font-weight: 500; }

/* ---------- CONTAINER ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.container-wide {
  width: 100%;
  max-width: var(--wide-width);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.container-narrow {
  width: 100%;
  max-width: calc(var(--content-width) + 8rem);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

/* ---------- KICKER MUSEAL ------------------------------------------------- */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or-patine);
  padding: var(--s-1) var(--s-3);
  border: 1px solid var(--or-40);
  border-radius: var(--r-xs);
  margin-bottom: var(--s-3);
}

.kicker--bordeaux {
  color: var(--bordeaux-profond);
  border-color: rgba(107, 31, 43, 0.3);
}

.kicker--ivoire {
  color: var(--ivoire-parchemin);
  border-color: rgba(245, 239, 230, 0.4);
  background: rgba(20, 19, 26, 0.25);
}

/* ---------- CARTEL MUSEAL (sous H2) --------------------------------------- */
.cartel {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-4);
  margin: var(--s-5) 0 var(--s-6);
  background: var(--ivoire-95);
  border-left: 3px solid var(--or-patine);
  box-shadow: var(--shadow-sm);
}

.cartel__roman {
  font-family: var(--font-accent);
  font-size: var(--fs-2xl);
  font-style: italic;
  color: var(--bordeaux-profond);
  line-height: 1;
  font-weight: 500;
  min-width: 2.2ch;
}

.cartel__text {
  font-family: var(--font-accent);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--encre-80);
  margin: 0;
}

/* ---------- LETTRINE BORDEAUX (drop-cap) ---------------------------------- */
.lettrine::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  float: left;
  font-size: 3.6em;
  line-height: 0.88;
  padding: 0.05em 0.12em 0 0;
  margin-right: 0.08em;
  color: var(--ivoire-parchemin);
  background: var(--bordeaux-profond);
  border: 1px solid var(--or-patine);
  box-shadow: 0 2px 4px rgba(107, 31, 43, 0.2);
}

/* ---------- FILET DECORATIF ART NOUVEAU ----------------------------------- */
.filet {
  display: block;
  height: 24px;
  margin: var(--s-5) auto;
  opacity: 0.85;
  color: var(--or-patine);
}

.filet svg { height: 100%; width: auto; display: block; margin: 0 auto; }

/* ---------- BUTTON / CTA -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--bordeaux-profond);
  background: var(--bordeaux-profond);
  color: var(--ivoire-parchemin);
  border-radius: var(--r-sm);
  transition: transform var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
  box-shadow: 0 2px 6px rgba(107, 31, 43, 0.2);
}

.btn:hover, .btn:focus-visible {
  background: var(--bordeaux-clair);
  color: var(--ivoire-parchemin);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(107, 31, 43, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--bordeaux-profond);
}

.btn--outline:hover {
  background: var(--bordeaux-profond);
  color: var(--ivoire-parchemin);
}

.btn--gold {
  background: var(--or-patine);
  border-color: var(--or-patine);
  color: var(--encre-nuit);
}

.btn--gold:hover {
  background: var(--or-patine-clair);
  color: var(--encre-nuit);
}

/* ---------- HEADER / NAV -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivoire-95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--encre-10);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  max-width: var(--max-width);
  margin-inline: auto;
  gap: var(--s-5);
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--encre-nuit);
  line-height: 1;
}

.site-logo:hover { color: var(--encre-nuit); text-decoration: none; }

.site-logo__main {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  padding-bottom: var(--s-1);
  border-bottom: 2px solid var(--or-patine);
}

.site-logo__sub {
  font-family: var(--font-accent);
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--encre-65);
  margin-top: var(--s-1);
}

.site-nav {
  display: flex;
  gap: var(--s-5);
  font-size: var(--fs-sm);
}

.site-nav a {
  color: var(--encre-80);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: var(--s-2) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.site-nav a:hover, .site-nav a[aria-current='page'] {
  color: var(--bordeaux-profond);
  border-bottom-color: var(--or-patine);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--encre-20);
  border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-3);
  color: var(--encre-nuit);
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--ivoire-parchemin);
    flex-direction: column;
    padding: var(--s-5);
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--or-40);
    display: none;
  }
  .site-nav[data-open='true'] { display: flex; }
}

/* ---------- HERO ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(420px, 60vh, 620px);
  display: flex;
  align-items: flex-end;
  color: var(--ivoire-parchemin);
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 19, 26, 0.25) 0%, rgba(20, 19, 26, 0.55) 55%, rgba(20, 19, 26, 0.85) 100%),
    linear-gradient(90deg, rgba(107, 31, 43, 0.35) 0%, transparent 50%);
}

.hero__content {
  max-width: 860px;
  padding: var(--s-8) var(--s-5) var(--s-7);
  margin-inline: auto;
  width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--ivoire-parchemin);
  margin: var(--s-3) 0 var(--s-3);
}

.hero__lede {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2.3vw, 1.5rem);
  font-style: italic;
  max-width: 54ch;
  line-height: 1.5;
  color: rgba(245, 239, 230, 0.9);
  margin: 0 0 var(--s-5);
}

.hero__ctas {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-5);
}

/* ---------- ARTICLE BODY -------------------------------------------------- */
.article-header {
  padding: var(--s-8) 0 var(--s-6);
  text-align: center;
}

.article-header__kicker { margin-bottom: var(--s-4); }

.article-header__meta {
  font-size: var(--fs-sm);
  color: var(--encre-65);
  margin-top: var(--s-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-summary {
  max-width: calc(var(--content-width) + 6rem);
  margin: var(--s-5) auto var(--s-7);
  padding: var(--s-4) var(--s-6);
  border-left: 2px solid var(--or-patine);
  background: var(--ivoire-95);
  font-family: var(--font-accent);
  font-size: var(--fs-xl);
  font-style: italic;
  line-height: 1.55;
  color: var(--encre-80);
}

.article-body {
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 0 var(--s-5);
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--encre-80);
}

.article-body > p {
  margin-bottom: var(--s-5);
}

.article-body > figure {
  margin: var(--s-6) 0;
}

.article-body > figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
}

.article-body > figure figcaption {
  text-align: center;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--encre-65);
  margin-top: var(--s-3);
}

/* ---------- TOC STICKY NUMEROTATION ROMAINE ------------------------------- */
.toc {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  padding: var(--s-4) var(--s-4) var(--s-4) var(--s-6);
  border-left: 2px solid var(--or-patine);
  background: var(--ivoire-95);
}

.toc__title {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--bordeaux-profond);
  margin: 0 0 var(--s-3);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin-bottom: var(--s-2);
  line-height: 1.35;
}

.toc li::before {
  content: counter(toc, upper-roman) ". ";
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--or-patine);
  font-weight: 500;
  margin-right: var(--s-1);
}

.toc a {
  color: var(--encre-80);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.toc a:hover, .toc a[data-active='true'] {
  color: var(--bordeaux-profond);
  border-bottom-color: var(--or-40);
}

/* Default : single column centre (no TOC sidebar in use) */
.article-layout {
  max-width: calc(var(--content-width) + 4rem);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.article-layout > aside:empty { display: none; }

/* Activate 2-col grid only when the aside slot is actually filled */
@media (min-width: 1100px) {
  .article-layout:has(aside > *) {
    display: grid;
    grid-template-columns: minmax(0, var(--content-width)) 260px;
    gap: var(--s-7);
    max-width: 1160px;
    padding-inline: var(--s-5);
  }
  .article-layout:has(aside > *) .article-body { padding: 0; max-width: none; }
  .article-layout:has(aside > *) .toc {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

/* ---------- PULL QUOTE ---------------------------------------------------- */
.pullquote {
  margin: var(--s-7) 0;
  padding: var(--s-2) var(--s-6);
  border-left: 3px solid var(--bordeaux-profond);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  color: var(--encre-80);
}

.pullquote__attribution {
  display: block;
  margin-top: var(--s-3);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--encre-65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- FAQ ROSACE ---------------------------------------------------- */
.faq {
  margin: var(--s-8) auto 0;
  max-width: calc(var(--content-width) + 4rem);
  padding: 0 var(--s-5);
}

.faq__item {
  border-bottom: 1px solid var(--encre-10);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--encre-nuit);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__rosace {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--or-patine);
  transition: transform var(--t-base) var(--ease-out);
}

.faq__item[open] .faq__rosace { transform: rotate(45deg); color: var(--bordeaux-profond); }

.faq__answer {
  padding: 0 0 var(--s-5);
  color: var(--encre-80);
  line-height: 1.7;
}

/* ---------- CARDS EVENEMENTS (format affichette) -------------------------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
  margin: var(--s-7) 0;
}

.event-card {
  background: var(--ivoire-parchemin);
  border: 1px solid var(--encre-10);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--encre-nuit);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--encre-nuit);
}

.event-card__image {
  aspect-ratio: 3 / 2;
  width: 100%;
  overflow: hidden;
  background: var(--pierre-claire);
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}

.event-card:hover .event-card__image img {
  transform: scale(1.04);
}

.event-card__body {
  padding: var(--s-4) var(--s-5) var(--s-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.event-card__kicker {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--bordeaux-profond);
  letter-spacing: 0.03em;
}

.event-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--encre-nuit);
}

.event-card__meta {
  font-size: var(--fs-sm);
  color: var(--encre-65);
  margin-top: auto;
  padding-top: var(--s-2);
  border-top: 1px solid var(--encre-10);
}

/* ---------- FOOTER -------------------------------------------------------- */
.site-footer {
  background: var(--encre-nuit);
  color: rgba(245, 239, 230, 0.75);
  padding: var(--s-8) 0 var(--s-5);
  margin-top: var(--s-10);
  font-size: var(--fs-sm);
}

.site-footer a { color: var(--or-patine-clair); text-decoration: none; }
.site-footer a:hover { color: var(--ivoire-parchemin); text-decoration: underline; }

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-6);
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 var(--s-5);
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--ivoire-parchemin);
  margin: 0 0 var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid rgba(184, 147, 90, 0.3);
}

.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: var(--s-2); }

.site-footer__disclaimer {
  max-width: 70ch;
  margin: var(--s-7) auto 0;
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid rgba(184, 147, 90, 0.25);
  text-align: center;
  font-family: var(--font-accent);
  font-style: italic;
  line-height: 1.55;
  color: rgba(245, 239, 230, 0.6);
  font-size: var(--fs-sm);
}

.site-footer__bottom {
  text-align: center;
  padding: var(--s-4) var(--s-5) 0;
  font-size: var(--fs-xs);
  color: rgba(245, 239, 230, 0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- REVEAL ANIMATIONS (IntersectionObserver) ---------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: opacity, transform;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- UTILITIES ----------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-display { font-family: var(--font-display); }
.text-accent { font-family: var(--font-accent); font-style: italic; }

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

.section--alt {
  background: var(--pierre-claire);
}

.section--dark {
  background: var(--encre-nuit);
  color: var(--ivoire-parchemin);
}

.section--dark h1, .section--dark h2, .section--dark h3 {
  color: var(--ivoire-parchemin);
}

.section__title {
  text-align: center;
  margin-bottom: var(--s-6);
}

.section__title .kicker { margin-bottom: var(--s-3); }

/* ---------- BREADCRUMB ---------------------------------------------------- */
.breadcrumb {
  font-size: var(--fs-sm);
  color: var(--encre-65);
  padding: var(--s-4) 0;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: var(--encre-65);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--bordeaux-profond); }

.breadcrumb__sep {
  margin: 0 var(--s-2);
  color: var(--or-patine);
}

/* ---------- RELATED PAGES ------------------------------------------------- */
.related {
  margin: var(--s-9) 0 var(--s-7);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--encre-10);
}

.related__title {
  text-align: center;
  margin-bottom: var(--s-5);
}

/* ---------- 404 ---------------------------------------------------------- */
.notfound {
  text-align: center;
  padding: var(--s-10) var(--s-5);
}

.notfound__roman {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--bordeaux-profond);
  line-height: 1;
  margin: 0 0 var(--s-3);
}
