
/* ============================================================
   NYONS-INFO.FR — Design System "Lavande & Terre chaude"
   Palette inspirée des champs de lavande des Baronnies,
   de la pierre rosée et des touches de miel provençal.
   ============================================================ */

:root {
  /* — Lavande palette (primaire) — */
  --olive-verte:    #6b5b95;   /* lavande profonde, champ en fleur */
  --olive-sombre:   #3f356b;   /* violet nuit, crépuscule */
  --olive-noire:    #3d2c52;   /* prune lumineuse, violet profond */
  --olive-pale:     #ede9f3;   /* lavande très pâle */

  /* — Ocre miel (accent) — */
  --or:             #c89b3c;   /* ocre miel, soleil sur pierre */
  --or-pale:        #f5ecd2;   /* sable miel */
  --or-vif:         #e0b45a;   /* miel doré pour highlights */

  /* — Fonds naturels — */
  --creme:          #faf6ee;   /* crème laiteux, pierre à chaux */
  --pierre:         #ece4d6;   /* pierre rosée des Baronnies */

  /* — Textes — */
  --text:           #2a1f36;   /* texte principal, aubergine */
  --text-light:     #5d4a6b;   /* texte secondaire, violine douce */

  /* ---- Aliases pour compatibilité code existant ---- */
  --primary:        var(--olive-verte);
  --primary-dark:   var(--olive-sombre);
  --primary-light:  #9a8ec7;
  --primary-pale:   var(--olive-pale);
  --accent:         var(--or);
  --accent-pale:    var(--or-pale);
  --dark:           var(--olive-noire);
  --bg:             var(--creme);
  --bg-alt:         var(--pierre);
  --border:         rgba(107,91,149,0.14);
  --shadow-sm:      0 2px 14px rgba(27,20,37,0.09);
  --shadow-md:      0 8px 32px rgba(27,20,37,0.16);
  --radius:         10px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  background: var(--creme);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-verte); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }

h1, h2, h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.25;
}

/* ============================================================
   CONTENEUR
   ============================================================ */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */

.disclaimer-bar {
  position: sticky;
  top: 0;
  z-index: 201;
  background: var(--or);
  border-bottom: 2px solid var(--olive-verte);
  padding: 0.55rem 2rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--olive-noire);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ============================================================
   HEADER — Fond olive noire profond
   ============================================================ */

.site-header {
  background: var(--olive-noire);
  position: sticky;
  top: 44px;
  z-index: 200;
  box-shadow: 0 2px 28px rgba(0,0,0,0.42);
  /* Légère texture olive */
  background-image: radial-gradient(ellipse at 0% 0%, rgba(107,91,149,0.08) 0%, transparent 60%),
                    radial-gradient(ellipse at 100% 100%, rgba(200,155,60,0.06) 0%, transparent 50%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  line-height: 1;
}

.site-logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
  line-height: 1;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--or-vif);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Compatibilité ancienne version (logo en span) */
a.site-logo > .logo-main,
a.site-logo > .logo-sub {
  display: inline;
}

a.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
}
a.site-logo .logo-main { color: #fff; }
a.site-logo .logo-sub  { color: var(--or-vif); }

/* Navigation */
.site-nav > ul {
  display: flex;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav > ul > li { position: relative; }

.site-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.72);
  font-size: 0.87rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li > a.active {
  background: rgba(255,255,255,0.09);
  color: #fff;
  text-decoration: none;
}

.site-nav > ul > li > a.active {
  background: rgba(200,155,60,0.20);
  color: var(--or-vif);
}

.nav-arrow {
  font-size: 0.65rem;
  opacity: 0.45;
  transition: transform 0.18s;
}
.has-dropdown:hover .nav-arrow,
.has-dropdown.open .nav-arrow { transform: rotate(180deg); opacity: 0.85; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--olive-verte);
  border-radius: 10px;
  box-shadow: 0 12px 44px rgba(0,0,0,0.18);
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 300;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--olive-verte);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li { margin: 0; padding: 0; }

.dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.13s, color 0.13s, padding-left 0.13s;
}
.dropdown a:hover {
  background: var(--olive-pale);
  color: var(--olive-verte);
  padding-left: 22px;
  text-decoration: none;
}

.dropdown-more {
  border-top: 1px solid var(--border);
  margin-top: 3px;
}
.dropdown-more a {
  color: var(--olive-verte) !important;
  font-weight: 600;
  font-size: 0.82rem;
  padding-top: 10px;
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: 0.2s;
}

/* ============================================================
   FIL D'ARIANE
   ============================================================ */

.breadcrumb {
  padding: 12px 0;
  font-size: 0.81rem;
  color: var(--text-light);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--or); }
.breadcrumb a { color: var(--olive-verte); }

/* ============================================================
   HERO PAGE
   ============================================================ */

.page-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--olive-sombre);
}

.page-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,20,37,0.88) 0%,
    rgba(27,20,37,0.30) 52%,
    transparent 100%
  );
}

/* Petit motif olive en bas droite du hero */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cellipse cx='160' cy='160' rx='60' ry='60' fill='none' stroke='rgba(200%2C155%2C60%2C0.12)' stroke-width='40'/%3E%3Cellipse cx='160' cy='160' rx='30' ry='30' fill='none' stroke='rgba(107%2C91%2C149%2C0.10)' stroke-width='20'/%3E%3C/svg%3E");
  background-size: contain;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  padding-bottom: 40px;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--or-vif);
  margin-bottom: 8px;
}

.page-hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 10px;
}

.hero-intro {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  line-height: 1.65;
}

/* Hero home (plus grand) */
.hero-home { height: 480px; }
.hero-home .page-hero-content { padding-bottom: 60px; }
.hero-home h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }

/* Boutons hero */
.hero-buttons,
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s, color 0.18s;
  cursor: pointer;
  border: none;
}

.btn-primary,
.btn-hero-primary {
  background: var(--or-vif);
  color: #fff;
}
.btn-primary:hover,
.btn-hero-primary:hover {
  background: var(--olive-verte);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.btn-secondary,
.btn-hero-secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover,
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.24);
  text-decoration: none;
  color: #fff;
}

/* ============================================================
   STATS STRIP
   ============================================================ */

.home-stats,
.stats-strip {
  background: var(--olive-noire);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cellipse cx='30' cy='12' rx='5' ry='8' fill='none' stroke='rgba(107%2C91%2C149%2C0.08)' stroke-width='1.5'/%3E%3Cellipse cx='30' cy='48' rx='5' ry='8' fill='none' stroke='rgba(107%2C91%2C149%2C0.06)' stroke-width='1.5'/%3E%3C/svg%3E");
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--or-vif);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   LAYOUT ARTICLE
   ============================================================ */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: start;
  padding: 52px 20px 88px;
  max-width: 1160px;
  margin: 0 auto;
}

/* ============================================================
   ARTICLE BODY
   ============================================================ */

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--olive-noire);
  margin: 2.6em 0 0.7em;
}
.article-body h2:first-child { margin-top: 0; }

/* Décoration h2 : petite branche dorée */
.article-body h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--or-vif), transparent);
  margin-top: 8px;
  border-radius: 2px;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--olive-noire);
  margin: 1.8em 0 0.5em;
}

.article-body p { margin-bottom: 1.2em; }
.article-body ul,
.article-body ol { margin-bottom: 1.2em; }
.article-body li { margin-bottom: 0.35em; }
.article-body strong { color: var(--olive-noire); }

/* Puces personnalisées */
.article-body ul li::marker { color: var(--olive-verte); }

/* ============================================================
   TABLEAUX
   ============================================================ */

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.93rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-body th {
  background: var(--olive-noire);
  color: #fff;
  font-weight: 600;
  padding: 11px 16px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Petite ligne dorée sous les en-têtes */
.article-body thead th {
  border-bottom: 2px solid var(--or-vif);
}

.article-body td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:nth-child(even) td { background: var(--pierre); }
.article-body tr:hover td { background: var(--olive-pale); }

/* ============================================================
   BOITES DE CONTENU
   ============================================================ */

/* Highlight box (or / doré) */
.highlight-box {
  background: var(--or-pale);
  border: 1px solid rgba(200,155,60,0.20);
  border-left: 4px solid var(--or-vif);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}
.highlight-box h3 {
  margin-top: 0;
  color: var(--olive-noire);
  font-size: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}

/* Variante verte */
.highlight-box--green {
  background: var(--olive-pale);
  border-color: rgba(107,91,149,0.20);
  border-left-color: var(--olive-verte);
}

/* Variante rouge / urgence */
.highlight-box--red {
  background: #fef2f2;
  border-color: rgba(200,60,60,0.18);
  border-left-color: #c83c3c;
}
.highlight-box--red h3 { color: #8b1a1a; }

/* Info box */
.info-box {
  background: var(--pierre);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}
.info-box h3 {
  margin-top: 0;
  color: var(--olive-verte);
  font-size: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}
.info-box ul { margin-bottom: 0; }

/* Fiche établissement */
.etablissement-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--olive-verte);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.etablissement-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Petit badge olive en haut droite */
.etablissement-card::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: var(--olive-verte);
  border-radius: 50%;
  opacity: 0.5;
}

.etablissement-card h3 {
  margin-top: 0;
  color: var(--olive-noire);
  font-size: 1.1rem;
}
.etablissement-card p { margin-bottom: 0.6em; }

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar,
.article-sidebar {
  position: sticky;
  top: 84px;
}

/* Alias pour compatibilité pages générées */
.sidebar-block,
.sidebar-box,
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--olive-verte);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.sidebar-block h3,
.sidebar-box h3,
.sidebar-widget h3,
.sidebar-block h4,
.sidebar-box h4,
.sidebar-widget h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 12px;
  margin-top: 0;
}

.sidebar-block ul,
.sidebar-box ul,
.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-block li,
.sidebar-box li,
.sidebar-widget li {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
}
.sidebar-block li:last-child,
.sidebar-box li:last-child,
.sidebar-widget li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-toc { list-style: none; padding: 0; }
.sidebar-toc li { margin-bottom: 5px; }
.sidebar-toc a { font-size: 0.87rem; color: var(--text); }
.sidebar-toc a:hover { color: var(--olive-verte); }

.sidebar-links { list-style: none; padding: 0; }
.sidebar-links li {
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border);
}
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { font-size: 0.87rem; }

.sidebar-cta {
  background: var(--olive-noire);
  border-radius: var(--radius);
  padding: 22px;
  color: #fff;
  border-top: 3px solid var(--or-vif);
}
.sidebar-cta h4 {
  color: var(--or-vif);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.sidebar-cta p { font-size: 0.9rem; margin-bottom: 14px; line-height: 1.5; }
.sidebar-cta a {
  display: inline-block;
  background: var(--or-vif);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.18s;
}
.sidebar-cta a:hover { opacity: 0.9; text-decoration: none; }

/* ============================================================
   PAGE D'ACCUEIL — Sections
   ============================================================ */

.home-discover {
  padding: 64px 0 52px;
  background: #fff;
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.discover-card {
  position: relative;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.discover-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.discover-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-color: var(--card-color, var(--olive-verte));
  transition: transform 0.45s ease;
}
.discover-card:hover .discover-card-bg { transform: scale(1.06); }

.discover-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,20,37,0.9) 0%,
    rgba(27,20,37,0.3) 55%,
    rgba(27,20,37,0.05) 100%
  );
}

.discover-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 20px;
  z-index: 1;
}

.discover-card-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--or-vif);
  margin-bottom: 4px;
}

.discover-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.discover-card-link {
  color: #fff;
  text-decoration: none;
}
.discover-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.discover-card-link:hover { color: #fff; text-decoration: none; }

.discover-card-links {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
}
.discover-card-links li { display: inline; }
.discover-card-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.60);
  position: relative;
  z-index: 1;
}
.discover-card-links a:hover { color: #fff; }
.discover-card-links li:not(:last-child)::after {
  content: " ·";
  color: rgba(255,255,255,0.28);
}

/* Vie pratique home */
.home-pratique {
  padding: 52px 0 64px;
  background: var(--creme);
}

.pratique-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pratique-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--olive-verte);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, transform 0.18s;
}
.pratique-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pratique-icon { font-size: 1.4rem; margin-bottom: 8px; line-height: 1; }
.pratique-title {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--olive-noire);
  text-decoration: none;
  margin-bottom: 12px;
}
.pratique-title:hover { color: var(--olive-verte); text-decoration: none; }

/* CTA section */
.home-cta {
  background: var(--olive-noire);
  background-image: linear-gradient(135deg, var(--olive-noire) 0%, rgba(63,53,107,0.85) 100%);
  padding: 52px 0;
}
.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.home-cta h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
  font-family: 'Playfair Display', Georgia, serif;
}
.home-cta h2::after { display: none; }
.home-cta p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin: 0; }

.home-cta-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.btn-cta-light {
  display: inline-block;
  background: var(--or-vif);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
}
.btn-cta-light:hover {
  background: var(--olive-verte);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

.btn-cta-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.35);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.btn-cta-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  color: #fff;
}

/* ============================================================
   SECTIONS HOME — Aliases & classes manquantes
   ============================================================ */

.section-discover {
  padding: 64px 0 52px;
  background: #fff;
}

.section-pratique {
  padding: 52px 0 64px;
  background: var(--creme);
}

.section-intro {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 620px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.section-cta {
  background: var(--olive-noire);
  background-image: linear-gradient(135deg, var(--olive-noire) 0%, rgba(63,53,107,0.85) 100%);
  padding: 52px 0;
}

.cta-block {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.cta-block h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
  font-family: 'Playfair Display', Georgia, serif;
}
.cta-block h2::after { display: none; }
.cta-block p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.pratique-card h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--olive-noire);
  margin-bottom: 10px;
}
.pratique-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pratique-card ul li {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 3px 0;
}
.pratique-card { text-decoration: none; display: block; }
.pratique-card:hover { text-decoration: none; }

/* Section title */
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--olive-noire);
  margin-bottom: 28px;
  font-family: 'Playfair Display', Georgia, serif;
}
.section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--or-vif), transparent);
  margin-top: 8px;
  border-radius: 2px;
}

/* Catégorie grid (pages hub) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--olive-verte);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, transform 0.18s;
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.category-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--olive-noire);
  margin-bottom: 10px;
}
.category-card h3 a { color: var(--olive-noire); }
.category-card h3 a:hover { color: var(--olive-verte); text-decoration: none; }

.cat-links {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  flex: 1;
}
.cat-links li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.cat-links li:last-child { border-bottom: none; }
.cat-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.15s, padding-left 0.15s;
}
.cat-links a:hover {
  color: var(--olive-verte);
  padding-left: 4px;
  text-decoration: none;
}

/* ============================================================
   DIVISEUR OLIVE (élément graphique)
   ============================================================ */

.olive-divider {
  display: block;
  width: 140px;
  height: auto;
  margin: 2.4em auto;
  opacity: 0.55;
}

/* ============================================================
   PAGE SIMPLE (mentions légales, contact…)
   ============================================================ */

.page-simple {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}
.page-simple h1 {
  font-size: 2.2rem;
  margin-bottom: 32px;
  color: var(--olive-noire);
}
.page-simple h2 {
  font-size: 1.3rem;
  margin: 2em 0 0.6em;
  color: var(--olive-noire);
}
.page-simple p, .page-simple li { margin-bottom: 0.9em; }

/* ============================================================
   404
   ============================================================ */

.error-404 { padding: 80px 20px; text-align: center; }
.error-404-inner { max-width: 560px; margin: 0 auto; }

.error-code {
  display: block;
  font-size: 7rem;
  font-weight: 700;
  color: var(--olive-verte);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Playfair Display', Georgia, serif;
  text-shadow: 2px 4px 0 rgba(107,91,149,0.12);
}

.error-404 h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--olive-noire);
}
.error-404 p { color: var(--text-light); margin-bottom: 32px; }

.error-olive-branch {
  margin: 20px auto;
  width: 100px;
  opacity: 0.4;
}

.btn-home {
  display: inline-block;
  padding: 12px 28px;
  background: var(--olive-verte);
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 48px;
  transition: background 0.18s, transform 0.15s;
}
.btn-home:hover {
  background: var(--olive-sombre);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

/* ============================================================
   FOOTER — Olive noire profond
   ============================================================ */

.site-footer {
  background: var(--olive-noire);
  background-image:
    radial-gradient(ellipse at 10% 90%, rgba(107,91,149,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(200,155,60,0.05) 0%, transparent 50%);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}

/* Ligne séparatrice olive sous la description */
.footer-col:first-child { border-right: 1px solid rgba(255,255,255,0.05); padding-right: 32px; }

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-logo .logo-main { color: #fff; }
.footer-logo .logo-sub  { color: var(--or-vif); }

/* Petite branche décorative en footer */
.footer-olive-icon {
  display: block;
  width: 60px;
  height: auto;
  margin: 14px 0;
  opacity: 0.30;
}

.footer-desc { line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: 'Inter', system-ui, sans-serif;
  color: rgba(255,255,255,0.88);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200,155,60,0.25);
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  transition: color 0.15s;
  font-size: 0.87rem;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-col a:hover::before { content: '› '; color: var(--or-vif); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
}

/* ============================================================
   APPARITION AU SCROLL
   ============================================================ */

.category-card,
.article-card {
  /* état initial géré par JS */
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .disclaimer-bar { position: static; padding: 0.5rem 1rem; font-size: 0.72rem; }
  .site-header { top: 0; }
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar,
  .article-sidebar { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { border-right: none; padding-right: 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item {
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .discover-grid { grid-template-columns: repeat(2, 1fr); }
  .pratique-grid { grid-template-columns: repeat(2, 1fr); }
  .home-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Menu mobile */
@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--olive-noire);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 8px 0 16px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.4);
    z-index: 200;
  }
  .site-nav.open { display: block; }

  .site-nav > ul { flex-direction: column; gap: 0; }

  .site-nav > ul > li > a {
    border-radius: 0;
    padding: 13px 24px;
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-top: none;
    background: rgba(107,91,149,0.08);
    display: none;
    padding: 0;
  }
  .dropdown::before { display: none; }
  .has-dropdown.open .dropdown { display: block; transform: none; }

  .dropdown a {
    color: rgba(255,255,255,0.60);
    padding: 9px 24px 9px 36px;
    font-size: 0.85rem;
    border-radius: 0;
  }
  .dropdown a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding-left: 36px;
  }
  .dropdown-more a { color: var(--or-vif) !important; }

  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .page-hero {
    height: auto;
    min-height: 220px;
    align-items: flex-start;
    padding-top: 36px;
  }
  .page-hero .page-hero-content { padding-bottom: 32px; }
  .hero-home { min-height: 380px; padding-top: 52px; }
  .hero-home .page-hero-content { padding-bottom: 40px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .discover-grid { grid-template-columns: 1fr; }
  .pratique-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons,
  .hero-ctas { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary,
  .btn-primary, .btn-secondary { text-align: center; }
  .home-cta-buttons { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .article-body table { font-size: 0.82rem; }
  .article-body th, .article-body td { padding: 8px 10px; }

  .error-code { font-size: 5rem; }
}

/* ---- Images inline dans les articles ---- */
.article-img {
  margin: 2rem 0;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
}
.article-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.article-img figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}
