/* ==========================================================================
   Sejours Russie — Design Tokens « Wagon-lit & steppe »
   Stack : Astro 6 + CSS statique pur (aucun Tailwind)
   Version : 1.0 — 2026-04-17
   ========================================================================== */

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

/* ==========================================================================
   1. TOKENS CSS — palette, typographie, mesures, mouvement
   ========================================================================== */

:root {
  /* ---------- Palette « Wagon-lit & steppe » (7 couleurs + derives) ---------- */
  --bois-wagon:        #3D2817;
  --bois-sombre:       #2A1C0F;
  --bordeaux-velours:  #6B2020;
  --bordeaux-clair:    #9B3A3A;
  --or-vieilli:        #B8935A;
  --or-clair:          #D4B27A;
  --bleu-nuit-steppe:  #1A2B3C;
  --bleu-profond:      #0F1A26;
  --ivoire-linge:      #F2E9D8;
  --ivoire-clair:      #FAF4E6;
  --gris-pierre:       #7A7068;

  --nuit-80:   rgba(26, 43, 60, 0.80);
  --nuit-65:   rgba(26, 43, 60, 0.65);
  --nuit-40:   rgba(26, 43, 60, 0.40);
  --nuit-20:   rgba(26, 43, 60, 0.20);
  --nuit-10:   rgba(26, 43, 60, 0.10);
  --bois-85:   rgba(61, 40, 23, 0.85);
  --bois-40:   rgba(61, 40, 23, 0.40);
  --bois-10:   rgba(61, 40, 23, 0.10);
  --ivoire-95: rgba(242, 233, 216, 0.95);
  --ivoire-75: rgba(242, 233, 216, 0.75);
  --ivoire-40: rgba(242, 233, 216, 0.40);
  --or-40:     rgba(184, 147, 90, 0.40);
  --or-20:     rgba(184, 147, 90, 0.20);

  /* ---------- Polices (3 familles — Cormorant + Inter + Old Standard TT) ---------- */
  --ff-display: 'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --ff-body:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-accent:  'Old Standard TT', 'Cormorant Garamond', Georgia, serif;

  /* ---------- Echelle typographique fluide ---------- */
  --fs-micro:   0.6875rem;                                /* 11px */
  --fs-kicker:  clamp(0.75rem, 0.7vw + 0.6rem, 0.875rem);
  --fs-body:    clamp(0.9375rem, 0.3vw + 0.875rem, 1rem);
  --fs-lead:    clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  --fs-h3:      clamp(1.25rem, 0.6vw + 1.1rem, 1.5rem);
  --fs-h2:      clamp(1.75rem, 1.2vw + 1.45rem, 2.25rem);
  --fs-h1:      clamp(2.25rem, 3.5vw + 1.5rem, 4rem);
  --fs-hero:    clamp(2.75rem, 5vw + 1.5rem, 5rem);

  /* ---------- Mesures et espacement ---------- */
  --measure-article: 68ch;
  --measure-wide:    1280px;
  --measure-hero:    1440px;
  --gutter:          clamp(1rem, 4vw, 2rem);

  /* ---------- Transitions ---------- */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --dur-fast:   220ms;
  --dur:        500ms;
  --dur-slow:   900ms;

  /* ---------- Ombres editoriales ---------- */
  --shadow-card:  0 2px 6px rgba(26, 43, 60, 0.08), 0 12px 28px rgba(26, 43, 60, 0.10);
  --shadow-hover: 0 8px 18px rgba(107, 32, 32, 0.14), 0 22px 44px rgba(26, 43, 60, 0.20);
  --shadow-hero:  0 20px 60px rgba(15, 26, 38, 0.45);
}

/* ==========================================================================
   2. RESET & DEFAULTS
   ========================================================================== */

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

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--bois-wagon);
  background: var(--ivoire-linge);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

a {
  color: var(--bordeaux-velours);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--bordeaux-clair); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--bois-wagon);
  margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }

/* ---------- Focus accessible WCAG AA ---------- */
:focus-visible {
  outline: 2px solid var(--or-vieilli);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduced motion */
@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;
  }
}

/* ==========================================================================
   3. UTILITAIRES COMMUNS
   ========================================================================== */

.container {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--hero { max-width: var(--measure-hero); }
.container--article { max-width: var(--measure-article); }

.kicker {
  display: inline-block;
  font-family: var(--ff-accent);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or-vieilli);
}

.rule {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--or-vieilli);
  border: 0;
  margin: 1.25rem 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;
}

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

/* ---------- Grain overlay utility ---------- */
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ==========================================================================
   4. HEADER (navigation principale)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem var(--gutter);
  background: transparent;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.scrolled {
  background: var(--ivoire-95);
  padding: 0.75rem var(--gutter);
  box-shadow: 0 2px 12px rgba(26, 43, 60, 0.08);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ivoire-linge);
  transition: color var(--dur-fast) var(--ease);
}
.site-header.scrolled .site-header__brand,
.site-header--solid .site-header__brand { color: var(--bois-wagon); }

.site-header__logo {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.site-header__logo em { color: var(--or-vieilli); font-style: italic; }

.site-header__sub {
  font-family: var(--ff-accent);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or-vieilli);
  line-height: 1;
  display: none;
}
@media (min-width: 768px) {
  .site-header__sub { display: block; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__link {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivoire-linge);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
  position: relative;
}
.site-header.scrolled .site-nav__link,
.site-header--solid .site-nav__link { color: var(--bois-wagon); }
.site-nav__link:hover { color: var(--or-clair); }
.site-header.scrolled .site-nav__link:hover,
.site-header--solid .site-nav__link:hover { color: var(--bordeaux-velours); }

.site-nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--or-vieilli);
}

/* ---------- Hamburger mobile ---------- */
.nav-toggle {
  display: none;
  width: 32px; height: 32px;
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  z-index: 60;
}
.nav-toggle__bar {
  position: absolute;
  left: 4px;
  width: 24px; height: 1.5px;
  background: var(--ivoire-linge);
  transition: transform var(--dur-fast) var(--ease), top var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 10px; }
.nav-toggle__bar:nth-child(2) { top: 15px; }
.nav-toggle__bar:nth-child(3) { top: 20px; }
.site-header.scrolled .nav-toggle__bar,
.site-header--solid .nav-toggle__bar { background: var(--bois-wagon); }
body.nav-open .nav-toggle__bar { background: var(--bois-wagon); }
body.nav-open .nav-toggle__bar:nth-child(1) { top: 15px; transform: rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3) { top: 15px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(400px, 90vw);
    height: 100vh;
    background: var(--ivoire-linge);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    box-shadow: -10px 0 30px rgba(26, 43, 60, 0.2);
  }
  body.nav-open .site-nav { transform: translateX(0); }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .site-nav__link { color: var(--bois-wagon); font-size: 1.125rem; font-family: var(--ff-display); }
}

/* ==========================================================================
   5. HERO (home + article)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 5rem;
  overflow: hidden;
  isolation: isolate;
  color: var(--ivoire-linge);
  background: var(--bleu-profond);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.hero__bg--placeholder {
  background:
    radial-gradient(ellipse at 50% 15%, rgba(26, 43, 60, 0.25) 0%, rgba(26, 43, 60, 0.65) 45%, rgba(15, 26, 38, 0.85) 100%),
    radial-gradient(circle at 12% 18%, rgba(184, 147, 90, 0.28) 0%, rgba(184, 147, 90, 0) 38%),
    radial-gradient(ellipse at 50% 100%, rgba(61, 40, 23, 0.9) 0%, rgba(61, 40, 23, 0) 55%),
    linear-gradient(180deg, #0B1520 0%, #1A2B3C 45%, #25334A 65%, #1A2B3C 85%, #0F1A26 100%);
}

.hero::before {
  /* Overlay for text contrast */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 26, 38, 0.45) 0%, rgba(26, 43, 60, 0.35) 40%, rgba(61, 40, 23, 0.70) 100%);
}

.hero__content {
  position: relative;
  max-width: 920px;
  text-align: center;
  padding: 0 1rem;
  z-index: 2;
}

.hero__kicker {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal var(--dur) var(--ease) 200ms forwards;
}

.hero__rule {
  width: 60px;
  height: 1px;
  margin: 1.25rem auto 1.75rem;
  background: var(--or-vieilli);
  transform-origin: center;
  transform: scaleX(0);
  animation: grow var(--dur) var(--ease) 500ms forwards;
}

.hero__title {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ivoire-linge);
  margin: 0;
  opacity: 0;
  animation: reveal var(--dur-slow) var(--ease) 700ms forwards;
}
.hero__title em { font-style: italic; color: var(--bordeaux-clair); font-weight: 600; }

.hero__subtitle {
  font-family: var(--ff-body);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ivoire-75);
  margin: 1.75rem auto 0;
  max-width: 48ch;
  opacity: 0;
  animation: reveal var(--dur) var(--ease) 1000ms forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  opacity: 0;
  animation: reveal var(--dur) var(--ease) 1300ms forwards;
}

/* ---------- Hero article ---------- */
.hero--article {
  min-height: 60vh;
  padding: 8rem var(--gutter) 4rem;
}
.hero--article .hero__title { font-size: var(--fs-h1); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--ff-accent);
  font-size: var(--fs-kicker);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ivoire-75);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--ivoire-75); text-decoration: none; }
.breadcrumb a:hover { color: var(--or-vieilli); }
.breadcrumb .sep { margin: 0 0.5rem; color: var(--or-vieilli); }

/* ---------- Scroll indicator ---------- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivoire-75);
  opacity: 0;
  animation: reveal var(--dur) var(--ease) 1600ms forwards;
}
.scroll-indicator__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--or-vieilli) 0%, transparent 100%);
  animation: scrollPulse 2s var(--ease) infinite;
}

/* ==========================================================================
   6. BOUTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn::after {
  content: "→";
  font-family: var(--ff-accent);
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover::after { transform: translateX(4px); }

.btn--primary {
  background: var(--bordeaux-velours);
  color: var(--ivoire-linge);
  border-color: var(--bordeaux-clair);
}
.btn--primary:hover {
  background: var(--bordeaux-clair);
  color: var(--ivoire-linge);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(107, 32, 32, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--ivoire-linge);
  border: 0;
  border-bottom: 1px solid var(--or-vieilli);
  padding: 1rem 0.25rem;
}
.btn--ghost::after { color: var(--or-vieilli); }
.btn--ghost:hover {
  color: var(--or-clair);
  border-color: var(--or-clair);
  transform: none;
}

.btn--outline {
  background: transparent;
  color: var(--bois-wagon);
  border-color: var(--or-vieilli);
}
.btn--outline:hover {
  background: var(--or-vieilli);
  color: var(--ivoire-clair);
  border-color: var(--or-vieilli);
}

/* ==========================================================================
   7. ARTICLE BODY (guides + blog)
   ========================================================================== */

.article-summary {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--gris-pierre);
  max-width: var(--measure-article);
  margin: 2rem auto 3rem;
  padding: 0 var(--gutter);
  text-align: left;
  border-left: 2px solid var(--or-vieilli);
  padding-left: 1.5rem;
}

.article-body {
  max-width: var(--measure-article);
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--bois-wagon);
}
.article-body h2 {
  font-size: var(--fs-h2);
  margin: 3rem 0 1.25rem;
  line-height: 1.2;
  position: relative;
  padding-bottom: 0.5rem;
  scroll-margin-top: 100px;
}
.article-body h2::after {
  /* Rails SVG decoratifs (signature #2) */
  content: "";
  display: block;
  margin-top: 0.65rem;
  width: 80px;
  height: 8px;
  background:
    linear-gradient(180deg, transparent 0, transparent 3px, var(--or-vieilli) 3px, var(--or-vieilli) 4px, transparent 4px, transparent 100%),
    repeating-linear-gradient(90deg, var(--or-vieilli) 0 2px, transparent 2px 9px);
  background-size: 100% 100%, 100% 8px;
  background-position: 0 center, 0 0;
  background-repeat: no-repeat;
  transform-origin: left;
  animation: grow var(--dur-slow) var(--ease) both;
}
.article-body h3 {
  font-size: var(--fs-h3);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
  color: var(--bois-wagon);
}
.article-body h3::before {
  content: "§ ";
  color: var(--or-vieilli);
  font-family: var(--ff-accent);
  font-weight: 400;
}
.article-body p { margin: 0 0 1.2rem; }
.article-body p.lead::first-letter {
  /* Lettrine drop-cap (signature #7) */
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 4em;
  float: left;
  line-height: 0.85;
  padding: 0.25rem 0.5rem 0 0;
  color: var(--bordeaux-velours);
}
.article-body a { color: var(--bordeaux-velours); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--bordeaux-clair); }
.article-body img {
  margin: 2rem 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.article-body blockquote {
  /* Pull quote avec barre verticale bordeaux (signature #5) */
  margin: 2.5rem 0;
  padding: 0.5rem 0 0.5rem 2rem;
  border-left: 3px solid var(--bordeaux-velours);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--bois-wagon);
}
.article-body blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--ff-accent);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--or-vieilli);
}
.article-body ul, .article-body ol { margin: 0 0 1.5rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body ul li::marker { color: var(--or-vieilli); }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}
.article-body th, .article-body td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--or-40);
}
.article-body th {
  font-family: var(--ff-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--or-vieilli);
  background: rgba(184, 147, 90, 0.08);
  font-weight: 700;
}
.article-body code {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  background: var(--bois-10);
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  color: var(--bordeaux-velours);
}

/* ==========================================================================
   8. TOC (sidebar sticky)
   ========================================================================== */

.toc {
  position: sticky;
  top: 100px;
  max-width: 240px;
}
.toc__head {
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or-vieilli);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--or-vieilli);
  margin-bottom: 1rem;
}
.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0 0.55rem 0.8rem;
  border-left: 2px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.toc__item:hover { background: var(--or-20); }
.toc__num {
  font-family: var(--ff-accent);
  font-size: 1.25rem;
  color: var(--or-vieilli);
  line-height: 1;
  letter-spacing: 0.04em;
  transition: color var(--dur-fast) var(--ease);
}
.toc__label {
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--bois-wagon);
  text-decoration: none;
}
.toc__item.is-active {
  border-left-color: var(--bordeaux-velours);
  background: rgba(107, 32, 32, 0.06);
}
.toc__item.is-active .toc__num { color: var(--bordeaux-velours); }
.toc__item.is-active .toc__label { font-weight: 600; }

@media (max-width: 960px) {
  .toc {
    position: relative;
    top: auto;
    max-width: none;
    margin-bottom: 2rem;
    background: var(--ivoire-clair);
    border: 1px solid var(--or-40);
    padding: 1rem 1.25rem;
  }
}

/* ==========================================================================
   9. FAQ ACCORDEON (rosace polaire)
   ========================================================================== */

.faq {
  max-width: var(--measure-article);
  margin: 4rem auto;
  padding: 0 var(--gutter);
}
.faq__header { text-align: center; margin-bottom: 3rem; }
.faq__title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-h2);
  margin: 0.75rem 0 0;
  color: var(--bois-wagon);
}

.faq-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--or-40);
}
.faq-item {
  border-bottom: 1px solid var(--or-40);
  transition: background var(--dur-fast) var(--ease);
}
.faq-item:hover { background: var(--or-20); }
.faq-item.open { background: rgba(184, 147, 90, 0.08); }

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem 1.5rem 0.25rem;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--bois-wagon);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  transition: color var(--dur-fast) var(--ease);
}
.faq-question:hover,
.faq-item.open .faq-question { color: var(--bordeaux-velours); }

.faq-toggle {
  position: relative;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
}
.faq-toggle svg {
  width: 100%; height: 100%;
  color: var(--or-vieilli);
  transition: transform var(--dur) var(--ease), color var(--dur-fast) var(--ease);
}
.faq-item.open .faq-toggle svg {
  color: var(--bordeaux-velours);
  transform: rotate(45deg);
}
.faq-toggle .cross line {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.faq-toggle .rose-diag line {
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  transition: stroke-dashoffset var(--dur) var(--ease) 100ms;
}
.faq-item.open .faq-toggle .rose-diag line { stroke-dashoffset: 0; }
.faq-toggle .rose-ring {
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset var(--dur-slow) var(--ease) 150ms;
  opacity: 0.5;
}
.faq-item.open .faq-toggle .rose-ring { stroke-dashoffset: 0; }
.faq-toggle .rose-center {
  fill: currentColor;
  opacity: 0;
  transform-origin: 20px 20px;
  transition: opacity var(--dur-fast) var(--ease) 350ms, transform var(--dur-fast) var(--ease) 350ms;
  transform: scale(0.2);
}
.faq-item.open .faq-toggle .rose-center {
  opacity: 1;
  transform: scale(1);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer__inner { overflow: hidden; }
.faq-answer__content {
  padding: 0 3rem 1.75rem 0.25rem;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--dur) var(--ease) 100ms, transform var(--dur) var(--ease) 100ms;
}
.faq-item.open .faq-answer__content { opacity: 1; transform: translateY(0); }
.faq-answer__content p { margin: 0 0 0.75rem; }
.faq-answer__content p:last-child { margin-bottom: 0; }

@media (max-width: 620px) {
  .faq-question { font-size: 1.125rem; gap: 1rem; }
  .faq-answer__content { padding-right: 0; }
}

/* ==========================================================================
   10. CARDS EDITORIALES (ticket poincon pour itineraires, cards guides)
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem 2rem;
}

/* ---------- Card guide (pilier) ---------- */
.card-guide {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivoire-clair);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.card-guide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-guide__img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  background: var(--bois-sombre);
}
.card-guide__body { padding: 1.75rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.card-guide__kicker {
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--or-vieilli);
  margin: 0;
}
.card-guide__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--bois-wagon);
  margin: 0;
  transition: color var(--dur-fast) var(--ease);
}
.card-guide:hover .card-guide__title { color: var(--bordeaux-velours); }
.card-guide__excerpt {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--gris-pierre);
  margin: 0;
  flex: 1;
}

/* ---------- Card itineraire (ticket poincon) ---------- */
.card-ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivoire-clair);
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  box-shadow: var(--shadow-card);
  --notch-radius: 10px;
  --notch-offset: 220px;
  mask:
    radial-gradient(circle var(--notch-radius) at 0 var(--notch-offset), transparent 98%, black 100%),
    radial-gradient(circle var(--notch-radius) at 100% var(--notch-offset), transparent 98%, black 100%),
    linear-gradient(black, black);
  mask-composite: exclude, exclude, add;
  -webkit-mask-composite: xor, xor, add;
}
.card-ticket:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-hover);
}
.card-ticket__img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  background: var(--bois-sombre);
}
.card-ticket__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: var(--nuit-80);
  color: var(--or-clair);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--or-40);
  backdrop-filter: blur(6px);
}
.card-ticket::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  top: 220px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--or-40) 0 6px, transparent 6px 12px);
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   11. TIMELINE VERTICALE (pages itineraires)
   ========================================================================== */

.timeline {
  position: relative;
  max-width: 1060px;
  margin: 3rem auto 5rem;
  padding: 2rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--or-vieilli) 8%, var(--or-vieilli) 92%, transparent 100%);
  transform: translateX(-50%);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 2.25rem 0;
}
.step__node {
  position: relative;
  width: 40px; height: 40px;
  justify-self: center;
  z-index: 2;
}
.step__node::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: var(--or-vieilli);
  border-radius: 50%;
  border: 2px solid var(--ivoire-linge);
  box-shadow: 0 0 0 2px var(--or-vieilli);
}
.step__card {
  background: var(--ivoire-clair);
  border: 1px solid var(--or-40);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.step:nth-child(odd) .step__card { grid-column: 1; text-align: right; }
.step:nth-child(even) .step__card { grid-column: 3; text-align: left; }
.step__day {
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or-vieilli);
  font-weight: 700;
}
.step__title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--bois-wagon);
  margin: 0.35rem 0 0.4rem;
}

@media (max-width: 780px) {
  .timeline::before { left: 20px; }
  .step { grid-template-columns: 40px 1fr; gap: 1rem; }
  .step__node { grid-column: 1; }
  .step:nth-child(odd) .step__card,
  .step:nth-child(even) .step__card { grid-column: 2; text-align: left; }
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */

.site-footer {
  margin-top: 6rem;
  padding: 4rem var(--gutter) 2rem;
  background: var(--bois-wagon);
  color: var(--ivoire-75);
}
.site-footer__inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.site-footer__brand {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ivoire-linge);
  margin-bottom: 0.5rem;
  display: block;
}
.site-footer__brand em { color: var(--or-vieilli); }
.site-footer__tagline {
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or-vieilli);
  margin-bottom: 1rem;
}
.site-footer__col-title {
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or-vieilli);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--or-40);
  margin-bottom: 1rem;
  font-weight: 700;
}
.site-footer__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.9rem;
}
.site-footer__list a {
  color: var(--ivoire-75);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.site-footer__list a:hover { color: var(--or-clair); }

.site-footer__bottom {
  max-width: var(--measure-wide);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 233, 216, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ivoire-40);
}

@media (max-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__brand-col { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   13. ANIMATIONS KEYFRAMES
   ========================================================================== */

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ==========================================================================
   14. RELATED GRID (cross-linking en bas d'article)
   ========================================================================== */

.related {
  max-width: var(--measure-wide);
  margin: 5rem auto 2rem;
  padding: 0 var(--gutter);
}
.related__title {
  font-family: var(--ff-accent);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--or-vieilli);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--or-40);
  margin-bottom: 2rem;
  font-weight: 700;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ==========================================================================
   FIN
   ========================================================================== */
