/* Site conçu et développé par Aigensys Maroc, https://aigensys.net/ */
/* =========================================================
   CHARTE COULEURS, tirée du logo (voir charte-couleurs.html)
   ========================================================= */
:root {
  /* couleurs du logo */
  --sage:         #6A9F8C;  /* vert sauge du logo (décor, grandes surfaces) */
  --mint:         #85BDAF;  /* menthe de l'iris */
  --blush:        #F2C6D0;  /* rose poudré de l'anneau et du sous-titre */
  --pearl:        #C3C6C5;  /* gris perle de la pupille */

  /* déclinaisons lisibles (contraste vérifié) */
  --brand:        #507C6C;  /* boutons, liens, titres, texte blanc 4.7:1 */
  --brand-dark:   #3C5D51;  /* survol */
  --brand-soft:   #EFF5F3;  /* fonds teintés menthe */
  --forest:       #1A2823;  /* sections sombres, vidéo, pied de page */
  --accent:       #F2C6D0;  /* touches roses (sur fond sombre) */
  --accent-dark:  #E8AEBD;
  --rose:         #9E5269;  /* texte rose sur fond clair, 5.4:1 */
  --blush-soft:   #FBEEF1;

  --iris-1:       var(--sage);   /* illustrations */
  --iris-2:       var(--mint);
  --iris-rim:     var(--forest);

  --ink:          #1E2D29;  /* texte principal */
  --muted:        #566B64;  /* texte secondaire */
  --line:         #DCE7E3;
  --bg:           #FAFCFB;
  --card:         #FFFFFF;

  --font-head: "Newsreader", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* règles de design (charte, section 6) : angles droits, filets fins, pas d'ombres */
  --radius: 4px;
  --radius-sm: 2px;
  --shadow: none;
  --hair: color-mix(in srgb, var(--rose) 28%, transparent);   /* filet fin sur fond clair */
  --hair-dark: rgba(255,255,255,.16);                          /* filet fin sur fond sombre */
  --gutter: clamp(16px, 2.6vw, 44px);
  --section-y: clamp(88px, 16vh, 180px);
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--brand); }
/* titres : serif très fine et contrastée, lettres serrées (style éditorial) */
/* poids 340 et espacement -0,04em : mesurés sur la référence « Personalized wellness » */
h1, h2, h3 { font-family: var(--font-head); font-weight: 340; font-variation-settings: "opsz" 72; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.04em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: 1.45rem; font-weight: 380; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
code { background: var(--brand-soft); padding: .1em .4em; border-radius: 6px; font-size: .9em; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* sur-titre : petit texte net, précédé d'un point */
.eyebrow {
  font-size: .85rem; font-weight: 400; letter-spacing: 0;
  color: var(--rose); margin-bottom: .9em;
}
.eyebrow::before { content: "•\00a0\00a0"; }
.lead { font-size: 1.05rem; color: var(--muted); }
/* règle 02 : un ou deux mots-clés en italique dans les grands titres */
h1 em, h2 em { font-style: italic; font-weight: 300; letter-spacing: -.02em; color: var(--rose); }
.hero h1 em, .soins h2 em, .section-dark h2 em { color: var(--accent); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 400 .95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--brand); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(26,40,35,.05); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { flex: none; width: 52px; height: 33px; color: var(--sage); }
.brand-text { font-family: var(--font-head); font-size: 1.5rem; font-weight: 380; letter-spacing: -.02em; line-height: 1; color: var(--brand); display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font-body); font-size: .62rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--rose); margin-top: 4px; }
@media (max-width: 920px) {                               /* téléphone : en-tête plus fin */
  :root { --header-h: 54px; }
  .brand-mark { width: 44px; height: 28px; }
  .brand-text { font-size: 1.22rem; }
  .brand-text small { font-size: .55rem; margin-top: 3px; }
  .nav-toggle { width: 40px; height: 40px; padding: 9px; }
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: var(--ink); text-decoration: none; font-weight: 400; font-size: .95rem; position: relative; padding: 6px 0; }
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Héro + Nos soins : vidéo pilotée par le défilement ---------- */
/* overflow: clip, la scène collante (marge négative) ne doit pas déborder sur la section suivante */
.cine { position: relative; background: var(--forest); color: #fff; margin-top: calc(-1 * var(--header-h)); overflow: clip; }
.cine-stage {
  position: sticky; top: 0; z-index: 0; overflow: hidden;
  height: 100vh; height: 100lvh;
  background: var(--forest) 60% 100% / cover no-repeat; /* même cadrage que la vidéo du héro */
}
/* ---------- Écran de chargement (le temps que les premières images du défilement soient prêtes) ---------- */
.preloader { display: none; }
.is-loading .preloader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 1000; background: var(--forest); color: #fff;
}
.preloader > * { grid-area: 1 / 1; }                     /* l'œil au centre du cercle de progression */
.is-loading .preloader { will-change: opacity; }        /* calque à part dès le début : le fondu ne dépend pas du reste de la page */
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity .8s cubic-bezier(.4, 0, .2, 1), visibility 0s .8s; }
.preloader-mark { width: 72px; height: 46px; animation: pl-breathe 1.8s ease-in-out infinite; will-change: transform, opacity; }
.preloader-ring { width: 132px; height: 132px; transform: rotate(-90deg); transition: transform .8s cubic-bezier(.4, 0, .2, 1); }   /* la progression part du haut */
.preloader.is-done .preloader-ring { transform: rotate(-90deg) scale(1.08); }   /* léger élargissement pendant le fondu */
.preloader-ring circle { fill: none; stroke-width: 2; }
.pl-track { stroke: rgba(255,255,255,.12); }
.pl-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 1 1;
  stroke-dashoffset: calc(1 - var(--p, 0)); }   /* avance lissée par cine.js (pas de transition qui repart à chaque mise à jour) */
@keyframes pl-breathe { 50% { opacity: .55; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) { .preloader-mark { animation: none; } }

.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cine-canvas { opacity: 0; }   /* pas de fondu : au 1er défilement, le canvas remplace l’affiche identique sans double image */
.cine-canvas.is-ready { opacity: 1; }
@media (max-aspect-ratio: 4/5) { .cine-stage { background-position: 72% 50%; } } /* images 9:16 (même seuil que cine.js) */
/* dégradé à gauche pour la lisibilité du texte */
.cine-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26,40,35,.78) 0%, rgba(26,40,35,.45) 38%, rgba(26,40,35,0) 62%),
    linear-gradient(0deg, rgba(26,40,35,.6), rgba(26,40,35,0) 45%);
}
.hero, .cine-gap, .soins { position: relative; z-index: 1; }

/* héro : grand titre en bas, sur toute la largeur, lignes décalées ; petit texte + bouton en dessous */
/* le héro remonte sur la scène vidéo (marge négative ici et non sous la scène) : la vidéo se décroche
   pile à la fin de la larme et remonte avec la section suivante, comme une chaîne */
.hero { margin-top: -100vh; margin-top: -100lvh; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 24px) 0 clamp(20px, 3.5vh, 36px); }
.hero-wrap { width: 100%; padding-inline: clamp(16px, 2.6vw, 44px); }
.hero .eyebrow, .soins .eyebrow { color: var(--accent); }
.hero-title {
  color: #fff; font-size: clamp(2.7rem, 6.6vw, 7.4rem); line-height: .98; margin: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,.18);
}
.hero-title span { display: block; }
.hero-title .l2 { text-align: right; }
.hero-title .l3 { padding-left: 22%; }
.hero-title em { color: var(--accent); }
.hero-bottom {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; align-items: end;
  margin-top: clamp(18px, 3vh, 32px);
}
.hero-lead { grid-column: 3; margin: 0; font-size: .82rem; line-height: 1.45; color: rgba(255,255,255,.85); max-width: 330px; }
.btn-pill {
  grid-column: 4; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px;
  color: #fff; text-decoration: none; font-size: .9rem; transition: background-color .25s, color .25s;
}
.btn-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.btn-pill:hover { background: #fff; color: var(--forest); }
/* même bouton sur fond clair */
.btn-pill.on-light { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.btn-pill.on-light:hover { background: var(--ink); color: #fff; }
.btn-pill.inline { display: inline-flex; }
/* lien texte avec flèche (règle 08) */
.link-arrow { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: .92rem; }
.link-arrow::after { content: " →"; }

/* distance de défilement de la transition héro → soins */
.cine-gap { height: 110vh; }

/* la section « Troubles » suit directement la vidéo (elles défilent ensemble, comme une chaîne) */
#troubles { position: relative; z-index: 2; margin-top: -72px; }   /* le fond clair remonte et recouvre la larme de la vidéo */
@media (max-width: 920px) { #troubles { margin-top: -48px; } }

/* le fil de la larme : départ sur la vidéo (rose poudré), suite dans la section (rose profond) */
.tear-thread {
  position: absolute; z-index: 1; width: 3px; margin-left: -1.5px; border-radius: 2px; bottom: 0; top: 100%;
  background: var(--accent); transform: scaleY(0); transform-origin: top; pointer-events: none;
}
.thread { position: absolute; left: 0; top: 0; width: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.thread-path { fill: none; stroke: var(--rose); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thread-dot { fill: var(--rose); opacity: 0; transition: opacity .3s; }
/* ordinateur : la larme devient le fil, une goutte au départ */
.thread-drop { display: none; }                          /* plus de goutte fixe au départ du fil */
/* téléphone : le fil part d'un œil dans la section, pas de la vidéo */
@media (max-aspect-ratio: 4/5) { .tear-thread { display: none; } }
#troubles .container { position: relative; z-index: 2; }

.soins { padding: 0 0 30vh; }
/* À propos épinglé au centre : la piste (230 vh) fait défiler la lecture, le bloc reste au milieu de l'écran */
.about-track { height: 230vh; }
.about-stick {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h);
}
/* téléphone (même seuil que cine.js) : distances de défilement plus courtes → la vidéo et la lecture avancent plus vite */
@media (max-aspect-ratio: 4/5) {
  .cine-gap { height: 55vh; }
  .about-track { height: 150vh; }
  .soins { padding-bottom: 12vh; }
}
.soins-inner { max-width: min(720px, 60%); } /* la jeune femme occupe le tiers droit */
/* À propos : un grand paragraphe unique */
.about-read {
  font-family: var(--font-head); font-weight: 340; font-variation-settings: "opsz" 72;
  font-size: clamp(1.65rem, 2.9vw, 2.9rem); line-height: 1.16; letter-spacing: -.03em; color: #fff;
  text-shadow: 0 1px 18px rgba(0,0,0,.35); margin: 0;
}
/* lecture au défilement (main.js) : déjà lu = blanc, en cours de lecture = rose poudré, à lire = pâle */
.read .c { color: rgba(255,255,255,.24); transition: color .25s ease; }
.read .c.on { color: #fff; }
.read .c.hot { color: var(--accent); }

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

/* En-tête transparent au-dessus de la vidéo */
/* léger fondu sombre : le texte de « Nos soins » qui passe dessous ne gêne pas la lecture du menu */
.site-header.on-cine { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; box-shadow: none; }
/* voile sombre derrière l'en-tête sur la vidéo : il déborde sous l'en-tête et s'efface en douceur (aucune ligne visible) */
.site-header.on-cine::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 90px); z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(26,40,35,.78) 0%, rgba(26,40,35,.52) 38%, rgba(26,40,35,.24) 66%, rgba(26,40,35,.07) 86%, rgba(26,40,35,0) 100%); }
.site-header.on-cine .brand-text, .site-header.on-cine .main-nav ul a { color: #fff; }
.site-header.on-cine .brand-text small { color: var(--blush); }
.site-header.on-cine .brand-mark { color: #fff; }
.site-header.on-cine .main-nav ul a::after { background: var(--accent); }
.site-header.on-cine .nav-toggle span { background: #fff; }

/* ---------- Photos (avec emplacement si l'image est absente) ---------- */
.photo {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--iris-2) 25%, var(--brand-soft)));
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing::before {
  content: "📷  " attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px;
  font-size: .85rem; font-weight: 600; color: var(--brand);
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--brand-soft); }
/* modèle A : grille de 12 colonnes, titre à gauche (7 col.), texte en bas à droite (4 col.) */
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; margin: 0 0 clamp(40px, 6vw, 72px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { grid-column: 1 / 8; margin: 0; }
.section-head > p:not(.eyebrow) { grid-column: 9 / 13; margin: 0; color: var(--muted); font-size: .92rem; }

.cards { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); margin-bottom: 18px;
}
.card-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--muted); font-size: .95rem; }
.service .for { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .88rem; }
.service .for strong { color: var(--brand); }

/* Troubles, cercle : le fil se divise en deux arcs ; les troubles sont posés autour (positions : main.js) */
.orbit-track { position: relative; margin-top: 8px; }
/* épinglé quand la forme se referme (top : main.js), le temps que l'iris se forme */
.orbit { position: sticky; top: 0; }
.orbit { z-index: 1; }
/* photos qui défilent devant l'iris épinglé, à des vitesses légèrement différentes */
.iris-cards { position: absolute; left: 0; top: 0; width: 100%; z-index: 2; pointer-events: none; }
.iris-cards .pc { position: absolute; border-radius: 28px; pointer-events: auto; will-change: transform;
  box-shadow: 0 18px 30px -18px rgba(26, 40, 35, .4); }
.iris-tail { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.iris-tail .tail-path { fill: none; stroke: var(--rose); stroke-width: 3; stroke-linecap: round; visibility: hidden; }
.ring { opacity: calc(var(--lines, 1) * var(--rim, 1)); }

/* iris (fibres, collerette, cryptes, pupille), couleurs de la charte */
.iris-g .fiber { fill: none; stroke: #2E6F68; stroke-linecap: round; }
.iris-g .fiber-in { stroke: #C9772E; }
.iris-g .bridge { stroke: var(--rose); opacity: .8; }
.iris-g .bridge-axis { fill: none; stroke: var(--rose); stroke-width: 2.4; stroke-linecap: round; }
.iris-g .iris-rim { fill: none; stroke: var(--rose); stroke-width: 3; stroke-linecap: round; opacity: var(--rim, 1); }
.iris-canvas, .iris-3d { position: absolute; pointer-events: none; visibility: hidden; transform-origin: 50% 50%; }
.iris-3d { will-change: transform; }
.orbit.is-3d .iris-canvas { display: none; }
.orbit.is-3d .iris-g :is(.pupil, .pupil-glint, .iris-window, .iris-sheen) { display: none; }
.iris-g .pupil { fill: url(#g-pupil); transform-box: fill-box; transform-origin: center; }
.iris-g .iris-sheen { fill: none; stroke: #fff; stroke-linecap: round; opacity: 0; }
.iris-g .iris-window { fill: #fff; opacity: 0; }
.iris-g .pupil-glint { fill: #fff; opacity: 0; }
.up-line { opacity: 0; transition: opacity .2s; }
/* trouble éclairé ; s'efface pendant que l'iris se forme (--fade : main.js) */
.oi.on { opacity: calc(1 - var(--fade, 0)); filter: blur(calc(var(--fade, 0) * 8px)); }
.oi-dot.on { opacity: calc(1 - var(--fade, 0)); }
.orbit-ring { position: absolute; left: 0; top: 0; width: 100%; overflow: visible; pointer-events: none; }
.ring { fill: none; stroke: var(--rose); stroke-width: 3; stroke-linecap: round; }
.grow-ring { fill: none; stroke: var(--rose); stroke-width: 3; display: none; }
.ring-end, .oi-dot { fill: var(--rose); }
.ring-end { opacity: 0; transition: opacity .3s; }
.ring-knot { fill: var(--rose); opacity: 0; transition: opacity .3s; }
.oi-dot { opacity: .25; transition: opacity .4s; }
.orbit-items { list-style: none; margin: 0; padding: 0; }
.oi {
  position: absolute; pointer-events: none;
  filter: blur(6px); opacity: .25; transition: filter .6s ease, opacity .6s ease;
}
.oi a { pointer-events: auto; }
.oi[data-side="l"] { text-align: right; }
/* flottant en forme de cercle : les lignes de texte suivent la courbe (taille et forme : main.js) */
.oi-curve { display: block; }
.oi[data-side="l"] .oi-curve { float: right; }
.oi[data-side="r"] .oi-curve { float: left; }
.oi-num { display: block; font-size: .75rem; color: var(--rose); margin-bottom: 6px; font-variant-numeric: tabular-nums; }

/* petites illustrations « 3D » : globes ombrés (dégradés dans index.html), animés quand le trouble est éclairé */
.oi-ill { display: inline-block; width: 108px; height: 54px; margin-bottom: 8px; overflow: visible; }
.oi-ill .iris, .oi-ill .ghost { transform-box: fill-box; transform-origin: center; }
/* dessins fixes : chacun montre le trouble décrit dans le paragraphe */
/* 1 · convergence : les deux yeux tournés vers le nez, vers un point très proche */
.ill-conv .iris-l { transform: translate(5px, -2px) scaleX(.84); }
.ill-conv .iris-r { transform: translate(-5px, -2px) scaleX(.84); }
/* 2 · strabisme : un œil droit, l'autre dévié vers l'extérieur */
.ill-strab .iris-drift { transform: translate(6.5px, -1px) scaleX(.78); }
/* 4 · vision binoculaire : l'image vue en double */
.ill-bino .ghost { opacity: .4; transform: translate(6px, -3px); }
/* 5 · mouvements : les yeux suivent le point au bout de la ligne */
.ill-track .iris-track { transform: translate(4px, -3px) scaleX(.88); }
/* 6 · votre situation ? : l'œil lève le regard vers le point d'interrogation */
.ill-blink .iris { transform: translate(3.5px, -3.5px) scaleX(.88); }
.oi h3 { font-size: 1.35rem; margin: 0 0 6px; }
.oi p { font-size: .86rem; line-height: 1.45; color: var(--muted); margin: 0; }
.oi-cta .link-arrow { display: inline-block; margin-top: 10px; color: var(--rose); }
/* téléphone / tablette : le fil se divise en deux lignes parallèles ; troubles de part et d'autre (tracé : main.js) */
@media (max-width: 920px) {
  .orbit { height: auto !important; margin-top: 0; padding: 64px 0 120px; }
  .orbit-items { display: grid; grid-template-columns: 1fr 22% 1fr; row-gap: 44px; position: relative; }
  .oi { position: relative; left: auto !important; right: auto !important; top: auto !important; width: auto !important; pointer-events: auto; }
  .oi[data-side="l"] { grid-column: 1; text-align: right; padding-right: 14px; }
  .oi[data-side="r"] { grid-column: 3; text-align: left; padding-left: 14px; }
  .oi:nth-child(1), .oi:nth-child(4) { grid-row: 1; }
  .oi:nth-child(2), .oi:nth-child(5) { grid-row: 2; }
  .oi:nth-child(3), .oi:nth-child(6) { grid-row: 3; }
  .oi-curve { display: none; }
  .oi-ill { width: 76px; height: 38px; }
  .oi h3 { font-size: 1.12rem; }
  .oi p { font-size: .8rem; }
  .oi-dot { fill: var(--brand-soft); stroke: var(--rose); stroke-width: 2; opacity: .35; }
  /* l'iris fini grandit : les troubles de gauche glissent à gauche, ceux de droite à droite (--slide : main.js) */
  .oi[data-side="l"], .oi-dot[data-side="l"] { transform: translateX(calc(var(--slide, 0) * -105vw)); }
  .oi[data-side="r"], .oi-dot[data-side="r"] { transform: translateX(calc(var(--slide, 0) * 105vw)); }
  .orbit-track { overflow-x: clip; }                       /* ils sortent de l'écran sans élargir la page */
  .ring-end { fill: var(--brand-soft); stroke: var(--rose); stroke-width: 2.5; }
}
@media (prefers-reduced-motion: reduce) { .oi { filter: none; opacity: 1; transition: none; } }

/* Troubles, modèle C : cellules à filets fins, numérotées, sans ombre ni arrondi */
/* filets : bordure haut/gauche sur la grille, droite/bas sur chaque cellule (fonctionne à 3, 2 ou 1 colonne) */
.cards.conditions { gap: 0; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); counter-reset: cond; }
.condition { background: var(--brand-soft); border: 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); border-radius: 0; padding: 26px 26px 30px; display: flex; flex-direction: column; }
.condition:not(.condition-cta)::before { counter-increment: cond; content: "0" counter(cond) " / 05"; font-size: .75rem; color: var(--rose); font-variant-numeric: tabular-nums; }
.condition .illu { height: 64px; display: flex; align-items: center; margin: 22px 0 18px; }
.condition .illu svg { height: 48px; width: auto; overflow: visible; }
.condition p { color: var(--muted); font-size: .92rem; }
.condition details { margin-top: auto; }
.i-sclera { fill: #fff; stroke: var(--brand); stroke-width: 2; }
.i-iris { fill: var(--iris-1); }
.i-faded { opacity: .35; }
.i-patch { fill: color-mix(in srgb, var(--accent) 75%, transparent); }
.i-ghost { fill: none; stroke: var(--iris-2); stroke-width: 2; stroke-dasharray: 4 4; }
.i-line { stroke: var(--brand); stroke-width: 2; fill: none; stroke-dasharray: 3 5; }
.i-thick { stroke-width: 3; stroke-dasharray: none; stroke-linecap: round; }

details summary { cursor: pointer; font-weight: 400; font-size: .88rem; color: var(--rose); list-style: none; display: flex; align-items: center; gap: 8px; }
details summary::-webkit-details-marker { display: none; }
.condition details summary::after { content: "→"; transition: transform .25s; }
.condition details[open] summary::after { transform: rotate(90deg); }
.condition details p { margin: 10px 0 0; }

.condition-cta { background: var(--forest); color: #fff; justify-content: flex-end; align-items: flex-start; }
.condition-cta h3 { color: #fff; }
.condition-cta p { color: rgba(255,255,255,.8); margin-bottom: 1.4em; }

/* Cabinet */
.video-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--brand-dark);
  aspect-ratio: 16 / 9; margin-bottom: 24px;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center;
  color: #fff; padding: 24px;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--iris-1) 60%, transparent), var(--brand-dark) 70%);
}
.video-placeholder[hidden] { display: none; }
.video-placeholder svg { width: 72px; height: 72px; fill: none; stroke: #fff; stroke-width: 2; }
.video-placeholder svg path { fill: #fff; }
.video-placeholder code { background: rgba(255,255,255,.15); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gallery .photo { aspect-ratio: 4 / 5; }
.gallery .photo:nth-child(even) { margin-top: 48px; } /* rythme asymétrique */
.gallery figcaption {
  position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: .78rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.gallery figcaption::before { content: "•\00a0\00a0"; }
.gallery .photo.is-missing figcaption { display: none; }

/* Avis */
/* ---------- Avant / après (curseur à faire glisser) ---------- */
.ba-list { display: grid; gap: 28px; margin-bottom: 64px; }
/* Avis : titre remonté, comparaisons et lien plus bas, on laisse respirer */
#troubles { padding-bottom: 96px; }                       /* la piste de l'iris se termine juste avant « Avis » */
#avis { padding-top: 10px; padding-bottom: 40px; }        /* fixe : même rendu quelle que soit la hauteur d'écran */
#avis .section-head { margin-bottom: 64px; }
/* l'iris qui arrive passe sous le contenu d'« Avis » mais au-dessus de son fond :
   le fond est un calque à part (z 1), l'iris est dans « Troubles » (z 2), le contenu au-dessus (z 3) */
#avis { position: relative; background: transparent; }
#avis .avis-bg { position: absolute; inset: 0; z-index: 1; background: var(--brand-soft); pointer-events: none; }
#avis > .container { position: relative; z-index: 3; }
/* emplacements où l'iris vient se poser en quittant la section précédente */
.ba-list, .review-empty { position: relative; }
.iris-dock { position: absolute; aspect-ratio: 1; pointer-events: none; }
.iris-dock-pc { width: 170px; left: calc(78% - 85px); top: 175px; }
.iris-dock-m { display: none; }
@media (max-width: 900px) {
  .iris-dock-pc { display: none; }
  .iris-dock-m { display: block; width: 118px; right: 2%; top: 50%; margin-top: -59px; }
  .review-empty .stars { display: none; }
  #avis .review-empty p { max-width: 58%; }
}
/* plein écran : titre en haut, avis vérifiés en bas, comparaisons au milieu de l'espace restant */
#avis { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; }
#avis > .container { flex: 1; display: flex; flex-direction: column; }
#avis .ba-list { margin-top: auto; margin-bottom: auto; padding-bottom: 64px; }
@media (min-width: 901px) {                               /* en décalé : à gauche plus bas, à droite plus haut */
  .ba-list { align-items: start; }
  .ba-list .ba:first-child { margin-top: 120px; }
  .ba-list .ba:first-child { transform: translateY(60px); }    /* plus d'écart : gauche plus bas, droite plus haut */
  .ba-list .ba:nth-child(2) { transform: translateY(-60px); }
}
.ba { --pos: 50%; position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--forest);
  touch-action: pan-y; user-select: none; cursor: ew-resize; box-shadow: 0 18px 30px -20px rgba(26, 40, 35, .42); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--forest); }
.ba-handle { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border: 0; border-radius: 50%;
  background: var(--forest); color: #fff; display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.ba-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-handle:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.ba-tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; letter-spacing: .04em;
  background: rgba(255, 255, 255, .82); color: var(--ink); pointer-events: none; }
.ba-tag-l { left: 14px; } .ba-tag-r { right: 14px; }
.ba figcaption { position: absolute; left: 14px; bottom: 12px; padding: 5px 12px; border-radius: 999px; font-size: .8rem;
  background: rgba(26, 40, 35, .72); color: #fff; pointer-events: none; }
.ba-note { font-size: .82rem; opacity: .7; margin: 0 0 40px; }
@media (min-width: 901px) {                               /* ordinateur : côte à côte, plus compacts */
  .ba-list { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ba { border-radius: 18px; }
  .ba-handle { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .ba-handle svg { width: 18px; height: 18px; }
  .ba-tag, .ba figcaption { font-size: .7rem; padding: 3px 10px; }
  .ba-tag { top: 10px; } .ba-tag-l { left: 10px; } .ba-tag-r { right: 10px; }
  .ba { overflow: visible; }
  .ba > img, .ba-before { border-radius: 18px; overflow: hidden; }
  .ba figcaption { left: 0; bottom: auto; top: calc(100% + 8px); padding: 0; background: none; color: var(--ink); opacity: .75; font-size: .8rem; }
}
@media (max-width: 600px) {
  .ba-list { gap: 34px; margin-bottom: 40px; }
  .ba { border-radius: 14px; overflow: visible; }
  .ba > img, .ba-before { border-radius: 14px; overflow: hidden; }
  .ba-handle { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
  .ba-handle svg { width: 16px; height: 16px; }
  .ba-tag { top: 6px; font-size: .62rem; padding: 2px 8px; }
  .ba-tag-l { left: 6px; } .ba-tag-r { right: 6px; }
  .ba figcaption { left: 0; bottom: auto; top: calc(100% + 6px); padding: 0; background: none; color: var(--ink); font-size: .75rem; opacity: .75; }
}
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review-empty { grid-column: 1 / -1; background: none; border: 0; border-top: 1px solid var(--hair); border-radius: 0; padding: 28px 0 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.review-empty p { margin: 0; max-width: 460px; color: var(--muted); }
.stars { color: var(--rose); font-size: 1.1rem; letter-spacing: 4px; }
.review p { font-style: italic; }
.review footer { color: var(--muted); font-size: .9rem; }

/* Orthoptiste */
/* texte à gauche (6 col.), portrait à droite (5 col.) */
/* ---------- Pissenlit 3D (graines qui reviennent au défilement) ---------- */
#orthoptiste { position: relative; }
.flower-3d { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 0; }   /* taille et position : main.js (zone de la fleur) */  /* la fleur, dans sa section, sous le contenu */
.seeds-3d { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 1; visibility: hidden; }  /* graines en vol : sous l’iris et le contenu, sur le fond d’« Avis » */
#orthoptiste > .op { position: relative; z-index: 2; }   /* les graines (calque z 1) passent derrière le contenu */
.flower-dock { pointer-events: none; }
.vine-3d { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 5; visibility: hidden; }  /* tige qui descend jusqu'au plan */
.flower-dock-pc { flex: 1; min-height: 160px; width: 72%; margin-top: -24px; }   /* la fleur remonte un peu vers le nom */
.flower-dock-m { display: none; }
@media (max-width: 920px) {
  .flower-dock-pc { display: none; }
  .flower-dock-m { display: block; grid-area: flower; min-height: 260px; }
}
/* ---------- Votre orthoptiste : phrase d'accroche, puis nom / portrait / présentation ---------- */
.op-intro { position: relative; margin-bottom: clamp(56px, 8vw, 110px); }
.op-intro .eyebrow { position: absolute; left: 0; top: .55em; margin: 0; }
.op-statement { margin: 0; max-width: 1180px; font-family: var(--font-head); font-weight: 340; font-variation-settings: "opsz" 72; letter-spacing: -.03em;
  font-size: clamp(1.9rem, 3.5vw, 3.5rem); line-height: 1.12; color: var(--ink); text-indent: clamp(150px, 15vw, 230px); }
.op-statement em { font-style: italic; color: var(--rose); }
.op-grid { display: grid; grid-template-columns: 1.05fr 1.15fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.op-name, .op-bio { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.op-name h2 { margin: 0; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1.02; font-weight: 400; letter-spacing: -.03em; }
.op-name h2 em { display: block; color: var(--rose); }
.op-name h2 span { display: block; }
.op-role { margin: 4px 0 0; color: var(--muted); font-size: .98rem; }
.op-label { margin: 0 0 8px; font-size: .82rem; color: var(--muted); }
.op-spec ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.op-photo { aspect-ratio: 8 / 9; border-radius: 18px; margin: 0; }
.op-photo img { object-position: 50% 22%; }   /* le visage reste dans le cadre quel que soit le recadrage */
.op-bio p { margin: 0 0 14px; font-size: .95rem; line-height: 1.6; color: var(--muted); max-width: 400px; }
.op-list { margin: 0 0 14px; padding-left: 1.1em; max-width: 400px; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.op-list li { margin: 0 0 6px; }
.op-list strong { color: var(--ink); font-weight: 600; }
.op-facts { margin: 22px 0 0; max-width: 400px; font-size: .85rem; }
.op-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.op-facts dt { color: var(--muted); flex: none; }
.op-facts dd { margin: 0; text-align: right; }
.op-arrow { align-self: flex-end; width: 92px; height: 92px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s; }
.op-arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.op-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (min-width: 921px) {                               /* ordinateur : toute la section tient dans un écran */
  #orthoptiste { height: calc(100svh - var(--header-h)); min-height: 560px; padding: clamp(48px, 9vh, 96px) 0 clamp(24px, 5vh, 56px); box-sizing: border-box; }
  /* la section reste épinglée le temps que les graines reviennent, puis la page continue */
  .op-track { height: calc(100svh - var(--header-h) + 110vh); }
  .op-track > #orthoptiste { position: sticky; top: var(--header-h); z-index: 2; }   /* « sticky » fait un calque à part : on le place au-dessus des graines (z 1) */
  #orthoptiste > .op { height: 100%; display: flex; flex-direction: column; }
  .op-intro { margin-bottom: clamp(24px, 6vh, 72px); }
  .op-statement { font-size: clamp(1.6rem, min(3.4vw, 5.6vh), 3.5rem); }
  .op-grid { flex: 1; min-height: 0; }
  .op-photo { aspect-ratio: auto; height: 100%; min-height: 0; }
  .op-name h2 { font-size: clamp(1.8rem, min(3.3vw, 5.4vh), 3.2rem); }
  /* présentation plus longue : texte et espacements suivent la hauteur de l'écran pour que tout tienne sans déborder */
  .op-bio { gap: clamp(12px, 2.5vh, 32px); }
  .op-bio p, .op-list { font-size: clamp(.76rem, 1.55vh, .95rem); line-height: 1.5; margin-bottom: clamp(6px, 1.2vh, 14px); }
  .op-list li { margin-bottom: clamp(2px, .5vh, 6px); }
  .op-facts { margin-top: clamp(8px, 1.6vh, 22px); font-size: clamp(.74rem, 1.4vh, .85rem); }
  .op-facts div { padding: clamp(2px, .5vh, 6px) 0; }
  .op-arrow { width: clamp(52px, 8vh, 92px); height: clamp(52px, 8vh, 92px); }
}
@media (max-width: 920px) {
  .op-intro .eyebrow { position: static; margin-bottom: 14px; }
  .op-statement { text-indent: 0; font-size: clamp(1.9rem, 8.6vw, 2.7rem); line-height: 1.08; }
  /* téléphone : portrait à gauche, nom à droite, présentation dessous */
  .op-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "photo name" "bio flower"; gap: 28px 18px; }
  .op-name { grid-area: name; justify-content: flex-start; gap: 0; }
  .op-name h2 { font-size: clamp(1.6rem, 7.4vw, 2.3rem); }
  .op-role { margin-top: 2px; font-size: .85rem; }
  .op-photo { grid-area: photo; width: 100%; aspect-ratio: 8 / 9; border-radius: 14px; }
  .op-bio { grid-area: bio; gap: 18px; }
  .op-bio p, .op-list { font-size: 1rem; max-width: none; }
  .op-facts { max-width: none; }
  .op-arrow { width: 72px; height: 72px; }
}
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; }
.about-text { grid-column: 1 / 7; grid-row: 1; }
.about-photo { grid-column: 8 / 13; grid-row: 1; aspect-ratio: 4 / 5; }
/* modèle D : lignes d'information, libellé à gauche, valeur à droite, filet entre chaque ligne */
.facts { margin: 32px 0; border-top: 1px solid var(--hair); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-size: .85rem; color: var(--muted); flex: none; }
.facts dd { margin: 0; font-size: .92rem; text-align: right; }

/* Contact */
.section-dark { background: var(--forest); color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: stretch; }
.contact-info { grid-column: 1 / 7; }
.map { grid-column: 8 / 13; }
/* modèle D sur fond sombre */
.contact-list { list-style: none; padding: 0; margin: 32px 0 40px; border-top: 1px solid var(--hair-dark); }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--hair-dark); }
.contact-list svg { display: none; }
.contact-list li > div { display: flex; justify-content: space-between; gap: 24px; }
.contact-list strong { font-weight: 400; font-size: .85rem; color: rgba(255,255,255,.6); flex: none; }
.contact-list span, .contact-list a { color: #fff; text-align: right; font-size: .92rem; }
.contact-list small { display: block; margin-top: 4px; font-size: .78rem; color: rgba(255,255,255,.6); }
.hours { width: 100%; border-collapse: collapse; margin: 0 0 40px; font-size: .92rem; border-top: 1px solid var(--hair-dark); }
.hours caption { text-align: left; font-size: .85rem; color: var(--accent); margin-bottom: 12px; }
.hours caption::before { content: "•\00a0\00a0"; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--hair-dark); text-align: left; font-weight: 400; }
.hours th { color: rgba(255,255,255,.6); }
.hours td { text-align: right; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.contact-actions .btn-pill { padding-inline: 40px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: rgba(255,255,255,.06); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
/* Contact (ordinateur) : la section tient exactement dans l'écran */
@media (min-width: 921px) {
  #contact { height: calc(100svh - var(--header-h)); min-height: 520px; padding: clamp(28px, 6vh, 72px) 0; box-sizing: border-box; }
  #contact .contact-grid { height: 100%; }
  #contact .contact-info { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
  #contact .contact-info h2 { margin-bottom: clamp(8px, 2vh, 20px); }
  #contact .contact-list { margin: clamp(10px, 2.4vh, 32px) 0 clamp(12px, 3vh, 40px); }
  #contact .contact-list li { padding: clamp(7px, 1.5vh, 14px) 0; }
  #contact .hours { margin-bottom: clamp(14px, 3vh, 40px); }
  #contact .hours caption { margin-bottom: clamp(6px, 1.2vh, 12px); }
  #contact .hours th, #contact .hours td { padding: clamp(5px, 1.2vh, 12px) 0; }
  #contact .map, #contact .map iframe { min-height: 0; height: 100%; }
}
#contact .map { border-radius: 22px; }                   /* coins du plan bien arrondis */
@media (max-width: 920px) {                               /* téléphone : le titre, puis le plan, puis les informations */
  #orthoptiste { padding-bottom: 32px; }                 /* moins de vide entre « L'orthoptiste » et « Venir au cabinet » */
  #contact { padding-top: 48px; }
  #contact .contact-grid { display: flex; flex-direction: column; gap: 0; }
  #contact .contact-info { display: contents; }
  #contact .contact-info > * { order: 3; }
  #contact .contact-info > .eyebrow, #contact .contact-info > h2 { order: 1; }
  #contact .map { order: 2; height: 280px; min-height: 0; border-radius: 18px; margin: 10px 0 8px; }
  #contact .map iframe { height: 100%; min-height: 0; }
}

/* FAQ */
/* titre à gauche (4 col.), questions à droite (7 col.) */
.faq-wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; }
.faq-wrap .section-head { grid-column: 1 / 5; display: block; margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-wrap .faq { grid-column: 6 / 13; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); padding: 22px 0; }
.faq summary {
  justify-content: space-between; gap: 24px; color: var(--ink);
  font-family: var(--font-head); font-weight: 380; font-variation-settings: "opsz" 72; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.2;
}
.faq summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 300; color: var(--rose); font-size: 1.6rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Pied de page */
.site-footer { background: #121D19; color: rgba(255,255,255,.75); padding: 64px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h4 { color: var(--accent); font-size: .8rem; font-weight: 400; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hair-dark); }
.site-footer h4::before { content: "•\00a0\00a0"; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer .brand-text { color: #fff; }
.brand-footer .brand-text small { color: var(--blush); }
.brand-footer .brand-mark { color: #fff; }
.footer-pro, .footer-note { font-size: .85rem; }
.footer-note { margin-top: 14px; color: rgba(255,255,255,.55); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* Page mentions légales */
.legal { max-width: 820px; padding: 48px 0 96px; }
.legal h2 { margin-top: 1.6em; font-size: 1.6rem; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .gallery .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .gallery .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4), .gallery .reveal:nth-child(4) { transition-delay: .24s; }
.cards .reveal:nth-child(5) { transition-delay: .32s; }
.cards .reveal:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-4, .gallery { grid-template-columns: repeat(2, 1fr); }
  .main-nav ul { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--bg); padding: 20px 16px 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(26,40,35,.1);
    transform: translateY(-120%); visibility: hidden; transition: transform .35s ease, visibility .35s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { display: block; padding: 12px 4px; font-size: 1.05rem; }
  .main-nav ul a::after { display: none; }

  .about-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-text, .about-photo, .contact-info, .map, .faq-wrap .section-head, .faq-wrap .faq { grid-column: 1; grid-row: auto; }
  .faq-wrap .section-head { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head h2, .section-head > p:not(.eyebrow) { grid-column: 1; }
  .section-head > p:not(.eyebrow) { max-width: 520px; }
  .gallery .photo:nth-child(even) { margin-top: 0; }
  .soins-inner { max-width: none; }
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hero-lead { grid-column: 1; }
  .btn-pill { grid-column: 2; }
  .site-header.on-cine .main-nav.open { background: var(--bg); }
  .site-header.on-cine .main-nav.open ul a { color: var(--ink); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 420px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards-4, .cards-3, .gallery, .facts, .footer-grid { grid-template-columns: 1fr; }
  .cine-shade { background: linear-gradient(0deg, rgba(26,40,35,.85) 0%, rgba(26,40,35,.45) 45%, rgba(26,40,35,.1) 75%); }
  .hero-bottom { grid-template-columns: 1fr; gap: 16px; }
  .hero-lead, .btn-pill { grid-column: 1; }
  .hero-title { font-size: 9.4vw; }
  .hero-title .l3 { padding-left: 6%; }
  .card { padding: 22px; }
}
