/* ==========================================================================
   Commune de Fandène : feuille de style principale
   CSS natif, sans framework.
   ========================================================================== */

/* ---------- 1. Jetons ---------- */
:root {
  --vert: #008f36;
  --vert-fonce: #006b28;
  --jaune: #ffeb00;
  --rouge: #e1001a;
  --or: #9c9603;
  --noir: #0b0b0b;
  --encre: #111111;
  --texte: #2b2b2b;
  --gris: #62656a;
  --gris-clair: #9a9da2;
  --ligne: #e3e3e3;
  --ligne-forte: #c9c9c9;
  --fond: #ffffff;
  --creme: #fefcf2;
  --gris-fond: #f5f5f5;

  --police: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --largeur: 1392px;
  --gouttiere: 24px;
  --section: clamp(56px, 7vw, 96px);
  --entete-h: 98px;
  --transition: 180ms ease;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-ouverte { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--encre);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: clamp(1.875rem, 3.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 800; }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }

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

a { color: var(--vert); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--vert-fonce); }

ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--ligne); margin: 0; }

::selection { background: var(--jaune); color: var(--noir); }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px;
  background: var(--noir); color: #fff;
  font-weight: 600; text-decoration: none;
}
.lien-evitement:focus { top: 12px; color: #fff; }

.icone {
  width: 1.2em; height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 3. Mise en page ---------- */
.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + var(--gouttiere) * 2);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: var(--section); }
.section--alt { background: var(--creme); }
.section--gris { background: var(--gris-fond); }
.section--serre { padding-block: clamp(40px, 5vw, 64px); }
.section:not(.section--alt):not(.section--gris) + .section:not(.section--alt):not(.section--gris) { padding-top: 0; }

.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.grille-2--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.grille-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }

.avec-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.avec-aside--large { grid-template-columns: minmax(0, 1fr) 420px; }
.colonne-lecture { max-width: 820px; }
.colonne-lecture--large { max-width: 980px; }

/* Titre de section institutionnel : grand titre, sous-titre espacé, filet */
.titre-section { margin-bottom: clamp(36px, 4vw, 52px); }
.titre-section__ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; }
.titre-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--noir);
}
.titre-section__sous {
  display: block;
  margin: 10px 0 0;
  font-size: clamp(.8125rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--or);
}
.titre-section hr { margin-top: clamp(24px, 3vw, 40px); }

.surtitre {
  display: block;
  margin-bottom: 12px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or);
}

.chapeau { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.65; color: var(--gris); max-width: 64ch; }

.entete-section { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 32px; }
.entete-section h2 { margin: 0; }
.titre-bloc { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 24px; }
.vide { padding: 32px 0; color: var(--gris); }

/* ---------- 4. Boutons & liens ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.bouton .icone { width: 18px; height: 18px; }
.bouton--jaune { background: var(--jaune); color: var(--noir); }
.bouton--jaune:hover { background: #f2de00; color: var(--noir); }
.bouton--plein { background: var(--vert); color: #fff; }
.bouton--plein:hover { background: var(--vert-fonce); color: #fff; }
.bouton--sombre { background: var(--noir); color: #fff; }
.bouton--sombre:hover { background: #333; color: #fff; }
.bouton--contour { border-color: var(--vert); color: var(--vert); background: transparent; }
.bouton--contour:hover { background: var(--vert); color: #fff; }
.bouton--contour-or { border-color: var(--or); color: var(--or); background: transparent; }
.bouton--contour-or:hover { background: var(--or); color: #fff; }
.bouton--contour-noir { border-color: var(--noir); color: var(--noir); background: transparent; }
.bouton--contour-noir:hover { background: var(--noir); color: #fff; }
.bouton--contour-blanc { border-color: #fff; color: #fff; background: transparent; }
.bouton--contour-blanc:hover { background: #fff; color: var(--noir); }
.bouton--blanc { background: #fff; color: var(--noir); }
.bouton--blanc:hover { background: var(--jaune); color: var(--noir); }
.bouton--petit { min-height: 38px; padding: 8px 16px; font-size: .75rem; }
.bouton--large { width: 100%; }

.pilule {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--noir);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--noir);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.pilule .icone { width: 16px; height: 16px; }
.pilule:hover { background: var(--noir); color: #fff; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--noir);
  text-decoration: none;
  white-space: nowrap;
}
.lien-fleche .icone { width: 16px; height: 16px; color: var(--vert); transition: transform var(--transition); }
.lien-fleche:hover { color: var(--vert); }
.lien-fleche:hover .icone { transform: translateX(3px); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 5. Bandeaux ---------- */
.tricolore { display: grid; grid-template-columns: repeat(3, 1fr); height: 8px; }
.tricolore span:nth-child(1) { background: var(--vert); }
.tricolore span:nth-child(2) { background: var(--jaune); }
.tricolore span:nth-child(3) { background: var(--rouge); }

.alerte-info { background: var(--jaune); color: var(--noir); font-size: .875rem; font-weight: 600; }
.alerte-info .conteneur { display: flex; gap: 12px; align-items: center; padding-block: 10px; }
.alerte-info .icone { width: 18px; height: 18px; }

/* ---------- 6. En-tête ---------- */
.entete { position: relative; z-index: 100; background: #fff; }
.entete__barre { display: flex; align-items: center; gap: 32px; height: var(--entete-h); }

.marque { display: flex; align-items: center; gap: 16px; color: var(--noir); text-decoration: none; flex: none; }
.marque:hover { color: var(--noir); }
.marque__embleme { display: grid; grid-template-columns: repeat(3, 12px); height: 52px; }
.marque__embleme span:nth-child(1) { background: var(--vert); }
.marque__embleme span:nth-child(2) { background: var(--jaune); position: relative; }
.marque__embleme span:nth-child(3) { background: var(--rouge); }
.marque__embleme span:nth-child(2)::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px;
  background: var(--vert);
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.marque__texte { display: flex; flex-direction: column; line-height: 1.15; }
.marque__nom { font-size: 1.0625rem; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
.marque__lieu { font-size: .75rem; font-weight: 500; color: var(--gris); margin-top: 3px; }

.nav { margin-left: auto; }
.nav__liste { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__lien {
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--entete-h);
  padding: 0 16px;
  border: 0; background: none;
  font: inherit;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--noir);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav__lien .icone { display: none; }
.nav__lien:hover,
.nav__lien[aria-expanded="true"],
.nav__lien.actif { color: var(--vert); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 1px solid var(--ligne);
  box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
  visibility: hidden; opacity: 0;
  transition: opacity var(--transition), visibility 0s linear 180ms;
}
.nav__lien[aria-expanded="true"] + .mega { visibility: visible; opacity: 1; transition: opacity var(--transition), visibility 0s; }
.mega__interieur { display: grid; grid-template-columns: 320px 1fr; gap: 64px; padding-block: 40px 48px; }
.mega__intro h2 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 12px; }
.mega__intro p { color: var(--gris); font-size: .9375rem; }
.mega__liens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.mega__liens a { display: block; padding: 16px 0; border-bottom: 1px solid var(--ligne); color: var(--noir); text-decoration: none; }
.mega__liens strong { display: block; font-weight: 600; font-size: .9375rem; }
.mega__liens span { display: block; font-size: .8125rem; color: var(--gris); margin-top: 2px; }
.mega__liens a:hover strong { color: var(--vert); }

.nav__mobile-cta { display: none; }
.entete__actions { display: flex; align-items: center; gap: 10px; }
.bouton-icone {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--noir);
  cursor: pointer;
}
.bouton-icone:hover { background: var(--gris-fond); }
.bouton-icone .icone { width: 22px; height: 22px; }
.bouton-menu { display: none; }
.bouton-menu .i-fermer,
.bouton-menu[aria-expanded="true"] .i-ouvrir { display: none; }
.bouton-menu[aria-expanded="true"] .i-fermer { display: block; }

.recherche-entete { display: none; border-top: 1px solid var(--ligne); background: #fff; }
.recherche-entete.ouverte { display: block; }
.recherche-entete form { display: flex; gap: 12px; padding-block: 20px; }
.recherche-entete input { flex: 1; }

/* ---------- 7. Héro d'accueil ---------- */
.hero-inst { padding-inline: var(--gouttiere); }
.hero-inst__cadre {
  position: relative;
  max-width: var(--largeur);
  margin-inline: auto;
  min-height: min(72vh, 660px);
  display: grid;
  place-items: center;
  background: var(--noir);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-inst__cadre > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-inst__cadre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .38); }
.hero-inst__texte { padding: 80px 24px 120px; text-align: center; }
.hero-inst h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.875rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.hero-inst__devise {
  margin: 18px 0 0;
  font-size: clamp(.9375rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-inst__lieu { margin: 10px 0 0; font-size: .9375rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.hero-inst__onglet {
  position: absolute; left: 0; bottom: 0;
  display: inline-flex; align-items: center;
  height: 54px;
  padding: 0 56px;
  background: var(--jaune);
  color: var(--noir);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.hero-inst__onglet:hover { background: #fff; color: var(--noir); }

/* Deux panneaux sous le héro */
.duo { padding-inline: var(--gouttiere); }
.duo__grille { max-width: var(--largeur); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.duo__panneau {
  position: relative;
  display: flex; align-items: center;
  min-height: 280px;
  padding: 40px clamp(24px, 9%, 136px);
  color: #fff;
  background: var(--noir);
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
}
.duo__panneau > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.duo__panneau::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .55); }
.duo__panneau:hover { color: #fff; }
.duo__panneau:hover > img { transform: scale(1.03); }
.duo__panneau h2 { color: #fff; font-size: clamp(1.125rem, 1.7vw, 1.375rem); font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.duo__panneau p { font-weight: 600; margin-bottom: 22px; color: rgba(255, 255, 255, .92); }
.duo__panneau:hover .bouton { background: #fff; color: var(--noir); }

/* Appel central */
.appel { padding-block: clamp(48px, 6vw, 72px) 8px; text-align: center; }
.appel h2 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 700; text-transform: uppercase; color: #333; margin-bottom: 18px; }

/* ---------- 8. Actualités ---------- */
.actus-inst { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); gap: 40px; align-items: start; }
.actus-inst__une a { display: block; color: inherit; text-decoration: none; text-align: center; }
.actus-inst__une h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3; margin: 28px 0 18px; }
.actus-inst__une a:hover h3 { color: var(--vert); }
.actus-inst__autres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 110px; }

.media { position: relative; overflow: hidden; background: var(--gris-fond); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--carre { aspect-ratio: 1; }
a:hover .media img { transform: scale(1.03); }
.media__vide { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gris-clair); }
.media__vide .icone { width: 40px; height: 40px; stroke-width: 1.2; }

.meta-article {
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center;
  margin: 14px 0 0;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--texte);
}
.meta-article .categorie { color: var(--vert); }
.actus-inst__une .meta-article { justify-content: center; }

.carte-article a { display: block; color: inherit; text-decoration: none; }
.carte-article h3 { font-size: .9375rem; font-weight: 500; line-height: 1.6; margin: 16px 0 0; color: var(--texte); }
.carte-article p { color: var(--gris); font-size: .875rem; margin: 10px 0 0; }
.carte-article a:hover h3 { color: var(--vert); }
.carte-article--grand h3 { font-size: 1.125rem; font-weight: 700; color: var(--encre); }

/* ---------- 9. Agenda ---------- */
.agenda { margin: 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.evenement a { display: grid; grid-template-columns: 200px 1fr; gap: 40px; color: inherit; text-decoration: none; }
.date-bloc {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 116px;
  border-radius: 4px;
  background: var(--jaune);
  color: var(--noir);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}
.date-bloc__jour-semaine { font-size: 1rem; text-transform: capitalize; }
.date-bloc__jour { font-size: 1.875rem; font-weight: 800; margin: 2px 0; }
.date-bloc__mois { font-size: 1rem; text-transform: capitalize; }
.evenement__corps {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 40px;
  border-top: 3px solid var(--noir);
  background: var(--creme);
}
.evenement h3 { font-size: .9375rem; font-weight: 700; line-height: 1.5; margin: 0; max-width: 60ch; }
.evenement__lieu { margin: 6px 0 0; font-size: .8125rem; color: var(--gris); }
.evenement__suite { font-size: .875rem; font-weight: 700; color: var(--noir); white-space: nowrap; }
.evenement a:hover h3, .evenement a:hover .evenement__suite { color: var(--vert); }
.section--alt .evenement__corps { background: #fff; }
.agenda--passe .date-bloc { background: var(--gris-fond); color: var(--gris); }

/* ---------- 10. Trois colonnes illustrées ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.trio__item .media { aspect-ratio: 5 / 4; }
.trio__item h3 { margin: 40px 0 14px; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 400; text-transform: uppercase; line-height: 1.2; }
.trio__item p { font-size: .9375rem; margin-bottom: 24px; min-height: 3.4em; }

/* ---------- 11. Section sur photo avec panneaux ---------- */
.sur-photo { position: relative; padding-block: clamp(56px, 6vw, 80px); color: #fff; background: var(--noir); isolation: isolate; }
.sur-photo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sur-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .6); }
.sur-photo__titre { color: #fff; text-align: center; text-transform: uppercase; font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.2; margin: 0 auto 48px; max-width: 18ch; }
.panneaux { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.panneau { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; color: var(--texte); }
.panneau .media { aspect-ratio: 1; }
.panneau__corps { display: flex; flex-direction: column; flex: 1; padding: 22px 16px 16px; }
.panneau h3 { color: var(--vert); font-size: 1.25rem; line-height: 1.5; margin: 0 0 16px; min-height: 3em; }
.panneau p { font-size: .8125rem; line-height: 1.5; margin: 0 0 20px; }
.panneau .bouton { margin-top: auto; align-self: flex-start; }

/* ---------- 12. Listes (démarches, documents) ---------- */
.liste-lignes { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--noir); }
.ligne {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ligne);
  color: var(--encre);
  text-decoration: none;
}
.ligne__titre { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.ligne__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 6px; font-size: .8125rem; color: var(--gris); }
.ligne__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ligne__meta .icone { width: 15px; height: 15px; }
.ligne > .icone { width: 20px; height: 20px; color: var(--vert); transition: transform var(--transition); }
.ligne__suite { font-size: .8125rem; font-weight: 700; color: var(--noir); white-space: nowrap; }
a.ligne:hover { color: var(--encre); }
a.ligne:hover .ligne__titre, a.ligne:hover .ligne__suite { color: var(--vert); }
a.ligne:hover > .icone { transform: translateX(3px); }
.liste-lignes--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }

.pastille {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: #e6f4ea; color: var(--vert-fonce);
}
.pastille--jaune { background: var(--jaune); color: var(--noir); }
.pastille--gris { background: var(--gris-fond); color: var(--texte); }
.pastille--rouge { background: #fde8ea; color: #a8001a; }

.liste-documents { border-top: 3px solid var(--noir); }
.document { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.document__type { display: grid; place-items: center; width: 48px; height: 56px; background: var(--gris-fond); font-size: .6875rem; font-weight: 800; color: var(--rouge); }
.document h3 { font-size: .9375rem; margin: 0 0 4px; line-height: 1.4; }
.document p { font-size: .8125rem; color: var(--gris); margin: 0; }
.document__action { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.document__action .icone { width: 18px; height: 18px; }
.document__indispo { font-size: .8125rem; color: var(--gris-clair); }

/* ---------- 13. Projets ---------- */
.projet a { display: block; color: inherit; text-decoration: none; }
.projet h3 { font-size: 1.0625rem; line-height: 1.4; margin: 14px 0 8px; }
.projet p { font-size: .875rem; color: var(--gris); }
.projet a:hover h3 { color: var(--vert); }
.projet__entete { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: .75rem; font-weight: 600; text-transform: uppercase; color: var(--gris); }
.progression { margin-top: 14px; }
.progression__barre { height: 6px; background: var(--ligne); overflow: hidden; }
.progression__barre span { display: block; height: 100%; background: var(--vert); }
.progression__texte { display: flex; justify-content: space-between; margin-top: 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--noir); }

/* ---------- 14. Galerie ---------- */
.mosaique { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 8px; }
.mosaique figure { margin: 0; position: relative; overflow: hidden; background: var(--gris-fond); }
.mosaique figure:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.mosaique--uniforme { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.mosaique--uniforme figure { aspect-ratio: 4 / 3; }
.mosaique--uniforme figure:nth-child(6n + 1) { grid-column: auto; grid-row: auto; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.mosaique figure:hover img { transform: scale(1.03); }
.mosaique figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  background: rgba(0, 0, 0, .72);
  color: #fff; font-size: .8125rem; font-weight: 500;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.mosaique figure:hover figcaption, .mosaique figure:focus-within figcaption { transform: none; }
.mosaique button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.mosaique button:focus-visible { outline: 2px solid var(--jaune); outline-offset: -2px; }

.visionneuse { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 64px 24px; background: rgba(0, 0, 0, .94); }
.visionneuse.ouverte { display: flex; }
.visionneuse figure { margin: 0; max-width: 1100px; }
.visionneuse img { max-height: 78vh; width: auto; margin-inline: auto; }
.visionneuse figcaption { margin-top: 14px; color: #ddd; text-align: center; font-size: .9375rem; }
.visionneuse__fermer { position: absolute; top: 16px; right: 16px; color: #fff; }
.visionneuse__fermer:hover { background: rgba(255, 255, 255, .12); }

/* ---------- 15. Lettre d'information ---------- */
.lettre-inst { background: var(--gris-fond); padding-block: clamp(48px, 6vw, 72px); }
.lettre-inst__interieur { max-width: 1140px; margin-inline: auto; }
.lettre-inst h2 { font-size: clamp(1.5rem, 3.4vw, 2.75rem); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 14px; }
.lettre-inst p { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; color: var(--noir); margin-bottom: 36px; }
.lettre-inst input[type="email"] {
  min-height: 56px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--ligne-forte);
  border-radius: 0;
  background: transparent;
  font-size: 1.0625rem;
  font-weight: 600;
}
.lettre-inst input[type="email"]:focus { box-shadow: none; border-bottom-color: var(--noir); }
.lettre-inst .bouton { margin-top: 20px; }

.lettre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: center; }
.lettre h2 { margin-bottom: 10px; text-transform: uppercase; }
.lettre p { color: var(--gris); }

/* ---------- 16. Formulaires ---------- */
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ--plein { grid-column: 1 / -1; }
.champ label, .champ__libelle { font-size: .875rem; font-weight: 600; color: var(--encre); }
.champ .obligatoire { color: var(--rouge); margin-left: 2px; }
.champ__aide { font-size: .8125rem; color: var(--gris); line-height: 1.45; }
.champ__erreur { font-size: .8125rem; font-weight: 600; color: #b00016; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="date"], input[type="search"], input[type="password"], input[type="url"],
select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--ligne-forte);
  border-radius: 4px;
  background: #fff;
  font: inherit;
  font-size: .9375rem;
  color: var(--encre);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230b0b0b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
input:hover, select:hover, textarea:hover { border-color: var(--gris-clair); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(0, 143, 54, .15); }
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border-color: #b00016; }
input[type="file"] { width: 100%; padding: 18px; border: 1px dashed var(--ligne-forte); border-radius: 4px; background: var(--gris-fond); font: inherit; font-size: .875rem; }
input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 14px; border: 0; border-radius: 4px; background: var(--noir); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.champ .case { font-weight: 400; color: var(--texte); }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; line-height: 1.55; }
.case input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--vert); flex: none; }

.formulaire { display: grid; gap: 48px; }
.formulaire__bloc { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 32px; border-top: 1px solid var(--ligne); }

.formulaire__titre { display: flex; gap: 14px; }
.formulaire__num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--jaune); color: var(--noir); font-weight: 800; }
.formulaire__titre h2 { font-size: 1rem; text-transform: uppercase; margin: 6px 0; }
.formulaire__titre p { font-size: .8125rem; color: var(--gris); }
.formulaire__champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.formulaire__pied { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--ligne); }
.formulaire__pied p { font-size: .8125rem; color: var(--gris); max-width: 56ch; margin: 0; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.erreurs-formulaire { padding: 16px 20px; background: #fde8ea; color: #a8001a; font-weight: 600; font-size: .9375rem; }

.barre-recherche { display: flex; gap: 10px; max-width: 760px; margin-top: 32px; }
.barre-recherche input { flex: 1; }
.filtres { display: flex; gap: 4px 32px; flex-wrap: wrap; margin: 0 0 40px; padding: 0; list-style: none; border-bottom: 1px solid var(--ligne); }
.filtres a { display: inline-block; padding: 14px 0; margin-bottom: -1px; border-bottom: 3px solid transparent; font-size: .8125rem; font-weight: 600; text-transform: uppercase; color: var(--gris); text-decoration: none; white-space: nowrap; }
.filtres a:hover { color: var(--noir); }
.filtres a.actif { color: var(--noir); border-bottom-color: var(--jaune); }
.filtres-selects { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; align-items: flex-end; }
.filtres-selects .champ { min-width: 240px; }

/* ---------- 17. Messages ---------- */
.messages { list-style: none; margin: 0; padding: 0; }
.message { padding: 14px 0; font-weight: 600; font-size: .9375rem; }
.message .conteneur { display: flex; align-items: center; gap: 12px; }
.message--success { background: #e6f4ea; color: var(--vert-fonce); }
.message--error { background: #fde8ea; color: #a8001a; }
.message--info, .message--warning { background: #fffbd1; color: #4d4600; }
.message .icone { width: 20px; height: 20px; }

/* ---------- 18. En-tête de page intérieure ---------- */
.entete-page { padding-block: clamp(36px, 5vw, 64px) 0; }
.entete-page h1 { margin: 0; text-transform: uppercase; max-width: 26ch; }
.entete-page .chapeau { margin-top: 20px; }
.entete-page__filet { margin-top: clamp(28px, 4vw, 44px); }
.entete-page--image { padding: 0 var(--gouttiere); }
.entete-page__cadre {
  position: relative;
  max-width: var(--largeur);
  margin-inline: auto;
  min-height: 380px;
  display: flex; align-items: flex-end;
  padding: 64px clamp(24px, 5vw, 64px) 48px;
  background: var(--noir);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.entete-page__cadre > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.entete-page__cadre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .5); }
.entete-page--image h1 { color: #fff; }
.entete-page--image .chapeau { color: rgba(255, 255, 255, .9); }
.entete-page--image .surtitre { color: var(--jaune); }
.entete-page--image .fil, .entete-page--image .fil a { color: rgba(255, 255, 255, .85); }

.fil { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .75rem; font-weight: 600; text-transform: uppercase; color: var(--gris); }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--gris-clair); }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--vert); }

/* ---------- 19. Contenu éditorial ---------- */
.prose { font-size: 1rem; line-height: 1.8; color: var(--texte); max-width: 74ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.375rem; text-transform: uppercase; margin: 2em 0 .2em; }
.prose h3 { font-size: 1.125rem; margin: 1.6em 0 .2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--vert); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; background: var(--creme); border-top: 3px solid var(--noir); font-weight: 500; color: var(--encre); }
.prose strong { color: var(--encre); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ligne); }

.article-image { margin: 0 0 40px; }
.article-image figcaption { margin-top: 12px; font-size: .8125rem; color: var(--gris); }

.aside-bloc { background: var(--creme); border-top: 3px solid var(--noir); padding: 28px; }
.aside-bloc + .aside-bloc { margin-top: 20px; }
.aside-bloc h2, .aside-bloc h3 { font-size: .9375rem; text-transform: uppercase; margin-bottom: 18px; }
.aside-collant { position: sticky; top: 24px; }
.faits { margin: 0 0 24px; }
.faits div { display: grid; grid-template-columns: 24px 1fr; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.faits div:first-child { padding-top: 0; }
.faits dt { grid-column: 2; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.faits dd { grid-column: 2; margin: 0; font-weight: 600; font-size: .9375rem; color: var(--encre); line-height: 1.45; }
.faits .icone { grid-row: span 2; width: 20px; height: 20px; color: var(--vert); margin-top: 2px; }
.note-aside { margin: 14px 0 0; font-size: .75rem; color: var(--gris); line-height: 1.5; }

.nav-laterale { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--noir); }
.nav-laterale a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ligne); color: var(--texte); text-decoration: none; font-size: .875rem; font-weight: 500; }
.nav-laterale a:hover { color: var(--vert); }
.nav-laterale a.actif { color: var(--vert); font-weight: 700; }

.pieces { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--noir); }
.pieces li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: .9375rem; }
.pieces .icone { width: 20px; height: 20px; color: var(--vert); margin-top: 3px; stroke-width: 2; }
.etapes { margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 10px 0; align-items: center; font-size: .9375rem; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px; background: var(--jaune); color: var(--noir); font-weight: 800; font-size: .875rem; }
.bloc-contenu + .bloc-contenu { margin-top: 56px; }
.bloc-contenu h2 { font-size: 1.125rem; text-transform: uppercase; margin-bottom: 18px; }

.categorie-demarches { display: grid; grid-template-columns: 320px 1fr; gap: 48px; padding-block: 48px; border-top: 1px solid var(--ligne); }
.categorie-demarches:first-of-type { border-top: 0; padding-top: 0; }
.categorie-demarches__titre .icone { display: none; }
.categorie-demarches__titre h2 { font-size: 1.375rem; text-transform: uppercase; }
.categorie-demarches__titre p { color: var(--gris); font-size: .9375rem; }

/* Accès rapides (page démarches) */
.acces { background: var(--creme); }
.acces__liste { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.acces__liste--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.acces__liste li + li { border-left: 1px solid var(--ligne); }
.acces__lien { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px 24px; color: var(--noir); text-decoration: none; }
.acces__lien .icone { width: 28px; height: 28px; color: var(--vert); stroke-width: 1.4; }
.acces__lien strong { font-size: .8125rem; font-weight: 700; text-transform: uppercase; line-height: 1.4; }
.acces__lien:hover strong { color: var(--vert); }

/* Suivi */
.suivi-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.resultat-suivi { margin-top: 48px; padding-top: 40px; border-top: 3px solid var(--noir); }
.resultat-suivi__entete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 40px; }
.resultat-suivi__entete h2 { font-size: 1.375rem; margin-bottom: 6px; }
.reference { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 600; letter-spacing: .04em; }
.etapes-suivi { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 40px; padding: 0; list-style: none; }
.etapes-suivi li { position: relative; padding-top: 30px; font-size: .8125rem; font-weight: 700; text-transform: uppercase; color: var(--gris-clair); }
.etapes-suivi li::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 3px; background: var(--ligne); }
.etapes-suivi li::after { content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 18px; background: #fff; border: 3px solid var(--ligne-forte); border-radius: 50%; }
.etapes-suivi li.fait { color: var(--noir); }
.etapes-suivi li.fait::before { background: var(--vert); }
.etapes-suivi li.fait::after { background: var(--jaune); border-color: var(--noir); }
.note-agent { padding: 20px 24px; background: var(--creme); border-top: 3px solid var(--noir); font-size: .9375rem; }
.note-agent + .note-agent { margin-top: 16px; }

/* Confirmation */
.confirmation__icone { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 4px; background: var(--jaune); color: var(--noir); margin-bottom: 32px; }
.confirmation__icone .icone { width: 32px; height: 32px; stroke-width: 2.4; }
.confirmation h1 { text-transform: uppercase; }
.confirmation__ref { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 32px 0; padding: 24px 28px; background: var(--creme); border-top: 3px solid var(--noir); }
.confirmation__ref strong { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--noir); }
.confirmation__ref span { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); display: block; }

/* Élus */
.elus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.elu__photo { aspect-ratio: 4 / 5; background: var(--gris-fond); overflow: hidden; margin-bottom: 16px; }
.elu__photo img { width: 100%; height: 100%; object-fit: cover; }
.elu__initiales { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2.5rem; font-weight: 800; color: var(--ligne-forte); }
.elu h3 { font-size: 1rem; margin-bottom: 4px; }
.elu p { font-size: .8125rem; color: var(--gris); margin: 0; }
.elu__fonction { color: var(--vert) !important; font-weight: 700; text-transform: uppercase; }
.liste-conseillers { columns: 3; column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.liste-conseillers li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.liste-conseillers strong { display: block; color: var(--encre); font-weight: 600; }
.liste-conseillers span { font-size: .8125rem; color: var(--gris); }

.maire { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.maire--sans-photo { grid-template-columns: minmax(0, 1fr); }
.maire--sans-photo > div { max-width: 900px; }
.maire__portrait { aspect-ratio: 4 / 5; background: var(--gris-fond); overflow: hidden; }
.maire__portrait img { width: 100%; height: 100%; object-fit: cover; }
.maire__citation { margin: 0 0 32px; font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 600; line-height: 1.5; color: var(--encre); }
.signature { display: flex; flex-direction: column; margin-top: 32px; }
.signature strong { font-size: 1rem; text-transform: uppercase; color: var(--noir); }
.signature span { font-size: .875rem; color: var(--gris); }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.chiffre { display: flex; flex-direction: column-reverse; justify-content: center; align-items: center; min-height: 140px; padding: 20px; border-radius: 4px; background: var(--jaune); text-align: center; }
.chiffre dt { font-size: .8125rem; font-weight: 700; text-transform: uppercase; color: var(--noir); margin-top: 6px; }
.chiffre dd { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--noir); line-height: 1.1; }
.chiffres--clair { margin-bottom: clamp(48px, 7vw, 80px); }

.villages { columns: 4; column-gap: 40px; margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--noir); }
.villages li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); font-weight: 600; color: var(--encre); }
.villages li span { font-size: .75rem; color: var(--gris); font-weight: 600; text-transform: uppercase; }

/* Contact */
.coordonnees { margin: 0; border-top: 3px solid var(--noir); }
.coordonnees div { display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.coordonnees .icone { grid-row: span 2; width: 22px; height: 22px; color: var(--vert); }
.coordonnees dt { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.coordonnees dd { margin: 0; color: var(--encre); font-weight: 600; white-space: pre-line; font-size: .9375rem; }
.coordonnees a { color: var(--encre); }
.carte-integree { margin-top: 32px; aspect-ratio: 4 / 3; background: var(--gris-fond); }
.carte-integree iframe { width: 100%; height: 100%; border: 0; }

.resultats-groupe + .resultats-groupe { margin-top: 56px; }
.resultats-groupe h2 { font-size: 1rem; text-transform: uppercase; display: flex; gap: 10px; align-items: baseline; }
.resultats-groupe h2 span { font-size: .8125rem; color: var(--gris); font-weight: 600; }

.partage { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.partage > span { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--noir); margin-right: 8px; }
.partage a, .partage button {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1.5px solid var(--noir);
  border-radius: 50%;
  background: none;
  color: var(--noir);
  font-size: 0;
  cursor: pointer;
}
.partage a:hover, .partage button:hover { background: var(--noir); color: #fff; }
.partage .icone { width: 18px; height: 18px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 64px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 4px; font-size: .875rem; font-weight: 700; color: var(--noir); text-decoration: none; }
.pagination a:hover { background: var(--gris-fond); }
.pagination .courant { background: var(--jaune); }

.erreur { padding-block: clamp(80px, 14vw, 180px); text-align: center; }
.erreur__code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; line-height: .9; color: var(--noir); margin-bottom: 24px; }
.erreur h1 { text-transform: uppercase; }
.erreur .chapeau { margin-inline: auto; }
.erreur .hero__actions { justify-content: center; }

/* ---------- 20. Pied de page ---------- */
.pied { background: var(--noir); color: #fff; font-size: .875rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__embleme { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 64px; text-align: center; color: #fff; }
.pied__embleme:hover { text-decoration: none !important; }
.pied__embleme .marque__embleme { grid-template-columns: repeat(3, 16px); height: 72px; }
.pied__embleme .marque__embleme span:nth-child(2)::after { width: 13px; height: 13px; }
.pied__embleme strong { font-size: 1.125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.pied .pied__menu { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin: 0; padding: 56px 0; list-style: none; }
.pied__menu a { font-size: .9375rem; font-weight: 700; text-transform: uppercase; }
.pied__colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 8px 0 56px; }
.pied h2 { font-size: .9375rem; font-weight: 700; color: #fff; margin: 0 0 16px; }
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied__colonnes li + li { margin-top: 8px; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.pied__bas h2 { margin-bottom: 14px; }
.reseaux { display: flex; gap: 10px; }
.reseaux a { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid #fff; border-radius: 50%; }
.reseaux a:hover { background: #fff; color: var(--noir); text-decoration: none; }
.reseaux .icone { width: 18px; height: 18px; }
.pied__adresse { text-align: right; font-size: .8125rem; font-weight: 500; text-transform: uppercase; line-height: 1.8; }
.pied__adresse p { margin: 0; }
.pied__horaires { white-space: pre-line; margin-top: 12px !important; text-transform: none; color: rgba(255, 255, 255, .7); }
.pied__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 0 0 48px; font-size: .8125rem; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pied__legal p { margin: 0; }
.pied__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied__legal a { color: rgba(255, 255, 255, .55); }

.haut-de-page {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--jaune); color: var(--noir);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.haut-de-page.visible { opacity: 1; visibility: visible; }
.haut-de-page .icone { transform: rotate(180deg); }

/* ---------- 21. Adaptatif ---------- */
@media (max-width: 1560px) {
  .marque__lieu, .pilule--dossier { display: none; }
  .nav__lien { padding: 0 13px; }
  .entete__barre { gap: 24px; }
}

@media (max-width: 1320px) {
  .nav__lien { padding: 0 9px; font-size: .8125rem; }
}

@media (max-width: 1260px) {
  :root { --entete-h: 76px; }
  .bouton-menu { display: inline-grid; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    top: var(--nav-haut, var(--entete-h));
    z-index: 99;
    margin: 0;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden; opacity: 0;
    transition: opacity var(--transition), visibility 0s linear 180ms;
  }
  .nav.ouverte { visibility: visible; opacity: 1; transition: opacity var(--transition), visibility 0s; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gouttiere) 32px; }
  .nav__element { border-bottom: 1px solid var(--ligne); }
  .nav__lien { width: 100%; height: auto; min-height: 60px; justify-content: space-between; padding: 0; font-size: 1rem; font-weight: 600; }
  .nav__lien .icone { display: block; width: 18px; height: 18px; transition: transform var(--transition); }
  .nav__lien[aria-expanded="true"] .icone { transform: rotate(180deg); }
  .mega { position: static; display: none; visibility: visible; opacity: 1; border: 0; box-shadow: none; }
  .nav__lien[aria-expanded="true"] + .mega { display: block; }
  .mega .conteneur { padding: 0; }
  .mega__interieur { display: block; padding: 0 0 16px; }
  .mega__intro { display: none; }
  .mega__liens { grid-template-columns: 1fr; }
  .mega__liens a { padding: 12px 0 12px 16px; border-bottom: 0; }
  .mega__liens span { display: none; }
  .nav__mobile-cta { display: grid !important; gap: 12px; padding: 24px var(--gouttiere) 40px; }
  .pilule--recherche span { display: none; }
  .pilule--recherche { width: 40px; padding: 0; justify-content: center; }

  .actus-inst { grid-template-columns: 1fr; }
  .actus-inst__autres { padding-top: 0; }
  .avec-aside, .avec-aside--large, .grille-2--7-5, .lettre, .maire { grid-template-columns: 1fr; }
  .aside-collant { position: static; }
  .panneaux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-4, .elus { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .categorie-demarches, .formulaire__bloc { grid-template-columns: 1fr; gap: 24px; }
  .villages { columns: 3; }
  .liste-conseillers { columns: 2; }
  .maire__portrait { max-width: 420px; }
  .pied__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .duo__grille, .grille-2, .liste-lignes--2col { grid-template-columns: 1fr; }
  .grille-3 { grid-template-columns: 1fr; gap: 48px; }
  .trio__item h3 { font-size: 1rem; }
  .trio__item p { font-size: .8125rem; }
  .trio__item p { min-height: 0; }
  .trio__item h3 { margin-top: 24px; }
  .actus-inst__autres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evenement a { grid-template-columns: 120px 1fr; gap: 16px; }
  .evenement__corps { padding: 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .mosaique--uniforme { grid-auto-rows: auto; }
  .suivi-form { grid-template-columns: 1fr; }
  .acces__liste, .acces__liste--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acces__liste li { border-left: 0 !important; border-top: 1px solid var(--ligne); }
  .acces__liste li:nth-child(even) { border-left: 1px solid var(--ligne) !important; }
  .acces__liste li:nth-child(-n + 2) { border-top: 0; }
  .pied__menu { justify-content: flex-start; flex-direction: column; gap: 14px; padding: 40px 0; }
  .pied__adresse { text-align: left; }
}

@media (max-width: 640px) {
  :root { --gouttiere: 16px; --entete-h: 68px; }
  .marque { gap: 12px; }
  .marque__embleme { grid-template-columns: repeat(3, 8px); height: 38px; }
  .marque__embleme span:nth-child(2)::after { width: 7px; height: 7px; }
  .marque__nom { font-size: .8125rem; }
  .entete__barre { gap: 12px; }
  .entete__actions { gap: 4px; }
  .pilule--dossier { display: none; }
  .hero-inst__cadre { min-height: 520px; }
  .hero-inst__onglet { height: 48px; padding: 0 28px; }
  .duo__panneau { min-height: 240px; padding: 32px 20px; }
  .actus-inst__autres, .panneaux, .grille-4 { grid-template-columns: 1fr; }
  .elus { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .evenement a { grid-template-columns: 1fr; gap: 0; }
  .date-bloc { flex-direction: row; gap: 8px; min-height: 0; padding: 10px 16px; border-radius: 4px 4px 0 0; justify-content: flex-start; }
  .date-bloc__jour { font-size: 1.125rem; margin: 0; }
  .formulaire__champs { grid-template-columns: 1fr; }
  .formulaire__pied .bouton { width: 100%; }
  .lettre-inst .bouton { width: 100%; }
  .barre-recherche { flex-direction: column; }
  .villages { columns: 2; column-gap: 24px; }
  .liste-conseillers { columns: 1; }
  .document { grid-template-columns: 40px 1fr; }
  .document__type { width: 40px; height: 48px; }
  .document__action, .document__indispo { grid-column: 2; }
  .etapes-suivi { grid-template-columns: 1fr; }
  .etapes-suivi li { padding: 0 0 22px 34px; }
  .etapes-suivi li::before { top: 18px; bottom: 0; left: 7px; right: auto; width: 3px; height: auto; }
  .etapes-suivi li:last-child::before { display: none; }
  .mosaique { grid-auto-rows: 140px; }
  .aside-bloc { padding: 22px; }
  .filtres { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gouttiere) * -1); padding-inline: var(--gouttiere); }
  .filtres::-webkit-scrollbar { display: none; }
  .filtres-selects .champ { min-width: 0; flex: 1 1 100%; }
  .pied__colonnes { grid-template-columns: 1fr; }
  .entete-page__cadre { min-height: 300px; padding: 40px 20px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* ---------- 22. Impression ---------- */
@media print {
  .entete, .pied, .haut-de-page, .lettre-inst, .bouton, .nav, .alerte-info, .tricolore { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a { color: #000; }
  .aside-bloc { background: none; padding: 0; }
}


/* ---------- 23. Compléments ---------- */
.signaler {
  position: fixed; right: 20px; bottom: 84px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px;
  padding: 0 16px 0 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--noir);
  text-decoration: none;
}
.signaler .icone { width: 24px; height: 24px; color: #1faa53; stroke-width: 1.8; }
.signaler:hover { background: var(--noir); color: #fff; }

.appel__actions { justify-content: center; }
.aside-bloc--espace { margin-bottom: 40px; }

.video { margin: 0; }
.video__cadre { aspect-ratio: 16 / 9; background: var(--noir); }
.video__cadre iframe { width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 14px; font-size: .9375rem; font-weight: 600; color: var(--encre); }

.partenaires { display: flex; flex-wrap: wrap; gap: 16px 56px; margin: 0; padding: 0; list-style: none; }
.partenaires li { font-size: 1rem; font-weight: 700; text-transform: uppercase; color: var(--gris); }
.partenaires a { color: inherit; text-decoration: none; }
.partenaires a:hover { color: var(--vert); }

.pied__presentation { max-width: 620px; margin: 20px auto 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: .875rem; }

@media (max-width: 640px) {
  .signaler { right: 12px; bottom: 68px; height: 44px; padding: 0 14px 0 16px; }
}

@media (max-width: 640px) {
  .marque { flex: 0 1 auto; min-width: 0; }
  .marque__texte { min-width: 0; }
  .marque__nom { font-size: .75rem; line-height: 1.25; }
}

.titre-section + .liste-lignes,
.titre-section + .liste-documents { border-top: 0; }

/* ---------- 24. Mobile et tablette : typographie et espacements ---------- */
@media (max-width: 860px) {
  :root { --section: 56px; }
  .titre-section { margin-bottom: 28px; }
  .titre-section h2 { font-size: clamp(1.625rem, 6vw, 2.25rem); line-height: 1.1; }
  .titre-section__sous { letter-spacing: .22em; font-size: .75rem; line-height: 1.6; }
  .titre-section__ligne { align-items: flex-start; flex-direction: column; gap: 18px; }
  .titre-section hr { margin-top: 24px; }
  .entete-page h1 { font-size: clamp(1.625rem, 6.4vw, 2.25rem); line-height: 1.12; }
  .entete-page .titre-section__sous { margin-top: 12px; }
  .surtitre { letter-spacing: .18em; }
  .sur-photo__titre { font-size: clamp(1.5rem, 6.4vw, 2.25rem); margin-bottom: 32px; }
  .trio__item .media, .panneau .media { aspect-ratio: 16 / 10; }
  .panneau h3 { min-height: 0; margin-bottom: 10px; }
  .appel h2 { font-size: 1.125rem; }
  .lettre-inst h2 { font-size: 1.375rem; letter-spacing: .01em; }
  .lettre-inst p { font-size: 1rem; margin-bottom: 24px; }
}

@media (max-width: 640px) {
  body { font-size: .9375rem; }
  .hero-inst { padding-inline: 0; }
  .hero-inst__cadre { min-height: 460px; }
  .hero-inst__texte { padding: 56px 20px 96px; }
  .hero-inst h1 { font-size: 1.625rem; line-height: 1.15; }
  .hero-inst__devise { font-size: .875rem; margin-top: 14px; }
  .hero-inst__lieu { font-size: .8125rem; }
  .duo { padding-inline: 0; }
  .duo__panneau { min-height: 0; padding: 36px 20px; }
  .duo__panneau h2 { font-size: 1.0625rem; }
  .duo__panneau p { font-size: .875rem; margin-bottom: 18px; }
  .appel { padding-top: 40px; }
  .appel__actions .bouton { width: 100%; }
  .entete-page--image { padding: 0; }
  .titre-section h2 { font-size: 1.625rem; }
  .titre-section__sous { letter-spacing: .16em; }
  .trio { gap: 40px; }
  .trio__item h3 { font-size: 1.25rem; margin: 20px 0 10px; }
  .panneaux { gap: 16px; }
  .ligne { gap: 6px 16px; padding: 18px 0; }
  .ligne__titre { font-size: .9375rem; }
  .ligne__suite { font-size: .75rem; }
  .categorie-demarches { padding-block: 36px; }
  .categorie-demarches__titre h2 { font-size: 1.25rem; }
  .acces__lien { padding: 20px 16px; }
  .chapeau { font-size: 1rem; }
  .prose h2 { font-size: 1.125rem; }
  .bloc-contenu + .bloc-contenu { margin-top: 40px; }
  .formulaire { gap: 32px; }
  .confirmation__ref { padding: 20px; }
  .confirmation__ref .bouton { width: 100%; }

  /* Bouton Signaler : rond et discret pour ne rien masquer */
  .signaler { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; font-size: 0; gap: 0; right: 14px; bottom: 78px; }
  .signaler .icone { width: 26px; height: 26px; }
  .haut-de-page { right: 16px; bottom: 18px; width: 46px; height: 46px; }

  /* Pied de page : pas de doublon de menus */
  .pied .pied__menu { display: none; }
  .pied__embleme { padding-top: 48px; padding-bottom: 32px; }
  .pied__embleme strong { font-size: .9375rem; }
  .pied__colonnes { gap: 28px; padding-bottom: 40px; }
  .pied__bas { padding: 28px 0; }
  .pied__adresse { font-size: .75rem; }
  .pied__legal { font-size: .6875rem; padding-bottom: 96px; }
}

@media (max-width: 380px) {
  .hero-inst h1 { font-size: 1.4375rem; }
  .titre-section h2, .entete-page h1 { font-size: 1.4375rem; }
  .marque__nom { font-size: .6875rem; }
}

/* ---------- 25. Finitions ---------- */
.piege + .formulaire__bloc,
.erreurs-formulaire + .formulaire__bloc { border-top: 0; padding-top: 0; }
.entete-page + .section { padding-top: clamp(32px, 4vw, 56px); }

.fichier { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px; border: 1px dashed var(--ligne-forte); border-radius: 4px; background: var(--gris-fond); }
.fichier input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.fichier__bouton { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 4px; background: var(--noir); color: #fff; font-size: .8125rem; font-weight: 600; text-transform: uppercase; cursor: pointer; }
.fichier__nom { font-size: .875rem; color: var(--gris); word-break: break-all; }
.fichier:focus-within { outline: 2px solid var(--vert); outline-offset: 2px; }

@media (max-width: 1260px) {
  .entete__actions { margin-left: auto; }
}
@media (max-width: 860px) {
  .signaler { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; font-size: 0; gap: 0; }
  .signaler .icone { width: 26px; height: 26px; }
}
@media (max-width: 640px) {
  .trio { grid-template-columns: 1fr; gap: 40px; }
  .trio__item h3 { font-size: 1.25rem; }
  .trio__item p { font-size: .9375rem; }
}


/* ---------- 26. Diaporama d'accueil ---------- */
.diapos { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1400ms ease; }
.diapo.active { opacity: 1; }
.diapo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8000ms linear; }
.diapo.active img { transform: scale(1); }
.hero-inst__cadre::before { background: rgba(0, 0, 0, .42); }

.diapo-controles {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 20px;
  padding: 0 16px 0 24px;
  height: 54px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
}
.diapo-controles__legende { margin: 0; max-width: 32ch; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .8125rem; font-weight: 500; }
.diapo-controles__boutons { display: flex; align-items: center; gap: 4px; }
.diapo-bouton { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.diapo-bouton:hover { background: rgba(255, 255, 255, .16); }
.diapo-bouton .icone { width: 18px; height: 18px; stroke-width: 2; }
.icone--gauche { transform: rotate(90deg); }
.icone--droite { transform: rotate(-90deg); }
.diapo-bouton .i-lecture { display: none; }
.diapo-bouton[aria-pressed="true"] .i-pause { display: none; }
.diapo-bouton[aria-pressed="true"] .i-lecture { display: block; }
.diapo-points { display: flex; gap: 6px; padding: 0 6px; }
.diapo-point { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: background var(--transition), width var(--transition); }
.diapo-point.active { width: 36px; background: var(--jaune); }

/* ---------- 27. Calendrier ---------- */
.agenda-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.calendrier { background: #fff; border-top: 3px solid var(--noir); }
.calendrier__entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 12px; }
.calendrier__mois { margin: 0; font-size: 1.125rem; font-weight: 800; text-transform: uppercase; }
.calendrier__nav { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--noir); border-radius: 50%; color: var(--noir); }
.calendrier__nav:hover { background: var(--noir); color: #fff; }
.calendrier__nav .icone { width: 18px; height: 18px; stroke-width: 2; }
.calendrier__grille { width: 100%; border-collapse: collapse; table-layout: fixed; }
.calendrier__grille th { padding: 10px 4px; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--gris); border-bottom: 1px solid var(--ligne); }
.calendrier__grille td { height: 88px; padding: 0; vertical-align: top; border: 1px solid var(--ligne); }
.calendrier__grille td > span, .calendrier__grille td > a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 8px; }
.calendrier__jour { font-size: .875rem; font-weight: 700; color: var(--encre); }
.calendrier__grille .hors-mois .calendrier__jour { color: var(--ligne-forte); }
.calendrier__grille .aujourdhui { box-shadow: inset 0 0 0 2px var(--noir); }
.calendrier__grille .a-evenement { background: var(--jaune); }
.calendrier__grille .a-evenement a { color: var(--noir); text-decoration: none; }
.calendrier__grille .a-evenement a:hover .calendrier__titre { text-decoration: underline; }
.calendrier__titre { font-size: .6875rem; font-weight: 600; line-height: 1.3; }
.calendrier__legende { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; padding: 12px; font-size: .75rem; color: var(--gris); }
.pastille-cal { display: inline-block; width: 14px; height: 14px; margin-right: -8px; vertical-align: middle; }
.pastille-cal--evt { background: var(--jaune); }
.pastille-cal--jour { box-shadow: inset 0 0 0 2px var(--noir); background: #fff; }
.agenda--compact { gap: 14px; }
.agenda--compact .evenement a { grid-template-columns: 96px 1fr; gap: 16px; }
.agenda--compact .date-bloc { min-height: 96px; }
.agenda--compact .date-bloc__jour { font-size: 1.5rem; }
.agenda--compact .date-bloc__jour-semaine, .agenda--compact .date-bloc__mois { font-size: .8125rem; }
.agenda--compact .evenement__corps { padding: 18px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }

.vide--cadre { padding: 28px 32px; background: var(--creme); border-top: 3px solid var(--noir); color: var(--texte); font-weight: 500; }
.section--alt .vide--cadre { background: #fff; }

@media (max-width: 1100px) {
  .agenda-page { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .diapo-controles__legende { display: none; }
  .diapo-controles { padding: 0 8px; }
}
@media (max-width: 640px) {
  .diapo-controles { height: 48px; }
  .diapo-point { width: 14px; }
  .diapo-point.active { width: 24px; }
  .calendrier__grille td { height: 52px; }
  .calendrier__grille td > span, .calendrier__grille td > a { padding: 6px 4px; align-items: center; }
  .calendrier__titre { display: none; }
  .calendrier__jour { font-size: .8125rem; }
  .calendrier__grille th { font-size: .625rem; padding: 8px 0; }
  .vide--cadre { padding: 20px; }
  .agenda--compact .evenement a { grid-template-columns: 1fr; gap: 0; }
  .agenda--compact .date-bloc { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .diapo img { transform: none !important; transition: none; }
}

.titre-section + .vide--cadre { border-top: 0; }
@media (max-width: 640px) {
  .diapo-controles [data-precedent], .diapo-controles [data-suivant] { display: none; }
  .diapo-controles { padding: 0 4px 0 10px; gap: 4px; }
  .hero-inst__onglet { padding: 0 20px; font-size: .8125rem; }
}


/* ---------- 28. Mot du maire et plan du site ---------- */
.mot-maire { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.mot-maire--sans-photo { grid-template-columns: minmax(0, 1fr); }
.mot-maire--sans-photo > div { max-width: 900px; }
.mot-maire__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--gris-fond); }
.mot-maire__photo img { width: 100%; height: 100%; object-fit: cover; }
.mot-maire__citation {
  margin: 0 0 28px;
  padding: 28px 32px;
  background: var(--creme);
  border-top: 3px solid var(--noir);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--encre);
}
.mot-maire__signature { display: flex; flex-direction: column; margin: 0 0 24px; }
.mot-maire__signature strong { font-size: .9375rem; text-transform: uppercase; color: var(--noir); }
.mot-maire__signature span { font-size: .8125rem; color: var(--gris); }
.mot-maire .prose { margin-bottom: 32px; }

.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.plan__bloc h2 { font-size: 1rem; text-transform: uppercase; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 3px solid var(--noir); }
.plan__bloc h2 a { color: inherit; text-decoration: none; }
.plan__bloc h2 a:hover { color: var(--vert); }
.plan__bloc ul { margin: 0; padding: 0; list-style: none; }
.plan__bloc li { border-bottom: 1px solid var(--ligne); }
.plan__bloc li a { display: block; padding: 10px 0; font-size: .875rem; font-weight: 500; color: var(--texte); text-decoration: none; }
.plan__bloc li a:hover { color: var(--vert); }

@media (max-width: 1100px) {
  .plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mot-maire { grid-template-columns: 1fr; }
  .mot-maire__photo { max-width: 360px; }
}
@media (max-width: 640px) {
  .plan { grid-template-columns: 1fr; gap: 36px; }
  .mot-maire__citation { padding: 20px; font-size: 1.0625rem; }
}
