/* ══════════════════════════════════════════════════════════════════════
   Reflex Zone — la feuille du site.

   La direction vient de la marque, pas d'un modèle :
     - le LOGO : un carré au trait fin dont le coin bas droit reste
       OUVERT, traversé en diagonale par les traits jaunes d'un pied ;
     - les PUBLICATIONS de la page Facebook : des aplats jaune soleil, un
       beige sablé, des photos découpées en bulle, des bulles jaunes
       « Rappelle-toi que… » avec trois petits rayons au coin, et un
       romain fin et contrasté pour les titres ;
     - le MÉTIER : la plante du pied et ses zones réflexes.

   D'où quatre motifs, et rien d'autre : le CADRE OUVERT (autour des
   photos), les TRAITS du pied (un masque, à la couleur du thème), la
   BULLE (photos et citations), et le TRAIT DE PINCEAU jaune qui précède
   chaque titre — celui des affiches « dès maintenant ! ».

   Les couleurs sont des PIGMENTS (--p-*) qui n'alimentent que des JETONS
   de rôle (--fond, --texte, --accent…). Aucune règle n'emploie un pigment
   directement : une palette change sans relire la feuille, et
   .section--sable / --soleil / --sombre redéfinissent les MÊMES jetons.

   Le jaune PORTE du texte (--accent-sur) mais n'en reçoit jamais : sur un
   fond clair il tombe à 1,4:1. Un texte « couleur de la marque » prend
   --accent-encre (l'ocre profond).
   ══════════════════════════════════════════════════════════════════════ */

:root {
  /* Les pigments — écrasés par le thème (administration, palettes). */
  --p-fond: #fffdf7;
  --p-sable: #f3ead6;
  --p-encre: #23211c;
  --p-doux: #5c574c;
  --p-accent: #f7cf2c;
  --p-accent-clair: #fbefb3;
  --p-accent-profond: #765900;
  --p-sombre: #23211c;
  --p-sur-sombre: #fbf6e8;
  --accent-texte: #23211c;

  /* Les rôles. */
  --fond: var(--p-fond);
  --surface: color-mix(in srgb, var(--p-fond) 60%, #fff);
  --texte: var(--p-encre);
  --texte-doux: var(--p-doux);
  --accent: var(--p-accent);
  --accent-sur: var(--accent-texte);
  --accent-encre: var(--p-accent-profond);
  --pinceau: var(--p-accent);
  --cadre: var(--p-encre);
  --lisere: color-mix(in srgb, var(--p-encre) 13%, transparent);
  --lisere-fort: color-mix(in srgb, var(--p-encre) 28%, transparent);
  --sable: var(--p-sable);
  --peau: color-mix(in srgb, var(--p-sable) 55%, var(--p-fond));

  /* Alias attendus par le module de réservation du parc (contrat). */
  --primary: var(--accent);
  --primary-text: var(--accent-sur);
  --text: var(--texte);
  --bg: var(--fond);

  --titre-police: 'Fraunces', Georgia, 'Times New Roman', serif;
  --texte-police: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --ui-police: 'Comfortaa', 'Nunito', 'Helvetica Neue', Arial, sans-serif;

  /* Le titre suit aussi la HAUTEUR : sur un 1280 × 800, trois lignes à
     6 rem pousseraient les repères sous le premier écran. */
  --t-hero: min(clamp(2.7rem, 1.5rem + 4.4vw, 6rem), 9svh);
  --t-section: clamp(2.4rem, 1.4rem + 3.3vw, 4.4rem);
  --t-carte: clamp(1.5rem, 1.25rem + .8vw, 2.1rem);

  --large: 1360px;
  --marge: clamp(1rem, 4vw, 3rem);
  --rythme: clamp(4.5rem, 3rem + 6vw, 9rem);
  --rayon: 26px;
  --rayon-s: 14px;
  /* La bulle des publications : ronde, avec une pointe en bas à gauche. */
  --bulle: 48% 52% 50% 50% / 44% 46% 54% 56%;
  --bulle-pointe: 999px 999px 999px 26px;
  --ombre: 0 26px 60px -30px color-mix(in srgb, var(--p-encre) 50%, transparent);
  --haut-entete: 104px;
  --barre-appel: 0px;

  /* Le trait de pinceau jaune des affiches (« dès maintenant ! »). */
  --forme-pinceau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M4 16.5C19 8 47 3.6 80 4.4c14 .4 27 2.4 35 5.4 1.6.6 1.3 2.6-.4 2.7-10 .6-25 .9-40 1.8-21 1.3-44 4.6-61 9.4-5.6 1.6-14-3.2-9.6-7.2Z'/%3E%3C/svg%3E");
  /* Les trois rayons au coin des bulles. */
  --forme-rayons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4.5 13.5 1.8 12.4M6.6 8.4 4.8 6M11 6.2l-.3-3'/%3E%3C/svg%3E");
}

/* Les sections redéfinissent les MÊMES jetons : un composant s'écrit une
   fois et fonctionne des quatre côtés. */
.section--sable { --fond: var(--p-sable); --surface: var(--p-fond); --peau: var(--p-fond); }
.section--soleil, .hero--soleil, .appel {
  --fond: var(--p-accent);
  --surface: color-mix(in srgb, var(--p-accent) 55%, var(--p-fond));
  --texte: var(--accent-texte);
  --texte-doux: color-mix(in srgb, var(--accent-texte) 82%, var(--p-accent));
  /* Sur le jaune, l'« accent » d'un bouton devient l'encre. */
  --accent: var(--accent-texte);
  --accent-sur: var(--p-accent);
  --accent-encre: var(--accent-texte);
  --pinceau: var(--accent-texte);
  --cadre: var(--accent-texte);
  --lisere: color-mix(in srgb, var(--accent-texte) 18%, transparent);
  --lisere-fort: color-mix(in srgb, var(--accent-texte) 40%, transparent);
  --sable: color-mix(in srgb, var(--p-accent) 70%, var(--p-fond));
}
.section--sombre, .pied {
  --fond: var(--p-sombre);
  --surface: color-mix(in srgb, var(--p-sombre) 88%, var(--p-sur-sombre));
  --texte: var(--p-sur-sombre);
  --texte-doux: color-mix(in srgb, var(--p-sur-sombre) 78%, var(--p-sombre));
  --accent-encre: var(--p-accent);
  --cadre: var(--p-sur-sombre);
  --lisere: color-mix(in srgb, var(--p-sur-sombre) 16%, transparent);
  --lisere-fort: color-mix(in srgb, var(--p-sur-sombre) 32%, transparent);
  --sable: color-mix(in srgb, var(--p-sombre) 80%, var(--p-sur-sombre));
}

/* ── Les surfaces du navigateur ────────────────────────────────────── */

::selection { background: var(--p-accent); color: var(--accent-texte); }
input, textarea { caret-color: var(--p-accent-profond); }
html { scrollbar-width: thin; scrollbar-color: var(--p-accent) transparent; }

/* ── Réinitialisation ──────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  scroll-padding-top: calc(var(--haut-entete) + 1.2rem);
  background: var(--p-sombre);
}

body {
  margin: 0;
  background: var(--p-fond);
  color: var(--texte);
  font: 400 clamp(1.02rem, .98rem + .22vw, 1.14rem)/1.7 var(--texte-police);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img[hidden] { display: none; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
button, [role="button"], .bouton, .pastille, .pagination button, .tiroir-bascule,
.select-habille__bouton, .barre-appel a, .tiroir__nav a, .trouble, .question summary {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--titre-police);
  font-weight: 300;
  font-optical-sizing: auto;
  line-height: 1.04;
  letter-spacing: -.018em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 2px solid var(--texte);
  outline-offset: 3px;
  border-radius: 6px;
}

.ic { flex: none; display: inline-block; vertical-align: middle; }
.ic--rayons { color: var(--accent-encre); }

.saut-contenu {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: .8rem 1.3rem; background: var(--p-accent); color: var(--accent-texte); font-weight: 700;
}
.saut-contenu:focus { left: .5rem; top: .5rem; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.conteneur { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: var(--marge); }

/* ── Les motifs ────────────────────────────────────────────────────── */

/* Le trait de pinceau qui précède un titre. Collé au titre : plus loin,
   il flotte et ne se rattache plus à rien. */
.trait-pinceau {
  display: block; flex: none; width: 4.6rem; height: .95rem;
  background: var(--pinceau);
  -webkit-mask: var(--forme-pinceau) left center / contain no-repeat;
          mask: var(--forme-pinceau) left center / contain no-repeat;
}

/* Le cadre ouvert du logo. La photo est dedans ; le trait carré la
   déborde en haut à gauche et reste OUVERT au coin bas droit, comme sur
   le logo ; les traits jaunes du pied traversent le coin haut gauche. */
.cadre-ouvert { position: relative; isolation: isolate; }
.cadre-ouvert__photo { position: relative; z-index: 1; display: block; height: 100%; overflow: hidden; border-radius: 3px; background: var(--sable); }
.cadre-ouvert__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.cadre-ouvert::before {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
  inset: calc(var(--decal, 1.3rem) * -1) var(--decal, 1.3rem) var(--decal, 1.3rem) calc(var(--decal, 1.3rem) * -1);
  --l: 1.5px;
  background:
    linear-gradient(var(--cadre), var(--cadre)) left top / 100% var(--l) no-repeat,
    linear-gradient(var(--cadre), var(--cadre)) left top / var(--l) 100% no-repeat,
    linear-gradient(var(--cadre), var(--cadre)) right top / var(--l) 64% no-repeat,
    linear-gradient(var(--cadre), var(--cadre)) left bottom / 72% var(--l) no-repeat;
}
.cadre-ouvert__trait {
  position: absolute; z-index: 3; pointer-events: none;
  width: 34%; aspect-ratio: 963 / 1145; left: -14%; top: -18%;
  background: var(--p-accent);
  -webkit-mask: url("assets/empreinte.webp?v=2") center / contain no-repeat;
          mask: url("assets/empreinte.webp?v=2") center / contain no-repeat;
  transform: rotate(-4deg);
}
/* Les trois rayons, dans l'ouverture du cadre. */
.cadre-ouvert__pied {
  position: absolute; z-index: 3; pointer-events: none;
  width: 2.2rem; height: 2.2rem; right: calc(var(--decal, 1.3rem) - .2rem); bottom: calc(var(--decal, 1.3rem) - 2.6rem);
  background: var(--cadre);
  -webkit-mask: var(--forme-rayons) center / contain no-repeat;
          mask: var(--forme-rayons) center / contain no-repeat;
  transform: rotate(180deg);
}

/* La bulle des publications. */
.bulle-photo { position: relative; overflow: hidden; border-radius: var(--bulle); background: var(--sable); }
.rond-photo { position: relative; overflow: hidden; border-radius: 50%; background: var(--sable); aspect-ratio: 1; }
.bulle-photo img, .rond-photo img, .pastille-photo img { width: 100%; height: 100%; object-fit: cover; }

.pastille-photo { position: absolute; z-index: 4; overflow: hidden; border-radius: 50%; aspect-ratio: 1; border: 7px solid var(--fond); box-shadow: var(--ombre); background: var(--sable); }

/* ── Sections et titres ────────────────────────────────────────────── */

.section { position: relative; padding-block: var(--rythme); background: var(--fond); color: var(--texte); }
.section > .conteneur { position: relative; z-index: 1; }
/* Deux sections claires qui se suivent : un filet, jamais un aplat gris. */
.section:not([class*="section--"]) + .section:not([class*="section--"]) { border-top: 1px solid var(--lisere); }

.bloc-titre { display: flex; flex-direction: column; gap: .5rem; max-width: 48rem; margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.bloc-titre--centre { margin-inline: auto; text-align: center; align-items: center; }
.bloc-titre .chapo { margin-top: .7rem; }
.titre-section { font-size: var(--t-section); max-width: 14em; }
.titre-section--grand { font-size: clamp(2.6rem, 1.5rem + 3.7vw, 4.8rem); }
.chapo { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); color: var(--texte-doux); max-width: 40em; line-height: 1.6; }
.texte { color: var(--texte-doux); max-width: 38em; }
.texte + .texte { margin-top: 1em; }
.texte--grand { font-size: clamp(1.08rem, 1rem + .3vw, 1.24rem); }
.note { margin-top: 2rem; font-size: .92rem; color: var(--texte-doux); max-width: 52rem; }

.section__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.section__tete .bloc-titre { margin-bottom: 0; }

/* ── Boutons ───────────────────────────────────────────────────────────
   Pilule, une ligne, jamais coupée : le libellé est court par contrat.
   La police du logo (Comfortaa) pour tout ce qui se clique. */

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.55rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--ui-police); font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.bouton--grand { min-height: 58px; padding-inline: 1.9rem; font-size: 1rem; }
.bouton--accent { background: var(--accent); color: var(--accent-sur); }
.bouton--contour { border-color: var(--lisere-fort); color: var(--texte); background: transparent; }
.bouton--sombre { background: var(--accent-texte); color: var(--p-accent); }
.bouton--contour-sombre { border-color: color-mix(in srgb, var(--accent-texte) 55%, transparent); color: var(--accent-texte); }
@media (hover: hover) and (pointer: fine) {
  .bouton--accent:hover { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--p-encre) 60%, transparent); transform: translateY(-1px); }
  .bouton--contour:hover { border-color: var(--texte); }
  .bouton--sombre:hover { transform: translateY(-1px); }
  .bouton--contour-sombre:hover { border-color: var(--accent-texte); background: color-mix(in srgb, var(--accent-texte) 8%, transparent); }
  .bouton:hover .ic { transform: translateX(2px); }
}
.bouton .ic { transition: transform .25s; }

/* Un lien qui avance : souligné d'un trait jaune épais, comme un coup de
   surligneur. */
.lien-fleche {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ui-police); font-size: .92rem; font-weight: 700; color: var(--texte);
  background: linear-gradient(var(--pinceau), var(--pinceau)) left 92% / 100% .35em no-repeat;
  padding-bottom: .1rem;
  transition: gap .25s, background-size .25s;
}
@media (hover: hover) and (pointer: fine) { .lien-fleche:hover { gap: .75rem; background-size: 100% .6em; } }

/* ── En-tête ───────────────────────────────────────────────────────────
   Posé SUR le haut de page (fixed) : le héros reste plein écran, et
   l'en-tête prend un fond dès qu'on défile. */

.entete {
  position: fixed; inset: 0 0 auto; z-index: 90;
  color: var(--p-encre);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.entete.est-defilee {
  background: color-mix(in srgb, var(--p-fond) 95%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--lisere);
}
/* Sur l'aplat jaune du haut de page « Soleil », l'en-tête prend le même
   fond tant qu'on n'a pas défilé : le logo jaune reste lisible. */
html[data-page="accueil"][data-hero="soleil"] .entete:not(.est-defilee) { color: var(--accent-texte); }
.entete__dedans {
  display: flex; align-items: center; gap: 1.4rem;
  max-width: var(--large); margin-inline: auto;
  min-height: 98px; padding: .5rem var(--marge);
  transition: min-height .35s;
}
.entete.est-defilee .entete__dedans { min-height: 76px; }
.marque { display: flex; align-items: center; gap: .9rem; flex: none; }
/* Deux versions du logo : la foncée sur un fond clair, la claire sur un
   fond sombre. Le ton vient du thème (data-ton sur <html>). */
html:not([data-ton="sombre"]) .marque__logo--fond-sombre,
html[data-ton="sombre"] .marque__logo--fond-clair { display: none; }
/* Sur l'aplat jaune du haut de page « Soleil », les traits jaunes du logo
   disparaîtraient : la version à l'encre prend le relais tant qu'on n'a
   pas défilé. */
.marque__logo--soleil { display: none; }
html[data-page="accueil"][data-hero="soleil"] .entete:not(.est-defilee) .marque__logo--soleil { display: block; }
html[data-page="accueil"][data-hero="soleil"] .entete:not(.est-defilee) :is(.marque__logo--fond-clair, .marque__logo--fond-sombre) { display: none; }
.marque__logo { height: 70px; width: auto; transition: height .35s; }
.entete.est-defilee .marque__logo { height: 56px; }
.marque__texte { display: flex; flex-direction: column; line-height: 1.25; font-family: var(--ui-police); }
.marque__texte b { font-size: .92rem; font-weight: 700; }
.marque__texte span { font-size: .8rem; font-weight: 500; color: var(--p-doux); }
html[data-page="accueil"][data-hero="soleil"] .entete:not(.est-defilee) .marque__texte span { color: color-mix(in srgb, var(--accent-texte) 80%, var(--p-accent)); }

.menu { margin-left: auto; }
.menu ul { display: flex; gap: clamp(1rem, 1.6vw, 1.9rem); }
.menu a {
  position: relative; display: inline-block; padding-block: .5rem;
  font-family: var(--ui-police); font-size: .92rem; font-weight: 600; letter-spacing: .005em; white-space: nowrap;
}
.menu a::after {
  content: ''; position: absolute; left: -.2rem; right: -.2rem; bottom: .2rem; height: .55rem; z-index: -1;
  background: var(--p-accent);
  -webkit-mask: var(--forme-pinceau) center / 100% 100% no-repeat; mask: var(--forme-pinceau) center / 100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
html[data-hero="soleil"][data-page="accueil"] .entete:not(.est-defilee) .menu a::after { background: var(--accent-texte); opacity: .25; }
.menu a.est-actif::after, .menu a:hover::after { transform: scaleX(1); }
/* En mode édition, le ::after d'un lien porte l'étiquette de l'éditeur :
   le trait de pinceau du menu s'y mêlait. On le rend à l'éditeur. */
body.edit-mode .menu a[data-edit]::after { -webkit-mask: none; mask: none; left: 50%; right: auto; bottom: auto; height: auto; z-index: 10000; transform: translateX(-50%); }

.entete__actions { display: flex; align-items: center; gap: .7rem; }
.entete__tel { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 .6rem; font-family: var(--ui-police); font-size: .9rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.entete__rdv { min-height: 46px; padding-inline: 1.2rem; font-size: .9rem; }
html[data-page="accueil"][data-hero="soleil"] .entete:not(.est-defilee) .entete__rdv { background: var(--accent-texte); color: var(--p-accent); }

.choix-langue { position: relative; }
.choix-langue__bouton { min-height: 44px; padding: 0 .8rem; background: none; border: 1px solid var(--lisere); border-radius: 999px; font-size: .85rem; letter-spacing: .08em; }
.choix-langue__liste { position: absolute; right: 0; top: calc(100% + .4rem); display: none; flex-direction: column; min-width: 10rem; padding: .4rem; background: var(--p-fond); border: 1px solid var(--lisere); border-radius: var(--rayon-s); box-shadow: var(--ombre); }
.choix-langue[data-ouvert] .choix-langue__liste { display: flex; }
.choix-langue__liste a, .choix-langue__liste span { padding: .55rem .8rem; border-radius: 8px; }

.tiroir-bascule { display: none; place-items: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; color: inherit; }
.tiroir-bascule__croix { display: none; }
.tiroir-bascule[aria-expanded="true"] .tiroir-bascule__menu { display: none; }
.tiroir-bascule[aria-expanded="true"] .tiroir-bascule__croix { display: block; }

/* ── Le tiroir ─────────────────────────────────────────────────────── */

.tiroir {
  position: fixed; inset: var(--haut-entete) 0 0; z-index: 85;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 1.6rem var(--marge) calc(1.6rem + env(safe-area-inset-bottom));
  background: var(--p-fond); color: var(--p-encre); overflow-y: auto; overscroll-behavior: contain;
}
.tiroir[hidden] { display: none; }
.tiroir__nav a {
  display: block; padding: .5rem 0;
  font-family: var(--titre-police); font-size: clamp(1.9rem, 7.6vw, 2.7rem); font-weight: 300; line-height: 1.15;
  border-bottom: 1px solid var(--lisere);
}
.tiroir__nav a.est-actif { font-style: italic; background: linear-gradient(var(--p-accent), var(--p-accent)) left 70% / 3.4rem .45em no-repeat; }
.tiroir__pied { display: flex; flex-direction: column; gap: .9rem; }
.tiroir__rdv { width: 100%; }
.tiroir__appel { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border-radius: var(--rayon-s); border: 1.5px solid var(--lisere-fort); }
.tiroir__appel-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--p-sable); }
.tiroir__appel-texte { display: flex; flex-direction: column; line-height: 1.3; }
.tiroir__appel-texte i { font-style: normal; font-size: .85rem; color: var(--p-doux); }
.tiroir__appel-texte b { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.tiroir__adresse { color: var(--p-doux); font-size: .95rem; }

/* ── Bandeau d'annonce ─────────────────────────────────────────────── */

.annonce { background: var(--p-encre); color: var(--p-fond); font-size: .88rem; }
html[data-ton="sombre"] .annonce { background: var(--p-accent); color: var(--accent-texte); }
.annonce[hidden] { display: none; }
.annonce__dedans { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 40px; padding-block: .35rem; text-align: center; line-height: 1.45; }
.annonce__dedans p .ic { display: inline-block; vertical-align: -.15em; margin-right: .45rem; color: var(--p-accent); }
html[data-ton="sombre"] .annonce__dedans p .ic { color: currentColor; }
.annonce a { font-weight: 700; border-bottom: 1.5px solid var(--p-accent); white-space: nowrap; }
.annonce__fermer { display: grid; place-items: center; width: 34px; height: 34px; margin-left: .3rem; padding: 0; background: none; border: 0; color: inherit; opacity: .75; }

/* ══ Les hauts de page ═════════════════════════════════════════════════
   100 svh ET PLEIN : les repères sont dedans, en pied d'écran. Le texte
   est ANCRÉ EN HAUT par un rembourrage constant : le titre tombe à la
   même hauteur sur toutes les pages. Le héros est en grid, jamais en flex
   (un flex:1 écrasait la largeur du conteneur). */

.hero { position: relative; display: grid; min-height: 100svh; overflow: hidden; background: var(--p-fond); color: var(--p-encre); isolation: isolate; }
.hero[hidden] { display: none; }
.hero__dedans {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: 1fr auto;
  column-gap: clamp(2rem, 5vw, 5.5rem);
  width: 100%; max-width: var(--large); margin-inline: auto;
  padding: calc(var(--haut-entete) + clamp(1rem, 5vh, 4.5rem)) var(--marge) 0;
}
.hero__texte { grid-column: 1; grid-row: 1; align-self: start; display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 3; }
.hero .reperes { position: relative; z-index: 3; }
.titre-hero { font-size: var(--t-hero); line-height: .98; max-width: 10.5em; letter-spacing: -.025em; }
.chapo--hero { margin-top: clamp(1.2rem, 2.4vh, 1.8rem); max-width: 33em; }
.hero__boutons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(1.6rem, 3.6vh, 2.6rem); }

.hero__visuel { grid-column: 2; grid-row: 1; position: relative; display: grid; place-items: center; min-height: 0; }

/* Les repères. Une valeur tient en un mot. */
.reperes {
  grid-column: 1 / -1; grid-row: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(1rem, 3vh, 3rem);
  border-top: 1.5px solid var(--lisere-fort);
}
.repere { display: flex; flex-direction: column; gap: .3rem; padding: clamp(.8rem, 2.2vh, 1.6rem) 1.4rem clamp(.9rem, 2.6vh, 2rem) 0; }
.repere + .repere { padding-left: 1.4rem; border-left: 1px solid var(--lisere); }
.repere b { font-family: var(--titre-police); font-size: clamp(1.6rem, 1.15rem + 1.1vw, 2.4rem); font-weight: 400; line-height: 1; white-space: nowrap; }
.repere span { font-size: .88rem; color: var(--texte-doux); line-height: 1.4; }

/* ── A · Cadre ── */
/* Un voile de jaune à peine perceptible : sur le même blanc que
   l'introduction, on ne verrait plus où le haut de page s'arrête. */
.hero--cadre { --decal: clamp(1rem, 1.6vw, 1.6rem); background: color-mix(in srgb, var(--p-accent) 11%, var(--p-fond)); }
.hero--cadre .pastille-photo { border-color: color-mix(in srgb, var(--p-accent) 11%, var(--p-fond)); }
.hero--cadre .hero__visuel { place-items: center; }
.hero--cadre .cadre-ouvert--hero { width: min(100%, 36rem); height: clamp(18rem, 50svh, 36rem); }
.hero--cadre .cadre-ouvert--hero .cadre-ouvert__photo img { object-position: 78% 45%; }
.hero--cadre .cadre-ouvert__trait { width: 30%; left: -11%; top: -15%; }
.hero--cadre .pastille-photo { width: clamp(7.5rem, 15svh, 11.5rem); left: max(-2rem, calc(50% - 20rem)); bottom: 4%; }

/* ── B · Plante ── */
.hero--plante { background: var(--p-sable); --peau: var(--p-fond); }
.plante-hero { position: relative; height: clamp(20rem, 62svh, 44rem); aspect-ratio: 340 / 720; }
.plante-hero .plante { width: 100%; height: 100%; overflow: visible; }
.pastille-photo--plante { width: clamp(7rem, 15svh, 11rem); right: -55%; bottom: 10%; border-color: var(--p-sable); }
/* Les zones s'allument l'une après l'autre : la lecture d'une plante. */
.hero--plante .zone { animation: zone-lue 13.2s ease-in-out infinite both; }
.hero--plante .zone[data-zone="tete"] { animation-delay: 0s; }
.hero--plante .zone[data-zone="thorax"] { animation-delay: 2.2s; }
.hero--plante .zone[data-zone="plexus"] { animation-delay: 4.4s; }
.hero--plante .zone[data-zone="reins"] { animation-delay: 6.6s; }
.hero--plante .zone[data-zone="ventre"] { animation-delay: 8.8s; }
.hero--plante .zone[data-zone="colonne"] { animation-delay: 11s; }
@keyframes zone-lue { 0%, 22%, 100% { opacity: .0; } 6%, 14% { opacity: .9; } }

/* ── C · Soleil ── */
.hero--soleil { background: var(--fond); color: var(--texte); }
.hero--soleil .ondes { position: absolute; z-index: 1; left: -2rem; bottom: calc(clamp(6rem, 14vh, 9rem) + 2rem); width: clamp(10rem, 20vw, 18rem); fill: none; stroke: color-mix(in srgb, var(--accent-texte) 40%, transparent); stroke-width: 2.4; stroke-linecap: round; pointer-events: none; }
.hero--soleil .bulle-photo { width: min(100%, 38rem); height: clamp(18rem, 56svh, 40rem); border-radius: var(--bulle-pointe); box-shadow: 0 30px 70px -36px rgba(40, 30, 0, .6); }
.hero--soleil .bulle-photo img { object-position: 50% 35%; }
.hero--soleil .reperes { border-top-color: color-mix(in srgb, var(--accent-texte) 35%, transparent); }

/* ── Le haut des autres pages : même ancrage, le cadre ouvert à côté ── */
.hero--page { min-height: auto; background: var(--p-sable); --decal: clamp(.9rem, 1.4vw, 1.4rem); }
.hero--page .hero__dedans { grid-template-rows: auto; padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.hero--page .cadre-ouvert--page { justify-self: end; width: min(100%, 30rem); height: clamp(18rem, 50svh, 34rem); }
.hero--page .hero__visuel { place-items: center end; }
.hero--page .titre-hero { font-size: clamp(2.8rem, 1.7rem + 4vw, 5.6rem); }

/* Grand écran : la photo DÉBORDE dans la section suivante — la limite
   entre les deux fonds devient un geste voulu, pas une coupure. */
@media (min-width: 901px) {
  .hero--page { overflow: visible; z-index: 2; --debord: clamp(4rem, 8vw, 7rem); }
  .hero--page .cadre-ouvert--page { margin-bottom: calc(-1 * var(--debord)); }
  .hero--page + .section { padding-top: calc(var(--rythme) + clamp(3rem, 6vw, 5rem)); }
  .hero--page + .fiches-soins { padding-top: calc(clamp(4rem, 8vw, 7rem) + 1.6rem); }
  .hero--page .cadre-ouvert__photo { box-shadow: 0 34px 70px -32px color-mix(in srgb, var(--p-encre) 55%, transparent); }
}

/* ── Le commutateur de relecture ── */
.commutateur {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 95;
  width: 19.5rem; padding: 0 .8rem .8rem; max-height: calc(100svh - 2rem); overflow-y: auto;
  background: rgba(27, 25, 21, .97); color: #fff;
  border-radius: 18px; box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
  font-size: .9rem;
}
.commutateur[hidden] { display: none; }
.commutateur.est-repliee { padding-bottom: 0; }
.commutateur.est-repliee .commutateur__corps { display: none; }
.commutateur__poignee { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; min-height: 50px; padding: 0 .2rem; background: none; border: 0; color: #fff; }
.commutateur__poignee .ic { transform: rotate(90deg); transition: transform .2s; }
.commutateur.est-repliee .commutateur__poignee .ic { transform: rotate(-90deg); }
.commutateur__titre { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-align: left; white-space: nowrap; }
.commutateur__groupe { display: flex; align-items: center; justify-content: space-between; margin: .4rem 0 .35rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.commutateur__choix { display: grid; gap: .3rem; }
.commutateur__choix button { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .7rem; text-align: left; background: rgba(255, 255, 255, .06); border: 1px solid transparent; border-radius: 10px; color: rgba(255, 255, 255, .86); }
.commutateur__choix button[aria-checked="true"] { background: rgba(255, 255, 255, .14); border-color: #f7cf2c; color: #fff; }
.commutateur__choix strong { font-weight: 600; }
.commutateur__choix--rangee { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); margin-bottom: .3rem; }
.commutateur__choix--rangee button { justify-content: center; padding-inline: .3rem; min-height: 40px; }
.commutateur__pastilles { display: inline-flex; flex: none; }
.commutateur__pastilles i { width: 16px; height: 16px; border-radius: 50%; margin-left: -5px; border: 1px solid rgba(255, 255, 255, .5); }
.commutateur__pastilles i:first-child { margin-left: 0; }
.commutateur__rejouer { display: inline-flex; align-items: center; gap: .3rem; min-height: 30px; padding: 0 .6rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: none; color: #fff; font-size: .72rem; letter-spacing: .04em; text-transform: none; }
.commutateur__rejouer .ic { transform: rotate(180deg) scaleX(-1); }

/* ══ L'accueil ═════════════════════════════════════════════════════════ */

.intro__dedans { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro__texte { display: flex; flex-direction: column; gap: 1.2rem; }
.intro__texte .trait-pinceau { margin-bottom: -.7rem; }
.intro__texte .titre-section { margin-bottom: .6rem; }
.intro__image { width: 100%; max-width: 26rem; justify-self: end; box-shadow: var(--ombre); outline: 1.5px solid var(--cadre); outline-offset: 14px; }

/* ── La plante du pied, dessinée ── */
.plante .plante__peau { fill: var(--peau); }
.plante .plante__contour { fill: none; stroke: var(--cadre); stroke-width: 1.6; stroke-linejoin: round; }
.plante .zone { fill: var(--p-accent); stroke: none; opacity: 0; transition: opacity .5s cubic-bezier(.22, 1, .36, 1); }
.plante .zone .zone__trait { fill: none; stroke: var(--p-accent); stroke-width: 15; stroke-linecap: round; }
.plante .zone.est-active { opacity: .92; }
/* Au repos, chaque zone se lit en pointillé : une carte, pas une semelle. */
.plante .plante__pointilles { fill: none; stroke: var(--cadre); stroke-opacity: .42; stroke-width: 1.3; stroke-dasharray: 1.5 5; stroke-linecap: round; pointer-events: none; }
.plante .plante__pointilles .zone__trait { stroke-width: 1.3; }

/* La carte des zones. */
.zones { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.zones__troubles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.zones__troubles li[hidden] { display: none; }
.trouble {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; width: 100%; height: 100%;
  padding: 1.15rem 1.3rem; text-align: left;
  background: var(--surface); border: 1.5px solid transparent; border-radius: var(--rayon-s);
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.trouble__nom { font-family: var(--titre-police); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.65rem); line-height: 1.15; }
.trouble__texte { font-size: .95rem; color: var(--texte-doux); }
.trouble[aria-pressed="true"] { border-color: var(--cadre); box-shadow: 6px 6px 0 var(--p-accent); }
.trouble[aria-pressed="true"] .trouble__nom { background: linear-gradient(var(--p-accent), var(--p-accent)) left 85% / 100% .32em no-repeat; }
@media (hover: hover) and (pointer: fine) { .trouble[aria-pressed="false"]:hover { border-color: var(--lisere-fort); } }
.zones__dessin { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.zones__dessin .plante { height: clamp(22rem, 62vh, 36rem); width: auto; overflow: visible; }
.zones__legende { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.4rem; padding: .3rem 1.1rem; border-radius: 999px; background: var(--surface); font-family: var(--ui-police); font-size: .9rem; font-weight: 700; }
.zones__legende .ic { transform: scaleX(-1); }
.zones__nom[hidden] { display: none; }
/* Sans script, rien ne s'allume : la légende n'a rien à dire. */
html:not(.js) .zones__legende { display: none; }

/* Les soins, en cartes. */
.soins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2.2vw, 2.2rem); }
.soin { display: flex; flex-direction: column; gap: 1.1rem; }
.soin[hidden] { display: none; }
.soin__photo { display: block; overflow: hidden; aspect-ratio: 4 / 4.6; border-radius: var(--bulle-pointe); background: var(--sable); }
.soin:nth-child(even) .soin__photo { border-radius: 999px 999px 26px 999px; }
.soin__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (pointer: fine) { .soin:hover .soin__photo img { transform: scale(1.05); } }
.soin__corps { display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.soin__nom { font-size: var(--t-carte); }
.soin__nom a::after { content: ''; position: absolute; inset: 0; }
.soin { position: relative; }
.soin__accroche { color: var(--texte-doux); }
.soin__infos { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.soin .lien-fleche { align-self: flex-start; margin-top: auto; padding-top: .4rem; }
.duree, .prix { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; padding: .15rem .8rem; border-radius: 999px; background: var(--sable); font-size: .9rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.section--sable .duree, .section--sable .prix { background: var(--surface); }
.duree[hidden], .prix [hidden] { display: none; }
.prix { gap: 0; background: var(--p-accent); color: var(--accent-texte); }

/* Les bulles « Rappelle-toi que… ». */
.rappels { overflow: hidden; }
.rappels__titre { text-align: center; font-size: var(--t-section); font-style: italic; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.bulles { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.4rem, 3vw, 2.6rem) clamp(1rem, 2.4vw, 2rem); max-width: 72rem; margin-inline: auto; }
.bulle {
  position: relative; flex: 0 1 19rem;
  padding: 1.7rem 1.8rem 1.8rem;
  background: var(--p-accent); color: var(--accent-texte);
  border-radius: 28px;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); font-weight: 600; line-height: 1.45; text-align: center;
  box-shadow: 0 18px 34px -24px rgba(60, 45, 0, .6);
}
.bulle::after { content: ''; position: absolute; left: 2.2rem; bottom: -.9rem; width: 1.6rem; height: 1.6rem; background: inherit; clip-path: polygon(0 0, 100% 0, 10% 100%); }
.bulle:nth-child(odd) { transform: rotate(-1.6deg); }
.bulle:nth-child(even) { transform: rotate(1.2deg) translateY(1.2rem); }
.bulle:nth-child(even)::after { left: auto; right: 2.2rem; clip-path: polygon(0 0, 100% 0, 90% 100%); }
/* Les trois rayons au coin, comme sur les publications : un ornement, posé
   en pseudo-élément (ce n'est pas une icône qui accompagne le texte). */
.bulle::before { content: ''; position: absolute; left: -.9rem; top: -1.1rem; width: 1.65rem; height: 1.65rem; background: var(--p-encre); -webkit-mask: var(--forme-rayons) center / contain no-repeat; mask: var(--forme-rayons) center / contain no-repeat; }
html[data-ton="sombre"] .bulle::before { background: var(--p-accent); }

/* Image + texte. */
.duo__dedans { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.4rem, 6vw, 6.5rem); align-items: center; }
.duo--inverse .duo__image { order: 2; }
.duo__image { width: 100%; max-width: 32rem; aspect-ratio: 4 / 4.6; --decal: clamp(.9rem, 1.4vw, 1.3rem); }
.duo__image.rond-photo { aspect-ratio: 1; box-shadow: var(--ombre); }
.duo--inverse .duo__image { justify-self: end; }
.duo__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 1.3rem; min-width: 0; }
.duo__texte .bloc-titre { margin-bottom: 0; }
.duo__boutons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; }
:is(.intro__texte, .duo__texte, .terme__texte) > .texte + .texte { margin-top: -.4rem; }
.section--soleil .rond-photo { outline: 1.5px solid var(--cadre); outline-offset: 14px; }

.encart { display: flex; flex-direction: column; gap: .5rem; max-width: 36rem; padding: 1.3rem 1.5rem; border-radius: var(--rayon-s); background: var(--sable); border-left: 4px solid var(--p-accent); }
.encart__titre { display: flex; align-items: flex-start; gap: .5rem; font-family: var(--titre-police); font-size: 1.35rem; line-height: 1.25; }
.encart__titre .ic { margin-top: calc((1lh - 18px) / 2); }
.encart p:not(.encart__titre) { color: var(--texte-doux); font-size: .97rem; }

.liste-rayons { display: flex; flex-direction: column; gap: .65rem; }
.liste-rayons li { position: relative; padding-left: 1.9rem; }
.liste-rayons li::before {
  content: ''; position: absolute; left: 0; top: calc((1lh - 1.2rem) / 2); width: 1.2rem; height: 1.2rem;
  background: var(--accent-encre);
  -webkit-mask: var(--forme-rayons) center / contain no-repeat; mask: var(--forme-rayons) center / contain no-repeat;
}
.liste-rayons__puce { display: none; }
.liste-rayons--cartes { display: grid; gap: .8rem; }
.liste-rayons--cartes li { padding: 1.1rem 1.3rem 1.1rem 3.2rem; background: var(--p-fond); color: var(--p-encre); border-radius: var(--rayon-s); }
.liste-rayons--cartes li::before { left: 1.3rem; top: calc(1.1rem + (1lh - 1.2rem) / 2); background: var(--p-accent-profond); }

/* Les lieux. */
.lieux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.lieu { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.8rem, 3vw, 2.8rem); background: var(--surface); border-radius: var(--rayon); }
.lieu[hidden] { display: none; }
/* Un petit cadre ouvert, comme celui du logo. */
.lieu__marque { width: 2.6rem; height: 2.6rem; --l: 1.5px;
  background:
    linear-gradient(var(--cadre), var(--cadre)) left top / 100% var(--l) no-repeat,
    linear-gradient(var(--cadre), var(--cadre)) left top / var(--l) 100% no-repeat,
    linear-gradient(var(--cadre), var(--cadre)) right top / var(--l) 62% no-repeat,
    linear-gradient(var(--cadre), var(--cadre)) left bottom / 70% var(--l) no-repeat,
    linear-gradient(135deg, transparent 30%, var(--p-accent) 30% 55%, transparent 55%) center / 80% 80% no-repeat;
}
.lieu__nom { font-size: var(--t-carte); }
.lieu__adresse { color: var(--texte-doux); }
.lieu .lien-fleche { align-self: flex-start; margin-top: auto; }
/* Dans une carte, le jour peut être une phrase (« Chaque premier mardi du
   mois ») : il prend la place, l'heure se cale à droite sans plier. */
.lieu .horaire { grid-template-columns: minmax(0, 1fr) auto; }

/* Les actualités. */
.actus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.actu { display: flex; flex-direction: column; gap: 1.1rem; }
.actu[hidden], .actu.hors-page { display: none; }
.actu__photo { position: relative; aspect-ratio: 1; border-radius: var(--rayon); overflow: hidden; background: var(--sable); cursor: zoom-in; }
.actu__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (pointer: fine) { .actu__photo:hover img { transform: scale(1.04); } }
.actu__passe { position: absolute; top: 1rem; left: 1rem; padding: .35rem .85rem; border-radius: 999px; background: var(--p-encre); color: var(--p-fond); font-size: .8rem; font-weight: 700; }
.actu__passe[hidden] { display: none; }
.actu__corps { display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.actu__corps time { font-family: var(--ui-police); font-size: .82rem; font-weight: 700; color: var(--accent-encre); }
.actu__corps h3 { font-size: var(--t-carte); }
.actu__corps p { color: var(--texte-doux); }
.actu__lien { align-self: flex-start; margin-top: auto; }

/* Pagination. */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.4rem; }
.pagination[hidden] { display: none; }
.pagination button { min-width: 44px; height: 44px; padding: 0 .5rem; border-radius: 50%; border: 1.5px solid var(--lisere-fort); background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; }
.pagination button[aria-current="true"] { background: var(--p-accent); border-color: var(--p-accent); color: var(--accent-texte); }
.hors-page { display: none !important; }

/* L'appel de bas de page : l'aplat jaune, le numéro en grand. */
.appel { position: relative; overflow: hidden; padding-block: var(--rythme); background: var(--fond); color: var(--texte); text-align: center; }
.appel__empreinte { position: absolute; right: -4%; top: -16%; width: min(40vw, 30rem); aspect-ratio: 963 / 1145; background: var(--accent-texte); opacity: .08; -webkit-mask: url("assets/empreinte.webp?v=2") center / contain no-repeat; mask: url("assets/empreinte.webp?v=2") center / contain no-repeat; pointer-events: none; transform: rotate(12deg); }
.appel__dedans { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.appel__rayons { color: var(--accent-texte); }
.appel .titre-section { margin-inline: auto; }
.appel .chapo { margin-inline: auto; }
.appel__numero { margin-top: .4rem; font-family: var(--titre-police); font-size: clamp(2.5rem, 1.5rem + 4vw, 5.2rem); font-weight: 300; line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums; }
.appel__boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1rem; }

/* ══ Les soins ═════════════════════════════════════════════════════════ */

.fiches-soins { padding-top: 0; }
/* Le sommaire colle sous l'en-tête. Son fond ne se pose qu'une fois collé
   (mesure directe au défilement, script.js), quasi opaque. */
.sommaire { position: sticky; top: var(--haut-entete); z-index: 40; padding-block: .9rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.sommaire.est-collee { background: color-mix(in srgb, var(--p-fond) 97%, transparent); border-bottom-color: var(--lisere); }
.pastilles { display: flex; gap: .5rem; flex-wrap: wrap; }
.pastilles li[hidden] { display: none; }
.pastille { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--lisere-fort); background: var(--p-fond); font-family: var(--ui-police); font-size: .88rem; font-weight: 700; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.pastille.est-active { background: var(--p-accent); border-color: var(--p-accent); color: var(--accent-texte); }
@media (hover: hover) and (pointer: fine) { .pastille:not(.est-active):hover { border-color: var(--texte); } }

.fiches { display: flex; flex-direction: column; gap: clamp(4.5rem, 9vw, 8rem); }
.fiche-soin { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; scroll-margin-top: calc(var(--haut-entete) + 5.5rem); }
.fiche-soin[hidden] { display: none; }
.fiche-soin--inverse .fiche-soin__photo { order: 2; justify-self: end; }
.fiche-soin__photo { width: 100%; max-width: 32rem; aspect-ratio: 4 / 4.4; box-shadow: var(--ombre); }
.fiche-soin--inverse .fiche-soin__photo { border-radius: 52% 48% 50% 50% / 46% 44% 56% 54%; }
.fiche-soin__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.fiche-soin__texte .trait-pinceau { margin-bottom: -.6rem; }
.fiche-soin__nom { font-size: clamp(2.3rem, 1.5rem + 2.7vw, 3.8rem); }
.fiche-soin__accroche { font-family: var(--titre-police); font-style: italic; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); line-height: 1.35; color: var(--texte-doux); }
.fiche-soin__infos { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding-block: .9rem; border-block: 1px solid var(--lisere); width: 100%; }
.fiche-soin__infos > div { display: flex; align-items: center; gap: .7rem; }
.fiche-soin__infos > div[hidden] { display: none; }
.fiche-soin__infos dt { font-size: .85rem; color: var(--texte-doux); }
.fiche-soin__infos dd { display: flex; align-items: center; gap: .4rem; }
.fiche-soin__infos small { font-size: .85rem; color: var(--texte-doux); }
.fiche-soin__conseil { display: flex; align-items: flex-start; gap: .5rem; font-weight: 700; }
.fiche-soin__conseil[hidden] { display: none; }
.fiche-soin__conseil .ic { margin-top: calc((1lh - 16px) / 2); }
.fiche-soin__bienfaits { display: flex; flex-direction: column; gap: .8rem; padding: 1.3rem 1.5rem; border-radius: var(--rayon-s); background: var(--sable); width: 100%; }
.fiche-soin__bienfaits h3 { font-size: 1.4rem; font-style: italic; }
/* Un soin ajouté sans bienfaits n'affiche pas un encadré vide. */
.fiche-soin__bienfaits:has(ul:empty) { display: none; }
.fiche-soin__bienfaits .liste-rayons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .6rem 1.4rem; }

.apports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }
.apport { display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.6rem, 2.6vw, 2.2rem); border-radius: var(--rayon); background: var(--surface); }
.apport__rang { font-family: var(--titre-police); font-size: 3rem; line-height: 1; color: var(--p-accent); }
.apport h3 { font-size: var(--t-carte); }
.apport p { color: var(--texte-doux); font-size: .97rem; }

.faq__dedans { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq { display: flex; flex-direction: column; }
.question { border-bottom: 1px solid var(--lisere-fort); }
.question:first-child { border-top: 1px solid var(--lisere-fort); }
.question summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; min-height: 56px; padding-block: 1.1rem; list-style: none; cursor: pointer; font-family: var(--titre-police); font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); line-height: 1.3; }
.question summary::-webkit-details-marker { display: none; }
.question__signe { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--p-accent); color: var(--accent-texte); transition: transform .3s; }
.question[open] .question__signe { transform: rotate(45deg); }
.question p { padding: 0 3rem 1.4rem 0; color: var(--texte-doux); }

/* ══ Future maman ══════════════════════════════════════════════════════ */

.terme__dedans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.terme__texte { display: flex; flex-direction: column; gap: 1.2rem; }
.terme__texte .bloc-titre { margin-bottom: 0; }
.seances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); max-width: 60rem; margin-inline: auto; }
.seance { display: flex; flex-direction: column; gap: .4rem; padding: 1.6rem 1.8rem; border-radius: var(--rayon); background: var(--surface); border: 1.5px solid transparent; transition: border-color .25s; }
/* Le nom et la flèche dans une même ligne de texte : la flèche se cale sur
   la PREMIÈRE ligne du nom, même quand il plie. */
.seance__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; font-family: var(--titre-police); font-size: var(--t-carte); line-height: 1.15; }
.seance__tete .ic { margin-top: calc((1lh - 18px) / 2); }
.seance[hidden] { display: none; }
.seance__infos { color: var(--texte-doux); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .seance:hover { border-color: var(--cadre); } }

/* ══ Manuella ══════════════════════════════════════════════════════════ */

.parcours { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--lisere); width: 100%; }
.parcours__titre { font-size: 1.6rem; font-style: italic; }
.intention__dedans { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intention__photo { width: 100%; max-width: 24rem; box-shadow: var(--ombre); }
.intention__citation { position: relative; display: flex; flex-direction: column; gap: 1.2rem; }
.intention__citation p { font-family: var(--titre-police); font-style: italic; font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.8rem); line-height: 1.25; }
.intention__citation footer { font-family: var(--ui-police); font-weight: 700; }
.intention__citation::before { content: ''; display: block; width: 2rem; height: 2rem; background: var(--accent-texte); -webkit-mask: var(--forme-rayons) center / contain no-repeat; mask: var(--forme-rayons) center / contain no-repeat; }
.evoluer { max-width: 56rem; }

/* ══ Bons cadeaux ══════════════════════════════════════════════════════ */

.bon__dedans { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.bon__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.bon__texte .bloc-titre { margin-bottom: 0; }
.offrir { display: flex; flex-direction: column; gap: 1rem; }
.offrir li { display: flex; align-items: center; gap: 1rem; font-size: 1.08rem; }
.picto { display: grid; place-items: center; flex: none; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--p-accent); color: var(--accent-texte); }
.bon__mot { font-family: var(--titre-police); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); padding: .8rem 1.3rem; background: linear-gradient(var(--p-accent-clair), var(--p-accent-clair)) center / 100% 70% no-repeat; }
.bon__photo { width: 100%; max-width: 26rem; aspect-ratio: 4 / 5.4; justify-self: center; box-shadow: var(--ombre); }
.bon__photo img { object-position: 50% 60%; }

.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 3rem); }
.etape { position: relative; display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center; padding-inline: 1rem; }
.etape__rang { position: relative; z-index: 1; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--p-accent); color: var(--accent-texte); font-family: var(--titre-police); font-size: 1.9rem; }
.etape:not(:last-child)::after { content: ''; position: absolute; top: 2.1rem; left: calc(50% + 2.6rem); right: calc(-50% + 2.6rem); height: 1.5px; background: var(--lisere-fort); }
.etape h3 { font-size: var(--t-carte); }
.etape p { color: var(--texte-doux); max-width: 18em; }

.demande { max-width: 62rem; }

/* ══ Contact ═══════════════════════════════════════════════════════════ */

.contact__dedans { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__coordonnees { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
.contact__coordonnees .bloc-titre { margin-bottom: 0; }
.contact__telephone { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--titre-police); font-size: clamp(2.1rem, 1.5rem + 2vw, 3.1rem); font-weight: 300; line-height: 1.1; white-space: nowrap; }
.contact__telephone .ic { color: var(--accent-encre); }
.fiche { display: flex; flex-direction: column; width: 100%; }
.fiche > div { display: grid; grid-template-columns: minmax(6rem, 8rem) 1fr; gap: 1rem; align-items: start; padding-block: .9rem; border-top: 1px solid var(--lisere); }
.fiche > div[hidden] { display: none; }
.fiche dt { font-size: .88rem; color: var(--texte-doux); padding-top: .1rem; }
.fiche dd { overflow-wrap: anywhere; }
.fiche dd a { background: linear-gradient(var(--p-accent), var(--p-accent)) left 92% / 100% .3em no-repeat; }
.fiche dd .lien-messenger { display: inline-flex; align-items: flex-start; gap: .45rem; background: none; }
.fiche dd .lien-messenger span { background: linear-gradient(var(--p-accent), var(--p-accent)) left 92% / 100% .3em no-repeat; }
.fiche dd .lien-messenger .ic { margin-top: calc((1lh - 17px) / 2); color: var(--accent-encre); }
.contact__formulaire { padding: clamp(1.6rem, 3vw, 3rem); border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--lisere); scroll-margin-top: calc(var(--haut-entete) + 1rem); }
.contact__formulaire .bloc-titre { margin-bottom: 1.8rem; }

.horaires { display: flex; flex-direction: column; }
.horaire { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: 1rem; padding-block: .45rem; border-bottom: 1px solid var(--lisere); }
.horaire dd { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
.horaire dd span, .horaire dd em { white-space: nowrap; }
.horaire .ferme { color: var(--texte-doux); }
.horaires-bloc[hidden], .sur-rdv[hidden] { display: none; }
.sur-rdv { display: flex; flex-direction: column; gap: .4rem; }
.sur-rdv__titre { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--titre-police); font-size: 1.5rem; }
.sur-rdv__texte { color: var(--texte-doux); font-size: .95rem; }

/* Le formulaire. */
.formulaire { display: flex; flex-direction: column; gap: 1.1rem; }
.formulaire__rangee { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.1rem; }
.champ { display: flex; flex-direction: column; gap: .4rem; }
/* Deux lignes de haut, texte en bas : les champs d'une rangée s'alignent
   même si un libellé plie. */
.champ__libelle { display: flex; align-items: flex-end; min-height: 2.4em; font-size: .92rem; font-weight: 700; }
.champ input, .champ textarea {
  width: 100%; min-height: 52px; font-size: max(16px, 1rem); padding: .85rem 1rem;
  background: var(--p-fond); color: var(--p-encre);
  border: 1.5px solid var(--lisere-fort); border-radius: var(--rayon-s);
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.champ input:focus, .champ textarea:focus { outline: 0; border-color: var(--p-encre); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p-accent) 55%, transparent); }
.champ__requis { color: var(--accent-encre); font-weight: 700; }
.champ__aide { font-size: .84rem; color: var(--texte-doux); }
.champ__erreur { display: none; font-size: .86rem; color: #a3301f; }
.champ.est-fautif input, .champ.est-fautif textarea { border-color: #a3301f; }
.champ.est-fautif .champ__erreur { display: block; }

/* Le <select> natif, gardé hors de vue MAIS dans la page (c'est lui que
   le formulaire envoie). Dimensions FORCÉES : un width:100% l'emporterait. */
.select-habille { position: relative; }
.select-habille > select { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
.select-habille__bouton { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; min-height: 52px; padding: .85rem 1rem; background: var(--p-fond); color: var(--p-encre); border: 1.5px solid var(--lisere-fort); border-radius: var(--rayon-s); text-align: left; }
.select-habille__bouton .ic { color: var(--p-doux); transform: rotate(90deg); transition: transform .2s; pointer-events: none; }
.select-habille__bouton > span { pointer-events: none; }
.select-habille[data-ouvert] .select-habille__bouton .ic { transform: rotate(-90deg); }
.select-habille[data-ouvert] .select-habille__bouton { border-color: var(--p-encre); }
.select-habille__liste { position: absolute; left: 0; right: 0; top: calc(100% + .35rem); z-index: 30; display: none; flex-direction: column; max-height: 16rem; overflow-y: auto; overscroll-behavior: contain; padding: .35rem; background: var(--p-fond); border: 1.5px solid var(--lisere-fort); border-radius: var(--rayon-s); box-shadow: var(--ombre); }
.select-habille[data-ouvert] .select-habille__liste { display: flex; }
.select-habille[data-vers-haut] .select-habille__liste { top: auto; bottom: calc(100% + .35rem); }
.select-habille__liste button { min-height: 44px; padding: .6rem .8rem; border: 0; border-radius: 8px; background: transparent; color: var(--p-doux); text-align: left; }
.select-habille__liste button[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .select-habille__liste button:hover { background: var(--p-sable); color: var(--p-encre); } }
.select-habille__liste button[aria-selected="true"] { color: var(--p-encre); font-weight: 700; background: var(--p-accent-clair); }
.select-habille--sombre .select-habille__bouton { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.select-habille--sombre .select-habille__liste { background: #24221d; border-color: rgba(255, 255, 255, .18); }
.select-habille--sombre .select-habille__liste button { color: rgba(255, 255, 255, .82); }

.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__mention { font-size: .86rem; color: var(--texte-doux); max-width: 68ch; }
.formulaire .bouton { align-self: flex-start; margin-top: .4rem; }
.formulaire__retour { padding: .9rem 1.1rem; border-radius: var(--rayon-s); font-size: .96rem; }
.formulaire__retour[hidden] { display: none; }
.formulaire__retour.est-reussi { background: #e5efe1; color: #2b5530; }
.formulaire__retour.est-echoue { background: #f6e1db; color: #8a2a1c; }

/* La carte : un plan dessiné, Google seulement au clic. */
.carte-lieu { position: relative; overflow: hidden; aspect-ratio: 16 / 8; border-radius: var(--rayon); background: var(--p-sable); box-shadow: var(--ombre); }
.carte-lieu iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.carte-lieu__facade { position: absolute; inset: 0; }
.carte-lieu__plan { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-lieu__epingle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--p-encre); filter: drop-shadow(0 6px 8px rgba(40, 30, 0, .3)); }
.carte-lieu__epingle .ic { fill: var(--p-accent); }
.carte-lieu__boite { position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; max-width: 24rem; padding: 1.4rem 1.6rem; border-radius: var(--rayon-s); background: color-mix(in srgb, var(--p-fond) 97%, transparent); color: var(--p-encre); box-shadow: var(--ombre); }
.carte-lieu__nom { font-family: var(--titre-police); font-size: 1.6rem; line-height: 1.1; }
.carte-lieu__boutons { display: flex; flex-wrap: wrap; gap: .5rem; }
.carte-lieu__boite small { font-size: .8rem; color: var(--p-doux); }
.carte-lieu__attribution { position: absolute; right: .6rem; bottom: .5rem; padding: .15rem .5rem; border-radius: 6px; background: color-mix(in srgb, var(--p-fond) 88%, transparent); font-size: .72rem; color: var(--p-doux); }

/* ══ Pied de page ══════════════════════════════════════════════════════ */

.pied { position: relative; overflow: hidden; background: var(--fond); color: var(--texte); padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: calc(1.5rem + var(--barre-appel)); }
.pied__empreinte { position: absolute; right: -3%; bottom: -12%; width: min(36vw, 26rem); aspect-ratio: 963 / 1145; background: var(--p-accent); opacity: .1; -webkit-mask: url("assets/empreinte.webp?v=2") center / contain no-repeat; mask: url("assets/empreinte.webp?v=2") center / contain no-repeat; pointer-events: none; }
.pied__dedans { position: relative; display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1.4fr; gap: 2.5rem; max-width: var(--large); margin-inline: auto; padding-inline: var(--marge); }
.pied__bloc { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.pied h2 { font-size: 1.45rem; font-style: italic; color: var(--p-accent); }
.marque--pied .marque__logo { height: auto; width: min(100%, 9.5rem); }
.pied__apropos { color: var(--texte-doux); font-size: .95rem; max-width: 26em; }
.pied__liens { display: flex; flex-direction: column; gap: .45rem; }
.pied__liens a, .pied__coordonnees a, .pied__lieu a { transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .pied__liens a:hover, .pied__coordonnees a:hover, .pied__lieu a:hover { color: var(--p-accent); } }
.pied__coordonnees { display: flex; flex-direction: column; gap: .8rem; }
.pied__coordonnees li { display: flex; align-items: flex-start; gap: .75rem; }
.pied__coordonnees .ic, .pied__lieu-nom .ic { margin-top: calc((1lh - 17px) / 2); color: var(--p-accent); }
.pied__coordonnees li > span { min-width: 0; overflow-wrap: anywhere; }
.pied__reseau[hidden] { display: none; }
.pied__lieu { display: flex; flex-direction: column; gap: .5rem; }
.pied__lieu + .pied__lieu { padding-top: 1rem; border-top: 1px solid var(--lisere); }
.pied__lieu[hidden] { display: none; }
.pied__lieu-nom { display: flex; align-items: flex-start; gap: .6rem; font-weight: 700; }
.pied__lieu-quand { color: var(--texte-doux); font-size: .95rem; }
.pied .horaire { grid-template-columns: minmax(6rem, 1fr) auto; font-size: .95rem; }
.pied .horaire:last-child { border-bottom: 0; }
.pied .sur-rdv__titre { font-size: 1.3rem; }
.pied__bas { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; max-width: var(--large); margin: 3.5rem auto 0; padding: 1.4rem var(--marge) 0; border-top: 1px solid var(--lisere); font-size: .84rem; color: var(--texte-doux); }
.pied__bas a { border-bottom: 1px solid var(--lisere-fort); }
.pied__bas [hidden] { display: none; }

/* ── Barre d'action mobile : fond OPAQUE, séparateurs en bordure ───── */

.barre-appel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none;
  background: var(--p-sombre); border-top: 2px solid var(--p-accent);
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility .4s;
}
.barre-appel a {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: 62px; padding: .55rem .3rem;
  border-left: 1px solid color-mix(in srgb, var(--p-sur-sombre) 14%, transparent);
  color: var(--p-sur-sombre); font-family: var(--ui-police); font-size: .78rem; font-weight: 700;
  min-width: 0; text-align: center; line-height: 1.15; text-wrap: balance; hyphens: auto; overflow-wrap: break-word;
}
.barre-appel a:first-child { border-left: 0; background: var(--p-accent); color: var(--accent-texte); }
.barre-appel.est-cachee { transform: translateY(100%); visibility: hidden; }

/* ── Visionneuse ───────────────────────────────────────────────────────
   ⚠ `display` CONDITIONNÉ à [open]. Zone identique pour tous les
   clichés : l'image est hors flux, centrée, l'arrondi sur ses vrais
   bords. */

.visionneuse:not([open]) { display: none; }
.visionneuse[open] {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: 1fr auto; gap: .6rem;
  position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: clamp(.8rem, 3vw, 2rem);
  border: 0; background: rgba(24, 22, 18, .97); color: #fff; overscroll-behavior: contain;
}
.visionneuse::backdrop { background: rgba(24, 22, 18, .9); }
.visionneuse__cadre { position: relative; grid-area: 1 / 2; min-height: 0; }
.visionneuse__cadre img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 14px; }
.visionneuse__fermer { position: absolute; top: clamp(.8rem, 3vw, 2rem); right: clamp(.8rem, 3vw, 2rem); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: rgba(255, 255, 255, .12); border: 0; border-radius: 50%; color: #fff; }
.visionneuse__nav { align-self: center; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; color: #fff; }
@media (hover: hover) and (pointer: fine) { .visionneuse__nav:hover, .visionneuse__fermer:hover { background: rgba(255, 255, 255, .24); } }
.visionneuse__nav--avant { grid-area: 1 / 1; }
.visionneuse__nav--avant .ic { transform: rotate(180deg); }
.visionneuse__nav--apres { grid-area: 1 / 3; }
.visionneuse__pied { grid-area: 2 / 1 / 3 / 4; display: grid; grid-template-columns: 4.5rem 1fr 4.5rem; align-items: center; height: 3.2rem; }
.visionneuse__legende { text-align: center; font-family: var(--titre-police); font-size: 1.25rem; font-style: italic; color: rgba(255, 255, 255, .92); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.visionneuse__compteur { text-align: right; font-size: .86rem; color: rgba(255, 255, 255, .65); white-space: nowrap; font-variant-numeric: tabular-nums; }
.visionneuse__points { display: none; }
.visionneuse--seule .visionneuse__nav, .visionneuse--seule .visionneuse__compteur, .visionneuse--seule .visionneuse__points { display: none !important; }

/* ── Entrées ───────────────────────────────────────────────────────────
   Seules les SUITES entrent, chaque élément à son tour (le retard est
   posé par le script). L'opacité de départ n'existe QUE sous html.js :
   un échec du script ne livre jamais une page vide. */

.js [data-entre] { opacity: 0; transform: translateY(18px); }
.js [data-entre].est-vue { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.25, 1, .5, 1), transform .8s cubic-bezier(.25, 1, .5, 1); }

/* ── L'entrée du haut de page : RÉGLABLE (theme.entree, theme.entreeVitesse)
   Les éléments se CHEVAUCHENT presque entièrement, sur une courbe sans
   à-coup, et ne montent que de quelques pixels. */

:root { --x: 1; --doux: cubic-bezier(.33, .08, .25, 1); --tres-doux: cubic-bezier(.25, .1, .25, 1); }
html[data-entree-vitesse="lente"] { --x: 1.55; }
html[data-entree-vitesse="rapide"] { --x: .6; }

@keyframes e-monte { from { opacity: 0; transform: translateY(16px); } }
@keyframes e-fond { from { opacity: 0; } }
@keyframes e-trace { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes e-voile { from { opacity: 1; } to { opacity: 0; } }
@keyframes e-eclot { from { clip-path: circle(0% at 50% 55%); } to { clip-path: circle(75% at 50% 55%); } }
@keyframes photo-secours { to { opacity: 1; transform: none; clip-path: none; } }

.mvt[data-entree="fondu"] :is(.hero__texte > *, .hero .reperes) {
  animation: e-monte calc(1.8s * var(--x)) var(--doux) backwards;
}
.mvt[data-entree="fondu"] .hero__texte > .titre-hero { animation-delay: calc(.05s * var(--x)); }
.mvt[data-entree="fondu"] .hero__texte > .chapo { animation-delay: calc(.28s * var(--x)); }
.mvt[data-entree="fondu"] .hero__texte > .hero__boutons { animation-delay: calc(.5s * var(--x)); }
.mvt[data-entree="fondu"] .hero .reperes { animation-delay: calc(.72s * var(--x)); }

.mvt:is([data-entree="souffle"], [data-entree="eclosion"]) :is(.hero__texte > *, .hero .reperes) {
  animation: e-fond calc(2.2s * var(--x)) var(--tres-doux) calc(.7s * var(--x)) backwards;
}
.mvt:is([data-entree="souffle"], [data-entree="eclosion"]) .hero .reperes { animation-delay: calc(1.1s * var(--x)); }

/* Le cadre se TRACE, puis les traits jaunes du pied le traversent. */
.mvt:is([data-entree="fondu"], [data-entree="souffle"], [data-entree="eclosion"]) .hero .cadre-ouvert::before {
  animation: e-trace calc(1.6s * var(--x)) var(--doux) calc(.3s * var(--x)) backwards;
}
.mvt:is([data-entree="fondu"], [data-entree="souffle"], [data-entree="eclosion"]) .hero .cadre-ouvert__trait {
  animation: e-trace calc(1.4s * var(--x)) var(--doux) calc(.9s * var(--x)) backwards;
}

.mvt[data-entree="voile"] .hero:not([hidden])::after {
  content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: var(--p-fond);
  animation: e-voile calc(2.4s * var(--x)) var(--tres-doux) calc(.15s * var(--x)) forwards;
}

/* Les photos attendent d'être chargées (script.js pose .est-chargee).
   Sans script, rien n'est masqué ; un secours les montre après 2,5 s. */
.mvt .hero img[data-attend]:not(.est-chargee) { animation: photo-secours 1.2s ease 2.5s forwards; }
.mvt[data-entree="fondu"] .hero img[data-attend]:not(.est-chargee) { opacity: 0; transform: scale(1.06); }
.mvt[data-entree="fondu"] .hero img[data-attend].est-chargee {
  transition: opacity calc(2.2s * var(--x)) var(--tres-doux), transform calc(3.4s * var(--x)) var(--doux);
}
.mvt[data-entree="souffle"] .hero img[data-attend]:not(.est-chargee) { opacity: 0; transform: scale(1.22); }
.mvt[data-entree="souffle"] .hero img[data-attend].est-chargee {
  transition: opacity calc(1.6s * var(--x)) var(--tres-doux), transform calc(7s * var(--x)) cubic-bezier(.16, .6, .3, 1);
}
.mvt[data-entree="eclosion"] .hero img[data-attend]:not(.est-chargee) { clip-path: circle(0% at 50% 55%); }
.mvt[data-entree="eclosion"] .hero img[data-attend].est-chargee {
  animation: e-eclot calc(2.4s * var(--x)) cubic-bezier(.5, 0, .2, 1) forwards;
}
.mvt .hero img[data-attend].est-chargee { opacity: 1; transform: none; }
.mvt .hero .pastille-photo img.est-chargee { transition-delay: calc(.45s * var(--x)); animation-delay: calc(.45s * var(--x)); }
.mvt:is([data-entree="voile"], [data-entree="aucune"]) .hero img[data-attend] { opacity: 1; transform: none; clip-path: none; animation: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-entre], .js [data-entre].est-vue { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero img[data-attend] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  /* Sans mouvement, la plante du haut de page montre ses zones, toutes. */
  .hero--plante .zone { opacity: .55; }
}

/* ══ Paliers ═══════════════════════════════════════════════════════════ */

/* Les écrans larges mais PEU HAUTS (tablette à l'horizontale, portable
   1280 × 800) : les écarts du haut de page cèdent avant les repères. */
@media (min-width: 901px) and (max-height: 860px) {
  .hero__dedans { padding-top: calc(var(--haut-entete) + 1rem); }
  .chapo--hero { margin-top: 1rem; }
  .hero__boutons { margin-top: 1.4rem; }
  .repere { padding-block: .7rem .8rem; }
  .plante-hero { height: min(52svh, 30rem); }
  .hero--cadre .cadre-ouvert--hero, .hero--soleil .bulle-photo { height: min(50svh, 30rem); }
}

@media (max-width: 1440px) {
  .entete__tel span { display: none; }
  .entete__tel { width: 46px; justify-content: center; padding: 0; border: 1.5px solid var(--lisere-fort); border-radius: 50%; }
}

@media (max-width: 1240px) {
  .menu { display: none; }
  .tiroir-bascule { display: grid; }
  .entete__actions { margin-left: auto; }
  .pied__dedans { grid-template-columns: 1fr 1fr; }
  .soins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .actus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Deux bulles par rangée : le décalage vertical les ferait se chevaucher. */
  .bulle:nth-child(even) { transform: rotate(1.2deg); }
  .bulles { row-gap: 2.6rem; }
  .reperes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .repere:nth-child(3) { padding-left: 0; border-left: 0; }
  .repere:nth-child(n + 3) { border-top: 1px solid var(--lisere); }
  .zones__troubles { grid-template-columns: 1fr; }
  .faq__dedans { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --haut-entete: 80px; }
  .entete__dedans { min-height: 76px; gap: .8rem; }
  .marque__logo, .entete.est-defilee .marque__logo { height: 54px; }
  .entete__rdv { display: none; }

  /* Une colonne : texte, PUIS le visuel, puis les repères. */
  .hero__dedans { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: calc(var(--haut-entete) + 1.6rem); }
  .hero__texte { grid-column: 1; grid-row: auto; order: 1; }
  .hero .reperes { grid-column: 1; grid-row: auto; order: 3; margin-top: .4rem; }
  /* Sur une colonne, les décors restent DANS le cadre de la photo. */
  .hero__visuel { grid-column: 1; grid-row: auto; order: 2; padding-block: 2.2rem 1.6rem; overflow: hidden; margin-inline: calc(var(--marge) * -1); padding-inline: var(--marge); }
  .hero--cadre .cadre-ouvert--hero { width: min(78%, 24rem); height: auto; aspect-ratio: 4 / 3.6; }
  .hero--cadre .pastille-photo { left: 2%; bottom: 8%; width: 28%; }
  .plante-hero { height: min(46svh, 26rem); }
  .pastille-photo--plante { right: -62%; width: 34vw; max-width: 9rem; }
  .hero--soleil .bulle-photo { width: min(86%, 26rem); height: auto; aspect-ratio: 4 / 3.8; }
  .hero--soleil .ondes { top: auto; bottom: 14rem; left: auto; right: -3rem; width: 10rem; }
  /* Les pages intérieures tiennent en UN écran sur téléphone : texte et
     boutons à leur taille, la photo prend toute la hauteur qui reste. */
  .hero--page { min-height: 100svh; }
  .hero--page .hero__dedans { min-height: 100svh; grid-template-rows: auto minmax(0, 1fr); padding-bottom: 1.6rem; }
  .hero--page .hero__visuel { position: relative; align-self: stretch; min-height: 10rem; padding: 0; overflow: visible; }
  .hero--page .cadre-ouvert--page {
    position: absolute; top: 2rem; bottom: .4rem; left: 0; right: 0; margin-inline: auto;
    height: auto; width: auto; max-width: 78%; aspect-ratio: 4 / 5;
  }

  .intro__dedans, .duo__dedans, .bon__dedans, .contact__dedans, .zones, .fiche-soin, .terme__dedans, .intention__dedans { grid-template-columns: 1fr; }
  .intro__image { justify-self: center; width: min(76%, 20rem); }
  .duo__image, .duo--inverse .duo__image { order: 0; justify-self: center; width: min(84%, 26rem); }
  .fiche-soin--inverse .fiche-soin__photo { order: 0; justify-self: start; }
  .fiche-soin__photo { width: min(86%, 26rem); }
  .zones__dessin { order: -1; }
  .zones__dessin .plante { height: min(48svh, 24rem); }
  .lieux, .seances { grid-template-columns: 1fr; }
  .intention__photo { justify-self: center; width: min(60%, 16rem); }
  .etapes { grid-template-columns: 1fr; gap: 2.2rem; }
  .etape:not(:last-child)::after { display: none; }
  .carte-lieu { aspect-ratio: auto; height: 34rem; }
  .carte-lieu__boite { right: 1rem; max-width: none; }

  .barre-appel { display: flex; }
  :root { --barre-appel: 62px; }
}

@media (max-width: 700px) {
  /* Sur petit écran, le sommaire DÉFILE de côté ; la pastille touchée se
     recentre (script.js). */
  .pastilles { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--marge) * -1); padding-inline: var(--marge); scroll-padding-inline: var(--marge); }
  .pastilles::-webkit-scrollbar { display: none; }
  .soins, .actus, .apports { grid-template-columns: 1fr; }
  .soin__photo { aspect-ratio: 4 / 3.2; }
  .pied__dedans { grid-template-columns: 1fr; }
  .fiche > div { grid-template-columns: 1fr; gap: .2rem; }
  .section__tete { align-items: flex-start; }
  .bulle { flex-basis: 100%; }
  .bulle:nth-child(even) { transform: rotate(1.2deg); }
  .question p { padding-right: 0; }
  .marque__texte span { display: none; }
}

@media (max-width: 640px) {
  /* La visionneuse sur téléphone : flèches ET indicateur, toujours. */
  .visionneuse[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; }
  .visionneuse__cadre { grid-area: 1 / 1; }
  .visionneuse__pied { display: contents; }
  .visionneuse__legende { grid-row: 2; padding-inline: .5rem; }
  .visionneuse__vide { display: none; }
  .visionneuse__nav { grid-row: 3; width: 48px; height: 48px; align-self: center; }
  .visionneuse__nav--avant { grid-area: 3 / 1; justify-self: start; }
  .visionneuse__nav--apres { grid-area: 3 / 1; justify-self: end; }
  .visionneuse__compteur { grid-area: 3 / 1; justify-self: center; text-align: center; transform: translateY(-.55rem); }
  .visionneuse__points { grid-area: 3 / 1; justify-self: center; display: flex; gap: .4rem; transform: translateY(.75rem); }
  .visionneuse__points i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
  .visionneuse__points i.est-actif { background: #fff; }
}

@media (max-width: 480px) {
  /* Le jour au-dessus de l'heure : côte à côte, « Lundi au vendredi »
     pliait sur deux lignes dans une carte de 320 px. */
  .lieu .horaire { grid-template-columns: 1fr; gap: 0; }
  /* « l'accompagnement » à 2,4 rem ne tient pas dans 288 px : on coupe le
     mot plutôt que de pousser la colonne hors de l'écran. */
  .titre-section, .fiche-soin__nom { hyphens: auto; }
  .titre-hero { font-size: clamp(2.3rem, 10.4vw, 3rem); }
  .chapo--hero { font-size: 1rem; }
  .hero__boutons { width: 100%; }
  .hero__boutons .bouton { flex: 1 1 100%; }
  .repere { padding-right: .6rem; }
  .repere + .repere { padding-left: .9rem; }
  .repere:nth-child(odd) { padding-left: 0; }
  .repere b { font-size: 1.5rem; }
  .repere span { font-size: .8rem; }
  .bouton--grand { width: 100%; }
  .appel__boutons { width: 100%; }
  .duo__boutons .bouton, .formulaire .bouton, .fiche-soin__texte > .bouton { width: 100%; }
  .carte-lieu__boutons .bouton { flex: 1 1 100%; }
  .contact__telephone { font-size: 2rem; }
  .marque__texte { display: none; }
}

@media (max-width: 480px) and (max-height: 760px) {
  .annonce { font-size: .8rem; }
  .hero__dedans { padding-top: calc(var(--haut-entete) + 1rem); }
  .chapo--hero { margin-top: .8rem; font-size: .95rem; line-height: 1.55; }
  .hero__boutons { margin-top: 1.1rem; gap: .5rem; }
  .hero__boutons .bouton { min-height: 48px; }
  .repere { padding-block: .6rem .7rem; }
}

/* ── Cibles tactiles : 44 px au doigt, sans toucher à la mise en page ── */
@media (pointer: coarse) {
  .pied__liens a, .pied__coordonnees a, .pied__bas a, .fiche dd a, .pied__lieu-nom a {
    display: inline-block;
    padding-block: max(0px, calc((44px - 1lh) / 2));
    margin-block: min(0px, calc((1lh - 44px) / 2));
  }
  .lien-fleche { min-height: 44px; }
  .annonce__fermer { min-width: 44px; min-height: 44px; }
}
