/*
 * site.css — feuille unique du site public (CONTRACT §9.6, FRONT-CONTRACT §12.10), ≤ 30 720 octets
 * COMPRESSÉE (gzip ; lot 9, CONTRACT §23.6 : garde-fou de 40 960 octets non compressée).
 * Mobile d'abord (375 px), PC en additif. Lot 1 : jetons et pages simples ; lot 4b : site public ;
 * lot 9 : accueil final, actualités, pages du site, contact ; lot 9b (FRONT-CONTRACT §20) : mise en page dans
 * l'esprit du V1 (bandes, bandeaux, boutons roses, pied violet), pages des adhérents inchangées.
 * Polices hébergées (font-display: swap) ; le site public n'emploie que Poppins 400 et 500 et
 * Roboto Slab 600 (une police déclarée mais inutilisée n'est jamais téléchargée) ; lot 9b : titres en Poppins 500,
 * Roboto Slab 600 pour la marque seulement.
 * Stabilité visuelle : replis ajustés, interligne explicite, boîtes réservées, rien d'injecté.
 * Aucun style en ligne dans le HTML : toutes les variations passent par des classes.
 */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/*
 * Replis ajustés (CONTRACT §9.5) : police système mise à la largeur et aux métriques de la vraie
 * police, qui prend ensuite sa place sans rien déplacer. Calcul du 22/09 (fontTools, woff2 livrés,
 * texte type) : size-adjust = largeur moyenne cible / repli ; *-override = hhea cible / size-adjust.
 * Arial : Windows, macOS, iOS ; Roboto : Android (où Arial manque, mesuré sur Roboto Regular).
 */
@font-face {
  font-family: "Poppins repli";
  src: local("Arial"), local("ArialMT");
  font-weight: 400;
  size-adjust: 110.1%;
  ascent-override: 95.3%;
  descent-override: 31.8%;
  line-gap-override: 9.1%;
}

@font-face {
  font-family: "Poppins repli";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600;
  size-adjust: 105.1%;
  ascent-override: 99.9%;
  descent-override: 33.3%;
  line-gap-override: 9.5%;
}

@font-face {
  font-family: "Poppins repli Roboto";
  src: local("Roboto"), local("Roboto-Regular");
  font-weight: 400;
  size-adjust: 111.4%;
  ascent-override: 94.3%;
  descent-override: 31.4%;
  line-gap-override: 9%;
}

@font-face {
  font-family: "Poppins repli Roboto";
  src: local("Roboto"), local("Roboto-Regular");
  font-weight: 600;
  size-adjust: 113.3%;
  ascent-override: 92.7%;
  descent-override: 30.9%;
  line-gap-override: 8.8%;
}

@font-face {
  font-family: "Roboto Slab repli";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 700;
  size-adjust: 91.9%;
  ascent-override: 114.1%;
  descent-override: 29.5%;
  line-gap-override: 0%;
}

:root {
  --rose: #e31871;          /* texte OK (4,53:1) */
  --violet: #8f4fad;        /* texte OK (5,4:1) */
  --vert: #afca0b;          /* DÉCOR UNIQUEMENT, jamais de texte sur blanc */
  --encre: #1a1a1a;
  --encre-douce: #4a4a4a;
  --fond: #ffffff;
  --fond-doux: #f6f3f8;
  --bordure: #d9d2de;
  --alerte: #b3261e;
  --alerte-fond: #fdecea;
  --focus: #1a1a1a;
  --rayon: 10px;
  --police-texte: "Poppins", "Poppins repli", "Poppins repli Roboto", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --police-titre: "Roboto Slab", "Roboto Slab repli", Georgia, "Times New Roman", serif;
  /* Lot 4b (FRONT-CONTRACT §12.10), contrastes vérifiés sur fond blanc ou sur leur fond doux */
  --rose-fonce: #b8105a;    /* 6,4:1 */
  --rose-doux: #fde6f0;
  --violet-fonce: #6f3a88;  /* 8:1 ; 6,7:1 sur --violet-doux */
  --violet-doux: #f2e8f7;
  --vert-doux: #f2f7d5;
  --vert-encre: #4f5c00;    /* 6,6:1 sur --vert-doux */
  --champ: #8a7f8a;         /* bordure de champ, 3,8:1 (critère 1.4.11) */
  --trait: #ece3ec;         /* bordure décorative */
  --teinte: #faf6f9;
  /* Lot 9b (FRONT-CONTRACT §20.6) : bandes claires (--encre-douce 7,7:1, --rose-fonce 5,6:1), ombre des cartes */
  --bande: #f3edf6;
  --relief-v1: 0 1px 2px rgba(42,24,46,.05), 0 10px 26px -12px rgba(42,24,46,.22);
  --rayon-carte: 14px;
  --gouttiere: 16px;
  --largeur-max: 75rem;
  --largeur-texte: 46rem;
  --relief-carte: 0 0 0 1px rgba(42,24,46,.05), 0 1px 2px rgba(42,24,46,.06), 0 3px 8px -2px rgba(42,24,46,.08), 0 12px 22px -14px rgba(42,24,46,.16);
  --relief-bouton: 0 1px 1px rgba(42,24,46,.09), 0 3px 6px -3px rgba(42,24,46,.24);
  --relief-bouton-plein: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 1px rgba(42,24,46,.1), 0 3px 8px -3px rgba(42,24,46,.3);
  --relief-presse: inset 0 1px 3px rgba(42,24,46,.2);
  --reflet-plein: linear-gradient(rgba(255,255,255,.12), transparent 28% 55%, rgba(42,24,46,.07));
  --reflet-clair: linear-gradient(#ffffff 45%, #f8f3f8);
}

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

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

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1rem;          /* 16 px (jamais moins : pas de zoom iOS) */
  line-height: 1.5;
  color: var(--encre);
  background: var(--fond);
}

h1,
h2 {
  font-family: var(--police-titre);
  line-height: 1.25;
  color: var(--violet);
}

h1 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

a {
  color: var(--violet);
}

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

[hidden] {
  display: none !important;
}

/* Texte lu par les lecteurs d'écran, invisible à l'écran */
.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Icônes du sprite (partiel icones) : 1em, couleur du texte */
.icone {
  flex: none;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Lien d'évitement « Aller au contenu » */
.evitement {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  background: var(--fond);
  color: var(--encre);
  border-radius: var(--rayon);
  z-index: 10;
}

.evitement:focus {
  top: 0.5rem;
}

/* ── Pages simples (lot 1) ── */

.page-simple {
  min-height: 100vh;
  background: var(--fond-doux);
}

.page-simple__entete {
  padding: 1rem;
  padding-top: max(1rem, env(safe-area-inset-top));
  background: var(--fond);
  border-bottom: 4px solid var(--vert);
}

.page-simple__marque {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  font-family: var(--police-titre);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--rose);
  text-decoration: none;
}

.page-simple__marque:hover,
.page-simple__marque:focus-visible {
  text-decoration: underline;
}

.page-simple__logo {
  display: block;
  width: 36px;
  height: 36px;
}

.page-simple__contenu {
  padding: 1rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

.page-simple__contenu:focus {
  outline: none;
}

.page-simple__pied {
  padding: 1.2rem 1rem;
  padding-bottom: max(1.2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--bordure);
  color: var(--encre-douce);
  font-size: 0.9375rem;
  text-align: center;
}

.page-simple__pied p {
  margin: 0 0 0.375rem;
}

.page-simple__pied p:last-child {
  margin-bottom: 0;
}

.page-simple__pied a {
  color: var(--violet);
}

.page-simple__copyright {
  font-size: 0.875rem;
}

.carte {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1rem;
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  box-shadow: var(--relief-carte);
}

.alerte {
  padding: 0.6rem 0.85rem;
  border-radius: var(--rayon);
  background: var(--alerte-fond);
  color: var(--alerte);
  font-weight: 500;
}

.aide {
  color: var(--encre-douce);
  font-size: 0.9375rem;
}

/* ── Formulaires et boutons ── */

.formulaire {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.formulaire label {
  font-weight: 500;
}

.formulaire input {
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  border: 1.5px solid var(--bordure);
  border-radius: var(--rayon);
}

.formulaire input[aria-invalid="true"] {
  border-color: var(--alerte);
}

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 44px;
  padding: 0.3rem 0.95rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--violet);
  background: var(--reflet-clair) var(--fond);
  border: 1.5px solid var(--violet);
  border-radius: var(--rayon);
  text-decoration: none;
  cursor: pointer;
}

/* Relief (23/09) : ombres teintées de l'encre violet-noir ; levé, enfoncé à l'appui */
.bouton,
.bouton-rapide,
.menu-bouton__resume,
.pastille-famille,
.reseaux__lien {
  box-shadow: var(--relief-bouton);
  transition: box-shadow 0.15s, transform 0.08s;
}

.bouton:active,
.bouton-rapide:active,
.menu-bouton__resume:active,
.pastille-famille:active,
.reseaux__lien:active {
  transform: translateY(1px);
  box-shadow: var(--relief-presse);
}

.bouton--principal {
  color: var(--fond);
  background: var(--reflet-plein) var(--violet);
  box-shadow: var(--relief-bouton-plein);
}

.formulaire .bouton {
  margin-top: 0.5rem;
}

.case {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  min-height: 44px;
}

.case input {
  min-height: auto;
  width: auto;
}

.lien {
  background: none;
  border: 0;
  padding: 0;
  color: var(--violet);
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ── Page d'information : migrations à passer (super-admin) ── */

.migrations {
  padding-left: 1.25rem;
}

.migrations__element {
  margin-bottom: 1.5rem;
}

.migrations__titre {
  font-family: var(--police-texte);
  font-size: 1rem;
  word-break: break-all;
}

.migrations__libelle {
  display: block;
  margin-bottom: 0.25rem;
}

.migrations__sql {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.875rem;
  border: 1px solid var(--bordure);
  border-radius: 6px;
}

.migrations__etat {
  color: var(--encre-douce);
}

/* ══ SITE PUBLIC (lot 4b) ══
 * Graisses : Poppins 400 et 500, Roboto Slab 600 seulement (CONTRACT §9.6) :
 * les graisses par défaut du navigateur (th, strong, h3 : 700) sont ramenées ici.
 */

.site {
  background: var(--teinte);
}

.site h1,
.site h2 {
  color: var(--encre);
}

.site h3 {
  margin: 0 0 0.5rem;
  font-family: var(--police-texte);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.site strong,
.site b {
  font-weight: 500;
}

.site address {
  font-style: normal;
}

/* Listes sans puces ni retrait */
.menu__liste,
.pied__reseaux,
.familles__liste,
.annuaire__grille,
.aujourdhui__lignes,
.contact,
.reseaux {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Liens isolés et pastilles : cible tactile de 40 px de haut */
.menu__contact a,
.pied__contact a,
.pied__liens a,
.pied__reseau,
.pastille-famille,
.tri__lien,
.annuaire__aucun a,
.erreur__liens a,
.contact__ligne a,
.lieu__google {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

/* ── En-tête : pictogramme + marque en texte, pas collant (sauf menu ouvert, plus bas) ── */

.entete {
  background: var(--fond);
  border-bottom: 3px solid var(--vert);
}

.entete__barre {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--largeur-max);
  height: 56px;
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

.entete__marque {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-right: auto;
  font-family: var(--police-titre);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--rose);
  text-decoration: none;
}

.entete__marque:hover .entete__nom {
  text-decoration: underline;
}

.entete__picto {
  flex: none;
  width: 36px;
  height: 36px;
}

/* « Les Vitrines » / « de Cugnaux » : deux lignes stables (5,7em < 6,5em < 7,1em, mesuré) */
.entete__nom {
  max-width: 6.5em;
}

/* ── Menu : <details> + <nav> frère ; panneau déroulant sous l'en-tête sous 960 px ── */

/* Menu ouvert (23/09) : l'en-tête reste en haut de l'écran, au-dessus du voile (collant pendant
   l'ouverture seulement : aucun décalage). */
.entete:has(.menu-bouton[open]) {
  position: sticky;
  top: 0;
  z-index: 30;
}

.menu-bouton {
  position: relative;
  z-index: 30;
}

/* « Fermer » touchable sur une page défilée (23/09), à sa place dans l'en-tête collant : repli des
   navigateurs sans :has(). */
.menu-bouton[open] {
  position: fixed;
  top: 8px;
  right: var(--gouttiere);
}

.menu-bouton__resume {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  background: var(--reflet-clair) var(--teinte);
  font-size: 0.9375rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.menu-bouton__resume::-webkit-details-marker {
  display: none;
}

.menu-bouton__resume .icone {
  width: 19px;
  height: 19px;
}

.menu-bouton[open] .menu-bouton__resume {
  box-shadow: var(--relief-presse);
}

.menu-bouton__fermer,
.menu-bouton[open] .menu-bouton__ouvrir {
  display: none;
}

.menu-bouton[open] .menu-bouton__fermer {
  display: inline;
}

.menu {
  display: none;
}

/* Menu ouvert (23/09) : le <nav> assombrit la page SOUS l'en-tête (un toucher le referme, site.js) ;
   le panneau défile seul s'il dépasse l'écran (téléphone couché, zoom 200 %). */
.menu-bouton[open] ~ .menu {
  display: block;
  position: fixed;
  inset: 59px 0 0;          /* sous l'en-tête : barre de 56 px + filet de 3 px */
  z-index: 20;
  background: rgba(26, 26, 26, 0.55);
}

.menu__panneau {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px var(--gouttiere) 16px;   /* 8 px : le contour de focus du 1er lien reste entier */
  border-radius: 0 0 var(--rayon-carte) var(--rayon-carte);
  background: var(--fond);
}

html:has(.menu-bouton[open]) {
  overflow: hidden;
}

.menu__lien {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--trait);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--encre);
  text-decoration: none;
}

.menu__lien[aria-current="page"],
.menu__lien--rubrique {
  color: var(--rose-fonce);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.menu__contact {
  margin: 12px 0 0;
  font-size: 0.9375rem;
}

.menu__contact a {
  overflow-wrap: anywhere;
}

/* ── Contenu et pied ── */

/* Lot 9b (§20.0) : pleine largeur ; chaque page pose ses bandes et ses conteneurs. */
.principal {
  display: block;
}

.principal:focus {
  outline: none;
}

/* Pied (lot 9b, §20.3, D137) : bande violette du V1, tout centré, sans formulaire ni numéro */
.pied {
  --focus: #ffffff;
  background: var(--violet);
  color: #ffffff;
}

.pied__interieur {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 40px var(--gouttiere) 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  font-size: 0.9375rem;
  text-align: center;
}

.pied p {
  margin: 0;
}

.pied a {
  color: #ffffff;
}

.pied__logo {
  width: auto;
  height: 118px;
  padding: 8px 10px;
  border-radius: 16px;
  background: #ffffff;
}

.pied__marque {
  font-family: var(--police-titre);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}

.pied__contact a,
.pied__liens a,
.pied__reseau {
  gap: 8px;
  overflow-wrap: anywhere;
}

.pied__action {
  padding: 4px 0;
}

.pied__reseaux {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
}

.pied__reseau .icone {
  width: 20px;
  height: 20px;
}

.pied__siege {
  max-width: 36ch;
}

/* Liens légaux du pied (lot 9) : mentions légales, confidentialité */
.pied__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pied__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.pied__copyright {
  font-size: 0.8125rem;
}

/* ── Recherche ── */

.recherche {
  position: relative;
  margin-top: 12px;
}

.recherche__icone {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--encre-douce);
  pointer-events: none;
}

.recherche__champ {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 8px 0 40px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--encre);
  background: var(--fond);
  border: 1px solid var(--champ);
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(42,24,46,.08);
  text-overflow: ellipsis;
  -webkit-appearance: none;
  appearance: none;
}

/* Texte indicatif plus petit que la saisie (la saisie reste à 16 px : pas de zoom iOS) pour tenir à 360 px */
.recherche__champ::placeholder {
  color: var(--encre-douce);
  font-size: 0.875rem;
  opacity: 1;
}

.recherche--simple {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 18px 0;
}

.recherche--simple .recherche__etiquette {
  grid-column: 1 / -1;
}

.recherche--simple .recherche__champ {
  padding-left: 14px;
}

.recherche__etiquette {
  font-weight: 500;
}

/* ── Liste des adhérents ── */

/* Lot 9b (§20.0) : conteneur repris de .principal, rendu identique */
.annuaire {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 var(--gouttiere) 36px;
}

.annuaire__entete {
  padding-top: 16px;
}

.annuaire__titre {
  margin: 0 0 4px;
  font-size: 1.3125rem;
  line-height: 1.2;
  text-wrap: balance;
}

.annuaire__intro {
  max-width: var(--largeur-texte);
  color: var(--encre-douce);
  font-size: 0.9375rem;
}

.annuaire__intro p {
  margin: 0 0 4px;
}

/* Pastilles : une ligne défilante sur téléphone, fondu à droite pour signaler la suite */
.familles {
  margin: 8px calc(-1 * var(--gouttiere)) 0;
}

.familles__liste {
  display: flex;
  gap: 8px;
  padding: 6px var(--gouttiere);
  overflow-x: auto;
  scroll-padding-inline: var(--gouttiere) 48px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}

.familles__liste::-webkit-scrollbar {
  display: none;
}

.familles__liste li {
  flex: none;
}

.familles__liste::after {
  content: "";
  flex: none;
  width: 24px;
}

/* À la ligne dès 768 px et sur écran à souris (la molette ne défile pas une ligne à barre masquée) */
@media (min-width: 768px), (hover: hover) and (pointer: fine) {
  .familles {
    margin: 8px 0 0;
  }

  .familles__liste {
    flex-wrap: wrap;
    padding: 6px 0;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .familles__liste::after {
    display: none;
  }
}

.pastille-famille {
  position: relative;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--bordure);
  border-radius: 999px;
  background: var(--reflet-clair) var(--fond);
  color: var(--encre);
  font-size: 0.875rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

/* Zone de toucher de 40 px (36 visibles), en haut et en bas seulement */
.pastille-famille::after {
  content: "";
  position: absolute;
  inset: min(0px, calc(50% - 20px)) 0;
}

.pastille-famille:hover {
  border-color: var(--violet);
}

.pastille-famille[aria-current="page"] {
  border-color: var(--violet-fonce);
  background: var(--violet-doux);
  color: var(--violet-fonce);
  font-weight: 500;
  box-shadow: var(--relief-presse);
}

.annuaire__barre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
  margin: 2px 0 6px;
  font-size: 0.875rem;
  color: var(--encre-douce);
}

.annuaire__barre p {
  margin: 0;
}

.annuaire__compte {
  font-weight: 500;
  color: var(--encre);
}

.tri__lien {
  position: relative;
  min-width: 44px;
  justify-content: center;
  padding: 0 4px;
  color: var(--violet-fonce);
}

.tri__lien[aria-current="true"] {
  color: var(--encre);
  font-weight: 500;
  text-decoration: none;
}

/* Grille : colonnes explicites (jamais auto-fill) pour que `sizes` reste exact */
.annuaire__grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* Carte d'adhérent : hauteurs réservées (logo carré ; 2 lignes de nom puis 2 de texte : 2 × 1,3 ×
   0,9375rem et 2 × 1,3 × 0,8125rem) ; nom calé en bas de sa rangée, texte en haut : toujours collés. */
.carte-adh {
  display: grid;
  grid-template-rows: auto minmax(2.4375rem, auto) minmax(2.1125rem, auto);
  align-content: start;
  justify-items: center;
  gap: 6px;
  height: 100%;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: var(--rayon-carte);
  background: var(--fond);
  color: var(--encre);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--relief-carte);
  transition: box-shadow 0.15s, transform 0.08s;
}

.carte-adh:hover,
.actu-carte:hover {
  box-shadow: 0 0 0 1px rgba(42,24,46,.06), 0 2px 4px rgba(42,24,46,.07), 0 8px 16px -6px rgba(42,24,46,.14), 0 18px 30px -16px rgba(42,24,46,.2);
}

.carte-adh:active {
  transform: translateY(1px);
  box-shadow: var(--relief-bouton);
}

.carte-adh__logo {
  width: min(100%, 128px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
}

.carte-adh__nom,
.carte-adh__ligne {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.carte-adh__nom {
  align-self: end;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
}

.carte-adh__ligne {
  align-self: start;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--encre-douce);
}

/* Initiales colorées (fiche sans logo) : même boîte que le logo */
.initiales {
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
}

.initiales--rose {
  background: var(--rose-doux);
  color: var(--rose-fonce);
}

.initiales--violet {
  background: var(--violet-doux);
  color: var(--violet-fonce);
}

.initiales--vert {
  background: var(--vert-doux);
  color: var(--vert-encre);
}

.annuaire__vide,
.annuaire__aucun {
  margin: 12px 0;
  padding: 16px 14px;
  border-radius: var(--rayon-carte);
  background: var(--teinte);
  box-shadow: var(--relief-carte);
  text-align: center;
}

.annuaire__vide p {
  margin: 0 0 12px;
}

.annuaire__vide .annuaire__vide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
}

/* ── Fiche ── */

/* Lot 9b (§20.0) : gouttières et marge basse reprises de .principal et du pied, rendu identique */
.fiche {
  max-width: calc(var(--largeur-texte) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: 16px var(--gouttiere) 36px;
}

/* Téléphone : logo au-dessus du nom (order), le H1 restant premier dans le DOM */
.fiche__entete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.fiche__logo {
  order: -1;
  flex: none;
  width: 96px;
  height: 96px;
  object-fit: contain;
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow: var(--relief-carte);
}

img.fiche__logo {
  background: var(--fond);
}

.fiche__logo.initiales {
  font-size: 2.1rem;
}

.fiche__nom {
  margin: 4px 0 0;
  font-size: 1.375rem;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.fiche__accroche {
  margin: 0;
  color: var(--encre-douce);
  font-size: 0.9375rem;
}

/* Boutons rapides (téléphone seulement) : un bouton seul ou en fin de ligne prend toute la largeur */
.boutons-rapides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.bouton-rapide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border: 1.5px solid var(--violet-fonce);
  border-radius: 11px;
  background: var(--fond);
  color: var(--violet-fonce);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
}

.bouton-rapide:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.bouton-rapide .icone {
  width: 17px;
  height: 17px;
}

.bouton-rapide--appeler {
  border-color: var(--rose);
  background: var(--reflet-plein) var(--rose);
}

.bouton-rapide--itineraire {
  border-color: var(--violet);
  background: var(--reflet-plein) var(--violet);
}

.bouton-rapide--appeler,
.bouton-rapide--itineraire {
  color: #ffffff;
  box-shadow: var(--relief-bouton-plein);
}

/* Encadré « Aujourd'hui » : jour posé par le serveur ; jamais « ouvert maintenant » (D11) */
.aujourdhui {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1px 10px;
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: var(--rayon-carte);
  background: var(--rose-doux);
  box-shadow: 0 1px 2px rgba(42,24,46,.05), 0 3px 8px -2px rgba(42,24,46,.08), 0 12px 22px -14px rgba(42,24,46,.14);
}

.aujourdhui > .icone {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: var(--rose-fonce);
}

.aujourdhui__titre {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rose-fonce);
}

.aujourdhui__lignes {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.aujourdhui__lieu {
  font-weight: 400;
}

.fiche__section {
  margin-top: 22px;
}

.fiche__section h2 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
}

.fiche__presentation {
  overflow-wrap: break-word;
}

.fiche__presentation > :first-child {
  margin-top: 0;
}

.fiche__presentation > :last-child {
  margin-bottom: 0;
}

.contact__ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.35em;
  min-height: 40px;
}

.contact__type {
  color: var(--encre-douce);
}

.contact__ligne a {
  min-width: 0;
  color: var(--violet-fonce);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.reseaux__lien {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  background: var(--reflet-clair) var(--teinte);
  color: var(--violet-fonce);
}

.reseaux__lien .icone {
  width: 20px;
  height: 20px;
}

/* Horaires : largeurs fixes, la ligne du jour ne change ni de graisse ni de taille */
.horaires + .horaires {
  margin-top: 16px;
}

.horaires__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.horaires__table th,
.horaires__table td {
  padding: 7px 0;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}

.horaires__table th {
  width: 6.25rem;
  padding-left: 10px;
  font-weight: 400;
  text-align: left;
}

.horaires__table td {
  text-align: right;
}

.horaires__ferme {
  color: var(--encre-douce);
}

.horaires__ligne--aujourdhui th,
.horaires__ligne--aujourdhui td {
  color: var(--rose-fonce);
}

.horaires__ligne--aujourdhui th {
  box-shadow: inset 3px 0 0 var(--rose);
}

.horaires__mode {
  margin: 0;
  font-weight: 500;
}

.horaires__note {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  color: var(--encre-douce);
}

/* Adresse, par lieu public ; carte Google dans une boîte de ratio fixe avant et après le clic */
.lieu {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: var(--rayon-carte);
  background: var(--fond);
  box-shadow: var(--relief-carte);
}

.lieu + .lieu {
  margin-top: 10px;
}

.lieu p,
.lieu .lieu__titre {
  margin: 0;
}

.lieu__google {
  color: var(--violet-fonce);
  font-weight: 500;
}

/* Carte chargée d'office (23/09) : la teinte se voit le temps que l'iframe arrive (chargement différé). */
.carte-google {
  width: 100%;              /* largeur fixée : la hauteur (4:3, 320 px au plus) en découle, aucun décalage */
  aspect-ratio: 4 / 3;
  max-height: 320px;
  border-radius: var(--rayon);
  background: var(--teinte);
}

.carte-google__cadre {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--rayon);
}

/* ══ ÉDITORIAL (lot 9) : accueil, actualités, pages du site, contact ══
 * Mise en page du lot 9b (FRONT-CONTRACT §20, D132 à D140) : esprit du V1. Bandes pleine largeur (.zone, .zone--bande,
 * .heros, .bandeau) et conteneurs (.conteneur) ; titres centrés en Poppins 500 ; cartes blanches à ombre ; un long
 * texte (.texte) reste aligné à gauche dans sa colonne.
 */

/* Boutons du site public (D135) : rose du V1, pleins ou cernés, en petites capitales espacées ; les pages simples
   (.page-simple : Espace bureau, préparation) gardent les leurs. */
.site .bouton {
  min-height: 44px;
  padding: 0.5rem 1.375rem;
  border: 2px solid var(--rose);
  border-radius: 999px;
  background: var(--fond);
  color: var(--rose-fonce);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  box-shadow: none;
}

.site .bouton:hover {
  background: var(--rose-doux);
}

.site .bouton--principal {
  background: var(--rose);
  color: #ffffff;
}

.site .bouton--principal:hover {
  border-color: var(--rose-fonce);
  background: var(--rose-fonce);
}

.site .bouton--blanc {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--violet-fonce);
}

.site .bouton--blanc:hover {
  border-color: var(--violet-doux);
  background: var(--violet-doux);
}

/* Bandes pleine largeur : contenu centré, enfants à 75rem au plus */
.zone,
.heros {
  padding: 48px var(--gouttiere);
  text-align: center;
}

.zone--bande,
.bandeau {
  background: var(--bande);
}

.zone > * {
  max-width: var(--largeur-max);
  margin-left: auto;
  margin-right: auto;
}

/* Titres de l'esprit V1 (D136) : Poppins 500, centrés */
.site .heros__titre,
.site .zone__titre,
.site .bandeau__titre {
  font-family: var(--police-texte);
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.site .zone__titre {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.625rem;
  line-height: 1.2;
}

/* Titre à pictogramme : la cible au-dessus du titre au téléphone, devant lui à partir de 600 px */
.zone__titre--picto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.zone__picto {
  flex: none;
  width: 44px;
  height: 44px;
}

.zone__intro {
  max-width: 40rem;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--encre-douce);
  font-size: 1.0625rem;
}

.zone__action {
  margin-top: 28px;
  margin-bottom: 0;
}

/* Accueil : bandeau du V1 (D133) — grand logo, nom, accroche, recherche */
.heros {
  padding-top: 32px;
  padding-bottom: 44px;
  background: var(--fond);
}

.heros__logo {
  display: block;
  width: auto;
  height: 180px;
  margin: 0 auto;
}

.site .heros__titre {
  margin: 16px auto 8px;
  font-size: 2rem;
  line-height: 1.15;
}

.heros__accroche {
  max-width: 32ch;
  margin: 0 auto;
  color: var(--encre-douce);
  font-size: 1.0625rem;
}

.heros .recherche--simple {
  max-width: 32rem;
  margin: 26px auto 0;
  text-align: left;
}

/* Grilles de cartes : une colonne sur téléphone */
.cartes,
.axes,
.actus,
.avantages,
.etapes {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.cartes {
  margin-top: 0;
}

.actus {
  text-align: left;
}

/* Cartes : fond blanc, arrondi 18 px, ombre douce (filet transparent : il revient en contraste élevé) */
.carte-picto,
.axe,
.carte-texte,
.etape,
.membre,
.cotisation,
.voisine,
.actu-carte {
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--fond);
  box-shadow: var(--relief-v1);
}

/* Cartes à pictogramme (D134) : bouton calé en bas */
.carte-picto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px 24px;
}

.carte-picto__image {
  width: 104px;
  height: 104px;
}

.site .carte-picto__titre {
  margin: 4px 0 0;
  font-family: var(--police-texte);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.3;
}

.carte-picto__texte {
  margin: 0;
  color: var(--encre-douce);
}

.carte-picto__action {
  margin: auto 0 0;
  padding-top: 10px;
}

/* Axes et avantages : cartes de texte centrées ; axes à filet haut aux couleurs de la charte (le vert, décor seulement) */
.axe,
.carte-texte {
  padding: 24px 20px;
}

.axe {
  border-top: 5px solid var(--rose);
}

.axe:nth-child(2) {
  border-top-color: var(--violet);
}

.axe:nth-child(3) {
  border-top-color: var(--vert);
}

.site .axe__titre,
.site .carte-texte__titre,
.site .etape__titre {
  margin: 0 0 6px;
  font-size: 1.125rem;
  color: var(--violet-fonce);
}

.axe p,
.carte-texte p,
.etape p {
  margin: 0;
  color: var(--encre-douce);
}

.axe p + p,
.carte-texte p + p,
.etape p + p {
  margin-top: 8px;
}

/* « Déjà plus de N adhérents » */
.compteur {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--vert-doux);
  color: var(--vert-encre);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Carte d'actualité : image ENTIÈRE dans une boîte fixe (D124), toute la carte cliquable (pseudo-élément du lien) */
.actu-carte {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.actu-carte__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--fond-doux);
}

.actu-carte__image--vide {
  background: url("../img/logo-96.png") center / 56px no-repeat var(--fond-doux);
}

.actu-carte__corps {
  display: grid;
  gap: 4px;
  padding: 14px 16px 18px;
}

.actu-carte__titre {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.actu-carte__lien {
  color: var(--encre);
  text-decoration: none;
}

.actu-carte__lien::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
}

.actu-carte:hover .actu-carte__lien {
  text-decoration: underline;
}

.actu-carte__lien:focus-visible {
  outline: none;
}

.actu-carte__lien:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.actu-carte__date {
  margin: 0;
  color: var(--encre-douce);
  font-size: 0.875rem;
}

.actu-carte__chapo {
  margin: 0;
  font-size: 0.9375rem;
}

/* Bandeau des pages intérieures (D138) : titre centré sur une bande claire, colonne de 46rem */
.bandeau {
  padding: 40px var(--gouttiere) 44px;
  text-align: center;
}

.bandeau > * {
  max-width: var(--largeur-texte);
  margin-left: auto;
  margin-right: auto;
}

.site .bandeau__titre {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.bandeau__texte,
.bandeau__chapo {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--encre-douce);
  font-size: 1.0625rem;
}

.bandeau__date {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--encre-douce);
  font-size: 0.9375rem;
}

.bandeau .compteur {
  margin-top: 18px;
  margin-bottom: 0;
}

/* Corps d'une page intérieure : colonne de texte (46rem), large (75rem) ou étroite (36rem) */
.conteneur {
  max-width: calc(var(--largeur-texte) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: 36px var(--gouttiere) 56px;
}

.conteneur--large {
  max-width: calc(var(--largeur-max) + 2 * var(--gouttiere));
}

.conteneur--etroit {
  max-width: calc(36rem + 2 * var(--gouttiere));
  text-align: center;
}

.conteneur > :first-child {
  margin-top: 0;
}

/* Liste des actualités */
.actualites__vide {
  margin: 0;
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 32px;
}

.pagination__etat {
  margin: 0;
  color: var(--encre-douce);
  font-size: 0.9375rem;
}

/* Article : image toujours entière (D124), largeur de la colonne, hauteur plafonnée, jamais rognée */
.actu__figure {
  margin: 0 0 28px;
}

.actu__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 14px;
  background: var(--fond-doux);
}

/* Texte éditorial : aligné à gauche, intertitres h2 d'un seul niveau, listes, liens soulignés */
.texte {
  overflow-wrap: break-word;
}

.texte > :first-child {
  margin-top: 0;
}

.texte > :last-child {
  margin-bottom: 0;
}

.site .texte h2 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--police-texte);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.texte ul,
.texte ol {
  padding-left: 1.25rem;
}

.texte li + li {
  margin-top: 4px;
}

.actu__voisines {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.voisine {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 14px 18px;
  color: var(--encre);
  text-decoration: none;
}

.voisine__sens {
  color: var(--encre-douce);
  font-size: 0.875rem;
}

.voisine__titre {
  color: var(--violet-fonce);
  font-weight: 500;
  text-decoration: underline;
}

.actu__retour {
  margin: 32px 0 0;
  text-align: center;
}

/* Adhésion : cotisation dans une carte cernée, étapes en cartes centrées à numéro rose */
.cotisation {
  max-width: 24rem;
  padding: 24px 20px;
  border: 2px solid var(--violet);
}

.site .cotisation__titre {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1.125rem;
  font-weight: 500;
}

.cotisation__montant {
  margin: 6px 0 0;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--violet-fonce);
}

.cotisation__ligne {
  margin: 4px 0 0;
  color: var(--encre-douce);
  font-size: 0.9375rem;
}

.cotisation + .adhesion__etapes {
  margin-top: 44px;
}

.etapes {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.etape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 20px 24px;
}

.etape > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
}

.etape__numero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 500;
}

.etape__action {
  margin: auto 0 0;
  padding-top: 16px;
}

.etapes__ecrire {
  margin: 20px 0 0;
}

.etapes__ecrire a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-weight: 500;
}

/* Bureau : rangées centrées de cartes (photo ronde, nom, rôle ; coordonnées avec l'accord) */
.membres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.membre {
  display: flex;
  flex: 1 1 17.5rem;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 22rem;
  padding: 26px 20px 22px;
}

.membre__photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--fond-doux);
}

.membre__infos {
  min-width: 0;
}

.membre__coordonnees {
  margin-top: 4px;
}

.site .membre__nom {
  margin: 6px 0 0;
  font-family: var(--police-texte);
  font-size: 1.125rem;
  font-weight: 500;
}

.membre__role {
  margin: 2px 0 0;
  color: var(--rose-fonce);
  font-weight: 500;
}

.membre__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.35em;
  min-height: 40px;
  margin: 0;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

/* Contact : formulaire sans JS dans une carte, erreurs sous les champs, piège hors de l'écran. `.contact` sert aussi
   à la liste des contacts d'une fiche (rendu inchangé) : ce qui est propre au formulaire vise form.contact. */
.contact {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

form.contact {
  margin-top: 0;
  padding: 22px 18px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--fond);
  box-shadow: var(--relief-v1);
}

.contact__envoye + form.contact,
.contact__alerte + form.contact {
  margin-top: 20px;
}

.champ {
  display: grid;
  gap: 4px;
}

.champ__etiquette {
  font-weight: 500;
}

.champ__saisie {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--encre);
  background: var(--fond);
  border: 1px solid var(--champ);
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(42,24,46,.08);
}

textarea.champ__saisie {
  min-height: 9rem;
  resize: vertical;
}

.champ__saisie[aria-invalid="true"] {
  border: 2px solid var(--alerte);
}

.champ__aide,
.contact__mention {
  margin: 0;
  color: var(--encre-douce);
  font-size: 0.875rem;
}

.champ__erreur {
  margin: 0;
  color: var(--alerte);
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact__alerte,
.contact__envoye {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--alerte);
  border-radius: var(--rayon);
  background: var(--alerte-fond);
  color: var(--alerte);
}

.contact__alerte p,
.contact__alerte ul {
  margin: 0;
}

.contact__alerte ul {
  margin-top: 4px;
  padding-left: 1.25rem;
}

.contact__alerte a {
  color: var(--alerte);
}

.contact__envoye {
  border-left-color: var(--vert);
  background: var(--vert-doux);
  color: var(--vert-encre);
  font-weight: 500;
}

.contact__piege {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form.contact .bouton {
  justify-self: center;
  margin-top: 4px;
}

.contact__mention {
  margin-top: 18px;
  text-align: center;
}

/* 404 et 410 : bandeau, puis recherche et liens centrés */
.erreur__liens {
  margin: 8px 0 0;
}

/* ── Points de rupture : 600, 768, 900, 960, 1 200 px ── */

@media (min-width: 600px) {
  .annuaire__grille {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .actus,
  .avantages,
  .actu__voisines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zone__titre--picto {
    flex-direction: row;
    gap: 12px;
  }
}

@media (min-width: 768px) {
  :root {
    --gouttiere: 24px;
  }

  .page-simple__entete,
  .page-simple__contenu {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .page-simple__contenu {
    padding-top: 3rem;
  }

  .carte {
    padding: 2rem;
  }

  .boutons-rapides {
    display: none;
  }

  .etapes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bandeau {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .fiche__entete {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    gap: 4px 20px;
    justify-items: start;
    text-align: left;
  }

  .fiche__logo {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 136px;
    height: 136px;
  }

  .fiche__nom {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  .fiche__accroche {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (min-width: 900px) {
  .annuaire__grille {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .actus,
  .axes,
  .cartes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .carte-adh__logo {
    width: min(100%, 160px);
  }

  .zone {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .heros {
    padding-top: 56px;
    padding-bottom: 68px;
  }

  .heros__logo {
    height: 240px;
  }

  .site .heros__titre {
    font-size: 2.875rem;
  }

  .heros__accroche {
    max-width: 40ch;
    font-size: 1.1875rem;
  }

  .site .zone__titre {
    font-size: 2.25rem;
  }

  .site .bandeau__titre {
    font-size: 2.625rem;
  }
}

@media (min-width: 960px) {
  .menu-bouton {
    display: none;
  }

  .menu,
  .menu-bouton[open] ~ .menu {
    display: block;
    position: static;
    background: none;
  }

  .menu__panneau {
    max-height: none;
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: none;
  }

  .entete:has(.menu-bouton[open]) {
    position: static;
  }

  html:has(.menu-bouton[open]) {
    overflow: visible;
  }

  .entete__barre {
    height: auto;
    min-height: 72px;
    gap: 24px;
  }

  .menu {
    flex: 1 1 auto;
    min-width: 0;
  }

  .menu__liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 16px;
  }

  .menu__lien {
    min-height: 40px;
    padding: 0;
    border-bottom: 2px solid transparent;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .menu__lien:hover {
    color: var(--rose-fonce);
  }

  .menu__lien[aria-current="page"],
  .menu__lien--rubrique {
    border-bottom-color: var(--rose);
    text-decoration: none;
  }

  .menu__contact {
    display: none;
  }
}

@media (min-width: 1200px) {
  .annuaire__grille {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .avantages {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .menu__liste {
    column-gap: 28px;
  }

  .menu__lien {
    letter-spacing: 0.09em;
  }
}

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

@media print {
  .evitement,
  .menu-bouton,
  .menu,
  .recherche,
  .familles,
  .tri,
  .boutons-rapides,
  .aujourdhui,
  .carte-google,
  .contact,
  .pagination,
  .sprite {
    display: none !important;
  }

  .site,
  .pied,
  .zone--bande,
  .bandeau {
    background: #ffffff;
    color: #000000;
  }

  .pied__logo {
    display: none;
  }

  .site a,
  .pied a,
  .site h1,
  .site h2,
  .horaires__ligne--aujourdhui th,
  .horaires__ligne--aujourdhui td {
    color: #000000;
  }

  .pied {
    margin-top: 24px;
    border-top: 1px solid #000000;
  }

  .horaires__table,
  .lieu,
  .carte-adh {
    break-inside: avoid;
  }

  .annuaire__grille {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
