:root {
  --ink: #0C0C0C;
  --paper: #EDEBE6;
  --paper-2: #E2DFD8;
  --lime: #D4FF3A;
  --grey: #8A8781;
  --line: rgba(12, 12, 12, .16);
  --line-light: rgba(237, 235, 230, .18);
  --gutter: clamp(16px, 3.4vw, 52px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: 'Bodoni Moda', Didot, serif;
  --ui: 'Syne', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (pointer: fine) { body, a, button { cursor: none; } }

.title { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 7vw, 120px); line-height: .92; letter-spacing: -.03em; }
.title em { font-style: italic; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .1em; margin: 0 -.04em -.1em; }
[data-split] .w > span { display: inline-block; }
.intro-eyebrow { font-family: var(--ui); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; border-radius: 999px; font-family: var(--ui); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.btn i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 18px; background: var(--ink); color: var(--lime); transition: transform .6s var(--ease); }
.btn:hover i { transform: rotate(45deg); }
.btn-lime { background: var(--lime); color: var(--ink); }

/* ---------- Curseur ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 400; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; pointer-events: none; display: grid; place-items: center; opacity: 0;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease);
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; background: var(--lime); }
.cursor-label { font-family: var(--ui); font-size: 12px; font-weight: 700; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-big .cursor-label { opacity: 1; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--paper); }
.loader-frame { position: absolute; left: 50%; top: 50%; width: min(26vw, 300px); aspect-ratio: 3 / 4; translate: -50% -50%; overflow: hidden; }
.loader-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.loader-count { position: absolute; right: var(--gutter); bottom: 24px; font-family: var(--display); font-style: italic; font-size: clamp(60px, 10vw, 160px); line-height: 1; font-variant-numeric: tabular-nums; }
.loader-brand { position: absolute; left: var(--gutter); top: 26px; font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter); color: #fff; mix-blend-mode: difference;
}
.logo { font-family: var(--display); font-style: italic; font-size: 30px; letter-spacing: -.02em; }
.logo sup { font-family: var(--ui); font-style: normal; font-size: 10px; margin-left: 2px; }
.nav { display: flex; gap: 34px; font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav a, .header-cta { position: relative; }
.nav a::after, .header-cta::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover::after, .header-cta:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-gl, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { object-fit: cover; }
.hero-gl { opacity: 0; transition: opacity .4s; }
.hero-gl.is-ready { opacity: 1; }
.hero-gl.is-ready + .hero-fallback { visibility: hidden; }
.hero-top { position: absolute; top: 96px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font-family: var(--ui); font-size: 13px; font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
.hero-next { display: flex; align-items: center; gap: 10px; height: fit-content; padding: 8px 14px; border-radius: 999px; background: rgba(237, 235, 230, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-next b { color: var(--lime); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 255, 58, .6); } 100% { box-shadow: 0 0 0 12px rgba(212, 255, 58, 0); } }
.hero-title {
  position: absolute; left: calc(var(--gutter) - .05em); bottom: 120px; font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(110px, 25vw, 420px); line-height: .8; letter-spacing: -.05em; pointer-events: none;
}
.hero-title .ht { display: flex; overflow: hidden; padding: 0 .06em .06em 0; }
.hero-title .ht span { display: inline-block; }
.hero-bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-lead { max-width: 36ch; font-size: 15px; line-height: 1.55; color: rgba(237, 235, 230, .8); }

/* ---------- Intro ---------- */
.intro { padding: clamp(110px, 15vw, 220px) var(--gutter) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.intro-text { font-family: var(--display); font-size: clamp(32px, 4.3vw, 70px); line-height: 1.06; letter-spacing: -.02em; }
.intro-text .line { display: block; overflow: hidden; }
.intro-text .line > span { display: block; }
.intro-facts { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.intro-facts b { display: block; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(48px, 6vw, 96px); line-height: 1; }
.intro-facts span { font-family: var(--ui); font-size: 13px; font-weight: 500; color: var(--grey); }

/* ---------- Zoom salon ---------- */
.zoom { position: relative; height: 100svh; background: var(--paper); }
.zoom-inner { position: relative; height: 100%; display: grid; place-items: center; overflow: hidden; }
.zoom-media { position: absolute; inset: 0; clip-path: inset(22% 34% 22% 34% round 220px); will-change: clip-path; }
.zoom-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); will-change: transform; }
.zoom-media::after { content: ''; position: absolute; inset: 0; background: rgba(12, 12, 12, .35); }
.zoom-title { position: relative; z-index: 1; text-align: center; color: #fff; font-family: var(--display); font-weight: 400; font-size: clamp(54px, 10vw, 170px); line-height: .9; letter-spacing: -.04em; mix-blend-mode: difference; }
.zoom-title span, .zoom-title em { display: block; }

/* ---------- Prestations ---------- */
.services { padding: clamp(110px, 14vw, 200px) var(--gutter) 80px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .title { text-align: right; }
.panels { display: flex; gap: 10px; height: min(76svh, 720px); }
.panel {
  position: relative; flex: 1; min-width: 0; border-radius: 22px; overflow: hidden; background: var(--ink); color: var(--paper);
  transition: flex .9s var(--ease); cursor: pointer;
}
.panel.is-open { flex: 5.2; cursor: default; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .55; transform: scale(1.15); transition: filter .9s var(--ease), opacity .9s var(--ease), transform 1.4s var(--ease); }
.panel.is-open img { filter: grayscale(0); opacity: 1; transform: scale(1); }
.panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 12, 12, .1) 30%, rgba(12, 12, 12, .88)); }
.panel-label {
  position: absolute; z-index: 1; left: 50%; bottom: 26px; translate: -50% 0; writing-mode: vertical-rl; rotate: 180deg;
  font-family: var(--display); font-style: italic; font-size: 34px; white-space: nowrap; transition: opacity .4s;
}
.panel-num { position: absolute; z-index: 1; top: 20px; left: 50%; translate: -50% 0; font-family: var(--ui); font-size: 12px; font-weight: 600; transition: left .9s var(--ease), translate .9s var(--ease); }
.panel.is-open .panel-label { opacity: 0; }
.panel.is-open .panel-num { left: 26px; translate: 0 0; }
.panel-body { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; opacity: 0; transform: translateY(30px); transition: opacity .4s, transform .9s var(--ease); pointer-events: none; }
.panel.is-open .panel-body { opacity: 1; transform: none; transition-delay: .3s; pointer-events: auto; }
.panel-body h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(48px, 5.4vw, 92px); line-height: .9; letter-spacing: -.03em; }
.panel-body > p { margin: 10px 0 20px; font-size: 15px; color: rgba(237, 235, 230, .8); }
.price-list { list-style: none; max-width: 460px; }
.price-list li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid var(--line-light); font-family: var(--ui); font-size: 15px; font-weight: 500; }
.price-list li span:last-child { color: var(--lime); white-space: nowrap; }
.services-note { margin-top: 18px; font-size: 13px; color: var(--grey); }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(80px, 12vw, 180px) var(--gutter); background: var(--ink); color: var(--paper); overflow: hidden; }
.team-lead { max-width: 40ch; margin-top: 26px; font-size: 16px; line-height: 1.6; color: rgba(237, 235, 230, .7); }
.team-nav { display: flex; align-items: center; gap: 18px; margin-top: 40px; font-family: var(--ui); font-size: 13px; font-weight: 600; }
.round { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-light); font-size: 18px; transition: background .4s, color .4s; }
.round:hover { background: var(--lime); color: var(--ink); }
.stack { position: relative; height: min(72svh, 640px); aspect-ratio: 3 / 4; justify-self: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.tcard { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: #222; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); will-change: transform; }
.tcard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 12, 12, .85)); }
.tcard-info { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; }
.tcard-info h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 54px; line-height: .9; }
.tcard-info p { margin-top: 8px; font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.tcard-info small { display: block; margin-top: 4px; font-size: 13px; color: rgba(237, 235, 230, .7); }
.tcard-tag { position: absolute; z-index: 1; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-family: var(--ui); font-size: 12px; font-weight: 700; }

/* ---------- Galerie ---------- */
.gallery { position: relative; height: 100svh; overflow: hidden; background: var(--paper-2); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.gallery-grid { position: absolute; inset: 0; }
.gtile { position: absolute; left: 0; top: 0; border-radius: 16px; overflow: hidden; will-change: transform; background: #cfcbc3; }
.gtile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.gtile:hover img { filter: grayscale(0); transform: scale(1.06); }
.gallery-overlay {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; text-align: center; padding: 34px 44px; border-radius: 26px;
  background: rgba(237, 235, 230, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: none;
}
.gallery-overlay .title { font-size: clamp(40px, 5vw, 80px); margin: 12px 0 10px; }
.gallery-overlay p:last-child { font-family: var(--ui); font-size: 13px; color: var(--grey); }

/* ---------- Réservation ---------- */
.booking { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 100px); padding: clamp(110px, 14vw, 200px) var(--gutter); }
.booking-head { position: sticky; top: 110px; align-self: start; }
.booking-head .title { margin-top: 18px; }
.booking-summary { margin-top: 28px; display: inline-block; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--lime); font-family: var(--ui); font-weight: 600; font-size: 14px; }
.book { position: relative; display: grid; gap: 34px; }
.book fieldset { border: 0; display: grid; gap: 14px; }
.book legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.book legend b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ink); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--ui); font-size: 14px; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s;
}
.chip small { display: block; font-size: 11px; color: var(--grey); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.is-on small { color: var(--lime); }
.chip:disabled { opacity: .3; text-decoration: line-through; pointer-events: none; }
.chips-days .chip { text-align: center; min-width: 74px; }
.who { grid-template-columns: 1fr 1fr; }
.who legend { grid-column: 1 / -1; }
.who input { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; outline: none; transition: border-color .3s; }
.who input:focus { border-color: var(--ink); }
.btn-submit { justify-self: start; }
.book-ok { position: absolute; inset: -20px; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; border-radius: 24px; background: var(--ink); color: var(--paper); opacity: 0; visibility: hidden; }
.book-ok svg { width: 90px; height: 90px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.book-ok p { font-family: var(--display); font-style: italic; font-size: clamp(28px, 3vw, 44px); max-width: 18ch; line-height: 1.1; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 90px var(--gutter) 26px; overflow: hidden; }
.footer-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-info h3 { margin-bottom: 12px; font-family: var(--ui); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.footer-info p { line-height: 1.6; color: rgba(237, 235, 230, .75); }
.footer-word { display: flex; justify-content: center; margin-top: 20px; font-family: var(--display); font-style: italic; font-size: 27vw; line-height: .9; letter-spacing: -.05em; }
.footer-word span { display: inline-block; transform-origin: 50% 85%; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--ui); font-size: 12px; color: rgba(237, 235, 230, .5); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .intro { grid-template-columns: 1fr; }
  .intro-facts { grid-column: 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .title { text-align: left; }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 76px; transition: height .9s var(--ease); }
  .panel.is-open { flex: none; height: 520px; }
  .panel-label { writing-mode: horizontal-tb; rotate: none; left: 60px; bottom: auto; top: 50%; translate: 0 -50%; font-size: 30px; }
  .panel-num { top: 50%; left: 24px; translate: 0 -50%; }
  .panel.is-open .panel-num { top: 22px; translate: 0 0; }
  .team, .booking { grid-template-columns: 1fr; }
  .stack { height: auto; width: min(100%, 360px); }
  .booking-head { position: static; }
  .who { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-top { flex-direction: column; gap: 14px; }
  .hero-title { bottom: 214px; font-size: 31vw; }
  .hero-lead { font-size: 14px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .intro-facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .footer-info { grid-template-columns: 1fr; }
  .gallery-overlay { width: 82%; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Carte de fidélité (kit PixelCard) ---------- */
.pbc-loyalty { --pbc-bg: var(--paper-2); --pbc-title-font: var(--display); --pbc-body-font: var(--body); --pbc-accent: var(--ink); --pbc-accent-fg: var(--lime); }
.pbc-loyalty .pbc-title { font-style: italic; letter-spacing: -.03em; }
