/* =========================================================
   Modèle « Cocon » — doux et enveloppant
   (sage-femme, doula, périnatalité, accompagnement des familles)
   Fraunces (axe SOFT à 100) + Nunito ; sable, encre brune, terracotta,
   rose poudré, bleu tendre ; formes qui respirent autour du portrait,
   petit mobile de bébé, cartes qui rebondissent, rubriques arrondies.
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  /* Couleur principale (modifiable depuis l'espace client) */
  --accent: #B4553B;

  /* Palette fixe du modèle */
  --sable: #F6EEE3;          /* fond de page */
  --blanc: #FFFFFF;          /* feuilles blanches (approche, prestations, cabinet…) */
  --creme: #FBF3EA;          /* cartes posées sur une feuille blanche */
  --encre: #3A2A24;          /* texte courant, titres (11.9:1 sur sable) */
  --texte-doux: #5C4A42;     /* texte secondaire (7.3:1 sur sable) */
  --meta: #6E5A50;           /* petites mentions (5.6:1 sur sable, 6.5:1 sur blanc) */
  --filet: #F0DCCF;
  --blush: #EFC9B8;          /* formes, bulles (décor) */
  --rose-pale: #FBE3D8;      /* pastilles et panneaux avec du texte */
  --bleu: #A9C2D3;
  --bleu-pale: #CFDDE7;
  --bleu-fonce: #3E5C70;
  --miel: #F2B544;
  --miel-pale: #F8DFA6;
  --miel-fonce: #7A5A12;

  /* Couleurs dérivées de --accent (repli si la syntaxe relative n'est pas reconnue) */
  --accent-texte: color-mix(in srgb, var(--accent) 80%, var(--encre));   /* accent lisible en petit texte */
  --accent-encre: #FFFFFF;                                             /* texte posé sur l'accent */
  --accent-survol: color-mix(in srgb, var(--accent) 85%, var(--encre));
  --accent-titre: var(--accent);                                       /* fin du titre du hero (grand texte) */

  /* Rôles des couleurs (reliés aux jetons --p-* dans :root[data-couleurs]) */
  --titre: var(--encre);
  --sur-accent: var(--accent-encre);
  --portrait-1: #FFF8F1;
  --portrait-2: #F3D9CB;
  --initiales: var(--accent-texte);
  --fil: var(--meta);
  --ombre-douce: rgba(58, 42, 36, .16);
  --danger: #A3243B;         /* erreurs : 6.4:1 sur sable, 7.3:1 sur blanc */
  --champ-bord: #8F7B71;     /* bord des champs : 4:1 sur blanc, 3.5:1 sur sable */

  /* Illustrations de la galerie (en attendant les photos) */
  --gi-mur: #F3E2D3;
  --gi-sol: #E9CDB9;
  --gi-blanc: #FFFFFF;
  --gi-ciel: #CFDDE7;
  --gi-bord: #8C6F62;
  --gi-bleu: #A9C2D3;
  --gi-rose: #EFC9B8;
  --gi-rose-ombre: #E2B09B;
  --gi-rose-pale: #FBE3D8;
  --gi-miel: #F2B544;
  --gi-feuille: #8FAE8B;

  /* Plan d'accès */
  --plan-fond: #F3E6D8;
  --plan-route: #FFFFFF;
  --plan-bati: #EAD5C4;
  --plan-vert: #D3DFC6;
  --plan-eau: #B9CEDB;
  --plan-trait: var(--meta);
  --plan-clair: #FFFFFF;
  --plan-repere-centre: #FFFFFF;

  /* Typographie */
  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --poids-titre: 600;
  --variation-titre: "SOFT" 100;   /* Fraunces toute en rondeur */

  /* Mise en page */
  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 96px);
  --rayon-feuille: clamp(32px, 5vw, 48px);
  --rayon-panneau: clamp(28px, 4vw, 40px);
  --rayon-carte: 28px;
  --rebond: cubic-bezier(.3, 1.6, .5, 1);
}

/* Accent foncé et encre du bouton calculés depuis --accent :
   restent lisibles quelle que soit la couleur choisie */
@supports (color: oklch(from red l c h)) {
  :root {
    --accent-texte: oklch(from var(--accent) min(l, 0.5) c h);
    --accent-encre: oklch(from var(--accent) clamp(0.22, (0.62 - l) * 999, 1) 0 h);
  }
}

/* ---------- Personnalisation (assets/js/theme.js) ----------
   Couleurs choisies par le thérapeute : theme.js pose data-couleurs="clair|sombre"
   sur <html> et calcule les jetons --p-* (contrastes vérifiés). Chaque couleur du
   modèle est reliée au jeton qui correspond à son rôle. Les teintes de décor (formes,
   bulles, mobile) sont mêlées au fond : elles ne portent jamais de texte.
   Sans cet attribut, le modèle garde exactement ses couleurs d'origine. */
:root[data-couleurs] {
  --accent: var(--p-accent);
  --sable: var(--p-fond);
  --blanc: var(--p-surface);
  --creme: color-mix(in oklab, var(--p-fond) 55%, var(--p-bande));
  --encre: var(--p-texte);
  --texte-doux: var(--p-texte-doux);
  --meta: var(--p-texte-doux);
  --filet: var(--p-ligne);
  --rose-pale: var(--p-bande);
  --blush: color-mix(in oklab, var(--p-accent) 26%, var(--p-fond));
  --bleu: color-mix(in oklab, #8FB0C8 34%, var(--p-fond));
  --bleu-pale: color-mix(in oklab, #8FB0C8 36%, var(--p-surface));
  --bleu-fonce: var(--p-texte);
  --miel: color-mix(in oklab, #F2B544 70%, var(--p-fond));
  --miel-pale: color-mix(in oklab, #F2B544 26%, var(--p-surface));
  --miel-fonce: var(--p-texte);

  --accent-texte: var(--p-accent-texte);
  --accent-encre: var(--p-accent-ink);
  --accent-survol: var(--p-accent-fonce);
  --accent-titre: var(--p-accent-texte);

  --titre: var(--p-texte);
  --portrait-1: var(--p-surface);
  --portrait-2: var(--p-bande);
  --initiales: var(--p-accent-texte);
  --fil: var(--p-texte-doux);
  --ombre-douce: color-mix(in srgb, var(--p-fonce) 24%, transparent);
  --danger: var(--p-danger);
  --champ-bord: color-mix(in srgb, var(--p-texte-doux) 80%, var(--p-surface));

  --gi-mur: var(--p-bande);
  --gi-sol: color-mix(in oklab, var(--p-bande) 70%, var(--p-accent) 30%);
  --gi-blanc: var(--p-surface);
  --gi-ciel: color-mix(in oklab, #8FB0C8 30%, var(--p-surface));
  --gi-bord: var(--p-texte-doux);
  --gi-bleu: color-mix(in oklab, #8FB0C8 50%, var(--p-bande));
  --gi-rose: color-mix(in oklab, var(--p-accent) 32%, var(--p-surface));
  --gi-rose-ombre: color-mix(in oklab, var(--p-accent) 48%, var(--p-surface));
  --gi-rose-pale: color-mix(in oklab, var(--p-accent) 14%, var(--p-surface));
  --gi-miel: color-mix(in oklab, #F2B544 70%, var(--p-surface));
  --gi-feuille: color-mix(in oklab, #7FA37A 70%, var(--p-texte) 10%);

  --plan-fond: var(--p-bande);
  --plan-route: var(--p-surface);
  --plan-bati: color-mix(in oklab, var(--p-bande) 86%, var(--p-texte));
  --plan-vert: color-mix(in oklab, #8FAE6B 40%, var(--p-bande));
  --plan-eau: color-mix(in oklab, #7FAFC4 50%, var(--p-bande));
  --plan-trait: var(--p-texte);
  --plan-clair: var(--p-fond);
  --plan-repere-centre: var(--p-accent-ink);
}
/* Ambiances sombres : ombres plus profondes, cartes et plan bordés, décor un peu éteint */
:root[data-couleurs="sombre"] {
  color-scheme: dark;
  --ombre-douce: rgb(0 0 0 / .45);
  --blush: color-mix(in oklab, var(--p-accent) 30%, var(--p-surface));
  --bleu: color-mix(in oklab, #8FB0C8 30%, var(--p-surface));
  --gi-mur: color-mix(in oklab, var(--p-surface) 70%, var(--p-sur-fonce) 30%);
  --gi-blanc: color-mix(in oklab, var(--p-sur-fonce) 82%, var(--p-surface));
  --plan-route: color-mix(in oklab, var(--p-bande) 76%, var(--p-texte));
  --plan-bati: color-mix(in oklab, var(--p-bande) 55%, var(--p-fonce));
}
:root[data-couleurs="sombre"] :is(.contact-formulaire, .rdv-widget, .plan, .seances-panneau, .bons-panneau, .faq details) {
  outline: 1px solid var(--p-ligne);
  outline-offset: -1px;
}

/* Police choisie par le thérapeute (titres + texte) */
:root[data-police] {
  --f-titre: var(--p-police-titres);
  --f-texte: var(--p-police-texte);
  --poids-titre: var(--p-poids-titres);
  --variation-titre: normal;
  font-synthesis-weight: none;             /* pas de faux gras */
}
:root[data-police] :is(h1, h2) { letter-spacing: 0; }

/* Texte agrandi */
:root[data-taille="grande"] { font-size: 112.5%; }
:root[data-taille="grande"] .bouton { max-width: 100%; white-space: normal; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--sable);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  color: var(--titre);
}
h2 {
  font-size: clamp(2.125rem, 4.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-texte); }
a:hover { color: var(--encre); }
:focus-visible {
  outline: 3px solid var(--accent-texte);
  outline-offset: 3px;
  border-radius: 6px;
}

.conteneur {
  width: 100%;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.lien-evitement {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--blanc);
  color: var(--encre);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
}
.lien-evitement:focus { top: 12px; }

.sr-texte {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Boutons ---------- */
.bouton,
.rdv-widget .agenda-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-encre);
  font-family: var(--f-texte);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, translate .35s var(--rebond), box-shadow .3s ease;
}
.bouton:hover,
.rdv-widget .agenda-bouton:hover {
  background: var(--accent-survol);
  color: var(--accent-encre);
  translate: 0 -2px;
  box-shadow: 0 12px 24px -14px var(--ombre-douce);
}
.bouton:active { translate: 0 1px; }
.bouton-clair { background: var(--blanc); color: var(--encre); }
.bouton-clair:hover { background: var(--blanc); color: var(--accent-texte); }
.bouton-petit { min-height: 44px; padding: 10px 22px; font-size: .9375rem; }
.bouton .court { display: none; }

/* ---------- Message important (rubrique en plus) ---------- */
.module-bandeau {
  background: var(--accent);
  color: var(--sur-accent);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.45;
}
.module-bandeau p {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding-block: 10px;
}
.module-bandeau svg { width: 17px; height: 17px; flex: none; margin-top: .14em; }
.module-bandeau span { min-width: 0; overflow-wrap: break-word; }

/* ---------- En-tête ---------- */
.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-block: 18px;
}
.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--encre);
  text-decoration: none;
}
.marque:hover { color: var(--encre); }
.marque-pastille {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--blush);
  color: var(--accent-texte);
}
.marque-pastille svg { width: 24px; height: 24px; }
.marque-textes { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.marque-nom {
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: 1.3125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.marque-metier {
  font-size: .8125rem;
  color: var(--meta);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(16px, 2.2vw, 26px); margin: 0; padding: 0; list-style: none; }
.nav a {
  color: var(--encre);
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  transition: background-size .3s ease;
}
.nav a:hover { background-size: 100% 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(20px, 4vw, 48px) clamp(72px, 9vw, 104px);
}
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-texte { flex: 1 1 480px; min-width: 0; position: relative; z-index: 1; }
.hero-pastille {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--rose-pale);
  color: var(--accent-texte);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.35;
}
.hero-titre {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  overflow-wrap: break-word;               /* filet de sécurité si le script d'ajustement ne tourne pas */
}
.hero-titre[data-longueur="moyen"] { font-size: clamp(2.375rem, 5.4vw, 4.125rem); line-height: 1.05; }
.hero-titre[data-longueur="long"] { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.1; }
.hero-titre.mesure { overflow-wrap: normal; }
.accent-mot { color: var(--accent-titre); }
/* sans accroche, le titre montre le nom */
.hero-nom-repli { display: none; }
.hero-accroche:empty + .hero-nom-repli,
.hero-titre > .hero-nom-repli:first-child { display: inline; }
.hero-intro { margin: 26px 0 0; font-size: 1.1875rem; max-width: 32em; color: var(--texte-doux); }
.hero-boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-faits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: .875rem;
  font-weight: 700;
  color: var(--texte-doux);
}
.hero-faits li { display: inline-flex; align-items: center; gap: 8px; }
.hero-faits svg { width: 18px; height: 18px; flex: none; }

/* Portrait dans des formes qui respirent, mobile de bébé */
.hero-visuel { flex: 1 1 400px; display: flex; justify-content: center; min-width: 0; }
.nid {
  position: relative;
  width: min(440px, 84vw);
  aspect-ratio: 1;
  animation: c-eclot 1.2s cubic-bezier(.2, .8, .2, 1) .15s both;
}
.forme {
  position: absolute;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  animation: c-forme 14s ease-in-out infinite;
}
.forme-1 { inset: 4%; background: var(--blush); }
.forme-2 { inset: 14% 2% 2% 18%; background: var(--bleu); opacity: .55; animation-duration: 18s; animation-direction: reverse; }
.portrait {
  inset: 14%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--portrait-1), var(--portrait-2));
}
.portrait-initiales {
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: clamp(4rem, 9vw, 5.75rem);
  line-height: 1;
  color: var(--initiales);
}
.portrait.has-photo .portrait-initiales { display: none; }

.mobile {
  position: absolute;
  top: -6%;
  right: 4%;
  z-index: 2;
  width: 120px;
  height: 150px;
  transform-origin: 50% 0;
  animation: c-berce 6s ease-in-out infinite;
}
.mobile span { position: absolute; display: block; }
.mobile-fil, .mobile-barre { background: var(--fil); }
.mobile-fil-haut { left: 59px; top: 0; width: 2px; height: 40px; }
.mobile-barre { left: 10px; top: 40px; width: 100px; height: 2px; border-radius: 2px; }
.mobile-fil-g { left: 10px; top: 40px; width: 2px; height: 46px; }
.mobile-fil-d { left: 108px; top: 40px; width: 2px; height: 30px; }
.mobile-fil-m { left: 59px; top: 40px; width: 2px; height: 64px; }
.mobile-rond { left: 1px; top: 84px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); }
.mobile-losange { left: 100px; top: 68px; width: 18px; height: 18px; border-radius: 4px; rotate: 45deg; background: var(--bleu); }
.mobile-goutte { left: 47px; top: 102px; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--miel); }
.flotte { animation: c-flotte 5s ease-in-out infinite; }
.flotte-2 { animation: c-flotte 6.5s ease-in-out 1s infinite; }

/* Petites formes de décor qui flottent (et glissent un peu au défilement : data-parallaxe) */
.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  animation: c-forme 16s ease-in-out infinite;
}
.deco-approche { right: -70px; top: 60px; width: 190px; height: 170px; background: var(--rose-pale); animation-duration: 20s; }
.deco-seances { right: 6%; top: -40px; width: 110px; height: 100px; background: var(--miel-pale); opacity: .8; animation-direction: reverse; }
.deco-rdv { left: -80px; top: 20%; width: 200px; height: 180px; background: var(--blush); opacity: .45; animation-duration: 22s; }

@keyframes c-forme {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; }
  33% { border-radius: 42% 58% 38% 62% / 60% 40% 60% 40%; }
  66% { border-radius: 52% 48% 62% 38% / 42% 55% 45% 58%; }
}
@keyframes c-berce { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes c-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes c-apparait { from { opacity: 0; transform: scale(.96) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes c-eclot { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
.apparait { animation: c-apparait 1s cubic-bezier(.2, .7, .2, 1) both; }
.apparait-2 { animation: c-apparait 1s cubic-bezier(.2, .7, .2, 1) .2s both; }

/* ---------- Feuilles blanches et sable ----------
   Les rubriques blanches se suivent comme une seule feuille posée sur le sable ;
   la première de chaque groupe a les coins du haut arrondis (classe « arrondi », PHP). */
.feuille { position: relative; background: var(--blanc); padding-bottom: var(--section); overflow-x: clip; }
.feuille.arrondi { padding-top: var(--section); border-radius: var(--rayon-feuille) var(--rayon-feuille) 0 0; overflow: clip; }
.sol { position: relative; background: var(--sable); padding-block: var(--section); overflow-x: clip; }
.sol + .sol { padding-top: 0; }
.feuille > .conteneur, .sol > .conteneur { position: relative; z-index: 1; }

.surtitre { margin: 0 0 12px; font-size: .875rem; font-weight: 800; letter-spacing: .02em; color: var(--accent-texte); }

/* ---------- Approche : chaque paragraphe devient une carte ---------- */
.approche h2 { max-width: 18em; margin-bottom: clamp(28px, 4vw, 40px); }
.approche-texte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}
.approche-texte p {
  --bulle: var(--blush);
  --icone-couleur: var(--accent-texte);
  --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M6 21v-2a6 6 0 0 1 12 0v2'/%3E%3C/svg%3E");
  position: relative;
  margin: 0;
  padding: 98px 30px 30px;
  border-radius: 32px;
  background: var(--creme);
  color: var(--texte-doux);
  font-size: 1.0625rem;
  transition: translate .4s var(--rebond), rotate .4s var(--rebond);
}
.approche-texte p::before {                /* bulle de couleur */
  content: "";
  position: absolute;
  left: 30px;
  top: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bulle);
}
.approche-texte p::after {                 /* pictogramme */
  content: "";
  position: absolute;
  left: 43px;
  top: 43px;
  width: 26px;
  height: 26px;
  background: var(--icone-couleur);
  -webkit-mask: var(--icone) center / contain no-repeat;
          mask: var(--icone) center / contain no-repeat;
}
.approche-texte p:nth-child(3n+2) {
  --bulle: var(--bleu-pale);
  --icone-couleur: var(--bleu-fonce);
  --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}
.approche-texte p:nth-child(3n) {
  --bulle: var(--miel-pale);
  --icone-couleur: var(--miel-fonce);
  --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E");
}
.approche-texte p:hover { translate: 0 -6px; rotate: -.6deg; }
/* un seul paragraphe : une grande carte, pictogramme à gauche */
.approche-texte p:only-child { padding: 30px 34px 30px 112px; font-size: 1.1875rem; min-height: 112px; }
.approche-texte p:only-child::before { left: 34px; }
.approche-texte p:only-child::after { left: 47px; }

.agrements { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--rose-pale);
  color: var(--encre);
  font-weight: 800;
  font-size: .9375rem;
}
.badge svg { width: 22px; height: 22px; flex: none; color: var(--accent-texte); }
.agrements-note { margin: 0; font-size: .9375rem; color: var(--texte-doux); }
/* sans aucun agrément affiché, la phrase sur les assurances disparaît aussi */
.agrements:not(:has(.badge:not([hidden]))) { display: none; }

/* ---------- Parcours (rubrique en plus) ---------- */
.parcours-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px clamp(32px, 5vw, 72px);
  align-items: start;
}
.parcours-texte h2 { margin-bottom: 20px; }
.parcours-intro { font-size: 1.125rem; color: var(--texte-doux); max-width: 46ch; }
.parcours-faits { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.parcours-faits li { flex: 1 1 12rem; padding: 18px 22px; border-radius: 24px; background: var(--rose-pale); }
.fait-titre {
  display: block;
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: 1.3125rem;
  line-height: 1.2;
  color: var(--titre);
}
.fait-detail { display: block; margin-top: 4px; font-size: .9375rem; line-height: 1.45; color: var(--texte-doux); }
.parcours-liste { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.parcours-liste li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 24px;
  background: var(--creme);
}
.parcours-liste [data-k="annee"] {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  min-width: 4.4rem;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--rose-pale);
  color: var(--accent-texte);
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
}
.parcours-liste [data-k="titre"] {
  grid-column: 2;
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--titre);
}
.parcours-liste [data-k="ecole"] { grid-column: 2; font-size: .9375rem; color: var(--texte-doux); }

/* ---------- Prestations et tarifs ---------- */
.seances-panneau {
  position: relative;
  overflow: clip;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--rayon-panneau);
  background: var(--sable);
}
.seances-panneau > :not(.deco) { position: relative; z-index: 1; }
.seances h2 { margin-bottom: 10px; }
.seances-conditions { margin: 0; max-width: 62ch; color: var(--texte-doux); }
.seances-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  margin-top: 30px;
}
.seance {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border-radius: var(--rayon-carte);
  background: var(--blanc);
  transition: translate .4s var(--rebond), rotate .4s var(--rebond), box-shadow .4s ease;
}
.seance:hover { translate: 0 -8px; rotate: -1deg; box-shadow: 0 22px 40px -30px var(--ombre-douce); }
.seance-duree { margin: 0; font-size: .875rem; font-weight: 700; color: var(--meta); }
.seance-nom { margin: 6px 0 10px; font-size: 1.5rem; line-height: 1.2; overflow-wrap: break-word; }
.seance-desc { margin: 0; font-size: .9375rem; color: var(--texte-doux); }
.seance-prix { margin: auto 0 0; padding-top: 16px; font-weight: 800; font-size: 1.1875rem; color: var(--encre); font-variant-numeric: tabular-nums; }
.seance :is(.seance-duree, .seance-prix):empty { display: none; }
/* une carte sur trois en couleur d'accent, comme la maquette */
.seance:nth-child(3n) { background: var(--accent); }
.seance:nth-child(3n) :is(.seance-duree, .seance-nom, .seance-desc, .seance-prix) { color: var(--sur-accent); }

/* ---------- Remboursement (rubrique en plus) ---------- */
.remb-tete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 48px;
  align-items: baseline;
}
.remb-tete h2 { font-size: clamp(2rem, 3.8vw, 3rem); }   /* « Remboursement » tient sur sa ligne, même en grande taille */
.remb-intro > p { font-size: 1.125rem; color: var(--texte-doux); max-width: 48ch; }
.remb-intro .badges { margin-top: 16px; }
.remb-intro .badges:not(:has(.badge:not([hidden]))) { display: none; }
.remb-etapes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.remb-etapes li {
  counter-increment: etape;
  padding: 26px;
  border-radius: var(--rayon-carte);
  background: var(--creme);
  transition: translate .4s var(--rebond);
}
.remb-etapes li:hover { translate: 0 -6px; }
.remb-etapes li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--accent-texte);
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: 1.375rem;
  line-height: 1;
}
.remb-etapes h3 { font-size: 1.3125rem; line-height: 1.25; margin-bottom: 6px; }
.remb-etapes p { margin: 0; color: var(--texte-doux); font-size: .9375rem; }
.remb-note { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; font-size: .9375rem; color: var(--texte-doux); }
.remb-note svg { width: 18px; height: 18px; flex: none; margin-top: .15em; }

/* ---------- Rendez-vous ---------- */
.rdv-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 44px; }
.rdv-intro { flex: 1 1 340px; min-width: 0; }
.rdv-intro h2 { margin-bottom: 16px; line-height: 1.05; }
.rdv-intro p { max-width: 38ch; margin-bottom: 22px; font-size: 1.0625rem; color: var(--texte-doux); }
.bouton-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--encre);
  font-weight: 800;
  text-decoration: none;
  transition: translate .35s var(--rebond), color .2s ease;
}
.bouton-tel:hover { color: var(--accent-texte); translate: 0 -2px; }
.bouton-tel svg { width: 20px; height: 20px; flex: none; color: var(--accent-texte); }
.rdv-widget {
  flex: 1 1 480px;
  min-width: 0;
  padding: clamp(16px, 2.6vw, 28px);
  border-radius: 36px;
  background: var(--blanc);
  box-shadow: 0 30px 60px -44px var(--ombre-douce);
}
.rdv-widget .agi { border-color: transparent; box-shadow: none; padding: 4px; }
.rdv-widget-bouton, .rdv-sans-agenda .rdv-widget { padding: clamp(24px, 3.4vw, 36px); }
.rdv-carte-titre {
  margin-bottom: 8px;
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--titre);
}
.rdv-carte-texte { color: var(--texte-doux); margin-bottom: 22px; }
.rdv-sans-agenda .contact-liens + .bouton { margin-top: 28px; }

/* ---------- Bons cadeaux (rubrique en plus) ---------- */
.bons-panneau {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--rayon-panneau);
  background: var(--rose-pale);
  overflow: clip;
}
.bons h2 { margin-bottom: 16px; }
.bons-texte > p { max-width: 40ch; margin-bottom: 28px; font-size: 1.0625rem; color: var(--texte-doux); }
.bons-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
/* « Acheter un bon en ligne » (lien de paiement du thérapeute) en premier ; la commande devient le bouton clair */
.bons-boutons [data-bons-lien]:not([hidden]) + .bouton-commande { background: var(--blanc); color: var(--encre); }
.bons-visuel { position: relative; width: 100%; max-width: 420px; margin: 20px auto; }
.bons-visuel::before {                     /* second bon, posé dessous */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--rayon-carte);
  background: var(--blush);
  rotate: 4deg;
}
.bon {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 30px 110px 26px 32px;
  border-radius: var(--rayon-carte);
  background: var(--blanc);
  rotate: -3deg;
  box-shadow: 0 30px 50px -34px var(--ombre-douce);
  transition: rotate .5s var(--rebond);
}
.bons-visuel:hover .bon { rotate: -1deg; }
.bon-ruban { position: absolute; top: 0; bottom: 0; right: 58px; width: 18px; background: var(--accent); }
.bon-noeud { position: absolute; top: -16px; right: 30px; width: 74px; fill: var(--accent); }
.bon-noeud circle { fill: var(--accent-texte); }
.bon-etiquette { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-texte); }
.bon-nom {
  margin-top: 10px;
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  line-height: 1.08;
  color: var(--titre);
  overflow-wrap: anywhere;
}
.bon-seance { margin-top: 8px; color: var(--texte-doux); line-height: 1.4; }
.bon-pour { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 22px; font-size: .85rem; color: var(--meta); }
.bon-pour::after { content: ""; flex: 1; border-bottom: 2px dotted var(--filet); }
.bon-validite { margin-top: 10px; font-size: .875rem; color: var(--meta); }

/* ---------- Cabinet : où me trouver ---------- */
.cabinet h2 { margin-bottom: clamp(24px, 3vw, 32px); }
/* adresse et accès | horaires | plan */
.cabinet-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 36px clamp(32px, 4vw, 56px);
  align-items: start;
}
.infos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(24px, 3vw, 40px);
  align-content: start;
}
.info-horaires { grid-column: 2; grid-row: 1 / span 2; }
.info h3 {
  margin-bottom: 12px;
  font-family: var(--f-texte);
  font-variation-settings: normal;
  font-weight: 800;
  font-size: 1.0625rem;
}
.info p, .info ul { margin: 0; color: var(--texte-doux); font-size: 1.0625rem; }
.info .info-note { margin-top: 12px; font-size: .9375rem; color: var(--meta); }
.info ul { padding: 0; list-style: none; }
.horaires { max-width: 22rem; font-variant-numeric: tabular-nums; }
.horaires li { display: flex; align-items: baseline; gap: 10px; padding-block: 3px; }
.horaires li::before {                     /* points de conduite entre le jour et les heures */
  content: "";
  order: 1;
  flex: 1;
  min-width: 16px;
  border-bottom: 2px dotted var(--filet);
  transform: translateY(-.3em);
}
.horaires [data-k="jour"] { order: 0; font-weight: 700; color: var(--encre); }
.horaires [data-k="heures"] { order: 2; text-align: right; }
.horaires .ferme [data-k="jour"], .horaires .ferme [data-k="heures"] { color: var(--meta); font-weight: 400; }
.acces li { display: flex; align-items: flex-start; gap: 12px; }
.acces li + li { margin-top: 12px; }
.acces svg { width: 22px; height: 22px; flex: none; margin-top: .12em; color: var(--accent-texte); }
.plan {
  aspect-ratio: 480 / 340;
  border-radius: var(--rayon-panneau);
  overflow: hidden;
  background: var(--plan-fond);
}
.plan svg { width: 100%; height: 100%; }
.plan-fond { fill: var(--plan-fond); }
.plan-route { fill: none; stroke: var(--plan-route); stroke-linecap: round; }
.plan-rail { fill: none; stroke: var(--plan-trait); }
.plan-chemin { fill: none; stroke: var(--plan-trait); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .5 9; }
.plan-sombre { fill: var(--plan-trait); }
.plan-vert { fill: var(--plan-vert); }
.plan-eau { fill: none; stroke: var(--plan-eau); stroke-width: 7; stroke-linecap: round; }
.plan-bati { fill: var(--plan-bati); }
.plan-clair { fill: var(--plan-clair); }
.plan-trait-clair { fill: none; stroke: var(--plan-clair); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.plan-ombre { fill: var(--encre); opacity: .18; }
.plan-repere { fill: var(--accent); }
.plan-repere-centre { fill: var(--plan-repere-centre); }
.plan-lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 10px;
  font-weight: 800;
  color: var(--encre);
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.plan-lien:hover { color: var(--accent-texte); }
.plan-lien svg { width: 16px; height: 16px; flex: none; }

/* ---------- Galerie (rubrique en plus) ---------- */
.images h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.galerie {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.galerie li { min-width: 0; }
.galerie li:nth-child(even) { margin-top: 36px; }
.galerie figure { margin: 0; }
.galerie-photo {
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--rayon-carte);
  background: var(--gi-mur);
  transition: translate .45s var(--rebond), border-radius .6s ease;
}
.galerie li:nth-child(odd) .galerie-photo { border-radius: 50% 50% var(--rayon-carte) var(--rayon-carte) / 40% 40% var(--rayon-carte) var(--rayon-carte); }   /* en arche */
.galerie li:hover .galerie-photo { translate: 0 -6px; }
.galerie-photo svg { width: 100%; height: 100%; }
.galerie-photo img { width: 100%; height: 100%; object-fit: cover; }
.galerie-photo.has-photo svg { display: none; }       /* une vraie photo remplace l'illustration */
.galerie figcaption { margin-top: 12px; font-weight: 700; font-size: .9375rem; color: var(--texte-doux); text-align: center; }
.gi-mur { fill: var(--gi-mur); }
.gi-sol { fill: var(--gi-sol); }
.gi-blanc { fill: var(--gi-blanc); }
.gi-ciel { fill: var(--gi-ciel); }
.gi-bord { fill: var(--gi-bord); }
.gi-bleu { fill: var(--gi-bleu); }
.gi-bleu-clair { fill: var(--gi-ciel); }
.gi-rose { fill: var(--gi-rose); }
.gi-rose-ombre { fill: var(--gi-rose-ombre); }
.gi-rose-pale { fill: var(--gi-rose-pale); }
.gi-accent { fill: var(--accent); }
.gi-accent-fonce { fill: color-mix(in srgb, var(--accent) 78%, var(--encre)); }
.gi-miel { fill: var(--gi-miel); }
.gi-feuille { fill: var(--gi-feuille); }
.gi-pot { fill: color-mix(in srgb, var(--accent) 70%, var(--gi-blanc)); }

/* ---------- Questions fréquentes ---------- */
.questions-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px 56px;
  align-items: start;
}
.questions-tete p { margin-top: 16px; color: var(--texte-doux); max-width: 34ch; }
.questions-tete a { font-weight: 700; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 24px; background: var(--creme); transition: background-color .2s ease; }
.faq details[open] { background: var(--rose-pale); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 24px;
  border-radius: 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: 1.1875rem;
  line-height: 1.3;
  color: var(--titre);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {                      /* « + » qui tourne à l'ouverture */
  content: "";
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    linear-gradient(var(--accent-texte), var(--accent-texte)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--accent-texte), var(--accent-texte)) center / 2.5px 14px no-repeat,
    var(--blanc);
  transition: rotate .4s var(--rebond);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq-reponse { padding: 0 24px 22px; color: var(--texte-doux); }
/* aperçu sans aucune question : la rubrique attend la première */
.questions:not(:has(.faq [data-item]:not([hidden]))) { display: none; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 56px;
  align-items: start;
}
.contact h2 { margin-bottom: 16px; }
.contact-corps > p { margin-bottom: 24px; color: var(--texte-doux); }
.contact-liens { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.contact-liens span { display: block; margin-bottom: 2px; font-size: .875rem; font-weight: 700; color: var(--meta); }
.contact-liens a {
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.25;
  color: var(--encre);
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.contact-liens a:hover { color: var(--accent-texte); }

/* ---------- Formulaire de contact ---------- */
.contact-formulaire {
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: 32px;
  background: var(--blanc);
  box-shadow: 0 30px 60px -44px var(--ombre-douce);
}
.fc-intro {
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.25;
  color: var(--titre);
  text-wrap: balance;
}
.contact-formulaire > .fc-intro { margin-bottom: 22px; }
.form-contact { display: grid; align-items: start; gap: 20px; }
@media (min-width: 1081px), (min-width: 560px) and (max-width: 860px) {
  .form-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .form-contact > * { grid-column: 1 / -1; }
  .form-contact > .fc-champ:has(#fc-email),
  .form-contact > .fc-champ:has(#fc-tel) { grid-column: auto; }
}
.fc-champ { display: grid; gap: 6px; }
.fc-champ label { font-weight: 700; font-size: .9375rem; color: var(--encre); }
.fc-champ label span { font-weight: 400; color: var(--meta); }
.form-contact input:not([type="checkbox"]),
.form-contact textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid var(--champ-bord);
  border-radius: 16px;
  background: var(--sable);
  color: var(--encre);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color .2s ease, background-color .2s ease;
}
.form-contact textarea { resize: vertical; min-height: 132px; }
.form-contact input:not([type="checkbox"]):hover,
.form-contact textarea:hover { border-color: var(--encre); }
.form-contact input:not([type="checkbox"]):focus-visible,
.form-contact textarea:focus-visible {
  outline: 3px solid var(--accent-texte);
  outline-offset: 2px;
  border-color: var(--encre);
  background: var(--blanc);
}
.form-contact [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.fc-erreur { margin: 0; font-size: .9rem; font-weight: 700; line-height: 1.4; color: var(--danger); }
.form-contact > .fc-erreur { margin-top: -12px; padding-left: 32px; }
.fc-case {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-size: .9375rem;
  line-height: 1.5;
  cursor: pointer;
}
.fc-case input { width: 20px; height: 20px; margin: .12em 0 0; accent-color: var(--accent-texte); cursor: pointer; }
.fc-case a { color: var(--encre); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.form-contact .bouton { justify-self: start; }
.fc-envoye {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--rose-pale);
  color: var(--encre);
  font-weight: 700;
}
.fc-envoye::before {                       /* coche */
  content: "";
  flex: none;
  width: 7px;
  height: 13px;
  margin: .15em 4px 0 6px;
  border: solid var(--accent-texte);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.fc-envoye:focus-visible { outline-color: var(--encre); }

/* ---------- Pied de page ---------- */
.pied {
  padding-block: 28px;
  border-radius: var(--rayon-feuille) var(--rayon-feuille) 0 0;
  background: var(--blanc);
  color: var(--meta);
  font-size: .875rem;
}
.pied-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.pied p { margin: 0; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.pied a { color: var(--accent-texte); text-underline-offset: 3px; }
.pied a:hover { color: var(--encre); }
.pied-credit { width: 100%; font-size: .8rem; }

/* ---------- Pages légales (surimpression) ---------- */
.page-legale { display: none; }
.page-legale:target {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 500;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--sable);
  color: var(--encre);
}
html:has(.page-legale:target) { overflow: hidden; }   /* la page ne défile plus derrière */
.legale-barre { position: sticky; top: 0; z-index: 1; background: var(--blanc); border-bottom: 1px solid var(--filet); }
.legale-barre-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 10px; }
.legale-site {
  min-width: 0;
  font-family: var(--f-titre);
  font-weight: var(--poids-titre);
  font-variation-settings: var(--variation-titre);
  font-size: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.legale-retour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-encre);
  font-weight: 800;
  font-size: .9375rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.legale-retour:hover { background: var(--accent-survol); color: var(--accent-encre); }
.legale-retour svg { width: 16px; height: 16px; flex: none; }
.legale-corps {
  max-width: calc(70ch + 2 * var(--gouttiere));
  margin-inline: auto;
  padding: clamp(40px, 7vw, 88px) var(--gouttiere) clamp(56px, 8vw, 104px);
}
.legale-corps h2 { margin-bottom: clamp(20px, 3vw, 32px); }
.legale-chapeau { font-size: clamp(1.1rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--texte-doux); }
.legale-corps h3 { margin: 2.2em 0 .5em; font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.2; }
.legale-corps h2 + h3 { margin-top: 0; }
.legale-corps address { font-style: normal; margin-bottom: 1em; }
.legale-corps ul { margin: 0 0 1em; padding-left: 1.2em; }
.legale-corps li::marker { color: var(--accent-texte); }
.legale-corps strong { font-weight: 800; }
.legale-corps a { color: var(--encre); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legale-corps a:hover { color: var(--accent-texte); }
.legale-agrements:not(:has([data-show]:not([hidden]))) { display: none; }
.legale-date { margin-top: 2.5em; padding-top: 16px; border-top: 1px solid var(--filet); font-size: .92rem; color: var(--meta); }

/* ---------- Logo à côté du nom (facultatif) — posé par apercu.js / assets/js/logo.js ----------
   data-logo : logo présent (+ --logo-ratio) ; il remplace la pastille au cœur.
   data-logo-seul : le logo contient déjà le nom (le nom reste dans la page pour Google et les lecteurs d'écran).
   data-logo-pastille + --logo-pastille : fond derrière un logo qui se verrait mal. */
:root { --logo-h: 44px; --logo-max: 180px; }
:root[data-logo] { --logo-w: min(calc(var(--logo-h) * var(--logo-ratio, 1)), var(--logo-max)); }
.logo-site { display: block; flex: none; width: var(--logo-w, auto); height: var(--logo-h); object-fit: contain; object-position: left center; }
:root[data-logo] .marque-pastille { display: none; }
:root[data-logo-seul] { --logo-h: 52px; --logo-max: 220px; }
:root[data-logo-seul] .marque-textes,
.sr-marque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:root[data-logo-pastille] .logo-site { box-sizing: content-box; padding: 5px 9px; border-radius: 12px; background: var(--logo-pastille); }
@media (max-width: 600px) {
  :root { --logo-h: 38px; --logo-max: 34vw; }
  :root[data-logo-seul] { --logo-h: 42px; --logo-max: 52vw; }
}
/* très petit écran : à côté d'un logo, on garde le nom et on retire le métier */
@media (max-width: 420px) {
  :root[data-logo]:not([data-logo-seul]) .marque-metier { display: none; }
}
/* téléphone : un logo très en largeur (plus de 2 fois plus large que haut) s'affiche seul */
@media (max-width: 480px) {
  :root[data-logo-large] { --logo-h: 40px; --logo-max: 52vw; }
  :root[data-logo-large]:not([data-logo-seul]) .marque-textes { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  :root[data-logo] .bouton .long { display: none; }
  :root[data-logo] .bouton .court { display: inline; }
}

/* ---------- Animations au défilement : variante « bulle » propre au modèle ----------
   (assets/js/defilement.js ; voir assets/css/sites/defilement.css pour les autres)
   Une carte arrive en douceur, grossit un peu trop puis se pose : comme une bulle. */
.defilement [data-reveal="bulle"] {
  transform: translateY(30px) scale(.92);
  transition: opacity .8s ease, transform 1.05s cubic-bezier(.34, 1.45, .55, 1), translate .4s var(--rebond), rotate .4s var(--rebond), box-shadow .4s ease;
  transition-delay: calc(var(--rang, 0) * 110ms + var(--delai, 0ms)), calc(var(--rang, 0) * 110ms + var(--delai, 0ms)), 0s, 0s, 0s;
}
/* titres : un léger flou qui se dissipe (défilement.css), un peu plus lent ici */
.defilement h2[data-reveal="flou"] { transition-duration: 1.1s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .parcours-inner, .remb-tete, .questions-inner, .contact-inner, .cabinet-grille { grid-template-columns: minmax(0, 1fr); }
  .plan { aspect-ratio: 16 / 9; }
  .bons-panneau { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .remb-etapes { grid-template-columns: minmax(0, 1fr); }
  .contact-formulaire { max-width: 680px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
}
@media (max-width: 720px) {
  .hero-inner { gap: 28px; }
  .hero-visuel { flex-basis: 100%; }
  .nid { width: min(320px, 80vw); }
  .mobile { scale: .85; transform-origin: 50% 0; right: 0; }
  .plan { aspect-ratio: 4 / 3; }
  .infos { grid-template-columns: minmax(0, 1fr); }
  .info-horaires { grid-column: auto; grid-row: auto; }
  .deco-approche { width: 140px; height: 120px; right: -80px; }
}
@media (max-width: 600px) {
  .marque-metier { display: none; }
  .approche-texte p, .approche-texte p:only-child { padding: 92px 24px 26px; font-size: 1.0625rem; }
  .approche-texte p:only-child::before { left: 24px; }
  .approche-texte p:only-child::after { left: 37px; }
  .approche-texte p::before { left: 24px; top: 26px; }
  .approche-texte p::after { left: 37px; top: 39px; }
  .galerie { gap: 22px 14px; }
  .galerie li:nth-child(even) { margin-top: 24px; }
  .bon { padding-right: 86px; min-height: 220px; }
  .bon-ruban { right: 44px; }
  .bon-noeud { right: 17px; width: 66px; }
  .seance { padding: 24px; }
  .hero-boutons .bouton { flex: 1 1 auto; }
}
@media (max-width: 400px) {
  .bouton-petit .long { display: none; }
  .bouton-petit .court { display: inline; }
  .bouton-petit { padding-inline: 16px; }
  .marque-nom { font-size: 1.125rem; }
  .marque-pastille { width: 36px; height: 36px; }
  .marque-pastille svg { width: 20px; height: 20px; }
  :root[data-taille="grande"] h2 { font-size: 1.85rem; }
  :root[data-taille="grande"] .bouton:not(.bouton-petit) { padding-inline: 20px; }
  .galerie { grid-template-columns: minmax(0, 1fr); }
  .galerie li:nth-child(even) { margin-top: 0; }
  .galerie-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 359px) {
  .legale-site { display: none; }
  .legale-barre-inner { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Impression ---------- */
@media print {
  body { background: #fff; color: #000; }
  .nav, .entete .bouton, .hero-visuel, .deco, .hero-boutons, .rdv-widget, .contact-formulaire, .bouton-tel, .bons-visuel, .plan, .plan-lien, .lien-evitement { display: none !important; }
  .feuille, .sol, .pied, .seances-panneau, .bons-panneau, .approche-texte p, .seance, .faq details, .remb-etapes li, .parcours-liste li { background: #fff !important; color: #000 !important; border-radius: 0; box-shadow: none; }
  .seance:nth-child(3n) :is(.seance-duree, .seance-nom, .seance-desc, .seance-prix) { color: #000; }
  .module-bandeau, .hero-pastille, .badge { background: none !important; color: #000 !important; }
  .approche-texte p { padding: 0 0 1em; }
  .approche-texte p::before, .approche-texte p::after { display: none; }
  .faq details > :not(summary) { display: block; }
  .page-legale:target { position: static; overflow: visible; }
  .legale-barre { display: none; }
  a { color: inherit; }
}

/* =========================================================
   Ajouts de la version PHP (absents de la maquette)
   Cas du site en ligne : agenda derrière un bouton, pas d'agenda,
   rubriques sans contenu (non écrites dans la page).
   ========================================================= */
.rdv-widget-bouton, .rdv-sans-agenda .rdv-widget { align-self: center; }
.rdv-sans-agenda .contact-liens a { font-size: clamp(1.25rem, 2.2vw, 1.625rem); }

/* =========================================================
   Titre du site = l'enseigne du cabinet (1.9.0, <html data-titre-enseigne>) :
   le nom de la personne ouvre la pastille du hero (.hero-sous-titre, data-field="sous-titre",
   caché quand vide, « · » devant le métier) ; mentions légales : ligne « enseigne »
   ========================================================= */
.hero-sous-titre:not(.seul):not([hidden])::after { content: " · "; opacity: .6; }
.hero-pastille { max-width: 100%; box-sizing: border-box; }

/* ==================== 1.12.0 : rubrique « Avis de patients » (début) ====================
   Section « Ce qu'en disent mes patients » (vues/sites/cocon.php, données communes vues/sites/_avis.php).
   Couleurs : variables du modèle (reliées aux jetons --p-* : ambiances claires et sombres). */
/* Liste des avis : ul > li[data-item] (data-en-avant) > figure > blockquote > p[data-k="texte"] + figcaption[data-k="auteur"] */
.avis-liste { list-style: none; margin: 0; padding: 0; }
.avis-item { flex: 1 1 var(--avis-base, 17rem); min-width: 0; }
.avis-carte { margin: 0; height: 100%; }
.avis-texte { margin: 0; }
.avis-texte p { margin: 0; overflow-wrap: break-word; }
.avis-auteur { margin: 0; }
.avis-google { margin: 0; }
.avis-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Cocon : suite de la feuille blanche ; cartes crème toutes rondes avec leur bulle de couleur, comme l'approche */
.avis-tete { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 40px); }
.avis-intro { margin-top: 14px; color: var(--texte-doux); font-size: 1.0625rem; }
.avis-liste { display: flex; flex-wrap: wrap; gap: 22px; --avis-base: 16.5rem; }
.avis-carte { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 92px 28px 28px; border-radius: var(--rayon-carte); background: var(--creme); }
.avis-carte::before { content: "\201C" / ""; position: absolute; top: 26px; left: 26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50% 50% 50% 18%; background: var(--blush); color: var(--accent-texte); font: 700 2.4rem/1 var(--f-titre); padding-top: 18px; }
.avis-item:nth-child(3n+2) .avis-carte::before { background: var(--bleu-pale); color: var(--bleu-fonce); }
.avis-item:nth-child(3n) .avis-carte::before { background: var(--miel-pale); color: var(--miel-fonce); }
.avis-texte p { font-size: 1.0625rem; line-height: 1.6; color: var(--texte-doux); }
.avis-auteur { margin-top: auto; font-family: var(--f-titre); font-variation-settings: var(--variation-titre); font-weight: var(--poids-titre); font-size: 1.15rem; color: var(--encre); }
.avis-item[data-en-avant] { flex-basis: 100%; }
.avis-item[data-en-avant] .avis-carte { background: var(--rose-pale); padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 40px) clamp(28px, 4vw, 40px) clamp(96px, 12vw, 128px); }
.avis-item[data-en-avant] .avis-carte::before { top: clamp(28px, 4vw, 40px); left: clamp(28px, 4vw, 40px); background: var(--blanc); }
.avis-item[data-en-avant] .avis-texte p { color: var(--encre); font-family: var(--f-titre); font-variation-settings: var(--variation-titre); font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); line-height: 1.35; }
.avis-vide { margin: 0; padding: 18px 22px; border: 1.5px dashed var(--filet); border-radius: var(--rayon-carte); color: var(--meta); }
.avis-google { margin-top: 28px; }
.avis-bouton { box-shadow: inset 0 0 0 1.5px var(--encre); }
:root[data-couleurs="sombre"] .avis-carte { border: 1px solid var(--filet); }
@media (max-width: 520px) { .avis-item[data-en-avant] .avis-carte { padding: 92px 24px 26px; } .avis-item[data-en-avant] .avis-carte::before { top: 26px; left: 24px; } }
/* ==================== 1.12.0 : rubrique « Avis de patients » (fin) ==================== */
