/* Site vitrine SmileSen — couleurs de marque via #vitrine-brand-colors (réglages CMS) */
:root {
  --v-ink: var(--texte);
  --v-muted: var(--texte-annotation);
  --v-border: var(--bord);
  --v-bg: var(--fond-page);
  --v-sand: var(--fond-intitule);
  --v-card: var(--fond-case);
  --v-font: var(--sn-font, var(--fam-parole));
  --v-display: var(--sn-display, var(--fam-parole));

  /* LE PLANCHER. Ces cinq jetons n'étaient écrits QUE par le serveur
     (apps/vitrine/cms_brand_colors.py). Tant qu'il écrit, tout va bien — mais
     un jeton dont le serveur est la seule source est un jeton qui disparaît
     le jour où la portée change. C'est exactement ce qui est arrivé côté
     clinique : six jetons `--intra-*` se sont évaporés quand le bloc de
     marque a été réduit, et le survol de « Ajouter un acte » rendait du blanc
     sur du blanc dans le popup du plan dentaire.

     Le serveur surcharge ces valeurs quand un cabinet a une marque. La
     feuille garantit qu'elles existent toujours. */
  --v-primary: var(--etat-acquis);
  --v-primary-dark: var(--texte);
  --v-primary-light: var(--etat-acquis-fond);
  --v-orange: var(--texte);
  --v-orange-light: var(--fond-intitule);
}

* { box-sizing: border-box; }
body.vitrine-body {
  margin: 0;
  font-family: var(--v-font);
  color: var(--v-ink);
  background: var(--v-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Mini-cartes pays — par section / page */
.v-section-maps {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.v-map {
  position: absolute;
  pointer-events: none;
  color: var(--v-primary);
  opacity: 0.22;
  filter: saturate(1);
  animation: v-map-drift 22s ease-in-out infinite;
}
@keyframes v-map-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(4px, -6px) rotate(2deg); }
}

/* Accueil — hero fond blanc, cartes visibles */
.v-hero-home__bg .v-map {
  color: var(--v-primary);
  opacity: 0.32;
  filter: none;
}
.v-hero-home__bg .v-map--h-africa { opacity: 0.38; }
.v-map--h-africa { top: 4%; right: 4%; animation-duration: 28s; }
.v-map--h-africa2 { bottom: 8%; left: 3%; opacity: 0.28; color: var(--v-orange); animation-delay: -12s; }
.v-map--h-sn { top: 18%; left: 2%; color: var(--v-orange); opacity: 0.36; }
.v-map--h-ml { top: 34%; left: 10%; opacity: 0.3; animation-delay: -3s; }
.v-map--h-ci { bottom: 22%; right: 18%; color: var(--v-orange); opacity: 0.34; animation-delay: -4s; }
.v-map--h-gn { top: 48%; right: 8%; opacity: 0.3; }
.v-map--h-gmb { bottom: 14%; left: 22%; color: var(--v-orange); opacity: 0.33; }
.v-map--h-bf { top: 10%; right: 32%; opacity: 0.3; animation-delay: -10s; }
.v-map--h-gh { bottom: 32%; right: 4%; color: var(--v-primary-dark); opacity: 0.28; animation-delay: -6s; }

/* Accueil — mosaïque */
.v-smile-mosaic .v-map { color: var(--fond-pave-relief); opacity: 1; }
.v-map--m-africa { top: 8%; left: 5%; }
.v-map--m-gh { bottom: 12%; right: 8%; color: var(--fond-pave-relief); }
.v-map--m-ng { top: 35%; right: 15%; }
.v-map--m-cm { bottom: 35%; left: 18%; animation-delay: -6s; }

/* Accueil — split & parcours */
.v-split .v-map,
.v-section-has-maps .v-map { opacity: 0.24; }
.v-map--s-sn { top: 12%; right: 6%; color: var(--v-orange); }
.v-map--s-ci { bottom: 15%; left: 4%; }
.v-map--s-ml { top: 45%; right: 12%; animation-delay: -5s; }
.v-map--j-gmb { top: 10%; left: 8%; }
.v-map--j-gn { bottom: 20%; right: 10%; color: var(--v-orange); }
.v-map--j-bf { top: 40%; right: 6%; }
.v-map--j-sn { bottom: 8%; left: 20%; animation-delay: -8s; }

/* Pages intérieures — même fond que l'accueil, cartes pays par page */
.v-page-hero--uniform {
  background: var(--fond-case);
}
.v-page-hero--uniform .v-page-hero__bg.v-hero-home__bg .v-section-maps { z-index: 1; }
.v-page-hero--uniform .v-page-hero__bg.v-hero-home__bg .v-map {
  color: var(--v-primary);
  opacity: 0.32;
  filter: none;
}
.v-page-hero--uniform .v-page-hero__bg.v-hero-home__bg .v-map--p-africa { opacity: 0.36; }
.v-map--p-africa { top: 6%; right: 5%; animation-duration: 26s; }
.v-map--p-ke { bottom: 18%; left: 8%; color: var(--v-orange); animation-delay: -7s; }
.v-map--p-za { top: 28%; left: 12%; animation-delay: -5s; }
.v-map--p-ng { bottom: 10%; right: 16%; color: var(--v-orange); opacity: 0.34; }
.v-map--p-cm { top: 38%; right: 22%; opacity: 0.3; animation-delay: -9s; }
.v-map--p-sn { top: 14%; left: 6%; color: var(--v-orange); opacity: 0.36; }
.v-map--p-ml { bottom: 22%; right: 10%; opacity: 0.3; animation-delay: -4s; }
.v-map--p-ci { top: 40%; right: 18%; color: var(--v-orange); opacity: 0.32; }
.v-map--p-gmb { bottom: 12%; left: 20%; color: var(--v-orange); opacity: 0.33; }
.v-map--p-gn { top: 52%; left: 10%; opacity: 0.28; }
.v-map--p-gh { top: 18%; right: 8%; color: var(--v-primary-dark); opacity: 0.3; }
.v-map--p-bf { bottom: 16%; left: 6%; opacity: 0.3; animation-delay: -11s; }
.v-map--p-ma { top: 6%; right: 28%; color: var(--v-orange); opacity: 0.32; }

/* Parcours RDV — fond uniforme */
.v-booking-hero {
  position: relative;
  overflow: hidden;
  background: var(--fond-case);
  padding: 48px 0 var(--pas-5);
}
.v-booking-hero .v-hero-home__bg { z-index: 0; }
.v-booking-hero .vitrine-container { position: relative; z-index: 1; }
.v-booking-hero .v-hero-home__bg .v-map {
  color: var(--v-primary);
  opacity: 0.28;
}
.v-map--b-africa { top: 0; right: 4%; }
.v-map--b-sn { bottom: 10%; left: 6%; color: var(--v-orange); }
.v-map--b-ml { top: 20%; left: 12%; }
.v-map--b-ci { top: 8%; right: 8%; }
.v-map--b-gn { bottom: 5%; right: 15%; }
.v-map--b-gmb { top: 35%; right: 5%; color: var(--v-orange); }
.v-map--b-bf { bottom: 12%; left: 10%; }
.v-map--b-gh { top: 15%; right: 20%; animation-delay: -4s; }

.v-split,
.v-smile-mosaic,
.v-section-has-maps { position: relative; overflow: hidden; }
.v-smile-mosaic .vitrine-container,
.v-split .vitrine-container,
.v-section-has-maps .vitrine-container { position: relative; z-index: 1; }
@keyframes v-float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes v-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(3deg); }
  66% { transform: translateY(6px) rotate(-2deg); }
}
@keyframes v-float-square {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(18deg) translateY(-12px); }
}
@keyframes v-float-diamond {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(52deg) translateY(-10px); }
}
body.vitrine-body > main,
body.vitrine-body > footer {
  position: relative;
  z-index: 1;
}
/* Contenu lisible par-dessus le décor */
.vitrine-header { background: var(--fond-case); }
.vitrine-form-card,
.vitrine-card,
.v-quote,
.v-bento__item:not(.v-bento__item--img) {
  background: var(--fond-case);
}

.v-display {
  font-family: var(--v-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.v-display em {
  /* Le texte était TRANSPARENT, rempli par un fond clippé sur sa glyphe.
     La couleur calculée vaut `rgba(0,0,0,0)` : aucun relevé de feuille ne
     peut juger ce texte, et aucune règle n'est syntaxiquement fautive.
     Mesuré dans le navigateur, c'était un vide. Un mot mis en avant se dit
     par son ENCRE. */
  font-style: italic;
  color: var(--etat-acquis);
}
.v-display--sm { font-size: clamp(1.65rem, 3.5vw, 2.35rem); }

/* LE FONDU AU DÉFILEMENT N'EXISTE QUE SI LE SCRIPT EST LÀ POUR LE DÉFAIRE.

   Il était inconditionnel : `.v-reveal { opacity: 0 }`, et c'est
   `static/js/vitrine.js` qui rendait les sections visibles au défilement. Si
   le script ne s'exécute pas — réseau coupé, erreur plus haut dans le
   fichier, bloqueur — la page ne se dégrade pas : elle DISPARAÎT. Mesuré sur
   l'accueil en retirant le script : huit sections à `opacity: 0` et
   333 mots sur 514 invisibles, soit 65 % de la page.

   Le drapeau `js` est posé par une ligne en tête de `<head>`, donc avant tout
   rendu. Sans script, la classe n'existe pas, la règle ne s'applique pas, et
   la page est simplement là — sans animation, ce qui n'a jamais tué
   personne. */
.js .v-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .v-reveal--visible { opacity: 1; transform: none; }
.js .v-reveal--delay { transition-delay: 0.15s; }

.vitrine-messages-wrap { padding-top: 16px; }

.vitrine-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.vitrine-container--narrow { max-width: 720px; }

/* Header & nav : vitrine-header.css */
.vitrine-btn--ghost {
  background: transparent;
  color: var(--v-muted);
  border-color: transparent;
}
.vitrine-btn--ghost:hover { color: var(--v-ink); background: var(--etat-acquis-fond); }
.vitrine-btn--white {
  background: var(--fond-case);
  color: var(--v-primary-dark);
}
.vitrine-btn--white:hover { background: var(--etat-acquis-fond); color: var(--v-primary-dark); }
.v-btn-on-dark {
  background: transparent;
  color: var(--texte-renverse);
  border-color: var(--bord-pave);
}
.v-btn-on-dark:hover { background: var(--fond-pave-relief); color: var(--texte-pave); }
.v-pill--glow {}
.v-pill--light { background: var(--fond-pave-relief); color: var(--texte-pave); }
.vitrine-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pas-2) var(--pas-4);
  border-radius: var(--rayon);
  font-size: var(--t-corps);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.vitrine-btn--primary {
  background: var(--v-primary);
  color: var(--texte-renverse);
}
.vitrine-btn--primary:hover {
  background: var(--v-primary-dark);
  color: var(--texte-renverse);
  transform: translateY(-1px);
}
.vitrine-btn--orange,
.vitrine-btn--gold {
  background: var(--v-orange);
  color: var(--texte-renverse);
}
.vitrine-btn--orange:hover,
.vitrine-btn--gold:hover { filter: brightness(1.06); color: var(--texte-renverse); }
.vitrine-btn--primary:disabled,
.vitrine-btn--primary[aria-disabled="true"] {
  background: var(--etat-acquis);
  color: var(--texte-annotation);
  cursor: not-allowed;
  transform: none;
}
.vitrine-btn--primary:disabled:hover,
.vitrine-btn--primary[aria-disabled="true"]:hover {
  background: var(--etat-acquis);
  color: var(--texte-annotation);
}
.vitrine-btn--outline { background: var(--fond-case); color: var(--v-ink); border-color: var(--v-border); }
.vitrine-btn--outline:hover { background: var(--etat-acquis-fond); }
.vitrine-btn--lg { padding: var(--pas-3) var(--pas-4); font-size: var(--t-corps); }
.vitrine-btn--block { width: 100%; }

.vitrine-hero {
  padding: var(--pas-6) 0 var(--pas-6);
  background: var(--etat-acquis-fond);
}
.vitrine-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  margin: 0 0 var(--pas-3);
  letter-spacing: -0.02em;
}
.vitrine-hero h1 span { color: var(--v-primary); }
.vitrine-hero__lead {
  font-size: var(--t-valeur);
  color: var(--v-muted);
  max-width: 640px;
  margin: 0 0 var(--pas-5);
}
.vitrine-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--v-primary-dark);
  background: var(--v-primary-light);
  padding: 8px var(--pas-3);
  border-radius: var(--rayon);
  margin-bottom: 16px;
  border: 1px solid var(--etat-acquis);
}
.v-pill--accent::before,
.v-pill--africa::before { content: ""; }
.vitrine-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.vitrine-section { padding: var(--pas-6) 0; position: relative; }
.vitrine-section--alt { background: var(--fond-case); }
.vitrine-section--alt::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 5%;
  width: 22px;
  height: 22px;
  border: 2px solid var(--bord);
  border-radius: var(--rayon);
  transform: rotate(20deg);
  pointer-events: none;
}
/* ===========================================================================
   LE CENTRAGE ÉTAIT LE DERNIER MARQUEUR « IA » DE LA PAGE D'ACCUEIL.

   Mesuré dans le navigateur sur la page réelle : 0 rayon, 0 ombre, 0 dégradé
   — le monde tient — mais QUATRE TITRES DE SECTION SUR HUIT étaient centrés,
   et le bandeau refait en « fiche » était le seul calé à gauche.

   Une fiche réglée se lit depuis sa marge de gauche. Un bloc centré au milieu
   d'une page n'a pas de marge : il flotte, et c'est exactement ce que le
   praticien a nommé en disant « trop IA ».

   Les en-têtes de section prennent donc la grammaire du bandeau : calés à
   gauche, un filet dessous, le surtitre au-dessus du filet.
   =========================================================================== */
.vitrine-section h2 {
  font-size: var(--t-section);
  margin: 0 0 12px;
}
.vitrine-section > .vitrine-container > p.vitrine-section__intro {
  color: var(--v-muted);
  max-width: 62ch;
  margin: 0 0 var(--pas-5);
}

.vitrine-grid {
  display: grid;
  gap: var(--pas-4);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.vitrine-card {
  background: var(--v-card);
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  padding: var(--pas-5);
  transition: transform 0.15s, box-shadow 0.15s;
}
.vitrine-card:hover {
  transform: translateY(-2px);
}
.vitrine-card h3 { margin: 0 0 var(--pas-2); font-size: var(--t-valeur); }
.vitrine-card p { margin: 0; color: var(--v-muted); font-size: var(--t-corps); }
.vitrine-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--rayon);
  background: var(--v-primary-light);
  color: var(--v-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-sous);
  margin-bottom: 16px;
}

.vitrine-cta {
  padding: var(--pas-6) 0;
  text-align: center;
  background: var(--v-primary-dark);
  color: var(--texte-renverse);
}
.vitrine-cta h2 { color: var(--texte-renverse); margin-bottom: 12px; }
.vitrine-cta p { color: var(--etat-acquis); max-width: 560px; margin: 0 auto var(--pas-4); }
.vitrine-cta .vitrine-btn--outline {
  background: transparent;
  color: var(--texte-renverse);
  border-color: var(--bord-pave);
}
.vitrine-cta .vitrine-btn--outline:hover { background: var(--fond-pave-relief); }

.vitrine-footer {
  /* Le pied était un bleu-nuit presque noir (#0c1222). Mon classeur l'a pris
     pour une couleur de SIGNAL et l'a rendu en bleu du charting : le texte
     clair est devenu illisible. C'est un SOL sombre — dans ce monde, c'est
     l'encre, et ce qui s'y écrit est du papier. */
  position: relative;
  background: var(--fond-pave);
  color: var(--texte-pave-faible);
  padding: var(--pas-6) 0 32px;
  font-size: var(--t-corps);
  overflow: hidden;
}
.vitrine-footer__visual {
  position: absolute;
  right: -40px;
  bottom: -20px;
  opacity: 0.08;
  pointer-events: none;
}
.vitrine-footer__visual img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--rayon);
  filter: grayscale(1);
}
.vitrine-footer a { color: var(--texte-pave-faible); text-decoration: none; transition: color 0.15s; }
.vitrine-footer a:hover { color: var(--papier); }
.vitrine-footer__grid {
  position: relative;
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 32px;
}
.vitrine-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pas-2) var(--pas-3);
  margin-top: 16px;
}
/* Filet posé sur l'APLAT DE MARQUE : `--bord-pave` y mesurait 1,96:1, sous le
   seuil non-texte de 3:1. Voir la note de `.v-smile-mosaic__head`. */
.vitrine-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: var(--pas-1);
  padding: var(--pas-1) var(--pas-2);
  border-radius: var(--rayon);
  background: var(--fond-pave-relief);
  font-size: var(--t-annot);
}
.vitrine-footer__social a:hover {
  background: var(--fond-pave-relief);
}
.vitrine-footer__social-icon { font-size: var(--t-corps); line-height: 1; }
.vitrine-footer__brand {
  color: var(--papier);
  font-family: var(--v-display);
  font-weight: 600;
  font-size: var(--t-sous);
  margin-bottom: 10px;
}
.vitrine-footer__tagline { max-width: 320px; line-height: 1.6; margin: 0; }
.vitrine-footer__title {
  color: var(--papier);
  font-weight: 600;
  font-size: var(--t-annot);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.vitrine-footer__bottom {
  /* Le pied de page est un aplat de marque : `--bord-fort`, accordé au papier
     du monde, y mesurait 1,25:1. C'est CETTE déclaration qui gagne — la
     raccourcie, écrite en premier — et corriger l'autre feuille seule ne
     changeait rien à l'écran. */
  border-top: 1px solid var(--texte-pave-faible);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Bandeau cookies */
.v-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 220;
  padding: var(--pas-3) 0;
  /* un sol d'encre : ce qui s'y écrit est du papier, pas le bleu du charting */
  background: var(--fond-pave);
  color: var(--texte-pave-faible);
  border-top: 1px solid var(--bord-fort);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.v-cookie-banner.is-visible {
  transform: translateY(0);
}
.v-cookie-banner[hidden] { display: block !important; }
.v-cookie-banner.is-dismissed { display: none !important; }
.v-cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pas-3);
}
.v-cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: var(--t-corps);
  line-height: 1.55;
  max-width: 720px;
}
.v-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.v-cookie-banner__link {
  color: var(--papier);
  font-size: var(--t-annot);
  text-decoration: underline;
}
.v-cookie-banner__link:hover { color: var(--texte-renverse); }
.v-cookie-banner .vitrine-btn--ghost {
  color: var(--papier);
  border-color: var(--bord-fort);
  background: transparent;
}
.v-cookie-banner .vitrine-btn--ghost:hover {
  color: var(--texte-pave);
  background: var(--fond-pave-relief);
  border-color: var(--bord);
}
body.v-cookie-visible { padding-bottom: 88px; }

/* Aperçu brouillon */
.v-preview-banner {
  background: var(--fond-intitule);
  color: var(--texte-faible);
  text-align: center;
  padding: var(--pas-2) var(--pas-3);
  font-size: var(--t-annot);
  border-bottom: 1px solid var(--bord-fort);
}

/* FAQ */
.v-faq__list { margin-top: 24px; display: flex; flex-direction: column; gap: var(--pas-2); }
.v-faq__item {
  background: var(--fond-case);
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  overflow: hidden;
}
.v-faq__item summary {
  padding: var(--pas-3) 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.v-faq__item summary::-webkit-details-marker { display: none; }
.v-faq__item[open] summary { color: var(--v-primary); }
.v-faq__answer {
  padding: 0 20px var(--pas-3);
  color: var(--v-muted);
  line-height: 1.6;
}

/* Bandeau promo */
.v-promo-banner {
  padding: 48px 0;
  color: var(--texte-renverse);
}
.v-promo-banner--accent {
  background: var(--v-orange);
}
.v-promo-banner--primary {
  background: var(--v-primary);
}
.v-promo-banner__text { max-width: 560px; margin: 0 0 20px; opacity: 0.95; }

/* Embeds vidéo / carte */
.v-embed-frame {
  position: relative;
  border-radius: var(--rayon);
  overflow: hidden;
  /* un sol sombre derrière un embed : de l'encre, pas un signal */
  background: var(--texte);
}
.v-embed-frame--video { aspect-ratio: 16 / 9; }
.v-embed-frame--map { height: var(--embed-h, 360px); }
.v-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.v-embed-caption {
  margin-top: 12px;
  text-align: center;
  color: var(--v-muted);
  font-size: var(--t-corps);
}

.vitrine-form-card {
  background: var(--v-card);
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  padding: 32px;
}
.vitrine-form-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}
.vitrine-field { display: flex; flex-direction: column; gap: var(--pas-1); }
.vitrine-field--full { grid-column: 1 / -1; }
.vitrine-field label { font-size: var(--t-annot); font-weight: 600; color: var(--v-ink); }
.vitrine-input {
  width: 100%;
  padding: var(--pas-3) var(--pas-3);
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  font-size: var(--t-corps);
  font-family: inherit;
}
.vitrine-input:focus {
  outline: none;
  border-color: var(--v-primary);
}
.vitrine-check { width: auto; margin-right: 8px; }
.vitrine-field-hint { font-size: var(--t-annot); color: var(--v-muted); }
.vitrine-errors {
  background: var(--fond-case);
  border: 1px solid var(--etat-afaire);
  border-radius: var(--rayon);
  padding: 12px var(--pas-3);
  margin-bottom: 20px;
  font-size: var(--t-corps);
  color: var(--etat-afaire);
}
.vitrine-errors ul { margin: 0; padding-left: 1.2rem; }
.vitrine-messages { margin-bottom: 20px; }
.vitrine-message {
  padding: 12px var(--pas-3);
  border-radius: var(--rayon);
  margin-bottom: 8px;
  font-size: var(--t-corps);
}
.vitrine-message--success { background: var(--etat-acquis-fond); color: var(--etat-acquis); border: 1px solid var(--etat-acquis); }
.vitrine-message--error { background: var(--fond-case); color: var(--etat-afaire); border: 1px solid var(--etat-afaire); }

.vitrine-booking-steps {
  margin-bottom: 24px;
}
.vitrine-booking-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vitrine-booking-step {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pas-1);
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--rayon);
  background: var(--etat-acquis-fond);
  font-size: var(--t-micro);
  font-weight: 600;
  color: var(--v-muted);
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.vitrine-booking-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--rayon);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--etat-acquis-fond);
  color: var(--v-muted);
  transition: background 0.18s ease, color 0.18s ease;
}
.vitrine-booking-step__label {
  line-height: 1.25;
}
.vitrine-booking-step.is-active {
  background: var(--v-primary-light);
  color: var(--v-primary-dark);
  border-color: var(--etat-acquis);
}
.vitrine-booking-step.is-active .vitrine-booking-step__num {
  background: var(--v-primary);
  color: var(--texte-renverse);
}
.vitrine-booking-step.is-done {
  background: var(--etat-acquis-fond);
  color: var(--etat-acquis);
}
.vitrine-booking-step.is-done .vitrine-booking-step__num {
  background: var(--etat-acquis);
  color: var(--texte-renverse);
}
.v-booking-section-title {
  margin: 0 0 var(--pas-3);
  font-size: var(--t-valeur);
  font-weight: 700;
  color: var(--v-ink);
}
.v-booking-section-title--spaced {
  margin-top: 28px;
  margin-bottom: 8px;
}
.v-booking-back {
  margin: 0 0 12px;
}
.v-booking-lead-tight {
  margin-bottom: 12px;
}
.v-booking-section--tight {
  padding-top: 12px;
}
.v-booking-section--form {
  padding-top: 16px;
}
.v-booking-form-actions {
  margin-top: 28px;
}
.v-booking-form-footer {
  text-align: center;
  margin-top: 12px;
}
.v-booking-form-footer a {
  color: var(--v-muted);
  font-size: var(--t-corps);
}
.v-booking-submit-hint {
  display: block;
  text-align: center;
  margin-top: 10px;
}
.vitrine-booking-insurance-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pas-2);
  margin: 0;
}
.vitrine-booking-insurance-badge {
  display: inline-block;
  padding: var(--pas-1) 12px;
  border-radius: var(--rayon);
  background: var(--v-primary-light);
  color: var(--v-primary-dark);
  font-size: var(--t-annot);
  font-weight: 600;
}
.vitrine-booking-insurance-change {
  font-size: var(--t-annot);
  font-weight: 600;
  color: var(--v-primary);
}
.vitrine-insurance-summary {
  padding: var(--pas-3) var(--pas-3);
  border-radius: var(--rayon);
  background: var(--etat-acquis-fond);
  border: 1px solid var(--etat-acquis);
  margin-bottom: 16px;
}
.vitrine-insurance-summary__name {
  margin: 0;
  font-weight: 700;
  color: var(--v-primary-dark);
}
.vitrine-insurance-summary__hint {
  margin: var(--pas-1) 0 0;
  font-size: var(--t-annot);
  color: var(--v-muted);
}
.vitrine-insurance-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.vitrine-insurance-list__count {
  font-size: 0.75rem;
  color: var(--v-muted);
  font-weight: 500;
  white-space: nowrap;
}
/* Sélecteur cabinet (recherche + cartes cliquables) */
.vitrine-cabinet-search-label {
  display: block;
  font-size: var(--t-corps);
  font-weight: 600;
  margin-bottom: 10px;
}
.vitrine-cabinet-search { margin-bottom: 14px; }
.vitrine-cabinet-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.vitrine-cabinet-filter {
  padding: 8px var(--pas-3);
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  background: var(--fond-case);
  font-size: var(--t-annot);
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  color: var(--v-muted);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.vitrine-cabinet-filter:hover {
  border-color: var(--etat-acquis);
  color: var(--v-primary-dark);
}
.vitrine-cabinet-filter.is-active {
  background: var(--v-primary);
  border-color: var(--v-primary);
  color: var(--texte-renverse);
}
.vitrine-cabinet-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 var(--pas-2);
}
.vitrine-cabinet-sort__label {
  font-size: var(--t-annot);
  font-weight: 600;
  color: var(--v-muted);
  margin-right: 4px;
}
.vitrine-cabinet-sort__btn {
  font-size: var(--t-micro);
  font-weight: 600;
  padding: var(--pas-1) 12px;
  border-radius: var(--rayon);
  border: 1px solid var(--v-border);
  background: var(--fond-case);
  color: var(--v-ink);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.vitrine-cabinet-sort__btn:hover {
  border-color: var(--etat-acquis);
}
.vitrine-cabinet-sort__btn.is-active {
  background: var(--etat-acquis-fond);
  border-color: var(--v-primary);
  color: var(--v-primary-dark);
}
.vitrine-cabinet-preview {
  margin: var(--pas-3) 0 4px;
  padding: var(--pas-3) var(--pas-3);
  border-radius: var(--rayon);
  background: var(--etat-acquis-fond);
  border: 1px solid var(--etat-acquis);
}
.vitrine-cabinet-preview__head {
  display: flex;
  align-items: baseline;
  gap: var(--pas-1);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.vitrine-cabinet-preview__label {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--texte-annotation);
}
.vitrine-cabinet-preview__date {
  font-size: var(--t-corps);
  font-weight: 700;
  color: var(--texte-faible);
}
.vitrine-cabinet-preview__days {
  display: flex;
  gap: var(--pas-1);
  overflow-x: auto;
  padding: var(--pas-1) 0;
  margin: 0 -2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.vitrine-cabinet-preview__days::-webkit-scrollbar {
  display: none;
}
.vitrine-cabinet-meta {
  font-size: var(--t-annot);
  color: var(--v-muted);
  margin: 0 0 12px;
  min-height: 1.2em;
}
.vitrine-cabinet-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.vitrine-cabinet-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--pas-1);
  width: 100%;
  padding: var(--pas-4) 20px;
  border: 2px solid var(--v-border);
  border-radius: var(--rayon);
  background: var(--fond-case);
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.vitrine-cabinet-card:hover {
  border-color: var(--etat-acquis);
}
.vitrine-cabinet-card__name {
  font-size: var(--t-valeur);
  font-weight: 700;
  color: var(--v-ink);
  line-height: 1.3;
}
.vitrine-cabinet-card__city {
  font-size: var(--t-annot);
  font-weight: 600;
  color: var(--v-primary-dark);
}
/* L'établissement d'un service, quand la clinique en ouvre plusieurs.
   Plus discret que la ville — c'est un rattachement, pas une destination :
   le patient va dans le SERVICE, et cette ligne lui dit seulement de quelle
   maison il relève. */
.vitrine-cabinet-card__etab {
  font-size: var(--t-annot);
  color: var(--v-muted);
  line-height: 1.4;
}
.vitrine-cabinet-card__sub {
  font-size: var(--t-annot);
  color: var(--v-muted);
  line-height: 1.4;
}
.vitrine-cabinet-card__availability {
  width: 100%;
  margin-top: 4px;
  padding: 8px var(--pas-2);
  border-radius: var(--rayon);
  background: var(--etat-acquis-fond);
  border: 1px solid var(--etat-acquis);
}
.vitrine-cabinet-card__availability.is-unavailable {
  background: var(--fond-case);
  border-color: var(--bord);
}
.vitrine-cabinet-day {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pas-1);
  min-width: 42px;
  padding: var(--pas-2) var(--pas-1) var(--pas-1);
  border: 1.5px solid transparent;
  border-radius: var(--rayon);
  background: var(--fond-case);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.vitrine-cabinet-day:hover {
  border-color: var(--etat-acquis);
  background: var(--fond-case);
}
.vitrine-cabinet-day.is-active {
  border-color: var(--etat-acquis);
  background: var(--etat-acquis-fond);
}
.vitrine-cabinet-day__wd {
  font-size: var(--t-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--texte-annotation);
}
.vitrine-cabinet-day.is-active .vitrine-cabinet-day__wd {
  color: var(--etat-acquis);
}
.vitrine-cabinet-day__num {
  font-size: var(--t-corps);
  font-weight: 700;
  color: var(--texte-faible);
}
.vitrine-cabinet-day.is-active .vitrine-cabinet-day__num {
  color: var(--etat-acquis);
}
.vitrine-cabinet-day__dot {
  width: 5px;
  height: 5px;
  border-radius: var(--rayon);
  background: var(--etat-acquis-fond);
}
.vitrine-cabinet-day.has-slots .vitrine-cabinet-day__dot {
  background: var(--etat-acquis);
}
.vitrine-cabinet-day.is-active.has-slots .vitrine-cabinet-day__dot {
  background: var(--etat-acquis);
}
.vitrine-cabinet-card__avail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.vitrine-cabinet-card__avail-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--texte-annotation);
}
.vitrine-cabinet-card__avail-slots {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pas-1);
  align-items: center;
}
.vitrine-cabinet-card__avail-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px var(--pas-2);
  border-radius: var(--rayon);
  font-size: var(--t-annot);
  font-weight: 600;
  line-height: 1;
  background: var(--fond-case);
  color: var(--texte-faible);
  border: 1px solid var(--etat-acquis);
}
.vitrine-cabinet-card__avail-chip.is-next {
  background: var(--etat-acquis);
  border-color: var(--etat-acquis);
  color: var(--texte-renverse);
}
.vitrine-cabinet-card__avail-chip.is-more {
  background: transparent;
  border-style: dashed;
  color: var(--texte-annotation);
  font-weight: 700;
  font-size: var(--t-micro);
}
.vitrine-cabinet-card__avail-empty {
  font-size: var(--t-annot);
  color: var(--texte-annotation);
  line-height: 1.4;
}
.vitrine-cabinet-card__avail-loading {
  font-size: var(--t-annot);
  color: var(--texte-annotation);
  line-height: 1.4;
}
.vitrine-cabinet-card__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 8px var(--pas-3);
  border-radius: var(--rayon);
  font-size: var(--t-annot);
  font-weight: 600;
  color: var(--texte-renverse);
  background: var(--v-primary);
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
}
.vitrine-cabinet-card__cta:hover {
  background: var(--v-primary-dark, var(--etat-acquis));
  color: var(--texte-renverse);
}
.vitrine-cabinet-empty {
  font-size: var(--t-corps);
  color: var(--texte-faible);
  background: var(--fond-intitule);
  border: 1px solid var(--bord-fort);
  border-radius: var(--rayon);
  padding: var(--pas-3) var(--pas-3);
  text-align: center;
}

/* Géolocalisation — choix cabinet RDV */
.vitrine-loc-mode {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--pas-2);
  margin-bottom: 18px;
}
.vitrine-loc-mode__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px var(--pas-3);
  border: 2px solid var(--v-border);
  border-radius: var(--rayon);
  background: var(--fond-case);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.vitrine-loc-mode__btn:hover {
  border-color: var(--etat-acquis);
}
.vitrine-loc-mode__btn.is-active {
  border-color: var(--v-primary);
  background: var(--etat-acquis-fond);
}
.vitrine-loc-mode__btn--muted {
  opacity: 0.92;
}
.vitrine-loc-mode__btn--muted .vitrine-loc-mode__title {
  font-weight: 600;
}
.vitrine-loc-panel #loc-zone-search {
  margin-bottom: 8px;
}
.vitrine-loc-panel #loc-zone-select {
  margin-bottom: 8px;
}
.vitrine-loc-mode__title {
  font-size: var(--t-corps);
  font-weight: 700;
  color: var(--v-ink);
}
.vitrine-loc-mode__sub {
  font-size: 0.75rem;
  color: var(--v-muted);
}
.vitrine-loc-panel {
  margin-bottom: 16px;
  padding: var(--pas-3);
  border-radius: var(--rayon);
  background: var(--etat-acquis-fond);
  border: 1px solid var(--v-border);
}
.vitrine-loc-panel[hidden] {
  display: none !important;
}
.vitrine-loc-panel__hint {
  font-size: var(--t-annot);
  color: var(--v-muted);
  margin: 0 0 12px;
  line-height: 1.45;
}
.vitrine-loc-status {
  font-size: var(--t-annot);
  color: var(--v-primary-dark);
  margin: var(--pas-2) 0 0;
  min-height: 1.2em;
}
.vitrine-cabinet-card {
  position: relative;
}
.vitrine-cabinet-card__distance {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px var(--pas-2);
  border-radius: var(--rayon);
  background: var(--etat-acquis-fond);
  color: var(--etat-acquis);
}

.vitrine-success-box {
  text-align: center;
  padding: 48px var(--pas-4);
}
.vitrine-success-box__lead {
  color: var(--v-muted);
  max-width: 480px;
  margin: 0 auto var(--pas-4);
  line-height: 1.6;
}
.vitrine-success-box__liste {
  max-width: 480px;
  margin: 0 auto var(--pas-4);
  line-height: 1.6;
}
.vitrine-consent-label {
  display: flex;
  align-items: flex-start;
  gap: var(--pas-2);
  font-weight: 400;
  cursor: pointer;
  line-height: 1.45;
}
.vitrine-consent-label input {
  margin-top: 3px;
  flex-shrink: 0;
}
.vitrine-success-box__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--rayon);
  background: var(--v-primary-light);
  color: var(--v-primary);
  font-size: var(--t-ecran);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Sélecteur assurance (recherche + liste courte) */
.vitrine-insurance-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.vitrine-insurance-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pas-2);
  margin-bottom: 16px;
}
.vitrine-insurance-mode__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: var(--pas-3) var(--pas-3);
  border: 2px solid var(--v-border);
  border-radius: var(--rayon);
  background: var(--fond-case);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.vitrine-insurance-mode__btn:hover {
  border-color: var(--etat-acquis);
  background: var(--etat-acquis-fond);
}
.vitrine-insurance-mode__btn.is-active {
  border-color: var(--v-primary);
  background: var(--v-primary-light);
}
.vitrine-insurance-mode__title {
  font-size: var(--t-corps);
  font-weight: 600;
  color: var(--v-ink);
}
.vitrine-insurance-mode__sub {
  font-size: var(--t-annot);
  color: var(--v-muted);
  font-weight: 400;
}
.vitrine-insurance-panel {
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  padding: var(--pas-3);
  background: var(--etat-acquis-fond);
}
.vitrine-insurance-search-label {
  display: block;
  font-size: var(--t-annot);
  font-weight: 600;
  margin-bottom: 8px;
}
.vitrine-insurance-search {
  margin-bottom: 10px;
}
.vitrine-insurance-meta {
  font-size: var(--t-annot);
  color: var(--v-muted);
  margin: 0 0 8px;
  min-height: 1.2em;
}
.vitrine-insurance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  background: var(--fond-case);
}
.vitrine-insurance-list__item {
  display: block;
  width: 100%;
  padding: 12px var(--pas-3);
  border: none;
  border-bottom: 1px solid var(--etat-acquis);
  background: var(--fond-case);
  text-align: left;
  font-size: var(--t-corps);
  font-family: inherit;
  cursor: pointer;
  color: var(--v-ink);
}
.vitrine-insurance-list__item:last-child { border-bottom: none; }
.vitrine-insurance-list__item:hover,
.vitrine-insurance-list__item:focus {
  background: var(--etat-acquis-fond);
  outline: none;
}
.vitrine-insurance-list__item.is-selected {
  background: var(--v-primary-light);
  font-weight: 600;
  color: var(--v-primary-dark);
}
.vitrine-insurance-empty {
  font-size: var(--t-annot);
  color: var(--texte-faible);
  background: var(--fond-intitule);
  border: 1px solid var(--bord-fort);
  border-radius: var(--rayon);
  padding: var(--pas-2) 12px;
  margin: 8px 0 0;
}
.vitrine-insurance-picked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: var(--pas-2) 12px;
  background: var(--etat-acquis-fond);
  border-radius: var(--rayon);
  font-size: var(--t-corps);
}
.vitrine-insurance-picked[hidden],
.vitrine-insurance-panel[hidden] { display: none !important; }
.vitrine-insurance-picked__clear {
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--v-primary-dark);
  font-size: var(--t-annot);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
.vitrine-insurance-none-msg {
  padding: var(--pas-3) var(--pas-3);
  background: var(--etat-acquis-fond);
  border-radius: var(--rayon);
  color: var(--v-muted);
  font-size: var(--t-corps);
  margin: 0;
}

/* Créneaux horaires (grille cliquable) */
.vitrine-slot-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.vitrine-slot-picker-label {
  display: block;
  font-size: var(--t-corps);
  font-weight: 600;
  margin-bottom: 8px;
}
.vitrine-slot-picker-hint {
  font-size: var(--t-annot);
  color: var(--v-muted);
  margin: 0 0 12px;
}
.vitrine-slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vitrine-slot-btn {
  padding: var(--pas-2) var(--pas-3);
  min-height: 44px;
  min-width: 72px;
  border: 2px solid var(--v-border);
  border-radius: var(--rayon);
  background: var(--fond-case);
  font-size: var(--t-corps);
  font-weight: 600;
  font-family: inherit;
  color: var(--v-ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.12s ease;
}
.vitrine-slot-btn:hover {
  border-color: var(--v-primary);
  color: var(--v-primary-dark);
}
.vitrine-slot-btn:focus-visible {
  outline: 2px solid var(--v-primary);
  outline-offset: 2px;
}
.vitrine-slot-btn.is-selected {
  background: var(--v-primary);
  border-color: var(--v-primary);
  color: var(--texte-renverse);
}
.vitrine-booking-summary {
  text-align: left;
  background: var(--etat-acquis-fond);
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  padding: 20px;
  margin: 0 auto var(--pas-4);
  max-width: 400px;
}
.vitrine-booking-summary p {
  margin: 0 0 8px;
}
.vitrine-booking-summary p:last-child {
  margin-bottom: 0;
}
.vitrine-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pas-2);
  justify-content: center;
}
.vitrine-slot-empty {
  font-size: var(--t-corps);
  color: var(--texte-faible);
  background: var(--fond-intitule);
  border: 1px solid var(--bord-fort);
  border-radius: var(--rayon);
  padding: 12px var(--pas-3);
  margin: 0;
}
.vitrine-slot-empty { display: grid; gap: var(--pas-2); }
.vitrine-slot-empty p { margin: 0; }
.vitrine-slot-empty__titre { font-weight: 600; color: var(--v-ink); }
.vitrine-slot-empty__premier {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pas-2);
  color: var(--v-ink);
}
.vitrine-slot-empty[hidden],
.vitrine-slot-empty p[hidden],
.vitrine-slot-picked[hidden] { display: none !important; }
.vitrine-slot-picked {
  margin: 12px 0 0;
  font-size: var(--t-corps);
  color: var(--v-primary-dark);
}
.vitrine-slot-loading {
  margin: 0;
  font-size: var(--t-corps);
  color: var(--v-muted);
}

/* ——— Pages marketing (accueil, etc.) ——— */
.v-hero-home__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    transparent,
    var(--fond-case),
    var(--fond-case),
    var(--fond-case);
}
.v-hero-home__frame {
  position: relative;
}
.v-hero-home__frame::before {
  content: "";
  position: absolute;
  inset: -12px -12px 24px 24px;
  border: 3px solid var(--v-orange);
  border-radius: var(--rayon);
  opacity: 0.55;
  z-index: 0;
}
.v-hero-home__frame::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  bottom: -8px;
  left: -8px;
  background: var(--v-orange);
  border-radius: var(--rayon);
  opacity: 0.85;
  z-index: 2;
}
/* Mosaïque sourires */
.v-smile-mosaic {
  padding: var(--pas-6) 0;
  background: var(--texte);
  color: var(--texte-renverse);
  position: relative;
  overflow: hidden;
}
.v-smile-mosaic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--v-orange);
}
.v-smile-mosaic__head {
  max-width: 62ch;
  margin: 0 0 var(--pas-6);
  padding-bottom: var(--pas-3);
  /* NI `--bord`, NI `--bord-pave`.
     Le fond de cette section n'est pas le pavé du monde : c'est L'APLAT DE
     MARQUE du praticien (mesuré rgb(28,76,122), plus un voile de marque à
     80 %). Les deux jetons de filet sont accordés au pavé quasi noir, et y
     tombent à 2,18:1 et 1,96:1 — sous le seuil non-texte de 3:1 (WCAG
     1.4.11). C'est la famille de portée déjà close pour l'ENCRE
     (`encre_sur`, `marque_lisible_sur`), une couche plus loin : un jeton du
     monde posé sur un aplat que le praticien choisit.
     L'encre pâle des fonds renversés, elle, mesure 5,34:1 sur cet aplat. */
  border-bottom: var(--trait) solid var(--texte-pave-faible);
}
.v-smile-mosaic__head .v-display { color: var(--texte-renverse); font-size: clamp(1.85rem, 4vw, 2.6rem); }
.v-smile-mosaic__head .v-display em {
  /* UNE PHRASE S'ÉCRIT D'UNE SEULE ENCRE.
     Le champ `title_em` du CMS reste : il compose la suite du titre. Mais le
     rendre dans une AUTRE couleur au milieu de la phrase est le titre à deux
     tons des pages faites à la chaîne — relevé sur « Des visages, des
     histoires vraies ». Dans ce monde l'accent est porté par le filet et le
     registre, pas par un changement de couleur en cours de ligne. */
  color: inherit;
  font-style: normal;
}
.v-smile-mosaic__head p { color: var(--texte-faible); margin: 12px 0 0; font-size: var(--t-valeur); }
.v-smile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 280px 200px;
  gap: var(--pas-3);
  max-width: 1000px;
  margin: 0 auto;
}
.v-smile-grid__item {
  position: relative;
  border-radius: var(--rayon);
  overflow: hidden;
  /* LE JETON DE FILET DU PAVÉ NE VAUT PAS SUR UN APLAT DE MARQUE.
     `--bord-pave` est accordé au pavé quasi noir du monde. Posé sur l'aplat de
     marque du praticien (mesuré rgb(28,76,122)), il tombe à 1,96:1 — sous le
     seuil non-texte de 3:1 (WCAG 1.4.11). L'encre pâle des fonds renversés y
     mesure 5,34:1. Même famille de portée que les encres, une couche plus loin. */
  border: 3px solid var(--texte-pave-faible);
}
.v-smile-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.v-smile-grid__item:hover img { transform: scale(1.04); }
.v-smile-grid__item--hero { grid-row: span 2; border-radius: var(--rayon); border-color: var(--v-orange); }
.v-smile-grid__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--pas-3) var(--pas-3);
  background: var(--texte);
  font-size: var(--t-annot);
  font-weight: 600;
}
.v-smile-mosaic__cta {
  text-align: center;
  margin-top: 40px;
}

/* Bande motifs */
.v-pattern-band {
  height: 12px;
  background: var(--v-orange);
  opacity: 0.35;
}

.vitrine-section--warm { background: var(--fond-case); }
.v-card-glow {
  position: relative;
}
.v-card-glow::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  top: -8px;
  right: -8px;
  border: 2px solid var(--v-orange);
  border-radius: var(--rayon);
  opacity: 0.4;
}
.v-hero-home__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
@media (prefers-reduced-motion: reduce) {
}

.v-trust-strip {
  background: var(--fond-case);
  border-block: 1px solid var(--v-border);
  padding: 20px 0;
}
.v-trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pas-3);
}
.v-trust-strip__inner > p {
  margin: 0;
  font-weight: 600;
  color: var(--v-ink);
  font-size: var(--t-corps);
}
.v-trust-strip__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: var(--t-annot);
  color: var(--v-muted);
}

.v-split { padding: var(--pas-6) 0; }
.v-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pas-6);
  align-items: center;
}
.v-split__media { position: relative; }
.v-split__media img {
  width: 100%;
  border-radius: var(--rayon);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.v-split__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--fond-case);
  backdrop-filter: blur(8px);
  padding: 8px var(--pas-3);
  border-radius: var(--rayon);
  font-size: var(--t-annot);
  font-weight: 600;
  color: var(--v-primary-dark);
}
.v-split__text .v-display { margin: 0 0 var(--pas-3); }
.v-split__text > p { color: var(--v-muted); margin: 0 0 20px; }
.v-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--pas-5);
}
.v-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--v-ink);
  font-size: var(--t-corps);
}
.v-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--v-primary);
  font-weight: 700;
}

.vitrine-section--soft { background: var(--fond-case); }
.v-section-head {
  margin-bottom: var(--pas-6);
  padding-bottom: var(--pas-3);
  border-bottom: var(--trait) solid var(--bord);
}
.v-section-head .vitrine-section__intro { margin-bottom: 0; }

.v-bento {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}
.v-bento__item {
  background: var(--v-card);
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  padding: var(--pas-5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.v-bento__item:hover {
  transform: translateY(-4px);
}
.v-bento__item--wide { grid-column: span 2; }
.v-bento__item--img {
  padding: 0;
  overflow: hidden;
  min-height: 220px;
  position: relative;
}
.v-bento__item--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}
.v-bento__overlay {
  position: absolute;
  inset: 0;
  background: var(--fond-pave);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pas-4);
  /* la trame est un APLAT, pas une encre : sur le pavé, le texte est
     l'encre du pavé */
  color: var(--texte-pave);
}
.v-bento__overlay h3 { margin: 0 0 8px; font-size: var(--t-sous); color: var(--texte-pave); }
/* `.v-bento__item p` (0,1,1) et `.v-bento__overlay p` (0,1,1) se disputaient
   ce paragraphe, et l'ordre des sources donnait la victoire à l'encre de
   JOUR — 2,49:1 sur le pavé. Le sélecteur nomme donc les deux classes : sur
   un pavé, c'est le pavé qui dit l'encre. */
.v-bento__item .v-bento__overlay p { margin: 0; font-size: var(--t-corps); color: var(--texte-pave-faible); }
.v-bento__item--accent {
  background: var(--v-primary-light);
  border-color: var(--etat-acquis);
}
.v-bento__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--rayon);
  background: var(--v-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-sous);
  margin-bottom: 14px;
}
.v-bento__item h3 { margin: 0 0 8px; font-size: var(--t-valeur); }
.v-bento__item p { margin: 0; color: var(--v-muted); font-size: var(--t-corps); }

.v-showcase {
  padding: var(--pas-6) 0;
  background: var(--texte);
  color: var(--texte-renverse);
  position: relative;
}
.v-showcase::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 8%;
  width: 120px;
  height: 120px;
  border: 2px dashed var(--v-orange);
  border-radius: var(--rayon);
  opacity: 0.35;
}
.v-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.v-showcase__content .v-display { color: var(--texte-renverse); margin: 12px 0 var(--pas-3); }
.v-showcase__content > p { color: var(--texte-pave-faible); margin: 0 0 var(--pas-5); max-width: 480px; }
.v-showcase__features {
  display: grid;
  gap: var(--pas-3);
  margin-bottom: 32px;
}
.v-showcase__features div {
  padding: var(--pas-3) var(--pas-4);
  background: var(--fond-pave-relief);
  border-radius: var(--rayon);
  border: 1px solid var(--texte-pave-faible);
}
.v-showcase__features strong { display: block; color: var(--texte-renverse); font-size: var(--t-corps); }
.v-showcase__features span { font-size: var(--t-annot); color: var(--texte-pave-faible); }
.v-showcase__media { position: relative; }
.v-showcase__media > img:first-child {
  width: 100%;
  border-radius: var(--rayon);
  object-fit: cover;
  aspect-ratio: 4/5;
}
/* Filet posé sur l'APLAT DE MARQUE : `--bord-pave` y mesurait 2,32:1, sous le
   seuil non-texte de 3:1. Voir la note de `.v-smile-mosaic__head`. */
.v-showcase__float {
  position: absolute;
  bottom: -20px;
  left: -24px;
  width: 140px;
  height: 140px;
  border-radius: var(--rayon);
  /* Cette vignette flotte sur l'aplat de marque du pavé vitrine : le filet du
     papier y mesurait 2,32:1, sous le seuil non-texte de 3:1. */
  border: 4px solid var(--texte-pave-faible);
  object-fit: cover;
}

.v-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pas-4);
}
.v-quote {
  margin: 0;
  padding: var(--pas-5);
  background: var(--fond-case);
  border-radius: var(--rayon);
  border: 1px solid var(--v-border);
}
.v-quote p {
  margin: 0 0 var(--pas-3);
  font-size: var(--t-corps);
  font-style: italic;
  color: var(--v-ink);
  line-height: 1.55;
}
.v-quote footer { font-size: var(--t-annot); color: var(--v-muted); font-style: normal; }

.v-cta-visual {
  position: relative;
  padding: var(--pas-6) 0;
  overflow: hidden;
  /* LE SOL EST SUR LA SECTION, PLUS SUR UNE COUCHE.
     Il vivait dans le `::after` d'un div qui portait une photo — un voile
     OPAQUE sur une image qu'on ne voyait donc jamais. La photo est partie
     (202 Ko par visite, et aucune ouverture de voile ne la rendait lisible :
     son pixel le plus clair donne 2,41:1 au texte au voile du monde). Ce qui
     reste est ce que le monde appelle un pavé. */
  background: var(--fond-pave);
}
.v-cta-visual__content {
  position: relative;
  color: var(--texte-pave);
}
.v-cta-visual__content .v-display {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--texte-pave);
  margin: 0 0 var(--pas-3);
}
.v-cta-visual__content > p {
  max-width: 520px;
  margin: 0 auto 32px;
  /* sur le voile d'encre qui couvre la photo, le texte est du papier */
  color: var(--texte-pave-faible);
  font-size: var(--t-valeur);
}
.v-cta-visual__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Page hero intérieur */
.v-page-hero {
  position: relative;
  padding: var(--pas-6) 0 var(--pas-6);
  overflow: hidden;
}
.v-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.v-page-hero--uniform .vitrine-container { position: relative; z-index: 1; color: var(--v-ink); }
.v-page-hero--uniform .v-display {
  color: var(--v-ink);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 12px;
}
.v-page-hero--uniform .v-display em { color: var(--v-primary); }
.v-page-hero--uniform .v-page-hero__lead {
  color: var(--v-muted);
  max-width: 560px;
  margin: 0;
  font-size: var(--t-valeur);
}

.v-feature-visual {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--pas-4);
}
.v-feature-card {
  background: var(--fond-case);
  border-radius: var(--rayon);
  overflow: hidden;
  border: 1px solid var(--v-border);
  transition: transform 0.2s;
}
.v-feature-card:hover { transform: translateY(-4px); }
.v-feature-card--highlight {
  border-color: var(--v-orange-light);
}
.v-feature-card--highlight .v-feature-card__body h3 { color: var(--v-primary); }
.v-feature-card__img { height: 160px; overflow: hidden; }
.v-feature-card__img img { width: 100%; height: 100%; object-fit: cover; }
.v-feature-card__body { padding: var(--pas-4); }
.v-feature-card__body h3 { margin: 0 0 8px; font-size: var(--t-valeur); }
.v-feature-card__body p { margin: 0; color: var(--v-muted); font-size: var(--t-corps); }

.v-contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pas-5);
  align-items: start;
}
.v-contact-side {
  border-radius: var(--rayon);
  overflow: hidden;
  position: relative;
  min-height: 420px;
}
.v-contact-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.v-contact-side__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--pas-5);
  background: var(--texte);
  color: var(--texte-renverse);
}
.v-contact-side__caption strong { display: block; font-size: var(--t-valeur); margin-bottom: 6px; }
.v-contact-side__caption span { font-size: var(--t-corps); opacity: 0.9; }

.v-pricing-card--featured {
  border: 2px solid var(--v-primary);
  transform: scale(1.02);
}
.v-journey {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 640px;
}
.v-journey li {
  counter-increment: step;
  position: relative;
  padding: 20px 0 20px var(--pas-6);
  border-bottom: 1px solid var(--v-border);
}
.v-journey li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--rayon);
  background: var(--v-primary-light);
  color: var(--v-primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-corps);
}
.v-journey li strong { color: var(--v-ink); }

@media (max-width: 767.98px) {
  .v-split__grid,
  .v-showcase__grid,
  .v-bento,
  .v-quotes,
  .v-contact-split { grid-template-columns: 1fr; }
  .v-bento__item--wide { grid-column: span 1; }
  .v-showcase__float { display: none; }
  .v-pricing-card--featured { transform: none; }
  .v-smile-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }
  .v-smile-grid__item--hero { grid-row: span 1; grid-column: span 2; }
  .vitrine-form-grid { grid-template-columns: 1fr; }
  .vitrine-insurance-mode { grid-template-columns: 1fr; }
  .vitrine-footer__grid { grid-template-columns: 1fr; }
}

/* Blocs CMS : paragraphe, image, réseaux, sidebar */
.v-paragraph-block__body {
  font-size: var(--t-valeur);
  line-height: 1.75;
  color: var(--v-muted);
  max-width: 720px;
}
.v-paragraph-block--center .v-paragraph-block__body,
.v-paragraph-block--center h2 { margin-left: auto; margin-right: auto; text-align: center; }
.v-paragraph-block--right .v-paragraph-block__body,
.v-paragraph-block--right h2 { margin-left: auto; text-align: right; }

.v-image-block__figure { margin: 0; border-radius: var(--rayon); overflow: hidden; }
.v-image-block__figure img { width: 100%; height: auto; display: block; }
.v-image-block__figure figcaption {
  padding: 12px var(--pas-3);
  font-size: var(--t-corps);
  color: var(--v-muted);
  text-align: center;
  background: var(--v-sand);
}
.v-image-block--full .v-image-block__wrap { max-width: none; }
.v-image-block--full .v-image-block__figure { border-radius: var(--rayon); }

.v-social-block__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pas-3);
  margin-top: 24px;
}
.v-social-block__item {
  display: inline-flex;
  align-items: center;
  gap: var(--pas-2);
  padding: var(--pas-3) var(--pas-4);
  background: var(--fond-case);
  border: 1px solid var(--v-border);
  border-radius: var(--rayon);
  text-decoration: none;
  color: var(--v-ink);
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.v-social-block__item:hover {
  border-color: var(--v-primary);
}
.v-social-block__icon { font-size: 1.25rem; }

.v-sidebar-block__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--pas-5);
  align-items: start;
}
.v-sidebar-block__aside {
  padding: var(--pas-4);
  background: var(--v-sand);
  border-radius: var(--rayon);
}
.v-sidebar-block__aside h3 { margin: 0 0 12px; font-size: var(--t-valeur); }
.v-sidebar-block__aside-img {
  width: 100%;
  border-radius: var(--rayon);
  margin-bottom: 16px;
}

@media (max-width: 767.98px) {
  .v-sidebar-block__grid { grid-template-columns: 1fr; }
}

/* ===========================================================================
   LA FICHE — le héros de l'accueil.

   Il était un écran coupé en deux : texte et deux gros boutons à gauche, photo
   à droite, badge flottant qui grossissait au survol, fond semé de ronds, de
   triangles et de losanges. Le praticien l'a nommé en le voyant : « c'est trop
   IA ». Il avait raison — c'est la composition que tout générateur produit.

   Ce qui la remplace vient du monde de l'outil : « le carton réglé » est nommé
   d'après la FICHE que le cabinet remet au patient. D'où une seule colonne, un
   en-tête réglé, un titre d'une seule encre, un geste principal suivi d'un lien
   de phrase, une bande de registre, et la photo en PLANCHE — une bande large
   sous la fiche, avec sa légende.

   Le trait porte toute la structure : il n'y a pas une ombre, pas un dégradé,
   pas une forme décorative. Les chiffres sont à la police des valeurs, parce
   qu'un chiffre de registre s'aligne.
   =========================================================================== */
.v-fiche {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
}

.v-fiche__carton {
  border: var(--trait) solid var(--bord);
  border-radius: var(--rayon);
  background: var(--fond-case);
}

.v-fiche__entete {
  padding: var(--pas-3) clamp(var(--pas-4), 4vw, var(--pas-6));
  border-bottom: var(--trait) solid var(--bord);
}

.v-fiche__registre {
  display: inline-block;
  font-family: var(--fam-valeur);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: var(--interlettre);
  text-transform: uppercase;
  color: var(--texte-faible);
}

.v-fiche__titre,
.v-fiche__chapo,
.v-fiche__gestes {
  padding-inline: clamp(var(--pas-4), 4vw, var(--pas-6));
}

.v-fiche__titre {
  font-family: var(--v-display);
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
  max-width: 20ch;
  /* UNE SEULE ENCRE. La moitié du titre était bleue : dans ce monde « la
     couleur ne fait que CONFIRMER », et une moitié de titre ne confirme rien.
     La hiérarchie passe par la coupe de ligne, qui, elle, dit quelque chose. */
  color: var(--v-ink);
  margin: clamp(var(--pas-5), 5vw, var(--pas-6)) 0 var(--pas-4);
}

.v-fiche__titre em {
  display: block;
  font-style: normal;
  color: inherit;
}

.v-fiche__chapo {
  max-width: 62ch;
  margin: 0 0 var(--pas-5);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: var(--v-muted);
}

/* UN geste principal, et un lien de phrase. Deux boutons de même poids ne
   disent pas lequel compte — et c'est le second tell que le praticien a vu. */
.v-fiche__gestes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pas-4);
  margin: 0 0 clamp(var(--pas-5), 5vw, var(--pas-6));
}

.v-fiche__lien {
  display: inline-flex;
  align-items: center;
  min-height: var(--l-cible);
  font-size: var(--t-corps);
  font-weight: 600;
  color: var(--v-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v-fiche__lien::after {
  content: " \2192";
  margin-inline-start: var(--pas-1);
}

/* La bande de registre : trois cellules séparées par un filet, comme le pied
   d'une page de registre. Les valeurs sont à la police des valeurs. */
.v-fiche__bande {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  margin: 0;
  border-top: var(--trait) solid var(--bord);
}

.v-fiche__cellule {
  padding: var(--pas-4) clamp(var(--pas-4), 4vw, var(--pas-6));
  border-inline-start: var(--trait) solid var(--bord);
}

.v-fiche__cellule:first-child {
  border-inline-start: 0;
}

.v-fiche__cellule dt {
  font-family: var(--fam-valeur);
  font-size: var(--t-section);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--v-ink);
}

.v-fiche__cellule dd {
  margin: var(--pas-1) 0 0;
  font-size: var(--t-annot);
  line-height: 1.45;
  color: var(--v-muted);
}

/* LA PLANCHE. La photo n'est plus une colonne : c'est une bande imprimée sous
   la fiche, avec sa légende — et la vignette qui flottait sur l'image est
   devenue la référence de planche, à sa place, au début de la légende. */
.v-fiche__planche {
  margin: var(--pas-5) 0 0;
  border: var(--trait) solid var(--bord);
  border-radius: var(--rayon);
  background: var(--fond-case);
  overflow: hidden;
}

.v-fiche__photo {
  display: block;
  width: 100%;
  /* 21/9, et le point de visée à 30 % de la hauteur. MESURÉ, pas choisi :
     l'image par défaut est un portrait 736×981 ; à 48/13 la bande n'en
     montrait qu'une tranche floue de 20 %, où l'on ne reconnaissait personne.
     À 21/9 la tranche fait 32 % de la hauteur. Le point de visée a été
     cherché à l'œil : 30 % montrait le haut du crâne, 60 % une blouse sans
     personne, 45 % cadre le visage et le masque — c'est-à-dire un praticien
     au travail. Une bande trop large ne montre plus rien. */
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 45%;
}

.v-fiche__legende {
  display: flex;
  align-items: center;
  gap: var(--pas-3);
  padding: var(--pas-3) clamp(var(--pas-4), 4vw, var(--pas-6));
  border-top: var(--trait) solid var(--bord);
}

.v-fiche__vignette {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: var(--trait) solid var(--bord);
  border-radius: var(--rayon);
}

.v-fiche__vignette img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.v-fiche__legende-texte {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.v-fiche__legende-texte strong {
  font-size: var(--t-corps);
  color: var(--v-ink);
}

.v-fiche__legende-texte span {
  font-size: var(--t-annot);
  color: var(--v-muted);
}

@media (max-width: 767.98px) {
  .v-fiche__titre { max-width: none; }

  .v-fiche__gestes { align-items: stretch; flex-direction: column; }
  .v-fiche__gestes .vitrine-btn { justify-content: center; }
  .v-fiche__lien { justify-content: flex-start; }

  .v-fiche__bande { grid-template-columns: 1fr; }
  .v-fiche__cellule { border-inline-start: 0; border-top: var(--trait) solid var(--bord); }
  .v-fiche__cellule:first-child { border-top: 0; }

  /* En portrait, une bande de 48/13 ne montre plus personne. */
  .v-fiche__photo { aspect-ratio: 3 / 2; }
}
