/* =========================================================================
   AF2PVision — En-tête, navigation, pied de page, grilles de blocs
   ========================================================================= */

/* ---- En-tête COLLANT (une rangée) — CdC §7 : « laisser le bouton
   d'accessibilité en permanence visible ».
   Logo · recherche · « Écouter » · « Accessibilité » · « Nous soutenir » ·
   « Menu » (toujours présent : menu complet, recherche, coordonnées). Le
   contenu de l'en-tête ne change jamais au défilement (repères stables).
   La navigation en ligne est SOUS l'en-tête et défile avec la page.
   Hauteur réelle exposée en --af-header-h (ancres, focus, panneau). ---- */
.af-header {
  position: sticky; top: 0; z-index: 9000;
  background: var(--surface-card);
  border-bottom: 3px solid var(--c-sarcelle);
  padding: 0 var(--pad-x);
  transition: box-shadow var(--t-moyen);
}
/* Navigation en ligne visible juste dessous : c'est elle qui porte le filet
   sarcelle (même épaisseur de bordure ici : aucun saut de mise en page). */
html.af-js.af-nav-fits:not(.af-nav-away) .af-header { border-bottom-color: var(--surface-card); }
/* Page défilée : l'en-tête se détache du contenu qui passe dessous. */
html.af-header-stuck .af-header { box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.45); }
.af-header__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); padding: 12px 0;
  max-width: 1840px; margin-inline: auto;
}
.af-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: none; min-width: 0; }
.af-brand__logo {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.af-brand__logo img { width: 100%; height: 100%; object-fit: contain; }
.af-brand__logo .af-logo-mark { width: 100%; height: 100%; display: block; }
/* Logo image chargé (option ou Customizer) : pas de rognage circulaire —
   l'image s'affiche entière, à sa proportion réelle. Hauteur bornée à 64 px
   dans l'en-tête collant (qui ne doit pas manger l'écran). */
.af-brand--has-logo .af-brand__logo {
  width: auto; border-radius: 0; overflow: visible;
  max-width: 260px; height: min(var(--af-logo-h, 56px), 64px);
}
.af-brand--has-logo .af-brand__logo img { width: auto; max-width: 100%; height: 100%; }
/* Nom + sous-titre toujours lisibles à côté du logo (le texte inclus dans
   l'image du logo est trop petit pour une personne malvoyante). */
.af-brand__text { display: flex; flex-direction: column; min-width: 0; }
.af-brand__name { font-size: 1.625rem; font-weight: var(--fw-bold); color: var(--text-brand); line-height: 1.1; }
.af-brand__tag  { font-size: var(--fs-small); line-height: 1.3; color: var(--text-muted); }
/* Dans l'en-tête : sur une ligne (la place est gérée par af2pFitNav). */
.af-header :is(.af-brand__name, .af-brand__tag) { white-space: nowrap; }
.af-brand:hover .af-brand__name { text-decoration: underline; text-underline-offset: 0.15em; }
/* Pages intérieures : « Accueil » explicite sous le nom (même lien que le logo). */
.af-brand__home {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: var(--fs-small); font-weight: var(--fw-bold); line-height: 1.3; color: var(--link);
  text-decoration: underline; text-underline-offset: 0.18em; white-space: nowrap;
}
.af-brand:hover .af-brand__home { text-decoration-thickness: 0.14em; }

/* ---- Recherche (grands écrans, si la place le permet ; sinon dans le menu).
   Bouton loupe (nom accessible « Rechercher ») ; largeur minimale en rem : le
   texte indicatif reste entier, même agrandi. ---- */
.af-header-search {
  flex: 1 1 420px; max-width: 420px; min-width: 18.75rem; margin-inline: auto;
  display: flex; align-items: stretch;
}
.af-header-search__input {
  flex: 1 1 auto; min-width: 0; min-height: 50px;
  font-family: var(--font-base); font-size: var(--fs-small); color: var(--text);
  padding: 10px 16px; background: var(--surface-card);
  border: 2px solid var(--border-strong); border-right: 0;
  border-radius: var(--r-bouton-s) 0 0 var(--r-bouton-s);
}
.af-header-search__input::placeholder { color: var(--text-muted); opacity: 1; }
.af-header-search__btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 18px; min-height: 50px; cursor: pointer;
  font-family: var(--font-base); font-size: var(--fs-small); font-weight: var(--fw-bold);
  background: var(--c-sarcelle); color: var(--c-fix-blanc);
  border: 2px solid var(--c-sarcelle); border-radius: 0 var(--r-bouton-s) var(--r-bouton-s) 0;
  transition: background-color var(--t-rapide);
}
.af-header-search__btn:hover { background: var(--c-sarcelle-dark); border-color: var(--c-sarcelle-dark); }
.af-header-search__btn .af-ico { flex: none; }
.af-header__top .af-header-search__btn { padding: 0; width: 52px; justify-content: center; }
@media (max-width: 1023px) { .af-header-search { display: none; } }

/* ---- Boutons d'outils de l'en-tête : « Écouter », « Accessibilité », « Menu » ---- */
.af-header__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.af-hbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none;
  min-height: 52px; min-width: 52px; padding: 8px 16px;
  border: 2px solid var(--text-brand); background: var(--surface-card); color: var(--text-brand);
  border-radius: var(--r-bouton-s); cursor: pointer;
  font-family: var(--font-base); font-size: 1.125rem; font-weight: var(--fw-bold);
  line-height: 1.1; white-space: nowrap; text-decoration: none;
  transition: background-color var(--t-rapide), color var(--t-rapide), border-color var(--t-rapide);
}
.af-hbtn[hidden] { display: none; }
.af-hbtn:hover { background: var(--surface-soft); }
.af-hbtn .af-ico { flex: none; color: currentColor; }
.af-hbtn__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
/* « Accessibilité » : l'outil principal de ce public — aplat sarcelle. */
.af-a11y-toggle.af-hbtn { background: var(--c-sarcelle); border-color: var(--c-sarcelle); color: var(--c-fix-blanc); }
.af-a11y-toggle.af-hbtn:hover { background: var(--c-sarcelle-dark); border-color: var(--c-sarcelle-dark); }
/* Panneau / menu ouvert : état « enfoncé » visible (pas seulement la couleur). */
.af-hbtn[aria-expanded="true"] { box-shadow: inset 0 0 0 3px var(--c-or); }
.af-hbtn[aria-expanded="true"] .af-hbtn__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* « Écouter » pendant la lecture : aplat encre, bord or et onde — comme le
   lecteur affiché en bas (et distinct du bouton or « Nous soutenir »). */
.af-hbtn--listen.af-tts--playing { background: var(--c-fix-encre); border-color: var(--c-or); color: var(--c-fix-blanc); box-shadow: inset 0 0 0 1px var(--c-or); }
.af-hbtn--listen.af-tts--playing:hover { background: var(--c-fix-encre); }
.af-hbtn__wave { position: absolute; inset: -6px; border: 2px solid currentColor; border-radius: 50%; opacity: 0; }
.af-hbtn--listen.af-tts--playing .af-hbtn__wave { animation: af-tts-pulse 1.4s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .af-hbtn__wave { animation: none !important; } }
/* Sans JavaScript, la lecture vocale ne peut pas fonctionner. */
html:not(.af-js) .af-hbtn--listen { display: none; }

/* ---- Bouton « Nous soutenir » dans l'en-tête ---- */
.af-header__support {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  background: var(--surface-accent); color: var(--on-accent); text-decoration: none;
  font-size: 1.125rem; font-weight: var(--fw-bold); white-space: nowrap;
  padding: var(--btn-pad); border-radius: var(--r-btn); min-height: var(--btn-h);
  box-shadow: var(--ombre-bouton);
  transition: background-color var(--t-rapide);
}
.af-header__support .af-ico { flex: none; }
.af-header__support:hover { background: var(--c-or-hover); color: var(--on-accent); }

/* ---- Navigation principale (sous l'en-tête, pleine largeur, défile) ----
   Affichée seulement si tous les onglets tiennent sur une ligne (af2pFitNav,
   html.af-nav-fits) ; sinon le bouton « Menu » la remplace. */
.af-nav-desktop {
  background: var(--surface-card);
  border-top: 1px solid var(--border-soft);
  border-bottom: 3px solid var(--c-sarcelle);
  padding: 0 max(var(--pad-x), calc((100% - 1840px) / 2));
}
.af-nav__list { display: flex; gap: 2px; flex-wrap: nowrap; list-style: none; margin: 0 0 0 -14px; padding: 0; min-width: 0; }
.af-nav__list li { list-style: none; margin: 0; padding: 0; flex: none; }
/* « Accueil » : le logo y mène déjà (lien « AF2PVision — accueil ») ; l'entrée
   reste dans le menu en panneau. Libère la place pour tenir dès 1280 px. */
html.af-js .af-nav-desktop .menu-item-home { display: none; }
.af-nav a {
  position: relative;
  text-decoration: none; color: var(--text-brand);
  font-size: 1.125rem; font-weight: var(--fw-bold); white-space: nowrap;
  padding: 14px 14px 16px; border-radius: var(--r-sm) var(--r-sm) 0 0;
  min-height: 56px; display: inline-flex; align-items: center;
  transition: background-color var(--t-rapide);
}
.af-nav a:hover { background: var(--surface-soft); color: var(--link-hover); }
/* Onglet actif : barre dorée épaisse sous le libellé + texte (repère non coloré seul). */
.af-nav a[aria-current="page"]::after,
.af-nav .current-menu-item > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 5px; border-radius: 3px 3px 0 0; background: var(--c-or);
}
.af-nav a[aria-current="page"] { color: var(--text); }

/* ---- Bouton « Menu » (burger) — styles de base : .af-hbtn ---- */
.af-burger__bars { display: flex; flex-direction: column; gap: 5px; align-items: center; width: 26px; }
.af-burger__bars span { display: block; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.af-burger__label { line-height: 1; }

/* Onglets et bouton « Menu » :
   - avec JavaScript (html.af-js) : bouton « Menu » toujours présent ; la
     rangée d'onglets n'apparaît que si window.af2pFitNav a vérifié qu'elle
     TIENT sur une ligne (html.af-nav-fits) — y compris texte agrandi à 125 % ;
   - sans JavaScript : la navigation reste affichée et passe à la ligne
     (le bouton « Menu » ne fonctionnerait pas). */
.af-burger { display: none; }
html.af-js .af-nav-desktop { display: none; }
html.af-js .af-burger { display: inline-flex; }
html.af-js.af-nav-fits .af-nav-desktop { display: block; }
html:not(.af-js) .af-header { position: relative; }
html:not(.af-js) .af-header__top,
html:not(.af-js) .af-header__actions { flex-wrap: wrap; }
html:not(.af-js) .af-a11y-toggle { display: none; } /* le panneau exige JavaScript */
html:not(.af-js) .af-nav__list { flex-wrap: wrap; margin-left: 0; }

/* ---- Ajustement à la place réelle (data-af-hfit, af2pFitNav) ----
   Chaque niveau masque un élément de plus, jusqu'à ce que tout tienne sur
   une ligne ; le nom accessible de chaque bouton est toujours conservé. */
/* ≥ 1 : « Écouter » sans « la page » */
html[data-af-hfit]:not([data-af-hfit="0"]) .af-hbtn__more {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
/* ≥ 2 : recherche (reprise dans le menu) */
html[data-af-hfit]:not([data-af-hfit="0"]):not([data-af-hfit="1"]) .af-header-search { display: none; }
/* ≥ 3 : « Nous soutenir » (repris dans le menu) */
html[data-af-hfit]:not([data-af-hfit="0"]):not([data-af-hfit="1"]):not([data-af-hfit="2"]) .af-header__support { display: none; }
/* ≥ 4 : logo seul (le lien reste nommé « AF2PVision — accueil ») */
html[data-af-hfit]:not([data-af-hfit="0"]):not([data-af-hfit="1"]):not([data-af-hfit="2"]):not([data-af-hfit="3"]) .af-header .af-brand__text { display: none; }
/* ≥ 5 / 6 / 7 : icônes seules — « Écouter », puis « Menu » (icône universelle),
   « Accessibilité » en dernier. */
html[data-af-hfit="5"] .af-hbtn--listen .af-hbtn__label,
html[data-af-hfit="6"] .af-hbtn--listen .af-hbtn__label,
html[data-af-hfit="7"] .af-hbtn--listen .af-hbtn__label,
html[data-af-hfit="6"] .af-burger .af-hbtn__label,
html[data-af-hfit="7"] .af-burger .af-hbtn__label,
html[data-af-hfit="7"] .af-a11y-toggle .af-hbtn__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
html[data-af-hfit="5"] .af-hbtn--listen,
html[data-af-hfit="6"] .af-hbtn--listen,
html[data-af-hfit="7"] .af-hbtn--listen,
html[data-af-hfit="6"] .af-burger,
html[data-af-hfit="7"] .af-burger,
html[data-af-hfit="7"] .af-a11y-toggle { padding-inline: 10px; }
html[data-af-hfit="7"] .af-header .af-brand--has-logo .af-brand__logo { max-width: calc(100vw - 210px); }

@media (max-width: 1023px) {
  .af-header { padding: 0 var(--pad-x-mobile); }
  .af-header__top { padding: 8px 0; gap: var(--sp-3); }
  .af-header__actions { gap: var(--sp-2); }
}
@media (max-width: 479px) {
  /* Téléphone : chaque pixel compte pour garder « Accessibilité » en toutes lettres. */
  .af-header { padding: 0 12px; }
  .af-header__top { gap: var(--sp-2); }
  .af-header__actions { gap: 6px; }
}
@media (max-width: 1023px) {
  .af-brand { gap: 12px; }
  .af-brand__logo { width: 48px; height: 48px; }
  .af-brand--has-logo .af-brand__logo { width: auto; height: min(var(--af-logo-h, 48px), 48px); }
  .af-brand__name { font-size: 1.3125rem; }
  .af-brand__tag  { display: none; }
  .af-hbtn { min-height: 48px; min-width: 48px; padding: 6px 10px; gap: 6px; font-size: 1.0625rem; }
  .af-header__support { min-height: 48px; padding: 6px 16px; font-size: 1.0625rem; }
}

/* ---- Menu en panneau latéral (mobile : plein écran) ---- */
.af-mobile-menu {
  position: fixed; inset: 0; z-index: 9600;
  display: flex; justify-content: flex-end;
}
.af-mobile-menu[hidden] { display: none; }
.af-mobile-menu__backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 23, 0.55);
  border: 0; padding: 0; margin: 0; cursor: pointer;
}
.af-mobile-menu__panel {
  position: relative; width: min(480px, 100%); height: 100%;
  background: var(--surface-card); color: var(--text);
  overflow: auto; display: flex; flex-direction: column;
  box-shadow: var(--ombre-panel);
  animation: af-slide-in var(--t-moyen);
}
@keyframes af-slide-in { from { transform: translateX(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.af-mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad-x-mobile); border-bottom: 3px solid var(--c-sarcelle);
}
.af-mobile-menu__head h2 { margin: 0; font-size: 1.375rem; }
.af-mobile-close {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 8px 14px; border: 2px solid var(--text-brand);
  background: var(--surface-card); border-radius: var(--r-bouton-s);
  color: var(--text-brand); cursor: pointer;
  font-family: var(--font-base); font-size: 1.125rem; font-weight: var(--fw-bold);
}
/* Recherche en tête du panneau. */
.af-mobile-menu__search { display: flex; align-items: stretch; padding: 16px var(--pad-x-mobile) 4px; }
.af-mobile-menu__search .af-header-search__btn { padding: 0 16px; }
.af-mobile-menu nav ul { list-style: none; margin: 0; padding: 8px 0; display: flex; flex-direction: column; }
.af-mobile-menu nav li { list-style: none; margin: 0; position: relative; border-bottom: 1px solid var(--border-soft); }
.af-mobile-menu nav a {
  padding: 14px var(--pad-x-mobile); font-size: 1.25rem; font-weight: var(--fw-bold);
  color: var(--text-brand); text-decoration: none;
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.af-mobile-menu nav a:hover { background: var(--surface-soft); color: var(--link-hover); text-decoration: underline; }
.af-mobile-menu nav li:has(> a[aria-current="page"]) { background: var(--surface-soft); box-shadow: inset 6px 0 0 var(--c-or); }
.af-mobile-menu nav a[aria-current="page"] { color: var(--text); }
/* Description courte sous le lien (texte, hors du lien ; aria-describedby). */
.af-mobile-menu nav li:has(> .af-mobile-menu__desc) > a { min-height: 44px; padding-bottom: 2px; }
.af-mobile-menu__desc {
  margin: 0; padding: 0 var(--pad-x-mobile) 14px;
  font-size: var(--fs-small); line-height: 1.45; color: var(--text-muted);
}
.af-mobile-menu__cta { padding: 20px var(--pad-x-mobile) 28px; margin-top: auto; }
.af-mobile-menu__cta .af-btn { width: 100%; }
/* Coordonnées en pied de panneau. */
.af-mobile-menu__contact { margin-top: 24px; }
.af-mobile-menu__contact-title { margin: 0 0 6px; font-size: 1.1875rem; color: var(--text); }
.af-mobile-menu__coords { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.af-mobile-menu__coords li { list-style: none; margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: var(--fs-small); }
.af-mobile-menu__coords .af-ico { color: var(--text-brand); flex: none; }
.af-mobile-menu__coords a { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--fw-bold); overflow-wrap: anywhere; }
.af-mobile-menu__coords .af-contact__nom { display: inline; font-size: inherit; }
.af-mobile-menu__coords .af-contact__precisions { margin: 0 0 6px; font-size: inherit; }
/* Numéro + horaires : bloc de texte à droite de l'icône (sans retour à la
   ligne de l'icône seule), icône en face du nom. */
.af-mobile-menu__coords li.af-mobile-menu__tel--precisions { flex-wrap: nowrap; align-items: flex-start; }
.af-mobile-menu__coords li.af-mobile-menu__tel--precisions > .af-ico { margin-top: 12px; }
.af-mobile-menu__coords li.af-mobile-menu__tel--precisions > span { min-width: 0; }
body.af-menu-open { overflow: hidden; }

/* =========================================================================
   Pied de page
   ========================================================================= */
.af-footer {
  background: var(--surface-ink); color: var(--on-ink);
  /* Pendant la lecture vocale, une réserve s'ajoute en bas (a11y.css,
     body.af-tts-on) : le lecteur ne masque jamais le pied de page. */
  padding: 56px var(--pad-x) 64px;
}
.af-footer :where(p, li, span, h2, h3) { color: inherit; }
.af-footer a:not(.af-btn) { color: var(--on-ink); }
.af-footer a:not(.af-btn):hover { color: var(--c-or-clair); }
.af-footer__bottom p { margin: 0; }
/* Logo du pied de page : 52px en cercle (SVG) ; entier et non rogné si image. */
.af-brand__logo--footer { width: 52px; height: 52px; }
.af-brand--has-logo .af-brand__logo--footer { width: auto; max-width: 220px; height: var(--af-logo-h-footer, 48px); }
.af-footer .af-brand { margin-bottom: 18px; }
.af-footer .af-brand__name { color: var(--on-ink); }
.af-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.af-footer__brand p { color: var(--on-ink-muted); }
.af-footer h2, .af-footer h3 { margin: 0 0 8px; font-size: 1.1875rem; color: var(--c-or); font-weight: var(--fw-bold); }
.af-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.af-footer__list li { list-style: none; margin: 0; }
/* Cible tactile >= 44px (exigence CdC) : padding vertical sur les liens. */
.af-footer nav a {
  font-size: 1.125rem; text-decoration: underline; text-underline-offset: 0.2em;
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0;
}
.af-footer__bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.25);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  font-size: 1.125rem; color: var(--on-ink-muted);
}
/* Mentions : © de l'association, puis le crédit de l'agence, l'un sous l'autre. */
.af-footer__meta { display: flex; flex-direction: column; gap: 4px; }
.af-footer__top {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: var(--fw-bold); text-decoration: underline;
}
.af-footer__top .af-ico { transform: rotate(-90deg); }
@media (max-width: 1023px) {
  .af-footer__grid { grid-template-columns: 1fr 1fr; }
  .af-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .af-footer { padding: 40px var(--pad-x-mobile) 48px; }
  .af-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---- Réseaux sociaux (pied de page) : icônes seules, cible >= 44px ---- */
.af-social { margin-top: 20px; }
.af-social__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.af-social__list li { list-style: none; margin: 0; }
.af-social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--on-ink);
  background: rgba(255,255,255,0.10);
  text-decoration: none; transition: background-color var(--t-rapide), color var(--t-rapide);
}
.af-social__link:hover { background: var(--c-or); color: var(--c-fix-encre); }
.af-social__link .af-ico { width: 24px; height: 24px; }

/* ---- Coordonnées (pied de page) ---- */
.af-footer__coords { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.25); }
.af-footer__coords-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 28px; font-size: 1.125rem; }
.af-footer__coords-list li { list-style: none; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.af-footer__coords-list .af-ico { color: var(--c-or); flex: none; }
/* Cibles d'au moins 44 px de haut (WCAG 2.5.5, AAA). */
.af-footer__coords-list a { display: inline-flex; align-items: center; min-height: 44px; }
.af-footer__addr { color: var(--on-ink-muted); }
/* Nom de la personne à contacter, sur fond encre (contraste du pied de page). */
.af-footer__coords-list .af-contact__nom { display: inline; font-size: inherit; color: var(--on-ink-muted); }
/* Horaires sous le numéro, alignés sur le texte (icône 20 px + écart 8 px). */
.af-footer__coords-list li.af-footer__tel--precisions { flex-wrap: wrap; row-gap: 0; }
.af-footer__coords-list .af-contact__precisions { flex-basis: 100%; padding-left: 28px; font-size: 1rem; line-height: 1.5; color: var(--on-ink-muted); }

/* ---- Bandeau de consentement aux cookies ----
   Le lecteur vocal (en bas) remonte au-dessus du bandeau tant qu'il est ouvert. */
.af-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9500;
  background: var(--surface-ink); color: var(--on-ink);
  padding: 16px var(--pad-x); box-shadow: 0 -2px 12px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.af-cookie__text { margin: 0; font-size: 1.125rem; line-height: 1.5; max-width: 720px; }
.af-cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Quand le bandeau est ouvert : réserve la place en bas de page (hauteur
   mesurée en JS via --af-cookie-h). */
body.af-cookie-open .af-footer { padding-bottom: calc(64px + var(--af-cookie-h, 0px)); }

/* =========================================================================
   Emplacements d'image (image-slot) — photo réelle ou repère décoratif
   ========================================================================= */
.af-slot { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--surface-soft); }
.af-slot--rounded { border-radius: var(--r-carte); }
.af-slot__img { width: 100%; height: 100%; object-fit: cover; }
/* Image verticale (affiche, couverture) dans un cadre horizontal : cadrage par le haut. */
.af-slot--haut .af-slot__img { object-position: center top; }
/* En attendant les vraies photos : aplat doux + formes Matisse (feuille,
   demi-lune) — décoratif, sans texte « chantier » visible des visiteurs. */
.af-slot--placeholder {
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
  background:
    radial-gradient(circle at 78% 30%, var(--decor-1) 0 18%, transparent 18.5%),
    var(--surface-soft);
}
.af-slot--placeholder::before {
  content: ""; position: absolute; left: 14%; bottom: 16%;
  width: 34%; aspect-ratio: 1; border-radius: 50% 50% 50% 0;
  background: var(--c-sarcelle); opacity: 0.16; transform: rotate(-12deg);
}
.af-slot--placeholder::after {
  content: ""; position: absolute; right: 14%; bottom: 18%;
  width: 22%; aspect-ratio: 2 / 1; border-radius: 0 0 999px 999px;
  background: var(--c-or); opacity: 0.45;
}

/* =========================================================================
   Grilles génériques de blocs (responsives -> 1 colonne en mobile)
   ========================================================================= */
.af-grid { display: grid; gap: 24px; }
.af-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.af-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.af-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .af-grid--4, .af-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .af-grid--4, .af-grid--3, .af-grid--2 { grid-template-columns: minmax(0, 1fr); }
}
