/* ==========================================================================
   Epil&Me — feuille de styles
   Direction : « l'écrin ». Velours prune et or pour les moments forts,
   quartz rose pour la lecture. Melodrama pour les titres, Boska pour les
   italiques et les chiffres, Satoshi pour le texte.
   ========================================================================== */

/* ---------- Polices hébergées sur le site (Fontshare, licence ITF Free Font) ---------- */

@font-face { font-family: "Melodrama"; src: url("../fonts/melodrama-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Melodrama"; src: url("../fonts/melodrama-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Boska"; src: url("../fonts/boska-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Boska"; src: url("../fonts/boska-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Boska"; src: url("../fonts/boska-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Boska"; src: url("../fonts/boska-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@property --led {
  syntax: "<color>";
  inherits: true;
  initial-value: #E8574A;
}

:root {
  /* Couleurs */
  --velvet: #2A1A21;
  --velvet-2: #352229;
  --velvet-3: #47303A;
  --quartz: #F6ECE8;
  --porcelain: #FBF6F4;
  --blush: #EEDCD5;
  --rose: #DDBDB4;
  --rose-deep: #B08880;
  --gold: #C9A15A;
  --gold-light: #E4C98F;
  --gold-ink: #7F5C1E;
  --ink: #2A1A21;
  --ink-soft: #69535D;
  --cream-soft: rgba(246, 236, 232, .72);
  --line: rgba(42, 26, 33, .14);
  --line-strong: rgba(42, 26, 33, .28);
  --line-light: rgba(246, 236, 232, .16);
  --open: #8DB48A;
  --closed: #D98C86;

  /* Typographie */
  --font-display: "Melodrama", "Didot", "Times New Roman", serif;
  --font-italic: "Boska", "Iowan Old Style", Georgia, serif;
  --font-sans: "Satoshi", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --fs-small: .875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1rem + .45vw, 1.3125rem);
  --fs-h4: 1.5rem;
  --fs-h3: clamp(1.75rem, 1.4rem + 1.1vw, 2.375rem);
  --fs-h2: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  --fs-display: clamp(3.9rem, 1.9rem + 7.4vw, 8.75rem);

  /* Mise en page */
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-space: clamp(3.75rem, 2.25rem + 5.5vw, 7rem);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-in: cubic-bezier(.55, 0, .8, .25);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--quartz);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 0; text-align: left; font-weight: inherit; }

::selection { background: var(--gold-light); color: var(--velvet); }

/* Tactile : pas de flash gris au toucher, pas de délai de double-tap */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, [role="radio"] { touch-action: manipulation; }

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

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--porcelain);
  color: var(--ink);
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typographie ---------- */

.h2, .h3, .h4, .hero-title, .contact-big {
  font-family: var(--font-display);
  font-weight: 400;
}

/* Les chiffres et les italiques parlent en Boska : la « voix » manuscrite du site */
.step-num, .geste-num {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.h2 em, .hero-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--gold-ink);
}
.section--velvet .h2 em, .hero-title em { color: var(--gold-light); }

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.h4 {
  font-size: var(--fs-h4);
  line-height: 1.2;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
  text-wrap: pretty;
}

.prose p {
  max-width: 34em;
  text-wrap: pretty;
}
.prose p + p { margin-top: 1.1em; }

.prose-aside {
  padding-left: 1.25rem;
  border-left: 1px solid var(--gold);
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- Liens et boutons ---------- */

.link {
  display: inline-block;
  padding-block: .35em;
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
}
.link:hover { background-size: 0 1px; background-position: right bottom; }
.link--light { color: var(--porcelain); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .75rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }

.btn--gold { background: var(--gold-light); color: var(--velvet); }
.btn--gold:hover { background: #F0DCAE; }

.btn--ink { background: var(--velvet); color: var(--porcelain); }
.btn--ink:hover { background: var(--velvet-3); }

.btn--ghost { border-color: rgba(246, 236, 232, .4); color: var(--porcelain); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn--sm { min-height: 2.5rem; padding: .5rem 1.25rem; font-size: .9375rem; }

.icon {
  width: 1.15em; height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* ==========================================================================
   En-tête
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--porcelain);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header.is-tinted {
  background: rgba(42, 26, 33, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.site-header.is-solid {
  background: rgba(246, 236, 232, .92);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark { width: 34px; height: 34px; overflow: visible; }
.brand-disc { fill: var(--rose); }
.brand-hair { fill: var(--gold); }
.site-header:not(.is-solid) .brand-disc { fill: #8C6470; }
.site-header:not(.is-solid) .brand-hair { fill: var(--gold-light); }

.brand-word {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand-amp {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold);
  margin-inline: .04em;
}
.site-header:not(.is-solid) .brand-amp { color: var(--gold-light); }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: clamp(1rem, 1.6vw, 1.75rem); }
.nav-list a {
  position: relative;
  display: block;
  padding-block: .5rem;
  font-size: .9375rem;
  font-weight: 450;
  text-decoration: none;
  opacity: .88;
  transition: opacity .25s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-list a:hover,
.nav-list a.is-current { opacity: 1; }
.nav-list a:hover::after,
.nav-list a.is-current::after { transform: scaleX(1); transform-origin: left; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  text-decoration: none;
  white-space: nowrap;
  opacity: .85;
}
.status:hover { opacity: 1; }
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--closed);
}
.is-open .status-dot {
  background: var(--open);
  box-shadow: 0 0 0 0 rgba(141, 180, 138, .6);
  animation: breathe 2.8s ease-out infinite;
}
@keyframes breathe {
  0% { box-shadow: 0 0 0 0 rgba(141, 180, 138, .55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(141, 180, 138, 0); }
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(720px, 100svh, 1000px);
  padding-top: calc(var(--header-h) + clamp(2rem, 5vh, 4rem));
  background:
    radial-gradient(52% 58% at 74% 52%, rgba(176, 120, 128, .22), transparent 72%),
    radial-gradient(40% 40% at 10% 100%, rgba(201, 161, 90, .08), transparent 70%),
    var(--velvet);
  color: var(--porcelain);
  overflow: hidden;
}

/* Grain velours */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  flex: 1;
}

.hero-heading { display: grid; gap: 1.75rem; }

.hero-kicker {
  display: block;
  max-width: 36em;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gold-light);
}

.hero-title {
  display: block;
  font-size: var(--fs-display);
  line-height: .92;
  letter-spacing: -.02em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-size: 1.06em; padding-right: .06em; }

/* Révélation du titre au chargement : chaque ligne monte de son masque */
.js .hero-title .line > span {
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
}
.js .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero-title .line:nth-child(3) > span { transition-delay: .24s; }
.is-loaded .hero-title .line > span { transform: none; }

.hero-lead {
  max-width: 31em;
  margin-top: 2rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--cream-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: .9375rem;
  color: rgba(246, 236, 232, .55);
}
.hero-note a { color: rgba(246, 236, 232, .8); text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* ---------- Le geste (illustration animée) ---------- */

.geste {
  position: relative;
  justify-self: end;
  width: min(100%, 480px);
}

.geste-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  /* Légère parallaxe : le disque suit la souris de quelques pixels */
  transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 12px), 0);
  transition: transform 1.2s var(--ease);
}

.geste-rim { fill: none; stroke: rgba(228, 201, 143, .35); stroke-width: 1; }
.geste-ticks line { stroke: rgba(228, 201, 143, .32); stroke-width: 1; }
.geste-ticks line.is-major { stroke: rgba(228, 201, 143, .6); }

.geste-follicle {
  fill: none;
  stroke: #4E2A38;
  stroke-width: 26;
  stroke-linecap: round;
  opacity: .2;
  transition: opacity 1.8s var(--ease);
}

.geste-grow {
  fill: none;
  stroke: #fff;
  stroke-width: 28;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.geste-hair { transition: transform 1.4s var(--ease-in), opacity 1.2s var(--ease-in); }

.geste-probe {
  stroke: url(#probe-fill);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0;
}

.geste-glow, .geste-ring {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.geste-ring { fill: none; stroke: var(--gold-light); stroke-width: 1.2; }

/* États initiaux (seulement si JS actif) */
.js .geste-disc { opacity: 0; transform: scale(.97); transform-origin: 270px 380px; transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
.js .geste-grow { stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease); }
.js .geste-probe { transform: translate(-31px, -177px); transition: transform 1.05s var(--ease), opacity .5s var(--ease); }

.geste.is-ready .geste-disc { opacity: 1; transform: none; }
.geste.is-grow .geste-grow { stroke-dashoffset: 0; }
.geste.is-probe .geste-probe { opacity: 1; transform: none; }
.geste.is-pulse .geste-glow { animation: glow 1.3s var(--ease) forwards; }
.geste.is-pulse .geste-ring { animation: ripple 1.2s var(--ease) forwards; }
.geste.is-pulse .geste-ring--late { animation-delay: .22s; }
.geste.is-retract .geste-probe { opacity: 0; transform: translate(-31px, -177px); transition-timing-function: var(--ease-in); }
.geste.is-out .geste-hair { transform: translate(-41px, -238px); opacity: 0; }
.geste.is-out .geste-follicle { opacity: .1; }
.geste.is-done .geste-follicle { opacity: 0; }

.geste.is-static .geste-glow { opacity: .9; transform: none; animation: none; }
.geste.is-static .geste-replay { display: none; }

.geste.is-resetting,
.geste.is-resetting * { transition: none !important; animation: none !important; }

@keyframes glow {
  0% { opacity: 0; transform: scale(.25); }
  35% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.15); }
}
@keyframes ripple {
  0% { opacity: .9; transform: scale(.6); }
  100% { opacity: 0; transform: scale(2.8); }
}

.geste-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.geste-steps { display: grid; gap: .55rem; max-width: 22rem; }
.geste-steps li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  align-items: baseline;
  font-size: .9375rem;
  line-height: 1.45;
  color: rgba(246, 236, 232, .5);
  transition: color .5s var(--ease);
}
.geste-num { font-size: 1.0625rem; color: rgba(228, 201, 143, .5); transition: color .5s var(--ease); }
.geste-steps li.is-active,
.geste-steps li.is-past,
.geste.is-done .geste-steps li { color: var(--porcelain); }
.geste-steps li.is-active .geste-num,
.geste-steps li.is-past .geste-num,
.geste.is-done .geste-num { color: var(--gold-light); }

.geste-replay {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem 0;
  background: none;
  border: 0;
  font-size: .875rem;
  color: rgba(246, 236, 232, .6);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease), color .25s;
}
.geste-replay svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.geste-replay:hover { color: var(--gold-light); }
.geste.is-done .geste-replay { opacity: 1; pointer-events: auto; }

/* ---------- Faits clés ---------- */

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vh, 3.5rem);
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}
.hero-facts li {
  display: grid;
  gap: .35rem;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem) 0;
  border-top: 1px solid var(--line-light);
}
.hero-facts li:first-child { padding-left: 0; }
.hero-facts li + li { border-left: 1px solid var(--line-light); }
.hero-facts strong {
  font-family: var(--font-italic);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--gold-light);
}
.hero-facts span { font-size: .9375rem; line-height: 1.5; color: rgba(246, 236, 232, .62); max-width: 22em; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: var(--section-space); }
.section--quartz { background: var(--quartz); }
.section--blush { background: var(--blush); }
.section--velvet { background: var(--velvet); color: var(--porcelain); }
.section--velvet .lead { color: var(--cream-soft); }

.section-head { display: grid; gap: 1.5rem; max-width: 52rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.split .lead { margin-top: 1.75rem; }
.split-body { padding-top: .6rem; display: grid; gap: 1.5rem; }

/* ---------- Tous les poils ---------- */

.hairs { margin-top: clamp(2.75rem, 5vw, 4.5rem); }
.hairs-intro { font-size: 1rem; color: var(--ink-soft); }
.hairs-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.5rem);
  margin-top: 1.5rem;
}
.hairs-item { display: grid; justify-items: center; gap: 1rem; text-align: center; }

.loupe {
  position: relative;
  display: block;
  width: 100%;
  max-width: 156px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(70% 70% at 36% 28%, rgba(255, 255, 255, .28), transparent 60%),
    radial-gradient(90% 90% at 60% 75%, rgba(42, 26, 33, .22), transparent 70%),
    var(--skin);
  box-shadow: 0 0 0 1px var(--line), 0 0 0 7px var(--quartz), 0 0 0 8px var(--line);
}
.loupe svg { width: 100%; height: 100%; overflow: visible; }

/* Couple carnation / poil de chaque loupe (en classes plutôt qu'en style="" pour la CSP) */
.loupe--blond { --skin: #F3D8C7; --hair: #D7AE62; }
.loupe--roux  { --skin: #EDC5AA; --hair: #B0512A; }
.loupe--blanc { --skin: #C8916C; --hair: #F7F2EB; }
.loupe--duvet { --skin: #94603F; --hair: #EBCBA7; }
.loupe--brun  { --skin: #D8A580; --hair: #3A2218; }
.loupe--frise { --skin: #5C3727; --hair: #160C08; }
.loupe-hair {
  fill: none;
  stroke: var(--hair);
  stroke-width: 3.2;
  stroke-linecap: round;
}
.loupe-hair--edge { stroke: rgba(42, 26, 33, .28); stroke-width: 5; }
.loupe-hair--thick { stroke-width: 4; }
.loupe-hair--fine { stroke-width: 1.1; opacity: .9; }

.hairs-label { font-size: 1rem; font-weight: 450; }

/* ---------- Comparatif ---------- */

.compare-wrap { margin-top: clamp(2.75rem, 5vw, 4.5rem); }

.compare { font-size: 1rem; }
.compare th, .compare td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.2;
  border-bottom-color: var(--line-strong);
}
.compare tbody th { color: var(--ink-soft); width: 30%; padding-left: 0; }
.compare thead td { padding-left: 0; }
.compare td { color: var(--ink-soft); }
.compare .compare-us { background: var(--porcelain); color: var(--ink); width: 35%; }
.compare thead .compare-us { border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child .compare-us { border-radius: 0 0 14px 14px; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody .compare-us { font-weight: 500; }

.compare-note {
  max-width: 40em;
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--ink-soft);
}

/* ---------- Déroulé ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: .9rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.step-num {
  font-size: 4rem;
  line-height: 1;
  color: var(--gold-ink);
}
.step-title {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.2;
}
.step p { font-size: 1rem; color: var(--ink-soft); }

.cycle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  background: var(--quartz);
  border-radius: 32px;
}
.cycle-ring { width: clamp(120px, 16vw, 200px); justify-self: center; transform: rotate(-90deg); }
.cycle-track { fill: none; stroke: var(--line); stroke-width: 1; }
.cycle-arc { fill: none; stroke-width: 16; }
.cycle-arc--anagene { stroke: var(--gold); }
.cycle-arc--catagene { stroke: var(--rose-deep); }
.cycle-arc--telogene { stroke: var(--rose); }
.cycle-hair { fill: none; stroke: var(--gold-ink); stroke-width: 2.4; stroke-linecap: round; transform: rotate(90deg); transform-origin: 120px 120px; }
.cycle-bulb { fill: var(--gold-ink); transform: rotate(90deg); transform-origin: 120px 120px; }

.cycle-body { display: grid; gap: .9rem; }
.cycle-body p { color: var(--ink-soft); max-width: 36em; }
.cycle-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: .25rem; font-size: .9375rem; }
.cycle-legend li { position: relative; padding-left: 1.6rem; }
.cycle-legend li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: .8rem; height: .8rem;
  border-radius: 50%;
  background: var(--sw);
}
.cycle-legend strong { font-weight: 500; }
.swatch--anagene { --sw: var(--gold); }
.swatch--catagene { --sw: var(--rose-deep); }
.swatch--telogene { --sw: var(--rose); }

/* ---------- Avis ---------- */

.reviews { padding-top: 0; overflow: hidden; }

/* Bandeau de citations, en Boska italique, qui défile lentement */
.marquee {
  margin-bottom: var(--section-space);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-right: clamp(2rem, 4vw, 4rem);
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--porcelain);
}
.marquee-item:nth-child(even) { color: var(--gold-light); }
.marquee-item::after {
  content: "";
  width: .32em; height: .32em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F7E8C2, #A77D34);
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
}
.score { display: grid; gap: .6rem; justify-items: start; }
.score-value {
  font-family: var(--font-italic);
  font-weight: 300;
  font-size: clamp(6rem, 3rem + 10vw, 12rem);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--gold-light);
  margin-bottom: .5rem;
}
.score-stars { display: flex; gap: .3rem; }
.score-stars svg { width: 1.35rem; height: 1.35rem; fill: var(--gold-light); }
.score-label { font-size: .9375rem; color: var(--cream-soft); }
.reviews-intro { display: grid; gap: 1.5rem; }

.reviews-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 30vw, 400px);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  margin-inline: calc(var(--gutter) * -1);
  padding: .5rem var(--gutter) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.reviews-rail::-webkit-scrollbar { display: none; }
.reviews-rail:focus-visible { outline-offset: -2px; }

.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: rgba(246, 236, 232, .045);
  border: 1px solid var(--line-light);
  border-radius: 24px;
  scroll-snap-align: start;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.review:hover { background: rgba(246, 236, 232, .08); border-color: rgba(228, 201, 143, .35); }
.review blockquote { margin: 0; }
.review blockquote p {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: 1.375rem;
  line-height: 1.38;
  color: var(--porcelain);
  text-wrap: pretty;
}
.review blockquote p::before { content: "«\202F"; color: var(--gold-light); }
.review blockquote p::after { content: "\202F»"; color: var(--gold-light); }
.review figcaption { display: grid; gap: .15rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.review-name { font-weight: 500; }
.review-meta { font-size: .875rem; color: var(--cream-soft); }

.reviews-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1rem;
}
.rail-nav { display: flex; gap: .6rem; }
.rail-btn {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  background: none;
  border: 1px solid rgba(246, 236, 232, .3);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .3s, background-color .3s, opacity .3s;
}
.rail-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:hover { border-color: var(--gold-light); background: rgba(228, 201, 143, .1); }
.rail-btn:disabled { opacity: .3; cursor: default; }

/* ---------- Loupes interactives ---------- */

.hairs-item { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.loupe { transition: transform .5s var(--ease); }
.loupe svg path { transition: transform .9s var(--ease-in), opacity .7s var(--ease-in); }
.loupe::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 220, .95), rgba(243, 216, 150, .5) 35%, transparent 70%);
  transform: translate(-50%, 50%) scale(.2);
  opacity: 0;
  pointer-events: none;
}
.hairs-item.is-plucked .loupe { transform: scale(1.04); }
.hairs-item.is-plucked .loupe svg path { transform: translateY(-115%); opacity: 0; }
.hairs-item.is-plucked .loupe::after { animation: pluck-glow .9s var(--ease) forwards; }
@keyframes pluck-glow {
  0% { opacity: 0; transform: translate(-50%, 50%) scale(.2); }
  35% { opacity: 1; transform: translate(-50%, 50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, 50%) scale(1.2); }
}
.hairs-hint { margin-top: 1.25rem; font-size: .875rem; color: var(--ink-soft); }
.hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .hint-mouse { display: inline; }
  .hint-touch { display: none; }
}

/* ---------- Tarifs ---------- */

.price-card {
  display: grid;
  gap: 2rem;
  justify-items: start;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--porcelain);
  border-radius: 32px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(42, 26, 33, .35);
}

.prices { font-variant-numeric: lining-nums tabular-nums; }
.prices thead th {
  padding-bottom: .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
}
.prices thead th:not(:first-child),
.prices td { text-align: right; }
.prices tbody th,
.prices td {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.prices tbody tr:last-child > * { border-bottom: 0; }
.prices tbody th { font-size: 1.0625rem; font-weight: 450; }
.prices tbody th small { display: block; margin-top: .2rem; font-size: .8125rem; font-weight: 400; line-height: 1.3; color: var(--ink-soft); }
.prices tbody th sup { font-size: .7em; }
.prices td {
  font-family: var(--font-italic);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  width: 30%;
}
.prices tbody tr { transition: background-color .25s; }
.prices tbody tr:hover { background: linear-gradient(90deg, transparent, rgba(221, 189, 180, .3) 25%, rgba(221, 189, 180, .3) 75%, transparent); }

.price-notes { display: grid; gap: .65rem; font-size: .9375rem; color: var(--ink-soft); }
.price-notes li { position: relative; padding-left: 1.25rem; }
.price-notes li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.prices .cur {
  font-family: var(--font-sans);
  font-size: .5em;
  font-weight: 400;
  vertical-align: .62em;
  color: var(--ink-soft);
}

.zones {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.zones-title {
  position: relative;
  display: block;
  padding-right: 2.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.zones-title::-webkit-details-marker { display: none; }
/* Même signe +/− que la FAQ */
.zones-title::before,
.zones-title::after {
  content: "";
  position: absolute;
  right: .5rem; top: 50%;
  width: 14px; height: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}
.zones-title::after { transform: rotate(90deg); }
.zones[open] .zones-title::after { transform: rotate(0); }
.zones-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem clamp(1.5rem, 3vw, 3rem);
  margin-top: 1.75rem;
}
.zones-list dt { font-weight: 500; margin-bottom: .25rem; }
.zones-list dd { font-size: .9375rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Soin visage ---------- */

#visage { background: var(--velvet-2); }

.facial {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.led { display: grid; justify-items: center; gap: 1.75rem; text-align: center; }

.led { transition: --led .9s var(--ease); }
/* Photo du soin, baignée par la couleur LED choisie */
.led-photo {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--velvet-3);
  box-shadow: 0 0 0 1px rgba(246, 236, 232, .14), 0 0 90px -18px var(--led);
}
.led-photo img { width: 100%; height: 100%; object-fit: cover; }
.led-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 30%, var(--led), transparent 72%);
  mix-blend-mode: soft-light;
  opacity: .85;
}
.led-controls {
  display: inline-flex;
  gap: .35rem;
  padding: .35rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
}
.led-controls button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  padding: 0 1.1rem;
  background: none;
  border: 0;
  border-radius: 999px;
  font-size: .9375rem;
  color: var(--cream-soft);
  cursor: pointer;
  transition: background-color .3s, color .3s;
}
.led-controls button::before {
  content: "";
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--dot, #fff);
}
.led-controls button:nth-child(1) { --dot: #E8574A; }
.led-controls button:nth-child(2) { --dot: #4F8FE8; }
.led-controls button:nth-child(3) { --dot: #F2C14E; }
.led-controls button[aria-checked="true"] { background: rgba(246, 236, 232, .12); color: var(--porcelain); }
.led-controls button:hover { color: var(--porcelain); }

.led-text { max-width: 26em; min-height: 3.3em; font-size: 1rem; color: var(--cream-soft); }

.facial-body { display: grid; gap: 1.75rem; justify-items: start; }
.facial-steps { display: grid; margin-block: 1rem; counter-reset: facial; width: 100%; }
.facial-steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: .4rem 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-light);
  counter-increment: facial;
}
.facial-steps li::before {
  content: counter(facial);
  grid-row: span 2;
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--gold-light);
}
.facial-steps p { font-size: 1rem; color: var(--cream-soft); max-width: 34em; }

/* Carte des soins visage */
.facial-menu { width: 100%; margin-bottom: .5rem; }
.facial-menu-title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 400; line-height: 1.2; }
.facial-prices { margin-top: 1rem; border-top: 1px solid var(--line-light); }
.facial-prices li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: .25rem 1.25rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line-light);
}
.fp-name { font-weight: 500; }
.fp-name small { display: block; margin-top: .15rem; font-size: .875rem; font-weight: 400; line-height: 1.4; color: var(--cream-soft); }
.fp-time { font-size: .9375rem; color: var(--cream-soft); white-space: nowrap; }
.fp-price { font-family: var(--font-italic); font-size: 1.75rem; line-height: 1; color: var(--gold-light); white-space: nowrap; }
.fp-price .cur { font-family: var(--font-sans); font-size: .5em; vertical-align: .62em; color: var(--cream-soft); }

/* ---------- L’institut ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.about-photo {
  position: relative;
  aspect-ratio: 1100 / 1080;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  background: var(--blush);
}
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  padding: .45rem .9rem;
  font-size: .8125rem;
  background: rgba(251, 246, 244, .86);
  border-radius: 999px;
  color: var(--ink-soft);
}

.about-body { display: grid; gap: 2rem; }

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
  margin-top: 1rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-strong);
}
.values dt {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  line-height: 1.25;
  margin-bottom: .5rem;
}
.values dd { font-size: 1rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.faq-head { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-head a { text-underline-offset: .2em; text-decoration-thickness: 1px; white-space: nowrap; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 1.5rem 3rem 1.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: .5rem; top: 50%;
  width: 16px; height: 1px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list summary:hover { color: var(--gold-ink); }

.faq-answer { padding: 0 3rem 1.75rem 0; color: var(--ink-soft); font-size: 1.0625rem; }
.faq-answer p + p, .faq-answer ul + p, .faq-answer p + ul { margin-top: .9rem; }
.contra { display: grid; gap: .25rem; }
.contra li { position: relative; padding-left: 1.25rem; }
.contra li::before { content: ""; position: absolute; left: 0; top: .78em; width: .55rem; height: 1px; background: var(--gold); }

/* ---------- Contact ---------- */

.contact { padding-bottom: clamp(4rem, 8vw, 7rem); }

.contact-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-light);
}
.contact-title { max-width: 11em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.contact-block { display: grid; align-content: start; justify-items: start; gap: 1.1rem; }
.contact-label {
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gold-light);
}
.contact-big { font-family: var(--font-italic); font-size: 1.875rem; line-height: 1.25; }

.contact-status { font-size: 1rem; color: var(--porcelain); display: inline-flex; align-items: center; gap: .55rem; }
.contact-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--closed); }
.contact-status.is-open::before { background: var(--open); }
.contact-note { margin-top: -.5rem; font-size: .9375rem; color: var(--gold-light); }

.hours { font-size: 1rem; max-width: 20rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding-block: .4rem; border-bottom: 1px solid var(--line-light); color: var(--cream-soft); }
.hours td { text-align: right; }
.hours tr:last-child > * { border-bottom: 0; }
.hours tr.is-today > * { color: var(--gold-light); font-weight: 500; }

.contact-links { display: grid; gap: .5rem; font-size: 1.125rem; }
.contact-links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.contact-links a:hover { background-size: 100% 1px; }

/* ---------- Pied de page ---------- */

.site-footer {
  padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom));
  background: var(--velvet);
  color: rgba(246, 236, 232, .6);
  font-size: .9375rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-light);
}
.brand--footer { color: var(--porcelain); }
.brand--footer .brand-word { font-size: 1.375rem; }
.footer-tagline { flex: 1; min-width: 16rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--porcelain); }

/* ---------- Page 404 ---------- */

.notfound { min-height: 100svh; display: grid; align-items: center; }
.notfound-inner { display: grid; gap: 1.5rem; justify-items: start; }
.notfound-code { font-family: var(--font-italic); font-style: italic; font-weight: 300; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: .9; color: var(--gold-light); }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }

/* ---------- Barre d’action et menu mobiles ---------- */

.mbar, .sheet, .dots { display: none; }
html.sheet-open { overflow: hidden; }

@media (max-width: 1080px) {
  /* Barre du bas : toujours là, dans la zone du pouce */
  .mbar {
    position: fixed;
    left: 50%;
    bottom: calc(.75rem + env(safe-area-inset-bottom));
    z-index: 45;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: .375rem;
    width: min(calc(100% - 1.5rem), 520px);
    padding: .375rem;
    background: rgba(42, 26, 33, .92);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(246, 236, 232, .08);
    border-radius: 999px;
    box-shadow: 0 14px 34px -14px rgba(26, 15, 20, .7);
    transform: translateX(-50%);
    animation: mbar-in .7s var(--ease) .5s both;
  }
  @keyframes mbar-in { from { transform: translate(-50%, calc(100% + 2rem)); } }
  .mbar > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 3.25rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--porcelain);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s var(--ease), transform .2s var(--ease);
  }
  .mbar > *:active { transform: scale(.94); }
  .mbar .icon { width: 1.3rem; height: 1.3rem; }
  .mbar-menu { padding: 0 1.15rem 0 1rem; }
  .mbar-call { width: 3.25rem; background: rgba(246, 236, 232, .09); }
  .mbar-book { padding: 0 1.25rem; background: var(--gold-light); color: var(--velvet) !important; }

  /* Panneau de menu : monte du bas, se ferme en glissant vers le bas */
  .sheet {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: 560px;
    max-height: none;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--porcelain);
    overflow: visible;
  }
  .sheet[open] { display: block; }
  .sheet::backdrop {
    background: rgba(26, 15, 20, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .35s var(--ease);
  }
  .sheet.is-open::backdrop { opacity: 1; }
  .sheet-panel {
    max-height: calc(100svh - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    background: var(--velvet);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .55);
    transform: translateY(100%);
    transition: transform .45s var(--ease);
  }
  .sheet.is-open .sheet-panel { transform: translateY(var(--drag, 0px)); }
  .sheet.is-dragging .sheet-panel { transition: none; }

  .sheet-grab { display: grid; place-items: center; height: 1.75rem; touch-action: none; cursor: grab; }
  .sheet-grab span { width: 42px; height: 4px; border-radius: 4px; background: rgba(246, 236, 232, .28); }

  .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; touch-action: none; }
  .sheet-title { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
  .sheet-status { display: inline-flex; align-items: center; gap: .45rem; margin-top: .3rem; font-size: .875rem; color: var(--cream-soft); }
  .sheet-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--closed); }
  .sheet-status.is-open::before { background: var(--open); }
  .sheet-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.75rem; height: 2.75rem;
    border: 1px solid rgba(246, 236, 232, .2);
    border-radius: 50%;
    background: none;
    color: var(--porcelain);
    cursor: pointer;
  }
  .sheet-close svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

  .sheet-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: 1.25rem; }
  .sheet-nav a {
    display: grid;
    align-content: center;
    gap: .2rem;
    min-height: 4.5rem;
    padding: .8rem 1rem;
    background: rgba(246, 236, 232, .05);
    border: 1px solid rgba(246, 236, 232, .09);
    border-radius: 18px;
    text-decoration: none;
    transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  }
  .sheet-nav a:active { transform: scale(.97); background: rgba(246, 236, 232, .1); }
  .sheet-nav a.is-current { border-color: rgba(228, 201, 143, .55); background: rgba(228, 201, 143, .1); }
  .sheet-nav span { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; }
  .sheet-nav small { font-size: .8125rem; line-height: 1.3; color: var(--cream-soft); }

  .sheet-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: 1rem; }
  .sheet-actions .btn { min-height: 3.25rem; padding-inline: 1rem; }
  .sheet-book { grid-column: 1 / -1; }

  /* Indicateurs de position sous les rails glissables */
  .dots { display: flex; justify-content: center; margin-top: .375rem; }
  .dots[hidden] { display: none; }
  .dots button {
    display: grid;
    place-items: center;
    width: 2rem; height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .dots button::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 999px;
    background: currentColor;
    opacity: .28;
    transition: width .35s var(--ease), opacity .35s var(--ease);
  }
  .dots button[aria-current="true"]::before { width: 20px; opacity: .9; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 1081px) and (max-width: 1240px) {
  .status { display: none !important; }
}

@media (max-width: 1080px) {
  .nav, .header-book { display: none; }
  .header-actions { margin-left: auto; }

  /* En-tête : se cache quand on descend, revient dès qu'on remonte */
  .site-header { transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
  .site-header.is-hidden { transform: translateY(-100%); }
  .status {
    min-height: 2.75rem;
    padding: 0 .9rem;
    border-radius: 999px;
    background: rgba(246, 236, 232, .08);
    font-size: .8125rem;
    opacity: 1;
  }
  .site-header.is-solid .status { background: rgba(42, 26, 33, .06); }
  .brand { min-height: 44px; }

  /* Zones tactiles d'au moins 44 px, sans changer la mise en page */
  .link, .contact-links a, .footer-links a, .hero-note a, .faq-head a, .lead a { position: relative; }
  .link::after, .contact-links a::after, .footer-links a::after, .hero-note a::after, .faq-head a::after, .lead a::after {
    content: "";
    position: absolute;
    inset: -13px -6px;
  }
  .contact-links { gap: 1.25rem; }
  .footer-links { gap: 2rem; }
  .geste-replay, .led-controls button { min-height: 44px; }
  .zones-title { padding-block: .7rem; }

  /* Rien ne doit passer sous la barre du bas */
  .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .geste { justify-self: center; width: min(100%, 420px); }
  .hero { min-height: 0; }

  .split, .facial, .about, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .hairs-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.5rem; }
  .about-photo { max-width: 420px; }
  .led { order: 2; }
  .reviews-head { grid-template-columns: minmax(0, 1fr); align-items: start; }

  /* Tarifs : la grille de prix passe avant la liste des zones */
  .tarifs-intro { display: contents; }
  .tarifs-intro > .lead { margin-top: -.5rem; }
  .price-card { order: 1; }
  .zones { order: 2; margin-top: 1rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; --fs-body: 1.0625rem; }

  .brand-word { font-size: 1.4rem; }
  .brand-mark { width: 30px; height: 30px; }

  .hero { padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-heading { gap: 1.25rem; }
  .hero-kicker { font-size: .9375rem; }
  .hero-actions { gap: 1rem 1.5rem; }
  .hero-actions .btn { width: 100%; }
  .geste { margin-top: .5rem; width: min(100%, 320px); }
  .geste-caption { flex-direction: column; align-items: flex-start; }

  .hero-facts li, .hero-facts li:first-child { padding: 1.25rem 0 0; }
  .hero-facts li + li { border-left: 0; }

  .h2 { letter-spacing: -.005em; }

  .reviews-rail { grid-auto-columns: 84vw; }
  .rail-nav { display: none; }
  .review blockquote p { font-size: 1.25rem; }

  .hairs-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem .75rem; }
  .loupe { max-width: 104px; box-shadow: 0 0 0 1px var(--line), 0 0 0 5px var(--quartz), 0 0 0 6px var(--line); }
  .hairs-label { font-size: .875rem; line-height: 1.3; }

  .about-photo { max-width: 340px; }

  /* Comparatif empilé */
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr { display: block; }
  .compare tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { display: block; padding: 0; border: 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; margin-bottom: .5rem; color: var(--ink); font-weight: 500; }
  .compare td { padding: .6rem .85rem; font-size: .9375rem; }
  .compare td::before { display: block; margin-bottom: .2rem; font-size: .8125rem; font-weight: 400; color: var(--ink-soft); }
  .compare td.compare-us::before { content: "Électrolyse"; }
  .compare td:not(.compare-us)::before { content: "Laser, lumière pulsée"; }
  .compare .compare-us,
  .compare tbody tr:last-child .compare-us { width: auto; border-radius: 12px; }

  /* Rails horizontaux : la carte suivante dépasse pour inviter à glisser */
  .steps, .hero-facts, .values, .review-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 1.25rem;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar, .hero-facts::-webkit-scrollbar, .values::-webkit-scrollbar, .review-grid::-webkit-scrollbar { display: none; }
  /* Ce rail est lui-même le conteneur (pas de parent .container) : pas de marge négative */
  .hero-facts { margin-inline: 0; }
  .step, .hero-facts li, .values > div { scroll-snap-align: start; }
  .step-num { font-size: 2.75rem; }

  .cycle { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: 1.5rem; border-radius: 24px; }
  .cycle-ring { width: 120px; justify-self: start; }

  .price-card { border-radius: 24px; }
  .prices td { font-size: 1.5rem; }
  .price-card .btn { width: 100%; }

  .zones-list { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }

  .led-controls button { padding: 0 .85rem; }
  .led-photo { width: min(100%, 260px); }
  .led { gap: 1.25rem; }
  .facial-body .btn { width: 100%; }


  .faq-list summary { padding-right: 2.5rem; }
  .faq-answer { padding-right: 0; }

  .contact-actions { width: 100%; }
  .contact-actions .btn { flex: 1 1 100%; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hours { max-width: none; }

}

/* ==========================================================================
   Pages dédiées (électrolyse, SOPK, tarifs, soins du visage)
   ========================================================================== */

.page-hero {
  padding-block: calc(var(--header-h) + clamp(1.75rem, 5vw, 4rem)) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 80% at 88% 18%, rgba(176, 120, 128, .2), transparent 70%),
    var(--velvet);
}
.page-hero-inner { display: grid; gap: 1.5rem; justify-items: start; }
.page-title { max-width: 13em; }
.page-hero .hero-actions { margin-top: .5rem; }
.page-hero .hero-note { margin-top: -.25rem; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; color: var(--cream-soft); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { color: var(--gold-light); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .2em; }

.section--deep { background: var(--velvet-2); }
.section-head + .split, .split + .cards { margin-top: clamp(2.5rem, 5vw, 4rem); }
.block { margin-top: clamp(2.75rem, 5vw, 4.5rem); }
.block-sm { margin-top: 1.75rem; }
.compare-wrap .h3 { margin-bottom: 1.5rem; }

/* ---------- Photos : toujours à leur ratio d'origine, jamais recadrées ---------- */

.photo img { width: 100%; height: auto; border-radius: 24px; background: var(--blush); }
.photo figcaption { margin-top: .75rem; font-size: .9375rem; color: var(--ink-soft); }
.photo--portrait { width: 100%; max-width: 440px; justify-self: center; }

.split-lead { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }

.section-head--media {
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
  max-width: none;
}
.section-head-text { display: grid; gap: 1.5rem; }

.severe {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.severe-body { display: grid; gap: 1.5rem; }
.severe-points { display: grid; gap: .75rem; color: var(--ink-soft); }
.severe-points li { position: relative; padding-left: 1.25rem; }
.severe-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.severe-points strong { font-weight: 500; color: var(--ink); }
.severe-note { padding-left: 1.25rem; border-left: 1px solid var(--gold); font-size: 1rem; color: var(--ink-soft); }
.severe-body .more { margin-top: 0; }

.h3 em { font-family: var(--font-italic); font-style: italic; font-weight: 300; color: var(--gold-ink); }

/* Avant / après : deux photos côte à côte (les prises de vue ne sont pas superposables) */
.results {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-strong);
}
.results-head { display: grid; gap: .5rem; }
.results-head p { color: var(--ink-soft); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-top: 2rem;
}
.case figcaption { display: grid; gap: .15rem; margin-top: .9rem; }
.case figcaption strong { font-weight: 500; }
.case figcaption span { font-size: .9375rem; color: var(--ink-soft); }

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.375rem, 1vw, .75rem);
}
.pair--solo { max-width: 44rem; margin-top: clamp(2rem, 4vw, 3rem); }
.pair-item { position: relative; border-radius: 20px; overflow: hidden; background: var(--blush); }
.pair-item img { width: 100%; height: auto; }
.pair-tag {
  position: absolute;
  left: .6rem; top: .6rem;
  padding: .25rem .7rem;
  font-size: .8125rem;
  font-weight: 500;
  background: rgba(251, 246, 244, .9);
  border-radius: 999px;
}

.contact-photo { width: clamp(112px, 16vw, 200px); flex-shrink: 0; }
.contact-photo img { width: 100%; height: auto; border-radius: 999px 999px 20px 20px; }
@media (min-width: 1081px) {
  /* Photo, titre et boutons sur une seule ligne */
  .contact-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; }
}

/* Lien « en savoir plus » en bas d'un bloc : c'est lui qui relie les pages entre elles */
.more { margin-top: 2rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  display: grid;
  align-content: start;
  gap: .9rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--porcelain);
  border-radius: 24px;
  box-shadow: 0 1px 0 var(--line);
}
.section--blush .card { background: var(--quartz); }
.card-title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 400; line-height: 1.2; }
.card p, .card li { font-size: 1rem; color: var(--ink-soft); }
.card a { text-underline-offset: .2em; text-decoration-thickness: 1px; white-space: nowrap; }
.card--led { border-top: 3px solid var(--dot); }
.card--red { --dot: #E8574A; }
.card--blue { --dot: #4F8FE8; }
.card--yellow { --dot: #F2C14E; }

.points { display: grid; gap: .75rem; }
.points li { position: relative; padding-left: 1.25rem; }
.points li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.points strong { font-weight: 500; color: var(--ink); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 2rem;
}
.related-card {
  display: grid;
  align-content: start;
  gap: .5rem;
  height: 100%;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  text-decoration: none;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.related-card:hover { background: var(--porcelain); border-color: var(--gold); }
.related-card:active { transform: scale(.98); }
.related-name { font-family: var(--font-display); font-size: var(--fs-h4); line-height: 1.2; }
.related-desc { font-size: 1rem; color: var(--ink-soft); }
.related-go { margin-top: .5rem; font-size: .9375rem; font-weight: 500; color: var(--gold-ink); }

.page-cta-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 2.5rem;
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--cream-soft);
}

.footer-pages { display: flex; flex-wrap: wrap; gap: .75rem 2rem; padding-bottom: 2rem; }
.footer-pages a { color: var(--porcelain); text-decoration: none; }
.footer-pages a:hover { color: var(--gold-light); }

@media (max-width: 1080px) {
  .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--media, .severe { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .photo { max-width: 620px; }
  .photo--severe { max-width: 480px; }
  .crumbs a, .footer-pages a, .card a { position: relative; }
  .crumbs a::after, .footer-pages a::after, .card a::after { content: ""; position: absolute; inset: -14px -6px; }
  .footer-pages { gap: 1.25rem 2rem; }
}

@media (max-width: 720px) {
  .cards, .cards--4, .related-list { grid-template-columns: minmax(0, 1fr); }
  .review-grid { grid-auto-columns: 84%; }
  /* Un rail dans une grille : sans ça, il élargit sa colonne et toute la page */
  .about-body { grid-template-columns: minmax(0, 1fr); }
  .values, .review-grid { min-width: 0; }

  /* « Pour aller plus loin » : trois lignes compactes plutôt que trois cartes */
  .related-list { gap: .5rem; margin-top: 1.25rem; }
  .related-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 1rem 1.25rem; border-radius: 18px; }
  .related-desc { display: none; }
  .related-go { margin-top: 0; }

  /* Sections plus serrées : moins de défilement sur téléphone */
  :root { --section-space: 3.25rem; }
  .hero-lead { margin-top: 1.25rem; }
  .hero-actions { margin-top: 1.75rem; }
  .marquee { margin-bottom: 3.25rem; padding-block: 1.25rem; }
  .geste { width: min(100%, 260px); }
  .geste-steps { display: none; } /* la méthode est expliquée juste en dessous */
  .score-value { font-size: 4.5rem; }
  .about-photo { max-width: 280px; }
  /* Accueil : la photo du soin seule, le choix de la lumière LED est sur la page dédiée */
  #visage .led { order: 0; justify-items: start; }
  #visage .led-photo { width: 168px; }
  #visage .led-controls, #visage .led-text { display: none; }
  .contact-head { padding-bottom: 2.25rem; }
  .contact-grid { padding-top: 2.25rem; gap: 1.75rem; }
  .pair-item { border-radius: 14px; }
  .results-grid { grid-template-columns: minmax(0, 1fr); }
  .page-cta-meta { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { width: auto; flex-wrap: wrap; row-gap: .5rem; padding-inline: var(--gutter); }
  .marquee-item:nth-child(n + 7) { display: none; }
  .geste-svg { transform: none; }
}
