/* =========================================================================
   AF2PVision — Composants : blocs Home + gabarits internes
   Aucune couleur codée en dur : uniquement les rôles de tokens.css.
   ========================================================================= */

/* ---- Bandeaux de page (titre + fil d'Ariane) ---- */
.af-page-band { padding-block: 40px; position: relative; overflow: hidden; isolation: isolate; }
/* Touches Matisse à droite du bandeau (décor pur, jamais sous le texte :
   le titre et le chapeau sont limités à ~780px). */
.af-page-band::before, .af-page-band::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.af-page-band::before {
  right: 6%; top: 50%; width: 220px; height: 220px; margin-top: -110px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.af-page-band::after {
  right: calc(6% + 150px); bottom: -34px; width: 120px; height: 120px;
  border-radius: 50% 50% 50% 0; transform: rotate(-18deg);
  background: var(--c-or); opacity: 0.55;
}
@media (max-width: 1099px) { .af-page-band::before, .af-page-band::after { display: none; } }
/* Le titre ne passe jamais sous les formes décoratives. */
@media (min-width: 1100px) { .af-page-band h1 { max-width: min(900px, 68%); } }
@media (forced-colors: active) { .af-page-band::before, .af-page-band::after { display: none; } }
.af-page-band h1 { margin: 0; color: var(--on-brand); }
.af-lede { font-size: var(--fs-lead); line-height: 1.5; max-width: 780px; margin: 12px 0 0; color: var(--text-muted); }
.bg-sarcelle .af-lede { color: var(--on-brand); }

/* Fil d'Ariane : séparateurs chevrons décoratifs, page courante non cliquable. */
.af-breadcrumb { margin-bottom: 14px; font-size: 1.125rem; }
.af-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.af-breadcrumb li { display: inline-flex; align-items: center; }
.af-breadcrumb li + li::before {
  content: ""; width: 8px; height: 8px; margin: 0 12px 0 10px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg); opacity: 0.8;
}
.af-breadcrumb a { text-decoration: underline; color: var(--link); }
.af-breadcrumb__home { display: inline-flex; align-items: center; gap: 6px; }
.af-breadcrumb__current { font-weight: var(--fw-bold); }
.bg-sarcelle .af-breadcrumb, .bg-sarcelle .af-breadcrumb a { color: var(--on-brand); }

/* =========================================================================
   BLOC 1 — HÉROS
   CdC §8 « pas de texte sur une photo » : le texte est posé sur un aplat
   crème, à côté de la photo (et non plus par-dessus).
   ========================================================================= */
.af-hero { background: var(--surface-page); padding: 48px var(--pad-x) 56px; overflow: hidden; }
.af-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.af-hero__titre {
  margin: 0 0 20px; font-size: 3rem; line-height: 1.12; color: var(--text-brand);
}
.af-hero__brand { display: block; font-size: 0.62em; letter-spacing: 0.01em; color: var(--text); margin-bottom: 6px; }
.af-hero__slogan { display: block; }
/* Nom complet de l'association (entre la marque et le slogan). */
.af-hero__nom { display: block; font-size: max(0.46em, var(--fs-small)); line-height: 1.3; color: var(--text); margin: 2px 0 12px; }
.af-hero__intro { margin: 0 0 20px; font-size: var(--fs-lead); line-height: 1.55; color: var(--text); max-width: 34em; }
.af-hero__accroche {
  margin: 0; padding-left: 18px; border-left: 6px solid var(--c-or);
  font-size: var(--fs-lead); line-height: 1.5; font-weight: var(--fw-bold); color: var(--text);
  max-width: 34em;
}
.af-hero__media { position: relative; isolation: isolate; }
.af-hero__media .af-slot { aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-feuille); }
/* Touches Matisse : demi-lune dorée et feuille sarcelle derrière la photo. */
.af-hero__media::before {
  content: ""; position: absolute; z-index: -1; left: -28px; bottom: -28px;
  width: 168px; height: 84px; border-radius: 0 0 168px 168px;
  background: var(--decor-2); transform: rotate(180deg);
}
.af-hero__media::after {
  content: ""; position: absolute; z-index: -1; right: -24px; top: -24px;
  width: 120px; height: 120px; border-radius: 50% 50% 50% 0;
  background: var(--decor-1);
}
@media (max-width: 1023px) {
  .af-hero { padding: 32px var(--pad-x-mobile) 44px; }
  .af-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .af-hero__titre { font-size: 2.25rem; }
  .af-hero__media { max-width: 640px; }
}
@media (max-width: 639px) {
  .af-hero__titre { font-size: 1.875rem; }
  .af-hero__intro, .af-hero__accroche { font-size: 1.1875rem; }
  .af-hero__media::before { left: -12px; bottom: -16px; width: 112px; height: 56px; }
  .af-hero__media::after { right: -8px; top: -14px; width: 72px; height: 72px; }
}

/* =========================================================================
   BLOC 2 — 4 CTA (points d'entrée)
   ========================================================================= */
.af-cta-row { background: var(--surface-brand); padding: var(--pad-section-s) var(--pad-x); }
.af-cta-row__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.af-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--surface-card); color: var(--text-brand); text-decoration: none;
  font-size: 1.1875rem; font-weight: var(--fw-bold); line-height: 1.3;
  padding: 18px 20px 18px 22px; border-radius: var(--r-bouton); min-height: 72px;
  border: 2px solid transparent;
  transition: background-color var(--t-rapide), border-color var(--t-rapide);
}
.af-cta:hover { border-color: var(--c-or); color: var(--text-brand); }
.af-cta--accent { background: var(--surface-accent); color: var(--on-accent); }
.af-cta--accent:hover { background: var(--c-or-hover); color: var(--on-accent); border-color: transparent; }
.af-cta__arrow {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-soft); color: var(--text-brand);
  transition: transform var(--t-rapide);
}
.af-cta--accent .af-cta__arrow { background: rgba(28, 43, 43, 0.12); color: var(--on-accent); }
.af-cta:hover .af-cta__arrow { transform: translateX(3px); }
@media (max-width: 1100px) { .af-cta-row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .af-cta-row { padding: 20px var(--pad-x-mobile); }
  .af-cta-row__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* =========================================================================
   BLOC 3 — CITATION mise en avant (jamais d'italique : guillemet coloré)
   ========================================================================= */
.af-quote-feature { background: var(--surface-page); padding: var(--pad-section) var(--pad-x) 40px; display: flex; justify-content: center; }
.af-quote-feature figure { margin: 0; max-width: 1040px; display: flex; gap: 20px; align-items: flex-start; }
.af-quote-mark { font-size: 4.5rem; line-height: 0.75; color: var(--c-or); font-weight: 700; flex-shrink: 0; }
/* Citation d'ouverture : présente sans écraser la page (retour cliente 11/2026). */
.af-quote-feature figure { max-width: 900px; }
.af-quote-feature .af-quote-mark { font-size: 3.5rem; }
.af-quote-feature blockquote { margin: 0; font-size: 1.75rem; line-height: 1.35; font-weight: 700; color: var(--text); }
.af-quote-feature figcaption { margin-top: 12px; font-size: 1.1875rem; color: var(--text-muted); }
@media (max-width: 767px) {
  .af-quote-feature { padding: 36px var(--pad-x-mobile) 24px; }
  .af-quote-mark { font-size: 3.5rem; }
  .af-quote-feature .af-quote-mark { font-size: 2.75rem; }
  .af-quote-feature blockquote { font-size: 1.375rem; }
}

/* =========================================================================
   BLOC 4 — INTRO + chiffre-clé / visuel
   ========================================================================= */
.af-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.af-intro__title { color: var(--text-brand); }
.af-intro__lead { font-size: var(--fs-lead); line-height: 1.55; font-weight: 700; color: var(--text-brand); }
.af-intro__chapeau { margin: 0 0 20px; font-size: var(--fs-lead); line-height: 1.55; font-weight: 700; color: var(--text); }
/* Phrase forte de conclusion : en plus grand, filet doré (repère non lié à la seule couleur). */
.af-intro__forte { margin-top: 28px; padding-left: 18px; border-left: 6px solid var(--c-or); }
.af-intro__forte p { margin: 0; font-size: 1.5rem; line-height: 1.4; font-weight: 700; color: var(--text-brand); }
.af-intro__forte p + p { margin-top: 6px; }
@media (max-width: 639px) { .af-intro__forte p { font-size: 1.3125rem; } }
.af-pont {
  grid-column: 1 / -1; margin-top: 8px; background: var(--surface-soft);
  border-radius: var(--r-lg); padding: 36px 40px;
}
.af-pont__texte { margin: 0 0 18px; font-size: 1.3125rem; line-height: 1.6; max-width: 900px; }
.af-pont__ponts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 8px 0 0; padding: 0; list-style: none; }
.af-pont__item { display: flex; align-items: center; gap: 14px; font-size: 1.1875rem; line-height: 1.4; font-weight: 700; color: var(--text-brand); }
.af-pont__item svg { flex-shrink: 0; color: var(--c-sarcelle); }
/* Chiffre-clé « en France » : carte de France en fond, chiffre intégré dessus. */
.af-chiffre-cle {
  position: relative; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  min-height: 340px; padding: 8px;
}
.af-chiffre-cle__map {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.af-chiffre-cle__map svg { width: 100%; height: 100%; }
.af-chiffre-cle__map svg path { fill: var(--decor-1); }
.af-chiffre-cle__body {
  position: relative; z-index: 1; max-width: 280px; text-align: center;
  background: var(--surface-warm);
  border-radius: var(--r-carte); padding: 28px 30px;
  border: 1px solid var(--border);
}
.af-chiffre-cle__body .af-demilune { display: block; margin: 0 auto 16px; }
.af-chiffre-cle__num { font-size: 3.25rem; font-weight: 700; line-height: 1.05; color: var(--text-brand); }
.af-chiffre-cle__body p { margin: 12px 0 0; font-size: 1.1875rem; line-height: 1.5; text-align: center; }
/* Variante colonne de droite : visuel + légende (alternative au chiffre-clé). */
.af-intro__media { margin: 0; align-self: center; }
.af-intro__media-img { border-radius: var(--r-carte); overflow: hidden; }
.af-intro__media .af-slot__img { display: block; width: 100%; height: auto; }
/* Visuel SVG intégré (ex. carte de France des régions) : recoloré aux couleurs
   de la charte, hauteur bornée pour ne jamais écraser la lecture sur mobile. */
.af-intro__svg { display: flex; justify-content: center; }
.af-intro__svg svg { width: 100%; height: auto; max-height: 420px; }
.af-intro__svg svg :where(path, polygon, rect, circle, ellipse) {
  fill: var(--decor-1); stroke: var(--surface-page); stroke-width: 1.2; transition: fill var(--t-rapide);
}
.af-intro__legende {
  margin: 16px auto 0; max-width: 32ch; font-size: 1.1875rem; line-height: 1.5;
  font-weight: var(--fw-bold); color: var(--text-brand); text-align: center;
}
/* Texte pleine largeur quand la colonne de droite est vide. */
.af-intro-grid--solo { grid-template-columns: minmax(0, 1fr); }
.af-intro-grid--solo > div .rich-text { max-width: var(--maxw-texte, 70ch); }
@media (max-width: 1023px) {
  .af-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .af-chiffre-cle { min-height: 300px; }
  .af-pont__ponts { grid-template-columns: minmax(0, 1fr); }
  .af-intro__svg svg { max-height: 300px; }
}
@media (max-width: 639px) {
  .af-pont { padding: 24px 20px; border-radius: var(--r-md); }
  .af-pont__texte { font-size: 1.1875rem; }
}

/* =========================================================================
   BLOC 5 — QUI SOMMES-NOUS
   ========================================================================= */
.af-qsn-grid { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 56px; align-items: start; }
.af-qsn__media { display: flex; flex-direction: column; gap: 20px; grid-column: 1; grid-row: 1; }
.af-qsn__texte { grid-column: 2; grid-row: 1; min-width: 0; }
/* Le texte est long : la photo et les liens vidéo restent à l'écran pendant
   la lecture (au lieu d'une grande colonne vide), sous l'en-tête collant. */
@media (min-width: 1024px) and (min-height: 700px) {
  .af-qsn__media { position: sticky; top: calc(var(--af-header-h, 88px) + 24px); }
}
.af-qsn__photo { height: 380px; }
.af-qsn__photo .af-slot { border-radius: var(--r-feuille); }
.af-qsn__videos { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.af-qsn__videos li { flex: 1 1 200px; min-width: 0; display: flex; }
.af-video-btn {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
  background: var(--surface-card); border: 2px solid var(--text-brand); border-radius: var(--r-bouton);
  padding: 12px 16px; text-decoration: none; color: var(--text-brand);
  font-size: 1.125rem; font-weight: 700; min-height: 56px; line-height: 1.3;
  transition: background-color var(--t-rapide);
}
.af-video-btn:hover { background: var(--surface-soft); color: var(--link-hover); }
.af-video-btn .af-ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--c-sarcelle); color: var(--c-fix-blanc); }
.af-qsn__title { color: var(--text-brand); }
.af-check-list { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.af-check-list li { display: flex; gap: 14px; font-size: 1.1875rem; line-height: 1.5; }
.af-check-list li .af-ico { margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--surface-soft); color: var(--text-brand); }
.af-quote-inst {
  margin: 56px auto 0; max-width: 1020px; background: var(--surface-page);
  border: 1px solid var(--border); border-left: 6px solid var(--c-sarcelle); border-radius: var(--r-carte);
  padding: 36px 40px; display: flex; gap: 24px; align-items: flex-start;
}
.af-quote-inst .af-quote-mark { font-size: 4.5rem; color: var(--text-brand); }
.af-quote-inst__lead { margin: 0 0 10px; font-size: 1.1875rem; font-weight: 700; color: var(--text-brand); }
.af-quote-inst blockquote { margin: 0; font-size: 1.3125rem; line-height: 1.6; }
.af-quote-inst figcaption { margin-top: 14px; font-size: 1.1875rem; font-weight: 700; color: var(--text-brand); }
.af-quote-inst__body { min-width: 0; }
/* Variante avec photo : photo | guillemet | texte (empilés sur mobile). */
.af-quote-inst--media { max-width: 1180px; align-items: center; }
.af-quote-inst__media { flex: 0 0 min(38%, 400px); }
.af-quote-inst__media .af-slot { height: auto; }
.af-quote-inst__media .af-slot__img { display: block; height: auto; }
@media (max-width: 1023px) {
  .af-quote-inst--media { flex-direction: column; align-items: flex-start; }
  .af-quote-inst__media { flex-basis: auto; width: 100%; max-width: 520px; }
}
@media (max-width: 1023px) {
  .af-qsn-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .af-qsn__media { grid-column: 1; grid-row: 1; }
  .af-qsn__texte { grid-column: 1; grid-row: 2; }
  .af-qsn__photo { height: 280px; }
}
@media (max-width: 639px) {
  .af-quote-inst { padding: 24px 20px; gap: 12px; flex-direction: column; }
  .af-quote-inst .af-quote-mark { font-size: 3.5rem; }
}

/* =========================================================================
   BLOC 6 — EN CHIFFRES (liste de définitions : nombre + explication)
   ========================================================================= */
.af-chiffres { background: var(--surface-brand); color: var(--on-brand); position: relative; overflow: hidden; }
.af-chiffres__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.af-chiffre-card { margin: 0; background: var(--surface-brand-2); border-radius: var(--r-carte); padding: var(--pad-carte); }
.af-chiffre-card dt { font-size: 4rem; font-weight: 700; color: var(--c-or); line-height: 1; }
.af-chiffre-card dd { margin: 16px 0 0; font-size: 1.1875rem; line-height: 1.55; color: var(--on-brand); }
/* Feuille discrète (décor). */
.af-chiffres::after {
  content: ""; position: absolute; bottom: -30px; left: -20px;
  width: 120px; height: 120px; border-radius: 50% 50% 50% 0;
  background: rgba(255, 255, 255, 0.06); transform: rotate(15deg); pointer-events: none;
}
@media (max-width: 1023px) { .af-chiffres__grid { grid-template-columns: minmax(0, 1fr); } }
.af-chiffres__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.af-chiffres__grid--4 .af-chiffre-card dt { font-size: 3.5rem; overflow-wrap: anywhere; }
@media (max-width: 1199px) { .af-chiffres__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .af-chiffres__grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================================
   BLOC 7 — PARTENAIRES (logo officiel si fourni, sinon nom lisible)
   ========================================================================= */
.af-partenaires__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.af-partenaires__grid > .af-partenaire { flex: 1 1 220px; max-width: 280px; }
/* 6, 9… partenaires : lignes pleines de 3 (2 sur tablette si leur nombre est
   pair), cases de même largeur — jamais un logo seul, plus large, sur une ligne. */
.af-partenaires__grid--par3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.af-partenaires__grid--par3 > .af-partenaire { max-width: none; }
@media (max-width: 899px) { .af-partenaires__grid--par3.af-partenaires__grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.af-partenaire {
  min-height: 120px; background: var(--surface-page); border: 1px solid var(--border); border-radius: var(--r-carte);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px; font-size: 1.1875rem; font-weight: 700; line-height: 1.35; color: var(--text);
}
.af-partenaire a { color: inherit; text-decoration: none; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 80px; }
.af-partenaire a:hover { text-decoration: underline; }
/* Phrase de remerciement sous le titre. */
.af-partenaires__intro { margin: 8px 0 0; font-size: 1.25rem; line-height: 1.55; color: var(--text-muted); max-width: 820px; }
/* Logo cliquable : léger soulèvement au survol / au focus (aucun mouvement
   si la personne a demandé à réduire les animations). */
.af-partenaire:has(a) { transition: transform var(--t-rapide), border-color var(--t-rapide), box-shadow var(--t-rapide); }
.af-partenaire:has(a:hover), .af-partenaire:has(a:focus-visible) {
  transform: translateY(-4px); border-color: var(--c-sarcelle); box-shadow: 0 8px 0 -4px var(--c-or);
}
.af-partenaire a img { transition: transform var(--t-rapide); }
.af-partenaire a:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .af-partenaire:has(a), .af-partenaire a img { transition: none; }
  .af-partenaire:has(a:hover), .af-partenaire:has(a:focus-visible) { transform: none; }
  .af-partenaire a:hover img { transform: none; }
}
.af-partenaire img { max-height: 88px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
/* Logos officiels : toujours sur fond blanc (fidèles à leurs couleurs, y compris en mode sombre). */
.af-partenaire:not(.af-partenaire--nom) { background: var(--c-fix-blanc); }
.af-partenaire--nom { justify-content: flex-start; gap: 14px; text-align: left; }
.af-partenaire--nom::before {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50% 50% 50% 0;
  background: var(--c-sarcelle);
}
@media (max-width: 559px) {
  .af-partenaires__grid > .af-partenaire { flex-basis: 100%; max-width: none; }
  .af-partenaires__grid--par3 { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
   BLOC 8 — 3 PILIERS
   ========================================================================= */
.af-piliers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.af-pilier__media { height: 220px; position: relative; }
/* Pastille pictogramme (esprit brochure) posée sur le coin de la photo :
   56px (≈ 15 mm, CdC §8) avec un pictogramme de 32px. */
.af-pilier__pic {
  position: absolute; left: 20px; bottom: -28px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--c-sarcelle); color: var(--c-fix-blanc);
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--surface-card);
}
.af-pilier__body { padding: 44px var(--pad-carte-s) 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.af-pilier__head { display: flex; align-items: flex-start; gap: 14px; }
.af-pilier__head h3 { margin: 0; }
.af-pilier__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--c-or); color: var(--c-fix-encre);
  font-size: 1.375rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.af-pilier__accroche { margin: 0; font-size: 1.1875rem; line-height: 1.5; font-weight: 700; color: var(--text-brand); }
.af-pilier ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 1.125rem; line-height: 1.5; }
.af-pilier ul li { display: flex; gap: 12px; }
.af-pilier ul li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.55em; border-radius: 50%; background: var(--c-sarcelle); }
.af-pilier__more { margin-top: auto; align-self: flex-start; }
@media (max-width: 1023px) { .af-piliers__grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; } }

/* =========================================================================
   BLOC 9 — VERBATIMS + billet d'humeur
   ========================================================================= */
.af-verbatims__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: stretch; }
.af-verbatim { margin: 0; background: var(--surface-page); border: 1px solid var(--border); border-radius: var(--r-carte); padding: var(--pad-carte); display: flex; flex-direction: column; gap: 16px; }
.af-verbatim .af-quote-mark { font-size: 3.75rem; }
.af-verbatim:nth-child(even) .af-quote-mark { color: var(--text-brand); }
.af-verbatim blockquote { margin: 0; font-size: 1.25rem; line-height: 1.55; }
.af-verbatim figcaption { margin-top: auto; font-size: 1.125rem; font-weight: 700; color: var(--text-brand); }
.af-billet { background: var(--surface-warm); border-radius: var(--r-carte); padding: var(--pad-carte); display: flex; flex-direction: column; gap: 14px; }
.af-billet__head { display: flex; align-items: center; gap: 12px; }
.af-billet__head h3 { margin: 0; font-size: 1.375rem; }
.af-billet__titre { margin: 0; font-size: 1.25rem; font-weight: 700; }
.af-billet p { margin: 0; font-size: 1.1875rem; line-height: 1.55; }
.af-billet__more { margin-top: auto; }
/* Billet avec photo : photo à droite sur grand écran, sous le texte sur
   téléphone. Ordre visuel = ordre de lecture (titre, extrait, lien, photo). */
.af-billet--media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); column-gap: 32px; row-gap: 14px; align-content: start; }
.af-billet--media > :not(.af-billet__media) { grid-column: 1; }
.af-billet--media .af-billet__media { grid-column: 2; grid-row: 1 / span 6; margin: 0; align-self: start; }
.af-billet__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 767px) {
  .af-billet--media { grid-template-columns: 1fr; }
  .af-billet--media .af-billet__media { grid-column: 1; grid-row: auto; }
}
.af-billet:only-child { max-width: 760px; }
.af-verbatims__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.af-verbatims__grid--3 .af-billet { grid-column: 1 / -1; }
.af-verbatims__grid--3 .af-billet p { max-width: 70ch; }
/* Composition « mise en avant » : grande carte (le plus long témoignage) dans
   une colonne, les deux autres empilées dans l'autre. Le placement suit la
   position du témoignage mis en avant : l'ordre de lecture reste l'ordre
   visuel (de gauche à droite, de haut en bas). */
@media (min-width: 1024px) {
  .af-verbatims__grid--featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .af-verbatims__grid--f2 .af-verbatim:nth-child(1) { grid-column: 1; grid-row: 1; }
  .af-verbatims__grid--f2 .af-verbatim:nth-child(2) { grid-column: 1; grid-row: 2; }
  .af-verbatims__grid--f2 .af-verbatim--featured { grid-column: 2; grid-row: 1 / span 2; }
  .af-verbatims__grid--f0 .af-verbatim--featured { grid-column: 1; grid-row: 1 / span 2; }
  .af-verbatims__grid--f0 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .af-verbatims__grid--f0 .af-verbatim:nth-child(2) { grid-column: 2; grid-row: 1; }
  .af-verbatims__grid--f0 .af-verbatim:nth-child(3) { grid-column: 2; grid-row: 2; }
  /* Mis en avant au milieu : on garde trois colonnes (ordre de lecture). */
  .af-verbatims__grid--f1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .af-verbatims__grid--featured .af-billet { grid-column: 1 / -1; grid-row: auto; }
}
.af-verbatim--featured { justify-content: center; border-color: var(--c-sarcelle); border-width: 2px; }
.af-verbatim--featured blockquote { font-size: 1.4375rem; line-height: 1.55; }
.af-verbatim--featured figcaption { margin-top: 4px; } /* contenu centré verticalement */
.af-verbatim--featured .af-quote-mark { font-size: 4.5rem; }
@media (max-width: 1023px) { .af-verbatims__grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================================
   BLOC 10 — ACTUS + FICHES
   ========================================================================= */
.af-actus-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
.af-actus__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 28px; flex-wrap: wrap; }
.af-actus__head .af-heading { margin-bottom: 0; }
.af-actus__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.af-fiches-box { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-carte); padding: var(--pad-carte); }
.af-fiches-box h2 { margin: 0 0 8px; font-size: 1.75rem; color: var(--text-brand); }
.af-fiches-box__intro { margin: 0 0 16px; font-size: 1.125rem; line-height: 1.55; color: var(--text-muted); }
.af-fiches-box ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; }
.af-fiches-box li { border-bottom: 1px solid var(--border-soft); }
.af-fiches-box li:last-child { border-bottom: none; }
.af-fiches-box li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; color: var(--link); font-size: 1.1875rem; font-weight: 700; text-decoration: none; min-height: 52px; line-height: 1.35; }
.af-fiches-box li a:hover { text-decoration: underline; }
.af-fiches-box li a .af-ico { color: var(--text-brand); }
@media (max-width: 1023px) {
  .af-actus-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 719px) {
  .af-actus__cards { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
   BLOC 11 — NOUS SOUTENIR
   ========================================================================= */
.af-soutenir { background: var(--surface-warm); position: relative; overflow: hidden; }
/* Cercle doré discret (touche Matisse). */
.af-soutenir::before {
  content: ""; position: absolute; top: -40px; right: -30px;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--c-or); opacity: 0.22; pointer-events: none;
}
/* Photo à côté du titre et de l'introduction (facultative). */
.af-soutenir__head--media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: center; margin-bottom: 8px; }
.af-soutenir__head--media .af-heading { margin-bottom: 0; }
.af-soutenir__media { margin: 0; }
.af-soutenir__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 899px) { .af-soutenir__head--media { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; } }
.af-soutenir__intro { margin: 0 0 32px; font-size: 1.25rem; line-height: 1.6; max-width: 820px; }
.af-soutenir__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1020px; }
.af-soutenir__card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-carte); padding: var(--pad-carte); display: flex; flex-direction: column; gap: 16px; }
.af-soutenir__card h3 { margin: 0; font-size: 1.625rem; color: var(--text-brand); }
.af-soutenir__card p { margin: 0; font-size: 1.1875rem; line-height: 1.55; }
.af-soutenir__card .af-btn { margin-top: auto; align-self: flex-start; }
.af-soutenir__note { margin: 24px 0 0; font-size: 1.125rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
/* Trois cartes (adhésion, don, partenariat) : toute la largeur. */
.af-soutenir__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
/* « Devenir partenaire » : même cadre que les deux autres cartes (le pointillé
   intriguait la cliente, 16/11/2026). Son bouton « En savoir plus » (contour)
   suffit à la distinguer des liens HelloAsso. */
@media (max-width: 1023px) { .af-soutenir__grid--3 { grid-template-columns: minmax(0, 1fr); max-width: 680px; } }
@media (max-width: 767px) { .af-soutenir__grid { grid-template-columns: minmax(0, 1fr); } }
.af-soutenir__texte + .af-soutenir__texte { margin-top: -4px; }
/* Photo facultative en haut d'une carte : bord à bord, cadrage 16/10. Dans le
   code, elle suit le titre (un lecteur d'écran qui saute de titre en titre la
   lit avec sa carte) ; order la remonte visuellement. */
.af-soutenir__photo {
  order: -1;
  height: auto; margin: calc(-1 * var(--pad-carte)) calc(-1 * var(--pad-carte)) 4px;
  width: calc(100% + 2 * var(--pad-carte)); max-width: none;
  border-radius: calc(var(--r-carte) - 1px) calc(var(--r-carte) - 1px) 0 0;
}
.af-soutenir__photo .af-slot__img { display: block; height: auto; aspect-ratio: 16 / 10; }

/* Page « Nous soutenir » : un bloc par façon d'aider (texte | bouton + QR). */
.af-soutien-blocs { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.af-soutien-bloc {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start;
  background: var(--surface-card); border: 1px solid var(--border); border-left: 6px solid var(--c-sarcelle);
  border-radius: var(--r-carte); padding: var(--pad-carte);
}
.af-soutien-bloc--don { border-left-color: var(--c-or); background: var(--surface-warm); }
.af-page-extra .af-soutien-bloc__texte h2, .af-soutien-bloc__texte h2 { margin: 0 0 12px; font-size: 1.75rem; color: var(--text-brand); } /* > .af-page-extra h2 */
.af-soutien-bloc__texte h3 { margin: 20px 0 8px; font-size: 1.3125rem; }
.af-soutien-bloc__texte .rich-text > :last-child { margin-bottom: 0; }
.af-soutien-bloc__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.af-soutien-bloc__actions p { margin: 0; font-size: 1.1875rem; line-height: 1.55; }
.af-soutien-bloc__qr { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.af-soutien-bloc__qr-img {
  display: block; width: 160px; height: 160px; background: var(--c-fix-blanc);
  padding: 8px; border: 1px solid var(--border); border-radius: var(--r-sm);
}
.af-soutien-bloc__qr figcaption { font-size: var(--fs-small); line-height: 1.45; color: var(--text-muted); max-width: 22ch; }
/* Photo facultative au-dessus du bouton : entière (jamais recadrée), jamais
   agrandie au-delà de sa taille réelle. */
/* Largeur du cadre posée dans le HTML : min(100 %, taille réelle de la photo). */
.af-soutien-bloc__photo { height: auto; max-width: 100%; }
.af-soutien-bloc__photo .af-slot__img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) {
  .af-soutien-bloc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 599px) { .af-soutien-bloc__qr { display: none; } } /* Sur le téléphone, le bouton suffit. */

/* =========================================================================
   BLOC 12 — CONTACT
   ========================================================================= */
.af-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.af-contact__intro { font-size: 1.25rem; line-height: 1.6; }
.af-contact__coords { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.af-contact__coords li { display: flex; align-items: center; gap: 16px; }
.af-contact__ico {
  width: 52px; height: 52px; border-radius: 50%; background: var(--surface-soft); color: var(--text-brand);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.af-contact__coords a { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 44px; }
.af-contact__nom { display: block; font-size: 1.125rem; line-height: 1.4; color: var(--text-muted); }
/* Horaires et consignes sous le numéro (réglage « Horaires, précisions »). */
.af-contact__precisions { display: block; margin-top: 2px; font-size: 1.0625rem; line-height: 1.5; color: var(--text-muted); }
/* Bloc de plusieurs lignes : l'icône reste en face du nom et du numéro
   (sans :has(), elle reste centrée — sans gêne). */
.af-contact__coords li:has(.af-contact__precisions) { align-items: flex-start; }
@media (max-width: 1023px) { .af-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* =========================================================================
   FORMULAIRE accessible (contact)
   ========================================================================= */
.af-form { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-carte); padding: var(--pad-carte); display: flex; flex-direction: column; gap: 20px; }
.af-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.af-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.af-field label { font-size: 1.125rem; font-weight: 700; }
.af-field .af-required { color: var(--c-erreur); }
.af-field input, .af-field select, .af-field textarea {
  width: 100%; max-width: 100%;
  font-family: var(--font-base); font-size: 1.1875rem; padding: 14px 16px;
  border: 2px solid var(--border-strong); border-radius: var(--r-bouton-s); background: var(--surface-card); min-height: 52px; color: var(--text);
}
.af-field textarea { min-height: 140px; resize: vertical; }
.af-field [aria-invalid="true"] { border-color: var(--c-erreur); border-width: 3px; }
.af-field__error { color: var(--c-erreur); font-weight: 700; font-size: 1.125rem; display: flex; gap: 6px; align-items: flex-start; }
.af-form__hint { margin: 0; font-size: 1.125rem; color: var(--text-muted); }
.af-form__notice { border-radius: var(--r-bouton-s); padding: 16px 18px; font-weight: 700; }
.af-form__notice:focus { outline: var(--focus-w) solid var(--focus-c); outline-offset: var(--focus-off); }
.af-form__notice p { margin: 0 0 8px; }
.af-form__notice ul { margin: 0; padding-left: 20px; }
.af-form__notice a { color: inherit; }
.af-form__notice--ok { background: #E4F4E4; color: var(--c-succes); border: 2px solid var(--c-succes); }
.af-form__notice--ko { background: #FBE4E4; color: #8A1414; border: 2px solid var(--c-erreur); }
.af-form__submit { align-self: flex-start; }
.af-form__privacy { margin: 0; font-size: 1.125rem; color: var(--text-muted); }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 639px) {
  .af-form__row { grid-template-columns: minmax(0, 1fr); }
  .af-form { padding: 24px 18px; }
}

/* =========================================================================
   Cartes (listes d'articles/fiches)
   ========================================================================= */
.af-card:hover, .af-card:focus-within { border-color: var(--c-sarcelle); }
.af-card__media { position: relative; height: 210px; }
.af-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.af-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 1.0625rem; }
/* Étiquette (capitales en CSS : le lecteur d'écran lit le mot normalement). */
.af-tag {
  display: inline-flex; align-items: center; padding: 2px 12px; border-radius: var(--r-pill);
  background: var(--surface-warm); color: var(--text-label);
  font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.6;
}
/* Étiquette-lien (rubrique d'un article) : pastille repérable par sa forme,
   sans soulignement sous les capitales (retour cliente : brouille la lecture) ;
   contour au survol / au focus. */
a.af-tag { text-decoration: none; border: 2px solid transparent; }
a.af-tag:hover, a.af-tag:focus-visible { border-color: currentColor; text-decoration: none; }
.af-date { color: var(--text-muted); }
.af-card__title { margin: 0; font-size: 1.375rem; line-height: 1.35; }
.af-card__title { color: var(--text); }
/* Toute la carte est cliquable via son unique lien « Lire la suite » (zone
   large), sans dupliquer le lien pour les lecteurs d'écran. Au survol ou au
   focus de la carte, le titre est souligné, comme un lien. */
.af-card--linked { position: relative; }
.af-card--linked:is(:hover, :focus-within) .af-card__title { text-decoration: underline; }
.af-card--linked .af-card__more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.af-card--linked .af-card__more:focus-visible { box-shadow: none; outline: none; }
.af-card--linked:focus-within { outline: var(--focus-w) solid var(--focus-c); outline-offset: var(--focus-off); }
/* Pas de contour après un simple clic de souris (navigateurs qui gèrent :has). */
@supports selector(:has(*)) {
  .af-card--linked:focus-within:not(:has(:focus-visible)) { outline: none; }
}
.af-card__excerpt { margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--text-muted); }
.af-card__more { margin-top: auto; padding-top: 6px; color: var(--link); font-size: 1.125rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; align-self: flex-start; }

/* ---- En-tête de page de liste ---- */
.af-page-head { margin-bottom: 32px; }

/* ---- Ligne méta d'un contenu unique (fiche, actualité) ---- */
.af-single__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-bottom: 12px; font-size: 1.125rem; color: var(--text-muted);
}
.af-single__meta > * { white-space: nowrap; } /* évite « 1 / min » coupé */
/* Date d'un événement (carte, article) : pictogramme + date en toutes lettres. */
.af-date--event { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-bold); color: var(--text); }
.af-single__meta > .af-date--event { white-space: normal; }
.af-date--event .af-ico { flex: none; color: var(--text-brand); }

/* ---- Bandeau d'annonce du prochain événement (accueil) ---- */
.af-annonce { background: var(--surface-warm); border-bottom: 3px solid var(--c-or); padding: 18px var(--pad-x); }
.af-annonce__inner { display: flex; align-items: center; gap: 16px 24px; }
.af-annonce__ico {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-sarcelle); color: var(--c-fix-blanc);
}
.af-annonce__texte { margin: 0; flex: 1 1 auto; min-width: 0; font-size: var(--fs-lead); line-height: 1.45; }
.af-annonce__date { display: block; color: var(--text-brand); }
.af-annonce__titre { display: block; color: var(--text); }
.af-annonce__lien { flex: none; }
@media (max-width: 767px) {
  .af-annonce { padding: 16px var(--pad-x-mobile); }
  .af-annonce__inner { flex-wrap: wrap; }
  .af-annonce__ico { width: 44px; height: 44px; }
  .af-annonce__texte { flex-basis: calc(100% - 64px); font-size: 1.1875rem; }
  .af-annonce__lien { width: 100%; justify-content: center; }
}
.af-single__hero { height: 340px; margin: 24px 0 32px; }
.af-single__hero .af-slot { border-radius: var(--r-feuille); }
/* Image verticale (affiche) : entière, centrée, hauteur bornée — jamais recadrée. */
.af-single__hero.af-single__hero--portrait { height: auto; display: flex; justify-content: center; } /* spécificité > media 639px */
.af-single__hero--portrait .af-slot { width: auto; height: auto; max-width: 100%; border-radius: var(--r-carte); }
.af-single__hero--portrait .af-slot__img { display: block; width: auto; max-width: 100%; height: auto; max-height: 640px; object-fit: contain; }
/* Image horizontale : entière elle aussi. Un bandeau fixe de 340 px coupait
   les têtes (photo du billet d'humeur) et le texte des bannières et logos
   (Prix Monique Truquet, infolettre, podcast) — retours du 16/11/2026. */
.af-single__hero.af-single__hero--entier { height: auto; display: flex; justify-content: center; } /* spécificité > media 639px */
.af-single__hero--entier .af-slot { width: auto; height: auto; max-width: 100%; }
.af-single__hero--entier .af-slot__img { display: block; width: auto; max-width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.af-single__actions { display: flex; gap: 12px; margin: 24px 0 32px; flex-wrap: wrap; }
@media (max-width: 639px) { .af-single__hero { height: 220px; } }

/* ---- Pagination ---- */
.af-pagination, .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pagination .page-numbers {
  min-width: 52px; height: 52px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-card); color: var(--text-brand); border: 2px solid var(--text-brand); font-size: 1.1875rem; font-weight: 700;
  border-radius: var(--r-bouton-s); text-decoration: none;
}
.pagination .page-numbers.current { background: var(--c-sarcelle); color: var(--c-fix-blanc); border-color: var(--c-sarcelle); }

/* ---- Sommaire latéral (gabarit contenu) ---- */
.af-content-layout { display: grid; grid-template-columns: 300px minmax(0, var(--maxw-texte)); gap: 48px; align-items: start; justify-content: center; max-width: 1180px; margin-inline: auto; }
.af-toc { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-carte); padding: 24px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--af-header-h, 88px) + 16px); }
.af-toc h2 { margin: 0 0 12px; font-size: 1.25rem; }
.af-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.af-toc a { padding: 10px 14px; font-size: 1.125rem; font-weight: 700; color: var(--link); border-radius: var(--r-sm); text-decoration: none; min-height: 44px; display: flex; align-items: center; line-height: 1.3; border-left: 4px solid transparent; }
.af-toc a:hover { background: var(--surface-soft); color: var(--link-hover); }
.af-toc a[aria-current="true"] { background: var(--surface-soft); border-left-color: var(--c-or); color: var(--text); }
/* Sommaire collant : jamais plus haut que l'écran utile (sous l'en-tête et,
   pendant la lecture, au-dessus du lecteur) — défile lui-même au besoin, pour
   que le lien qui reçoit le focus ne soit jamais masqué. */
@media (min-width: 1024px) {
  .af-toc { max-height: calc(100vh - var(--af-header-h, 88px) - 32px); overflow-y: auto; overscroll-behavior: contain; }
  html.af-tts-active .af-toc { max-height: calc(100vh - var(--af-header-h, 88px) - var(--af-tts-h, 200px) - 32px); }
}
@media (max-width: 1023px) {
  .af-content-layout { grid-template-columns: minmax(0, 1fr); }
  .af-toc { position: static; }
}
/* Encadré « Besoin d'échanger ? » du sommaire : compact et vertical. */
.af-toc__tip { margin-top: 16px; padding: 16px 18px; background: var(--surface-warm); border-radius: var(--r-bouton-s); }
.af-toc__tip-title { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: var(--fw-bold); line-height: 1.35; }
.af-toc__tip-title .af-tip__leaf { width: 20px; height: 20px; margin-top: 0; }
.af-toc__tip-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; color: var(--link); font-size: 1.125rem; font-weight: var(--fw-bold); text-decoration: underline; min-height: 44px; }
.af-toc__tip-link .af-ico { flex: none; }

/* ---- Filtres (liste) ---- */
.af-filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 32px; padding: 0; list-style: none; }
.af-filter {
  font-family: var(--font-base); font-size: 1.125rem; font-weight: 700;
  background: var(--surface-card); color: var(--text-brand); border: 2px solid var(--text-brand);
  border-radius: var(--r-pill); padding: 10px 22px; min-height: 48px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center;
}
.af-filter:hover { background: var(--surface-soft); color: var(--link-hover); }
.af-filter[aria-current="page"], .af-filter.is-active { background: var(--c-sarcelle); color: var(--c-fix-blanc); border-color: var(--c-sarcelle); }

/* ---- Encadré « bon à savoir » / astuce ---- */
.af-tip { background: var(--surface-warm); border-radius: var(--r-bouton); padding: 26px 30px; display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; }
.af-tip__leaf { width: 28px; height: 28px; background: var(--c-or); border-radius: 50% 50% 50% 0; flex-shrink: 0; margin-top: 4px; }
.af-tip p { margin: 0; font-size: 1.1875rem; line-height: 1.6; }

/* ---- Barre CTA de fin d'article ---- */
.af-endcta { border-top: 2px solid var(--border); padding-top: 32px; margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.af-endcta p { margin: 0; font-size: 1.25rem; font-weight: 700; }

/* ---- Formulaire de recherche ---- */
.af-searchform { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.af-search__label { font-size: 1.125rem; font-weight: 700; }
.af-search__row { display: flex; gap: 10px; flex-wrap: wrap; }
.af-search__input { flex: 1 1 240px; min-width: 0; font-family: var(--font-base); font-size: 1.1875rem; padding: 12px 16px; border: 2px solid var(--border-strong); border-radius: var(--r-bouton-s); min-height: 52px; background: var(--surface-card); color: var(--text); }

/* ---- État vide (liste sans résultat, recherche infructueuse) ---- */
.af-empty {
  max-width: 720px; margin: 8px auto; padding: 40px 32px; text-align: center;
  border: 2px dashed var(--border); border-radius: var(--r-lg); background: var(--surface-card);
}
.af-empty h2 { font-size: 1.625rem; color: var(--text-brand); text-align: center; }
.af-empty p { margin-inline: auto; text-align: center; }
.af-empty .af-searchform { margin: 24px auto 0; text-align: left; }
.af-empty__leaf { display: block; width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50% 50% 50% 0; background: var(--c-or); }

/* ---- Liste de résultats de recherche ---- */
.af-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.af-result { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-carte); padding: 20px 24px; }
.af-result h2 { margin: 6px 0 6px; font-size: 1.375rem; }
.af-result h2 a { color: var(--text); }
.af-result p { margin: 0; color: var(--text-muted); font-size: 1.125rem; }

/* ---- Compléments automatiques de page (soutien, contact) ---- */
.af-page-extra { margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--border); }
.af-page-extra h2 { font-size: 1.625rem; color: var(--text-brand); }

/* ---- Liens de pages (wp_link_pages) ---- */
.af-pagelinks { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; font-weight: 700; }
