/* ==========================================================================
   Atelier Nova Piercing — feuille de style
   Direction : « atelier crème sous une lumière douce » — canevas crème,
   serif éditoriale fine pour l'émotion, grotesque précise pour le reste,
   boutons pilule, filets de 1px, aucune ombre portée.
   ========================================================================== */

:root {
  /* Couleurs */
  --cream: #f7f1e8;
  --bone: #fefaef;
  --dusk: #d3d1ce;
  --stone: #ececec;
  --ash: #a8a5a0;
  --slate: #838280;
  --charcoal: #4a4741;
  --onyx: #222428;
  --black: #000;
  --white: #fff;
  --sage: #5b6550;
  --line: rgba(74, 71, 65, .16);
  --line-strong: rgba(74, 71, 65, .34);
  --line-light: rgba(247, 241, 232, .14);
  --gold-1: #f3dfb4;
  --gold-2: #c9a063;
  --gold-3: #af751b;

  /* Typographie */
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  /* Formes */
  --r-sm: 4px;
  --r-card: 8px;
  --r-input: 12px;
  --r-lg: 24px;
  --r-pill: 9999px;

  /* Mise en page */
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 11vw, 168px);
  --nav-h: 72px;
  --announce-h: 36px;

  /* Mouvement */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

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

/* Pas de scroll-behavior: smooth ici : Lenis s'en charge, et ScrollTrigger
   a besoin de sauts instantanés pour mesurer la page. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Remises à zéro dans la couche « base » : les classes Tailwind des composants Wix
   (panier, boutons) gardent ainsi la priorité sur ces règles d'éléments. */
@layer base {
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
small { font-size: .8em; }
sup { font-size: .6em; line-height: 0; }
[hidden] { display: none !important; }

::selection { background: var(--onyx); color: var(--cream); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
}

section[id], main [id] { scroll-margin-top: 88px; }

.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 {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--onyx); color: var(--white); font-size: 14px;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

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

.section { padding-block: var(--section); }
.section--bone { background: var(--bone); border-block: 1px solid var(--line); }

/* ---------- Typographie ---------- */
.display, .h1, .h2, .manifesto {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--onyx);
  text-wrap: balance;
}
.display em, .h1 em, .h2 em, .manifesto em { font-style: italic; }

.display {
  font-size: clamp(52px, 7.6vw, 116px);
  font-weight: 200;
  line-height: .98;
  letter-spacing: -.04em;
}
.h1 {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.h3, .value h3, .step h3, .phase h3, .care__title {
  font-family: var(--sans);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--onyx);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: rgba(247, 241, 232, .78); }

.lead {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  max-width: 36em;
}
.muted { color: var(--slate); }
.small { font-size: 14px; letter-spacing: .025em; }

.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
  padding-bottom: 1px;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link--arrow::after { content: " →"; }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .025em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }

.btn__label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.btn__label > span { display: block; transition: transform .6s var(--ease); }
.btn__label[data-text]::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  transition: transform .6s var(--ease);
}
.btn:hover .btn__label > span,
.btn:hover .btn__label[data-text]::after,
.btn:focus-visible .btn__label > span,
.btn:focus-visible .btn__label[data-text]::after { transform: translateY(-100%); }

.btn__icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  transition: transform .6s var(--ease);
}
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--sm { padding: 11px 22px; font-size: 14px; }

.btn--dark { background: var(--onyx); color: var(--white); }
.btn--dark::before { background: var(--black); }

.btn--ghost { color: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost::before { background: var(--onyx); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--cream); border-color: var(--onyx); }

.btn--light { background: var(--white); color: var(--black); }
.btn--light::before { background: var(--cream); }

.btn--ghost-light { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--ghost-light::before { background: var(--white); }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { color: var(--black); border-color: var(--white); }

/* ---------- Curseur & progression ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  width: 92px; height: 92px;
  margin: -46px 0 0 -46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--onyx);
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  will-change: transform;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.has-cursor [data-cursor] { cursor: none; }
.has-cursor [data-cursor] a, .has-cursor [data-cursor] button { cursor: none; }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 48;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- Écran d'ouverture ---------- */
.loader { display: none; }
.motion .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--cream);
  clip-path: inset(0 0 0 0);
}
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__logo { width: clamp(180px, 22vw, 260px); clip-path: inset(100% 0 0 0); }
.loader__bar { position: relative; width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--onyx); transform: scaleX(0); transform-origin: 0 50%; }
.loader__meta { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); opacity: 0; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 45;
  transition: transform .7s var(--ease);
}
.site-header.is-scrolled { transform: translateY(calc(var(--announce-h) * -1)); }
.site-header.is-hidden { transform: translateY(calc((var(--announce-h) + var(--nav-h) + 4px) * -1)); }

.announce {
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--gutter);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 13px;
  letter-spacing: .025em;
  text-align: center;
  white-space: nowrap;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.nav {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: var(--gutter);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 241, 232, .86);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.site-header.is-solid .nav { color: var(--charcoal); border-bottom-color: var(--line); }
.site-header.is-solid .nav::before { opacity: 1; }

.nav__logo { flex: none; margin-right: auto; }
.nav__logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .5s var(--ease);
}
.site-header.is-solid .nav__logo img { filter: none; }

.nav__links { display: flex; gap: clamp(20px, 2.2vw, 36px); font-size: 14px; letter-spacing: .01em; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav__cta { margin-left: 12px; background: var(--white); color: var(--black); }
.nav__cta::before { background: var(--cream); }
.site-header.is-solid .nav__cta { background: var(--onyx); color: var(--white); }
.site-header.is-solid .nav__cta::before { background: var(--black); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
}
.nav__burger-lines { position: relative; width: 24px; height: 10px; }
.nav__burger-lines i {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .6s var(--ease), top .6s var(--ease);
}
.nav__burger-lines i:first-child { top: 0; }
.nav__burger-lines i:last-child { top: 8.5px; }
.menu-open .nav__burger-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .nav__burger-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 44;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--announce-h) + var(--nav-h) + 28px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--cream);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a {
  display: block;
  overflow: hidden;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 10vw, 64px);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--onyx);
}
.menu__nav a span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .9s var(--ease);
  transition-delay: calc(.25s + var(--i) * .05s);
}
.menu.is-open .menu__nav a span { transform: none; }
.menu__foot {
  display: grid;
  gap: 20px;
  justify-items: start;
  margin-top: 40px;
  font-size: 14px;
  color: var(--slate);
  opacity: 0;
  transition: opacity .6s .5s;
}
.menu.is-open .menu__foot { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--onyx);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 40% 42%; transform-origin: 55% 45%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(26, 20, 15, .58) 0%, rgba(26, 20, 15, .26) 38%, rgba(26, 20, 15, 0) 62%),
    linear-gradient(0deg, rgba(26, 20, 15, .5) 0%, rgba(26, 20, 15, 0) 42%),
    linear-gradient(180deg, rgba(26, 20, 15, .35) 0%, rgba(26, 20, 15, 0) 22%);
}
.hero__content {
  padding-top: calc(var(--announce-h) + var(--nav-h) + 48px);
  padding-bottom: clamp(56px, 9vh, 104px);
}
.hero__title { margin-top: 22px; color: var(--white); max-width: 9.5em; }
.hero__lead { margin-top: 26px; max-width: 31em; font-size: clamp(16px, 1.25vw, 18px); color: rgba(255, 255, 255, .86); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__card {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 9vh, 104px);
  width: 320px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px 18px 10px 10px;
  border-radius: var(--r-card);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(28, 27, 26, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--white);
  transition: background .5s var(--ease), border-color .5s var(--ease);
}
.hero__card:hover { background: rgba(28, 27, 26, .9); border-color: rgba(255, 255, 255, .28); }
.hero__card-media { display: block; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 9 / 11; }
.hero__card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__card:hover .hero__card-media img { transform: scale(1.08); }
.hero__card-text { display: grid; gap: 2px; }
.hero__card-text small { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero__card-text strong { font-weight: 500; font-size: 17px; }
.hero__card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.hero__card-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease); }
.hero__card:hover .hero__card-link svg { transform: translateX(4px); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.hero__scroll i { position: relative; width: 1px; height: 44px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(-100%);
  animation: scrollLine 2.4s var(--ease-io) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
  gap: clamp(22px, 3vw, 48px);
  padding-right: clamp(22px, 3vw, 48px);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--onyx);
  white-space: nowrap;
}
.marquee__group em { font-style: italic; color: var(--charcoal); }
.marquee__star { width: clamp(16px, 1.8vw, 26px); height: auto; flex: none; fill: var(--sage); }

/* ---------- Médias ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--dusk);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--parallax img { position: absolute; left: 0; top: -9%; height: 118%; }
.caption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .025em;
  color: var(--slate);
}
.caption span { font-weight: 500; color: var(--onyx); }

/* ---------- L'atelier ---------- */
.manifesto {
  margin-top: 28px;
  max-width: 21em;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -.028em;
}

.about__grid {
  margin-top: clamp(64px, 9vw, 136px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-items: start;
}
.about__portrait { grid-column: 1 / span 5; }
.about__portrait .media { aspect-ratio: 880 / 1080; }
.about__text { grid-column: 7 / span 5; padding-top: clamp(0px, 4vw, 64px); }
.about__text .prose { margin-top: 28px; display: grid; gap: 16px; max-width: 34em; }
.about__studio { grid-column: 1 / -1; margin-top: clamp(24px, 4vw, 64px); }
.about__studio .media { aspect-ratio: 21 / 9; }
.signature {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  color: var(--onyx);
}

.values {
  margin-top: clamp(80px, 10vw, 144px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.value { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.value .icon { width: 30px; height: 30px; fill: none; stroke: var(--sage); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.value:hover .icon { transform: translateY(-4px) rotate(-6deg); }
.value h3 { margin-top: 28px; }
.value p { margin-top: 10px; font-size: 15px; max-width: 26em; }

/* ---------- Réalisations ---------- */
/* Suit « L'atelier » sur le même fond : marge haute réduite pour ne pas doubler l'espace. */
.works.section { padding-top: clamp(24px, 4vw, 56px); }
.works__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.works__title { margin-top: 22px; }
.works__intro { display: grid; gap: 24px; justify-items: start; }
.works__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.work:nth-child(even) { margin-top: clamp(32px, 5vw, 72px); }
.work figure, .jewel figure, figure.jewel { margin: 0; }
.work__media { aspect-ratio: 3 / 4; }
.work__zoom { display: block; width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.work:hover .work__zoom, .jewel:hover .work__zoom { transform: scale(1.04); }
.work .caption, .jewel .caption { display: grid; gap: 2px; }

/* ---------- Bijoux ---------- */
/* Vitrine sombre : les photos claires des bijoux ressortent, comme sur un plateau de velours. */
.jewels { background: var(--onyx); color: rgba(247, 241, 232, .76); }
.jewels .h2 { color: var(--cream); }
.jewels .lead { color: rgba(247, 241, 232, .82); }
.jewels .caption { color: rgba(247, 241, 232, .55); }
.jewels .caption span { color: var(--cream); }
.jewels__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.jewels__text { display: grid; gap: 22px; justify-items: start; padding-bottom: 36px; }
.jewel__media { aspect-ratio: 3 / 4; background: #2c2e33; }
.jewel__media--wide { aspect-ratio: 1290 / 1042; }
.jewels__list {
  list-style: none;
  margin: clamp(28px, 4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

/* ---------- Tarifs ---------- */
.section-head { display: grid; gap: 22px; max-width: 800px; margin-bottom: clamp(48px, 6vw, 88px); }

.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.earmap { position: sticky; top: calc(var(--nav-h) + 32px); }
.earmap__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-card);
  border: 1px solid var(--stone);
  background: var(--dusk);
  overflow: hidden;
}
.earmap__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s var(--ease); }
.earmap.is-dimmed .earmap__frame img { filter: saturate(.6) brightness(.92); }
.earmap.is-dimmed .spot { opacity: .35; }
.earmap__note { margin-top: 14px; font-size: 13px; color: var(--slate); max-width: 34em; }

.spot {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: opacity .5s var(--ease);
  z-index: 1;
}
.spot::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(34, 36, 40, .12);
  transition: transform .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease);
}
.spot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .85);
  animation: spotPulse 2.8s var(--ease) infinite;
  animation-delay: calc(var(--i) * .22s);
  pointer-events: none;
}
@keyframes spotPulse {
  0% { transform: scale(.6); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}
.spot:hover, .spot.is-active, .spot:focus-visible { z-index: 3; }
.spot:hover::before, .spot.is-active::before, .spot:focus-visible::before {
  transform: scale(1.4);
  background: var(--gold-1);
  box-shadow: 0 0 0 4px rgba(243, 223, 180, .38);
}
.spot:focus-visible { outline: none; }
.spot__label {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--onyx);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px) scale(.96);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.spot__label b { font-weight: 400; color: var(--slate); }
.spot:hover .spot__label, .spot.is-active .spot__label, .spot:focus-visible .spot__label { opacity: 1; transform: translate(-50%, 0) scale(1); }

.tabs {
  position: relative;
  display: flex;
  gap: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 14px 0 15px;
  font-size: 16px;
  color: var(--ash);
  white-space: nowrap;
  transition: color .4s var(--ease);
}
.tab:hover { color: var(--charcoal); }
.tab[aria-selected="true"] { color: var(--black); }
.tabs__indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--w, 0);
  background: var(--black);
  transform: translateX(var(--l, 0));
  transition: transform .6s var(--ease), width .6s var(--ease);
}

.price-row { border-bottom: 1px solid var(--line); }
.price-row > a, .price-row--info > div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 22px;
  grid-template-areas: "name time amount arrow" "desc time amount arrow";
  column-gap: clamp(14px, 2vw, 28px);
  row-gap: 4px;
  align-items: center;
  padding: 22px 14px;
  isolation: isolate;
}
.price-row > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .55s var(--ease);
}
.price-row > a:hover::before, .price-row.is-active > a::before, .price-row > a:focus-visible::before { transform: scaleY(1); }
.price__name {
  grid-area: name;
  font-size: 18px;
  font-weight: 500;
  color: var(--onyx);
  transition: transform .55s var(--ease);
}
.price__name small { font-weight: 400; color: var(--slate); font-size: 14px; }
.price__desc { grid-area: desc; font-size: 14px; color: var(--slate); max-width: 40em; transition: transform .55s var(--ease); }
.price__time { grid-area: time; font-size: 13px; letter-spacing: .025em; color: var(--slate); }
.price__amount {
  grid-area: amount;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--onyx);
  white-space: nowrap;
}
.price__amount small { font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: var(--slate); margin-right: 2px; }
.price__arrow {
  grid-area: arrow;
  width: 20px; height: 20px;
  fill: none; stroke: var(--onyx); stroke-width: 1.5;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.price-row > a:hover .price__name, .price-row.is-active .price__name,
.price-row > a:hover .price__desc, .price-row.is-active .price__desc { transform: translateX(8px); }
.price-row > a:hover .price__arrow, .price-row.is-active .price__arrow, .price-row > a:focus-visible .price__arrow { opacity: 1; transform: none; }
.price-row--info > div { grid-template-columns: 1fr; grid-template-areas: "name" "desc"; }

.prices__note { margin: 24px 0 28px; font-size: 13px; letter-spacing: .02em; color: var(--slate); }

/* ---------- Le studio (horizontal) ---------- */
.studio {
  position: relative;
  background: var(--onyx);
  color: rgba(247, 241, 232, .78);
  overflow: hidden;
}
.studio__pin { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; }
.studio__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 2vw, 32px);
  padding-inline: var(--gutter);
  will-change: transform;
}
.studio__intro { flex: 0 0 min(440px, 34vw); padding-right: clamp(16px, 3vw, 56px); padding-bottom: 36px; align-self: center; }
.studio__intro .h1 { margin-top: 22px; color: var(--cream); }
.studio__intro > p:not(.eyebrow) { margin-top: 24px; max-width: 28em; }
.studio__rail { display: contents; }
.studio__hint { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 241, 232, .55); }
.studio__hint--swipe { display: none; }
.studio__hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; animation: nudge 2s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.studio__item { --h: min(62vh, 600px); flex: none; width: calc(var(--h) * .75); }
.studio__item--wide { width: calc(var(--h) * 4 / 3); }
.studio__item .media { height: var(--h); background: #2c2e33; }
.studio__item .media img {
  position: absolute;
  top: 0;
  left: -6%;
  width: 112%;
  max-width: none;
  height: 100%;
  transition: scale 1.2s var(--ease);
}
.studio__item:hover .media img { scale: 1.04; }
.studio__item .caption { color: rgba(247, 241, 232, .55); }
.studio__item .caption span { color: var(--cream); }
.studio__progress {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(24px, 4vh, 40px);
  height: 1px;
  background: var(--line-light);
}
.studio__progress i { position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Le rendez-vous ---------- */
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.process__aside { position: sticky; top: calc(var(--nav-h) + 48px); display: grid; gap: 22px; justify-items: start; }
.process__aside .btn { margin-top: 8px; }

.steps { position: relative; padding-left: clamp(40px, 5vw, 64px); }
.steps__line { position: absolute; left: 4px; top: 14px; bottom: 60px; width: 1px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: var(--sage); transform: scaleY(1); transform-origin: 50% 0; }
.motion .steps__line i { transform: scaleY(0); }
.step { position: relative; padding-bottom: clamp(44px, 5vw, 72px); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: calc(clamp(40px, 5vw, 64px) * -1);
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
  border: 1px solid var(--sage);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.step__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  color: var(--onyx);
  transition: color .5s var(--ease);
}
.step h3 { margin-top: 14px; }
.step p { margin-top: 10px; max-width: 34em; transition: opacity .5s var(--ease); }
.motion .step::before { background: var(--cream); border-color: var(--line-strong); }
.motion .step .step__num { color: var(--ash); }
.motion .step p { opacity: .62; }
.motion .step.is-active::before { background: var(--sage); border-color: var(--sage); transform: scale(1.25); }
.motion .step.is-active .step__num { color: var(--onyx); }
.motion .step.is-active p { opacity: 1; }

/* ---------- Guide des tailles ---------- */
.guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.rings { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 1; }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.ring {
  fill: none;
  stroke: url(#gold);
  stroke-width: 1.4;
  opacity: .28;
  transition: opacity .5s var(--ease), stroke-width .5s var(--ease);
}
.ring.is-active { opacity: 1; stroke-width: 3; }
.ring-label {
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .08em;
  text-anchor: middle;
  fill: var(--slate);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.ring-label.is-active { opacity: 1; }
.rings__readout {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
  pointer-events: none;
}
.rings__value { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.5vw, 36px); letter-spacing: -.02em; line-height: 1; color: var(--onyx); }
.rings__sub { max-width: 13em; font-size: 12px; letter-spacing: .03em; color: var(--slate); }

.zones { border-top: 1px solid var(--line); }
.zone {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 64px;
  gap: 16px;
  align-items: baseline;
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  isolation: isolate;
  transition: padding .5s var(--ease);
}
.zone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .55s var(--ease);
}
.zone:hover::before, .zone.is-active::before { transform: scaleX(1); }
.zone:hover, .zone.is-active { padding-left: 22px; }
.zone__name { font-weight: 500; color: var(--onyx); }
.zone__dia { font-size: 15px; color: var(--charcoal); }
.zone__gauge { font-size: 13px; color: var(--slate); text-align: right; }

.timing { margin-top: 40px; display: grid; gap: 18px; }
.timing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.timing__grid > div { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--cream); }
.timing__grid dt { font-size: 13px; color: var(--slate); }
.timing__grid dd { margin-top: 6px; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--onyx); }
.timing__note { font-size: 14px; color: var(--slate); max-width: 40em; }

/* ---------- Soins ---------- */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.phase {
  padding: 28px 24px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bone);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), translate .7s var(--ease);
}
.phase:hover { background: var(--white); border-color: var(--line-strong); translate: 0 -6px; }
.phase__num { display: block; font-family: var(--serif); font-style: italic; font-weight: 200; font-size: 48px; line-height: 1; color: var(--sage); }
.phase h3 { margin-top: 40px; }
.phase p { margin-top: 10px; font-size: 15px; }

.care__grid {
  margin-top: clamp(72px, 9vw, 128px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.heal > .muted { margin-top: 6px; }

.chart { margin-top: 32px; display: grid; gap: 22px; }
.chart__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; }
.chart__label { font-weight: 500; color: var(--onyx); font-size: 15px; }
.chart__value { font-size: 14px; color: var(--slate); }
.chart__bar { grid-column: 1 / -1; position: relative; height: 8px; border-radius: var(--r-pill); background: rgba(74, 71, 65, .08); overflow: hidden; }
.chart__fill, .chart__range { position: absolute; top: 0; bottom: 0; border-radius: var(--r-pill); }
.chart__fill { left: 0; width: calc(var(--min) / 12 * 100%); background: var(--charcoal); transform-origin: 0 50%; }
.chart__range {
  left: calc(var(--min) / 12 * 100% - 4px);
  width: calc((var(--max) - var(--min)) / 12 * 100% + 4px);
  background: repeating-linear-gradient(135deg, rgba(74, 71, 65, .5) 0 2px, rgba(74, 71, 65, .16) 2px 5px);
  transform-origin: 0 50%;
}
.chart__axis { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .04em; color: var(--ash); }

.normal {
  margin-top: 48px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bone);
}
.normal ul { margin-top: 16px; display: grid; gap: 10px; }
.normal li { position: relative; padding-left: 22px; font-size: 15px; }
.normal li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--sage); }
.normal__alert { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--charcoal); }

.tips__list { margin-top: 24px; }
.tips__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  transition: padding .5s var(--ease);
}
.tips__list li:last-child { border-bottom: 1px solid var(--line); }
.tips__list li:hover { padding-left: 8px; }
.tips__list svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--sage); stroke-width: 1.5; }
.tips__list b { font-weight: 500; color: var(--onyx); }

/* ---------- Bon cadeau ---------- */
.gift {
  position: relative;
  background: var(--onyx);
  color: rgba(247, 241, 232, .76);
  overflow: hidden;
  isolation: isolate;
}
.gift::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 60% at 30% 85%, rgba(255, 182, 72, .2), transparent 70%);
}
.gift__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.gift__stage { perspective: 1400px; display: grid; place-items: center; padding: clamp(8px, 3vw, 40px); }
.giftcard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1.586;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(135deg, rgb(30, 36, 39) 0%, rgb(36, 38, 40) 38%, rgb(112, 80, 30) 82%, rgb(175, 117, 27) 120%);
  color: rgba(255, 255, 255, .82);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
  overflow: hidden;
}
.giftcard.is-tilting { transition-duration: .15s; }
.giftcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 236, 200, .22), transparent 42%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.gift__stage:hover .giftcard::after { opacity: 1; }
.giftcard__top, .giftcard__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.giftcard__top svg { width: 18px; height: 18px; fill: var(--gold-1); }
.giftcard__logo { width: 52%; align-self: center; filter: brightness(0) invert(1); opacity: .95; transform: translateZ(40px); }

.gift__text { display: grid; gap: 22px; justify-items: start; }
.gift__text .h1 { color: var(--cream); }
.gift__options { width: 100%; margin-top: 10px; display: grid; gap: 12px; }
.gift-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 20px;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-card);
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.gift-option:hover { background: rgba(247, 241, 232, .05); border-color: rgba(247, 241, 232, .4); }
.gift-option strong { display: block; font-weight: 500; color: var(--cream); font-size: 17px; }
.gift-option small { display: block; margin-top: 2px; font-size: 14px; color: rgba(247, 241, 232, .6); }
.gift-option__price { font-family: var(--serif); font-weight: 300; font-size: 30px; letter-spacing: -.02em; line-height: 1; color: var(--gold-1); white-space: nowrap; }
.gift-option svg { width: 20px; height: 20px; fill: none; stroke: var(--cream); stroke-width: 1.5; transition: transform .5s var(--ease); }
.gift-option:hover svg { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.faq__aside { position: sticky; top: calc(var(--nav-h) + 48px); display: grid; gap: 22px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: baseline;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--onyx);
  transition: color .4s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--black); }
.qa summary > span:nth-child(2) { transition: transform .5s var(--ease); }
.qa summary:hover > span:nth-child(2) { transform: translateX(6px); }
.qa__num { font-size: 13px; font-weight: 400; letter-spacing: .06em; color: var(--slate); }
.qa__icon { position: relative; width: 16px; height: 16px; align-self: center; justify-self: end; }
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1.5px;
  margin-top: -.75px;
  background: currentColor;
  transition: transform .5s var(--ease);
}
.qa__icon::after { transform: rotate(90deg); }
.qa.is-open .qa__icon::after, .qa[open]:not(.is-closing) .qa__icon::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__inner { padding: 0 40px 28px 54px; display: grid; gap: 12px; max-width: 46em; }

/* ---------- Contact ---------- */
.contact__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 40px;
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.contact__title { margin-top: 22px; }
.contact__cta { display: grid; gap: 22px; justify-items: start; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  padding-top: clamp(48px, 6vw, 80px);
}
.info { display: grid; gap: 32px; align-content: start; }
.info__item dd { margin-top: 10px; font-size: 18px; color: var(--onyx); }
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.socials a {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.socials a:hover { background: var(--onyx); color: var(--cream); border-color: var(--onyx); }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.socials__handle { margin-left: 6px; font-size: 14px; color: var(--slate); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__intro { grid-column: 1 / -1; display: grid; gap: 8px; margin-bottom: 8px; color: var(--slate); }
.form__intro .h3 { display: block; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; letter-spacing: .025em; color: var(--charcoal); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ash); }
.field input:hover, .field textarea:hover { border-color: var(--charcoal); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(34, 36, 40, .08); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #9a4a3a; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form__status { font-size: 14px; color: var(--slate); }

/* ---------- Pied de page ---------- */
.footer {
  background: var(--onyx);
  color: rgba(247, 241, 232, .66);
  padding-top: clamp(80px, 9vw, 128px);
  font-size: 14px;
  overflow: hidden;
}
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer__intro { display: grid; gap: 24px; justify-items: start; align-content: start; }
.footer__tagline { max-width: 20em; font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; color: var(--cream); }
.footer h3 { margin-bottom: 18px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .3s var(--ease); }
.footer a:hover { color: var(--cream); }
.footer__brand { margin-top: clamp(64px, 9vw, 128px); overflow: hidden; }
.footer__brand img { width: 100%; height: auto; opacity: .96; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(32px, 4vw, 56px);
  padding: 24px 0 32px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; }
.footer__top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease); }
.footer__top:hover svg { transform: translateY(-3px); }

/* ---------- Éléments flottants ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(247, 241, 232, .22);
  background: var(--onyx);
  color: var(--cream);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .3s;
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--black); }

.mobile-cta { display: none; }

/* ---------- États initiaux des animations (uniquement si le mouvement est actif) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(32px); }
.motion [data-reveal-img] { clip-path: inset(100% 0 0 0); }
.motion [data-split], .motion [data-words], .motion [data-hero-title] { visibility: hidden; }
.motion .hero [data-hero] { opacity: 0; }

.split-line-mask { padding-bottom: .1em; margin-bottom: -.1em; padding-right: .08em; margin-right: -.08em; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .hero__scroll { display: none; }
}

@media (max-width: 1180px) {
  .nav__links { gap: 18px; }
  .nav__links a:nth-child(5) { display: none; }
}

@media (max-width: 1023px) {
  :root { --nav-h: 64px; }
  .works__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__logo img { height: 38px; }

  .hero__card, .hero__scroll { display: none; }

  .about__portrait { grid-column: 1 / span 6; }
  .about__text { grid-column: 7 / span 6; padding-top: 0; }
  .about__studio .media { aspect-ratio: 16 / 9; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }

  .pricing__grid, .guide__grid, .process__grid, .faq__grid, .care__grid, .gift__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .earmap { position: relative; top: 0; max-width: 520px; }
  .process__aside, .faq__aside { position: static; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__head { grid-template-columns: minmax(0, 1fr); align-items: start; }

  /* Galerie : intro au-dessus, carrousel natif en dessous */
  .studio__pin { height: auto; display: block; padding-block: var(--section) calc(var(--section) * .8); }
  .studio__track { display: block; padding-inline: 0; }
  .studio__intro { max-width: 640px; padding: 0 var(--gutter) 40px; }
  .studio__hint--scroll { display: none; }
  .studio__hint--swipe { display: inline; }
  .studio__rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .studio__rail::-webkit-scrollbar { display: none; }
  .studio__item { --h: min(96vw, 560px); width: calc(var(--h) * .75); scroll-snap-align: start; }
  .studio__item--wide { width: calc(var(--h) * 4 / 3); max-width: calc(100vw - var(--gutter) * 2); }
  .studio__item .media img { left: 0; width: 100%; }
  .studio__progress { display: none; }

  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__intro { grid-column: 1 / -1; }

  .to-top { display: none; }
  .mobile-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 42;
    display: flex;
    transform: translateY(calc(100% + 32px));
    transition: transform .7s var(--ease), color .5s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
}

@media (max-width: 900px) {
  /* Héro mobile : la photo occupe le haut, le texte se pose dessous */
  .hero { min-height: 100svh; }
  .hero__media { bottom: 30%; }
  .hero__media img { object-position: 50% 30%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(26, 20, 15, .35) 0%, rgba(26, 20, 15, 0) 18%),
      linear-gradient(0deg, var(--onyx) 30%, rgba(34, 36, 40, .75) 44%, rgba(34, 36, 40, 0) 64%);
  }
  .hero__content { padding-bottom: 40px; }
}

@media (max-width: 760px) {
  .announce { font-size: 12px; }
  .announce__extra { display: none; }

  .about__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .about__portrait, .about__text, .about__studio { grid-column: 1 / -1; }
  .about__studio { margin-top: 0; }
  .about__studio .media { aspect-ratio: 4 / 3; }
  .values { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }

  .price-row > a, .price-row--info > div {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name amount" "desc desc" "time time";
    padding: 20px 6px;
  }
  .price__arrow { display: none; }
  .price-row > a:hover .price__name, .price-row.is-active .price__name,
  .price-row > a:hover .price__desc, .price-row.is-active .price__desc { transform: none; }
  .price__amount { font-size: 28px; }

  .zone { grid-template-columns: minmax(0, 1fr) auto; }
  .zone__gauge, .ring-label { display: none; }
  .timing__grid { grid-template-columns: minmax(0, 1fr); }
  .timing__grid > div { display: flex; justify-content: space-between; align-items: baseline; }
  .timing__grid dd { margin-top: 0; font-size: 26px; }

  .phases { grid-template-columns: minmax(0, 1fr); }
  .phase h3 { margin-top: 24px; }

  .qa summary { grid-template-columns: 30px minmax(0, 1fr) 20px; font-size: 17px; padding: 20px 0; }
  .qa__inner { padding: 0 0 24px 44px; }

  .form { grid-template-columns: minmax(0, 1fr); }

  .works__head, .jewels__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .jewels__text { padding-bottom: 0; }
  /* Les photos défilent au doigt, la suivante dépasse pour inviter au geste. */
  .works__list, .jewels__list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .works__list::-webkit-scrollbar, .jewels__list::-webkit-scrollbar { display: none; }
  .work, .jewels__list .jewel { flex: 0 0 78%; scroll-snap-align: start; }
  .work:nth-child(even) { margin-top: 0; }

  .gift-option { grid-template-columns: minmax(0, 1fr) 20px; row-gap: 12px; }
  .gift-option__price { grid-row: 2; font-size: 26px; }
  .gift-option svg { grid-column: 2; grid-row: 1 / span 2; }

  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__tagline { font-size: 26px; }
  .footer__bottom { flex-direction: column; padding-bottom: 96px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .spot::after, .hero__scroll i::after { display: none; }
}

/* Bouton panier (composant Wix) dans l'en-tête de l'accueil : suit la couleur de la navigation */
.nav__cart { display: inline-flex; align-items: center; color: inherit; }
.nav__cart button { color: inherit; }
.prices__empty { padding: 32px 0; font-size: 16px; }
