/* =============================================================
   Ruslan — Magazine des echanges culturels France-Russie
   Design system "Bolchoi & Mariinski"
   Playfair Display (display) + Inter (body) + Lora italic (accent)
   ============================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;1,400;1,500;1,600&display=swap');

/* --- Design tokens --- */
:root {
  /* Palette */
  --rideau-bordeaux: #6B1E28;
  --bordeaux-clair: #8F3540;
  --or-patine: #B8935A;
  --or-chaud: #D4A574;
  --ivoire: #F5EFDC;
  --papier-ancien: #EBE1C9;
  --encre-nuit: #0F1419;
  --nuit-theatre: #1A2238;

  /* Opacites derivees */
  --encre-80: rgba(15, 20, 25, .8);
  --encre-65: rgba(15, 20, 25, .65);
  --encre-40: rgba(15, 20, 25, .4);
  --encre-20: rgba(15, 20, 25, .2);
  --encre-10: rgba(15, 20, 25, .1);
  --encre-06: rgba(15, 20, 25, .06);
  --ivoire-95: rgba(245, 239, 220, .95);
  --ivoire-75: rgba(245, 239, 220, .75);
  --ivoire-40: rgba(245, 239, 220, .4);
  --bordeaux-30: rgba(107, 30, 40, .3);
  --or-20: rgba(184, 147, 90, .2);

  /* Typographie */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Lora', Georgia, serif;

  /* Echelle typographique (clamp fluide) */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 0.95rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --fs-md: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --fs-lg: clamp(1.375rem, 1.2rem + 0.875vw, 1.625rem);
  --fs-xl: clamp(1.75rem, 1.4rem + 1.75vw, 2.25rem);
  --fs-2xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem);
  --fs-3xl: clamp(2.75rem, 2rem + 3.75vw, 4.5rem);

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 5rem;
  --sp-16: 7rem;
  --sp-20: 9rem;

  /* Containers */
  --container-sm: 720px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1320px;

  /* Motion */
  --ease-theatre: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 220ms;
  --dur-base: 400ms;
  --dur-slow: 600ms;
  --dur-curtain: 1500ms;

  /* Ombres */
  --shadow-soft: 0 2px 12px var(--encre-06), 0 1px 3px var(--encre-10);
  --shadow-lift: 0 12px 32px var(--encre-10), 0 4px 12px var(--encre-06);
  --shadow-deep: 0 24px 64px var(--encre-20), 0 8px 24px var(--encre-10);

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--encre-nuit);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  font-style: italic;
  color: var(--encre-40);
}

a {
  color: var(--rideau-bordeaux);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--bordeaux-30);
  transition: color var(--dur-fast) var(--ease-theatre),
              text-decoration-color var(--dur-fast) var(--ease-theatre);
}

a:hover {
  color: var(--bordeaux-clair);
  text-decoration-color: var(--rideau-bordeaux);
}

/* --- Typographie --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--encre-nuit);
  margin-bottom: var(--sp-4);
}

h1 { font-size: var(--fs-3xl); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: var(--fs-2xl); margin-top: var(--sp-10); }
h3 { font-size: var(--fs-xl); margin-top: var(--sp-7); font-weight: 600; }
h4 { font-size: var(--fs-lg); margin-top: var(--sp-6); font-weight: 600; }
h5 { font-size: var(--fs-md); font-weight: 600; }
h6 { font-size: var(--fs-base); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin-bottom: var(--sp-4); }

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

em, i { font-style: italic; font-family: var(--font-accent); color: var(--encre-80); }

blockquote {
  margin: var(--sp-7) 0;
  padding: var(--sp-5) var(--sp-6);
  border-left: 3px solid var(--or-patine);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--encre-80);
  background: var(--papier-ancien);
}

/* Listes editoriales */
ul, ol {
  padding-left: 1.5em;
  margin-bottom: var(--sp-4);
}
li { margin-bottom: var(--sp-2); }
li::marker { color: var(--or-patine); font-weight: 600; }

/* --- Container utility --- */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.container    { max-width: var(--container-lg); }
.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }

/* --- Utility : kickers --- */
.kicker {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  color: var(--or-patine);
  margin-bottom: var(--sp-3);
  display: inline-block;
}

.kicker-cyrillic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--or-chaud);
  text-transform: uppercase;
  font-size: var(--fs-sm);
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivoire-95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--encre-10);
  transition: box-shadow var(--dur-fast) var(--ease-theatre);
}
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: var(--sp-3) var(--sp-5);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--rideau-bordeaux);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}
.site-logo:hover { color: var(--bordeaux-clair); }
.site-logo__ornament { color: var(--or-patine); font-size: 1.2em; line-height: 0; }
.site-logo__baseline {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.7rem;
  color: var(--encre-65);
  letter-spacing: 0.04em;
  margin-top: 2px;
  font-weight: 400;
}

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

.site-nav__link {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--encre-80);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: var(--sp-2) 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease-theatre);
}
.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rideau-bordeaux);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-theatre);
}
.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--rideau-bordeaux);
}
.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--encre-20);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-size: 1.2rem;
  color: var(--encre-nuit);
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-nav__toggle { display: inline-flex; }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ivoire);
    border-bottom: 1px solid var(--encre-10);
    padding: var(--sp-4) var(--sp-5);
    gap: var(--sp-3);
    box-shadow: var(--shadow-lift);
  }
  .site-nav.is-open .site-nav__link { padding: var(--sp-2) 0; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: clamp(420px, 65vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ivoire);
  background: var(--nuit-theatre);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  filter: saturate(1.1) contrast(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 34, 56, 0.2) 0%, rgba(26, 34, 56, 0.5) 40%, rgba(15, 20, 25, 0.9) 100%),
    linear-gradient(90deg, var(--rideau-bordeaux) 0%, transparent 60%);
  opacity: 0.85;
}

.hero__curtain {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 140px;
  pointer-events: none;
  transform-origin: top center;
  animation: curtain-rise var(--dur-curtain) var(--ease-theatre) 200ms forwards;
  color: var(--rideau-bordeaux);
}

@keyframes curtain-rise {
  0% { transform: scaleY(1.5); opacity: 0.9; }
  100% { transform: scaleY(1); opacity: 1; }
}

.hero__inner {
  position: relative;
  z-index: 3;
  padding: var(--sp-16) var(--sp-5) var(--sp-12);
  max-width: var(--container-xl);
  width: 100%;
  margin: 0 auto;
}

.hero__content {
  max-width: 820px;
}

.hero__title {
  font-size: clamp(2.5rem, 2rem + 4vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ivoire);
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--ivoire-95);
  margin-bottom: var(--sp-6);
  max-width: 600px;
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-theatre),
              box-shadow var(--dur-fast) var(--ease-theatre),
              background-color var(--dur-fast) var(--ease-theatre);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--rideau-bordeaux);
  color: var(--ivoire);
  border-color: var(--rideau-bordeaux);
}
.btn-primary:hover { background: var(--bordeaux-clair); border-color: var(--bordeaux-clair); color: var(--ivoire); }

.btn-outline {
  background: transparent;
  color: var(--ivoire);
  border-color: var(--ivoire-75);
}
.btn-outline:hover { background: var(--ivoire); color: var(--rideau-bordeaux); border-color: var(--ivoire); }

.btn-ghost {
  background: transparent;
  color: var(--rideau-bordeaux);
  border-color: var(--or-20);
}
.btn-ghost:hover { background: var(--papier-ancien); border-color: var(--or-patine); }

/* --- Sections --- */
.section {
  padding: var(--sp-16) 0;
  position: relative;
}
.section-sm { padding: var(--sp-10) 0; }
.section-lg { padding: var(--sp-20) 0; }

.section-head {
  margin-bottom: var(--sp-10);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head__kicker {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--or-patine);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-3);
  display: inline-block;
}
.section-head__title {
  margin-top: 0;
  margin-bottom: var(--sp-4);
}
.section-head__lead {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--encre-65);
  line-height: 1.55;
}

.section-alt { background: var(--papier-ancien); }
.section-dark { background: var(--nuit-theatre); color: var(--ivoire); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--ivoire); }
.section-dark .section-head__lead { color: var(--ivoire-75); }

/* --- Grilles --- */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* Grille asymetrique piliers (pattern timetours) */
.grid-piliers {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(12, 1fr);
}
.grid-piliers .card { grid-column: span 3; }
.grid-piliers .card:nth-child(1) { grid-column: span 6; }
.grid-piliers .card:nth-child(2) { grid-column: span 6; }
.grid-piliers .card:nth-child(3),
.grid-piliers .card:nth-child(4),
.grid-piliers .card:nth-child(5) { grid-column: span 4; }
.grid-piliers .card:nth-child(6),
.grid-piliers .card:nth-child(7),
.grid-piliers .card:nth-child(8) { grid-column: span 4; }
@media (max-width: 900px) {
  .grid-piliers { grid-template-columns: 1fr 1fr; }
  .grid-piliers .card,
  .grid-piliers .card:nth-child(n) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .grid-piliers { grid-template-columns: 1fr; }
  .grid-piliers .card,
  .grid-piliers .card:nth-child(n) { grid-column: span 1; }
}

/* --- Cards "affiche de ballet" --- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivoire);
  border: 1px solid var(--encre-10);
  border-radius: var(--r-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease-theatre),
              box-shadow var(--dur-fast) var(--ease-theatre),
              border-color var(--dur-fast) var(--ease-theatre);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--or-20);
  color: inherit;
}

/* Coin plie "papier affiche" */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(225deg, var(--papier-ancien) 50%, transparent 50%);
  border-bottom: 1px solid var(--encre-10);
  border-left: 1px solid var(--encre-10);
  pointer-events: none;
  opacity: 0.8;
}

.card__image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--papier-ancien);
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-theatre);
}
.card:hover .card__image img { transform: scale(1.04); }

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

.card__kicker {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or-patine);
  margin-bottom: var(--sp-1);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--encre-nuit);
  line-height: 1.2;
  margin: 0 0 var(--sp-2);
  letter-spacing: -0.01em;
}

.card__excerpt {
  font-size: var(--fs-sm);
  color: var(--encre-80);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.card__meta {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--encre-65);
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--encre-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Card variant — pilier large */
.card-pilier-lg .card__image { aspect-ratio: 16 / 9; }
.card-pilier-lg .card__title { font-size: var(--fs-xl); }

/* --- Article layout --- */
.article {
  padding: var(--sp-10) 0 var(--sp-16);
  max-width: 760px;
  margin: 0 auto;
}
.article__breadcrumb {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--encre-65);
  margin-bottom: var(--sp-4);
}
.article__breadcrumb a { color: var(--encre-65); text-decoration: none; }
.article__breadcrumb a:hover { color: var(--rideau-bordeaux); }
.article__breadcrumb span { margin: 0 var(--sp-2); color: var(--or-patine); }

.article__kicker {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--or-patine);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
  display: inline-block;
}

.article__title {
  font-size: var(--fs-3xl);
  line-height: 1.05;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.025em;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--encre-65);
  margin-bottom: var(--sp-7);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--encre-10);
}
.article__meta-item { display: flex; align-items: center; gap: var(--sp-2); }

.article__hero {
  margin: var(--sp-7) -var(--sp-5) var(--sp-8);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--r-sm);
}
.article__hero img { width: 100%; height: 100%; object-fit: cover; }

.article__summary {
  margin: var(--sp-6) 0 var(--sp-8);
  padding: var(--sp-5) var(--sp-6);
  background: var(--papier-ancien);
  border-left: 3px solid var(--or-patine);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--encre-80);
}

/* TOC — numerotation romaine I. II. III. sticky desktop */
.article__toc {
  background: var(--ivoire);
  border: 1px solid var(--encre-10);
  border-radius: var(--r-sm);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
}
.article__toc h2 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--rideau-bordeaux);
  margin: 0 0 var(--sp-3);
  letter-spacing: 0.02em;
}
.article__toc ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
  counter-reset: toc;
}
.article__toc li {
  counter-increment: toc;
  padding: 0.35rem 0;
  padding-left: 2.5rem;
  position: relative;
  margin-bottom: 0;
}
.article__toc li::before {
  content: counter(toc, upper-roman) ".";
  position: absolute;
  left: 0;
  top: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--or-patine);
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  min-width: 2rem;
}
.article__toc a {
  text-decoration: none;
  color: var(--encre-80);
  font-size: var(--fs-sm);
}
.article__toc a:hover { color: var(--rideau-bordeaux); }

@media (min-width: 1200px) {
  .article-with-toc {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--sp-8);
    max-width: 1120px;
  }
  .article__toc {
    position: sticky;
    top: 90px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

/* Article body */
.article__body h2 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--or-20);
  color: var(--encre-nuit);
  letter-spacing: -0.01em;
}
.article__body h3 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-6);
  color: var(--rideau-bordeaux);
  font-weight: 600;
}
.article__body p {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--encre-80);
  margin-bottom: var(--sp-4);
}
.article__body img {
  margin: var(--sp-6) 0;
  border-radius: var(--r-sm);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Lettrine bordeaux — premier paragraphe */
.article__body > p:first-of-type::first-letter,
.article__body .dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  padding: 0.3rem 0.5rem 0 0;
  color: var(--ivoire);
  background: var(--rideau-bordeaux);
  margin-right: 0.5rem;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--or-patine);
}

.article__body ul,
.article__body ol {
  margin: var(--sp-4) 0;
  padding-left: 1.75rem;
}
.article__body li {
  margin-bottom: var(--sp-2);
  line-height: 1.6;
}

/* Pull quote */
.pullquote {
  margin: var(--sp-8) -var(--sp-4);
  padding: var(--sp-6) var(--sp-7);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--rideau-bordeaux);
  text-align: center;
  position: relative;
  border-top: 1px solid var(--or-20);
  border-bottom: 1px solid var(--or-20);
}
.pullquote::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  color: var(--or-patine);
  line-height: 0.5;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}
.pullquote__author {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--encre-65);
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- FAQ accordeon --- */
.faq {
  margin: var(--sp-8) 0;
  border-top: 1px solid var(--encre-10);
}
.faq__item {
  border-bottom: 1px solid var(--encre-10);
}
.faq__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-5) var(--sp-2);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--encre-nuit);
  cursor: pointer;
  line-height: 1.3;
}
.faq__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--or-patine);
  transition: transform var(--dur-base) var(--ease-theatre);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); color: var(--rideau-bordeaux); }
.faq__content {
  padding: 0 var(--sp-2) var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--encre-80);
}
.faq__trigger::-webkit-details-marker { display: none; }
.faq__trigger::marker { display: none; }

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: var(--sp-7);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--or-patine), var(--or-20));
}
.timeline__item {
  position: relative;
  padding-bottom: var(--sp-8);
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rideau-bordeaux);
  box-shadow: 0 0 0 4px var(--ivoire), 0 0 0 5px var(--or-patine);
}
.timeline__date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--rideau-bordeaux);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-2);
}
.timeline__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--encre-nuit);
  margin-bottom: var(--sp-2);
}
.timeline__body {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--encre-80);
}

/* --- Glossaire --- */
.glossaire {
  display: grid;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}
.glossaire__search {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--encre-20);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  background: var(--ivoire);
  color: var(--encre-nuit);
  transition: border-color var(--dur-fast);
}
.glossaire__search:focus { outline: none; border-color: var(--rideau-bordeaux); }

.glossaire__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.glossaire__table th,
.glossaire__table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--encre-10);
}
.glossaire__table th {
  background: var(--papier-ancien);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rideau-bordeaux);
}
.glossaire__table td.cyrillic {
  font-family: var(--font-accent);
  font-size: var(--fs-md);
  color: var(--rideau-bordeaux);
  font-weight: 500;
}
.glossaire__table td.translit {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--encre-65);
}

/* --- Annuaire / LocalBusiness --- */
.annuaire__map {
  height: 440px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin: var(--sp-6) 0;
  border: 1px solid var(--encre-10);
}
.annuaire__list { display: grid; gap: var(--sp-4); }
.annuaire__item {
  padding: var(--sp-5);
  background: var(--ivoire);
  border: 1px solid var(--encre-10);
  border-radius: var(--r-sm);
}
.annuaire__item h3 {
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-md);
  color: var(--rideau-bordeaux);
  border: none;
  padding: 0;
}
.annuaire__meta {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--encre-65);
  margin-bottom: var(--sp-2);
}

/* --- Related pages --- */
.related {
  margin: var(--sp-12) 0 var(--sp-7);
  padding-top: var(--sp-7);
  border-top: 1px solid var(--encre-10);
}
.related__title {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--or-patine);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-5);
}

/* --- Footer --- */
.site-footer {
  background: var(--nuit-theatre);
  color: var(--ivoire-75);
  padding: var(--sp-12) 0 var(--sp-6);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, var(--or-20) 0%, transparent 40%);
  opacity: 0.3;
  pointer-events: none;
}
.site-footer__inner {
  position: relative;
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: var(--sp-8);
}
.site-footer h3 {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--or-chaud);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.02em;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: var(--sp-2); font-size: var(--fs-sm); }
.site-footer a { color: var(--ivoire-75); text-decoration: none; transition: color var(--dur-fast); }
.site-footer a:hover { color: var(--or-chaud); }

.site-footer__brand {
  grid-column: 1 / -1;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--ivoire-40);
  margin-bottom: var(--sp-6);
}
@media (min-width: 900px) {
  .site-footer__brand { grid-column: span 2; border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
}
.site-footer__logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ivoire);
  margin-bottom: var(--sp-3);
}
.site-footer__tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--ivoire-75);
  line-height: 1.55;
  max-width: 340px;
}

.site-footer__copyright {
  position: relative;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--ivoire-40);
  font-size: var(--fs-xs);
  color: var(--ivoire-75);
  text-align: center;
  letter-spacing: 0.04em;
}

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-theatre),
              transform var(--dur-slow) var(--ease-theatre);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- Stats / highlights --- */
.stats {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: var(--sp-8) 0;
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--rideau-bordeaux);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--encre-65);
  margin-top: var(--sp-2);
}

/* --- Hover affiche (pour CTA sections archives) --- */
.affiche-cta {
  position: relative;
  padding: var(--sp-10) var(--sp-6);
  background: var(--nuit-theatre);
  color: var(--ivoire);
  text-align: center;
  overflow: hidden;
  border-radius: var(--r-md);
}
.affiche-cta__bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  object-fit: cover;
  z-index: 0;
}
.affiche-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(107, 30, 40, 0.65) 0%, rgba(26, 34, 56, 0.9) 100%);
  z-index: 1;
}
.affiche-cta > * { position: relative; z-index: 2; }
.affiche-cta h2 { color: var(--ivoire); }

/* --- Responsive tweaks --- */
@media (max-width: 640px) {
  .hero__inner { padding: var(--sp-12) var(--sp-4) var(--sp-10); }
  .article__title { font-size: clamp(1.75rem, 1.3rem + 3vw, 2.5rem); }
  .pullquote { margin: var(--sp-6) 0; padding: var(--sp-5); }
  .section { padding: var(--sp-10) 0; }
}

/* --- Utility helpers --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Horizontal rule ornemental */
hr.ornament {
  border: none;
  height: 24px;
  margin: var(--sp-8) auto;
  max-width: 160px;
  background:
    linear-gradient(90deg, transparent 0%, var(--or-patine) 50%, transparent 100%) center/100% 1px no-repeat,
    radial-gradient(circle, var(--or-patine) 3px, transparent 4px) center/12px 12px no-repeat;
}

/* Filigrane heraldique (fond de section) */
.filigrane {
  position: relative;
}
.filigrane::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='%23B8935A' opacity='0.06'%3E%3Cpath d='M100 20 L110 40 L130 35 L120 55 L140 60 L120 75 L135 95 L110 90 L115 115 L100 100 L85 115 L90 90 L65 95 L80 75 L60 60 L80 55 L70 35 L90 40 Z'/%3E%3C/svg%3E");
  background-size: 280px 280px;
  background-position: center;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.filigrane > * { position: relative; z-index: 1; }

/* Utility: visually hidden but scroll */
.hidden { display: none !important; }
