/* ==========================================================================
   EDEA environnement — feuille de style
   Direction : la carte et l'eau. Palette froide vert sapin / eau sur papier
   blanc-vert, angles nets, filets fins, isolignes en fond des bandeaux.
   Polices auto-hébergées (fonts.css) : aucun appel vers un tiers.
   ========================================================================== */

:root {
  --encre:        #14231D;
  --profond:      #163B33;
  --profond-2:    #1D4A40;
  --eau:          #1E7A86;
  --eau-fonce:    #165F69;
  --eau-clair:    #9FD3D8;
  --mousse:       #6A8F3F;
  --papier:       #F4F7F5;
  --blanc:        #FFFFFF;
  --gris:         #55625C;
  --gris-clair:   #66736D;
  --filet:        #D5DDD8;
  --filet-fort:   #B6C2BB;

  --display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --corps:   "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:    "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  --largeur: 1160px;
  --gouttiere: clamp(1.25rem, 5vw, 3.5rem);
  --mesure: 66ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--eau); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--eau-fonce); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--encre);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.25; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.lede { font-size: 1.22rem; line-height: 1.55; color: var(--gris); max-width: 58ch; }

/* Étiquette mono : le vocabulaire des cartouches de carte et des rapports */
.surtitre {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--eau);
  margin: 0 0 1.1rem;
}

/* --- Accessibilité --------------------------------------------------------- */

.evitement {
  position: absolute; left: -9999px;
  background: var(--profond); color: var(--blanc);
  padding: .75rem 1.25rem; z-index: 100; font-family: var(--mono);
}
.evitement:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--eau); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- En-tête --------------------------------------------------------------- */

.entete {
  background: var(--blanc);
  border-bottom: 1px solid var(--filet);
  position: sticky; top: 0; z-index: 50;
}
.entete__interieur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; min-height: 84px;
}
.logo { display: block; line-height: 0; }
.logo img { height: 62px; width: auto; }

.nav ul { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a {
  font-size: .94rem; font-weight: 600; letter-spacing: .01em;
  color: var(--encre); text-decoration: none; padding: .85rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--eau-fonce); border-bottom-color: var(--eau); }
.nav a.bouton { border-bottom: 0; }

.menu-bascule { display: none; }
.menu-etiquette {
  display: none; cursor: pointer; padding: .5rem .9rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--profond); border: 1px solid var(--filet-fort);
}

/* Téléphone visible en permanence sur grand écran */
.entete__tel {
  font-family: var(--mono); font-size: .86rem; letter-spacing: .04em; font-weight: 500;
  color: var(--profond); text-decoration: none; padding: .85rem 0; white-space: nowrap;
}
.entete__tel:hover { color: var(--eau); }
@media (min-width: 861px) and (max-width: 1040px) { .nav li:has(> .entete__tel) { display: none; } }

/* --- Boutons --------------------------------------------------------------- */

.bouton {
  display: inline-block;
  font-family: var(--corps); font-size: .94rem; font-weight: 600; letter-spacing: .01em;
  padding: .78rem 1.4rem; border: 1px solid var(--eau);
  background: var(--eau); color: var(--blanc) !important;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.bouton:hover { background: var(--eau-fonce); border-color: var(--eau-fonce); }
.bouton--creux { background: transparent; color: var(--eau-fonce) !important; }
.bouton--creux:hover { background: var(--eau); color: var(--blanc) !important; }
.nav .bouton { padding: .62rem 1.15rem; background: var(--profond); border-color: var(--profond); }
.nav .bouton:hover { background: var(--profond-2); border-color: var(--profond-2); }

/* --- Fonds profonds : isolignes ------------------------------------------- */

.sombre {
  position: relative; background: var(--profond); color: var(--blanc); overflow: hidden;
}
.sombre::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/isolignes.svg") center / cover no-repeat;
  opacity: .3; pointer-events: none;
}
.sombre > * { position: relative; z-index: 1; }
.sombre h1, .sombre h2, .sombre h3 { color: var(--blanc); }
.sombre p { color: rgba(255,255,255,.82); }
.sombre .surtitre { color: var(--eau-clair); }
.sombre a:not(.bouton) { color: var(--eau-clair); }
.sombre .bouton { background: var(--blanc); border-color: var(--blanc); color: var(--profond) !important; }
.sombre .bouton:hover { background: var(--eau-clair); border-color: var(--eau-clair); }
.sombre .bouton--creux { background: transparent; color: var(--blanc) !important; border-color: rgba(255,255,255,.55); }
.sombre .bouton--creux:hover { background: rgba(255,255,255,.1); border-color: var(--blanc); }

/* --- Bandeau d'accueil ------------------------------------------------------ */

.heros { padding: 0; }
.heros__grille {
  display: grid;
  grid-template-columns:
    minmax(var(--gouttiere), 1fr)
    minmax(0, calc(var(--largeur) * .56))
    minmax(0, calc(var(--largeur) * .44))
    minmax(var(--gouttiere), 1fr);
  min-height: min(76vh, 700px);
}
.heros__texte {
  grid-column: 2;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 5.5rem) 0;
  display: flex; flex-direction: column; justify-content: center;
}
.heros__visuel { grid-column: 3 / 5; }
.heros__texte h1 { max-width: 17ch; margin-bottom: 1.2rem; }
.heros__texte .lede { color: rgba(255,255,255,.84); font-size: 1.22rem; max-width: 50ch; }
.heros__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.heros__visuel { position: relative; background: var(--eau-fonce); min-height: 320px; }
.heros__visuel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  mix-blend-mode: multiply; opacity: .92;
}
.heros__visuel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--profond) 0%, rgba(22,59,51,0) 28%);
  pointer-events: none;
}

/* Cartouche : la ligne de méta d'une carte */
.cartouche {
  border-top: 1px solid rgba(255,255,255,.18);
  font-family: var(--mono); font-size: .76rem; letter-spacing: .05em;
  color: rgba(255,255,255,.62);
  padding: 1rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem 0;
}
.cartouche span + span::before { content: "·"; margin: 0 .8rem; color: var(--eau-clair); }
.cartouche b { color: var(--eau-clair); font-weight: 500; }

/* Apparition au chargement, depuis un état déjà lisible */
@keyframes lever { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.heros__texte > * { animation: lever .7s cubic-bezier(.2,.7,.2,1) both; }
.heros__texte > :nth-child(2) { animation-delay: .08s; }
.heros__texte > :nth-child(3) { animation-delay: .16s; }
.heros__texte > :nth-child(4) { animation-delay: .24s; }

/* --- Bandeau des pages intérieures ----------------------------------------- */

.bandeau { padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(2.2rem, 5vw, 3.4rem); }
.bandeau h1 { margin-bottom: .6rem; max-width: 20ch; }
.bandeau p { max-width: 58ch; font-size: 1.15rem; }
.bandeau .ariane { padding: 0 0 1.6rem; }
.bandeau .ariane, .bandeau .ariane a { color: rgba(255,255,255,.62); }
.bandeau .ariane li:not(:last-child)::after { color: var(--eau-clair); }

/* --- Sections -------------------------------------------------------------- */

.section { padding: clamp(3.2rem, 7vw, 5.8rem) 0; }
.section--sable { background: var(--papier); }
.section--blanc { background: var(--blanc); }
.section + .section--blanc, .section--blanc + .section--sable { border-top: 1px solid var(--filet); }
.section__entete { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* --- Registre de prestations : lignes, pas de boîtes ----------------------- */

.nomenclature { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet-fort); }
.nomenclature__item {
  display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem; align-items: start;
  padding: 1.9rem 0; border-bottom: 1px solid var(--filet);
}
.nomenclature__ref {
  font-family: var(--mono); font-size: .78rem; line-height: 1.5;
  color: var(--eau); letter-spacing: .02em; padding-top: .45rem;
}
.nomenclature__ref small { display: block; color: var(--gris-clair); letter-spacing: .06em; text-transform: uppercase; font-size: .66rem; margin-top: .25rem; }
.nomenclature__item h3 { margin-bottom: .45rem; }
.nomenclature__item p { color: var(--gris); max-width: var(--mesure); }
.nomenclature__lien {
  font-weight: 600; font-size: .94rem; text-decoration: none; white-space: nowrap;
  color: var(--eau); display: inline-block; padding: .7rem 0; margin: -.2rem 0 -.7rem;
}
.nomenclature__lien::after { content: " →"; transition: margin-left .15s ease; }
.nomenclature__lien:hover::after { margin-left: .25rem; }

/* --- Deux publics : colonnes séparées d'un filet --------------------------- */

.publics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--filet-fort); }
.publics > article { padding: 2.4rem 0 .5rem; }
.publics > article + article { border-left: 1px solid var(--filet); padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.publics > article:first-child { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.publics h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.publics p { color: var(--gris); }

/* --- Blocs "note" : titre serif sur filet, sans boîte ---------------------- */

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

.carte { border-top: 2px solid var(--eau); padding-top: 1.3rem; }
.carte h3 { margin-bottom: .5rem; }
.carte p { color: var(--gris); font-size: 1rem; }
.carte__lien { display: inline-block; margin-top: .3rem; padding: .7rem 0; font-weight: 600; font-size: .94rem; text-decoration: none; color: var(--eau); }
.carte__lien::after { content: " →"; }
.carte__lien:hover { text-decoration: underline; }
.carte--public { border-top-color: var(--profond); }

/* --- Listes ---------------------------------------------------------------- */

.liste-coches { list-style: none; padding: 0; margin: 0; }
.liste-coches li { position: relative; padding-left: 1.6rem; margin-bottom: .75rem; color: var(--gris); }
.liste-coches li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 7px; height: 7px; background: var(--eau);
}
.liste-coches strong { color: var(--encre); font-weight: 600; }

/* Tableau des rubriques */
.tableau { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 1.8rem 0 2.4rem; }
.tableau th, .tableau td { text-align: left; padding: .75rem .9rem .75rem 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.tableau th { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-clair); font-weight: 500; border-bottom-color: var(--filet-fort); }
.tableau td:first-child { font-family: var(--mono); color: var(--eau); font-size: .88rem; white-space: nowrap; font-weight: 500; }
.tableau td { font-variant-numeric: tabular-nums; }
.tableau-defilant { overflow-x: auto; }
.tableau-note { font-size: .86rem; color: var(--gris); margin: -1.4rem 0 2.2rem; }

/* --- Calendrier des inventaires ------------------------------------------- */

.calendrier { border-top: 1px solid var(--filet-fort); margin: 2rem 0 1rem; font-size: .92rem; }
.calendrier__ligne {
  display: grid; grid-template-columns: 12rem repeat(12, minmax(0, 1fr));
  align-items: center; border-bottom: 1px solid var(--filet); min-height: 3rem;
}
.calendrier__ligne--mois { min-height: 2.2rem; border-bottom-color: var(--filet-fort); }
.calendrier__ligne--mois span {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gris-clair); text-align: center; padding: .5rem 0;
}
.calendrier__ligne--mois span:first-child { text-align: left; }
.calendrier__groupe { font-weight: 600; color: var(--encre); padding-right: 1rem; grid-column: 1; }
.calendrier__groupe small { display: block; font-weight: 400; color: var(--gris); font-size: .8rem; }
.calendrier__barre {
  grid-column: calc(var(--de) + 1) / calc(var(--a) + 2); grid-row: 1;
  height: .9rem; background: var(--eau); margin: 0 1px;
}
.calendrier__barre--secondaire {
  background: repeating-linear-gradient(135deg, var(--eau-clair) 0 3px, transparent 3px 6px);
  border: 1px solid var(--eau-clair); height: .8rem;
}
.calendrier__ligne > .calendrier__cellules { display: contents; }
.calendrier__legende { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .84rem; color: var(--gris); margin-top: 1rem; align-items: center; }
.calendrier__legende i { display: inline-block; width: 1.6rem; height: .7rem; vertical-align: middle; margin-right: .5rem; background: var(--eau); }
.calendrier__legende i.secondaire { background: repeating-linear-gradient(135deg, var(--eau-clair) 0 3px, transparent 3px 6px); border: 1px solid var(--eau-clair); }
.calendrier__ligne:nth-child(odd):not(.calendrier__ligne--mois) { background: rgba(30,122,134,.035); }
@media (max-width: 720px) {
  .calendrier__ligne { grid-template-columns: 7.5rem repeat(12, minmax(0, 1fr)); font-size: .84rem; }
  .calendrier__groupe small { display: none; }
}

/* --- Questions fréquentes -------------------------------------------------- */

.faq { border-top: 1px solid var(--filet-fort); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--display); font-size: 1.25rem; font-weight: 500; line-height: 1.3; color: var(--encre);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.3rem; color: var(--eau); transition: transform .15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--eau-fonce); }
.faq .faq__reponse { padding: 0 0 1.5rem; color: var(--gris); max-width: var(--mesure); }
.faq .faq__reponse p:last-child { margin: 0; }

/* --- Contenu rédactionnel -------------------------------------------------- */

.prose { max-width: var(--mesure); }
.prose h2 { margin-top: 2.8rem; padding-top: 1.1rem; border-top: 1px solid var(--filet-fort); font-size: clamp(1.5rem, 2.8vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; color: var(--eau-fonce); }
.prose figure { margin: 2.5rem 0; }

figcaption {
  font-family: var(--mono); font-size: .76rem; line-height: 1.55;
  color: var(--gris); margin-top: .8rem; letter-spacing: .01em;
}

.citation {
  border-left: 2px solid var(--eau); padding-left: 1.5rem; margin: 2.5rem 0;
  font-family: var(--display); font-size: 1.35rem; font-style: italic; line-height: 1.4; color: var(--gris);
}
.citation cite { display: block; font-family: var(--mono); font-style: normal; font-size: .74rem; letter-spacing: .06em; margin-top: .8rem; color: var(--eau); }

.etiquettes { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.etiquettes li {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .03em;
  color: var(--profond); border: 1px solid var(--filet-fort); background: var(--blanc);
  padding: .4rem .75rem;
}

/* --- Photographies --------------------------------------------------------- */

.photo { overflow: hidden; background: var(--filet); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--paysage  { aspect-ratio: 3 / 2; }
.photo--large    { aspect-ratio: 21 / 9; }
.photo--cadre { border: 1px solid var(--filet-fort); padding: .5rem; background: var(--blanc); }
.photo--cadre img { aspect-ratio: inherit; }
.photo-attente {
  border: 1px dashed var(--filet-fort); min-height: 260px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--mono); font-size: .8rem; color: var(--gris); padding: 2rem;
}

.mosaique { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.mosaique .photo { aspect-ratio: 1; }

.duo { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }

/* --- Bande d'appel : pleine largeur ---------------------------------------- */

.encadre { padding: clamp(2.8rem, 6vw, 4.5rem) var(--gouttiere); text-align: left; }
.encadre__interieur { max-width: var(--largeur); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; }
.encadre h2 { margin-bottom: .5rem; }
.encadre p { max-width: 56ch; }
.encadre .bouton { justify-self: start; }

/* --- Fil d'Ariane ---------------------------------------------------------- */

.ariane { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--gris); padding: 1.25rem 0; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.ariane li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--filet-fort); }
.ariane a { color: var(--gris); text-decoration: none; }
.ariane a:hover { text-decoration: underline; }

/* --- Coordonnées ----------------------------------------------------------- */

.coordonnees { list-style: none; padding: 0; margin: 0; }
.coordonnees li { margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--filet); }
.coordonnees li:last-child { border-bottom: 0; }
.coordonnees .etiquette {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gris-clair); margin-bottom: .3rem;
}
.coordonnees a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.coordonnees p { color: var(--gris); }

/* --- Formulaire ------------------------------------------------------------ */

.champ { margin-bottom: 1.4rem; }
.champ label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .94rem; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: .75rem .85rem; border: 1px solid var(--filet-fort); border-radius: 0;
  font-family: inherit; font-size: 1rem; background: var(--blanc); color: var(--encre);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.champ input:focus, .champ textarea:focus, .champ select:focus {
  outline: none; border-color: var(--eau); box-shadow: 0 0 0 3px rgba(30,122,134,.15);
}
.champ textarea { min-height: 170px; resize: vertical; }
.champ__aide { font-size: .86rem; color: var(--gris); margin-top: .4rem; }
.obligatoire { color: var(--eau); }

/* --- Pied de page ---------------------------------------------------------- */

.pied { background: var(--encre); color: rgba(255,255,255,.72); padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem; font-size: .94rem; }
.pied h2, .pied h3 { color: var(--blanc); }
.pied h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--eau-clair); margin-bottom: 1.1rem; }
.pied a { color: rgba(255,255,255,.72); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .1rem; }
.pied li a { display: inline-block; padding: .45rem 0; }
.pied__adresse a { display: inline-block; padding: .5rem 0; }
.pied__grille { display: grid; gap: 2.5rem 3rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; padding-bottom: 2.8rem; }
.wordmark { font-family: var(--display); font-size: 1.75rem; line-height: 1; color: var(--blanc); letter-spacing: -.01em; margin-bottom: .9rem; }
.wordmark small { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--eau-clair); margin-top: .45rem; }
.pied__adresse { font-family: var(--mono); font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.72); }
.pied__bas {
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; color: rgba(255,255,255,.5);
}
.pied__bas p { margin: 0; }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.pied__bas li { margin: 0; }

/* --- Adaptations ----------------------------------------------------------- */

@media (max-width: 960px) {
  .heros__grille { grid-template-columns: 1fr; }
  .heros__texte { grid-column: 1; padding-inline: var(--gouttiere); }
  .heros__visuel { grid-column: 1; min-height: 300px; order: -1; }
  .heros__visuel::after { background: linear-gradient(180deg, rgba(22,59,51,0) 60%, var(--profond) 100%); }
  .nomenclature__item { grid-template-columns: 1fr; gap: .4rem; }
  .nomenclature__ref { padding-top: 0; }
  .nomenclature__lien { padding-top: .2rem; }
  .publics { grid-template-columns: 1fr; }
  .publics > article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--filet); }
  .publics > article:first-child { padding-right: 0; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .encadre__interieur { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-etiquette { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blanc); border-bottom: 1px solid var(--filet);
    padding: .5rem var(--gouttiere) 1.5rem; box-shadow: 0 12px 24px rgba(20,35,29,.08);
  }
  .menu-bascule:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--filet); }
  .nav li:last-child { border-bottom: 0; padding-top: 1rem; }
  .nav a { display: block; padding: .9rem 0; border-bottom: 0; }
  .nav .bouton { text-align: center; }
  .entete__interieur { position: relative; min-height: 72px; }
  .logo img { height: 50px; }
}

@media (max-width: 560px) {
  .pied__grille { grid-template-columns: 1fr; }
  .cartouche span + span::before { margin: 0 .5rem; }
}

@media print {
  .entete, .pied, .heros__actions, .encadre, .sombre::before { display: none; }
  body { background: #fff; font-size: 11pt; }
  .sombre { background: #fff; color: #000; }
  .sombre h1, .sombre p { color: #000; }
}
