/* ─────────────────────────────────────────────────────────────
   Site de présentation — Dr Hanna Souied
   Matière du cabinet : bois chocolat, mur caramel, marbre crème.
   Écriture : Fraunces (titres de section) + Playfair Display + Karla (texte).
   ───────────────────────────────────────────────────────────── */
:root {
  --brun: #83552B;          /* caramel foncé : boutons, chiffres, accents */
  --chocolat: #3B2518;      /* bois des meubles : aplats sombres, voile de la vidéo */
  --sable-clair: #E9D4B4;   /* marbre chaud : accents sur fond sombre */
  --sable: #F1E5D3;         /* fonds doux */
  --creme: #F8F2E8;         /* fond de page */
  --blanc: #FFFFFF;
  --encre: #2A1E15;
  --encre-douce: #4E3F33;
  --doux: #7A6A5B;
  --trait: #E6D9C7;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --titre: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --gouttiere: clamp(20px, 5vw, 42px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 400 17px/1.75 var(--sans); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.lien {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .03em;
  padding: 14px 26px; border-radius: 999px; background: var(--brun); color: #fff;
  transition: filter .15s;
}
.lien:hover { filter: brightness(1.1); }
.lien.clair { background: #fff; color: var(--chocolat); }
:focus-visible { outline: 2px solid var(--brun); outline-offset: 3px; }

/* Emplacements d'images en attente des photos */
.photo { position: relative; overflow: hidden; background: linear-gradient(135deg, #EFE4D4 0%, #F8F2E9 55%, #E6D7C0 100%); display: grid; place-items: center; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo:not(:has(img))::after {
  content: attr(data-l); font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: #9B8974; text-align: center; padding: 0 14px;
}

/* ── Barre de navigation ─────────────────────────────────── */
.tete {
  position: sticky; top: 0; z-index: 30;
  background: var(--chocolat); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.barre { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px var(--gouttiere); }
.barre .nom { display: inline-flex; align-items: center; gap: 11px; font: 400 23px/1 var(--serif); text-decoration: none; white-space: nowrap; color: #fff; }
.barre .nom .marque { width: 41px; height: 38px; flex: none; }
@media (max-width: 520px) { .barre .nom { gap: 8px; font-size: 19px; } .barre .nom .marque { width: 33px; height: 30px; } }
.principal { display: flex; align-items: center; gap: 26px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.principal > a, .declencheur { text-decoration: none; color: inherit; }
.barre .lien { background: #fff; color: var(--chocolat); }
.principal > a:hover, .declencheur:hover { color: #fff; }
.barre .lien { padding: 11px 22px; font-size: 13px; }

/* Boîtes déroulantes, ouvertes au survol */
.item { position: relative; }
.declencheur {
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.declencheur::after { content: ''; width: 6px; height: 6px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.item:hover .declencheur, .item:focus-within .declencheur, .item.ouvert .declencheur { color: #fff; }
.item:hover .declencheur::after, .item:focus-within .declencheur::after, .item.ouvert .declencheur::after { transform: translateY(1px) rotate(225deg); }
.boite {
  position: absolute; top: calc(100% + 14px); left: 0; z-index: 9;
  background: #2A1A10; border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px;
  box-shadow: 0 30px 60px -22px rgba(26, 15, 8, .85);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.item:hover .boite, .item:focus-within .boite, .item.ouvert .boite { opacity: 1; visibility: visible; transform: none; }
.boite::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.boite ul { list-style: none; margin: 0; padding: 14px; }
.boite a {
  display: block; padding: 9px 14px; border-radius: 9px; white-space: nowrap;
  text-decoration: none; color: rgba(255, 255, 255, .88);
  font: 400 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none;
}
.boite a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.boite a[aria-current="page"] { color: var(--sable-clair); }
.boite .num { font: italic 300 17px/1 var(--titre); color: var(--sable-clair); margin-right: 9px; }
@media (max-width: 760px) {
  .boite { left: 0; right: auto; min-width: min(290px, calc(100vw - 2 * var(--gouttiere))); max-width: calc(100vw - 2 * var(--gouttiere)); }
  .boite a { white-space: normal; }
}

section[id] { scroll-margin-top: 110px; }
@media (max-width: 760px) {
  .barre { flex-wrap: wrap; gap: 10px 14px; padding: 12px var(--gouttiere); }
  .barre .nom { font-size: 19px; }
  .principal { gap: 18px; font-size: 11px; letter-spacing: .1em; order: 3; width: 100%; }
  .barre .lien { padding: 9px 15px; font-size: 11.5px; }
  section[id] { scroll-margin-top: 108px; }
}

/* ── Haut de page ────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 880px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(110px, 16vw, 170px) var(--gouttiere) clamp(46px, 7vw, 86px);
  background: var(--chocolat);
}
.hero-film { position: absolute; inset: 0; z-index: -2; background: var(--chocolat); }
.hero-film video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
/* Le voile chocolat laisse deviner la vidéo sans jamais gêner la lecture. */
.hero-voile {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(28, 17, 10, .93) 0%, rgba(33, 20, 12, .84) 42%, rgba(42, 26, 16, .68) 100%),
    linear-gradient(to right, rgba(28, 17, 10, .34) 0%, rgba(28, 17, 10, .08) 72%);
}
.hero-txt { color: #fff; max-width: min(820px, 100%); }
.hero-signature {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(33px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -.028em;
  max-width: 15em;
  color: #F8F2E8;
}
.hero-signature em { font-style: italic; color: var(--sable-clair); }
.hero .chapo { color: rgba(248, 242, 232, .86); margin-top: clamp(18px, 2.4vw, 28px); max-width: 46ch; font-size: clamp(16px, 1.5vw, 18.5px); }
.hero .signature { margin-top: 24px; font: 500 11px/1.8 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(248, 242, 232, .58); }
.hero .lien { margin-top: clamp(26px, 3vw, 36px); align-self: flex-start; }

/* La barre du haut se pose sur la vidéo, puis redevient pleine au défilement. */
.tete.sur-film { background: transparent; border-bottom-color: transparent; }
.tete.sur-film::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(31, 19, 11, .78), rgba(31, 19, 11, 0));
}
.tete.sur-film > * { position: relative; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(44px, 6vw, 72px) var(--gouttiere); max-width: 1140px; margin: 0 auto; }
.section + .section { padding-top: 0; }
/* Les titres de section : pas d'encadré, du gras chocolat en capitales. */
.entete { margin-bottom: clamp(20px, 2.8vw, 32px); }
.num {
  font-family: Fraunces, var(--serif); font-weight: 600;
  font-size: clamp(22px, 3.1vw, 36px); line-height: 1.14;
  letter-spacing: .01em; text-transform: uppercase;
  color: var(--chocolat);
}
.num b { font-weight: 700; color: var(--brun); }
.grand { max-width: 36ch; margin-bottom: clamp(22px, 3vw, 30px); font-family: var(--serif); font-size: clamp(21px, 2.2vw, 25px); line-height: 1.36; color: var(--chocolat); }
@media (max-width: 860px) { .grand.decale { margin-left: 0; } }
.texte { max-width: 68ch; }
.texte p { margin-bottom: 18px; color: var(--encre-douce); }
.texte p:last-child { margin-bottom: 0; }
.texte h3 { font-size: clamp(20px, 2.1vw, 24px); line-height: 1.3; margin: 34px 0 14px; }
.texte h3:first-child { margin-top: 0; }
.decale { margin-left: min(250px, 22%); }
@media (max-width: 860px) { .decale { margin-left: 0; } }

.bande { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; max-width: 780px; }
.bande .photo { aspect-ratio: 3/2; border-radius: 14px; }
/* Le sujet est dans le bas des photos du cabinet : on coupe le plafond, pas les personnes. */
/* Détachée du flux, l'image ne peut plus imposer sa hauteur au cadre. */
.bande .photo img, .duo .photo img, .soin .photo.entier img { position: absolute; inset: 0; }
.bande .photo img { object-position: 50% 62%; }
/* Cabine vide : le sujet est l'arche et le fauteuil, pas le sol. */
.bande .photo img[src*="cabine-face"],
.bande .photo img[src*="cabine-angle"],
.bande .photo img[src*="cabine-porte"],
.bande .photo img[src*="cabine-large"],
.bande .photo img[src*="ecran-intraoral"] { object-position: 50% 44%; }
.duo .photo img { object-position: 50% 62%; }
.photo.portrait img { object-position: 50% 26%; }
.bande .photo:first-child { border-radius: 70px 14px 14px 14px; }
.duo { display: grid; grid-template-columns: 1fr 0.78fr; gap: clamp(20px, 4vw, 40px); align-items: center; margin-top: 34px; }
.duo .photo { aspect-ratio: 4/5; border-radius: 150px 150px 16px 16px; }

.citation { margin: 36px 0 0; padding: 26px 30px; background: var(--sable); border-radius: 18px; font: italic 400 clamp(19px, 2.2vw, 23px)/1.45 var(--serif); color: var(--chocolat); max-width: 46ch; }

.formation { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 62ch; }
.formation li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--encre-douce); font-size: 16px; line-height: 1.6; }
.formation li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brun); margin-top: 11px; }

/* ── Soins ───────────────────────────────────────────────── */
.soins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.soin { background: var(--blanc); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.soin:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -26px rgba(42, 30, 21, .55); }
.soin .photo { aspect-ratio: 5/4; }
/* Vignette avant/après : le format empilé remplit bien le carré. */
.photo.entier { background: var(--blanc); }
.photo.entier img { object-fit: contain; }
.soin .duo-mini { display: grid; grid-template-rows: minmax(0, 1fr) 9px minmax(0, 1fr); background: var(--sable); }
.soin .duo-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soin .duo-mini .filet { background: var(--brun); }
/* Montage déjà empilé : la même image, cadrée sur sa moitié haute puis sur sa moitié basse. */
.soin .duo-mini.coupe img:first-of-type { object-position: 50% 26%; }
.soin .duo-mini.coupe img:last-of-type { object-position: 50% 80%; }
.soin span { display: block; padding: 15px 18px 18px; font: 400 19px/1.3 var(--serif); }

/* ── Cas cliniques ───────────────────────────────────────── */

/* ── Bas de page ─────────────────────────────────────────── */
.infos { background: var(--chocolat); color: #fff; border-radius: 26px 26px 0 0; margin-top: clamp(44px, 6vw, 72px); padding: clamp(40px, 6vw, 68px) var(--gouttiere); }
.infos-in { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 34px); }
@media (max-width: 1000px) { .infos-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.infos h3 { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 12px; }
.infos p { color: rgba(255, 255, 255, .92); font-size: 16px; }
.infos .lien { margin-top: 18px; }
.mentions { max-width: 1060px; margin: clamp(30px, 5vw, 46px) auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.mentions a { text-decoration: none; }
.mentions a:hover { color: #fff; }

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .hero, .duo, .soins, .infos-in { grid-template-columns: minmax(0, 1fr); }
  .bande { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 26px; }
  .bande .photo { border-radius: 9px; }
  .bande .photo:first-child { border-radius: 30px 9px 9px 9px; }
  .duo .photo { aspect-ratio: 5/4; border-radius: 90px 90px 14px 14px; }
  .hero-txt { max-width: none; }
  .hero-film video { object-position: 50% 38%; }
  .soins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soin span { font-size: 17px; padding: 12px 14px 15px; }
}
@media (max-width: 520px) {
  .soins { grid-template-columns: minmax(0, 1fr); }
  .barre .nom { font-size: 20px; }
}


/* ── Grain de papier, très léger ──────────────────────────── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.22'/%3E%3C/svg%3E");
}
@media print { body::before { display: none; } }

/* ── Curseur avant / après ────────────────────────────────── */
/* ── Avant / après : empilés, séparés d'un filet et du monogramme ── */
.cas-ap { margin: 0; background: var(--blanc); border-radius: 16px; overflow: hidden; }
.cas-ap .paire { background: var(--sable); }
.cas-ap .vue { position: relative; }
.cas-ap .vue img { display: block; width: 100%; height: auto; }
.cas-ap .vue .photo { aspect-ratio: 16/5; }
.cas-ap .etiquette {
  position: absolute; left: 12px; top: 11px;
  font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--chocolat); background: rgba(255, 255, 255, .88); padding: 6px 9px; border-radius: 999px;
}
/* Les deux photos se touchent : un seul bandeau marron les sépare. */
.cas-ap .separation {
  height: 26px; background: var(--brun); color: #F6EADA;
  display: grid; place-items: center;
}
.cas-ap .separation .sceau { width: 21px; height: 17px; display: block; }
.cas-ap figcaption { padding: 13px 16px 15px; font-size: 14.5px; color: var(--encre-douce); background: var(--blanc); border-top: 1px solid var(--trait); }
.cas-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cas-grille > * { align-self: start; }
.cas-grille:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.cas-grille > :only-child { max-width: 780px; }
@media (max-width: 860px) { .cas-grille { grid-template-columns: minmax(0, 1fr); } }

/* ── Page de soin ────────────────────────────────────────── */
.soin-tete { padding-bottom: 0; }
.fil { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--doux); margin-bottom: 16px; }
.fil a { color: inherit; text-decoration: none; }
.fil a:hover { color: var(--brun); }
.fil span { margin: 0 6px; color: var(--sable-clair); }
.soin-corps { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.appui { display: grid; gap: 12px; position: sticky; top: 112px; }
.appui .photo { aspect-ratio: 4/5; border-radius: 160px 160px 16px 16px; }
.appui .photo:last-child { border-radius: 16px; }
.suite .soins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .soin-corps { grid-template-columns: minmax(0, 1fr); }
  .appui { position: static; grid-template-columns: 1fr 1fr; }
  .suite .soins { grid-template-columns: minmax(0, 1fr); }
}

/* ── Rappel honoraires en bas des pages de soin ──────────── */
.rappel { margin-top: 34px; padding: 16px 20px; background: var(--sable); border-radius: 14px; font-size: 15px; color: var(--chocolat); }

/* ── Schémas explicatifs ─────────────────────────────────── */
.soin-corps.seul { grid-template-columns: minmax(0, 1fr); }
/* Une photo posée derrière le texte, dans ses proportions d'origine et très effacée. */
.avec-fond { position: relative; isolation: isolate; }
.fond-photo {
  position: absolute; top: clamp(10px, 4vw, 48px); right: calc(var(--gouttiere) * -0.4);
  width: min(720px, 78%); z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(130% 100% at 70% 36%, #000 34%, transparent 74%);
  mask-image: radial-gradient(130% 100% at 70% 36%, #000 34%, transparent 74%);
}
.fond-photo img { width: 100%; height: auto; display: block; opacity: .30; }
/* Sur le fond chocolat du pied de page, la photo s'efface davantage. */
.infos .fond-photo { top: auto; bottom: 0; right: 0; width: min(560px, 54%); }
.fond-photo.sombre img { opacity: .13; }
/* Un visage ne supporte pas d'être réduit à une tache : on le cadre dans le bandeau et on le laisse un peu plus lisible. */
.infos .fond-photo.sombre.visage { top: 0; bottom: 0; right: 0; width: min(520px, 48%); overflow: hidden;
  -webkit-mask-image: linear-gradient(to left, #000 46%, transparent 100%);
  mask-image: linear-gradient(to left, #000 46%, transparent 100%); }
.infos .fond-photo.sombre.visage img { height: 100%; object-fit: cover; object-position: 50% 16%; opacity: .24; }
@media (max-width: 760px) {
  /* Sur téléphone le pied de page est très haut : la photo reste une bande en bas, sinon elle s'étire en lanière. */
  .infos .fond-photo.sombre.visage { top: auto; bottom: 0; width: 88%; height: 250px;
    -webkit-mask-image: linear-gradient(to left, #000 28%, transparent 100%);
    mask-image: linear-gradient(to left, #000 28%, transparent 100%); }
  .infos .fond-photo.sombre.visage img { opacity: .15; object-position: 50% 20%; }
}
.fond-photo.discret {
  top: clamp(40px, 10vw, 140px); width: min(620px, 62%);
  -webkit-mask-image: radial-gradient(120% 92% at 72% 42%, #000 18%, transparent 68%);
  mask-image: radial-gradient(120% 92% at 72% 42%, #000 18%, transparent 68%);
}
.fond-photo.discret img { opacity: .16; }
@media (max-width: 900px) { .fond-photo.discret { width: 96%; right: -8%; } .fond-photo.discret img { opacity: .10; } }
@media (max-width: 900px) { .fond-photo { width: 110%; right: -12%; } .fond-photo img { opacity: .22; } }
.schemas { display: grid; gap: 18px; padding-top: 0; }
.schemas.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.schemas figcaption { margin-top: 9px; font-size: 14px; color: var(--encre-douce); }
@media (max-width: 860px) { .schemas.trio { grid-template-columns: minmax(0, 1fr); } }
.schemas figure { margin: 0; }
/* Un objet photographié : plus petit, centré, pour ne pas écraser le texte. */
.schemas.objet figure { max-width: 620px; margin-inline: auto; }
.schemas img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--trait); background: var(--blanc); }

/* ── Cas présentés en montages avant/après ──────────────── */
.cas-titre { font: 400 clamp(19px, 2vw, 22px)/1.3 var(--serif); color: var(--chocolat); margin: clamp(22px, 3vw, 32px) 0 14px; }
.montages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.montages figure { margin: 0; }
.montages img { width: 100%; height: auto; display: block; border-radius: 14px; background: var(--sable); }
.montages figcaption { margin-top: 9px; font-size: 14px; color: var(--encre-douce); }

/* ── Réglette de teintes ─────────────────────────────────── */
.teintier { margin: 0; padding: 16px 16px 4px; background: var(--blanc); border-top: 1px solid var(--trait); }
.teintier svg { display: block; width: 100%; height: auto; }
.teintier .cases rect { stroke: rgba(42, 30, 21, .1); stroke-width: 1; }
.teintier .halo { fill: none; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.7); }
.teintier .halo.avant { stroke: var(--doux); }
.teintier .halo.apres { stroke: var(--brun); stroke-width: 3; }
.teintier .fleche, .teintier .pointe { stroke: var(--brun); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.teintier .fleche { stroke-dasharray: 400; stroke-dashoffset: 400; }
.teintier .pointe { opacity: 0; }
.teintier text { font: 400 12px/1 var(--sans); fill: var(--doux); opacity: 0; }
.teintier .valeur { font: 500 15px/1 var(--mono); fill: var(--encre); letter-spacing: .02em; }
.teintier .mot-apres .valeur { fill: var(--brun); }
.teintier figcaption { padding: 6px 2px 10px; font-size: 13px; color: var(--doux); }

/* L'animation se déclenche quand la réglette entre dans l'écran. */
.teintier.vu .halo { animation: halo-apparait .5s ease-out forwards; }
.teintier.vu .halo.apres { animation-delay: 1.15s; }
.teintier.vu .fleche { animation: trait-se-dessine .9s ease-in-out .35s forwards; }
.teintier.vu .pointe { animation: apparait .3s ease-out 1.15s forwards; }
.teintier.vu .mot-avant text { animation: apparait .4s ease-out .15s forwards; }
.teintier.vu .mot-apres text { animation: apparait .4s ease-out 1.3s forwards; }
@keyframes halo-apparait { to { opacity: 1; transform: scale(1); } }
@keyframes trait-se-dessine { to { stroke-dashoffset: 0; } }
@keyframes apparait { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .teintier .halo, .teintier .pointe, .teintier text { opacity: 1; transform: none; }
  .teintier .fleche { stroke-dashoffset: 0; }
  .teintier.vu * { animation: none !important; }
}

/* ── Hero vidéo : repli sans animation ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-film video { display: none; }
  .hero-film { background: var(--chocolat) url('../images/accueil/hero-poster.jpg') center 45% / cover no-repeat; }
}

/* ── Téléphone du cabinet ────────────────────────────────── */
.infos .tel { font: 400 clamp(24px, 2.6vw, 31px)/1.2 var(--serif); margin-bottom: 8px; }
.infos .tel a { text-decoration: none; border-bottom: 1px solid rgba(233, 212, 180, .4); padding-bottom: 2px; }
.infos .tel a:hover { border-bottom-color: var(--sable-clair); }
.infos .tel-note { font-size: 14.5px; }

/* ── Apparition au défilement ────────────────────────────── */
/* Masqué uniquement si le navigateur exécute le script : sans lui, tout reste lisible. */
.js .apparait { opacity: 0; transform: translateY(18px); }
.js .apparait.vu { opacity: 1; transform: none; }
.js .apparait {
  transition: opacity .75s cubic-bezier(.22, .61, .36, 1), transform .75s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--rang, 0) * 90ms);
  will-change: opacity, transform;
}
/* Le haut de page s'installe dès l'arrivée, sans attendre le défilement. */
.js .hero-txt > * { opacity: 0; transform: translateY(20px); animation: monte .9s cubic-bezier(.22, .61, .36, 1) forwards; }
.js .hero-txt > *:nth-child(1) { animation-delay: .15s; }
.js .hero-txt > *:nth-child(2) { animation-delay: .28s; }
.js .hero-txt > *:nth-child(3) { animation-delay: .38s; }
.js .hero-txt > *:nth-child(4) { animation-delay: .48s; }
@keyframes monte { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .apparait, .js .apparait.vu { opacity: 1; transform: none; transition: none; }
  .js .hero-txt > * { opacity: 1; transform: none; animation: none; }
}
