/* Regengo, accueil v15 (retours de Mathieu, vocaux du 06/11/2026). Chargé après v14.css, seulement par pages/home-v15.html.
   1 photos en colonnes / bande, 2 AM-PM, 3 icône d'Evere, 4 filtres plus petits, 5 "Toute la journée", 6 hero dessiné,
   7 formulaire direct, 9 De Lijn, 10 une seule page, 11 "Comment y aller ?". Plus : centres un peu moins grands (04/11). */

/* 10. Une seule page : les ancres ne passent pas sous l'en-tête collant */
.v15 :is(section[id], #trouver, #candidature, .pg-group[id]) { scroll-margin-top: 76px; }
@media (min-width: 1024px) { .v15 :is(section[id], #trouver, #candidature, .pg-group[id]) { scroll-margin-top: 92px; } }

/* ---------- 6. Hero : texte à gauche, les deux scènes dessinées à droite (au-dessus du titre sur téléphone) */
.v15-hero { padding-block: var(--space-4) var(--space-6); }
.v15-hero__grid { display: grid; gap: var(--space-3); align-items: center; }
.v15-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem); margin: 0; }
/* largeurs proportionnelles aux formats (1,9 et 1,61) : les deux scènes ont la même hauteur */
.v15-hero__art { order: -1; display: grid; grid-template-columns: 1.9fr 1.61fr; gap: 4px; align-items: end; }
.v15-scene { margin: 0; }
.v15-scene img { display: block; width: 100%; height: auto; }
/* Téléphone (retour de Simon, 08/11) : l'accueil prend tout l'écran sous l'en-tête, dessins en grand, boutons pleine largeur */
@media (max-width: 899px) {
  .v15-hero { min-height: calc(100svh - var(--nav-h, 64px)); display: flex; align-items: center; padding-block: var(--space-5) var(--space-6); }
  .v15-hero > .container { width: 100%; }
  .v15-hero__grid { gap: var(--space-5); }
  /* les dessins prennent la hauteur qui reste une fois le texte placé : tout tient dans l'écran, même sur un petit téléphone */
  .v15-hero__art { grid-template-columns: minmax(0, 1fr); gap: 0; justify-self: center; width: min(100%, calc((100svh - var(--nav-h, 64px) - 410px) * 1.15)); }
  .v15-scene.is-consult { width: 94%; }
  .v15-scene.is-kine { width: 78%; justify-self: end; margin-top: -9%; }
  .v15-hero h1 { font-size: clamp(2rem, 1.3rem + 3.6vw, 2.6rem); }
  .v15-hero .lead { margin-top: var(--space-3); }
  .v15-hero .hero__actions { display: grid; gap: 10px; margin-top: var(--space-5); }
  .v15-hero .hero__actions .btn { width: 100%; justify-content: center; }
}
/* Ordi (choix de Simon, 08/11 : combinaison B3) : texte au centre, la consultation à gauche, la kiné à droite,
   hauteur au contenu. */
@media (min-width: 900px) {
  .v15-hero { padding-block: 56px 48px; text-align: center; }
  .v15-hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr) minmax(0, 0.9fr); grid-template-areas: "consult text kine"; gap: 28px; align-items: center; }
  .v15-hero__art { display: contents; }
  .v15-scene.is-consult { grid-area: consult; width: 100%; }
  .v15-scene.is-kine { grid-area: kine; width: 100%; }
  .v15-hero__text { grid-area: text; }
  .v15-hero h1 { font-size: clamp(2.2rem, 1.4rem + 1.6vw, 2.9rem); line-height: 1.06; text-wrap: balance; }
  .v15-hero .lead { margin-top: var(--space-4); font-size: 1.15rem; }
  .v15-hero .hero__actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; justify-content: center; }
}
@media (min-width: 1200px) { .v15-hero .hero__actions { flex-wrap: nowrap; } }

/* Bloc des 4 dessins une fois un centre choisi (classe posée par select()) : caché, sauf sur ordi en carte A (plus bas) */
.v14-panel-all.is-off { display: none; }

/* Centres sur ordi (choix de Simon, 08/11 : variante 1, après B3) : les 4 centres en dessins, sans boutons au-dessus,
   la carte toujours visible dessous. Au choix d'un centre (clic, menu Centres, lien ?centre=, filtre "Prendre
   rendez-vous"), le dessin est mis en avant et la fiche s'ouvre sur la droite de la carte (sous la carte avant 1200 px). */
@media (min-width: 900px) {
  .v15[data-carte="a"] .v14-head > .v14-switch { display: none; }
  .v15[data-carte="a"] .v14-centres__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; position: relative; }
  .v15[data-carte="a"] .v14-detail { display: contents; }
  .v15[data-carte="a"] .v14-panel-all,
  .v15[data-carte="a"] .v14-panel-all.is-off { display: block; grid-row: 1; background: none; padding: 0; box-shadow: none; }
  .v15[data-carte="a"] .v14-panel-all::before { content: none; }
  .v15[data-carte="a"] .v14-map { grid-row: 2; }
  .v15[data-carte="a"] .v14-panel { grid-row: 3; box-shadow: none; }
  .v15[data-carte="a"] .v14-back { display: none; }
  .v15[data-carte="a"] .v14-tile[aria-pressed="true"] { border-color: var(--centre); background: color-mix(in srgb, var(--centre) 9%, white); box-shadow: inset 0 0 0 1.5px var(--centre); }
  .v15[data-carte="a"] .v14-centres__grid:has(.has-choice) .v14-tile[aria-pressed="false"] { opacity: .62; }
  .v15[data-carte="a"] .v14-centres__grid:has(.has-choice) .v14-tile[aria-pressed="false"]:hover { opacity: 1; }
  .v15[data-carte="a"] .v14-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .v15[data-carte="a"] .v14-tile { justify-items: center; text-align: center; padding: 22px 16px 20px; gap: 4px; border-radius: 20px; }
  .v15[data-carte="a"] .v14-tile img { height: 96px; margin-bottom: 10px; }
  .v15[data-carte="a"] .v14-tile b { font-size: 1.0625rem; }
  .v15[data-carte="a"] .v14-tile span { font-size: 0.875rem; }
  .v15[data-carte="a"] .v14-tile::after { content: "Voir le centre"; margin-top: 8px; font-size: 0.8125rem; font-weight: 700; color: var(--green-700, #0b6b4f); }
  .v15[data-carte="a"] .v14-tile[aria-pressed="true"]::after { content: "Affiché ci-dessous"; color: var(--ink-600); }
}
@media (min-width: 1200px) {
  .v15[data-carte="a"] .v14-panel {
    position: absolute; grid-row: 2; top: 16px; right: 16px; width: min(380px, 32%); max-height: calc(100% - 32px); overflow: auto;
    z-index: 5; box-shadow: 0 10px 30px rgba(27,30,42,.18); }
}


/* ---------- Centres un peu moins grands (retour du 04/11) */
.v15 .v14-centres { padding-block: var(--space-8); }
.v15 .v14-proto { padding: 8px 12px; margin-bottom: var(--space-4); gap: 6px; }
.v15 .v14-proto__label { min-width: 6.5rem; font-size: 0.75rem; }
.v15 .v14-seg { gap: 4px; }
.v15 .v14-seg button { min-height: 32px; padding: 0 10px; font-size: 0.8125rem; }
.v15 .v14-head { margin-bottom: var(--space-4); }
.v15 .v14-tile { padding: 6px 8px 8px; }
.v15 .v14-tile img { height: 46px; }
@media (min-width: 900px) { .v15 .v14-tile img { height: 56px; } }
.v15 .v14-panel__body { padding: var(--space-3) var(--space-4) var(--space-4); gap: 10px; }
.v15 .v14-panel__top img { height: 56px; }

/* ---------- 11. Adresse cliquable : "Comment y aller ?" */
.v15-addr { display: grid; justify-items: start; gap: 2px; margin-top: 2px; padding: 2px 0; border: 0; background: none; font: inherit; text-align: left; color: var(--ink-700); cursor: pointer; }
.v15-addr__txt { font-size: 0.9375rem; line-height: 1.35; }
.v15-addr__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 800; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.v15-addr__cta::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.v15-addr[aria-expanded="true"] .v15-addr__cta::after { transform: rotate(-135deg) translate(-2px, 0); }
.v15-addr:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 2px; border-radius: 6px; }
.v15-go { margin-top: 8px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--white); border: 1.5px solid color-mix(in srgb, var(--centre, var(--green-500)) 45%, white); }
.v15-go p { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 700; color: var(--ink-700); }
.v15-go .cluster { display: flex; flex-wrap: wrap; gap: 6px; }
.v15 .pg-address .v15-addr__txt { font-size: 0.875rem; }
/* Horaires d'ouverture du centre (les mêmes que sur la fiche Google Maps) */
.v15 .pg-address .v15-ouverture { margin: 4px 0 0; font-size: 0.8125rem; color: var(--ink-600); }

/* ---------- 9. Bus De Lijn (seulement à Evere, à 2 et 3 minutes) */
.v15-op { display: inline-grid; place-items: center; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 4px; background: #ffd400; color: #1b1e2a;
  font-size: 0.625rem; font-weight: 800; letter-spacing: 0.02em; white-space: nowrap; }
.ln--dl { box-shadow: inset 0 0 0 1.5px rgba(27, 30, 42, 0.28); border-radius: 4px; }
@media (min-width: 900px) { .v15-op { height: 21px; font-size: 0.6875rem; } }

/* ---------- 1. Photos : 4 petites colonnes qui montent (aucun centre choisi) ou une bande (un centre) */
.v15 .v14-photos { margin-top: var(--space-4); }
.v15-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.v15-col { min-width: 0; cursor: pointer; }
.v15-col__name { display: flex; align-items: center; gap: 5px; width: 100%; min-height: 30px; padding: 0 2px; border: 0; background: none;
  font: inherit; font-size: 0.6875rem; font-weight: 800; color: var(--ink-900); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v15-col__name .centre-dot { flex: none; }
.v15-col__vp { position: relative; height: 190px; overflow: hidden; border-radius: var(--radius-md); background: var(--centre-soft);
  border-top: 3px solid var(--centre);
  -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.v15-col__track { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; animation: v15-up var(--dur, 30s) linear infinite; }
.v15-col__track img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--ink-100); }
.v15-col:hover .v15-col__track, .v15-col:active .v15-col__track { animation-play-state: paused; }
@keyframes v15-up { to { transform: translateY(calc(-50% - 3px)); } }
.v15-col__vp.is-empty { -webkit-mask-image: none; mask-image: none; }
.v15-col__vp.is-empty .v15-col__track { animation: none; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .v15-col__vp { overflow-y: auto; }
  .v15-col__track { animation: none; }
  .v15-col__track [aria-hidden] { display: none; }
}
@media (min-width: 900px) {
  .v15-cols { gap: 12px; }
  .v15-col__name { font-size: 0.875rem; min-height: 34px; }
  .v15-col__vp { height: 230px; }
  .v15-col__track { grid-template-columns: 1fr 1fr; }
}
/* Pas encore de photos (Ixelles, Bruxelles-Central) : le repère du centre */
.v15-ph { display: grid; place-items: center; align-content: center; gap: 6px; height: 100%; min-height: 150px; padding: 8px; text-align: center;
  color: var(--ink-700); font-size: 0.6875rem; font-weight: 700; }
.v15-ph img { width: 82%; max-width: 130px; height: auto; }
.v14-strip .v15-ph { width: 208px; height: 156px; min-height: 0; border-radius: var(--radius-lg); background: var(--centre-soft);
  border: 1.5px dashed color-mix(in srgb, var(--centre) 60%, white); font-size: 0.8125rem; }

/* ---------- 4 et 5. Filtres de la prise de rendez-vous : plus petits, libellé à gauche, toujours lisibles */
.v15 .v14-finder { padding: var(--space-3); gap: 10px; }
.v15 .v14-finder .finder__row { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; column-gap: 8px; }
.v15 .v14-finder .finder__row > legend { float: left; padding: 0; margin: 0; }   /* légende flottante = vraie cellule de grille */
.v15 .v14-finder .finder__label { font-size: 0.6875rem; }
.v15 .v14-finder .finder__pills { gap: 5px; }
.v15 .v14-finder .chip { min-height: 34px; padding: 0 11px; font-size: 0.8125rem; gap: 6px; }
.v15 .v14-finder .chip small { font-size: 0.6875rem; font-weight: 600; opacity: 0.8; }
.v15 .v14-finder .finder__help { font-size: 0.75rem; margin: 0; }
.v15 .v14-finder .finder__status { padding-top: 8px; }
.v15 .v14-finder .finder__reset { min-height: 34px; }
@media (min-width: 768px) {
  .v15 .v14-finder { padding: var(--space-4) var(--space-5); }
  .v15 .v14-finder .finder__row { grid-template-columns: 76px minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .v15 .v14-finder .finder__row:first-of-type .finder__pills { flex-wrap: wrap; }   /* 11/11 : les 5 boutons visibles, sans défilement de côté */
  .v15 .v14-finder .finder__row:first-of-type .chip { flex: none; padding: 0 10px; }
  .v15 .finder__pills--days { gap: 4px; }
  .v15 .finder__pills--days .chip { min-height: 32px; font-size: 0.75rem; padding-inline: 2px; }
  .v15 .finder__pills--seg { gap: 4px; }
  .v15 .finder__pills--seg .chip { flex-direction: column; justify-content: center; gap: 0; min-height: 40px; padding: 2px 4px;
    font-size: 0.75rem; line-height: 1.15; white-space: normal; text-align: center; }
}

/* ---------- 2. Fiches : AM / PM, et les heures en tout petit */
.v15 .therapist-card__week thead td, .v15 .therapist-card__week tbody th { width: 30px; }
.v15-hours { margin: 4px 0 0; font-size: 0.6875rem; font-weight: 600; color: var(--ink-500); letter-spacing: 0.01em; }
@media (max-width: 639px) {
  .v15 .therapist-card {
    grid-template-areas: "bar" "photo" "head" "centres" "pills" "week" "hours" "badge" "foot" "phone";
    grid-template-rows: auto auto auto auto auto auto auto 1fr auto auto;
  }
  .v15 .v15-hours { grid-area: hours; font-size: 0.5625rem; margin-top: 3px; }
  .v15 .therapist-card__week tbody tr:first-child th::before { content: "AM"; }
  .v15 .therapist-card__week tbody tr:last-child th::before { content: "PM"; }
  .v15 .therapist-card__week thead td, .v15 .therapist-card__week tbody th { width: 18px; }
}

/* ---------- Spécialités : tuile Esthétique sans picto (initiale seule) */
.v15 .specialty-tile__icon:not(:has(img)) .pg-tile__initial { display: grid; }

/* ---------- 7. Rejoindre : le formulaire tout de suite */
.v15-join__form { max-width: 780px; }
.v15-join .form { margin: 0; }
#candidature-ok { margin-top: var(--space-3); padding: 10px 14px; border-radius: var(--radius-md); background: var(--green-50); color: var(--green-700); font-weight: 700; }

/* Bandeau de maquette */
.v15 .v14-flag { font-size: 0.75rem; }
/* Repère du centre dans une colonne sans photos : pas le cadre gris des photos */
.v15-col__track .v15-ph img, .v14-strip .v15-ph img { width: 82%; max-width: 130px; aspect-ratio: auto; object-fit: contain; background: none; border-radius: 0; }

/* Menu sur une ligne entre 1024 et 1279 px (5 liens depuis "Rejoindre l'équipe"). Aussi chargé par les pages légales en ligne. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav__links > li > a, .nav__links > li > details > summary { padding: 0 8px; white-space: nowrap; font-size: 0.9375rem; }
  .nav__actions { gap: 12px; }
  .nav__phone { font-size: 0.875rem; white-space: nowrap; }
  .nav__actions .btn { white-space: nowrap; }
}

/* ---------- Nos lieux en photos (choix de Simon, 08/11 : version 1 parmi 4) : un onglet par centre, une grande photo
   et quatre petites, "+N photos" déplie la suite. Sur téléphone : deux onglets, la grande photo puis les petites par deux. */
.v15-lieux__tabs, .v15-lieux__tablist { display: flex; flex-wrap: wrap; gap: 8px; }
.v15-lieux__tabs { margin-bottom: var(--space-4); }
.v15-lieux__tab { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--color-border); background: var(--white); font: inherit; font-weight: 700; color: var(--ink-900); cursor: pointer; }
.v15-lieux__tab small { font-weight: 600; color: var(--ink-500); font-size: 0.8125rem; }
.v15-lieux__tab[aria-selected="true"] { border-color: var(--centre); background: var(--centre-soft); }
.v15-lieux__tab:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 2px; }
.v15-lieux__tab.is-soon { cursor: default; opacity: .6; border-style: dashed; background: transparent; }
.v15-lieux__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 8px; }
.v15-lieux__fig { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-100); }
.v15-lieux__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v15-lieux__fig:first-child { grid-column: 1 / -1; grid-row: span 2; }
.v15-lieux__fig.is-extra { display: none; }
.v15-lieux__grid.is-all .v15-lieux__fig.is-extra { display: block; }
.v15-lieux__more { position: absolute; inset: 0; border: 0; background: rgba(27,30,42,.55); color: #fff; font: inherit; font-weight: 800; font-size: 1.0625rem; cursor: pointer; }
.v15-lieux__more:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.v15-lieux__grid.is-all .v15-lieux__more { display: none; }
@media (max-width: 899px) {
  .v15-lieux__tab.is-soon, .v15-lieux__tab small { display: none; }
  .v15-lieux__tabs, .v15-lieux__tablist { flex-wrap: wrap; }
  .v15-lieux__tab { padding: 0 14px; }
}
@media (min-width: 900px) {
  .v15-lieux__grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 210px; gap: 10px; }
  .v15-lieux__fig:first-child { grid-column: auto; grid-row: span 2; }
  .v15-lieux__grid.is-all { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .v15-lieux__grid.is-all .v15-lieux__fig:first-child { grid-column: span 2; }
}

/* Pages de centre /centres/<slug> (11/11/2026) : lien depuis la fiche du centre sur la carte, bloc Accès */
.v15 .v15-page-centre { display: inline-flex; margin-top: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.v15 .v15-page-centre:hover { color: var(--green-800, var(--green-700)); }
.pc-acces { display: grid; gap: var(--space-8); }
.pc-acces .section__head { margin-bottom: 0; }
.pc-acces__card .card__body { display: grid; gap: var(--space-5, 20px); }
@media (min-width: 1024px) {
  .pc-acces { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; }
}
