/* ==========================================================================
   Regengo, components.css, v1 (2026-09-24)
   Charge tokens.css avant. Chaque bloc commence par un commentaire d'usage.
   Convention : bloc__element, bloc--modificateur, .is-<centre> pour le fil
   de couleur, .has-error / .is-open pour les états.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Layout : .container, .prose, .section, .grid-2/3/4, .stack, .cluster
   --------------------------------------------------------------------------
   <div class="container">...</div>                 1200 px + gouttière
   <div class="container prose">...</div>           texte long, 17 px, 36em (612 px max)
   <section class="section section--muted">          64 px mobile / 112 px desktop
   <div class="grid-4">4 cartes</div>               1 > 2 > 4 colonnes
   <div class="grid-4 grid--scroll">                 .grid--scroll ne fait plus rien (cartes de centre en rangées sous md, bloc 11)
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--prose) + 2 * var(--gutter)); }

.prose {
  /* Mesure de lecture : 17 px et 36em (612 px) donnent 73 à 75 caractères par ligne en Manrope.
     720 px à 16 px en donnaient 98, trop long pour les pages légales et les blocs de spécialité. */
  max-width: min(var(--prose), 36em);
  font-size: 1.0625rem;
}
.prose > * + * { margin-top: var(--space-4); }
.prose > h2 { margin-top: var(--space-12); }
.prose > h3 { margin-top: var(--space-8); }
.prose > h2 + *, .prose > h3 + * { margin-top: var(--space-3); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--space-1); }
.prose a { font-weight: 600; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--surface { background: var(--color-surface); }
.section--muted { background: var(--color-muted); }
.section--teal { background: var(--teal-100); }       /* liens en encre ici, pas en vert */
.section--teal a:not(.btn) { color: var(--ink-900); }
.section--ink { background: var(--ink-900); color: var(--white); }
.section--ink a:not(.btn) { color: var(--white); }

/* Tête de section : eyebrow + h2 + lead, 720 px */
.section__head { max-width: var(--prose); margin-bottom: var(--space-10); }
.section__head > * + * { margin-top: var(--space-3); }
.section__head .lead { margin-top: var(--space-4); }
@media (min-width: 1024px) { .section__head { margin-bottom: var(--space-12); } }

/* CTA de fin de page (section teal) : tête à gauche, boutons à droite dès 1024 px. Même motif que le contact des pages centre. */
.cta-split { display: grid; gap: var(--space-6); }
.cta-split .section__head { margin-bottom: 0; }
.cta-split__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media (min-width: 1024px) { .cta-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--space-16); } .cta-split__actions { justify-content: flex-end; } }

.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--grid-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 480px)  { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px)  { .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Plus de carrousel (MOBILE-SPEC M7) : .grid--scroll reste accepté dans le markup mais ne fait plus rien,
   les cartes de centre passent en rangées sous 768 (bloc 11). L'ancienne ligne d'aide est masquée. */
.scroll-hint { display: none; }

/* Ancres sous 1024 : le titre de la section ancrée se pose juste sous le header (M12) */
@media (max-width: 1023px) {
  .section[id] { scroll-margin-top: calc(-1 * var(--section-y) + var(--space-2)); }
  .section--tight[id] { scroll-margin-top: calc(-0.6 * var(--section-y) + var(--space-2)); }
}

.stack > * + * { margin-top: var(--stack, var(--space-4)); }
.stack--sm { --stack: var(--space-2); }
.stack--lg { --stack: var(--space-8); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, var(--space-3)); align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }

/* --------------------------------------------------------------------------
   2. Texte : .eyebrow, .lead, .small, .muted, .text-center, .sr-only, .link-arrow
   --------------------------------------------------------------------------
   <p class="eyebrow">Nos centres</p>   petite capitale grise avec un trait vert
   <p class="lead">...</p>              18 à 20 px, sous un titre
   <a class="link-arrow" href="...">Voir le centre</a>
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lead { font-size: var(--text-lead); line-height: var(--leading-lead); font-weight: 500; color: var(--ink-700); }
.small { font-size: var(--text-small); line-height: 1.5; }
.caption { font-size: var(--text-caption); line-height: 1.4; font-weight: 600; }
.muted { color: var(--ink-500); }
.text-center { text-align: center; }
.tabular { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  text-decoration: none;
  color: var(--color-link);
  min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--green-700); text-decoration: underline; }
  .link-arrow:hover svg { transform: translateX(3px); }
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--ink-900); color: var(--white); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: var(--space-4); }

/* --------------------------------------------------------------------------
   3. Boutons : .btn + .btn--primary | --secondary | --ghost | --accent
                      + .btn--sm | --lg | --block | --icon
   --------------------------------------------------------------------------
   <a class="btn btn--primary" href="equipe.html#trouver">Trouver un thérapeute</a>
   <a class="btn btn--secondary" href="tel:+32494656768">Appeler</a>
   <button class="btn btn--ghost btn--sm" type="button">Réinitialiser</button>
   L'accent orange : 1 par page maximum, texte encre, jamais blanc.
   -------------------------------------------------------------------------- */

.btn {
  --btn-h: 48px;
  --btn-px: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--secondary { background: var(--color-surface); color: var(--color-link); border-color: var(--color-primary); }
.btn--ghost { background: transparent; color: var(--ink-900); }
.btn--accent { background: var(--color-accent); color: var(--color-on-accent); }
.btn--on-ink { background: var(--white); color: var(--green-600); }   /* sur fond encre (footer, section--ink) */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
  .btn--secondary:hover { background: var(--green-50); color: var(--green-700); }
  .btn--ghost:hover { background: var(--ink-100); color: var(--ink-900); }
  .btn--accent:hover { background: var(--color-accent-hover); color: var(--color-on-accent); }
  .btn--on-ink:hover { background: var(--green-50); color: var(--green-700); }
}

.btn--sm { --btn-h: 40px; --btn-px: 16px; font-size: var(--text-small); }
/* Sous lg (tactile) : la petite taille reste lisible mais la cible passe à 44 px */
@media (max-width: 1023px) {
  .btn--sm { min-height: 44px; padding-block: 10px; }
}
.btn--lg { --btn-h: 56px; --btn-px: 32px; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn--icon { --btn-px: 0; width: var(--btn-h); }
/* Sous 768 : un bouton qui manque de place (zoom 200 %, 320 px) passe à la ligne au lieu de déborder */
@media (max-width: 767px) {
  .btn { white-space: normal; text-align: center; padding-block: 10px; }
}

/* --------------------------------------------------------------------------
   4. Cartes : .card, .card--link, .card__body
   --------------------------------------------------------------------------
   <article class="card"><div class="card__body">...</div></article>
   <a class="card card--link" href="...">   soulève de 2 px au survol
   La barre de centre se pose en premier enfant : <span class="centre-bar is-evere"></span>
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__body--sm { padding: var(--space-5); }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-h4); line-height: var(--leading-h4); font-optical-sizing: auto; }
.card__title a { color: inherit; text-decoration: none; }
.card__footer { margin-top: auto; padding-top: var(--space-2); }

@media (hover: hover) and (pointer: fine) {
  .card--link:hover { box-shadow: var(--shadow-md); transform: var(--lift); }
  .card--link:hover .card__title { color: var(--green-700); }
}
/* Le soulèvement au clavier seulement, plus au tap (M14) */
.card--link:focus-visible, .card--link:has(:focus-visible) { box-shadow: var(--shadow-md); transform: var(--lift); }

/* Couche tactile (M14) : retour au doigt sans animation, jamais de sélection de texte au long press sur un contrôle */
.chip:active, .nav__burger:active, .nav__links > li > a:active, .nav__links summary:active,
.nav__centres a:active, .faq__item > summary:active,
.transport__more > summary:active { background: var(--ink-100); }
.chip[aria-pressed="true"]:active { background: var(--ink-800); }
.finder-bar__open:active .finder-bar__cta { background: var(--color-primary-hover); }
.btn, .chip, .nav__burger, .nav__links summary, .faq__item > summary,
.transport__more > summary, .finder-bar__open, .action-bar a, .centre-switch .chip {
  -webkit-user-select: none; user-select: none;
}
.card--flat { box-shadow: none; }

/* --------------------------------------------------------------------------
   5. Pilules et badges : .pill, .pill--<slug spécialité>, .badge, .badge--soon
   --------------------------------------------------------------------------
   <span class="pill pill--kinesitherapie">Kinésithérapie</span>   pastel + encre
   <span class="pill">Bien-être et sport</span>                      neutre
   <span class="badge badge--soon">Bientôt</span>
   -------------------------------------------------------------------------- */

.pill {
  --pill-bg: var(--ink-100);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--ink-900);
  font-size: var(--text-caption);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.pill--kinesitherapie         { --pill-bg: var(--s-kinesitherapie); }
.pill--osteopathie            { --pill-bg: var(--s-osteopathie); }
.pill--massage                { --pill-bg: var(--s-massage); }
.pill--coaching-sportif       { --pill-bg: var(--s-coaching-sportif); }
.pill--dietetique             { --pill-bg: var(--s-dietetique); }
.pill--psychologie            { --pill-bg: var(--s-psychologie); }
.pill--logopedie              { --pill-bg: var(--s-logopedie); }
.pill--medecine-generale      { --pill-bg: var(--s-medecine-generale); }
.pill--podologie              { --pill-bg: var(--s-podologie); }
.pill--medecin-nutritionniste { --pill-bg: var(--s-medecin-nutritionniste); }
.pill--outline { --pill-bg: transparent; border: 1px solid var(--color-border-strong); }
.pill--lg { min-height: 32px; padding: 4px 14px; font-size: var(--text-small); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--ink-900);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.badge--soon { background: var(--orange-100); color: var(--ink-900); }
.badge--open { background: var(--green-50); color: var(--green-700); }
.badge--float { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 1; }

/* Placeholder de maquette : contenu à fournir par Mathieu avant le build.
   <mark class="todo">...</mark> : fond teal-100, bordure pointillée, jamais
   confondu avec du contenu final. À retirer (ou masquer la section) au build. */
mark.todo {
  display: inline-block;
  background: var(--teal-100);
  color: var(--ink-900);
  border: 1px dashed var(--green-600);
  border-radius: var(--radius-sm);
  padding: 0 0.4em;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.9em;
  line-height: 1.5;
  white-space: nowrap;
}
mark.todo::before { content: "À fournir : "; font-weight: 700; color: var(--green-700); }
@media (max-width: 767px) { mark.todo { white-space: normal; } }

/* --------------------------------------------------------------------------
   6. Fil de couleur : .is-<centre>, .centre-bar, .centre-dot, .centre-name
   --------------------------------------------------------------------------
   Pose .is-evere (ou -cinquantenaire, -ixelles, -bruxelles-central) sur
   n'importe quel élément : ses descendants lisent var(--centre).
   <span class="centre-bar is-evere"></span>                              1 segment
   <span class="centre-bar"><i class="is-evere"></i><i class="is-cinquantenaire"></i></span>   2 segments
   <span class="centre-name is-ixelles"><i class="centre-dot"></i>Ixelles</span>   point + nom, jamais le point seul
   -------------------------------------------------------------------------- */

.is-evere             { --centre: var(--c-evere);             --centre-soft: var(--c-evere-soft); }
.is-cinquantenaire    { --centre: var(--c-cinquantenaire);    --centre-soft: var(--c-cinquantenaire-soft); }
.is-ixelles           { --centre: var(--c-ixelles);           --centre-soft: var(--c-ixelles-soft); }
.is-bruxelles-central { --centre: var(--c-bruxelles-central); --centre-soft: var(--c-bruxelles-central-soft); }

.centre-bar {
  display: flex;
  gap: 2px;
  width: 100%;
  height: 4px;
  flex: none;
  background: var(--centre);
  overflow: hidden;
}
.centre-bar:has(> *) { background: transparent; }
.centre-bar > * { flex: 1; display: block; height: 100%; background: var(--centre); }
.centre-bar--short { width: 56px; border-radius: 2px; }
.centre-bar--short > * { border-radius: 2px; }

.centre-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--centre);
  box-shadow: inset 0 0 0 1px rgba(27, 30, 42, 0.08);
  flex: none;
}
.centre-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. Navigation : .nav (markup exact dans partials/nav.html)
   --------------------------------------------------------------------------
   Sticky, blanc à 92 % + flou, 64 px mobile / 80 px desktop. Le burger
   ouvre .nav__panel sous lg ; dès lg le panel est la rangée de liens.
   Le menu Centres est un <details> : marche sans JS, clavier inclus.
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--nav-h);
}
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav__logo img { height: 26px; width: auto; }
@media (min-width: 1024px) { .nav__logo img { height: 28px; } }

.nav__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--ink-900);
}
@media (hover: hover) and (pointer: fine) {
  .nav__burger:hover { background: var(--ink-100); }
}
.nav__burger svg { width: 24px; height: 24px; }
.nav__burger .icon-close { display: none; }
.nav.is-open .nav__burger .icon-menu { display: none; }
.nav.is-open .nav__burger .icon-close { display: block; }

.nav__panel {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--gutter) var(--space-6);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.nav.is-open .nav__panel { display: block; }

.nav__links { display: flex; flex-direction: column; }
.nav__links > li > a,
.nav__links > li > details > summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-2);
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  list-style: none;
}
.nav__links summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) {
  .nav__links > li > a:hover,
  .nav__links > li > details > summary:hover { background: var(--ink-100); color: var(--ink-900); }
}
.nav__links > li > a[aria-current="page"] { color: var(--green-700); box-shadow: inset 0 -2px 0 var(--green-500); border-radius: 0; }
.nav__links summary svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.nav__links details[open] summary svg { transform: rotate(180deg); }

.nav__dropdown { padding: var(--space-1) 0 var(--space-2) var(--space-4); }
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .nav__dropdown a:hover { background: var(--color-muted); color: var(--ink-900); }
}
.nav__dropdown a .badge { margin-left: auto; box-shadow: none; }

.nav__actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.nav__phone {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; font-weight: 700; color: var(--ink-900); text-decoration: none; white-space: nowrap;
}
.nav__phone svg { width: 20px; height: 20px; color: var(--green-600); }
@media (hover: hover) and (pointer: fine) {
  .nav__phone:hover { color: var(--green-700); }
}

/* Menu mobile (M11) : centres à plat en 2x2, bouton Appeler icône en écran court */
.nav__call { display: none; }
.nav__centres-label { padding: 0 var(--space-2); margin: var(--space-1) 0 var(--space-2); font-size: var(--text-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--ink-500); }
.nav__centres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.nav__centres a {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  font-weight: 700; line-height: 1.2; color: var(--ink-900); text-decoration: none;
}
.nav__centres a[aria-current="page"], .nav__dropdown a[aria-current="page"] { background: var(--centre-soft); box-shadow: inset 4px 0 0 var(--centre); }

@media (max-width: 1023px) {
  .nav.is-open .nav__panel {
    display: flex; flex-direction: column;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    max-height: none;
    overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
    box-shadow: none;
  }
  .nav__actions { margin-top: auto; }
  .nav__actions .btn { width: 100%; min-height: 48px; }
  .nav__links > li > a[aria-current="page"] { color: var(--green-700); background: var(--green-50); box-shadow: inset 3px 0 0 var(--green-500); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
}
@media (max-width: 1023px) and (max-height: 500px) {
  .nav__call { display: inline-flex; margin-left: auto; }
  .nav__logo img { height: 22px; }
  .nav.is-open .nav__actions { order: -1; flex-direction: row; align-items: center; margin: 0 0 var(--space-3); padding: 0 0 var(--space-3); border-top: 0; border-bottom: 1px solid var(--color-border); }
  .nav.is-open .nav__actions .btn { width: auto; }
}

@media (min-width: 1024px) {
  .nav__burger { display: none; }
  .nav__panel {
    display: flex;
    position: static;
    align-items: center;
    gap: var(--space-6);
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    flex: 1;
    justify-content: flex-end;
  }
  .nav__links { flex-direction: row; gap: var(--space-1); }
  .nav__links > li { position: relative; }
  .nav__links > li > a, .nav__links > li > details > summary { padding: 0 var(--space-3); min-height: 44px; }
  .nav__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 260px;
    padding: var(--space-2);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  .nav__actions { flex-direction: row; align-items: center; gap: var(--space-5); margin: 0; padding: 0; border: 0; }
}

/* Bandeau d'annonce optionnel : orange, texte encre */
.announce { background: var(--orange-500); color: var(--ink-900); font-weight: 600; font-size: var(--text-small); text-align: center; padding: var(--space-2) var(--gutter); }
.announce a { color: var(--ink-900); }

/* --------------------------------------------------------------------------
   8. Pied de page : .footer (markup exact dans partials/footer.html)
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink-900);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: auto;
}
.footer a { color: var(--white); text-decoration: none; opacity: 0.8; }
@media (hover: hover) and (pointer: fine) {
  .footer a:hover { opacity: 1; text-decoration: underline; color: var(--white); }
}
.footer__top { display: grid; gap: var(--space-10); }
.footer__brand { max-width: 360px; }
/* Le PNG blanc a un cadre opaque de 90 px et une marge : on le rogne en CSS (wordmark = 24,5 % / 10,5 % / 18 % / 10,5 %) */
.footer__brand img { height: 72px; width: auto; clip-path: inset(24.5% 10.5% 18% 10.5%); margin: -17px 0 -12px -17px; }
.footer__brand p { color: var(--ink-200); font-size: var(--text-small); margin-top: var(--space-2); }
.footer__contact { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.footer__contact a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; font-weight: 600; opacity: 1; }
.footer__contact svg { width: 18px; height: 18px; color: var(--green-300); }

.footer__nap { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, 1fr); }
.footer__centre { display: flex; flex-direction: column; gap: 6px; font-size: var(--text-small); }
.footer__centre .centre-name { color: var(--white); font-size: var(--text-body); }
.footer__centre .centre-dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15); }
.footer__centre address { font-style: normal; color: var(--ink-200); line-height: 1.5; }
.footer__centre .badge { align-self: flex-start; box-shadow: none; }

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-small);
  color: var(--ink-300);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
/* Cibles tactiles 44 px sur les liens tel: et légaux, sans bouger le rythme vertical (marges négatives) */
.footer a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; }
.footer__contact a[href^="tel:"] { margin-block: -6px; }
.footer__legal a { display: inline-block; padding: 12px 0; margin-block: -12px; }

@media (min-width: 768px) {
  .footer__top { grid-template-columns: 1fr 2fr; gap: var(--space-12); }
}
@media (min-width: 1024px) {
  .footer { padding-top: var(--space-20); }
  .footer__nap { grid-template-columns: repeat(4, 1fr); }
}
/* Sous 1024 : cibles de 44 px empilées, sans marges négatives qui se chevauchent (M15) ;
   le footer laisse la place à la barre d'actions fixe */
@media (max-width: 1023px) {
  .footer__nap { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }
  .footer__centre { gap: 0; }
  .footer .footer__centre > a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-block: 0; }
  .footer__centre address { margin-block: 2px 4px; }
  .footer__contact { gap: 0; }
  .footer .footer__contact a { min-height: 44px; margin-block: 0; }
  .footer__legal { gap: 0 var(--space-5); }
  .footer__legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin-block: 0; }
  body:has(.action-bar) .footer { padding-bottom: calc(var(--space-8) + 72px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 1023px) and (max-height: 500px) {
  body:has(.action-bar) .footer { padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom, 0px)); }
}
/* Sous 768 : footer compact (objectifs de longueur 2.2). Blocs centres toujours en 2 colonnes (point + nom, adresse,
   Itinéraire) ; la phrase d'accroche et le numéro répété sous chaque centre sont masqués : le numéro principal reste en tête du footer
   (.footer__contact) et dans la barre d'actions. Les cibles du nom et d'Itinéraire gardent 44 px mais mordent
   sur l'adresse (texte non interactif), jamais l'une sur l'autre. */
@media (max-width: 767px) {
  .footer { padding-top: var(--space-12); }
  .footer__top { gap: var(--space-8); }
  .footer__contact { margin-top: var(--space-3); }
  .footer__nap { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: var(--space-4) var(--space-3); }   /* 2 colonnes de 320 à 430, 4 en paysage */
  .footer__brand p { display: none; }   /* redit les 4 centres listés juste dessous : place gagnée pour les adresses */
  .footer .footer__centre > a[href^="tel:"] { display: none; }
  .footer .footer__centre > .centre-name { margin-bottom: -10px; }
  .footer .footer__centre > .footer__route { margin-top: -6px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }   /* se lit comme un lien, pas comme une ligne d'adresse */
  .footer__centre address { margin-block: 0; }
  .footer__bottom { margin-top: var(--space-8); padding-top: var(--space-5); }
  body:has(.action-bar) .footer { padding-bottom: calc(var(--space-4) + 72px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 767px) and (max-height: 500px) {
  body:has(.action-bar) .footer { padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom, 0px)); }
}
/* ÉTROIT : 2 colonnes de 132 px. "Cinquantenaire" tient en 14 px, "Bruxelles-Central" passe à la ligne au trait d'union */
@media (max-width: 359px) {
  .footer__centre .centre-name { font-size: 0.875rem; gap: 6px; line-height: 1.3; }
  .footer .footer__centre > .centre-name { margin-bottom: -4px; }   /* nom sur 2 lignes : ne mord pas sur l'adresse */
}

/* --------------------------------------------------------------------------
   9. Hero : .hero, .hero__content, .hero__media, .hero__photo (arche)
   --------------------------------------------------------------------------
   <section class="hero"><div class="container hero__grid">
     <div class="hero__content">eyebrow, h1, lead, .hero__actions, .hero__meta</div>
     <div class="hero__media"><img class="hero__photo" ...></div>
   </div></section>
   Page centre : ajoute .is-<centre> sur .hero et un .centre-bar--short avant le h1.
   -------------------------------------------------------------------------- */

.hero { padding-block: var(--space-10) var(--space-12); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); align-items: center; }   /* minmax : un mot long ne pousse plus la page à 320 */
.hero__content { display: flex; flex-direction: column; gap: var(--space-5); max-width: 660px; }
.hero__content h1 { font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
.hero__content h1 em { font-style: italic; font-weight: 500; color: var(--green-600); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); color: var(--ink-500); font-size: var(--text-small); font-weight: 600; }
/* Lien tel: du hero : cible tactile 44 px, comme les autres liens tel: du site */
.hero__meta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-700); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .hero__meta a:hover { color: var(--green-700); text-decoration: underline; }
}

.hero__media { position: relative; }
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;   /* 4/3 dès le mobile (M18), 4/5 dès 1024 */
  object-fit: cover;
  border-radius: var(--radius-arch);
  background: var(--centre-soft);
  outline: 1px solid rgba(0, 0, 0, 0.06);
  outline-offset: -1px;
}
/* Titre de page simple (pages intérieures sans photo) */
.page-header { padding-block: var(--space-8) var(--space-4); display: flex; flex-direction: column; gap: var(--space-4); }
.page-header h1 { max-width: 20ch; }
.page-header .lead { max-width: var(--prose); }

@media (min-width: 768px) {
  .hero { padding-block: var(--space-12) var(--space-16); }
  .hero__photo { aspect-ratio: 4 / 3; }
}
@media (min-width: 1024px) {
  .hero { padding-block: var(--space-16) var(--space-20); }
  .hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--space-16); }
  .hero__photo { aspect-ratio: 4 / 5; max-height: 640px; }
  .hero--centre .hero__photo { aspect-ratio: 5 / 4; }
}
/* COURT : téléphone en paysage, hero en 2 colonnes (M13) */
@media (max-width: 1023px) and (max-height: 500px) {
  .hero { padding-block: var(--space-6) var(--space-8); }
  .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--space-6); }
  .hero__content h1 { font-size: 2.25rem; }
  .hero__photo { aspect-ratio: 4 / 5; max-height: calc(100vh - 96px); max-height: calc(100svh - 96px); }
}
/* ÉTROIT : à 40 px "kinésithérapeutes" (313 px) ne tient pas dans 280 et overflow-wrap le casse en plein mot.
   À 34 px il fait 266 px et passe entier. */
@media (max-width: 359px) {
  .hero__content h1 { font-size: 2.125rem; }
}
/* Lien tel: de l'entête de page centre : cible 44 px, texte à la même place */
.hero--centre a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; margin-block: -9px; }

/* --------------------------------------------------------------------------
   10. Bande de chiffres : .stats
   --------------------------------------------------------------------------
   <ul class="stats"><li class="stat"><span class="stat__value">18</span>
   <span class="stat__label">thérapeutes</span></li>...</ul>
   Chiffres calculés au build, jamais de promesse (pas de "meilleur").
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-4);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: var(--text-h2);
  line-height: 1.05;
  color: var(--green-600);
  font-variant-numeric: lining-nums;
}
.stat__label { font-size: var(--text-small); font-weight: 600; color: var(--ink-500); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); padding: var(--space-8) 0; }
  .stat + .stat { border-left: 1px solid var(--color-border); padding-left: var(--space-6); }
}

/* --------------------------------------------------------------------------
   11. Carte centre : .centre-card (a) ou .centre-card.centre-card--soon (div)
   --------------------------------------------------------------------------
   <a class="card card--link centre-card is-evere" href="centre-evere.html">
     <figure class="centre-card__media"><img src="../illustrations/evere.svg" alt="..."></figure>
     <span class="centre-bar"></span>
     <div class="card__body">
       <h3 class="card__title">Evere</h3>
       <p class="centre-card__quartier">Paduwa</p>
       <p class="centre-card__address">Avenue du Cimetière de Bruxelles 57b, 1140</p>
       <span class="link-arrow">Voir le centre <svg>...</svg></span>
     </div>
   </a>
   -------------------------------------------------------------------------- */

.centre-card__media {
  aspect-ratio: 3 / 2;
  background: var(--centre-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.centre-card__media img { width: 100%; height: 100%; object-fit: cover; }
.centre-card .card__body { gap: var(--space-1); }
.centre-card__quartier {
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.centre-card__address { font-size: var(--text-small); color: var(--ink-700); margin-top: var(--space-1); }
/* margin-top:auto : le lien reste calé en bas quelle que soit la longueur de l'adresse (1 ou 2 lignes) */
.centre-card .link-arrow { margin-top: auto; padding-top: var(--space-2); min-height: 32px; }
.centre-card--soon { cursor: default; }
.centre-card--soon .card__title { color: var(--ink-700); }
.centre-card--soon .centre-card__media img { opacity: 0.85; }

/* Sous 768 : toute collection de cartes de centre devient une liste de rangées (M7).
   Vignette 88 px, barre en haut, nom + quartier, "Voir le centre" en 44 px, toute la carte cliquable.
   L'adresse reste dans le panneau Comment venir et dans le footer. */
@media (max-width: 767px) {
  :is(.grid-2, .grid-3, .grid-4):has(> .centre-card) { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); overflow: visible; margin-inline: 0; padding: 0; }
  .centre-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas: "bar bar" "media body";
    column-gap: var(--space-3);
    align-items: center;
    padding: 0 var(--space-3) var(--space-3);
  }
  .centre-card > .centre-bar { grid-area: bar; margin: 0 calc(-1 * var(--space-3)) var(--space-3); width: auto; }
  .centre-card__media { grid-area: media; width: 88px; border-radius: var(--radius-md); }
  .centre-card .card__body { grid-area: body; padding: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-2); }
  .centre-card .card__title { font-size: 1.125rem; }
  .centre-card__address { display: none; }
  .centre-card .link-arrow { flex-basis: 100%; min-height: 44px; margin-top: 0; padding-top: 0; }
  /* article + lien intérieur (home) : toute la rangée devient le lien */
  .centre-card a.link-arrow::after { content: ""; position: absolute; inset: 0; }
}

/* --------------------------------------------------------------------------
   12. Carte thérapeute : .therapist-card
   --------------------------------------------------------------------------
   Une seule carte, partout où le finder existe (home, centres, équipe) :
   <article class="card therapist-card">
     <span class="centre-bar"><i class="is-evere"></i><i class="is-cinquantenaire"></i></span>
     <figure class="therapist-card__photo"><img src="../img/portraits/x.jpg" alt="Portrait de ..."></figure>
     <div class="card__body">
       <div><h3 class="card__title">Adam Usseault</h3><p class="therapist-card__job">Kinésithérapeute</p></div>
       <p class="therapist-card__centres"><span class="centre-name is-evere"><i class="centre-dot"></i>Evere</span> ...</p>
       <ul class="cluster therapist-card__pills"><li><span class="pill pill--kinesitherapie">Kinésithérapie</span></li></ul>
       <table class="therapist-card__week" aria-hidden="true">
         <thead><tr><td></td><th scope="col" data-day="lun"><abbr title="Lundi">Lu</abbr></th> ... <th data-day="dim">Di</th></tr></thead>
         <tbody>
           <tr><th scope="row">Matin</th><td><span class="therapist-card__cell is-evere" data-slot="lun:am"><i class="centre-dot"></i></span></td> ... </tr>
           <tr><th scope="row">Après-midi</th><td><span class="therapist-card__cell" data-slot="lun:pm"></span></td> ... </tr>
         </tbody>
       </table>
       <p class="badge-presence is-evere"><i class="centre-dot"></i><span>Habituellement présent le mardi après-midi à Evere</span></p>
       <div class="card__footer"><a class="btn btn--primary btn--block" href="...">Réserver sur Doctoranytime</a></div>
     </div>
   </article>
   Grille hebdo (moment signature) : 7 colonnes Lu à Di x 2 lignes matin / après-midi, une cellule teintée
   par centre (.is-<centre> + point), .therapist-card__cell--multi quand deux centres partagent la demi-journée
   (deux points sur fond neutre), .is-today sur la colonne du jour (posé en JS), .is-hit sur les cellules qui
   répondent au filtre du finder. La grille est aria-hidden : le badge de présence porte la même information en texte.
   Pas de grille quand le thérapeute n'a pas d'horaire fixe (sur rendez-vous) : le badge seul suffit.
   La ligne .therapist-card__centres (point + nom, jamais la couleur seule) sert de légende à la grille.
   Variante compacte .therapist-card--compact : sans ligne centres ni grille, badge seul. À réserver aux
   aperçus hors finder (teaser de 4 cartes). Home, pages centre et design system sont encore sur cette variante
   et doivent recevoir la grille (lot suivant).
   Bien-être et sport : ajoute .therapist-card--bien-etre + <span class="pill">Bien-être et sport</span>
   -------------------------------------------------------------------------- */

.therapist-card__photo {
  aspect-ratio: 4 / 5;
  background: var(--color-muted);
  overflow: hidden;
}
.therapist-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.therapist-card__job { font-size: var(--text-small); font-weight: 600; color: var(--ink-500); margin-top: 2px; }
.therapist-card__pills { --cluster: 6px; }
.therapist-card__pills li { display: contents; }
.therapist-card--bien-etre .therapist-card__photo { background: var(--orange-100); }
.therapist-card--bien-etre .card__body { background: var(--paper); }
.therapist-card__phone { display: block; text-align: center; font-size: var(--text-small); color: var(--ink-500); margin-top: var(--space-2); }
/* Numéro cliquable sous le bouton (thérapeute joignable par téléphone) : cible 44 px */
a.therapist-card__phone { display: flex; align-items: center; justify-content: center; min-height: 44px; font-weight: 600; color: var(--color-link); }

/* Centres du thérapeute sous le titre : point + nom, sert de légende à la grille */
.therapist-card__centres { display: flex; flex-wrap: wrap; gap: 4px var(--space-3); font-size: var(--text-small); }
.therapist-card__centres .centre-name { font-weight: 600; color: var(--ink-700); gap: 6px; }

/* Grille de présence Lu à Di x matin / après-midi : le moment signature de la carte */
.therapist-card__week { table-layout: fixed; border-collapse: separate; border-spacing: 2px 3px; margin: 0 -2px; font-size: var(--text-caption); }
.therapist-card__week th, .therapist-card__week td { padding: 0; text-align: center; vertical-align: middle; }
.therapist-card__week thead th { height: 20px; font-size: var(--text-caption); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-500); }
.therapist-card__week thead th abbr { text-decoration: none; }
.therapist-card__week thead th.is-today { color: var(--ink-900); background: var(--teal-100); border-radius: 4px; }
.therapist-card__week thead td, .therapist-card__week tbody th { width: 62px; }
.therapist-card__week tbody th { text-align: left; font-size: var(--text-caption); font-weight: 600; color: var(--ink-500); white-space: nowrap; padding-right: 4px; }
.therapist-card__cell {
  display: flex; align-items: center; justify-content: center; gap: 2px;
  height: auto; min-height: 24px; border-radius: 6px;
  background: var(--ink-100);
  transition: box-shadow var(--dur-fast) var(--ease);
}
.therapist-card__cell[class*="is-"] { background: var(--centre-soft); }
.therapist-card__cell--multi { background: var(--ink-100); }
.therapist-card__cell .centre-dot { width: 10px; height: 10px; }
.therapist-card__cell--multi .centre-dot { width: 8px; height: 8px; }
.therapist-card__cell.is-hit { box-shadow: 0 0 0 2px var(--ink-900); }
@media (prefers-reduced-motion: reduce) { .therapist-card__cell { transition: none; } }

/* Variante compacte : badge seul, sans ligne centres ni grille (aperçus hors finder) */
.therapist-card--compact .therapist-card__centres,
.therapist-card--compact .therapist-card__week { display: none; }

/* Carte compacte (M6) : sous 640 px et en écran court (2 colonnes en paysage). Le markup ne change pas.
   Photo carrée de 72 px à gauche du nom, du titre pro et des centres ; puis grille hebdo, badge et bouton
   sur toute la largeur. La grille gagne ~15 px par cellule et la carte ~50 px de hauteur. */
@media (max-width: 639px), (max-width: 1023px) and (max-height: 500px) {
  :is(.grid-3, .grid-4):has(> .therapist-card) { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
  .therapist-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas: "bar bar" "photo head" "photo centres" "photo pills" "week week" "badge badge" "foot foot" "phone phone";
    /* Le vide d'une carte étirée (2 colonnes en COURT) va sous le badge, jamais au-dessus de la grille hebdo :
       les grilles de deux voisines restent alignées et les boutons calés en bas */
    grid-template-rows: auto auto auto auto auto 1fr auto auto;
    align-content: start;
    column-gap: var(--space-3);
    align-items: start;
    padding: 0 var(--space-4) var(--space-4);
  }
  .therapist-card > .centre-bar { grid-area: bar; margin: 0 calc(-1 * var(--space-4)) 14px; width: auto; }
  .therapist-card__photo { grid-area: photo; width: 72px; height: 72px; aspect-ratio: 1; margin: 0; border-radius: var(--radius-lg); }
  .therapist-card .card__body { display: contents; }
  .therapist-card .card__body > div:first-child { grid-area: head; }
  .therapist-card__centres { grid-area: centres; margin-top: var(--space-1); }
  .therapist-card__pills { grid-area: pills; margin-top: 6px; }
  .therapist-card__week { grid-area: week; width: calc(100% + 4px); margin-top: var(--space-3); }
  .therapist-card .badge-presence { grid-area: badge; justify-self: start; margin-top: 10px; }
  .therapist-card .card__footer { grid-area: foot; margin-top: var(--space-3); padding-top: 0; }
  .therapist-card .card__body > .therapist-card__phone { grid-area: phone; }
  .therapist-card .btn--block { white-space: normal; text-align: center; padding-inline: var(--space-3); line-height: 1.25; }
  .therapist-card--bien-etre .card__body { background: none; }
  /* la pilule seule répète le titre pro : masquée, sauf bien-être et sport (signal de catégorie) */
  .therapist-card:not(.therapist-card--bien-etre) .therapist-card__pills:not(:has(> li + li)) { display: none; }
}
@media (min-width: 640px) and (max-width: 1023px) and (max-height: 500px) {
  :is(.grid-3, .grid-4):has(> .therapist-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Badge de présence : bg vert pâle, texte vert foncé, point du centre */
.badge-presence {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--radius-lg);
  background: var(--color-success-bg);
  color: var(--color-success-fg);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.4;
  text-wrap: pretty;
}
.badge-presence .centre-dot { margin-top: 5px; }
.badge-presence--muted { background: var(--ink-100); color: var(--ink-700); }
.badge-presence--muted .centre-dot { background: var(--ink-400); }

/* --------------------------------------------------------------------------
   13. Finder "qui est là et quand" : .finder, .chip
   --------------------------------------------------------------------------
   <div class="finder" id="trouver">
     <fieldset class="finder__row"><legend class="finder__label">Centre</legend>
       <div class="finder__pills">
         <button class="chip" type="button" aria-pressed="true" data-key="centre" data-value="">Tous les centres</button>
         <button class="chip is-evere" type="button" aria-pressed="false" data-key="centre" data-value="evere"><i class="centre-dot"></i>Evere</button>
       </div></fieldset>
     ... Jour (.finder__pills--days, style="--n: 6", chips .chip__full + .chip__abbr), Moment (.finder__pills--seg) ...
     <p class="finder__help">Horaires habituels de présence, pas des créneaux libres. ...</p>
     <div class="finder__status"><p class="finder__count" aria-live="polite">18 thérapeutes</p>
       <button class="btn btn--ghost btn--sm finder__reset" type="button">Réinitialiser</button></div>
   </div>
   Résultats : .grid-4 de .therapist-card ; état vide : .finder__empty
   Mobile (MOBILE-SPEC M2 à M5) : home et équipe = barre basse .finder-bar + feuille .sheet (bloc 23, 24,
   mobile.js) ; pages centre = en ligne compact (.finder__row--locked masquée, .finder__all) ou rien
   (.finder--few). Sous 768 les jours passent en grille et le moment en segmenté 3 colonnes.
   -------------------------------------------------------------------------- */

.finder { display: flex; flex-direction: column; gap: var(--space-5); }
.finder__row { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.finder__label {
  padding: 0;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-500);
}
.finder__pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.finder__help { font-size: var(--text-small); color: var(--ink-500); max-width: 60ch; }
.finder__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.finder__count { font-weight: 700; font-variant-numeric: tabular-nums; }
.finder__count small { font-weight: 500; color: var(--ink-500); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--ink-900);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .chip:hover { border-color: var(--ink-900); }
}
.chip[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.chip[aria-pressed="true"] .centre-dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35); }
.chip[disabled] { opacity: 0.5; cursor: not-allowed; }
.chip__note { font-size: var(--text-caption); font-weight: 600; color: var(--ink-500); text-transform: lowercase; }
.chip[aria-pressed="true"] .chip__note { color: var(--ink-200); }
.chip:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.chip__abbr { display: none; }

/* État vide : jamais "aucun résultat", toujours une porte de sortie */
.finder__empty {
  background: var(--color-surface);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}
.finder__empty h3 { font-size: var(--text-h4); font-weight: 500; }
.finder__empty .cluster { --cluster: var(--space-2); }
.finder__empty[hidden] { display: none; }
/* État vide solide partout : les chips et boutons de sortie passent à la ligne au lieu de déborder */
.finder__empty .cluster { width: 100%; }
.finder__empty .chip, .finder__empty .btn { white-space: normal; height: auto; min-height: 44px; max-width: 100%; padding-block: 8px; line-height: 1.3; text-align: left; }

/* Groupe "Horaires sur demande (3)" : toujours visible, jamais replié (retour Simon 25/09) */
.finder__more { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.finder__more-title { margin: 0; font-size: var(--text-h4); line-height: 1.3; }
.finder__more > .grid-4, .finder__more > .grid-3 { margin-top: var(--space-4); }

/* Sous 768 : jours en grille, moment en segmenté, rangée verrouillée masquée, feuille sur home et équipe */
@media (max-width: 767px) {
  .finder__pills--days, .finder__pills--seg { display: grid; gap: 6px; }
  .finder__pills--days { grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); }
  .finder__pills--days > [data-value=""] { grid-column: 1 / -1; }
  .finder__pills--seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder__pills--days .chip, .finder__pills--seg .chip { justify-content: center; min-width: 0; padding-inline: 4px; }
  .chip:has(.chip__abbr) .chip__full { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .chip:has(.chip__abbr) .chip__abbr { display: inline; }
  .finder__row--locked { display: none; }
  .finder--few > .finder__row, .finder--few .finder__reset { display: none; }
  .js [data-finder-sheet] > .finder__row { display: none; }
  .js [data-finder-zone] { padding-bottom: calc(var(--finder-bar-h, calc(64px + env(safe-area-inset-bottom, 0px))) + 16px); }
  .finder__all { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
}
@media (min-width: 768px) { .finder__all { display: none; } }   /* sur desktop la rangée Centre suffit */
@media (max-width: 359px) {
  .finder__pills--days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .finder__pills--seg .chip { font-size: 0.875rem; }   /* "Après-midi" touchait la bordure (89 px) */
}

/* --------------------------------------------------------------------------
   14. Panneau transports : .transport-panel, .line, .line--metro/tram/bus/train
   --------------------------------------------------------------------------
   <section class="card transport-panel is-evere">
     <span class="centre-bar"></span>
     <div class="card__body">
       <h3 class="card__title centre-name"><i class="centre-dot"></i>Comment venir à Evere</h3>
       <dl class="transport__rows">
         <div class="transport__row"><dt>Bus</dt><dd>
           <span class="transport__stop">Paduwa, 2 min à pied</span>
           <span class="transport__lines"><span class="line line--bus">45</span>...</span></dd></div>
         <div class="transport__row"><dt>Parking</dt><dd>Zone bleue devant le centre, disque 2 h</dd></div>
         <div class="transport__row"><dt>PMR</dt><dd>...</dd></div>
       </dl>
       <div class="cluster"><a class="btn btn--secondary btn--sm" href="https://www.google.com/maps/dir/?api=1&destination=lat,lng">Itinéraire</a></div>
     </div>
   </section>
   -------------------------------------------------------------------------- */

.transport__rows { display: flex; flex-direction: column; }
.transport__row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-small);
  line-height: 1.5;
}
.transport__row:first-child { border-top: 0; }
.transport__row dt { font-weight: 700; color: var(--ink-500); font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 3px; }
.transport__row dd { display: flex; flex-direction: column; gap: 6px; color: var(--ink-800); }
.transport__stop { font-weight: 700; color: var(--ink-900); }
.transport__stop small { font-size: inherit; font-weight: 500; color: var(--ink-600); }   /* minutes à pied : 14 px (M17) */
.transport__lines { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.transport__lines .sep { color: var(--ink-500); font-size: var(--text-caption); padding: 0 2px; }

.line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: auto;
  min-height: 26px;
  padding: 0 7px;
  border-radius: var(--radius-sm);
  background: var(--ink-100);
  color: var(--ink-900);
  font-size: var(--text-caption);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.line--metro { background: var(--ink-900); color: var(--white); border-radius: var(--radius-pill); }
.line--tram  { background: var(--white); border: 1.5px solid var(--ink-900); }
.line--train { background: var(--teal-100); }
.line--night { background: var(--ink-700); color: var(--white); }
.line--other { background: var(--white); border: 1.5px dashed var(--ink-300); color: var(--ink-700); }

/* Vélo et parking repliables : details.transport__more[data-mobile-closed], ouvert par défaut (sans JS, desktop),
   refermé sous 768 par mobile.js. Le summary n'existe visuellement que sous 768.
   <details class="transport__more" open data-mobile-closed><summary>Vélo et parking <svg>chevron</svg></summary>
     <dl class="transport__rows">...</dl></details> */
.transport__more > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  min-height: 44px; padding: var(--space-2) 0; border-top: 1px solid var(--color-border);
  font-weight: 700; font-size: var(--text-small); color: var(--color-link); cursor: pointer; list-style: none;
}
.transport__more > summary::-webkit-details-marker { display: none; }
.transport__more > summary svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.transport__more[open] > summary svg { transform: rotate(180deg); }
.transport__more .transport__row:first-child,
.transport__more + .transport__rows .transport__row:first-child { border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .transport__more > summary { display: none; } }
/* Le details et la dl qui le suit collent aux rangées du dessus : on annule le gap du .card__body,
   le rythme reste celui d'une seule liste (desktop identique) */
.card__body > .transport__more, .card__body > .transport__more + .transport__rows { margin-top: calc(-1 * var(--space-3)); }

/* Sous 768 : l'action (Itinéraire, Voir le centre, Appeler) monte juste sous le titre (M8) */
@media (max-width: 767px) {
  .transport-panel .card__body > .card__title { order: -2; }
  .transport-panel .card__body > .cluster { order: -1; }
  /* Chaque arrêt secondaire (.sep : "Buyl, 6 à 10 min", "De Lijn") ouvre sa propre ligne, suivi de ses pastilles
     sur la même ligne : on sait quelle ligne dessert quel arrêt. Flux en ligne au lieu du flex pour pouvoir
     forcer le retour AVANT l'arrêt sans en ajouter un après. Desktop inchangé.
     Libellés (MÉTRO, PARKING) sur 64 px au lieu de 84 : 20 px de plus pour les arrêts, moins de retours à la ligne. */
  .transport__row { grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-2); padding-block: 10px; }
  .transport__lines { display: block; line-height: 30px; }
  .transport__lines > * { margin-right: 6px; vertical-align: middle; }
  .transport__lines .sep { padding: 0; font-weight: 600; color: var(--ink-600); line-height: 1.4; }
  .transport__lines .sep:not(:first-child)::before { content: "\A"; white-space: pre; }
}

/* Carte géographique (MapLibre chargée par la page ; ici juste le cadre).
   Consignes MapLibre au build : cooperativeGestures: true, .map { touch-action: pan-y } une fois montée,
   hauteur fixe (jamais en vh), map.resize() quand on déplie la carte. */
.map { width: 100%; height: 280px; border-radius: var(--radius-xl); background: var(--green-50); border: 1px solid var(--color-border); overflow: hidden; }
@media (min-width: 1024px) { .map { height: 360px; } }


/* Sélecteur de centre (promu de .pg-switch de la home) : un seul sélecteur pilote le panneau Comment venir
   <div class="centre-switch" role="group" aria-labelledby="x"><p class="finder__label" id="x">Centre</p>
     <button class="chip is-evere" type="button" aria-pressed="true"><i class="centre-dot"></i>Evere</button> ...</div> */
.centre-switch { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.centre-switch .finder__label { width: 100%; }
@media (max-width: 767px) {
  .centre-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .centre-switch .finder__label { grid-column: 1 / -1; }
  .centre-switch .chip { min-width: 0; padding-inline: var(--space-3); white-space: normal; }
}
/* ÉTROIT : colonnes de 136 px en 2x2 (sélecteur Comment venir, centres du menu, onglets de la galerie).
   "Cinquantenaire" dépassait de sa pilule : 13 px (à 14 px il touchait encore l'arrondi), marges 10 px,
   point + nom gardés (charte). */
@media (max-width: 359px) {
  .centre-switch .chip, .chip[role="tab"], .nav__centres a { font-size: 0.8125rem; padding-inline: 10px; gap: 6px; }
}

/* --------------------------------------------------------------------------
   15. Galerie : .gallery > figure
   --------------------------------------------------------------------------
   <div class="gallery"><figure><img src="../img/evere/1.jpg" alt="Salle de sport d'Evere" loading="lazy">
   <figcaption>Salle de sport, Evere</figcaption></figure>...</div>
   -------------------------------------------------------------------------- */

.gallery { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
.gallery figure { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--color-muted);
  outline: 1px solid rgba(0, 0, 0, 0.06);
  outline-offset: -1px;
}
.gallery figcaption { font-size: var(--text-caption); font-weight: 600; color: var(--ink-500); }
.gallery--tabs { margin-bottom: var(--space-6); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.gallery button { display: block; width: 100%; border-radius: var(--radius-lg); }

/* --------------------------------------------------------------------------
   16. Formulaire : .form, .form__field, .form__row, .form__error, .form__hint
   --------------------------------------------------------------------------
   <form class="form">
     <div class="form__row">
       <div class="form__field"><label for="prenom">Prénom <span class="req">*</span></label><input id="prenom" required></div>
       <div class="form__field has-error"><label for="email">Email</label><input id="email" aria-describedby="email-err" aria-invalid="true">
         <p class="form__error" id="email-err">Vérifiez le format de l'adresse.</p></div>
     </div>
   </form>
   Inputs 48 px, labels toujours visibles, erreur sous le champ, en rouge foncé.
   -------------------------------------------------------------------------- */

.form { display: flex; flex-direction: column; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .form__row { grid-template-columns: repeat(2, 1fr); } }
.form__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form__field label { font-weight: 700; font-size: var(--text-small); }
.form__field .req { color: var(--red-700); }
.form__hint { font-size: var(--text-caption); color: var(--ink-500); font-weight: 500; }
.form__field input:not([type="checkbox"]):not([type="radio"]),
.form__field select,
.form__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--ink-900);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form__field textarea { min-height: 144px; padding: var(--space-3) var(--space-4); resize: vertical; line-height: 1.5; }
.form__field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231b1e2a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--ink-400); }
.form__field input:focus-visible, .form__field select:focus-visible, .form__field textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), 0 0 0 4px rgba(6, 132, 102, 0.22);   /* anneau renforcé (M20) */
}
.form__field.has-error input, .form__field.has-error select, .form__field.has-error textarea { border-color: var(--color-error-border); }
.form__field.has-error input:focus-visible, .form__field.has-error select:focus-visible, .form__field.has-error textarea:focus-visible {
  box-shadow: 0 0 0 1px var(--color-error-border), 0 0 0 4px rgba(241, 81, 82, 0.22);
}
.form__error { font-size: var(--text-small); font-weight: 600; color: var(--color-error); display: flex; gap: 6px; align-items: flex-start; }
.form__error::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--color-error); color: var(--white); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; margin-top: 2px; }
.form__check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-small); min-height: 44px; }
.form__check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-500); flex: none; }
.form__check label { font-weight: 500; }
.form__notice { font-size: var(--text-caption); color: var(--ink-500); }
.form__success { background: var(--color-success-bg); color: var(--color-success-fg); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); font-weight: 600; }
.form__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
/* "(facultatif)" dans le label du seul champ optionnel, au lieu d'astérisques partout */
.form__opt { font-weight: 500; color: var(--ink-500); }
/* Sous 1024 : aides et mentions en 14 px, lisibles au pouce */
@media (max-width: 1023px) {
  .form__hint, .form__notice { font-size: var(--text-small); line-height: 1.45; }
  /* Label : zone de tap étendue à 44 px sans bouger la mise en page (M15) */
  .form__field label { padding-block: 11px; margin-block: -11px; }
}
/* honeypot : hors écran, jamais display:none (les bots le lisent). En fin de formulaire et inert (M20). */
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   17. Fil d'Ariane : .breadcrumb
   --------------------------------------------------------------------------
   <nav class="breadcrumb" aria-label="Fil d'Ariane"><ol>
     <li><a href="home.html">Accueil</a></li><li><a href="...">Centres</a></li>
     <li><span aria-current="page">Evere</span></li></ol></nav>
   -------------------------------------------------------------------------- */

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); font-size: var(--text-small); font-weight: 600; color: var(--ink-500); }
.breadcrumb li { display: flex; align-items: center; gap: var(--space-2); min-height: 32px; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-300); }
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }
}
.breadcrumb [aria-current="page"] { color: var(--ink-900); }
/* Sous 768 : un seul lien retour de 44 px vers le parent ("‹ Centres"), le lecteur d'écran garde le fil complet */
@media (max-width: 767px) {
  .breadcrumb ol { padding: 0; margin: 0; }
  .breadcrumb li { min-height: 0; }
  .breadcrumb li + li::before { content: none; }
  .breadcrumb li:not(:nth-last-child(2)),
  .breadcrumb li:not(:nth-last-child(2)) > * { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .breadcrumb li:not(:nth-last-child(2)) > a { visibility: hidden; }   /* masqué = hors du parcours clavier (constat recette) */
  .breadcrumb li:nth-last-child(2) a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-block: -6px; color: var(--ink-700); }
  .breadcrumb li:nth-last-child(2) a::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
}

/* --------------------------------------------------------------------------
   18. FAQ / accordéon : .faq > details.faq__item
   --------------------------------------------------------------------------
   <div class="faq"><details class="faq__item"><summary>Faut-il une prescription ?</summary>
   <div class="faq__body"><p>...</p></div></details></div>
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--color-border); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  min-height: 56px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-h4);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23045643' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .faq__item > summary:hover { color: var(--green-700); }
}
.faq__body { padding: 0 0 var(--space-5); max-width: var(--prose); color: var(--ink-800); }
.faq__body > * + * { margin-top: var(--space-3); }

/* --------------------------------------------------------------------------
   19. Horaires d'ouverture : table.table-hours (tr.is-today, td.is-closed, caption .badge)
   --------------------------------------------------------------------------
   <table class="table-hours"><caption>Horaires du centre Evere</caption>
   <tbody><tr><th scope="row">Lundi</th><td>8h à 20h</td></tr>
   <tr><th scope="row">Dimanche</th><td class="is-closed">Fermé</td></tr></tbody></table>
   -------------------------------------------------------------------------- */

.table-hours { font-size: var(--text-small); }
.table-hours caption { text-align: left; font-weight: 700; padding-bottom: var(--space-2); font-size: var(--text-body); }
.table-hours th, .table-hours td { padding: 10px var(--space-2); text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.table-hours th { font-weight: 700; width: 40%; }
.table-hours td { font-variant-numeric: tabular-nums; color: var(--ink-800); }
.table-hours .is-closed { color: var(--ink-500); }
.table-hours .is-today th, .table-hours .is-today td { background: var(--teal-100); }
.table-hours .is-today th::after { content: " (aujourd'hui)"; font-weight: 500; color: var(--ink-600); }
/* Badge dans la légende (ex. "À confirmer" tant que le centre n'a pas validé ses heures) : inline, sans ombre */
.table-hours caption .badge { margin-left: var(--space-2); vertical-align: middle; box-shadow: none; }

/* --------------------------------------------------------------------------
   20. Spécialité (tuile) : .specialty-tile, icône sur blob pastel
   --------------------------------------------------------------------------
   <a class="card card--link specialty-tile" href="specialite-kinesitherapie.html" style="--tile: var(--s-kinesitherapie)">
     <span class="specialty-tile__icon"><img src="../icons/....svg" alt=""></span>
     <span class="card__title">Kinésithérapie</span><span class="small muted">12 thérapeutes</span></a>
   -------------------------------------------------------------------------- */

.specialty-tile { align-items: center; text-align: center; padding: var(--space-6) var(--space-4); gap: var(--space-2); }
.specialty-tile__icon {
  width: 88px; height: 88px;
  /* Le picto SVG porte son propre blob dans le pastel de la spécialité : le conteneur reste transparent
     pour ne pas empiler deux blobs (retour Simon 24/09). --tile sert encore aux états et aux bordures. */
  background: transparent;
  display: grid; place-items: center;
  margin-bottom: var(--space-2);
}
.specialty-tile__icon img, .specialty-tile__icon svg { width: 88px; height: 88px; }
/* "Prochainement" : seule l'icône est atténuée, le titre reste en encre à 100 % (contraste) et le badge orange dit le reste.
   Pas d'opacité globale : la tuile garderait sinon un air désactivé et perdrait le poids visuel de ses voisines. */
.specialty-tile--off .specialty-tile__icon { opacity: .55; }
.specialty-tile--off .badge { position: static; margin-top: var(--space-1); }

/* Sous 480 px et en écran court : la tuile devient une rangée de 68 px, picto 48 px à gauche (M10) */
@media (max-width: 479px), (max-width: 1023px) and (max-height: 500px) {
  :is(.grid-3, .grid-4):has(> .specialty-tile) { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .specialty-tile { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center; text-align: left; padding: 10px var(--space-4); min-height: 68px; }
  .specialty-tile__icon { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; }
  .specialty-tile__icon img, .specialty-tile__icon svg { width: 48px; height: 48px; }
  .specialty-tile .card__title { font-size: 1.125rem; align-self: end; }
  .specialty-tile > :not(.specialty-tile__icon):not(.card__title) { grid-column: 2; align-self: start; }
}
@media (min-width: 480px) and (max-width: 1023px) and (max-height: 500px) {
  :is(.grid-3, .grid-4):has(> .specialty-tile) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Ligne unique "Prochainement" qui remplace les tuiles --off sous 768 (tuiles en .show-md, ligne en .hide-md) :
   <p class="specialty-soon hide-md"><span class="badge badge--soon">Prochainement</span> Ostéopathie, psychologie, ...</p> */
.specialty-soon { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-border); font-size: var(--text-small); color: var(--ink-700); }

/* --------------------------------------------------------------------------
   21. Utilitaires d'espacement minimal
   -------------------------------------------------------------------------- */

.mt-2 { margin-top: var(--space-2); } .mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); } .mt-12 { margin-top: var(--space-12); }
.mb-2 { margin-bottom: var(--space-2); } .mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); } .mb-8 { margin-bottom: var(--space-8); }
.hide-lg { } @media (min-width: 1024px) { .hide-lg { display: none !important; } }
.show-lg { display: none !important; } @media (min-width: 1024px) { .show-lg { display: revert !important; } }
/* Seuil 768 (MOBILE) : pas de display: revert, il rendrait une .card en inline */
.hide-md { } @media (min-width: 768px) { .hide-md { display: none !important; } }   /* visible seulement sous 768 */
.show-md { } @media (max-width: 767px) { .show-md { display: none !important; } }   /* masqué sous 768 */
@media (max-width: 767px) { .is-beyond { display: none !important; } }              /* cartes au-delà du plafond mobile (home, M5) */

/* --------------------------------------------------------------------------
   22. Barre d'actions mobile : .action-bar (+ .action-bar--3 sur les pages centre)
   --------------------------------------------------------------------------
   Un seul slot fixe en bas, dans la zone du pouce (MOBILE-SPEC M1). Markup dans partials/footer.html :
   <nav class="action-bar" id="action-bar" aria-label="Actions rapides">
     <a class="btn btn--secondary" href="tel:+32494656768"><svg>tél.</svg>Appeler</a>
     <a class="btn btn--primary" href="equipe.html#trouver">Trouver un thérapeute</a></nav>
   Page centre : .action-bar--3 (Itinéraire, Appeler, Qui est là ?), icône au-dessus du libellé.
   mobile.js pose data-state="hidden" quand les actions du hero sont visibles, dans la zone du finder,
   clavier ouvert, menu ou dialog ouvert. Masquée en écran court (le header porte .nav__call).
   z-index : nav 50 > barres basses 40 ; les <dialog> modaux passent au-dessus de tout (top layer).
   -------------------------------------------------------------------------- */

.action-bar { display: none; }
@media (max-width: 1023px) {
  .action-bar {
    position: fixed; inset: auto 0 0 0; z-index: 40;
    display: flex; gap: var(--space-2);
    padding: var(--space-2) var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--color-border);
    transition: transform var(--dur) var(--ease), visibility 0s linear 0s;
  }
  .action-bar[data-state="hidden"] { transform: translateY(100%); visibility: hidden; transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
  .action-bar .btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding-inline: var(--space-3); white-space: nowrap; }
  .action-bar .btn--primary { flex-grow: 2; }
  .action-bar--3 .btn { flex-direction: column; gap: 2px; min-height: 52px; padding: 4px; font-size: 0.8125rem; line-height: 1.15; }
  .action-bar--3 .btn svg { width: 20px; height: 20px; }
}
@media (max-width: 359px) { .action-bar .btn { font-size: 0.875rem; } .action-bar--3 .btn { font-size: 0.8125rem; } }
@media (max-width: 1023px) and (max-height: 500px) { .action-bar { display: none; } }

/* --------------------------------------------------------------------------
   23. Barre du finder : .finder-bar (home, équipe, sous 768 avec JS)
   --------------------------------------------------------------------------
   Occupe le slot bas tant que la zone du finder ([data-finder-zone]) est à l'écran. Compteur + état + Filtrer ;
   un tap ouvre la feuille #finder-sheet (bloc 24). Pas de hidden : data-state="hidden" suffit.
   <div class="finder-bar" data-finder-bar data-state="hidden">
     <button class="finder-bar__open" type="button" data-finder-open aria-haspopup="dialog" aria-controls="finder-sheet">
       <span class="finder-bar__text"><span class="finder-bar__count" data-finder-bar-count>15 thérapeutes</span>
         <span class="finder-bar__state" data-finder-bar-state>Tous les centres · Toute la semaine</span></span>
       <span class="finder-bar__cta"><svg>filtre</svg><span class="finder-bar__label">Filtrer</span><span data-finder-bar-active></span></span></button></div>
   mobile.js réécrit le compteur (2 morceaux), l'état (champ label de finder:render, centre en tête, jours abrégés),
   enveloppe un "Filtrer" nu dans .finder-bar__label et pose l'aria-label complet (champ labelFull).
   En écran court elle rentre dans le flux, juste sous le compteur.
   -------------------------------------------------------------------------- */

.finder-bar { display: none; }
@media (max-width: 767px) {
  .js .finder-bar {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: var(--space-2) var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--color-border);
    transition: transform var(--dur) var(--ease), visibility 0s linear 0s;
  }
  .js .finder-bar[data-state="hidden"] { transform: translateY(100%); visibility: hidden; transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
}
.finder-bar__open { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; min-height: 48px; text-align: left; border-radius: var(--radius-md); }
.finder-bar__open:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.finder-bar__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
/* Rien n'est coupé à l'ellipse : le compteur passe à la ligne entre ses deux morceaux insécables
   ("15 thérapeutes" / "+ 3 sur demande", posés par mobile.js), l'état tient sur 2 lignes au plus, centre en tête
   ("Cinquantenaire · Mer. après-midi"). La barre grandit (min-height, jamais de hauteur fixe) et la zone du
   finder réserve sa hauteur réelle (--finder-bar-h). */
.finder-bar__count { font-size: 0.9375rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.finder-bar__count > span { white-space: nowrap; }
.finder-bar__od { font-weight: 600; color: var(--ink-600); }
.finder-bar__state { font-size: var(--text-small); font-weight: 600; color: var(--ink-600); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.finder-bar__cta { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md); background: var(--color-primary); color: var(--white); font-weight: 700; font-size: var(--text-small); }
.finder-bar__cta svg { width: 18px; height: 18px; }
/* Sous 400 px : "Filtrer (2)" devient icône + "(2)" ; le nom complet est dans l'aria-label posé par mobile.js */
@media (max-width: 399px) {
  .finder-bar__open { gap: var(--space-2); }
  .finder-bar__label { display: none; }
  .finder-bar__cta { gap: 2px; min-width: 44px; justify-content: center; padding-inline: 10px; }
}
/* COURT : la barre rentre dans le flux, juste sous le compteur */
@media (max-width: 1023px) and (max-height: 500px) {
  .js .finder-bar, .js .finder-bar[data-state="hidden"] { position: static; transform: none; visibility: visible; padding: var(--space-3) 0 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js [data-finder-zone] { padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   24. Feuille (sheet) générique : dialog.sheet, ouvert par showModal()
   --------------------------------------------------------------------------
   <dialog class="sheet" id="finder-sheet" aria-labelledby="finder-sheet-titre">
     <div class="sheet__head"><h2 class="sheet__title" id="finder-sheet-titre">Filtrer</h2>
       <button class="btn btn--ghost btn--sm" type="button" data-finder-reset>Effacer</button>
       <button class="btn btn--ghost btn--icon" type="button" data-sheet-close aria-label="Fermer"><svg>croix</svg></button></div>
     <div class="sheet__body" data-sheet-slot></div>
     <div class="sheet__foot"><button class="btn btn--primary btn--block" type="button" data-sheet-close data-finder-cta>Voir les 15 thérapeutes</button></div>
   </dialog>
   Échap et le bouton Retour d'Android ferment le dialog nativement, un tap sur le fond aussi (mobile.js).
   Le glissement de 300 ms est fonctionnel (continuité barre vers feuille) et coupé par prefers-reduced-motion.
   -------------------------------------------------------------------------- */

.sheet {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: none;
  max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: 0; padding: 0; border: 0; overflow: hidden;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  background: var(--color-surface); color: var(--ink-900); box-shadow: var(--shadow-lg);
}
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgba(27, 30, 42, 0.45); }
.sheet__head { display: flex; align-items: center; gap: var(--space-2); min-height: 56px; padding: var(--space-2) var(--space-2) var(--space-2) var(--gutter); border-bottom: 1px solid var(--color-border); }
.sheet__title { margin-right: auto; font-family: var(--font-display); font-weight: 500; font-size: var(--text-h4); }
.sheet__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4) var(--gutter) var(--space-5); display: flex; flex-direction: column; gap: var(--space-5); }
.sheet__foot { padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--color-border); background: var(--color-surface); }
@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: sheet-in var(--dur-slow) var(--ease); }
}
@keyframes sheet-in { from { transform: translateY(32px); opacity: 0; } }
/* Débordement : mobile.js pose data-overflow sur la feuille tant que du contenu reste caché sous le pied.
   L'ombre dit "ça continue" ; elle disparaît en bas de liste. */
.sheet__foot { position: relative; transition: box-shadow var(--dur-fast) var(--ease); }
.sheet[data-overflow] .sheet__foot { box-shadow: 0 -10px 16px -10px rgba(27, 30, 42, 0.28); }
/* ÉTROIT ou écran bas (320x568, paysage) : toutes les options visibles d'un coup (M2).
   Feuille à 8 px du haut, rythme resserré, chips à 40 px de haut visuel (cible étendue à 44 par ::after), pied de 60 px. */
@media (max-width: 359px), (max-height: 600px) {
  .sheet { max-height: calc(100vh - 8px); max-height: calc(100dvh - 8px); }
  .sheet__head { min-height: 52px; padding-block: 4px; }
  .sheet__body { gap: var(--space-3); padding-block: var(--space-3); }
  .sheet .finder__row { gap: 6px; }
  .sheet .chip { position: relative; min-height: 40px; }
  .sheet .chip::after { content: ""; position: absolute; inset: -2px 0; }
  .sheet__foot { padding-block: var(--space-2) calc(var(--space-2) + env(safe-area-inset-bottom, 0px)); }
}
/* COURT : en-tête compact ; en paysage (560 px et plus), Centre à gauche, Jour + Moment à droite.
   Un petit portrait sous 500 px de haut (SE 1re gén. avec les barres de Safari) garde une colonne. */
@media (max-width: 1023px) and (max-height: 500px) {
  .sheet__head { min-height: 48px; padding-block: 2px; }
}
@media (min-width: 560px) and (max-width: 1023px) and (max-height: 500px) {
  .sheet__body[data-sheet-slot] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; column-gap: var(--space-6); row-gap: var(--space-3); padding-block: var(--space-2); }
  .sheet__body[data-sheet-slot] > .finder__row:first-child { grid-row: span 2; }
  .sheet__body[data-sheet-slot] > .finder__row:nth-child(n+4) { grid-column: 1 / -1; }
}

/* Cartes thérapeute entre 1024 et 1199 px : 3 colonnes au lieu de 4, sinon la grille de la semaine se tasse
   (cellules de 13 px, jours collés, points qui débordent). Vaut pour l'équipe, l'accueil, les centres et la kiné (25/09). */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .grid-4:has(> .therapist-card) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Hero des pages centre, variante C "Fenêtres" (choix de Simon, 25/09) :
   le repère dans sa grande arche teintée, et dessous 3 photos du lieu dans des arches étroites.
   <div class="hv hv-c"><figure class="hv-illu"><img illustration></figure><figure class="hv-photo"><img></figure> x3</div>
   Sans photo (Ixelles, Bruxelles-Central) : .hv--solo, l'arche seule.
   -------------------------------------------------------------------------- */
.hv { position: relative; }
.hv-illu { margin: 0; border-radius: var(--radius-arch); background: var(--centre-soft); display: grid; place-items: center; padding: 10% 10% 8%; outline: 1px solid rgba(0, 0, 0, 0.06); outline-offset: -1px; overflow: hidden; }
.hv-illu img { width: 100%; height: 100%; object-fit: contain; }
.hv-photo { margin: 0; overflow: hidden; background: var(--color-muted); }
.hv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hv--solo .hv-illu { aspect-ratio: 5 / 4; }
.hv-c { display: grid; gap: var(--space-3); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hv-c .hv-illu { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.hv-c .hv-photo { aspect-ratio: 1 / 1; border-radius: var(--radius-xl); outline: 1px solid rgba(0, 0, 0, 0.06); outline-offset: -1px; }   /* carrés arrondis sous l'arche (Simon 25/09) */
.hv-c.hv--solo { display: block; }
@media (max-width: 767px) { .hv-c { gap: var(--space-2); } .hv-c .hv-illu { aspect-ratio: 16 / 10; } }

/* Prochaine présence (mobile.js, 25/09) : la phrase complète du badge passe en texte pour lecteur d'écran,
   la ligne visible dit la prochaine demi-journée habituelle. Sans JS, rien ne change. */
.badge-presence:has(> .badge-next) > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.badge-next { font-weight: 600; }
