/* ============================================================
   RENCONTRES DE L'ÉVALUATION — Design System "TERRAIN"
   Cartographique & données de territoire
   IBM Plex Serif + Sans + Mono | Verts profonds + Lime + Ocre
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=IBM+Plex+Sans:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Palette principale */
  --vert-foret:   #1D3F22;
  --vert-champ:   #2E6B36;
  --lime-vivant:  #91C840;
  --ocre-terrain: #C97C20;
  --ivoire:       #F3F0E5;
  --ardoise:      #1A2B1C;
  --vert-pale:    #EAF2E5;
  --gris-terrain: #8A9B8C;

  /* Dérivés opacité */
  --foret-90:  rgba(29,63,34,0.9);
  --foret-12:  rgba(29,63,34,0.12);
  --foret-06:  rgba(29,63,34,0.06);
  --foret-04:  rgba(29,63,34,0.04);
  --ocre-15:   rgba(201,124,32,0.15);
  --ocre-08:   rgba(201,124,32,0.08);
  --lime-20:   rgba(145,200,64,0.20);
  --ardoise-80: rgba(26,43,28,0.80);

  /* Typographies */
  --ff-display: 'IBM Plex Serif', Georgia, serif;
  --ff-body:    'IBM Plex Sans', system-ui, sans-serif;
  --ff-mono:    'IBM Plex Mono', 'Courier New', monospace;

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

  /* Transitions */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur:      400ms;
  --dur-slow: 600ms;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--ivoire);
  color: var(--ardoise);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vert-champ); }

/* ── BANDE SWATCH 6px (signature 8) ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--vert-foret) 0 16.66%,
    var(--vert-champ) 16.66% 33.33%,
    var(--lime-vivant) 33.33% 50%,
    var(--ocre-terrain) 50% 66.66%,
    var(--ivoire) 66.66% 83.33%,
    var(--ardoise) 83.33% 100%
  );
  z-index: 9999;
}

/* ── TOPOGRAPHIC SVG BACKGROUND (signature 1) ── */
.topo-bg {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Cellipse cx='200' cy='150' rx='180' ry='120' fill='none' stroke='%232E6B36' stroke-width='0.6' stroke-opacity='0.18'/%3E%3Cellipse cx='200' cy='150' rx='145' ry='90' fill='none' stroke='%232E6B36' stroke-width='0.6' stroke-opacity='0.15'/%3E%3Cellipse cx='200' cy='150' rx='110' ry='62' fill='none' stroke='%232E6B36' stroke-width='0.7' stroke-opacity='0.13'/%3E%3Cellipse cx='200' cy='150' rx='75' ry='38' fill='none' stroke='%232E6B36' stroke-width='0.8' stroke-opacity='0.11'/%3E%3Cellipse cx='200' cy='150' rx='42' ry='20' fill='none' stroke='%232E6B36' stroke-width='1' stroke-opacity='0.10'/%3E%3Cline x1='0' y1='50' x2='400' y2='50' stroke='%232E6B36' stroke-width='0.4' stroke-opacity='0.08'/%3E%3Cline x1='0' y1='100' x2='400' y2='100' stroke='%232E6B36' stroke-width='0.4' stroke-opacity='0.08'/%3E%3Cline x1='0' y1='200' x2='400' y2='200' stroke='%232E6B36' stroke-width='0.4' stroke-opacity='0.08'/%3E%3Cline x1='0' y1='250' x2='400' y2='250' stroke='%232E6B36' stroke-width='0.4' stroke-opacity='0.08'/%3E%3Cline x1='100' y1='0' x2='100' y2='300' stroke='%232E6B36' stroke-width='0.4' stroke-opacity='0.08'/%3E%3Cline x1='200' y1='0' x2='200' y2='300' stroke='%232E6B36' stroke-width='0.4' stroke-opacity='0.08'/%3E%3Cline x1='300' y1='0' x2='300' y2='300' stroke='%232E6B36' stroke-width='0.4' stroke-opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 400px 300px;
  pointer-events: none;
  z-index: 0;
}

/* ── GRID COORDS (signature 2) ── */
.grid-coords {
  background-image:
    linear-gradient(var(--foret-04) 1px, transparent 1px),
    linear-gradient(90deg, var(--foret-04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── HEADER ── */
.site-header {
  position: fixed; top: 5px; left: 0; right: 0; z-index: 100;
  background: rgba(243,240,229,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--foret-12);
  transition: box-shadow var(--dur-fast) ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.header-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
  height: 60px;
}

/* Logo (signature 7) */
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--vert-foret);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.logo-mark::before {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.30);
}
.logo-mark::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.50);
}
.logo-dot {
  width: 5px; height: 5px;
  background: var(--lime-vivant);
  border-radius: 50%;
  position: relative; z-index: 1;
}
.logo-text {
  font-family: var(--ff-display);
  font-size: 0.92rem; font-weight: 600;
  color: var(--vert-foret);
  line-height: 1.2;
}
.logo-sub {
  font-family: var(--ff-mono);
  font-size: 0.60rem; font-weight: 400;
  color: var(--gris-terrain);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block; margin-top: 1px;
}

/* Navigation */
.site-nav { display: flex; gap: 0.15rem; align-items: center; flex: 1; }
.site-nav a {
  font-family: var(--ff-body);
  font-size: 0.82rem; font-weight: 500;
  color: var(--ardoise);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  transition: background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}
.site-nav a:hover { background: var(--foret-06); color: var(--vert-foret); }
.site-nav a.active { color: var(--vert-foret); }

.nav-cta {
  margin-left: auto !important;
  background: var(--vert-foret) !important;
  color: var(--lime-vivant) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
}
.nav-cta:hover { background: var(--vert-champ) !important; color: #fff !important; }

/* Hamburger mobile */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ardoise); margin: 4px 0;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; flex-direction: column; }
  .site-nav {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--ivoire);
    border-bottom: 1px solid var(--foret-12);
    flex-direction: column; align-items: flex-start;
    padding: 1rem var(--gutter); gap: 0.25rem;
  }
  .site-nav a { width: 100%; padding: 0.5rem 0.75rem; }
  .nav-cta { margin-left: 0 !important; }
  body.nav-open .site-nav { display: flex; }
  body.nav-open .nav-toggle span:first-child { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span:last-child { transform: translateY(-6px) rotate(-45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--vert-foret);
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: 65px;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ardoise-80) 0%, transparent 60%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: clamp(3rem,8vh,5rem) var(--gutter);
  width: 100%;
}

/* Hero home */
.hero-home .hero-inner { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

.hero-kicker {
  font-family: var(--ff-mono);
  font-size: 0.72rem; font-weight: 500;
  color: var(--lime-vivant);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-kicker::before {
  content: ''; display: block;
  width: 32px; height: 1px;
  background: var(--lime-vivant);
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 780px;
}
.hero-chapeau {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  line-height: 1.65;
}

/* Hero stats (signature 9) */
.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 0.5rem;
}
.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-stat-n {
  font-family: var(--ff-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--lime-vivant);
  line-height: 1;
}
.hero-stat-l {
  font-family: var(--ff-mono);
  font-size: 0.62rem; font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

/* Sparkline simple (signature 12) */
.sparkline {
  display: flex; align-items: flex-end; gap: 2px;
  height: 20px;
}
.sparkline span {
  width: 4px;
  background: var(--lime-vivant);
  border-radius: 1px;
  opacity: 0.7;
  transition: opacity var(--dur-fast);
}
.sparkline span:last-child { opacity: 1; }

.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.hero-cta-row a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-body); font-size: 0.88rem; font-weight: 600;
  padding: 0.65rem 1.4rem; border-radius: 4px;
  text-decoration: none;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.hero-cta-row a:hover { transform: translateY(-1px); }
.cta-primary { background: var(--lime-vivant); color: var(--ardoise); }
.cta-primary:hover { background: #a0d84c; color: var(--ardoise); }
.cta-secondary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.30); }
.cta-secondary:hover { background: rgba(255,255,255,0.20); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: 0.58rem; font-weight: 500;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.50), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* Hero article (non-home) */
.hero-article { min-height: 50vh; }
.hero-article .hero-inner { padding-bottom: 3rem; }
.hero-breadcrumb {
  font-family: var(--ff-mono);
  font-size: 0.70rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.hero-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.hero-breadcrumb span { color: rgba(255,255,255,0.35); }
.hero-meta {
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  margin-top: 1.25rem;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

/* Badges catégorie (signature 11) */
.badge {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.60rem; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  background: var(--lime-vivant);
  color: var(--ardoise);
}
.badge-entretien { background: var(--ocre-terrain); color: #fff; }
.badge-analyse { background: var(--vert-foret); color: var(--lime-vivant); }

/* ── LAYOUT PRINCIPAL ── */
.page-container {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── SECTION INTRO ÉDITORIALE ── */
.section-intro {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--ivoire);
  position: relative;
}
.section-intro.grid-coords { }

.section-intro-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .section-intro-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

.section-kicker {
  font-family: var(--ff-mono);
  font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lime-vivant);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.75rem;
}
.section-kicker::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 0.75rem; height: 1px;
  background: var(--lime-vivant);
}

.section-intro-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--gris-terrain);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-intro-n {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--vert-foret);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-intro-body {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  color: var(--ardoise);
  line-height: 1.75;
  max-width: 640px;
}

/* ── SECTION GUIDES (grille asymétrique) ── */
.section-guides {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--vert-pale);
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--vert-foret);
  margin-bottom: 0.5rem;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 1024px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .guides-grid { grid-template-columns: 1fr; } }

/* ── CARD GUIDE ── */
.guide-card {
  background: #fff;
  border: 1px solid var(--foret-12);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.09); }
.guide-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--lime-vivant);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.guide-card:hover::after { transform: scaleX(1); }
.guide-card-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.guide-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.guide-card-n {
  font-family: var(--ff-mono);
  font-size: 0.65rem; font-weight: 500;
  color: var(--lime-vivant);
  letter-spacing: 0.10em;
}
.guide-card-title {
  font-family: var(--ff-display);
  font-size: 1rem; font-weight: 600;
  color: var(--ardoise);
  line-height: 1.35;
}
.guide-card-desc {
  font-family: var(--ff-body);
  font-size: 0.84rem;
  color: var(--gris-terrain);
  line-height: 1.55;
  flex: 1;
}

/* Barre progression (signature 5) */
.data-bar {
  display: flex; flex-direction: column; gap: 0.3rem;
  margin-top: auto; padding-top: 0.75rem;
  border-top: 1px solid var(--foret-06);
}
.data-bar-label {
  font-family: var(--ff-mono);
  font-size: 0.60rem; color: var(--gris-terrain);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.data-bar-track {
  height: 3px;
  background: var(--foret-06);
  border-radius: 2px;
  overflow: hidden;
}
.data-bar-fill {
  height: 100%;
  background: var(--lime-vivant);
  border-radius: 2px;
}

/* ── SECTION BLOG ── */
.section-blog {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--ivoire);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── CARD BLOG ── */
.blog-card {
  background: #fff;
  border: 1px solid var(--foret-12);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.09); }
.blog-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--lime-vivant);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.blog-card:hover::after { transform: scaleX(1); }
.blog-card-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-card-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--ff-mono);
  font-size: 0.62rem; color: var(--gris-terrain);
  letter-spacing: 0.06em;
}
.blog-card-title {
  font-family: var(--ff-display);
  font-size: 0.97rem; font-weight: 600;
  color: var(--ardoise); line-height: 1.35;
}
.blog-card-excerpt {
  font-family: var(--ff-body);
  font-size: 0.84rem; color: var(--gris-terrain);
  line-height: 1.55; flex: 1;
}
.blog-card-read-more {
  font-family: var(--ff-mono);
  font-size: 0.65rem; font-weight: 500;
  color: var(--vert-champ);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ── SECTION IMMERSIVE ── */
.section-immersive {
  position: relative;
  min-height: 480px;
  background: var(--vert-foret);
  display: flex; align-items: center;
  overflow: hidden;
}
.section-immersive .hero-img { opacity: 0.30; }
.section-immersive .hero-overlay {
  background: linear-gradient(135deg, var(--ardoise-80) 0%, rgba(45,107,54,0.75) 100%);
}
.section-immersive-inner {
  position: relative; z-index: 2;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: clamp(3rem, 6vh, 5rem) var(--gutter);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
@media (max-width: 768px) { .section-immersive-inner { grid-template-columns: 1fr; gap: 2rem; } }
.section-immersive h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700; color: #fff; line-height: 1.2;
}
.section-immersive p {
  font-family: var(--ff-body);
  font-size: 1rem; color: rgba(255,255,255,0.80);
  line-height: 1.7; margin-top: 1rem;
}
.section-immersive .cta-primary { margin-top: 1.5rem; display: inline-flex; }

/* ── ARTICLE LAYOUT ── */
.article-page {
  padding: clamp(2rem, 5vh, 4rem) 0 5rem;
  background: var(--ivoire);
}
.article-container {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .article-container { grid-template-columns: 1fr; } }

/* TOC sticky (signature desktop) */
.toc-aside {
  position: sticky; top: 90px;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
}
.toc-aside h3 {
  font-family: var(--ff-mono);
  font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gris-terrain);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--foret-12);
}
.toc-aside ul { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.toc-aside li a {
  display: block; padding: 0.25rem 0.5rem;
  color: var(--gris-terrain);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
  line-height: 1.45;
}
.toc-aside li a:hover, .toc-aside li a.active {
  color: var(--vert-foret);
  border-left-color: var(--lime-vivant);
}
@media (max-width: 900px) { .toc-aside { display: none; } }

/* Article summary (chapeau) */
.article-summary {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gris-terrain);
  line-height: 1.65;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--lime-vivant);
  background: var(--foret-04);
  margin-bottom: 2.5rem;
  border-radius: 0 4px 4px 0;
}

/* Article body */
.article-body {
  font-family: var(--ff-body);
  font-size: 1.025rem;
  line-height: 1.80;
  color: var(--ardoise);
  max-width: var(--measure-article);
}
.article-body h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--vert-foret);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--foret-12);
}
.article-body h3 {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ardoise);
  margin: 1.75rem 0 0.75rem;
}
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol {
  margin: 0 0 1.2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.article-body li::marker { color: var(--lime-vivant); }
.article-body strong { color: var(--vert-foret); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body a { color: var(--vert-champ); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--vert-foret); }
.article-body blockquote {
  border-left: 3px solid var(--ocre-terrain);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--ocre-08);
  border-radius: 0 4px 4px 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ardoise);
}

/* Lettrine premier paragraphe */
.article-body > p:first-of-type::first-letter {
  font-family: var(--ff-display);
  font-size: 3.2em; font-weight: 700;
  float: left; line-height: 0.80;
  margin: 0.08em 0.08em 0 0;
  color: var(--vert-foret);
}

/* Image dans le corps */
.article-body img {
  width: 100%; border-radius: 4px;
  margin: 2rem 0; box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.article-body .image-caption {
  font-family: var(--ff-mono);
  font-size: 0.68rem; color: var(--gris-terrain);
  text-align: center; margin-top: -1.5rem; margin-bottom: 2rem;
  letter-spacing: 0.04em;
}

/* ── KICKER (signature 3) ── */
.kicker {
  font-family: var(--ff-mono);
  font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--vert-champ);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.5rem;
  display: inline-flex; align-items: center;
}
.kicker::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 0.75rem; height: 1px;
  background: currentColor;
}

/* Kicker interview (ocre) */
.kicker-entretien { color: var(--ocre-terrain); }

/* ── FAQ ACCORDÉON ── */
.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--foret-12);
}
.faq-section h2 {
  font-family: var(--ff-display);
  font-size: 1.4rem; font-weight: 600;
  color: var(--vert-foret);
  margin-bottom: 1.5rem;
}
.faq-item {
  border-bottom: 1px solid var(--foret-12);
}
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0;
  text-align: left;
  gap: 1rem;
}
.faq-question-text {
  font-family: var(--ff-body);
  font-size: 1rem; font-weight: 500;
  color: var(--ardoise); line-height: 1.45;
}
.faq-icon {
  font-family: var(--ff-mono);
  font-size: 1.2rem; font-weight: 300;
  color: var(--gris-terrain);
  flex-shrink: 0;
  transition: transform var(--dur-fast);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--gris-terrain);
  line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur) var(--ease), padding var(--dur-fast);
  padding-bottom: 0;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

/* ── RELATED ARTICLES/PAGES ── */
.related-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--foret-12);
}
.related-section h2 {
  font-family: var(--ff-mono);
  font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gris-terrain);
  margin-bottom: 1.25rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.related-card {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1rem 1.25rem;
  background: var(--foret-04);
  border: 1px solid var(--foret-12);
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.related-card:hover { background: var(--foret-06); border-color: var(--vert-champ); }
.related-card-cat {
  font-family: var(--ff-mono);
  font-size: 0.60rem; color: var(--lime-vivant);
  text-transform: uppercase; letter-spacing: 0.10em;
}
.related-card-title {
  font-family: var(--ff-display);
  font-size: 0.92rem; font-weight: 600;
  color: var(--ardoise); line-height: 1.35;
}

/* ── THÈMES PAGE ── */
.themes-page { padding: clamp(2.5rem, 5vh, 4rem) 0 5rem; background: var(--ivoire); }
.themes-header { margin-bottom: 3rem; }
.themes-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  color: var(--vert-foret); line-height: 1.2;
}
.themes-header p { font-size: 1.05rem; color: var(--gris-terrain); max-width: 640px; margin-top: 0.75rem; }
.themes-nav {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.themes-nav a {
  font-family: var(--ff-mono);
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.10em;
  padding: 0.4rem 1rem;
  border: 1px solid var(--foret-12);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ardoise);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.themes-nav a:hover, .themes-nav a.active {
  background: var(--vert-foret); color: var(--lime-vivant); border-color: var(--vert-foret);
}

/* Numérotation thèmes (signature 4) */
.theme-number {
  font-family: var(--ff-mono);
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 500;
  color: var(--foret-12);
  line-height: 1;
  user-select: none;
}

/* ── BLOG LISTING ── */
.blog-listing { padding: clamp(2.5rem, 5vh, 4rem) 0 5rem; background: var(--ivoire); }
.blog-listing-header { margin-bottom: 2.5rem; }
.blog-listing-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700;
  color: var(--vert-foret);
}
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .blog-listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-listing-grid { grid-template-columns: 1fr; } }

/* ── PAGES UTILITAIRES ── */
.utility-page { padding: clamp(2.5rem, 5vh, 4rem) 0 5rem; background: var(--ivoire); }
.utility-header { margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--foret-12); }
.utility-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700;
  color: var(--vert-foret);
}
.utility-body {
  font-family: var(--ff-body);
  font-size: 1rem; line-height: 1.80;
  color: var(--ardoise); max-width: var(--measure-article);
}
.utility-body h2 {
  font-family: var(--ff-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--vert-foret);
  margin: 2rem 0 0.75rem;
}
.utility-body p { margin-bottom: 1rem; }
.utility-body a { color: var(--vert-champ); }

/* ── FORMULAIRE CONTACT ── */
.contact-form { max-width: 560px; margin-top: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label {
  font-family: var(--ff-mono);
  font-size: 0.70rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--gris-terrain);
}
.form-group input, .form-group textarea, .form-group select {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--foret-12);
  border-radius: 4px;
  background: #fff; color: var(--ardoise);
  transition: border-color var(--dur-fast);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--vert-champ);
  box-shadow: 0 0 0 3px var(--lime-20);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit {
  font-family: var(--ff-body); font-size: 0.9rem; font-weight: 600;
  padding: 0.7rem 1.75rem;
  background: var(--vert-foret); color: var(--lime-vivant);
  border: none; border-radius: 4px; cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.form-submit:hover { background: var(--vert-champ); transform: translateY(-1px); }

/* ── PAGE 404 ── */
.page-404 {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--vert-foret);
  position: relative; overflow: hidden;
}
.page-404-inner {
  position: relative; z-index: 2; text-align: center;
  padding: 3rem var(--gutter);
}
.page-404-code {
  font-family: var(--ff-mono);
  font-size: clamp(4rem, 15vw, 10rem); font-weight: 500;
  color: var(--foret-12);
  line-height: 1;
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  white-space: nowrap;
}
.page-404-content { position: relative; z-index: 1; }
.page-404 h1 {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700;
  color: #fff; margin-bottom: 1rem;
}
.page-404 p { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.page-404 .cta-primary { margin: 0 0.5rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--vert-foret);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
  position: relative; overflow: hidden;
}
.footer-inner {
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  font-size: 0.88rem; line-height: 1.65;
  color: rgba(255,255,255,0.60); margin-top: 1rem;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--lime-vivant);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col ul li a {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
  padding-top: 1.5rem;
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.06em;
}

/* Coordonnées géo footer (signature 10) */
.footer-coords {
  font-family: var(--ff-mono);
  font-size: 0.60rem;
  color: rgba(255,255,255,0.30);
  letter-spacing: 0.08em;
}

/* ── PLAN DU SITE ── */
.sitemap-section { margin-bottom: 2.5rem; }
.sitemap-section h2 {
  font-family: var(--ff-display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--vert-foret); margin-bottom: 1rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--foret-12);
}
.sitemap-section ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.sitemap-section ul li a {
  font-family: var(--ff-body); font-size: 0.95rem;
  color: var(--vert-champ); text-decoration: none;
}
.sitemap-section ul li a:hover { color: var(--vert-foret); text-decoration: underline; }

/* ── ANIMATIONS REVEAL ── */
.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); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ── UTILITIES ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.text-lime { color: var(--lime-vivant); }
.text-ocre { color: var(--ocre-terrain); }

/* Section spacer */
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 0;
}
.section-header-link {
  font-family: var(--ff-mono);
  font-size: 0.70rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--vert-champ);
  text-decoration: none;
  display: flex; align-items: center; gap: 0.4rem;
}
.section-header-link:hover { color: var(--vert-foret); }
