/* EMLA Studio
   Site vitrine dans le langage visuel des deux moodboards de la cliente :
   1. son feed de référence : aplats chocolat, brun, taupe et nude, texte
      posé sur les photos, didone très contrastée, capitales sans-serif
      espacées, listes à filets, liste d'horaires, cercle de mots ;
   2. son collage d'ambiance : lumière de soleil et ombres de palmes sur du
      sable, doré, « OUR STORY BEGINS », « aesthetic. » encadré de traits. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-italique-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  --chocolat: #3b2a20;
  --brun: #6a4838;
  --taupe: #9b7c68;
  --nude: #d8c6b4;
  --sable: #e8dccb;
  --creme: #f3ede6;
  --blanc: #fbf8f4;
  --or: #b98a52;
  --encre: #5a3c2c;

  --didone: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, sans-serif;

  --joint: 6px;
  --entete: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--entete); -webkit-text-size-adjust: 100%; }
/* Rien ne doit jamais élargir la page sur téléphone (zoom de l'accueil,
   vidéos décalées, cercle de la cure en rotation) : Safari iOS élargit sinon
   tout le document et décale l'affichage. */
html { overflow-x: hidden; }
body { overflow-x: clip; position: relative; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--chocolat);
  font: 400 .95rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--chocolat); color: var(--blanc); padding: 10px 16px; }
.evitement:focus { top: 12px; }

/* ---------- typographie du moodboard ---------- */
.titre-didone {
  font-family: var(--didone); font-optical-sizing: auto;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem); line-height: 1; letter-spacing: -.01em;
}
.titre-didone.moyen { font-size: clamp(1.7rem, 2.2vw, 2.2rem); margin: 28px 0 10px; }
.titre-italique {
  font-family: var(--didone); font-style: italic; text-transform: uppercase;
  font-size: clamp(2rem, 3.1vw, 3.1rem); line-height: .98; letter-spacing: -.03em;
}
.titre-italique.petit-titre { font-size: clamp(1.6rem, 2.2vw, 2.2rem); margin-bottom: 18px; }
.sous-titre {
  font: 500 .66rem/1.6 var(--sans); letter-spacing: .38em; text-transform: uppercase;
  margin: 12px 0 0;
}
.titre-capitales {
  font-family: var(--didone); text-transform: uppercase; color: var(--encre);
  font-size: clamp(3.2rem, 6vw, 5.6rem); line-height: 1; letter-spacing: .01em; text-align: center;
}
.titre-capitales span { display: block; font-size: .42em; letter-spacing: .06em; margin: .3em 0; }
.note-italique { font: italic 400 1.05rem/1.5 var(--didone); opacity: .85; margin-top: 8px; }

.liste-filets { list-style: none; margin: 28px auto; padding: 0; width: min(100%, 300px); text-align: center; }
.liste-filets li { font: 500 .7rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 13px 0; }
.liste-filets li + li { border-top: 1px solid color-mix(in srgb, currentColor 55%, transparent); }

.mot-encadre { font: 400 clamp(2.6rem, 4.8vw, 4.4rem)/1 var(--didone); color: var(--encre); position: relative; margin: 0; }
.mot-encadre::before, .mot-encadre::after {
  content: ""; position: absolute; left: 1.32em; width: .42em; height: 1.5px; background: currentColor;
}
.mot-encadre::before { top: -.2em; }
.mot-encadre::after { bottom: -.22em; }

/* ---------- boutons ---------- */
.bouton-capsule {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border-radius: 999px;
  border: 1px solid currentColor; text-decoration: none;
  font: 500 .76rem/1 var(--sans); letter-spacing: .04em;
  transition: background-color .2s, color .2s;
}
.bouton-capsule.clair { background: var(--blanc); color: var(--chocolat); border-color: var(--blanc); }
.bouton-capsule:hover { background: var(--blanc); color: var(--chocolat); border-color: var(--blanc); }
.bouton-capsule.clair:hover { background: transparent; color: var(--blanc); }
.bouton-capsule.fonce { background: var(--chocolat); color: var(--blanc); border-color: var(--chocolat); }
.bouton-capsule.fonce:hover { background: transparent; color: var(--chocolat); }
.lien-souligne {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px;
  font: 500 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px;
}
.lien-souligne:hover { text-decoration-thickness: 2px; }

/* ---------- en-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50; height: var(--entete);
  display: flex; align-items: center; gap: 36px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: var(--blanc);
}
.marque { font: 400 1.6rem/1 var(--didone); letter-spacing: .2em; text-decoration: none; display: inline-flex; align-items: baseline; gap: .45em; }
.marque span { font: 500 .58rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font: 500 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 14px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.entete-rdv {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px;
  background: var(--chocolat); color: var(--blanc); text-decoration: none;
  font: 500 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
}
.entete-rdv:hover { background: var(--brun); }
.burger { display: none; }

@media (max-width: 900px) {
  :root { --entete: 60px; }
  .entete-rdv { display: none; }
  .burger {
    display: grid; place-content: center; gap: 7px; margin-left: auto;
    width: 48px; height: 48px; background: none; border: 0; color: var(--chocolat); cursor: pointer;
  }
  .burger span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .25s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--entete) 0 auto 0; display: none;
    flex-direction: column; gap: 0; padding: 4px 20px 24px; background: var(--blanc);
  }
  .nav.ouvert { display: flex; }
  .nav a { font: italic 400 1.9rem/1.2 var(--didone); letter-spacing: -.01em; text-transform: none; padding: 12px 0; border-bottom: 1px solid var(--sable); }
}

/* ---------- structure ---------- */
.conteneur { width: min(100% - 2 * clamp(20px, 5vw, 64px), 1180px); margin: 0 auto; }
.entete-section { display: grid; grid-template-columns: auto minmax(0, 30em); gap: 16px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.entete-section .titre-italique { font-size: clamp(2.8rem, 5.6vw, 5.2rem); }
.entete-section p { margin: 0; color: var(--encre); }

/* lumière du soleil et ombre de palme, sur le sable */
.soleil { position: relative; isolation: isolate; overflow: hidden; background: var(--sable); }
.soleil::before {
  content: ""; position: absolute; inset: -20%; z-index: -2;
  background: repeating-linear-gradient(118deg, rgba(255, 250, 240, 0) 0 80px, rgba(255, 249, 238, .6) 80px 140px, rgba(255, 250, 240, 0) 140px 240px);
  filter: blur(18px);
}
.soleil::after {
  content: ""; position: absolute; z-index: -1;
  width: min(70%, 640px); aspect-ratio: 9 / 10; left: -8%; top: -12%;
  background: url("../img/ombre-palme.svg") no-repeat center / contain;
  opacity: .22; transform: rotate(-8deg);
}

/* légende posée sur photo, façon « viszlát ráncok | hello ragyogó bőr » */
.legende-photo {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
  display: flex; align-items: center; justify-content: center; padding: 0 16px;
  color: var(--blanc); text-shadow: 0 1px 12px rgba(30, 20, 14, .5);
}
.legende-photo .petit { font: 500 .78rem/1 var(--sans); letter-spacing: .04em; }
.legende-photo em { font: italic 400 1.35rem/1 var(--didone); }
.legende-photo .trait { display: inline-block; width: 1px; height: 34px; background: currentColor; margin: 0 16px; }
.legende-photo .petit + em { margin-left: .4em; }
figure:has(> .legende-photo) { position: relative; }
figure:has(> .legende-photo)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(40, 26, 18, .5), rgba(40, 26, 18, 0) 40%); pointer-events: none; }

/* ---------- ouverture : photo plein écran, texte posé dessus ---------- */
.ouverture {
  position: relative; isolation: isolate; overflow: hidden; contain: paint;
  min-height: calc(100svh - var(--entete));
  display: grid; place-items: center; text-align: center;
  color: var(--blanc); padding: 80px 24px;
}
.ouverture-fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ouverture::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(40, 26, 18, .25), rgba(40, 26, 18, .45) 55%, rgba(40, 26, 18, .6));
}
.ouverture-texte { display: flex; flex-direction: column; align-items: center; text-shadow: 0 2px 24px rgba(30, 20, 14, .35); }
.compte { font: 500 .66rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; margin-bottom: 28px; }
.ouverture h1 { font: 400 clamp(3.2rem, 8vw, 7.4rem)/1 var(--didone); letter-spacing: -.015em; }
.ouverture .sous-titre { margin: 22px 0 40px; font-size: .72rem; }
.ouverture .bouton-capsule { min-height: 52px; padding: 0 40px; font-size: .82rem; text-shadow: none; }
.ouverture-autre { margin-top: 16px; min-height: 44px; display: inline-flex; align-items: center; font: italic 400 1.05rem/1 var(--didone); text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ---------- les soins : deux familles, présentation régulière ---------- */
.soins { background: var(--creme); padding: clamp(80px, 11vw, 150px) 0; }
.famille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.famille + .famille { margin-top: clamp(72px, 10vw, 130px); }
.famille-inverse .famille-photo { order: 2; }
.famille-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--nude); }
.famille-photo img { width: 100%; height: 100%; object-fit: cover; }
.famille-liste .sous-titre { margin: 0 0 8px; color: var(--taupe); }
.soin-ligne { padding: 26px 0; border-bottom: 1px solid rgba(59, 42, 32, .18); }
.soin-ligne .titre-didone { font-size: clamp(1.9rem, 2.8vw, 2.6rem); margin-bottom: 10px; }
.soin-ligne p { margin: 0; font-size: .92rem; max-width: 34em; }
.soin-ligne .precision { margin: -4px 0 10px; }
.precision { font: italic 400 1.1rem/1 var(--didone); color: var(--taupe); }
.famille-liste .note-italique { margin-top: 22px; color: var(--taupe); }

/* ---------- la cure ---------- */
.cure { background: var(--taupe); color: var(--blanc); padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.cure-grille { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.cercle-mots {
  --taille: min(70vw, 340px);
  position: relative; width: var(--taille); height: var(--taille); margin: 40px;
  border: 1px solid rgba(251, 248, 244, .75); border-radius: 50%;
}
.cercle-mots .centre {
  position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center;
  font: 400 2.2rem/1 var(--didone); text-transform: uppercase;
}
.cercle-mots ul { list-style: none; margin: 0; padding: 0; }
.cercle-mots li {
  position: absolute; left: 50%; top: 50%; white-space: nowrap;
  font: italic 400 1.05rem/1 var(--didone); background: var(--taupe); padding: 3px 8px;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--taille) / -2)) rotate(calc(var(--a) * -1));
}
.cercle-mots sup { font-size: .65em; }
.cure-texte { max-width: 520px; }
.cure-texte .titre-didone { font-size: clamp(2.4rem, 4.2vw, 4rem); margin: 16px 0 22px; }

/* ---------- tarifs ---------- */
.tarifs { background: var(--chocolat); color: var(--blanc); padding: clamp(80px, 10vw, 140px) 0; }
.tarifs-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: stretch; }
.tarifs-liste { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tarifs-liste .titre-didone { font-size: clamp(2.8rem, 4.6vw, 4.4rem); }
.carte { list-style: none; margin: 34px auto 26px; padding: 0; width: min(100%, 400px); }
.carte li { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 12px; padding: 15px 0; }
.carte li + li { border-top: 1px solid rgba(251, 248, 244, .4); }
.soin { font: 500 .72rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.duree { font: italic 400 .95rem/1 var(--didone); opacity: .8; }
.points { display: none; }
.prix { font: 400 1.4rem/1 var(--didone); }
.carte a.prix { font: italic 400 .98rem/1 var(--didone); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; min-height: 44px; display: inline-flex; align-items: center; margin: -14px 0; }
.tarifs-note { font-size: .82rem; opacity: .8; max-width: 26em; margin: 0; }

.cadeau { color: var(--encre); text-align: center; padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.cadeau .titre-capitales { margin-bottom: 26px; }
.cadeau p { max-width: 28em; font-size: .9rem; color: var(--chocolat); }

/* ---------- histoire ---------- */
.histoire { padding: clamp(80px, 11vw, 150px) 0; }
.histoire-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.histoire-texte { max-width: 540px; }
.histoire-texte .titre-capitales { text-align: left; margin-bottom: 36px; }
.histoire-texte p { font-size: .94rem; }
.histoire-texte .note-italique { border-top: 1px solid rgba(59, 42, 32, .25); padding-top: 16px; margin-top: 24px; }
.histoire-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.histoire-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- adresses ---------- */
.adresses { background: var(--creme); padding: clamp(80px, 11vw, 150px) 0; }
.adresses-grille { display: grid; grid-template-columns: 1fr 1fr 0.85fr; gap: 6px; }
.adresse-panneau { padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 44px); text-align: center; color: var(--blanc); display: flex; flex-direction: column; align-items: center; }
.adresse-panneau.fonce { background: var(--chocolat); }
.adresse-panneau.brun { background: var(--brun); }
.adresse-panneau .titre-didone { font-size: clamp(2.4rem, 3.4vw, 3.4rem); }
.adresse { font: italic 400 1.2rem/1.4 var(--didone); margin: 22px 0 0; }
.adresse a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.horaires { margin: 26px auto 22px; width: min(100%, 320px); text-align: left; }
.horaires div { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 5px 0; }
.horaires dt, .horaires dd { font: 500 .72rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.horaires dd { font-weight: 400; text-align: right; }
.panneau-texte { font-size: .84rem; opacity: .85; margin-bottom: 24px; }
.adresse-panneau .bouton-capsule { margin-top: auto; }
.adresse-photo { position: relative; overflow: hidden; min-height: 420px; background: var(--nude); }
.adresse-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }

/* ---------- pied ---------- */
.pied { background: var(--chocolat); color: var(--blanc); padding: clamp(64px, 8vw, 96px) 0 0; }
.pied-grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 40px clamp(24px, 4vw, 56px); padding-bottom: 56px; }
.pied p { font-size: .84rem; line-height: 1.7; opacity: .85; margin: 0 0 12px; }
.pied-marque p:not(.mot-encadre) { max-width: 24em; }
.pied .pied-signature { color: var(--creme); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; margin-bottom: 26px; opacity: 1; }
.pied-signature::before, .pied-signature::after { left: 1.15em; }
.pied .pied-titre { font: 500 .64rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; opacity: .6; margin-bottom: 18px; }
.pied a { font-size: .84rem; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pied a:hover { color: var(--nude); }
.pied-liens { list-style: none; margin: 0; padding: 0; }
.pied-liens a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.pied-bas { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(251, 248, 244, .14); font-size: .74rem; opacity: .7; }
.pied-bas a { font-size: .74rem; }

/* ---------- indice de défilement ---------- */
.defiler {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--blanc); text-decoration: none; font: 500 .58rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase;
  min-height: 44px;
}
.defiler::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--blanc), rgba(251, 248, 244, 0)); }
@media (prefers-reduced-motion: no-preference) {
  .defiler::after { animation: goutte 2.4s ease-in-out infinite; transform-origin: top; }
  @keyframes goutte { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
}

/* ---------- repères ---------- */
.reperes { background: var(--brun); color: var(--blanc); padding: clamp(44px, 5vw, 64px) 0; }
.reperes-liste { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reperes-liste li { padding: 6px clamp(16px, 2.4vw, 32px); border-left: 1px solid rgba(251, 248, 244, .25); }
.reperes-liste li:first-child { border-left: 0; padding-left: 0; }
.reperes-liste strong { display: block; font: 400 clamp(1.8rem, 2.6vw, 2.5rem)/1.05 var(--didone); margin-bottom: 10px; }
.reperes-liste span { display: block; font-size: .8rem; line-height: 1.6; opacity: .85; max-width: 22em; }
.anim .reperes-liste li:nth-child(2) { transition-delay: .1s; }
.anim .reperes-liste li:nth-child(3) { transition-delay: .2s; }
.anim .reperes-liste li:nth-child(4) { transition-delay: .3s; }

/* ---------- phrase ---------- */
.phrase { padding: clamp(90px, 12vw, 170px) 0; text-align: center; background: var(--blanc); }
.phrase blockquote { margin: 0 auto; max-width: 980px; }
.phrase p { font: 400 clamp(2rem, 4.2vw, 3.7rem)/1.18 var(--didone); letter-spacing: -.01em; margin: 0 auto 28px; text-wrap: balance; }
.phrase em { font-style: italic; color: var(--taupe); }
.phrase footer { font: 500 .66rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--taupe); }
.phrase footer::before { content: ""; display: block; width: 1px; height: 40px; margin: 0 auto 22px; background: var(--taupe); opacity: .6; }

/* ---------- détails des soins ---------- */
.soin-details { margin-top: 12px !important; font: 500 .64rem/1.7 var(--sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.soin-rdv {
  display: inline-flex; align-items: center; gap: .5em; min-height: 40px; margin-top: 6px;
  font: italic 400 1.02rem/1 var(--didone); color: var(--chocolat);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(59, 42, 32, .35);
  transition: text-decoration-color .2s, gap .2s;
}
.soin-rdv::after { content: "›"; font-style: normal; }
.soin-rdv:hover { text-decoration-color: currentColor; gap: .8em; }

/* ---------- questions ---------- */
.questions { background: var(--blanc); padding: clamp(80px, 11vw, 150px) 0; }
.questions-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.questions header .titre-italique { font-size: clamp(2.6rem, 4.8vw, 4.4rem); margin-bottom: 22px; }
.questions header p { color: var(--encre); max-width: 22em; }
.faq details { border-bottom: 1px solid rgba(59, 42, 32, .18); }
.faq details:first-child { border-top: 1px solid rgba(59, 42, 32, .18); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 48px 24px 0; font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.35 var(--didone);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1px; background: var(--chocolat);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--brun); }
.faq details p { margin: -6px 0 26px; font-size: .92rem; max-width: 40em; color: var(--encre); }
.faq details p a { text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: monte .5s cubic-bezier(.2, .7, .2, 1); }
}

/* ---------- tablette ---------- */
@media (max-width: 1050px) {
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
  .adresses-grille { grid-template-columns: 1fr 1fr; }
  .adresse-photo { grid-column: 1 / -1; min-height: 360px; }
}

/* ---------- mobile ---------- */
@media (max-width: 800px) {
  .entete-section { grid-template-columns: 1fr; }
  .famille { grid-template-columns: 1fr; }
  .famille-inverse .famille-photo { order: 0; }
  .famille-photo { aspect-ratio: 4 / 3.6; }
  .ouverture { min-height: calc(78svh - var(--entete)); }
  .ouverture-fond { height: 124%; object-position: 50% 0; }
  .ouverture .sous-titre { letter-spacing: .22em; }
  .cure-grille, .tarifs-grille, .histoire-grille { grid-template-columns: 1fr; }
  .cercle-mots { --taille: min(62vw, 300px); margin: 30px auto; }
  .histoire-photo { order: 2; }
  .adresses-grille { grid-template-columns: 1fr; }
  .adresse-photo { grid-column: auto; }
  .pied-bas { padding-bottom: 100px; }
  .reperes-liste { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .reperes-liste li:nth-child(3) { border-left: 0; padding-left: 0; }
  .questions-grille { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}

/* ---------- barre de réservation mobile ---------- */
.barre-rdv { display: none; }
@media (max-width: 900px) {
  .barre-rdv {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--blanc); box-shadow: 0 -1px 0 var(--sable);
  }
  .barre-rdv a {
    display: flex; align-items: center; justify-content: center; gap: .4em;
    min-height: 50px; border-radius: 999px; text-decoration: none;
    font: 500 .78rem/1 var(--sans); letter-spacing: .04em;
    border: 1px solid var(--chocolat); color: var(--chocolat);
  }
  .barre-rdv a::before { content: "Réserver à"; }
  .barre-rdv a:first-child { background: var(--chocolat); color: var(--blanc); }
}

/* ---------- page mentions légales ---------- */
.page-legale { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.page-legale h1 { font: 400 clamp(2.4rem, 5vw, 3.6rem)/1.05 var(--didone); margin-bottom: 40px; }
.page-legale h2 { font: 400 1.6rem/1.2 var(--didone); margin: 40px 0 12px; }
.a-completer { background: #f2d3a6; padding: 0 4px; }


/* ---------- en vidéo ---------- */
.videos { background: var(--chocolat); color: var(--blanc); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; contain: paint; }
.videos-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .8fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; }
.videos-texte { max-width: 420px; padding-right: clamp(0px, 3vw, 40px); }
.videos-texte .sous-titre { margin: 0 0 14px; opacity: .75; }
.videos-texte .titre-didone { font-size: clamp(2.4rem, 4vw, 3.8rem); margin-bottom: 22px; }
.videos-texte p:not(.sous-titre) { font-size: .92rem; opacity: .88; }
.video-cadre { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--brun); }
.video-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-cadre.decale { transform: translateY(48px); }
@media (max-width: 800px) {
  .videos-grille { grid-template-columns: 1fr 1fr; }
  .videos-texte { grid-column: 1 / -1; padding: 0; margin-bottom: 12px; }
  .video-cadre.decale { transform: translateY(32px); }
  .videos { padding-bottom: 112px; }
}

/* ---------- en-tête au défilement ---------- */
.entete { transition: box-shadow .3s; }
.entete.defile { box-shadow: 0 1px 0 rgba(59, 42, 32, .08), 0 8px 24px -16px rgba(59, 42, 32, .35); }

/* ---------- animations (seulement si html.anim) ---------- */
.anim [data-anim] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.anim [data-anim].visible { opacity: 1; transform: none; }
.anim .video-cadre.decale[data-anim].visible { transform: translateY(48px); }
@media (max-width: 800px) { .anim .video-cadre.decale[data-anim].visible { transform: translateY(32px); } }
/* deuxième colonne légèrement après la première */
.anim .famille-liste[data-anim], .anim .cure-texte[data-anim], .anim .histoire-photo[data-anim],
.anim .cadeau[data-anim], .anim .adresse-panneau.brun[data-anim] { transition-delay: .15s; }
.anim .video-cadre[data-anim] { transition-delay: .1s; }
.anim .video-cadre.decale[data-anim], .anim .adresse-photo[data-anim] { transition-delay: .25s; }

/* photos qui s'ouvrent comme un rideau */
.anim .famille-photo[data-anim], .anim .histoire-photo[data-anim] {
  transform: none; clip-path: inset(12% 0 0 0);
  transition: opacity 1s ease, clip-path 1.3s cubic-bezier(.2, .7, .2, 1);
}
.anim .famille-photo[data-anim].visible, .anim .histoire-photo[data-anim].visible { clip-path: inset(0 0 0 0); }
.anim .famille-photo img, .anim .histoire-photo img { transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.anim .visible img { transform: scale(1); }

/* listes : soins, tarifs, mots du cercle, les uns après les autres */
.anim .famille-liste .soin-ligne, .anim .carte li, .anim .cercle-mots li {
  opacity: 0; transition: opacity .7s ease, transform .7s ease;
}
.anim .famille-liste .soin-ligne, .anim .carte li { transform: translateY(14px); }
.anim .visible .soin-ligne, .anim .visible .carte li, .anim .visible.cercle-mots li { opacity: 1; transform: none; }
.anim .visible .cercle-mots li, .anim .cercle-mots.visible li { transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--taille) / -2)) rotate(calc(var(--a) * -1)); }
.anim .soin-ligne:nth-of-type(2), .anim .carte li:nth-child(2), .anim .cercle-mots li:nth-child(2) { transition-delay: .15s; }
.anim .soin-ligne:nth-of-type(3), .anim .carte li:nth-child(3), .anim .cercle-mots li:nth-child(3) { transition-delay: .3s; }
.anim .carte li:nth-child(4), .anim .cercle-mots li:nth-child(4) { transition-delay: .45s; }
.anim .carte li:nth-child(5), .anim .cercle-mots li:nth-child(5) { transition-delay: .6s; }
.anim .carte li:nth-child(6), .anim .cercle-mots li:nth-child(6) { transition-delay: .75s; }
/* le cercle se trace avant que les mots apparaissent */
.anim .cercle-mots[data-anim] { transform: scale(.86) rotate(-24deg); transition: opacity 1s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.anim .cercle-mots[data-anim].visible { transform: none; }

/* ouverture : zoom lent sur la photo, texte en cascade */
@keyframes zoom-lent { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.anim .ouverture-fond { animation: zoom-lent 9s cubic-bezier(.2, .6, .2, 1) both; }
.anim .ouverture-texte > * { animation: monte 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.anim .ouverture-texte > :nth-child(1) { animation-delay: .2s; }
.anim .ouverture-texte > :nth-child(2) { animation-delay: .4s; }
.anim .ouverture-texte > :nth-child(3) { animation-delay: .65s; }
.anim .ouverture-texte > :nth-child(4) { animation-delay: .85s; }
.anim .ouverture-texte > :nth-child(5) { animation-delay: 1s; }

/* survols */
.famille-photo img, .histoire-photo img, .adresse-photo img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .famille-photo:hover img, .histoire-photo:hover img, .adresse-photo:hover img { transform: scale(1.04); }
  .bouton-capsule, .entete-rdv { transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
  .bouton-capsule:hover, .entete-rdv:hover { transform: translateY(-2px); }
}
@media (max-width: 560px) {
  .video-cadre .legende-photo .petit { display: none; }
  .video-cadre .legende-photo { bottom: 18px; }
}

/* Sur téléphone, l'indice « découvrir » chevauchait le lien vers Mutzig. */
@media (max-width: 800px), (max-height: 720px) { .defiler { display: none; } }
