/* Regengo, accueil v14 (retours de Mathieu, vocaux du 01/11/2026).
   Chargé après components.css, seulement par pages/home-v14.html. Tout est préfixé .v14 ou .v14-.
   1. carte des centres en tête + lignes STIB, 2. prise de rendez-vous juste après, filtres visibles et colorés,
   3. moins de texte, 4. deux cartes thérapeute par ligne sur téléphone, 5. photos du centre choisi sous la carte. */

.v14 [hidden] { display: none !important; }

/* ---------- Hero court : titre, une ligne, deux boutons. La photo reste sur ordi, pas sur téléphone. */
.v14-hero { padding-block: var(--space-8) var(--space-6); }
.v14-hero__grid { display: grid; gap: var(--space-6); align-items: center; }
.v14-hero h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); margin: 0; }
.v14-hero .lead { margin-top: var(--space-3); }
.v14-hero .hero__actions { margin-top: var(--space-5); }
.v14-hero__media { display: none; }
@media (min-width: 900px) {
  .v14-hero { padding-block: var(--space-12) var(--space-8); }
  .v14-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--space-12); }
  .v14-hero__media { display: block; margin: 0; }
  .v14-hero__media img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-xl); }
}

/* ---------- Têtes de section courtes */
.v14 .section { padding-block: var(--space-10); }
@media (min-width: 1024px) { .v14 .section { padding-block: var(--space-16); } }
.v14-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-5); }
.v14-head h2 { margin: 0; }
.v14-head p { margin: 0; color: var(--ink-600); }
@media (min-width: 900px) { .v14-head { grid-template-columns: auto 1fr; align-items: end; column-gap: var(--space-8); } .v14-head > .v14-switch { justify-self: end; } }

/* ---------- Sélecteur de centre (chips colorées) */
.v14-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.v14-switch .chip, .v14-finder .chip[data-key="centre"] { border-color: color-mix(in srgb, var(--centre, var(--ink-900)) 55%, white); }
.v14-switch .chip[aria-pressed="true"], .v14-finder .chip[data-key="centre"][aria-pressed="true"] {
  background: var(--centre, var(--ink-900)); border-color: var(--centre, var(--ink-900)); color: var(--white);
}
.v14-switch .chip.is-ixelles[aria-pressed="true"], .v14-finder .chip.is-ixelles[aria-pressed="true"] { color: var(--ink-900); }
.v14-switch .chip[aria-pressed="true"] .centre-dot, .v14-finder .chip[data-key="centre"][aria-pressed="true"] .centre-dot { background: var(--white); box-shadow: none; }

/* ---------- 1. Carte des centres */
.v14-centres__grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .v14-centres__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; } }

.v14-map {
  position: relative; aspect-ratio: 1000 / 864; border-radius: var(--radius-xl); overflow: hidden;
  background: #f4f2ee; border: 1px solid var(--color-border);
}
.v14-map__bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.v14-map__note { position: absolute; left: 10px; bottom: 8px; margin: 0; font-size: 0.6875rem; font-weight: 600; color: var(--ink-500); background: rgba(255,255,255,.8); padding: 2px 8px; border-radius: 999px; }

.v14-spot { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.v14-spot::before {   /* le point exact du centre */
  content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--centre); border: 3px solid var(--white); box-shadow: 0 1px 4px rgba(27,30,42,.35); z-index: 2;
}
.v14-pin {
  position: absolute; top: 0; transform: translateY(-50%); z-index: 1;
  display: grid; gap: 4px; justify-items: start; text-align: left;
  padding: 6px 8px 7px; min-height: 44px; border-radius: 10px;
  background: var(--white); border: 1.5px solid color-mix(in srgb, var(--centre) 45%, white);
  box-shadow: 0 2px 8px rgba(27,30,42,.12); color: var(--ink-900); font: inherit; cursor: pointer;
}
.v14-spot[data-side="right"] .v14-pin { left: 12px; }
.v14-spot[data-side="left"] .v14-pin { right: 12px; justify-items: end; text-align: right; }
.v14-pin__name { font-weight: 800; font-size: 0.8125rem; line-height: 1.1; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.v14-pin[aria-pressed="true"] { background: var(--centre); border-color: var(--centre); color: var(--white); box-shadow: 0 4px 14px rgba(27,30,42,.25); z-index: 3; }
.v14-spot.is-ixelles .v14-pin[aria-pressed="true"] { color: var(--ink-900); }
.v14-map.has-choice .v14-pin[aria-pressed="false"] { opacity: .72; }
.v14-pin:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 2px; }
@media (min-width: 900px) { .v14-pin__name { font-size: 0.9375rem; } .v14-pin { padding: 8px 10px 9px; } }

/* Lignes STIB : couleur officielle de chaque ligne (OpenStreetMap, tags colour des relations STIB) */
.v14-lines { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 3px; }
.v14-mode { display: inline-grid; place-items: center; width: 16px; height: 16px; color: var(--ink-600); }
.v14-pin[aria-pressed="true"] .v14-mode { color: inherit; }
.v14-mode svg { width: 15px; height: 15px; }
.ln {
  display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 4px;
  border-radius: 4px; background: var(--c); color: var(--t, #fff);
  font-size: 0.6875rem; font-weight: 800; line-height: 1; letter-spacing: 0;
}
.ln--metro { border-radius: 4px; min-width: 18px; }
.ln--bus { border-radius: 9px; }
.v14-pin[aria-pressed="true"] .ln { box-shadow: 0 0 0 1.5px rgba(255,255,255,.9); }
@media (min-width: 900px) { .ln { min-width: 24px; height: 21px; font-size: 0.75rem; } .v14-mode, .v14-mode svg { width: 18px; height: 18px; } }

/* Panneau à droite de la carte (sous la carte sur téléphone) */
.v14-detail { display: grid; gap: var(--space-3); }
.v14-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v14-tile {
  display: grid; gap: 2px; justify-items: start; text-align: left; padding: 8px 10px 10px; border-radius: var(--radius-lg);
  background: var(--white); border: 1.5px solid var(--color-border); font: inherit; color: var(--ink-900); cursor: pointer; min-height: 44px;
}
.v14-tile img { width: 100%; height: 58px; object-fit: contain; margin-bottom: 4px; }
.v14-tile b { font-size: 0.875rem; display: inline-flex; gap: 6px; align-items: center; }
.v14-tile span { font-size: 0.75rem; color: var(--ink-500); }
.v14-tile:hover { border-color: var(--centre); }
@media (min-width: 900px) { .v14-tile img { height: 84px; } }

.v14-panel { background: var(--white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; }
.v14-panel > .centre-bar { display: block; height: 5px; background: var(--centre); }
.v14-panel__body { padding: var(--space-4); display: grid; gap: var(--space-3); }
.v14-panel__top { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: var(--space-3); align-items: start; }
.v14-panel__top img { width: 96px; height: 64px; object-fit: contain; }
.v14-panel h3 { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 1.25rem; }
.v14-panel address { font-style: normal; color: var(--ink-600); font-size: 0.9375rem; margin-top: 2px; }
.v14-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v14-stops li { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 0.875rem; }
.v14-stops .v14-stop { font-weight: 700; }
.v14-stops small { color: var(--ink-500); font-weight: 600; }
.v14-sync { margin: 0; font-size: 0.8125rem; color: var(--green-700); background: var(--green-50); border-radius: var(--radius-md); padding: 8px 10px; }

/* ---------- 5. Photos sous la carte */
.v14-photos { margin-top: var(--space-5); }
.v14-photos__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-2); }
.v14-photos__title { margin: 0; font-weight: 800; }
.v14-strip {
  list-style: none; margin: 0 calc(-1 * var(--gutter, 16px)); padding: 0 var(--gutter, 16px) 6px;
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.v14-strip li { flex: 0 0 auto; scroll-snap-align: start; }
.v14-strip img { display: block; width: 152px; height: 114px; object-fit: cover; border-radius: var(--radius-lg); background: var(--ink-100); }
.v14-strip .v14-ph { width: 152px; height: 114px; border-radius: var(--radius-lg); display: grid; place-items: center; text-align: center; padding: 10px;
  background: var(--centre-soft); color: var(--ink-700); font-size: 0.8125rem; font-weight: 700; border: 1.5px dashed color-mix(in srgb, var(--centre) 60%, white); }
@media (min-width: 900px) { .v14-strip img, .v14-strip .v14-ph { width: 208px; height: 156px; } .v14-strip { margin: 0; padding-inline: 0; } }
@media (prefers-reduced-motion: no-preference) { .v14-strip img { animation: v14-in .35s ease both; } @keyframes v14-in { from { opacity: 0; transform: scale(.97); } } }

/* ---------- 2. Prise de rendez-vous : filtres toujours visibles, panneau coloré */
.v14-finder {
  background: var(--white); border: 2px solid var(--green-200); border-radius: var(--radius-xl);
  padding: var(--space-4); box-shadow: 0 6px 20px rgba(6,132,102,.08);
}
.v14-finder .finder__label { color: var(--green-700); }
.v14-finder .chip[data-key="jour"][aria-pressed="true"], .v14-finder .chip[data-key="moment"][aria-pressed="true"] { background: var(--green-500); border-color: var(--green-500); color: var(--white); }
.v14-finder .chip[data-key="jour"], .v14-finder .chip[data-key="moment"] { border-color: var(--green-200); }
.v14-finder .finder__help { margin: 0; }
.v14-order { margin: 0; font-size: 0.8125rem; color: var(--ink-500); display: flex; gap: 6px; align-items: center; }
.v14-order svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 768px) { .v14-finder { padding: var(--space-6); } }
.v14 .pg-group__head p { display: none; }
.v14 .pg-group + .pg-group { margin-top: var(--space-8); }
.v14 .pg-group__head h3 { display: flex; align-items: center; gap: 10px; }
.v14-ondemand { order: 99; }

/* ---------- 4. Deux cartes thérapeute par ligne sous 640 px (remplace la carte compacte M6 sur cette page) */
@media (max-width: 639px) {
  .v14 :is(.grid-3, .grid-4):has(> .therapist-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .v14 .therapist-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "bar" "photo" "head" "centres" "pills" "week" "badge" "foot" "phone";
    grid-template-rows: auto auto auto auto auto auto 1fr auto auto;
    column-gap: 0; padding: 0 8px 10px;
  }
  .v14 .therapist-card > .centre-bar { margin: 0 -8px 8px; }
  .v14 .therapist-card__photo { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius-md); margin-bottom: 8px; }
  .v14 .therapist-card .card__title { font-size: 0.9375rem; line-height: 1.2; }
  .v14 .therapist-card__job { font-size: 0.75rem; }
  .v14 .therapist-card__centres { gap: 2px 8px; font-size: 0.75rem; }
  .v14 .therapist-card__centres .centre-name { font-size: 0.75rem; }
  .v14 .therapist-card__pills { display: none !important; }
  .v14 .therapist-card .badge-presence:not(.badge-presence--muted) { display: none; }
  .v14 .therapist-card .badge-presence--muted { font-size: 0.6875rem; padding: 4px 8px; margin-top: 8px; }
  .v14 .therapist-card__week { width: 100%; margin: 8px 0 0; border-spacing: 1px 2px; }
  .v14 .therapist-card__week thead td, .v14 .therapist-card__week tbody th { width: 22px; }
  .v14 .therapist-card__week thead th { height: 14px; font-size: 0.5625rem; }
  .v14 .therapist-card__week tbody th { font-size: 0; padding-right: 2px; }
  .v14 .therapist-card__week tbody tr:first-child th::before { content: "Mat"; font-size: 0.5625rem; }
  .v14 .therapist-card__week tbody tr:last-child th::before { content: "Apr"; font-size: 0.5625rem; }
  .v14 .therapist-card__cell { height: 16px; min-height: 0; }
  .v14 .therapist-card__cell .centre-dot { width: 7px; height: 7px; }
  .v14 .therapist-card__cell--multi .centre-dot { width: 5px; height: 5px; }
  .v14 .therapist-card .card__footer { margin-top: 10px; }
  .v14 .therapist-card .btn--block { font-size: 0.75rem; min-height: 40px; padding: 6px; }
  .v14 .therapist-card .therapist-card__phone { font-size: 0.75rem; }
}

/* ---------- 3. Moins de texte : spécialités sans sous-titres ni descriptions sur téléphone */
.v14 .pg-subhead .pg-group__count { display: none; }
@media (max-width: 639px) { .v14 .specialty-tile p, .v14 .specialty-tile .specialty-tile__desc { display: none; } }

/* Bandeau "maquette v14" (à retirer en production) */
.v14-flag { background: var(--ink-900); color: var(--white); font-size: 0.8125rem; font-weight: 700; text-align: center; padding: 8px 12px; }
.v14-flag a { color: var(--teal-100); }

/* ---------- Correctifs après la première capture */
/* La v13 réordonne l'accueil sur mobile (rendez-vous en tête) : la v14 suit l'ordre demandé par Mathieu */
.v14 main.pg-home > section { order: 0 !important; }
/* Chip sans centre ("Tous", "Tous les centres") : encre, pas le gris par défaut de --centre */
.v14-switch .chip:not([class*="is-"]), .v14-finder .chip[data-key="centre"]:not([class*="is-"]) { border-color: var(--color-border-strong); }
.v14-switch .chip:not([class*="is-"])[aria-pressed="true"], .v14-finder .chip[data-key="centre"]:not([class*="is-"])[aria-pressed="true"] {
  background: var(--ink-900); border-color: var(--ink-900); color: var(--white);
}
/* Sur téléphone, les points de la carte et les tuiles suffisent : pas de rangée de chips au-dessus */
@media (max-width: 899px) { .v14-head > .v14-switch { display: none; } }
.v14-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--color-border-strong); background: var(--white); font: inherit; font-weight: 700; font-size: 0.875rem; color: var(--ink-900); cursor: pointer; }
.v14-back svg { width: 16px; height: 16px; }

/* ======================================================================
   Propositions du 04/11 au soir : carte ordi A/B/C, photos 1 à 4, entre-deux avec l'épurée
   ====================================================================== */

/* Entre-deux : on garde toute l'info de la version complète, on prend à l'épurée le défilement doux et les transitions */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
}

/* Bulles de la carte : côté géré par variables (mobile = data-side, ordi = data-sa/sb/sc selon la proposition) */
.v14-pin { left: 0; right: auto; transform: translate(var(--tx, 12px), var(--ty, -50%)); }
.v14-spot[data-side="right"] .v14-pin { left: 0; right: auto; --tx: 12px; --ty: -50%; justify-items: start; text-align: left; }
.v14-spot[data-side="left"] .v14-pin { left: 0; right: auto; --tx: calc(-100% - 12px); --ty: -50%; justify-items: end; text-align: right; }
.v14-spot[data-side="above"] .v14-pin { --tx: calc(var(--ax) * -100%); --ty: calc(-100% - 12px); }
.v14-spot[data-side="below"] .v14-pin { --tx: calc(var(--ax) * -100%); --ty: 12px; }
.v14-map__note .is-desk { display: none; }

/* Sélecteur de propositions (maquette seulement) */
.v14-proto { display: grid; gap: 8px; margin-bottom: var(--space-6); padding: 12px 14px; border-radius: var(--radius-lg);
  background: var(--ink-900); color: var(--white); }
.v14-proto__title { margin: 0; font-weight: 800; font-size: 0.875rem; }
.v14-proto__title span { font-weight: 600; color: var(--ink-300); }
.v14-proto__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.v14-proto__row.is-desk { display: none; }
.v14-proto__label { font-size: 0.8125rem; font-weight: 700; color: var(--ink-200); min-width: 7.5rem; }
.v14-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.v14-seg button { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.28); background: transparent;
  color: var(--white); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.v14-seg button b { font-weight: 800; margin-right: 2px; }
.v14-seg button[aria-pressed="true"] { background: var(--teal-100); border-color: var(--teal-100); color: var(--ink-900); }
.v14-seg button:focus-visible { outline: 3px solid var(--teal-100); outline-offset: 2px; }

/* ---------- Cartes ordi */
@media (min-width: 900px) {
  .v14 { overflow-x: clip; }
  .v14-proto { grid-template-columns: auto 1fr 1fr; align-items: center; column-gap: 24px; }
  .v14-proto__row.is-desk { display: flex; }
  .v14-centres__grid { display: block; position: relative; }
  .v14-map__bg { display: none; }
  .v14-map { background: #e9e6df center / 100% 100% no-repeat; }
  .v14-map__note .is-mob { display: none; }
  .v14-map__note .is-desk { display: inline; }
  .v14[data-carte="a"] .v14-map { aspect-ratio: 2.2; background-image: url(v14-map-a.svg); }
  .v14[data-carte="b"] .v14-map { aspect-ratio: 2.6; background-image: url(v14-map-b.svg); border-radius: 0; border-inline: 0; }
  .v14[data-carte="c"] .v14-map { aspect-ratio: 2.4; background-image: url(v14-map-c.svg); }
  .v14[data-carte="a"] .v14-spot { left: var(--xa); top: var(--ya); }
  .v14[data-carte="b"] .v14-spot { left: var(--xb); top: var(--yb); }
  .v14[data-carte="c"] .v14-spot { left: var(--xc); top: var(--yc); }
  .v14[data-carte="a"] .v14-spot[data-sa="right"] .v14-pin, .v14[data-carte="b"] .v14-spot[data-sb="right"] .v14-pin, .v14[data-carte="c"] .v14-spot[data-sc="right"] .v14-pin {
    --tx: 12px; --ty: -50%; justify-items: start; text-align: left; }
  .v14[data-carte="a"] .v14-spot[data-sa="left"] .v14-pin, .v14[data-carte="b"] .v14-spot[data-sb="left"] .v14-pin, .v14[data-carte="c"] .v14-spot[data-sc="left"] .v14-pin {
    --tx: calc(-100% - 12px); --ty: -50%; justify-items: end; text-align: right; }

  /* A et B : la fiche flotte sur la carte, à droite (dès 1200 px, voir plus bas) */
  .v14:is([data-carte="a"], [data-carte="b"]) .v14-detail {
    position: absolute; top: 16px; right: 16px; z-index: 5; width: clamp(280px, 28%, 360px); max-height: calc(100% - 32px); overflow: auto; border-radius: var(--radius-xl); }
  .v14:is([data-carte="a"], [data-carte="b"]) .v14-panel-all { background: var(--white); border-radius: var(--radius-xl); padding: 12px; }
  .v14:is([data-carte="a"], [data-carte="b"]) .v14-panel-all::before { content: "Choisissez un centre"; display: block; font-weight: 800; font-size: 0.875rem; margin: 0 0 8px 2px; }
  .v14:is([data-carte="a"], [data-carte="b"]) :is(.v14-panel-all, .v14-panel) { box-shadow: 0 10px 30px rgba(27,30,42,.18); }
  .v14:is([data-carte="a"], [data-carte="b"]) .v14-tile img { height: 64px; }
  /* B : bord à bord de l'écran */
  .v14[data-carte="b"] .v14-centres__grid { margin-inline: calc(50% - 50vw); }
  .v14[data-carte="b"] .v14-detail { top: 24px; right: 24px; max-height: calc(100% - 48px); }
  /* C : rien sur la carte, la fiche en bandeau dessous */
  .v14[data-carte="c"] .v14-detail { margin-top: var(--space-4); }
  .v14[data-carte="c"] .v14-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v14[data-carte="c"] .v14-panel__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas: "back back back" "top stops act" "top stops sync"; column-gap: var(--space-6); align-items: start; }
  .v14[data-carte="c"] .v14-back { grid-area: back; }
  .v14[data-carte="c"] .v14-panel__top { grid-area: top; }
  .v14[data-carte="c"] .v14-stops { grid-area: stops; }
  .v14[data-carte="c"] .v14-panel__body > .cluster { grid-area: act; }
  .v14[data-carte="c"] .v14-sync { grid-area: sync; }
}

/* ---------- Photos : 4 modes */
.v14-photos__body > .v14-ph { width: 100%; height: 140px; }
.v14-tag { position: absolute; left: 8px; bottom: 8px; display: inline-flex; gap: 5px; align-items: center; padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,.93); font-size: 0.75rem; font-weight: 800; color: var(--ink-900); }
/* 2. défilé automatique, en pause au survol ; immobile si l'utilisateur limite les animations */
.v14-marquee { overflow: hidden; margin-inline: calc(-1 * var(--gutter, 16px));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.v14-marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; width: max-content; animation: v14-marquee var(--dur, 40s) linear infinite; }
.v14-marquee:hover .v14-marquee__track, .v14-marquee:active .v14-marquee__track { animation-play-state: paused; }
.v14-marquee img { display: block; width: 152px; height: 114px; object-fit: cover; border-radius: var(--radius-lg); }
@keyframes v14-marquee { to { transform: translateX(calc(-50% - 4px)); } }
@media (prefers-reduced-motion: reduce) { .v14-marquee { overflow-x: auto; } .v14-marquee__track { animation: none; } .v14-marquee__track [aria-hidden] { display: none; } }
@media (min-width: 900px) { .v14-marquee { margin-inline: 0; } .v14-marquee img { width: 224px; height: 168px; } }
/* 3. diaporama, une grande photo à la fois */
.v14-slides { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-xl); overflow: hidden; background: var(--ink-100); }
.v14-slides figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.v14-slides figure.is-on { opacity: 1; }
.v14-slides img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v14-slides .v14-tag { left: 12px; bottom: 12px; font-size: 0.8125rem; }
.v14-slides__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--ink-900); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(27,30,42,.2); }
.v14-slides__nav svg { width: 20px; height: 20px; }
.v14-slides__nav.is-prev { left: 10px; } .v14-slides__nav.is-next { right: 10px; }
.v14-slides__count { position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 3px 9px; border-radius: 999px; background: rgba(27,30,42,.7); color: #fff; font-size: 0.75rem; font-weight: 700; }
@media (min-width: 900px) { .v14-slides { aspect-ratio: 21 / 8; } }
@media (prefers-reduced-motion: reduce) { .v14-slides figure { transition: none; } }
/* 4. mosaïque, une grande et quatre petites */
.v14-mosaic { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v14-mosaic figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-100); }
.v14-mosaic figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.v14-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v14-mosaic__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(27,30,42,.55); color: #fff; font-weight: 800; text-decoration: none; font-size: 1rem; }
@media (min-width: 900px) {
  .v14-mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 180px); }
  .v14-mosaic figure, .v14-mosaic figure:first-child { aspect-ratio: auto; }
  .v14-mosaic figure:first-child { grid-column: 1; grid-row: 1 / span 2; }
}

/* Entre 900 et 1199 px, la fiche flottante serait trop étroite : bandeau sous la carte pour A et B aussi */
@media (min-width: 900px) and (max-width: 1199px) {
  .v14 .v14-centres__grid .v14-detail { position: static; width: auto; max-height: none; overflow: visible; margin-top: var(--space-4); }
  .v14 .v14-panel-all::before { content: none !important; }
  .v14 .v14-panel-all { padding: 0 !important; background: none !important; box-shadow: none !important; }
  .v14 .v14-panel { box-shadow: none !important; }
  .v14 .v14-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v14 .v14-tile img { height: 64px; }
  .v14 .v14-panel__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas: "back back back" "top stops act" "top stops sync"; column-gap: var(--space-5); align-items: start; }
  .v14 .v14-back { grid-area: back; } .v14 .v14-panel__top { grid-area: top; } .v14 .v14-stops { grid-area: stops; }
  .v14 .v14-panel__body > .cluster { grid-area: act; } .v14 .v14-sync { grid-area: sync; }
}
.v14-mosaic figure:has(.v14-mosaic__more) .v14-tag { display: none; }
