/* =========================================================
   Modèle « Souffle » — sophrologie, méditation, relaxation, respiration
   Univers aérien : Instrument Serif pour les titres, Manrope pour le texte,
   fond sable, encre prune, lavande et pêche. Un cercle qui respire
   (« Inspirez… / Expirez… ») et ses ondes, des points qui flottent,
   une phrase soulignée à la main, des cartes qui se soulèvent.
   Animations au défilement : assets/css/sites/defilement.css (+ variantes
   variante « inspire » et fil de la frise en partie 17).
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  /* Palette du modèle */
  --sable: #F7F3EE;         /* fond de page */
  --encre: #2B2A3A;         /* texte, titres, bloc foncé */
  --blanc: #FFFFFF;         /* sections claires, cartes */
  --lavande: #EFE8F7;       /* bande (rendez-vous, bons), pastilles */
  --lilas: #CFC6E8;         /* filets doux, bouton secondaire, points */
  --peche: #F2B49B;         /* soulignement de l'accroche, points */
  --texte: #4A4656;         /* paragraphes */
  --muted: #6B6577;         /* texte secondaire, surtitres (5:1 sur le sable) */
  --line: #E7DFD5;          /* filets */

  /* Couleur principale (modifiable dans l'espace client) */
  --accent: #6A5AA8;
  --accent-ink: #FFFFFF;                                        /* texte posé sur l'accent */
  --accent-texte: color-mix(in oklab, var(--accent) 76%, #000); /* accent en texte ou lien (#4E3F8F env.) */
  --accent-survol: color-mix(in oklab, var(--accent) 84%, #000);
  --accent-sur-fonce: var(--lilas);

  /* Rôles, aux valeurs d'origine (suivent la personnalisation, partie 15) */
  --ink: var(--encre);
  --carte: var(--blanc);
  --fonce: var(--encre);                 /* carte mise en avant, contact */
  --sur-fonce: #F7F3EE;
  --sur-fonce-doux: #CFC6E8;
  --sur-fonce-clair: #E4DDEF;
  --sur-fonce-trait: rgba(247, 243, 238, .16);
  --sur-fonce-trait-fort: rgba(247, 243, 238, .45);
  --sur-fonce-voile: rgba(247, 243, 238, .05);
  --champ-fond: #353446;
  --champ-bord: #7F7A92;
  --champ-bord-survol: #ABA5BE;
  --entete-fond: rgba(247, 243, 238, .95);
  --entete-fond-flou: rgba(247, 243, 238, .86);

  /* Cercle qui respire, portrait */
  --cercle-1: #FFFFFF;
  --cercle-2: #EFE8F7;
  --cercle-3: #D9CFF0;
  --cercle-ombre: rgba(78, 63, 143, .55);
  --photo-haut: #EFE8F7;
  --photo-bas: #F7E1D6;

  /* Typographie */
  --f-titres: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-texte: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --poids-titres: 400;
  --fs-small: .9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.1875rem;
  --fs-h3: 1.875rem;
  --fs-h2: clamp(2.25rem, 1.55rem + 2.4vw, 3.375rem);
  --fs-h1: clamp(3.25rem, 1.7rem + 5.4vw, 6rem);

  /* Mise en page */
  --max: 1132px;
  --gutter: clamp(16px, 4vw, 24px);
  --section: clamp(64px, 9vw, 96px);
  --radius: 28px;
  --radius-sm: 16px;
  --header-h: 76px;
  --ombre: 0 30px 60px -40px rgba(43, 42, 58, .5);
  --ombre-carte: 0 18px 40px -22px rgba(43, 42, 58, .45);
  --ombre-bon: 0 30px 60px -34px rgba(43, 42, 58, .6);
}

/* ---------- 2. 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(--ink);
  font-family: var(--f-texte);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3 { margin: 0; font-family: var(--f-titres); font-weight: var(--poids-titres); line-height: 1.05; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
a { color: var(--accent-texte); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
img, svg { max-width: 100%; }

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

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--fonce); color: var(--sur-fonce); padding: 10px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

main > section { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Surtitres et titres de section */
.surtitre {
  margin: 0 0 12px;
  font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.surtitre-accent { color: var(--accent-texte); }
.titre { font-size: var(--fs-h2); margin-bottom: 22px; text-wrap: balance; }
.titre-moyen { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); margin-bottom: 16px; }
.intro { color: var(--texte); max-width: 46ch; font-size: var(--fs-body); }

/* Points qui flottent (décor) : glissent aussi plus lentement que la page (data-parallaxe) */
.flotte { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.flotte-1 { left: 6%; top: 18%; width: 14px; height: 14px; background: var(--peche); }
.flotte-2 { left: 44%; top: 72%; width: 10px; height: 10px; background: var(--lilas); }
.flotte-3 { right: 8%; top: 12%; width: 8px; height: 8px; background: var(--lilas); }
.flotte-4 { right: 5%; top: 16%; width: 12px; height: 12px; background: var(--peche); }
.flotte-5 { left: 2.5%; top: 34%; width: 10px; height: 10px; background: var(--lilas); }
.flotte-6 { right: 4%; bottom: 16%; width: 16px; height: 16px; background: var(--peche); opacity: .8; }

/* ---------- 3. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border: 1.5px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
}
.btn:hover { background: var(--accent-survol); border-color: var(--accent-survol); color: var(--accent-ink); }
.btn-grand { min-height: 54px; padding: 15px 28px; }
.btn-second { background: transparent; color: var(--ink); border-color: var(--lilas); }
.btn-second:hover { background: var(--blanc); border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: .9375rem; white-space: nowrap; }
.btn .court { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .contact-lien, .rdv-lien, .agenda-bouton { transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .25s; }
}

/* ---------- 4. En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--entete-fond);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header { background: var(--entete-fond-flou); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 24px;
  min-height: var(--header-h); padding-block: 12px;
}
.brand { display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; line-height: 1.15; }
.brand:hover { color: var(--ink); }
.brand-nom { font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: 1.625rem; letter-spacing: -.005em; }
.brand-pro { font-size: .8125rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block; padding: 6px 0;
  color: var(--ink); font-size: .9375rem; font-weight: 500; text-decoration: none;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover { border-bottom-color: var(--accent); color: var(--ink); }

@media (max-width: 900px) {
  .nav { display: none; }
}
@media (max-width: 480px) {
  :root { --header-h: 66px; }
  .brand-nom { font-size: 1.375rem; }
  .brand-pro { display: none; }
  .btn-sm { padding: 8px 16px; }
}
@media (max-width: 360px) {
  .btn .long { display: none; }
  .btn .court { display: inline; }
}

/* ---------- 5. Hero : la phrase et le cercle qui respire ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 48px;
  align-items: center;
  padding-block: clamp(48px, 7vw, 72px) clamp(64px, 9vw, 96px);
}
.hero-grid > * { min-width: 0; }
.hero-surtitre {
  margin: 0 0 18px;
  font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.hero-titre {
  font-size: var(--fs-h1); line-height: 1; letter-spacing: -.01em;
  overflow-wrap: break-word;
}
.hero-titre[data-longueur="long"] { font-size: clamp(2.625rem, 1.5rem + 3.6vw, 4.5rem); line-height: 1.04; }
.hero-titre[data-longueur="tres-long"] { font-size: clamp(2.25rem, 1.45rem + 2.4vw, 3.5rem); line-height: 1.08; }
.hero-phrase { display: block; }
/* La dernière partie de l'accroche, en italique et soulignée à la main (pêche) */
.hero-mis {
  font-style: italic;
  background-image: linear-gradient(var(--peche), var(--peche));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 40%;
}
.hero-lead { margin: 28px 0 0; max-width: 34em; font-size: var(--fs-lead); color: var(--texte); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-agrements { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-agrements li { padding: 6px 14px; border-radius: 999px; background: var(--lavande); color: var(--texte); font-size: .875rem; line-height: 1.4; }
.hero-agrements:not(:has(li:not([hidden]))) { display: none; }

.hero-visuel { display: flex; justify-content: center; }
.souffle {
  position: relative; display: grid; place-items: center;
  width: min(420px, 82vw); aspect-ratio: 1 / 1;
}
.souffle-onde { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid var(--accent); opacity: .45; }
.souffle-onde-2 { border-color: var(--peche); opacity: .5; transform: scale(1.12); }
.souffle-cercle {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--cercle-1) 0%, var(--cercle-2) 45%, var(--cercle-3) 100%);
  box-shadow: 0 30px 80px -30px var(--cercle-ombre);
}
.souffle-mots {
  position: relative; display: block; width: 100%; height: 44px;
  font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: 2.125rem; line-height: 44px;
  color: var(--ink); text-align: center;
}
.souffle-inspire, .souffle-expire { position: absolute; left: 0; right: 0; }
.souffle-expire { opacity: 0; }

/* Animations d'entrée et respiration (coupées : data-animations="non", prefers-reduced-motion) */
@keyframes s-respire { 0%, 100% { transform: scale(.74); } 50% { transform: scale(1); } }
@keyframes s-vague { 0% { transform: scale(.78); opacity: .55; } 100% { transform: scale(1.42); opacity: 0; } }
@keyframes s-inspire { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes s-expire { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes s-flotte { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -22px); } }
@keyframes s-monte { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes s-trait { from { background-size: 0% 40%; } to { background-size: 100% 40%; } }
@keyframes s-halo { 0%, 100% { transform: scale(.9); opacity: .55; } 50% { transform: scale(1.06); opacity: .8; } }
@media (prefers-reduced-motion: no-preference) {
  .souffle-cercle { animation: s-respire 10s ease-in-out infinite; }
  .souffle-onde-1 { animation: s-vague 5s ease-out infinite; }
  .souffle-onde-2 { animation: s-vague 5s ease-out 2.5s infinite; }
  .souffle-inspire { animation: s-inspire 10s linear infinite; }
  .souffle-expire { animation: s-expire 10s linear infinite; }
  .flotte, .bon-cercles span { animation: s-flotte 9s ease-in-out infinite; }
  .flotte-2, .flotte-5 { animation-duration: 12s; animation-delay: 1.5s; animation-direction: reverse; }
  .flotte-4, .flotte-6 { animation-duration: 11s; animation-delay: .8s; }
  .hero-surtitre { animation: s-monte .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-titre { animation: s-monte .9s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .hero-lead, .hero-actions { animation: s-monte .9s cubic-bezier(.2, .7, .2, 1) .3s both; }
  .hero-agrements { animation: s-monte .9s cubic-bezier(.2, .7, .2, 1) .42s both; }
  .hero-mis { animation: s-trait 1.4s ease-out .6s both; }
  .contact-halo { animation: s-halo 14s ease-in-out infinite; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .souffle { width: min(340px, 78vw); }
}
@media (max-width: 480px) {
  .hero-grid { gap: 28px; }
  .souffle { width: min(280px, 72vw); }
}

/* ---------- 6. Approche ---------- */
.approche { position: relative; overflow: clip; padding-block: var(--section); background: var(--blanc); }
.approche-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 72px); align-items: center;
}
.approche-grid > * { min-width: 0; }
.approche-visuel { position: relative; display: flex; justify-content: center; }
.photo {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: min(360px, 80vw); aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 200px 200px 28px 28px;
  background: linear-gradient(160deg, var(--photo-haut), var(--photo-bas));
}
.photo-initiales {
  font-family: var(--f-titres); font-weight: var(--poids-titres);
  font-size: clamp(4.5rem, 3rem + 4vw, 6rem); line-height: 1;
  color: var(--accent-texte);
}
.photo.has-photo .photo-initiales { display: none; }
.approche-anneau {
  position: absolute; z-index: 0; left: 50%; top: 4%;
  width: min(300px, 66vw); aspect-ratio: 1; margin-left: max(-260px, -56vw);
  border-radius: 50%; border: 1.5px solid var(--lilas);
  pointer-events: none;
}
.approche-corps { max-width: 60ch; color: var(--texte); }
.approche-corps p { margin-bottom: 16px; }
.domaines { display: flex; flex-wrap: wrap; gap: 24px 28px; margin: 34px 0 0; padding: 0; list-style: none; }
.domaines li { flex: 1 1 140px; min-width: 0; }
.domaine-titre { display: block; font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: 1.875rem; line-height: 1.15; }
.domaine-sous { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--muted); }

@media (max-width: 860px) {
  .approche-grid { grid-template-columns: minmax(0, 1fr); }
  .photo { width: min(320px, 76vw); }
}

/* Deux colonnes (parcours, remboursement, questions, bons, contact) */
.grille-2 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
}
.grille-2 > * { min-width: 0; }
@media (max-width: 860px) {
  .grille-2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- 7. Séances et tarifs ---------- */
.seances { position: relative; overflow: clip; padding-block: var(--section); }
.seances > .wrap { position: relative; z-index: 1; }
.seances .titre { margin-bottom: 40px; }
.seances-liste {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px;
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 620px) { .seances-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .seances-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 4 ou 8 séances : quatre colonnes sur grand écran ; une seule : carte pas trop large */
@media (min-width: 1100px) {
  .seances-liste:has(> .seance:nth-child(4):last-child),
  .seances-liste:has(> .seance:nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.seances-liste:has(> .seance:only-child) { grid-template-columns: minmax(0, 420px); }
.seance { display: flex; min-width: 0; }
.seance-carte {
  display: flex; flex-direction: column; width: 100%; min-width: 0;
  padding: 30px;
  background: var(--carte); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
}
@media (prefers-reduced-motion: no-preference) {
  .seance-carte { transition: transform .35s ease, box-shadow .35s ease; }
}
.seance-carte:hover { transform: translateY(-6px); box-shadow: var(--ombre-carte); }
.seance-duree { margin: 0; font-size: .875rem; color: var(--muted); }
.seance-nom { margin: 6px 0 12px; font-size: var(--fs-h3); line-height: 1.1; }
.seance-desc { margin: 0 0 22px; font-size: 1rem; color: var(--texte); }
.seance-prix { margin: auto 0 0; font-weight: 700; font-size: 1.25rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.seance-duree:empty, .seance-prix:empty { display: none; }
/* La dernière séance (atelier, forfait…) mise en avant sur l'encre */
.seance:last-child:not(:first-child) .seance-carte { background: var(--fonce); color: var(--sur-fonce); border-color: var(--fonce); }
.seance:last-child:not(:first-child) .seance-duree { color: var(--sur-fonce-doux); }
.seance:last-child:not(:first-child) .seance-desc { color: var(--sur-fonce-clair); }
.seances-agrements { margin: 26px 0 0; font-size: var(--fs-small); color: var(--muted); }
/* Aperçu : « agréments ASCA et RME », « agrément ASCA », ou rien */
.seances-agrements:has([data-show][hidden]) :is(.pluriel, .et) { display: none; }
.seances-agrements:not(:has([data-show]:not([hidden]))) { display: none; }
.seances-note { margin: 8px 0 0; font-size: var(--fs-small); color: var(--muted); }

/* ---------- 8. Questions fréquentes ---------- */
.questions { padding-block: var(--section); background: var(--blanc); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); line-height: 1.2;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background:
    linear-gradient(var(--accent-texte), var(--accent-texte)) center / 14px 1.75px no-repeat,
    linear-gradient(var(--accent-texte), var(--accent-texte)) center / 1.75px 14px no-repeat,
    var(--lavande);
}
.faq details[open] summary::after { background-size: 14px 1.75px, 1.75px 0; }
.faq summary:hover { color: var(--accent-texte); }
.faq-reponse { padding: 0 56px 24px 0; color: var(--texte); max-width: 64ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq summary::after { transition: background-size .25s; }
}

/* ---------- 9. Rendez-vous ---------- */
.rdv { position: relative; overflow: clip; padding-block: var(--section); background: var(--lavande); }
.rdv-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px; align-items: start;
}
.rdv-grid > * { min-width: 0; }
.rdv .intro { margin-bottom: 24px; }
.rdv-tel {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); font-weight: 600; font-size: 1.125rem; text-decoration: none;
}
.rdv-tel svg { flex: none; color: var(--accent-texte); }
.rdv-tel:hover { color: var(--accent-texte); }
.rdv-agenda {
  min-width: 0; padding: clamp(14px, 2.6vw, 28px);
  background: var(--carte); border-radius: var(--radius);
  box-shadow: var(--ombre);
}
/* Habillage d'un agenda qui lit les variables --ag-* (l'exemple .agi garde son style neutre) */
.agenda-embed {
  --ag-accent: var(--accent);
  --ag-accent-ink: var(--accent-ink);
  --ag-ink: var(--encre);
  --ag-muted: var(--muted);
  --ag-bg: var(--blanc);
  --ag-surface: var(--sable);
  --ag-line: var(--line);
  --ag-radius: 14px;
  --ag-font: var(--f-texte);
  width: 100%;
}
.rdv-agenda .agi { max-width: none; border: 0; box-shadow: none; padding: 4px; }
@media (max-width: 960px) {
  .rdv-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* Rendez-vous sans agenda intégré (téléphone, e-mail, message) ou agenda derrière un bouton */
.rdv-carte {
  display: grid; gap: 14px; align-content: start;
  width: 100%; min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  background: var(--carte);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
}
.rdv-carte p { margin: 0; }
.rdv-carte-titre { font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: var(--fs-h3); line-height: 1.1; }
.rdv-carte-texte { color: var(--texte); font-size: var(--fs-small); }
.rdv-lien {
  display: flex; align-items: center; gap: 16px; min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none;
}
.rdv-lien:hover { border-color: var(--ink); color: var(--ink); }
.rdv-lien > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.rdv-lien small { margin-bottom: 4px; font-size: .875rem; color: var(--muted); }
.rdv-lien strong { font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: 1.5rem; overflow-wrap: anywhere; }
.rdv-lien .contact-icone { background: var(--lavande); color: var(--accent-texte); }
.rdv-carte .btn, .rdv-carte .agenda-bouton { justify-self: start; margin-top: 4px; }

/* Agenda en ligne derrière un bouton (lien écrit par Erylo\Agenda) */
.agenda-bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  border: 1.5px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.agenda-bouton:hover { background: var(--accent-survol); border-color: var(--accent-survol); color: var(--accent-ink); }
@media (max-width: 480px) {
  .rdv-carte .btn, .rdv-carte .agenda-bouton { justify-self: stretch; }
}

/* ---------- 10. Cabinet ---------- */
.cabinet { padding-block: var(--section); }
.cabinet-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 32px;
}
@media (min-width: 640px) {
  .cabinet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cabinet-plan { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .cabinet-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.25fr); }
  .cabinet-plan { grid-column: auto; }
}
.cabinet-col { min-width: 0; }
.cabinet-sous { margin: 0 0 16px; font-family: var(--f-texte); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.adresse { font-style: normal; font-size: var(--fs-body); color: var(--texte); line-height: 1.6; }
.acces { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.acces li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); color: var(--muted); }
.acces svg { flex: none; margin-top: 1px; color: var(--accent-texte); }

/* ---------- 11. Contact (encre, halo qui respire) ---------- */
.contact {
  position: relative; overflow: clip;
  padding-block: clamp(64px, 9vw, 104px);
  background: var(--fonce); color: var(--sur-fonce);
}
.contact-halo {
  position: absolute; z-index: 0; right: -12%; top: -30%;
  width: min(640px, 110vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 68%);
  opacity: .7; pointer-events: none;
}
.contact > .wrap { position: relative; z-index: 1; }
.contact .surtitre { color: var(--sur-fonce-doux); }
.contact .titre { color: var(--sur-fonce); }
.contact .intro { color: var(--sur-fonce-clair); }
.contact a { color: var(--sur-fonce); }
.contact :focus-visible { outline-color: var(--sur-fonce); }
.contact-liens { display: grid; gap: 14px; margin-top: 32px; container-type: inline-size; }
.contact-lien {
  display: flex; align-items: center; gap: 16px; min-width: 0;
  padding: 16px 20px;
  border: 1px solid var(--sur-fonce-trait); border-radius: 20px;
  color: var(--sur-fonce); text-decoration: none;
}
.contact-lien:hover { border-color: var(--sur-fonce-trait-fort); background: var(--sur-fonce-voile); color: var(--sur-fonce); }
.contact-icone {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sur-fonce-doux); color: var(--fonce);
}
.contact-lien > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.contact-lien small { font-size: .875rem; color: var(--sur-fonce-doux); margin-bottom: 4px; }
.contact-lien strong {
  font-family: var(--f-titres); font-weight: var(--poids-titres);
  font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem); font-size: clamp(1.25rem, 7cqi, 1.875rem);
  overflow-wrap: anywhere;
}

/* ---------- 12. Pied de page ---------- */
.site-footer { padding-block: 28px; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer-liens { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--accent-texte); }
.site-footer a:hover { color: var(--ink); }
.site-footer p { margin: 0; }

/* =========================================================
   13. Rubriques en plus (data-module)
   Le bandeau se place avant l'en-tête. Les autres prolongent la
   rubrique qui les précède : même fond, séparées par un filet fin.
   ========================================================= */
:root { --module-gap: clamp(48px, 7vw, 80px); }
.module-suite { padding-block: 0 var(--section); }
.module-suite > .wrap { padding-top: var(--module-gap); border-top: 1px solid var(--line); }
.module-suite.module-seul { padding-top: var(--section); }
.module-suite.module-seul > .wrap { padding-top: 0; border-top: 0; }

/* ---------- 13.1 Bandeau « Message important » ---------- */
.module-bandeau { background: var(--lavande); border-bottom: 1px solid var(--lilas); color: var(--ink); }
.module-bandeau p {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0; padding-block: 10px;
  font-size: .9375rem; font-weight: 600; line-height: 1.45;
}
.module-bandeau svg { flex: none; margin-top: 1px; color: var(--accent-texte); }

/* ---------- 13.2 Mon parcours (prolonge « Mon approche ») ---------- */
.module-parcours { background: var(--blanc); }
.parcours-faits { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.parcours-faits li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--lavande); color: var(--texte);
  font-size: .9375rem; line-height: 1.3;
}
.parcours-faits svg { flex: none; color: var(--accent-texte); }
/* Frise : années en italique, points pêche sur un fil lilas qui se dessine */
.parcours-liste { --an: 76px; --fil: 32px; align-self: start; margin: 0; padding: 0; list-style: none; }
.parcours-liste li {
  position: relative;
  display: grid; grid-template-columns: var(--an) minmax(0, 1fr); column-gap: var(--fil);
  padding-bottom: 28px;
}
.parcours-liste li:last-child { padding-bottom: 0; }
/* fil d'un point au suivant (il se dessine quand la formation apparaît, partie 17) */
.parcours-liste li::before {
  content: ""; position: absolute; top: 16px; bottom: -16px;
  left: calc(var(--an) + var(--fil) / 2 - .75px); width: 1.5px;
  background: var(--lilas);
}
.parcours-liste li:last-child::before { display: none; }
.parcours-liste li::after {
  content: ""; position: absolute; top: 9px;
  left: calc(var(--an) + var(--fil) / 2 - 7px); width: 14px; height: 14px;
  border-radius: 50%; background: var(--peche); box-shadow: 0 0 0 5px var(--blanc);
}
.parcours-liste [data-k="annee"] {
  grid-column: 1; grid-row: 1 / span 2;
  font-family: var(--f-titres); font-weight: var(--poids-titres); font-style: italic;
  font-size: 1.75rem; line-height: 1.1; color: var(--accent-texte);
  font-variant-numeric: tabular-nums;
}
.parcours-liste [data-k="titre"] { grid-column: 2; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.parcours-liste [data-k="ecole"] { grid-column: 2; margin-top: 2px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 480px) {
  .parcours-liste { --an: 60px; --fil: 24px; }
  .parcours-liste [data-k="annee"] { font-size: 1.5rem; }
}

/* ---------- 13.3 Remboursement (prolonge « Séances et tarifs ») ---------- */
.module-remboursement { background: var(--sable); }
.remboursement-agrements { margin-top: 24px; }
.remboursement-etapes { margin: 0; padding: 0; list-style: none; counter-reset: etape; display: grid; gap: 14px; }
.remboursement-etapes li {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: center;
  padding: 18px 22px 18px 18px;
  background: var(--carte); border: 1px solid var(--line); border-radius: 22px;
  counter-increment: etape;
}
.remboursement-etapes li::before {
  content: counter(etape);
  grid-row: 1 / span 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--lavande); color: var(--accent-texte);
  font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: 1.75rem; line-height: 1;
}
.remboursement-etapes h3 { grid-column: 2; font-family: var(--f-texte); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.remboursement-etapes p { grid-column: 2; margin: 2px 0 0; color: var(--muted); font-size: var(--fs-small); }
.remboursement-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 16px; padding: 14px 16px;
  border-radius: var(--radius-sm); background: var(--lavande);
  font-size: var(--fs-small); color: var(--texte);
}
.remboursement-note svg { flex: none; margin-top: 1px; color: var(--accent-texte); }

/* ---------- 13.4 Offrir un moment de calme (prolonge « Rendez-vous ») ---------- */
.module-bons { background: var(--lavande); }
.module-bons > .wrap { border-top-color: var(--lilas); }
/* Sans agenda en ligne, la rubrique « Rendez-vous » est masquée (aperçu) : le module redevient une section */
.rdv[hidden] + .module-bons { padding-top: var(--section); }
.rdv[hidden] + .module-bons > .wrap { padding-top: 0; border-top: 0; }
.bons-grid { align-items: center; }
.bons-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
/* Avec le lien de paiement, la commande par e-mail passe au second plan */
.bons-boutons [data-bons-lien]:not([hidden]) ~ .btn-commande { background: transparent; color: var(--ink); border-color: var(--lilas); }
.bons-boutons [data-bons-lien]:not([hidden]) ~ .btn-commande:hover { background: var(--blanc); border-color: var(--ink); }
.bon-visuel { position: relative; justify-self: center; width: 100%; max-width: 480px; }
.bon-carte {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  aspect-ratio: 8 / 5; padding: clamp(20px, 4vw, 32px);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--fonce) 0%, color-mix(in oklab, var(--fonce) 78%, var(--accent)) 100%);
  color: var(--sur-fonce);
  box-shadow: var(--ombre-bon);
}
.bon-cercles { position: absolute; right: -14%; top: 50%; width: 62%; aspect-ratio: 1; translate: 0 -50%; }
.bon-cercles span { position: absolute; border-radius: 50%; border: 1.5px solid var(--sur-fonce-doux); opacity: .55; }
.bon-cercles span:nth-child(1) { inset: 0; }
.bon-cercles span:nth-child(2) { inset: 16%; border-color: var(--peche); opacity: .8; animation-delay: 1s; }
.bon-cercles span:nth-child(3) { inset: 32%; border: 0; background: radial-gradient(circle at 35% 30%, var(--sur-fonce) 0%, var(--sur-fonce-doux) 100%); opacity: .9; animation-delay: 2s; }
.bon-carte-label { position: relative; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sur-fonce-doux); }
.bon-carte-titre {
  position: relative; max-width: 58%; margin-top: auto;
  font-family: var(--f-titres); font-weight: var(--poids-titres);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.02;
}
.bon-carte-nom { position: relative; margin-top: 10px; font-size: .9375rem; font-weight: 600; }
.bon-carte-validite { position: relative; margin-top: 2px; font-size: .8125rem; color: var(--sur-fonce-clair); }
@media (max-width: 860px) {
  .bon-visuel { justify-self: start; }
}

/* ---------- 13.5 Le cabinet en images (prolonge « Le cabinet ») ---------- */
.module-galerie { background: var(--sable); }
.galerie {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 22px;
  margin: 40px 0 0; padding: 0; list-style: none;
}
@media (min-width: 520px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.galerie li { min-width: 0; }
.galerie figure { margin: 0; }
/* Cadres en arche, comme le portrait */
.galerie-photo {
  display: block; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 24px 24px;
  background: var(--lavande) center / cover no-repeat;
}
.galerie-photo svg { display: block; width: 100%; height: 100%; }
.galerie figcaption { margin-top: 12px; font-size: var(--fs-small); font-weight: 600; line-height: 1.35; text-align: center; }

/* Illustrations de remplacement (en attendant les photos du thérapeute) :
   teintes propres (--g-*), qui restent claires comme une vraie photo */
:root {
  --g-mur: #F4EEF8;
  --g-mur-2: #F8EEE8;
  --g-sol: #E6DCEB;
  --g-blanc: #FFFFFF;
  --g-vitre: #E3EAF6;
  --g-moyen: #CFC6E8;
  --g-tapis: #EADFD3;
  --g-encre: #4A4458;
  --g-peche: #F2B49B;
  --g-peche-doux: #F8D6C6;
  --g-plante: #7E9B7A;
  --g-pot: #D9CFC4;
}
.galerie-photo .g-mur { fill: var(--g-mur); }
.galerie-photo .g-mur-2 { fill: var(--g-mur-2); }
.galerie-photo .g-sol { fill: var(--g-sol); }
.galerie-photo .g-blanc { fill: var(--g-blanc); }
.galerie-photo .g-vitre { fill: var(--g-vitre); }
.galerie-photo .g-moyen { fill: var(--g-moyen); }
.galerie-photo .g-tapis { fill: var(--g-tapis); }
.galerie-photo .g-encre { fill: var(--g-encre); }
.galerie-photo .g-peche { fill: var(--g-peche); }
.galerie-photo .g-peche-doux { fill: var(--g-peche-doux); }
.galerie-photo .g-plante { fill: var(--g-plante); }
.galerie-photo .g-pot { fill: var(--g-pot); }
.galerie-photo .g-accent { fill: var(--accent); }
.galerie-photo .g-accent-doux { fill: color-mix(in srgb, var(--accent) 45%, var(--g-blanc)); }
.galerie-photo .g-lumiere { fill: var(--g-blanc); opacity: .5; }
.galerie-photo .g-reflet { fill: var(--g-blanc); opacity: .12; }
.galerie-photo .g-croisee { fill: none; stroke: var(--g-blanc); stroke-width: 6; }

/* =========================================================
   14. Horaires, plan, formulaire, pages légales
   ========================================================= */
:root {
  --danger: #B42318;
  --danger-clair: #FFB4A8;  /* erreurs sur l'encre du contact (8:1) */
  --succes: #F2B49B;
}

/* ---------- 14.1 Horaires ---------- */
.horaires { max-width: 360px; margin: 0; padding: 0; list-style: none; }
.horaires li {
  display: grid; grid-template-columns: minmax(6.5em, auto) minmax(0, 1fr); gap: 22px;
  padding: 4px 0;
  font-size: 1rem; line-height: 1.5; color: var(--texte);
}
.horaires [data-k="heures"] { font-variant-numeric: tabular-nums; }
.horaires li.ferme { color: var(--muted); }

/* ---------- 14.2 Plan d'accès ---------- */
.plan { overflow: hidden; border-radius: var(--radius); background: var(--lavande); }
:root {
  --plan-fond: #EFE8F7;
  --plan-ilot: #F7F3EE;
  --plan-batiment: #E4DAF3;
  --plan-parc: #E3EDDD;
  --plan-arbre: #C9DCC3;
  --plan-eau: #DDE6F4;
  --plan-rue: #FFFFFF;
  --plan-point: #FFFFFF;
}
.plan svg { display: block; width: 100%; height: auto; }
.plan .p-fond { fill: var(--plan-fond); }
.plan .p-ilot { fill: var(--plan-ilot); }
.plan .p-batiment { fill: var(--plan-batiment); }
.plan .p-parc { fill: var(--plan-parc); }
.plan .p-arbre { fill: var(--plan-arbre); }
.plan .p-eau { fill: none; stroke: var(--plan-eau); stroke-width: 22; stroke-linecap: round; }
.plan .p-rue { fill: none; stroke: var(--plan-rue); stroke-width: 9; stroke-linecap: round; }
.plan .p-rue-principale { stroke-width: 15; }
.plan .p-halo { fill: var(--accent); opacity: .18; transform-box: fill-box; transform-origin: center; }
.plan .p-halo-2 { opacity: .1; }
.plan .p-pin { fill: var(--accent); }
.plan .p-point { fill: var(--plan-point); }
@media (prefers-reduced-motion: no-preference) {
  .plan .p-halo { animation: s-respire 6s ease-in-out infinite; }
  .plan .p-halo-2 { animation-delay: 1.2s; }
}
.plan-lien { margin: 14px 0 0; }
.plan-lien a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.plan-lien svg { flex: none; }

/* ---------- 14.3 Formulaire de contact (sur l'encre) ---------- */
.contact-grid { align-items: start; }
.contact-form { min-width: 0; }
.fc-intro { margin-bottom: 22px; font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem); line-height: 1.2; }
.form-contact { display: grid; gap: 18px; }
.form-contact p { margin: 0; }
.fc-champ { display: grid; gap: 6px; min-width: 0; }
.fc-champ label { font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.fc-champ label span { font-weight: 400; color: var(--sur-fonce-doux); }
.fc-champ input,
.fc-champ textarea {
  width: 100%; min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--champ-bord); border-radius: var(--radius-sm);
  background: var(--champ-fond); color: var(--sur-fonce);
  font: inherit; font-size: 1rem; line-height: 1.4;
}
.fc-champ textarea { min-height: 140px; resize: vertical; }
.fc-champ input:hover,
.fc-champ textarea:hover { border-color: var(--champ-bord-survol); }
.fc-champ input:focus,
.fc-champ textarea:focus { border-color: var(--sur-fonce); }
.fc-champ input:focus-visible,
.fc-champ textarea:focus-visible { outline: 3px solid var(--sur-fonce); outline-offset: 2px; }
.fc-champ [aria-invalid="true"] { border-color: var(--danger-clair); box-shadow: inset 0 0 0 1px var(--danger-clair); }
.fc-erreur {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .875rem; font-weight: 600; line-height: 1.4;
  color: var(--danger-clair);
}
.fc-erreur::before {
  content: "!"; flex: none;
  display: grid; place-items: center;
  width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--danger-clair); color: var(--fonce);
  font-size: .75rem; font-weight: 700; line-height: 1;
}
.form-contact > .fc-erreur { margin-top: -8px; }
.fc-case {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9375rem; line-height: 1.5; color: var(--sur-fonce-clair);
  cursor: pointer;
}
.fc-case input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-sur-fonce); cursor: pointer; }
.fc-case a { color: var(--sur-fonce); font-weight: 600; }
.form-contact .btn { justify-self: start; margin-top: 4px; }
/* Bouton clair sur l'encre (un accent foncé s'y perdrait) */
.btn-clair { background: var(--sur-fonce); border-color: var(--sur-fonce); color: var(--fonce); }
.btn-clair:hover { background: var(--sur-fonce-doux); border-color: var(--sur-fonce-doux); color: var(--fonce); }
.fc-envoye {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--succes) 60%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--succes) 14%, transparent);
  font-weight: 600; line-height: 1.45;
}
.fc-envoye::before {
  content: ""; flex: none;
  width: 12px; height: 12px; margin-top: 6px; border-radius: 50%;
  background: var(--succes);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--succes) 25%, transparent);
}
.fc-envoye:focus { outline: none; }
.fc-envoye:focus-visible { outline: 3px solid var(--sur-fonce); outline-offset: 3px; }
.fc-piege input { width: 1px; height: 1px; padding: 0; border: 0; }
@media (max-width: 860px) {
  .contact-grid { row-gap: 48px; }
}
@media (max-width: 480px) {
  .form-contact .btn { justify-self: stretch; }
}

/* ---------- 14.4 Pages légales (plein écran par :target) ---------- */
.page-legale { display: none; }
.page-legale:target {
  display: block;
  position: fixed; inset: 0; z-index: 100;
  overflow: auto; overscroll-behavior: contain;
  background: var(--sable); color: var(--ink);
}
html:has(.page-legale:target) { overflow: hidden; }
.legale-barre {
  position: sticky; top: 0; z-index: 1;
  background: var(--entete-fond);
  border-bottom: 1px solid var(--line);
}
.legale-barre-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 24px;
  min-height: var(--header-h); padding-block: 10px;
}
.legale-retour { padding-left: 16px; }
.legale-site { display: flex; flex-direction: column; min-width: 0; text-align: right; line-height: 1.2; }
.legale-site [data-field="titre"] { font-family: var(--f-titres); font-weight: var(--poids-titres); font-size: 1.375rem; }
.legale-site [data-field="profession"] { font-size: .8125rem; color: var(--muted); }
.legale-corps {
  width: min(100% - 2 * var(--gutter), 70ch);
  margin-inline: auto;
  padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px);
  line-height: 1.7;
}
.legale-titre { font-size: var(--fs-h2); margin-bottom: 20px; }
.legale-intro { font-size: var(--fs-lead); color: var(--texte); }
.legale-corps h3 {
  margin: 40px 0 12px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.75rem;
}
.legale-titre + h3 { margin-top: 28px; }
.legale-corps h4 { margin: 22px 0 4px; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.legale-corps h3 + h4 { margin-top: 0; }
.legale-corps ul { margin: 0 0 1em; padding-left: 1.25em; }
.legale-corps li + li { margin-top: 4px; }
.legale-corps a { overflow-wrap: anywhere; }
.legale-identite { font-style: normal; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--blanc); }
.legale-agrements:not(:has(li:not([hidden]))) { display: none; }
.legale-date { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 480px) {
  .legale-site [data-field="profession"] { display: none; }
}

/* =========================================================
   15. Personnalisation : couleurs, police, taille du texte
   Attributs posés sur <html> par assets/js/theme.js (ou par le serveur).
   Sans attribut, le modèle garde exactement ses propres teintes.
   ========================================================= */

/* ---------- 15.0 Couleur des boutons choisie avec les couleurs du modèle ----------
   Texte des boutons (blanc, ou encre sur une couleur claire) : calculé par le serveur (≥ 4,5:1,
   <style id="accent-modele"> dans la vue) et, dans l'aperçu, par assets/js/sites/souffle.js. */

/* ---------- 15.1 Couleurs choisies (data-couleurs="clair" ou "sombre") ---------- */
:root[data-couleurs] {
  --danger-clair: color-mix(in oklab, #FFB4A8 50%, var(--p-sur-fonce));
  --succes: color-mix(in oklab, var(--p-accent) 60%, var(--p-sur-fonce));
  /* Palette du modèle */
  --sable: var(--p-fond);
  --encre: var(--p-texte);
  --ink: var(--p-texte);
  --blanc: var(--p-surface);
  --carte: var(--p-surface);
  --lavande: var(--p-bande);
  --lilas: color-mix(in oklab, var(--p-ligne) 55%, var(--p-accent));
  --peche: color-mix(in oklab, var(--p-accent) 38%, var(--p-fond));
  --texte: color-mix(in oklab, var(--p-texte) 55%, var(--p-texte-doux));
  --muted: var(--p-texte-doux);
  --line: var(--p-ligne);

  /* Couleur des boutons */
  --accent: var(--p-accent);
  --accent-ink: var(--p-accent-ink);
  --accent-texte: var(--p-accent-texte);
  --accent-survol: var(--p-accent-fonce);
  --accent-sur-fonce: var(--p-accent-sur-fonce);

  /* Bloc foncé : carte mise en avant, bon cadeau, contact */
  --fonce: var(--p-fonce);
  --sur-fonce: var(--p-sur-fonce);
  --sur-fonce-doux: var(--p-sur-fonce-doux);
  --sur-fonce-clair: color-mix(in oklab, var(--p-sur-fonce) 50%, var(--p-sur-fonce-doux));
  --sur-fonce-trait: color-mix(in srgb, var(--p-sur-fonce) 16%, transparent);
  --sur-fonce-trait-fort: color-mix(in srgb, var(--p-sur-fonce) 45%, transparent);
  --sur-fonce-voile: color-mix(in srgb, var(--p-sur-fonce) 5%, transparent);
  --champ-fond: color-mix(in srgb, var(--p-sur-fonce) 7%, var(--p-fonce));
  --champ-bord: color-mix(in srgb, var(--p-sur-fonce) 46%, var(--p-fonce));
  --champ-bord-survol: color-mix(in srgb, var(--p-sur-fonce) 65%, var(--p-fonce));

  --entete-fond: color-mix(in srgb, var(--p-fond) 95%, transparent);
  --entete-fond-flou: color-mix(in srgb, var(--p-fond) 86%, transparent);

  /* Cercle qui respire, portrait */
  --cercle-1: var(--p-surface);
  --cercle-2: color-mix(in oklab, var(--p-surface) 86%, var(--p-accent));
  --cercle-3: color-mix(in oklab, var(--p-surface) 66%, var(--p-accent));
  --cercle-ombre: color-mix(in srgb, var(--p-accent) 55%, transparent);
  --photo-haut: color-mix(in oklab, var(--p-bande) 84%, var(--p-accent));
  --photo-bas: color-mix(in oklab, var(--p-bande) 90%, var(--p-texte));

  /* Ombres teintées par le bloc foncé */
  --ombre: 0 30px 60px -40px color-mix(in srgb, var(--p-fonce) 50%, transparent);
  --ombre-carte: 0 18px 40px -22px color-mix(in srgb, var(--p-fonce) 45%, transparent);
  --ombre-bon: 0 30px 60px -34px color-mix(in srgb, var(--p-fonce) 60%, transparent);

  /* Galerie : des « photos » claires, teintées par la couleur des boutons */
  --g-mur: color-mix(in oklab, var(--p-accent) 8%, #FFFFFF);
  --g-mur-2: color-mix(in oklab, var(--p-accent) 5%, #FBF3EE);
  --g-sol: color-mix(in oklab, var(--p-accent) 18%, #FFFFFF);
  --g-vitre: color-mix(in oklab, var(--p-accent) 12%, #EEF2F8);
  --g-moyen: color-mix(in oklab, var(--p-accent) 34%, #FFFFFF);
  --g-encre: color-mix(in oklab, var(--p-accent) 22%, #2E2A36);
  --g-peche: color-mix(in oklab, var(--p-accent) 30%, #F4C3AE);

  /* Plan d'accès : redessiné sur la bande */
  --plan-fond: var(--p-bande);
  --plan-ilot: color-mix(in oklab, var(--p-bande) 70%, var(--p-fond));
  --plan-batiment: color-mix(in oklab, var(--p-bande) 76%, var(--p-accent));
  --plan-parc: color-mix(in oklab, var(--p-bande) 82%, #6E9C6A);
  --plan-arbre: color-mix(in oklab, var(--p-bande) 62%, #6E9C6A);
  --plan-eau: color-mix(in oklab, var(--p-bande) 78%, #5B8FD8);
  --plan-rue: var(--p-surface);
  --plan-point: var(--p-accent-ink);
}
:root[data-couleurs] .agenda-embed {
  --ag-muted: var(--p-texte-doux);
  --ag-bg: var(--p-surface);
  --ag-surface: var(--p-bande);
  --ag-line: var(--p-ligne);
}

/* ---------- 15.2 Ambiance sombre ---------- */
:root[data-couleurs="sombre"] {
  --ombre: 0 30px 60px -36px rgba(0, 0, 0, .75);
  --ombre-carte: 0 18px 40px -20px rgba(0, 0, 0, .7);
  --ombre-bon: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --cercle-1: color-mix(in oklab, var(--p-surface) 80%, var(--p-texte));
  --cercle-ombre: rgba(0, 0, 0, .6);
  --plan-ilot: color-mix(in oklab, var(--p-bande) 88%, var(--p-texte));
  --plan-rue: color-mix(in oklab, var(--p-bande) 72%, var(--p-texte));
  --photo-bas: color-mix(in oklab, var(--p-bande) 86%, var(--p-texte));
}
/* Sur un fond sombre, la carte mise en avant et le bon prennent une bordure pour rester visibles */
:root[data-couleurs="sombre"] .seance:last-child:not(:first-child) .seance-carte { border-color: var(--line); }

/* ---------- 15.3 Police choisie (data-police) ---------- */
:root[data-police] {
  --f-titres: var(--p-police-titres);
  --f-texte: var(--p-police-texte);
  --poids-titres: var(--p-poids-titres);
}
:root[data-police] body { font-synthesis-weight: none; }
/* Instrument Serif est très fine et serrée : les autres polices gardent un interlettrage neutre */
:root[data-police] :is(h1, h2, h3, .brand-nom) { letter-spacing: -.01em; }
:root[data-police] .hero-titre { line-height: 1.05; }

/* ---------- 15.4 Grande taille du texte (data-taille="grande") ---------- */
:root[data-taille="grande"] { font-size: 112.5%; }
:root:is([data-taille], [data-police]) .parcours-liste [data-k="annee"] { white-space: nowrap; }
@media (max-width: 480px) {
  :root[data-taille="grande"] .parcours-liste { --an: 3.75rem; --fil: 22px; }
}
@media (max-width: 420px) {
  :root[data-taille="grande"] .btn .long { display: none; }
  :root[data-taille="grande"] .btn .court { display: inline; }
}
@media (max-width: 360px) {
  :root[data-taille="grande"] .header-inner { column-gap: 12px; }
  :root[data-taille="grande"] .btn-sm { padding-inline: 12px; }
}

/* ---------------------------------------------------------
   Logo à côté du nom (facultatif) — posé par apercu.js / le serveur
   data-logo, data-logo-seul, data-logo-large, data-logo-pastille (+ --logo-ratio, --logo-pastille)
   --------------------------------------------------------- */
:root { --logo-h: 46px; --logo-max: 180px; --logo-gap: .75em; }
: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]:not([data-logo-seul]) [data-marque] { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: var(--logo-h); padding-left: calc(var(--logo-w) + var(--logo-gap)); }
:root[data-logo]:not([data-logo-seul]) [data-marque] > .logo-site { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
:root[data-logo-seul] [data-marque] { display: flex; align-items: center; }
:root[data-logo-seul] [data-marque] > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root[data-logo-seul] { --logo-h: 54px; --logo-max: 220px; }
:root[data-logo-pastille] .logo-site { box-sizing: content-box; padding: 5px 9px; border-radius: 12px; background: var(--logo-pastille); }
:root[data-logo-pastille]:not([data-logo-seul]) [data-marque] { min-height: calc(var(--logo-h) + 10px); padding-left: calc(var(--logo-w) + 18px + var(--logo-gap)); }
@media (max-width: 600px) {
  :root { --logo-h: 38px; --logo-max: 30vw; }
  :root[data-logo-seul] { --logo-h: 44px; --logo-max: 52vw; }
}
@media (max-width: 420px) {
  :root[data-logo]:not([data-logo-seul]) [data-marque] > span + span { display: none; }
}
@media (max-width: 480px) {
  :root[data-logo-large] { --logo-h: 40px; --logo-max: 52vw; }
  :root[data-logo-large]:not([data-logo-seul]) [data-marque] { display: flex; align-items: center; min-height: 0; padding-left: 0; }
  :root[data-logo-large]:not([data-logo-seul]) [data-marque] > .logo-site { position: static; transform: none; }
  :root[data-logo-large]:not([data-logo-seul]) [data-marque] > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  :root[data-logo] .btn .long { display: none; }
  :root[data-logo] .btn .court { display: inline; }
}

/* =========================================================
   16. Site en ligne (version PHP) — cas absents de la maquette
   ========================================================= */
/* Accroche vide : le nom tient lieu de titre ; pas de phrase d'introduction : même écart */
.hero-titre + .hero-actions { margin-top: 36px; }

/* =========================================================
   17. Animations au défilement : variantes propres au modèle
   (marquage data-reveal, voir assets/js/defilement.js)
   ========================================================= */
/* « inspire » : l'élément se dépose doucement, comme une inspiration (portrait, agenda, bon, plan) */
.defilement [data-reveal="inspire"] { transform: scale(.94); filter: blur(10px); transition-duration: 1.4s; }
/* Frise du parcours : le fil vers la formation suivante se dessine de haut en bas */
.defilement .parcours-liste li[data-reveal]::before {
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.1s cubic-bezier(.4, .1, .2, 1);
  transition-delay: calc(var(--rang, 0) * 90ms + 350ms);
}
.defilement .parcours-liste li[data-reveal].vu::before { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .defilement .parcours-liste li[data-reveal]::before { transform: none !important; }
}

/* =========================================================
   18. Impression : fonds clairs, décor retiré
   ========================================================= */
@media print {
  .site-header { position: static; }
  .flotte, .hero-visuel, .contact-halo, .approche-anneau, .bon-cercles, .skip { display: none !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 24px; }
  .contact, .seance:last-child:not(:first-child) .seance-carte, .bon-carte { background: #FFFFFF !important; color: #000000 !important; border: 1px solid #999999; }
  .contact :is(.titre, .intro, .surtitre, small, strong, a, label, .fc-intro) { color: #000000 !important; }
  .contact-form { display: none; }
  .seance-carte:hover { transform: none; box-shadow: none; }
  .page-legale:target { position: static; overflow: visible; }
  .legale-barre { display: none; }
}

/* =========================================================
   Titre du site = l'enseigne du cabinet (1.9.0, <html data-titre-enseigne>) :
   le nom de la personne ouvre le surtitre du hero (.hero-sous-titre, data-field="sous-titre",
   caché quand vide, « · » devant le métier) ; mentions légales : ligne « enseigne »
   ========================================================= */
.hero-sous-titre { color: var(--texte); }
.hero-sous-titre:not(.seul):not([hidden])::after { content: " · "; color: var(--muted); }

/* ==================== 1.12.0 : rubrique « Avis de patients » (début) ====================
   Section « Ce qu'en disent mes patients » (vues/sites/souffle.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; }

/* Souffle : cartes sable aux grands arrondis, guillemet en Instrument Serif lilas ; l'avis mis en avant sur l'encre, avec un halo */
.module-avis { background: var(--blanc); }
.module-avis .avis-tete { max-width: 46rem; margin-bottom: 36px; }
.avis-liste { display: flex; flex-wrap: wrap; gap: 22px; --avis-base: 17rem; }
.avis-carte { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 60px 28px 28px; border-radius: 28px; background: var(--sable); overflow: hidden; }
.avis-carte::before { content: "\201C" / ""; position: absolute; top: 14px; left: 26px; font: 400 4.2rem/1 var(--f-titres); color: var(--accent-texte); opacity: .5; }
.avis-texte p { font-size: var(--fs-body); line-height: 1.65; color: var(--texte); }
.avis-auteur { margin-top: auto; font-family: var(--f-titres); font-size: 1.3rem; line-height: 1.1; color: var(--ink); }
.avis-item[data-en-avant] { flex-basis: 100%; }
.avis-item[data-en-avant] .avis-carte { background: var(--fonce); color: var(--sur-fonce); padding: clamp(56px, 7vw, 72px) clamp(28px, 6vw, 64px) clamp(28px, 5vw, 44px); }
.avis-item[data-en-avant] .avis-carte::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid var(--sur-fonce-trait-fort); box-shadow: 0 0 0 30px var(--sur-fonce-voile), 0 0 0 60px var(--sur-fonce-voile); pointer-events: none; }
.avis-item[data-en-avant] .avis-carte::before { color: var(--accent-sur-fonce); opacity: .9; }
.avis-item[data-en-avant] .avis-texte p { color: var(--sur-fonce); font-family: var(--f-titres); font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2rem); line-height: 1.3; }
.avis-item[data-en-avant] .avis-auteur { color: var(--sur-fonce-doux); font-family: inherit; font-size: var(--fs-small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.avis-vide { margin: 0; padding: 18px 22px; border: 1.5px dashed var(--lilas); border-radius: 28px; color: var(--muted); }
.avis-google { margin-top: 28px; }
/* ==================== 1.12.0 : rubrique « Avis de patients » (fin) ==================== */
