/* ════════════════════════════════════════════════════════════════════════
   DESPIERTOS SHOP — Saint-Brieuc · Tattoo · Nail Art · Piercing
   Direction artistique : sombre · or · gothique · éditorial
   ════════════════════════════════════════════════════════════════════════ */

/* ─── 0. RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
::selection { background: var(--gold); color: var(--bg); }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

/* ─── 1. TOKENS ─── */
:root {
  --bg:           #0a0807;
  --bg-deep:      #050403;
  --surface:      #131110;
  --surface-2:    #1a1715;
  --ink:          #f0ebe2;
  --ink-dim:      #b8b1a4;
  --ink-muted:    #6b655d;
  --ink-faint:    #38332e;
  --gold:         #c8a14a;
  --gold-dim:     #9c7e36;
  --gold-deep:    #6e5723;
  --blood:        #b8331f;
  --line:         rgba(240, 235, 226, 0.10);
  --line-strong:  rgba(240, 235, 226, 0.22);
  --gold-line:    rgba(200, 161, 74, 0.30);

  --gothic:   'Pirata One', 'Times New Roman', serif;
  --serif:    'Fraunces', 'Times New Roman', serif;
  --sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:     'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad-x:    clamp(20px, 4vw, 80px);

  --ease:        cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── 1b. LIGHT THEME ─── */
[data-theme="light"] {
  --bg:           #ece5d2;
  --bg-deep:      #ddd4bd;
  --surface:      #f4efe1;
  --surface-2:    #e6dfca;
  --ink:          #1a1410;
  --ink-dim:      #4a4136;
  --ink-muted:    #7a7165;
  --ink-faint:    #b3a991;
  --gold:         #8a6a26;
  --gold-dim:     #5e4815;
  --gold-deep:    #3d3010;
  --line:         rgba(26, 20, 16, 0.14);
  --line-strong:  rgba(26, 20, 16, 0.28);
  --gold-line:    rgba(138, 106, 38, 0.35);
}
[data-theme="light"] .vignette { background: radial-gradient(ellipse at center, transparent 60%, rgba(70,55,30,0.18) 100%); }
[data-theme="light"] .grain { mix-blend-mode: multiply; opacity: 0.10; }
[data-theme="light"] .hero__bg-img { opacity: 0.55; filter: grayscale(0.15) contrast(1.05) brightness(1.0) saturate(0.95); }
[data-theme="light"] .hero__bg-veil { background: radial-gradient(ellipse 90% 70% at 30% 30%, transparent 0%, var(--bg) 78%), linear-gradient(180deg, transparent 0%, var(--bg) 95%); }
[data-theme="light"] .card__media img,
[data-theme="light"] .member__media img,
[data-theme="light"] .atelier__media img,
[data-theme="light"] .tile img {
  filter: grayscale(0.1) contrast(1.04) brightness(1) saturate(1);
}
[data-theme="light"] .nav { background: linear-gradient(180deg, rgba(236,229,210,0.92) 0%, rgba(236,229,210,0) 100%); }
[data-theme="light"] .nav.is-stuck { background: rgba(236,229,210,0.85); }
[data-theme="light"] .nav__logo { filter: brightness(0.95) contrast(1.05); }
[data-theme="light"] .cursor { mix-blend-mode: difference; }
[data-theme="light"] .marquee { background: linear-gradient(90deg, var(--bg-deep), var(--bg) 50%, var(--bg-deep)); }
[data-theme="light"] .footer { background: var(--bg-deep); }
[data-theme="light"] .footer__massive { text-shadow: 0 0 60px rgba(138,106,38,0.10); }
[data-theme="light"] .review { background: var(--surface); }
[data-theme="light"] .review:hover { background: var(--surface-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ─── 2. BASE ─── */
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.5; letter-spacing: 0.005em; overflow-x: hidden; }
body { min-height: 100vh; cursor: none; }
body.no-scroll { overflow: hidden; }
@media (max-width: 900px) { body { cursor: auto; } }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); font-weight: 400; }
em { font-style: italic; font-family: var(--serif); font-weight: 300; color: var(--gold); }

/* ─── 3. GRAIN + VIGNETTE ─── */
.grain  { position: fixed; inset: 0; z-index: 9999; pointer-events: none; filter: url(#grain); opacity: 0.18; mix-blend-mode: overlay; }
.vignette { position: fixed; inset: 0; z-index: 9998; pointer-events: none; background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%); }

/* ─── 4. CURSOR ─── */
.cursor { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; mix-blend-mode: difference; transform: translate3d(-100px, -100px, 0); }
.cursor__dot { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; background: #f0ebe2; border-radius: 50%; transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out); }
.cursor__ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border: 1px solid rgba(240,235,226,0.45); border-radius: 50%; transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out), left 0.5s var(--ease-out), top 0.5s var(--ease-out), border-color 0.4s var(--ease), border-width 0.3s var(--ease); }
.cursor__label { position: absolute; left: 22px; top: -10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out); }
.cursor.is-link .cursor__ring  { width: 80px; height: 80px; left: -40px; top: -40px; border-color: rgba(240,235,226,0.95); border-width: 1.4px; }
.cursor.is-text .cursor__ring  { width: 4px; height: 30px; left: -2px; top: -15px; border-radius: 1px; border-color: rgba(240,235,226,0.85); }
.cursor.is-text .cursor__dot   { opacity: 0; }
.cursor.has-label .cursor__label { opacity: 1; transform: translateX(0); }
.cursor.is-press .cursor__ring { width: 48px; height: 48px; left: -24px; top: -24px; border-width: 1.5px; }
@media (max-width: 900px) { .cursor { display: none; } }

/* ─── 5. LOADER ─── */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg-deep); display: grid; place-items: center; transition: clip-path 1.2s var(--ease), opacity 0.3s 1.0s ease; clip-path: inset(0 0 0 0); }
body.is-ready .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
body.is-ready .loader__brand .loader__char,
body.is-ready .loader__meta,
body.is-ready .loader__line { opacity: 0; transform: translateY(-12px); transition: 0.5s var(--ease); }
.loader__inner { width: min(720px, 88vw); display: grid; gap: 28px; }
.loader__brand { font-family: var(--gothic); font-weight: 400; font-size: clamp(56px, 10vw, 132px); letter-spacing: 0.01em; line-height: 0.9; display: flex; gap: 0.01em; color: var(--gold); text-shadow: 0 0 40px rgba(200,161,74,0.25); }
.loader__char { display: inline-block; opacity: 0; transform: translateY(40px); animation: charIn 0.7s var(--ease) forwards; }
.loader__char:nth-child(1) { animation-delay: 0.05s; }
.loader__char:nth-child(2) { animation-delay: 0.10s; }
.loader__char:nth-child(3) { animation-delay: 0.15s; }
.loader__char:nth-child(4) { animation-delay: 0.20s; }
.loader__char:nth-child(5) { animation-delay: 0.25s; }
.loader__char:nth-child(6) { animation-delay: 0.30s; }
.loader__char:nth-child(7) { animation-delay: 0.35s; }
.loader__char:nth-child(8) { animation-delay: 0.40s; }
.loader__char:nth-child(9) { animation-delay: 0.45s; }
.loader__char:nth-child(10){ animation-delay: 0.50s; }
@keyframes charIn { to { opacity: 1; transform: translateY(0); } }
.loader__line { height: 1px; background: rgba(240,235,226,0.12); position: relative; overflow: hidden; }
.loader__bar { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gold); transition: width 0.4s var(--ease); }
.loader__meta { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-dim); }
.loader__count { color: var(--gold); font-variant-numeric: tabular-nums; }

/* ─── 6. RAILS ─── */
.rail { position: fixed; top: 0; bottom: 0; width: 26px; z-index: 50; display: grid; place-items: center; pointer-events: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(200,161,74,0.025) 50%, transparent); }
.rail--left { left: 0; border-left: none; }
.rail--right { right: 0; border-right: none; }
.rail__txt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.4em; color: var(--ink-muted); writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.rail--right .rail__txt { transform: rotate(0deg); writing-mode: vertical-rl; color: var(--gold-dim); }
@media (max-width: 900px) { .rail { display: none; } }

/* ─── 7. NAV ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 14px var(--pad-x); background: linear-gradient(180deg, rgba(10,8,7,0.92) 0%, rgba(10,8,7,0) 100%); transition: background 0.4s var(--ease), padding 0.5s var(--ease); margin-left: 26px; margin-right: 26px; }
.nav.is-stuck { background: rgba(10,8,7,0.85); backdrop-filter: blur(14px) saturate(120%); padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.nav__inner { display: grid; grid-template-columns: auto 1fr auto auto auto auto; gap: 16px; align-items: center; }
.nav__brand { display: flex; align-items: center; gap: 14px; line-height: 1; position: relative; }
.nav__logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  filter: brightness(1.15) contrast(1.05);
  padding: 3px;
  background: var(--bg-deep);
  border: 1.5px solid var(--gold);
  box-shadow:
    0 0 0 1px var(--gold-line) inset,
    0 0 28px rgba(200,161,74,0.25),
    0 6px 22px rgba(0,0,0,0.5);
  animation: logoPulse 3.6s ease-in-out infinite, logoFloat 5s ease-in-out infinite;
  transition: transform 0.6s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform, box-shadow;
}
.nav__brand:hover .nav__logo {
  transform: rotate(360deg) scale(1.06);
  box-shadow:
    0 0 0 1px var(--gold-line) inset,
    0 0 44px rgba(200,161,74,0.55),
    0 6px 22px rgba(0,0,0,0.5);
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--gold-line) inset, 0 0 24px rgba(200,161,74,0.22), 0 6px 22px rgba(0,0,0,0.5); }
  50%      { box-shadow: 0 0 0 1px var(--gold-line) inset, 0 0 44px rgba(200,161,74,0.45), 0 6px 22px rgba(0,0,0,0.5); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
[data-theme="light"] .nav__logo { background: var(--bg); box-shadow: 0 0 0 1px var(--gold-line) inset, 0 0 24px rgba(138,106,38,0.22), 0 6px 18px rgba(70,55,30,0.18); }

.nav.is-stuck .nav__logo { width: 46px; height: 46px; }

.nav__word { font-family: var(--gothic); font-size: 26px; color: var(--ink); letter-spacing: 0.02em; transition: color 0.4s var(--ease); }
.nav__brand:hover .nav__word { color: var(--gold); }
.nav__sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.32em; color: var(--gold); text-transform: uppercase; }

@media (max-width: 700px) {
  .nav__logo { width: 44px; height: 44px; padding: 2px; }
  .nav__word { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__logo { animation: none; }
}
.nav__links { display: flex; gap: clamp(14px, 2vw, 28px); justify-content: center; }
.nav__links a { position: relative; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-dim); text-transform: uppercase; padding: 6px 2px; transition: color 0.35s var(--ease); }
.nav__links a::before { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.45s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::before, .nav__links a.is-active::before { width: 100%; }

.nav__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; padding: 12px 18px; border: 1px solid var(--gold); border-radius: 999px; color: var(--ink); transition: background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease-out); will-change: transform; }
.nav__cta em { font-style: normal; font-family: var(--sans); color: var(--gold); transition: transform 0.5s var(--ease); }
.nav__cta:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.nav__cta:hover em { color: var(--bg); transform: translate(4px, -4px); }

.nav__burger { display: none; width: 44px; height: 44px; padding: 0; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), top 0.4s var(--ease); }
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 28px; }
.nav__burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1280px) { .nav__links, .nav__cta { display: none; } .nav__burger { display: block; } .nav__inner { grid-template-columns: auto 1fr auto; } }
@media (max-width: 700px)  { .nav { margin: 0; padding: 10px 14px; } .nav__sub { display: none; } .nav__word { font-size: 19px; } }

/* ─── 7b. MOBILE MENU ─── */
.mobile-menu { position: fixed; inset: 0; z-index: 75; background: var(--bg-deep); padding: 100px var(--pad-x) 40px; transform: translateY(-100%); transition: transform 0.7s var(--ease); display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; }
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.mobile-menu__inner a { font-family: var(--gothic); font-size: clamp(36px, 9vw, 64px); color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--line); transition: color 0.4s var(--ease), padding 0.4s var(--ease); }
.mobile-menu__inner a:hover { color: var(--gold); padding-left: 12px; }
.mobile-menu__cta { color: var(--gold) !important; }
.mobile-menu__tools { display: flex; gap: 10px; padding-top: 32px; border-top: 1px solid var(--line); align-items: center; }
.mobile-menu__tool { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 14px; min-width: 44px; border: 1px solid var(--gold-line); border-radius: 999px; color: var(--ink-dim); background: transparent; cursor: pointer; transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease); position: relative; }
.mobile-menu__tool:hover { color: var(--gold); border-color: var(--gold); background: rgba(200,161,74,0.08); }
.mobile-menu__tool svg { width: 17px; height: 17px; }
.mobile-menu__tool--lang { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; gap: 3px; }
.mobile-menu__tool--lang .lang-sep { color: var(--ink-faint); }
.mobile-menu__tool--lang.is-en .lang-fr { color: var(--ink-faint); }
.mobile-menu__tool--lang.is-en .lang-en { color: var(--gold); }
.mobile-menu__tool--lang:not(.is-en) .lang-fr { color: var(--gold); }
.mobile-menu__tool--lang:not(.is-en) .lang-en { color: var(--ink-faint); }
.mobile-menu__tool .nav__pill-sym--sun { opacity: 0; transform: scale(0.55) rotate(-90deg); }
[data-theme="light"] .mobile-menu__tool .nav__pill-sym--moon { opacity: 0; transform: scale(0.55) rotate(90deg); }
[data-theme="light"] .mobile-menu__tool .nav__pill-sym--sun  { opacity: 1; transform: scale(1) rotate(0); }

/* ─── 7c. NAV PILLS (theme + lang separate) ─── */
.nav__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: color 0.4s var(--ease), background 0.4s var(--ease), border-color 0.45s var(--ease);
}
.nav__pill:hover { color: var(--gold); border-color: var(--gold); background: rgba(200,161,74,0.10); }
.nav__pill svg { width: 16px; height: 16px; stroke-width: 1.6; }

.nav__pill--theme { width: 38px; }
.nav__pill-sym { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.nav__pill-sym--sun { opacity: 0; transform: scale(0.55) rotate(-90deg); }
[data-theme="light"] .nav__pill-sym--moon { opacity: 0; transform: scale(0.55) rotate(90deg); }
[data-theme="light"] .nav__pill-sym--sun  { opacity: 1; transform: scale(1) rotate(0); }

.nav__pill--lang {
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__pill--lang { font-weight: 500; }
.nav__pill--lang span { transition: color 0.35s var(--ease); }
.nav__pill--lang .lang-sep { color: var(--ink-muted); margin: 0 2px; font-weight: 400; }
.nav__pill--lang.is-en .lang-fr { color: var(--ink-dim); }
.nav__pill--lang.is-en .lang-en { color: var(--gold); }
.nav__pill--lang:not(.is-en) .lang-fr { color: var(--gold); }
.nav__pill--lang:not(.is-en) .lang-en { color: var(--ink-dim); }

@media (max-width: 1280px) { .nav__pill { display: none; } }

/* ─── 7d. NAV INSTAGRAM PILL ─── */
.nav__pill--insta { width: 38px; }
.nav__pill--insta svg { width: 16px; height: 16px; }

/* ─── 7e. RIGHT FAB STACK (insta + music) ─── */
.rfab {
  position: fixed;
  right: 0; top: 50%;
  transform: translate(0, -50%);
  z-index: 65;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rfab__btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 60px;
  padding: 18px 0 22px;
  background: var(--bg-deep);
  border: 1.5px solid var(--gold);
  border-right: none;
  border-radius: 32px 0 0 32px;
  color: var(--gold);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow: 0 0 36px rgba(200,161,74,0.16), inset 0 0 0 0 transparent;
}
[data-theme="light"] .rfab__btn { background: var(--bg); }
.rfab__btn:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translate(-6px, 0);
  box-shadow: 0 0 60px rgba(200,161,74,0.45);
}
.rfab__icon { position: relative; width: 26px; height: 26px; display: grid; place-items: center; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.rfab__icon svg { width: 24px; height: 24px; }
.rfab__lbl {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: currentColor;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* music pulse glow when idle */
.rfab__pulse {
  position: absolute; inset: -4px -4px -4px -4px;
  border-radius: 36px 0 0 36px;
  border: 1.5px solid var(--gold);
  border-right: none;
  pointer-events: none;
  opacity: 0;
  animation: rfabPulse 2.6s var(--ease) infinite;
}
@keyframes rfabPulse {
  0%   { opacity: 0.55; transform: scale(0.94); }
  70%  { opacity: 0;    transform: scale(1.12); }
  100% { opacity: 0;    transform: scale(1.12); }
}
.rfab__btn--music.is-playing .rfab__pulse,
.rfab__btn--music.is-disabled .rfab__pulse { display: none; }

/* music bars */
.rfab__bars {
  position: absolute; top: 21px;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  width: 26px; height: 26px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.rfab__bars i { display: block; width: 3px; height: 5px; background: currentColor; border-radius: 1.5px; }
.rfab__btn--music.is-playing { background: var(--gold); color: var(--bg); }
.rfab__btn--music.is-playing .rfab__icon--mute { opacity: 0; transform: scale(0.5); }
.rfab__btn--music.is-playing .rfab__bars { opacity: 1; }
.rfab__btn--music.is-playing .rfab__bars i { animation: rfabBars 0.95s ease-in-out infinite; }
.rfab__btn--music.is-playing .rfab__bars i:nth-child(2) { animation-delay: 0.12s; }
.rfab__btn--music.is-playing .rfab__bars i:nth-child(3) { animation-delay: 0.24s; }
.rfab__btn--music.is-playing .rfab__bars i:nth-child(4) { animation-delay: 0.36s; }
@keyframes rfabBars { 0%,100% { height: 5px; } 50% { height: 18px; } }

.rfab__btn--music.is-disabled { opacity: 0.4; cursor: not-allowed; border-style: dashed; }
.rfab__btn--music.is-disabled:hover { background: var(--bg-deep); color: var(--gold); transform: translate(0, 0); box-shadow: 0 0 36px rgba(200,161,74,0.16); }

@media (max-width: 700px) {
  .rfab { gap: 8px; }
  .rfab__btn { width: 46px; padding: 12px 0 16px; gap: 8px; border-radius: 24px 0 0 24px; }
  .rfab__icon, .rfab__icon svg { width: 18px; height: 18px; }
  .rfab__lbl { font-size: 8.5px; letter-spacing: 0.24em; }
}

/* ─── 7f. CFAB (WhatsApp + Phone bottom-right) ─── */
.cfab {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 64;
  display: flex; flex-direction: column; gap: 12px;
}
.cfab__btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  text-decoration: none;
  background: var(--bg-deep);
  border: 1.5px solid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
[data-theme="light"] .cfab__btn { background: var(--bg); }
.cfab__btn svg { width: 24px; height: 24px; position: relative; z-index: 1; transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.cfab__btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.cfab__btn:hover { transform: translateY(-3px) scale(1.06); }
.cfab__btn:hover::before { transform: scale(1); }

.cfab__btn--whatsapp { color: #25D366; border-color: #25D366; }
.cfab__btn--whatsapp::before { background: #25D366; }
.cfab__btn--whatsapp:hover svg { color: #0a0807; }
.cfab__btn--whatsapp:hover { box-shadow: 0 14px 40px rgba(37,211,102,0.45); }

.cfab__btn--phone { color: var(--gold); border-color: var(--gold); }
.cfab__btn--phone::before { background: var(--gold); }
.cfab__btn--phone:hover svg { color: var(--bg-deep); transform: rotate(-12deg); }
.cfab__btn--phone:hover { box-shadow: 0 14px 40px rgba(200,161,74,0.45); }

@media (max-width: 700px) {
  .cfab { right: 14px; bottom: 14px; gap: 10px; }
  .cfab__btn { width: 48px; height: 48px; }
  .cfab__btn svg { width: 20px; height: 20px; }
}

/* ─── 7h. FAB ANIMATIONS ─── */

/* Entrance — slide-in from right, staggered after loader */
@keyframes fabIn {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
.rfab__btn--insta    { animation: fabIn 0.9s var(--ease) backwards 1.50s, instaGlow 6.5s ease-in-out infinite 2.6s; }
.rfab__btn--music    { animation: fabIn 0.9s var(--ease) backwards 1.65s; }
.cfab__btn--whatsapp { animation: fabIn 0.9s var(--ease) backwards 1.85s, waPing 2.4s var(--ease) infinite 2.8s; }
.cfab__btn--phone    { animation: fabIn 0.9s var(--ease) backwards 2.00s, phonePulse 2.6s var(--ease) infinite 3.0s; }

/* Instagram — gradient glow pulse (yellow → pink → purple) */
@keyframes instaGlow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  25%      { filter: drop-shadow(0 0 14px rgba(249,206,52,0.45)); }
  50%      { filter: drop-shadow(0 0 14px rgba(238,42,123,0.50)); }
  75%      { filter: drop-shadow(0 0 14px rgba(98,40,215,0.50)); }
}
.rfab__btn--insta:hover { animation-play-state: paused; }
.rfab__btn--insta:hover .rfab__icon svg { animation: instaSwing 0.8s var(--ease); }
@keyframes instaSwing {
  0%   { transform: rotate(0); }
  35%  { transform: rotate(-15deg) scale(1.1); }
  65%  { transform: rotate(15deg) scale(1.1); }
  100% { transform: rotate(0); }
}

/* Music — periodic icon wiggle + subtle scale breath */
.rfab__btn--music .rfab__icon--mute svg { animation: musicWiggle 5s ease-in-out infinite 2s; transform-origin: center; }
@keyframes musicWiggle {
  0%, 86%, 100% { transform: scale(1) rotate(0); }
  90%           { transform: scale(1.12) rotate(-8deg); }
  94%           { transform: scale(1.08) rotate(8deg); }
}

/* WhatsApp — green ping ring */
@keyframes waPing {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55), 0 12px 32px rgba(0,0,0,0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0),    0 12px 32px rgba(0,0,0,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0),       0 12px 32px rgba(0,0,0,0.45); }
}
.cfab__btn--whatsapp:hover { animation: none; }
.cfab__btn--whatsapp:hover svg { animation: waBounce 0.5s var(--ease); }
@keyframes waBounce {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}

/* Phone — gold pulse + periodic ringing rotation */
@keyframes phonePulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,161,74,0.45), 0 12px 32px rgba(0,0,0,0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(200,161,74,0),  0 12px 32px rgba(0,0,0,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(200,161,74,0),     0 12px 32px rgba(0,0,0,0.45); }
}
.cfab__btn--phone:hover { animation: none; }
.cfab__btn--phone svg { animation: phoneRing 7s ease-in-out infinite 4s; transform-origin: center; }
@keyframes phoneRing {
  0%, 84%, 100% { transform: rotate(0); }
  86%           { transform: rotate(-14deg); }
  88%           { transform: rotate(14deg); }
  90%           { transform: rotate(-10deg); }
  92%           { transform: rotate(10deg); }
  94%           { transform: rotate(-6deg); }
  96%           { transform: rotate(6deg); }
  98%           { transform: rotate(0); }
}
.cfab__btn--phone:hover svg { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .rfab__btn--insta, .rfab__btn--music,
  .cfab__btn--whatsapp, .cfab__btn--phone,
  .rfab__btn--music .rfab__icon--mute svg,
  .cfab__btn--phone svg {
    animation: none !important;
  }
}

/* ─── 7g. FOOTER INSTAGRAM ─── */
.footer__insta { display: inline-flex; align-items: center; gap: 12px; }
.footer__insta-icon { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.5s var(--ease); }
.footer__insta:hover .footer__insta-icon { transform: rotate(-6deg) scale(1.1); }

/* ─── 8. UTILS ─── */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-dim); vertical-align: middle; margin-right: 8px; }
.dot--live { background: var(--gold); box-shadow: 0 0 0 0 var(--gold); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,161,74,0.55); }
  50%      { box-shadow: 0 0 0 8px rgba(200,161,74,0); }
}

/* ─── 9. HERO ─── */
.hero { position: relative; min-height: 100svh; padding: clamp(110px, 14vh, 180px) var(--pad-x) clamp(40px, 6vh, 80px); display: flex; flex-direction: column; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: -60px 0 0 0; z-index: 0; pointer-events: none; }
.hero__bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.42; filter: grayscale(0.35) contrast(1.18) brightness(0.55) saturate(0.75); will-change: transform; }
.hero__bg-veil { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 70% at 30% 30%, transparent 0%, var(--bg) 75%), linear-gradient(180deg, transparent 0%, var(--bg) 95%); }
.hero__grid { position: relative; z-index: 1; flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: clamp(24px, 4vh, 60px); }

.hero__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-dim); text-transform: uppercase; padding-top: 60px; border-top: 1px solid var(--line); }
.hero__index { letter-spacing: 0.18em; }
.hero__index .mono { font-size: 11px; color: var(--gold); }

.hero__title { font-family: var(--serif); font-weight: 200; font-variation-settings: 'opsz' 144; font-size: clamp(72px, 14vw, 240px); line-height: 0.85; letter-spacing: -0.04em; color: var(--ink); align-self: center; position: relative; }
.hero__title .line { display: block; overflow: hidden; position: relative; }
.hero__title .word { display: inline-block; transform: translateY(110%); animation: wordRise 1.4s var(--ease) forwards; }
.hero__title .line:nth-child(1) .word { animation-delay: 0.4s; }
.hero__title .line:nth-child(2) .word { animation-delay: 0.55s; }
.hero__title .line:nth-child(4) .word { animation-delay: 0.85s; }
.hero__title .line--gothic { font-family: var(--gothic); font-weight: 400; font-size: clamp(86px, 17vw, 300px); letter-spacing: 0.005em; line-height: 0.95; color: var(--gold); text-shadow: 0 0 60px rgba(200,161,74,0.18); }
.hero__title .line--shift { padding-left: clamp(40px, 8vw, 160px); font-style: italic; font-weight: 300; }
.hero__title .word--italic { font-style: italic; font-weight: 300; }
.hero__title .word--mono { font-family: var(--mono); font-size: 0.4em; vertical-align: 0.3em; letter-spacing: 0; font-weight: 400; color: var(--gold); }
.hero__title .line--small { font-size: clamp(18px, 2vw, 30px); font-weight: 300; letter-spacing: 0.04em; margin-top: clamp(12px, 2vh, 24px); color: var(--ink-dim); font-style: normal; }
.hero__title .line--rule { height: 1px; }
.hero__title .rule { display: block; height: 1px; background: var(--gold-line); width: 0; animation: ruleIn 1.4s 0.7s var(--ease) forwards; }
@keyframes ruleIn { to { width: 100%; } }
.hero__sup { font-family: var(--mono); font-size: 12px; font-weight: 400; vertical-align: top; margin-left: 0.4em; color: var(--gold); letter-spacing: 0.2em; }
@keyframes wordRise { to { transform: translateY(0); } }

.hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 80px); align-items: end; padding-bottom: 0; }
.hero__lede { font-family: var(--serif); font-size: clamp(15px, 1.4vw, 19px); font-weight: 300; line-height: 1.55; max-width: 50ch; color: var(--ink-dim); opacity: 0; animation: fadeUp 1s 1.2s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s 1.4s var(--ease) forwards; }

@media (max-width: 800px) {
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__top { padding-top: 30px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__title .line--shift { padding-left: 16px; }
}

/* boutons */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 999px; position: relative; overflow: hidden; isolation: isolate; transition: color 0.45s var(--ease); will-change: transform; cursor: pointer; }
.btn .btn__txt { position: relative; z-index: 2; }
.btn .btn__arrow { position: relative; z-index: 2; transition: transform 0.5s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; border-radius: 999px; z-index: 0; transition: transform 0.6s var(--ease); }
.btn--ghost { border: 1px solid var(--gold-line); color: var(--ink); }
.btn--ghost::before { background: var(--ink); transform: translateY(101%); }
.btn--ghost:hover { color: var(--bg); }
.btn--ghost:hover::before { transform: translateY(0); }
.btn--ghost:hover .btn__arrow { transform: translateY(4px); }
.btn--solid { background: var(--gold); color: var(--bg); }
.btn--solid::before { background: var(--ink); transform: translateY(101%); }
.btn--solid:hover { color: var(--bg); }
.btn--solid:hover::before { transform: translateY(0); }
.btn--solid:hover .btn__arrow { transform: translate(4px, -4px); }
.btn--lg { padding: 22px 36px; font-size: 13px; }

.hero__scroll { position: absolute; bottom: 16px; left: var(--pad-x); display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--ink-muted); z-index: 2; }
.hero__scroll-line { width: 80px; height: 1px; background: linear-gradient(90deg, var(--ink-faint), var(--gold), var(--ink-faint)); background-size: 200% 100%; animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ─── 10. MARQUEE ─── */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) 0; overflow: hidden; background: linear-gradient(90deg, var(--bg-deep), var(--bg) 50%, var(--bg-deep)); }
.marquee__track { display: inline-flex; align-items: center; gap: 36px; white-space: nowrap; animation: marquee 70s linear infinite; font-family: var(--gothic); font-weight: 400; font-size: clamp(36px, 6vw, 96px); letter-spacing: 0.01em; color: var(--ink); }
.marquee__item:nth-child(4n+1) { color: var(--gold); }
.marquee__sep { font-size: 0.4em; color: var(--gold); transform: translateY(-0.2em); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── 11. SECTIONS ─── */
.section { padding: clamp(80px, 14vh, 180px) var(--pad-x); border-bottom: 1px solid var(--line); position: relative; }
.section__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: clamp(24px, 4vh, 40px); margin-bottom: clamp(32px, 5vh, 60px); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-dim); text-transform: uppercase; }
.section__head .section__index { color: var(--gold); }
.section__title { font-family: var(--serif); font-weight: 200; font-variation-settings: 'opsz' 144; font-size: clamp(48px, 9vw, 160px); line-height: 0.92; letter-spacing: -0.04em; color: var(--ink); margin-bottom: clamp(40px, 6vh, 80px); }
.section__title--xl { font-size: clamp(64px, 14vw, 240px); }
.section__title .line { display: block; overflow: hidden; }
.section__title [data-split] { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); margin-right: 0.18em; }
.section__title.is-in [data-split] { transform: translateY(0); }
.section__title [data-split]:nth-child(2) { transition-delay: 0.06s; }
.section__title [data-split]:nth-child(3) { transition-delay: 0.12s; }
.section__title [data-split]:nth-child(4) { transition-delay: 0.18s; }
.section__title .word--italic { font-style: italic; color: var(--gold); }

/* ─── 12. MANIFESTE ─── */
.section--manifeste { padding-top: clamp(120px, 18vh, 220px); padding-bottom: clamp(120px, 18vh, 220px); }
.manifeste__grid { display: grid; grid-template-columns: 1fr clamp(180px, 16vw, 240px); gap: clamp(40px, 6vw, 120px); align-items: end; }
.manifeste__txt { font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 60; font-size: clamp(24px, 3.4vw, 56px); line-height: 1.18; letter-spacing: -0.015em; color: var(--ink); max-width: 24ch; }
.manifeste__txt em { font-style: italic; color: var(--gold); }
.manifeste__txt .word { display: inline-block; opacity: 0; transform: translateY(20px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.manifeste__txt.is-in .word { opacity: 1; transform: translateY(0); filter: blur(0); }
.manifeste__signature { display: grid; gap: 16px; color: var(--ink-dim); justify-items: end; text-align: right; }
.manifeste__mask { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); padding: 4px; background: var(--bg-deep); box-shadow: 0 0 0 1px var(--gold-line) inset, 0 12px 28px rgba(0,0,0,0.4); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.manifeste__signature .mono { line-height: 1.5; color: var(--gold-dim); }

@media (max-width: 900px) {
  .manifeste__grid { grid-template-columns: 1fr; }
  .manifeste__signature { justify-self: end; }
}

/* ─── 13. ÉQUIPE ─── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 40px); }
.member { display: grid; gap: 18px; }
.member__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); border: 1px solid var(--gold-line); box-shadow: 0 0 0 6px var(--bg-deep), 0 16px 36px rgba(0,0,0,0.45); transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.member:hover .member__media { border-color: var(--gold); box-shadow: 0 0 0 6px var(--bg-deep), 0 18px 50px rgba(200,161,74,0.28); }
[data-theme="light"] .member__media { box-shadow: 0 0 0 6px var(--bg-deep), 0 12px 28px rgba(70,55,30,0.18); }
[data-theme="light"] .member:hover .member__media { box-shadow: 0 0 0 6px var(--bg-deep), 0 16px 36px rgba(138,106,38,0.28); }
.member__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) contrast(1.12) brightness(0.85); transform: scale(1.05); transition: transform 1.4s var(--ease), filter 0.8s var(--ease); will-change: transform; }
.member:hover .member__media img { transform: scale(1.12); filter: grayscale(0.1) contrast(1.18) brightness(1); }
.member__num { position: absolute; top: 14px; left: 14px; color: var(--gold); mix-blend-mode: difference; font-size: 10px; }
.member__meta { display: grid; gap: 6px; }
.member__name { font-family: var(--gothic); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; letter-spacing: 0.005em; color: var(--ink); }
.member__name em { color: var(--gold); }
.member__role { color: var(--gold-dim); font-size: 10px; }
.member p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.55; max-width: 32ch; }

@media (max-width: 1100px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .team { grid-template-columns: 1fr; } }

/* ─── 14. TRAVAIL — HORIZONTAL SCROLL ─── */
.section--travail { padding-right: 0; overflow: hidden; }
.section--travail .section__head { padding-right: var(--pad-x); }
.section--travail .section__title { padding-right: var(--pad-x); }

.hscroll { position: relative; width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.is-grabbing { cursor: grabbing; }
.hscroll__track { display: inline-flex; gap: clamp(20px, 3vw, 56px); padding: 0 var(--pad-x); }

.card { flex: 0 0 clamp(280px, 28vw, 420px); display: grid; gap: 18px; transform: translateY(40px); opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.section--travail.is-in .card { opacity: 1; transform: translateY(0); }
.section--travail.is-in .card:nth-child(2) { transition-delay: 0.06s; }
.section--travail.is-in .card:nth-child(3) { transition-delay: 0.12s; }
.section--travail.is-in .card:nth-child(4) { transition-delay: 0.18s; }
.section--travail.is-in .card:nth-child(5) { transition-delay: 0.24s; }
.section--travail.is-in .card:nth-child(6) { transition-delay: 0.30s; }
.section--travail.is-in .card:nth-child(7) { transition-delay: 0.36s; }
.section--travail.is-in .card:nth-child(8) { transition-delay: 0.42s; }
.section--travail.is-in .card:nth-child(9) { transition-delay: 0.48s; }
.section--travail.is-in .card:nth-child(10) { transition-delay: 0.54s; }

.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); border: 1px solid var(--gold-line); box-shadow: 0 0 0 6px var(--bg-deep), 0 16px 36px rgba(0,0,0,0.45); transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }
.card:hover .card__media { border-color: var(--gold); box-shadow: 0 0 0 6px var(--bg-deep), 0 18px 50px rgba(200,161,74,0.28); }
[data-theme="light"] .card__media { box-shadow: 0 0 0 6px var(--bg-deep), 0 12px 28px rgba(70,55,30,0.18); }
[data-theme="light"] .card:hover .card__media { box-shadow: 0 0 0 6px var(--bg-deep), 0 16px 36px rgba(138,106,38,0.28); }
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.12) brightness(0.92); transform: scale(1.05); transition: transform 1.4s var(--ease), filter 0.8s var(--ease); will-change: transform; }
.card:hover .card__media img { transform: scale(1.1); filter: grayscale(0.05) contrast(1.18) brightness(1); }
.card__num { position: absolute; top: 14px; left: 14px; color: var(--gold); mix-blend-mode: difference; font-size: 10px; }
.card__meta { display: flex; flex-direction: column; gap: 6px; }
.card__title { font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 36; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.card__title em { color: var(--gold); }

.hscroll__hint { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 4vh, 48px); padding: 0 var(--pad-x); }
.hscroll__progress { flex: 1; max-width: 240px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hscroll__progress i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--gold); transition: width 0.15s linear; }

/* ─── 15. SERVICES ─── */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(40px, 6vh, 72px); }
.service { background: var(--bg); padding: clamp(28px, 3vw, 44px); position: relative; display: grid; gap: 16px; align-content: start; min-height: clamp(280px, 36vh, 360px); opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease), background 0.6s var(--ease); }
.service.is-in { opacity: 1; transform: translateY(0); }
.service:nth-child(2).is-in { transition-delay: 0.1s; }
.service:nth-child(3).is-in { transition-delay: 0.2s; }
.service:nth-child(4).is-in { transition-delay: 0.3s; }
.service:hover { background: var(--surface); }
.service__num { color: var(--gold); }
.service__title { font-family: var(--gothic); font-weight: 400; font-size: clamp(34px, 3.4vw, 56px); line-height: 1.05; letter-spacing: 0.005em; color: var(--ink); transition: color 0.4s var(--ease); }
.service:hover .service__title { color: var(--gold); }
.service p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.6; max-width: 36ch; }
.service__price { color: var(--gold); margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--gold-line); font-size: 12px; }

@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .services { grid-template-columns: 1fr; } }

/* ─── 16. AVIS ─── */
.rating { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(40px, 6vh, 72px); border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vh, 72px); }
.rating__big { display: grid; gap: 4px; }
.rating__num { font-family: var(--gothic); font-size: clamp(80px, 14vw, 220px); line-height: 0.85; color: var(--gold); letter-spacing: 0.005em; }
.rating__stars { font-size: clamp(18px, 1.8vw, 28px); color: var(--gold); letter-spacing: 0.1em; }
.rating__lede { font-family: var(--serif); font-size: clamp(16px, 1.5vw, 22px); font-weight: 300; line-height: 1.5; color: var(--ink-dim); max-width: 36ch; padding-bottom: 12px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.review { background: var(--surface); padding: clamp(24px, 2vw, 36px); border: 1px solid var(--line); display: grid; gap: 18px; transition: border-color 0.4s var(--ease), background 0.4s var(--ease); }
.review:hover { border-color: var(--gold-line); background: var(--surface-2); }
.review blockquote { font-family: var(--serif); font-size: clamp(15px, 1.2vw, 17px); font-weight: 300; line-height: 1.5; color: var(--ink); font-style: italic; }
.review figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption span:first-child { font-family: var(--gothic); font-size: 18px; color: var(--ink); }
.review figcaption .mono { color: var(--gold); }

@media (max-width: 1000px) { .reviews { grid-template-columns: 1fr 1fr; } .rating { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 600px)  { .reviews { grid-template-columns: 1fr; } }

/* ─── 17. ATELIER / LIEU ─── */
.atelier { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.atelier__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border: 1px solid var(--gold-line); box-shadow: 0 0 0 8px var(--bg-deep), 0 24px 56px rgba(0,0,0,0.5); }
[data-theme="light"] .atelier__media { box-shadow: 0 0 0 8px var(--bg-deep), 0 16px 36px rgba(70,55,30,0.20); }
.atelier__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.15) brightness(0.78); transform: scale(1.06); will-change: transform; }
.atelier__media figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--bg); padding: 8px 12px; font-size: 10px; color: var(--gold); }

[data-reveal-mask] { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease); }
[data-reveal-mask].is-in { clip-path: inset(0 0 0 0); }
[data-reveal-mask] img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
[data-reveal-mask].is-in img { transform: scale(1.06); }

.atelier__txt { padding-top: clamp(0px, 4vh, 40px); }
.atelier__lede { font-family: var(--serif); font-weight: 300; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-dim); max-width: 44ch; margin: clamp(28px, 4vh, 56px) 0 clamp(40px, 6vh, 56px); }
.atelier__data { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: clamp(28px, 4vh, 40px); }
.atelier__data > div { background: var(--bg); padding: 18px 20px; display: grid; gap: 4px; }
.atelier__data dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--gold-dim); text-transform: uppercase; }
.atelier__data dd { font-family: var(--serif); font-size: clamp(15px, 1.2vw, 18px); font-weight: 300; color: var(--ink); line-height: 1.4; }
.atelier__data dd a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.4s var(--ease); }
.atelier__data dd a:hover { border-bottom-color: var(--gold); }

@media (max-width: 900px) {
  .atelier { grid-template-columns: 1fr; }
  .atelier__data { grid-template-columns: 1fr; }
}

/* ─── 18. RÉSERVATION ─── */
.reservation { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.reservation__lede { font-family: var(--serif); font-weight: 300; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-dim); max-width: 44ch; margin-bottom: 32px; }
.reservation__legend { display: grid; gap: 10px; margin-bottom: 32px; }
.reservation__legend li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ink-dim); text-transform: uppercase; display: flex; align-items: center; }
.reservation__legend .dot { background: var(--gold); margin-right: 12px; }
.reservation__planity { width: fit-content; }

.form { display: grid; gap: clamp(20px, 3vh, 32px); border-top: 1px solid var(--line); padding-top: clamp(20px, 3vh, 32px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 32px); }
.field { display: grid; gap: 10px; position: relative; padding-bottom: 14px; }
.field--full { grid-column: 1 / -1; }
.field__label { color: var(--gold-dim); }
.field input, .field textarea, .field select { width: 100%; background: transparent; color: var(--ink); font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; padding: 4px 0; resize: vertical; }
.field select option { background: var(--bg); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); font-style: italic; }
.field__line { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.field__line::after { content: ''; position: absolute; left: 0; bottom: 0; height: 100%; width: 0; background: var(--gold); transition: width 0.6s var(--ease); }
.field:focus-within .field__line::after { width: 100%; }

.form__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: clamp(8px, 2vh, 16px); }
.form__count { color: var(--gold-dim); }
.form__success { font-family: var(--serif); font-size: clamp(16px, 1.4vw, 20px); color: var(--ink); padding: 18px 0; border-top: 1px solid var(--gold); }
.form__success .mono { color: var(--gold); margin-right: 8px; }

@media (max-width: 900px) {
  .reservation { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* ─── 19. FOOTER ─── */
.footer { background: var(--bg-deep); padding: clamp(60px, 10vh, 120px) var(--pad-x) clamp(28px, 4vh, 48px); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer__massive { font-family: var(--gothic); font-weight: 400; font-size: clamp(80px, 22vw, 380px); line-height: 0.95; letter-spacing: 0.005em; color: var(--gold); white-space: nowrap; margin: 0 calc(var(--pad-x) * -1) clamp(40px, 6vh, 80px); padding: 0 var(--pad-x); overflow: hidden; text-shadow: 0 0 80px rgba(200,161,74,0.15); }
.footer__massive [data-split-large] { display: inline-block; transform: translateY(80%); opacity: 0; transition: transform 1.6s var(--ease), opacity 1.4s var(--ease); }
.footer.is-in .footer__massive [data-split-large] { transform: translateY(0); opacity: 1; }

.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); padding: clamp(40px, 6vh, 80px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer__col { display: grid; gap: 14px; align-content: start; }
.footer__lbl { color: var(--gold-dim); }
.footer__big { font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); position: relative; display: inline-block; width: fit-content; transition: color 0.4s var(--ease); }
.footer__big::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.footer__big:hover { color: var(--gold); }
.footer__big:hover::after { width: 100%; }
.footer__big--mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; color: var(--ink-dim); }
.footer__addr { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--ink); }
.footer__status { display: inline-flex; align-items: center; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.footer__time { font-size: 11px; color: var(--gold-dim); letter-spacing: 0.2em; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: clamp(20px, 3vh, 32px); font-size: 10px; color: var(--ink-muted); }
.footer__base span:last-child { color: var(--gold); }

@media (max-width: 1000px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .footer__grid { grid-template-columns: 1fr; } }

/* ─── 20. REVEAL DEFAULTS ─── */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ─── 21. MOBILE FIXES ─── */
@media (max-width: 700px) {
  body { letter-spacing: 0; }
  .hero { padding-top: 90px; }
  .hero__title { font-size: clamp(54px, 14vw, 96px); }
  .hero__title .line--gothic { font-size: clamp(64px, 17vw, 120px); }
  .section { padding-left: 16px; padding-right: 16px; }
  .section--travail .section__head, .section--travail .section__title { padding-right: 16px; }
  .hscroll__track { padding: 0 16px; }
  .footer { padding-left: 16px; padding-right: 16px; }
  .footer__massive { margin: 0 -16px clamp(40px, 6vh, 80px); padding: 0 16px; }
}

/* ─── 23. LIGHTBOX ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 4, 3, 0.96);
  backdrop-filter: blur(20px) saturate(120%);
  display: grid; place-items: center;
  padding: 60px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
[data-theme="light"] .lightbox { background: rgba(20, 16, 12, 0.92); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lightbox__inner {
  display: grid;
  gap: 18px;
  max-width: min(900px, calc(100vw - 120px));
  max-height: calc(100vh - 120px);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s var(--ease) 0.1s, transform 0.7s var(--ease) 0.1s;
}
.lightbox.is-open .lightbox__inner { opacity: 1; transform: scale(1); }
.lightbox__media {
  border: 1px solid var(--gold);
  background: var(--bg);
  box-shadow: 0 0 0 6px var(--bg-deep), 0 30px 80px rgba(0,0,0,0.7);
  overflow: hidden;
  display: grid; place-items: center;
}
.lightbox__img {
  width: 100%; height: auto;
  max-height: calc(100vh - 220px);
  object-fit: contain;
  display: block;
}

.lightbox__caption {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px;
  color: #f0ebe2;
  flex-wrap: wrap;
}
.lightbox__role { color: var(--gold-dim); display: block; margin-bottom: 6px; }
.lightbox__title { font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 60; font-size: clamp(22px, 2.4vw, 36px); line-height: 1; letter-spacing: -0.01em; color: #f0ebe2; }
.lightbox__title em { color: var(--gold); }
.lightbox__meta { color: var(--gold); }

.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--gold-line);
  color: #f0ebe2;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 2;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.lightbox__close:hover { background: var(--gold); color: var(--bg); transform: rotate(90deg); border-color: var(--gold); }
.lightbox__close svg { width: 18px; height: 18px; }

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(10,8,7,0.6);
  border: 1px solid var(--gold-line);
  color: #f0ebe2;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 2;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.lightbox__nav:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox__counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--gold); }

/* clickable cards/members/atelier */
.card__media,
.member__media,
.atelier__media { cursor: zoom-in; }

@media (max-width: 700px) {
  .lightbox { padding: 16px; }
  .lightbox__inner { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox__nav { width: 44px; height: 44px; background: rgba(10,8,7,0.85); }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__caption { gap: 8px; align-items: flex-start; flex-direction: column; }
  .lightbox__counter { bottom: 14px; font-size: 9px; }
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

@media print {
  .nav, .cursor, .grain, .vignette, .loader, .rail, .marquee, .mobile-menu { display: none !important; }
  body { color: black; background: white; }
}
