/* ============================================================
   GLOW TIME — système de style (éditorial clinique)
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #101014;
  --surface: #16161c;
  --ink: #f5f4f1;
  --ink-dim: #9c9ca3;
  --line: rgba(245, 244, 241, 0.13);
  --line-strong: rgba(245, 244, 241, 0.28);

  --paper: #f2f0ea;
  --paper-2: #e9e6dd;
  --paper-ink: #14130f;
  --paper-dim: #6b6559;
  --paper-line: rgba(20, 19, 15, 0.14);

  --accent: #bfa079;
  --accent-soft: #d8c1a4;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 16px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Marque ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.brand__mark {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 30%, #f4e2cb, var(--accent) 60%, #8f6f4c);
}
.brand__txt {
  font-size: 1.06rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 300; white-space: nowrap;
}
.brand__txt strong { font-weight: 700; }

/* ---------- En-tête ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.hdr--solid { background: var(--bg); border-bottom-color: var(--line); }
.hdr[data-scrolled] { background: rgba(11, 11, 13, 0.86); backdrop-filter: blur(10px); border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.01em; color: var(--ink); opacity: 0.78;
  transition: opacity 0.2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.nav__cta { opacity: 1 !important; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  position: relative; cursor: pointer;
}
.burger > span:first-child,
.burger > span:first-child::before,
.burger > span:first-child::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 1.5px;
  background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.burger > span:first-child { top: 21px; }
.burger > span:first-child::before { top: -7px; }
.burger > span:first-child::after { top: 7px; }
.burger[aria-expanded="true"] > span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] > span:first-child::before { transform: rotate(90deg); top: 0; }
.burger[aria-expanded="true"] > span:first-child::after { opacity: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border: 1px solid currentColor; border-radius: 2px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn span { transition: transform 0.2s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--sm { padding: 11px 20px; font-size: 0.72rem; }

.btn--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: currentColor; }
.btn--line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.on-paper .btn--solid, .sec--paper .btn--solid { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.on-paper .btn--solid:hover, .sec--paper .btn--solid:hover { background: transparent; color: var(--paper-ink); }
.sec--paper .btn--line { color: var(--paper-ink); }
.sec--paper .btn--line:hover { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }

/* ---------- Sections & titres ---------- */
.sec { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.sec--paper { background: var(--paper); color: var(--paper-ink); }
.sec--surface { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.h-sec {
  font-size: clamp(1.9rem, 4.6vw, 3.15rem);
  max-width: 22ch; letter-spacing: -0.03em;
}
.lead {
  margin-top: 24px; max-width: 56ch;
  font-size: clamp(1rem, 1.7vw, 1.16rem); color: var(--ink-dim);
}
.sec--paper .lead { color: var(--paper-dim); }

.idx { font-size: 0.74rem; letter-spacing: 0.16em; color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 132px 0 68px; overflow: hidden; color: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.35) 40%, rgba(11,11,13,0.92) 100%);
}
.hero__in { position: relative; z-index: 1; width: 100%; }
.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem); max-width: 18ch; letter-spacing: -0.035em; font-weight: 500;
}
.hero__sub { margin-top: 22px; max-width: 48ch; font-size: clamp(1rem, 1.8vw, 1.2rem); color: rgba(245,244,241,0.82); }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  width: 24px; height: 38px; border: 1px solid var(--line-strong); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px;
}
.hero__scroll::after { content: ""; width: 2px; height: 7px; background: var(--accent); animation: cue 1.7s var(--ease) infinite; }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(9px); opacity: 1; } }

/* ---------- Bandeau chiffres ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__cell { padding: clamp(34px, 5vw, 58px) 28px; border-right: 1px solid var(--line); }
.stats__cell:last-child { border-right: 0; }
.stats__num { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 600; letter-spacing: -0.03em; }
.stats__lbl { margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- Bloc split (image | texte) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 3 / 2; }
.split__body .h-sec { max-width: 18ch; }
.split + .split { margin-top: clamp(56px, 9vw, 120px); }

/* ---------- Carrousel « Pourquoi nous » ---------- */
.why__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.why__ctrls { display: flex; gap: 10px; }
.why__btn {
  width: 46px; height: 46px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--ink); border-radius: 2px; cursor: pointer; font-size: 1rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.sec--paper .why__btn { border-color: var(--paper-line); color: var(--paper-ink); }
.why__btn:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.why__btn:disabled { opacity: 0.32; cursor: default; }
.why__btn:disabled:hover { background: transparent; color: inherit; border-color: var(--line-strong); }

.why__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 34%);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.why__track::-webkit-scrollbar { display: none; }
.why__card {
  scroll-snap-align: start; border: 1px solid var(--line);
  padding: 32px 30px 34px; display: flex; flex-direction: column; min-height: 340px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.sec--paper .why__card { border-color: var(--paper-line); background: rgba(255,255,255,0.4); }
.why__n { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--accent); }
.why__t { font-size: 1.3rem; margin: 16px 0 12px; letter-spacing: -0.02em; }
.why__p { color: var(--ink-dim); font-size: 0.96rem; margin: 0; }
.sec--paper .why__p { color: var(--paper-dim); }
.why__dots { display: flex; gap: 8px; margin-top: 26px; }
.why__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); border: 0; padding: 0; cursor: pointer; }
.why__dot[aria-current="true"] { background: var(--accent); }

/* ---------- Grille de soins ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.svc {
  background: var(--bg); padding: clamp(30px, 4vw, 46px);
  display: flex; flex-direction: column; min-height: 420px;
  text-decoration: none; color: inherit; transition: background 0.25s var(--ease);
}
.svc:hover { background: var(--surface); }
.svc__media { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 26px; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__idx { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--accent); }
.svc__t { font-size: 1.6rem; margin: 12px 0 10px; }
.svc__d { color: var(--ink-dim); font-size: 0.96rem; flex: 1; }
.svc__more { margin-top: 20px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 8px; }
.svc:hover .svc__more span { transform: translateX(4px); }
.svc__more span { transition: transform 0.2s var(--ease); }

/* ---------- Étapes numérotées ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.sec--paper .step { border-top-color: var(--paper-line); }
.step__n { font-size: 0.74rem; letter-spacing: 0.16em; color: var(--accent); }
.step__t { font-size: 1.15rem; margin: 12px 0 8px; }
.step p { margin: 0; color: var(--ink-dim); font-size: 0.95rem; }
.sec--paper .step p { color: var(--paper-dim); }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--paper-line); border: 1px solid var(--paper-line); margin-top: 44px; }
.review { background: var(--paper); padding: 34px; margin: 0; }
.review p { font-size: 1.05rem; margin-bottom: 16px; }
.review footer { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--paper-dim); }
.review__src { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.82rem; color: var(--paper-dim); }

/* ---------- Bande CTA ---------- */
.cta-band { background: var(--accent); color: #16100a; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 68px); }
.cta-band__t { font-size: clamp(1.5rem, 3.2vw, 2.3rem); max-width: 22ch; letter-spacing: -0.03em; margin: 0; }
.cta-band .btn--solid { background: #16100a; color: var(--accent-soft); border-color: #16100a; }
.cta-band .btn--solid:hover { background: transparent; color: #16100a; }

/* ---------- Pied de page ---------- */
.ft { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 90px) 0 34px; }
.ft__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.ft__brand p { margin: 14px 0 0; color: var(--ink-dim); font-size: 0.92rem; }
.ft__addr { font-style: normal; }
.ft__h { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 16px; }
.ft__nav, .ft__contact { display: flex; flex-direction: column; gap: 11px; }
.ft__nav a, .ft__contact a { text-decoration: none; font-size: 0.92rem; color: var(--ink-dim); transition: color 0.2s var(--ease); }
.ft__nav a:hover, .ft__contact a:hover { color: var(--ink); }
.ft__cta { margin-top: 8px; align-self: flex-start; color: var(--bg); }
.ft__legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 70px); padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--ink-dim);
}
.ft__legal a { text-decoration: none; }
.ft__legal a:hover { color: var(--ink); }

/* ---------- Révélations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .split, .svc-grid, .steps, .reviews, .stats__grid { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .stats__cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats__cell:last-child { border-bottom: 0; }
  .ft__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px var(--gut) 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
  }
  .nav[data-open] { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 2px; opacity: 1; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 12px; justify-content: center; border-bottom: 0 !important; }
  .why__track { grid-auto-columns: 82%; }
  .ft__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
