/* =========================================================================
   Stratégie Biodiversité Bourgogne — Atlas naturaliste
   Système de design « revue naturaliste » : pierre calcaire, bordeaux de
   vigne, or de Dijon, vert du Morvan. Typographie Fraunces + Public Sans.
   Identité volontairement distincte de tout autre observatoire.
   ========================================================================= */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/publicsans-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/publicsans-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  /* Palette Bourgogne */
  --pierre: #f5efe2;        /* fond parchemin / pierre calcaire */
  --pierre-clair: #fbf7ee;
  --papier: #fffdf7;        /* surfaces */
  --encre: #241f19;         /* texte principal (brun-noir chaud) */
  --encre-doux: #554d41;    /* texte secondaire */
  --bordeaux: #6f2334;      /* vigne — couleur primaire */
  --bordeaux-fonce: #521623;
  --or: #b5851f;            /* moutarde de Dijon — accent */
  --or-clair: #d9a93a;
  --morvan: #4c5a3a;        /* vert forêt / vigne — tertiaire */
  --morvan-clair: #6b794f;
  --trait: #ddd1b9;         /* filets, bordures */
  --trait-fonce: #c4b596;
  --ombre: 0 1px 2px rgba(60, 45, 20, 0.08), 0 8px 28px rgba(60, 45, 20, 0.07);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --largeur: 72rem;
  --largeur-texte: 42rem;
  --rayon: 3px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background-color: var(--pierre);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(120, 90, 40, 0.012) 3px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.15;
  color: var(--encre);
  font-variation-settings: "opsz" 40, "SOFT" 30;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }

a {
  color: var(--bordeaux);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: var(--trait-fonce);
  transition: color 0.15s, text-decoration-color 0.15s;
}
a:hover { color: var(--bordeaux-fonce); text-decoration-color: var(--bordeaux); }

img { max-width: 100%; height: auto; }

strong { font-weight: 640; }
em, i { font-style: italic; }

hr {
  border: 0;
  border-top: 1px solid var(--trait);
  margin: 2.5rem 0;
}

/* Lien d'évitement */
.lien-evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bordeaux);
  color: #fff;
  padding: 0.7rem 1.1rem;
  z-index: 200;
}
.lien-evitement:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }

/* ---------- Utilitaires ---------- */
.enveloppe { max-width: var(--largeur); margin-inline: auto; padding-inline: 1.5rem; }
.enveloppe--texte { max-width: 54rem; }
.surtitre {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
}
.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;
}

/* ---------- Bandeau supérieur ---------- */
.bandeau {
  background: var(--bordeaux-fonce);
  color: #f0e6d8;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
.bandeau .enveloppe {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 2.2rem;
}
.bandeau__depts { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.bandeau__depts li { display: flex; align-items: baseline; gap: 0.3rem; }
.bandeau__code { font-weight: 700; color: var(--or-clair); font-variant-numeric: tabular-nums; }
.bandeau a { color: #f0e6d8; text-decoration-color: rgba(240,230,216,0.4); }
.bandeau a:hover { color: #fff; }

/* ---------- Masthead (bloc-titre centré, façon revue) ---------- */
.masthead {
  background: var(--pierre-clair);
  border-bottom: 1px solid var(--trait);
  text-align: center;
  padding: 1.6rem 1.5rem 1.3rem;
}
.masthead__filet {
  max-width: 30rem; margin: 0 auto 0.9rem;
  border: 0; border-top: 2px solid var(--encre);
  position: relative;
}
.masthead__filet::after {
  content: "❧";
  position: absolute; top: -0.85em; left: 50%; transform: translateX(-50%);
  background: var(--pierre-clair); padding: 0 0.6rem;
  color: var(--or); font-size: 0.9rem;
}
.masthead__marque {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none; color: var(--encre);
}
.masthead__marque:hover { color: var(--encre); }
.masthead__titre {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  font-size: clamp(1.7rem, 4.5vw, 2.9rem);
  line-height: 1;
  letter-spacing: 0.005em;
  margin: 0;
}
.masthead__titre .amp { color: var(--bordeaux); font-style: italic; }
.masthead__baseline {
  font-family: var(--sans);
  font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--encre-doux); margin-top: 0.7rem;
}
.masthead__filet--bas {
  max-width: 30rem; margin: 1rem auto 0;
  border: 0; border-top: 1px solid var(--trait-fonce);
}

/* ---------- Navigation ---------- */
.navigation {
  background: var(--papier);
  border-bottom: 1px solid var(--trait);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 rgba(60,45,20,0.04);
}
.navigation .enveloppe {
  display: flex; align-items: center; justify-content: space-between;
}
.navigation__mini {
  font-family: var(--serif); font-weight: 600; font-size: 1.02rem;
  text-decoration: none; color: var(--bordeaux);
  padding: 0.6rem 0; white-space: nowrap;
}
.navigation__liste {
  display: flex; gap: 0.2rem; margin: 0; padding: 0; list-style: none; flex-wrap: wrap;
}
.navigation__liste a {
  display: block; padding: 0.85rem 0.85rem;
  font-family: var(--sans); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--encre-doux); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.navigation__liste a:hover { color: var(--bordeaux); border-bottom-color: var(--or); }
.navigation__liste a[aria-current="page"] { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }

.nav-bouton {
  display: none; background: none; border: 1px solid var(--trait-fonce);
  border-radius: var(--rayon); color: var(--encre);
  font-size: 0.9rem; padding: 0.45rem 0.7rem; cursor: pointer;
  align-items: center; gap: 0.4rem;
}

/* ---------- Fil d'ariane ---------- */
.ariane {
  font-size: 0.78rem; color: var(--encre-doux);
  padding: 0.9rem 0 0;
}
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.ariane li::after { content: "›"; margin-left: 0.4rem; color: var(--trait-fonce); }
.ariane li:last-child::after { content: ""; }
.ariane a { text-decoration: none; color: var(--encre-doux); }
.ariane a:hover { color: var(--bordeaux); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 1.3rem; border-radius: var(--rayon);
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--bordeaux);
  background: var(--bordeaux); color: #fff; transition: background 0.15s, transform 0.05s;
}
.bouton:hover { background: var(--bordeaux-fonce); color: #fff; }
.bouton:active { transform: translateY(1px); }
.bouton--fantome { background: transparent; color: var(--bordeaux); }
.bouton--fantome:hover { background: var(--bordeaux); color: #fff; }

/* =========================================================================
   ACCUEIL
   ========================================================================= */
.hero {
  padding: 3.2rem 0 2.6rem;
  border-bottom: 1px solid var(--trait);
}
.hero__grille {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center;
}
.hero__titre {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-variation-settings: "opsz" 144, "SOFT" 20;
  margin-bottom: 0.6rem;
}
.hero__chapo { font-size: 1.18rem; color: var(--encre-doux); max-width: 34rem; }
.hero__chapo::first-letter { }
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Carte des départements */
.carte-depts {
  background: var(--papier); border: 1px solid var(--trait);
  border-radius: var(--rayon); padding: 1.4rem; box-shadow: var(--ombre);
}
.carte-depts__titre { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); margin-bottom: 1rem; }
.carte-depts svg { width: 100%; height: auto; display: block; }
.carte-depts__legende { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; margin-top: 1rem; font-size: 0.82rem; }
.carte-depts__legende b { color: var(--bordeaux); font-variant-numeric: tabular-nums; }

/* Chiffres-clés */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; margin: 2.6rem 0; }
.chiffres__item { background: var(--papier); padding: 1.5rem 1rem; text-align: center; }
.chiffres__nombre { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--bordeaux); line-height: 1; font-variant-numeric: lining-nums; }
.chiffres__label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-doux); margin-top: 0.5rem; }

/* Titres de section */
.section { padding: 3rem 0; }
.section--alt { background: var(--pierre-clair); border-block: 1px solid var(--trait); }
.section__entete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; border-bottom: 2px solid var(--encre); padding-bottom: 0.6rem; }
.section__titre { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0; }
.section__lien { font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }

/* =========================================================================
   CATALOGUE DE PLANCHES (grilles d'espèces)
   ========================================================================= */
.grille-planches {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.5rem;
}
.planche-carte {
  display: flex; flex-direction: column;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.planche-carte:hover { box-shadow: var(--ombre); transform: translateY(-3px); border-color: var(--trait-fonce); color: inherit; }
.planche-carte__cadre {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--pierre); border-bottom: 1px solid var(--trait);
}
.planche-carte__cadre img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.planche-carte:hover .planche-carte__cadre img { transform: scale(1.04); }
.planche-carte__num {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: rgba(36,31,25,0.82); color: var(--pierre);
  font-family: var(--serif); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: 2px;
}
.planche-carte__statut {
  position: absolute; top: 0.6rem; right: 0.6rem;
}
.planche-carte__corps { padding: 0.9rem 1rem 1.1rem; }
.planche-carte__categorie { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--or); font-weight: 600; }
.planche-carte__nom { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; margin: 0.2rem 0 0.1rem; line-height: 1.2; }
.planche-carte__latin { font-style: italic; color: var(--encre-doux); font-size: 0.9rem; }

/* Badge statut UICN */
.uicn {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  font-size: 0.66rem; letter-spacing: 0.06em;
  padding: 0.16rem 0.42rem; border-radius: 2px; color: #fff; white-space: nowrap;
  vertical-align: middle;
}
.uicn--texte { font-size: 0.72rem; padding: 0.2rem 0.5rem; }
.st-re { background: #3a0d1a; }
.st-cr { background: #a11226; }
.st-en { background: #cf5817; }
.st-vu { background: #b5851f; color: #241f19; }
.st-nt { background: #6b794f; }
.st-lc { background: #4c5a3a; }
.st-dd { background: #8a8177; }
.st-na { background: #b6ac9c; color: #241f19; }

/* =========================================================================
   PLANCHE — fiche espèce en monographie
   ========================================================================= */
.planche { padding: 1.5rem 0 3.5rem; }
.planche__entete {
  text-align: center; padding: 1.4rem 0 1.8rem; border-bottom: 2px solid var(--encre);
  margin-bottom: 2.4rem;
}
.planche__numero {
  font-family: var(--sans); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--or);
}
.planche__nom {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-variation-settings: "opsz" 144, "SOFT" 10;
  margin: 0.4rem 0 0.2rem;
}
.planche__latin { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--bordeaux); }
.planche__latin small { font-style: normal; color: var(--encre-doux); font-size: 0.8rem; }
.planche__rangs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.4rem;
  margin-top: 1rem; font-size: 0.76rem; letter-spacing: 0.06em; color: var(--encre-doux);
}
.planche__rangs span b { color: var(--encre); font-weight: 640; }

.planche__grille { display: grid; grid-template-columns: 1fr 20rem; gap: 3rem; align-items: start; }

/* Figure « planche gravée » */
.figure-planche { margin: 0 0 2rem; }
.figure-planche__cadre {
  border: 1px solid var(--trait-fonce);
  padding: 0.5rem; background: var(--papier);
  box-shadow: var(--ombre);
  position: relative;
}
.figure-planche__cadre::after {
  content: ""; position: absolute; inset: 0.5rem; border: 1px solid var(--trait);
  pointer-events: none;
}
.figure-planche__cadre img { width: 100%; height: auto; display: block; }
.figure-planche__legende {
  font-size: 0.78rem; color: var(--encre-doux); margin-top: 0.7rem;
  font-style: italic; text-align: center;
}
.figure-planche__legende a { color: var(--encre-doux); }

/* Corps de la monographie */
.monographie { font-size: 1.075rem; }
.monographie > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 600;
  float: left; font-size: 3.4rem; line-height: 0.82;
  padding: 0.1rem 0.6rem 0 0; color: var(--bordeaux);
  font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1;
}
.monographie h2 {
  font-size: 1.5rem; margin: 2.2rem 0 0.7rem;
  padding-bottom: 0.3rem; border-bottom: 1px solid var(--trait);
}
.monographie h2 .num-section { color: var(--or); font-size: 0.8em; margin-right: 0.4rem; }
.monographie h3 { font-size: 1.18rem; margin: 1.6rem 0 0.5rem; color: var(--bordeaux); }
.monographie ul, .monographie ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.monographie li { margin-bottom: 0.4rem; }
.monographie blockquote {
  margin: 1.5rem 0; padding: 0.4rem 0 0.4rem 1.3rem;
  border-left: 3px solid var(--or); color: var(--encre-doux); font-style: italic;
}

/* Rail « fiche signalétique » */
.signalement {
  background: var(--pierre-clair); border: 1px solid var(--trait);
  border-top: 3px solid var(--bordeaux);
  border-radius: var(--rayon); padding: 1.3rem 1.3rem 0.6rem;
  position: sticky; top: 4.5rem;
}
.signalement__titre {
  font-family: var(--sans); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--or);
  margin: 0 0 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--trait);
}
.signalement dl { margin: 0; }
.signalement__ligne { padding: 0.55rem 0; border-bottom: 1px dotted var(--trait); }
.signalement__ligne:last-child { border-bottom: 0; }
.signalement dt { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-doux); font-weight: 600; }
.signalement dd { margin: 0.15rem 0 0; font-size: 0.96rem; }
.signalement dd em { color: var(--bordeaux); }
.signalement__statuts { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.3rem; }

/* Protections / mentions */
.protections { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.protection {
  font-size: 0.72rem; background: var(--morvan); color: #fff;
  padding: 0.15rem 0.5rem; border-radius: 2px;
}

/* Encadrés */
.encadre {
  border: 1px solid var(--trait); border-left: 4px solid var(--or);
  background: var(--papier); border-radius: var(--rayon);
  padding: 1.1rem 1.3rem; margin: 1.8rem 0;
}
.encadre--info { border-left-color: var(--morvan); }
.encadre--attention { border-left-color: var(--bordeaux); }
.encadre__titre { font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.4rem; color: var(--bordeaux); }
.encadre p:last-child { margin-bottom: 0; }

/* Bloc « en détail / maillage » */
.liens-connexes { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 2px solid var(--encre); }
.liens-connexes h2 { font-size: 1.35rem; }
.liens-connexes__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1rem; margin-top: 1rem; }

/* Sources */
.sources-fiche { margin-top: 2.5rem; font-size: 0.86rem; color: var(--encre-doux); }
.sources-fiche h2 { font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--encre-doux); border: 0; }
.sources-fiche ol { padding-left: 1.2rem; }

/* =========================================================================
   PAGES DE CONTENU
   ========================================================================= */
.page-entete { padding: 2.6rem 0 1.4rem; border-bottom: 1px solid var(--trait); }
.page-entete__titre { font-size: clamp(1.9rem, 4.4vw, 3rem); font-variation-settings: "opsz" 144, "SOFT" 20; margin: 0.3rem 0 0.4rem; }
.page-entete__chapo { font-size: 1.15rem; color: var(--encre-doux); max-width: var(--largeur-texte); }
.contenu-page { padding: 2.4rem 0 3.5rem; }
.prose { max-width: var(--largeur-texte); font-size: 1.075rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 0.4rem; color: var(--bordeaux); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }

/* Filtres catalogue */
.filtres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.filtre {
  font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 0.45rem 0.95rem; border: 1px solid var(--trait-fonce);
  border-radius: 999px; background: var(--papier); color: var(--encre-doux);
  cursor: pointer; transition: all 0.15s;
}
.filtre:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.filtre.actif { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }

/* Recherche */
.recherche-champ { display: flex; gap: 0.6rem; max-width: 34rem; margin: 1.5rem 0; }
.recherche-champ input {
  flex: 1; font-family: var(--sans); font-size: 1rem; padding: 0.7rem 1rem;
  border: 1px solid var(--trait-fonce); border-radius: var(--rayon); background: var(--papier); color: var(--encre);
}
.recherche-champ input:focus { outline: 2px solid var(--or); border-color: var(--or); }
#resultats-recherche { list-style: none; padding: 0; }
#resultats-recherche li { padding: 0.7rem 0; border-bottom: 1px solid var(--trait); }

/* Liste d'études */
.liste-etudes { display: grid; gap: 1.4rem; }
.etude-carte {
  display: grid; grid-template-columns: 8rem 1fr; gap: 1.4rem; align-items: start;
  background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 1.1rem; text-decoration: none; color: inherit; transition: box-shadow 0.18s;
}
.etude-carte:hover { box-shadow: var(--ombre); color: inherit; }
.etude-carte__vignette { aspect-ratio: 1; border-radius: 2px; overflow: hidden; background: var(--pierre); }
.etude-carte__vignette img { width: 100%; height: 100%; object-fit: cover; }
.etude-carte__meta { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--or); }
.etude-carte__titre { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 0.2rem 0; }
.etude-carte__extrait { color: var(--encre-doux); font-size: 0.96rem; margin: 0; }

/* =========================================================================
   PIED DE PAGE
   ========================================================================= */
.pied { background: var(--encre); color: #d6ccbd; margin-top: 3rem; }
.pied a { color: #d6ccbd; text-decoration-color: rgba(214,204,189,0.35); }
.pied a:hover { color: #fff; text-decoration-color: var(--or); }
.pied__haut { padding: 3rem 0 2.2rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.pied__marque .masthead__titre { color: var(--pierre); font-size: 1.6rem; }
.pied__baseline { font-size: 0.9rem; color: #9a8f7e; max-width: 22rem; margin-top: 0.6rem; }
.pied__col h3 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or-clair); margin: 0 0 0.9rem; }
.pied__col ul { list-style: none; margin: 0; padding: 0; }
.pied__col li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.pied__col a { text-decoration: none; }
.pied__bas { border-top: 1px solid rgba(214,204,189,0.15); padding: 1.3rem 0; font-size: 0.8rem; color: #9a8f7e; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 62rem) {
  .planche__grille { grid-template-columns: 1fr; gap: 2rem; }
  .signalement { position: static; }
  .hero__grille { grid-template-columns: 1fr; gap: 2rem; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 48rem) {
  .nav-bouton { display: inline-flex; }
  .navigation__liste {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--papier);
    border-bottom: 1px solid var(--trait); box-shadow: var(--ombre); padding: 0.5rem 0;
  }
  .navigation__liste.ouvert { display: flex; }
  .navigation__liste a { padding: 0.8rem 1.5rem; border-bottom: 1px solid var(--trait); }
  .navigation .enveloppe { position: relative; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .etude-carte { grid-template-columns: 1fr; }
  .etude-carte__vignette { aspect-ratio: 16/9; }
  .pied__haut { grid-template-columns: 1fr; gap: 1.5rem; }
  .section__entete { flex-direction: column; align-items: flex-start; }
}

@media print {
  .bandeau, .navigation, .nav-bouton, .pied, .liens-connexes, .hero__actions { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: none; }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}
