/* ==========================================================================
   Magnétiseur Guéret — Maria Da Silva
   Direction artistique : « Champ magnétique » — nuit d'aubergine, fil d'or,
   ivoire chaud. Polices auto-hébergées (Fraunces + Manrope).
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0e0a1a;
  --night-2: #171029;
  --night-3: #221839;
  --plum: #3a2557;
  --gold: #e7c26a;
  --gold-2: #f6dfa4;
  --gold-3: #b8913c;
  --ember: #ec7a4c;
  --cream: #f7f1e6;
  --cream-2: #efe5d3;
  --ink: #1f1830;
  --ink-soft: #4d4360;
  --line-dark: rgba(231, 194, 106, 0.22);
  --line-light: rgba(31, 24, 48, 0.12);
  --text-on-dark: #efe8f7;
  --muted-on-dark: #b8aecb;

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --radius-lg: 34px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-gold: 0 0 0 1px rgba(231, 194, 106, 0.25), 0 20px 60px -20px rgba(231, 194, 106, 0.35);

  color-scheme: light;
}

/* ---------- Reset léger ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
em {
  font-style: italic;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--gold);
  color: var(--night);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--night);
  border-radius: 999px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(100% - 2 * var(--gutter), 820px);
  margin-inline: auto;
}

/* ---------- Transitions entre pages (View Transitions API) ---------- */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-out 0.35s var(--ease-soft) both;
}
::view-transition-new(root) {
  animation: vt-in 0.6s var(--ease) both;
}
.site-header {
  view-transition-name: site-header;
}
@keyframes vt-out {
  to {
    opacity: 0;
    filter: blur(6px);
    transform: scale(0.985);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
  }
}

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.dark .eyebrow {
  color: var(--gold);
}
.display-xl {
  font-size: clamp(2.6rem, 1.4rem + 5.6vw, 6.4rem);
  font-weight: 330;
  line-height: 0.98;
}
.display-l {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 4rem);
  font-weight: 350;
}
.display-m {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 400;
}
.display-xl em,
.display-l em,
.display-m em {
  font-weight: 300;
  color: var(--gold-3);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.dark .display-xl em,
.dark .display-l em,
.dark .display-m em {
  color: var(--gold);
}
.lead {
  font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.dark .lead {
  color: var(--muted-on-dark);
}
.gold-text {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 40%, var(--ember) 70%, var(--gold-2));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(72px, 10vw, 140px);
  position: relative;
}
.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}
.dark {
  background: var(--night);
  color: var(--text-on-dark);
  color-scheme: dark;
}
.dark a {
  color: inherit;
}
.dark .btn {
  color: var(--fg);
}
.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 760px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--gold);
  --fg: var(--night);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120px circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, 0.55), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before {
  opacity: 1;
}
.btn:hover {
  box-shadow: 0 14px 40px -12px rgba(231, 194, 106, 0.7);
}
.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
.btn--ghost {
  --bg: transparent;
  --fg: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--gold), 0 14px 40px -18px rgba(231, 194, 106, 0.6);
}
.btn--dark {
  --bg: var(--night);
  --fg: var(--cream);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-3);
}
.dark .link-arrow {
  color: var(--gold);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover::after {
  transform: translateX(6px);
}

/* ---------- En-tête « pendule » ----------
   Le médaillon lotus est suspendu à un fil d'or et oscille doucement,
   comme le pendule du radiesthésiste. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--text-on-dark);
  transition: transform 0.6s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(14, 10, 26, 0.8), rgba(14, 10, 26, 0));
  transition: background 0.5s;
}
.is-scrolled .site-header::before {
  background: rgba(14, 10, 26, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.is-hidden .site-header {
  transform: translateY(-140%);
}
.hdr {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 72px;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
}
.hdr-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(231, 194, 106, 0.45) 25%, rgba(231, 194, 106, 0.45) 75%, transparent);
}
.hdr-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  animation: spark 7s var(--ease-soft) infinite;
}
@keyframes spark {
  from {
    transform: translateX(-200px);
  }
  to {
    transform: translateX(100vw);
  }
}
.nav-left,
.nav-right {
  display: none;
  align-items: center;
  gap: 6px;
}
.nav-left {
  justify-self: start;
}
.nav-right {
  justify-self: end;
}
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.nav-links a {
  position: relative;
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-on-dark);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: none;
}
.nav-cta {
  min-height: 42px;
  padding: 0.5em 1.1em;
  font-size: 0.86rem;
}

.pendulum {
  position: relative;
  align-self: start;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transform-origin: 50% 0;
  animation: swing 5.5s var(--ease-soft) infinite alternate;
}
@keyframes swing {
  from {
    rotate: -4deg;
  }
  to {
    rotate: 4deg;
  }
}
@keyframes swing-lag {
  from {
    rotate: 1.2deg;
  }
  to {
    rotate: -1.2deg;
  }
}
.pendulum-medal svg,
.pendulum-name {
  animation: swing-lag 5.5s var(--ease-soft) infinite alternate;
  animation-delay: -0.35s;
  transform-origin: 50% -10px;
}
/* Petit crochet d'attache + chaîne fine (maillons alternés face / profil) */
.pendulum-hook {
  width: 14px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3));
  opacity: 0.85;
}
.pendulum > * {
  flex-shrink: 0;
}
.pendulum-chain {
  width: 8px;
  height: 26px;
  margin-bottom: -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 8 12'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23b8913c'/%3E%3Cstop offset='.45' stop-color='%23f6dfa4'/%3E%3Cstop offset='1' stop-color='%23b8913c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cellipse cx='4' cy='3.2' rx='2.1' ry='3.2' fill='none' stroke='url(%23g)' stroke-width='1.1'/%3E%3Crect x='3.45' y='5.2' width='1.1' height='7.6' rx='.55' fill='url(%23g)'/%3E%3C/svg%3E") center top / 8px 12px repeat-y;
  filter: drop-shadow(0 0 3px rgba(231, 194, 106, 0.45));
  opacity: 0.9;
  transition: height 0.6s var(--ease);
}
.pendulum-medal {
  position: relative;
  transform-origin: 50% 0;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(231, 194, 106, 0.08), 0 0 34px rgba(231, 194, 106, 0.4);
  transition: transform 0.6s var(--ease);
}
.pendulum-medal::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px dashed rgba(231, 194, 106, 0.35);
  animation: spin 30s linear infinite;
}
.pendulum-medal svg {
  width: 60px;
  height: 60px;
}
.pendulum-name {
  margin-top: 12px;
  font-family: var(--f-display);
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.4s;
}
.pendulum-name small {
  display: block;
  margin-top: 3px;
  font-family: var(--f-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.is-scrolled .pendulum-medal {
  transform: scale(0.78);
}
.is-scrolled .pendulum-chain {
  height: 12px;
}
.is-scrolled .pendulum-name,
.menu-open .pendulum-name {
  opacity: 0;
}
.hdr-call {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
}
.hdr-call svg {
  width: 20px;
  height: 20px;
}
.menu-toggle {
  justify-self: start;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(231, 194, 106, 0.3);
  background: transparent;
}
.menu-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), background 0.2s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.menu-toggle span::before {
  transform: translateY(-6px);
}
.menu-toggle span::after {
  transform: translateY(6px);
}
.menu-open .menu-toggle span {
  background: transparent;
}
.menu-open .menu-toggle span::before {
  transform: rotate(45deg);
}
.menu-open .menu-toggle span::after {
  transform: rotate(-45deg);
}
@media (max-width: 1079px) {
  .hdr {
    grid-template-rows: 64px;
  }
  .hdr .nav-left,
  .hdr .nav-right {
    display: none;
  }
  .pendulum-chain {
    height: 18px;
  }
  .pendulum-medal,
  .pendulum-medal svg {
    width: 50px;
    height: 50px;
  }
  .pendulum-name {
    display: none;
  }
}
@media (min-width: 1080px) {
  .nav-left,
  .nav-right {
    display: flex;
  }
  .menu-toggle,
  .hdr-call {
    display: none;
  }
}

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 130px var(--gutter) 32px;
  background: radial-gradient(120% 80% at 80% 0%, var(--plum), var(--night) 60%);
  color: var(--text-on-dark);
  clip-path: circle(0% at 46px 34px);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease), visibility 0s 0.8s;
}
.menu-open .mobile-menu {
  clip-path: circle(150% at 46px 34px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease), visibility 0s;
}
.mobile-menu ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: m;
}
.mobile-menu li {
  counter-increment: m;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.6s var(--ease);
}
.menu-open .mobile-menu li {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.15s + var(--i, 0) * 0.05s);
}
.mobile-menu li a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 4.6vw, 2rem);
  line-height: 1.25;
  text-decoration: none;
}
.mobile-menu li a::before {
  content: counter(m, upper-roman);
  font-family: var(--f-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 2.2em;
}
.mobile-menu .btn {
  margin-top: 28px;
  align-self: flex-start;
}
body.menu-open {
  overflow: hidden;
}

/* ---------- Héro (accueil) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 170px 0 clamp(40px, 7vw, 90px);
  background: var(--night);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Repli sans WebGL : orbe en CSS */
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 224, 120, 0.95) 0, rgba(240, 190, 60, 0.7) 6%, rgba(236, 122, 76, 0.25) 16%, transparent 32%),
    radial-gradient(90% 70% at 70% 40%, rgba(58, 37, 87, 0.9), transparent 70%),
    var(--night);
}
@media (max-aspect-ratio: 1/1) {
  .hero {
    padding-top: 410px;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, transparent 380px, rgba(14, 10, 26, 0.55) 470px, rgba(14, 10, 26, 0.85));
    pointer-events: none;
  }
  .hero-canvas-wrap {
    background:
      radial-gradient(circle at 50% 245px, rgba(255, 224, 120, 0.95) 0, rgba(240, 190, 60, 0.6) 40px, rgba(236, 122, 76, 0.2) 110px, transparent 180px),
      radial-gradient(90% 50% at 50% 245px, rgba(58, 37, 87, 0.9), transparent 70%),
      var(--night);
  }
}
.hero-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero-canvas-wrap.is-live canvas {
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(to top, var(--night), transparent);
  pointer-events: none;
}
.hero-content {
  display: grid;
  gap: 28px;
  max-width: 820px;
}
.hero h1 {
  margin: 0;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.2s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--d, 0) * 0.12s);
}
@keyframes rise {
  to {
    transform: none;
  }
}
.fade-in {
  opacity: 0;
  animation: fade-in 1.2s var(--ease) forwards;
  animation-delay: var(--delay, 0.6s);
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero .lead {
  max-width: 54ch;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--line-dark);
  background: rgba(14, 10, 26, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 7vw, 90px);
  display: none;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  text-decoration: none;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2.4s var(--ease-soft) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}
@media (min-width: 900px) {
  .scroll-cue {
    display: flex;
  }
}

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--line-dark);
  background: var(--night);
  color: var(--text-on-dark);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 3rem);
  white-space: nowrap;
}
.marquee-track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(231, 194, 106, 0.7);
}
.marquee-track span::after {
  content: "✦";
  font-style: normal;
  font-size: 0.5em;
  color: var(--gold);
  -webkit-text-stroke: 0;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Intro / chiffres ---------- */
.intro-grid {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.big-quote {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem);
  font-weight: 330;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
}
.big-quote .word {
  opacity: 0.18;
  transition: opacity 0.6s;
}
.big-quote .word.on {
  opacity: 1;
}
.keyfacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.keyfacts div {
  padding: clamp(18px, 3vw, 28px);
  background: var(--cream);
}
.keyfacts dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}
.keyfacts dd {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.25;
}

/* ---------- Cartes de soins (style tarot) ---------- */
.cards {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards .tcard-media {
    aspect-ratio: 4 / 3;
  }
}
@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tcard-wrap {
  perspective: 1100px;
}
.tcard {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 30%;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--night-3), var(--night-2) 55%, #0b0815);
  border: 1px solid var(--line-dark);
  color: var(--text-on-dark);
  text-decoration: none;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.tcard.is-tilting {
  transition: transform 0.1s linear, box-shadow 0.5s var(--ease);
}
.tcard:hover {
  box-shadow: var(--shadow-gold);
  border-color: rgba(231, 194, 106, 0.55);
}
.tcard::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(231, 194, 106, 0.16);
  pointer-events: none;
}
.tcard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(246, 223, 164, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tcard:hover::after {
  opacity: 1;
}
.tcard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.tcard-num {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.tcard-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  transform: translateZ(30px);
  background: var(--night);
}
.tcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease), filter 0.6s;
  filter: saturate(0.92);
}
.tcard:hover .tcard-media img {
  transform: scale(1.12);
  filter: saturate(1.1);
}
.tcard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 12px 10px;
  transform: translateZ(20px);
}
.tcard-body h3 {
  font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.7rem);
  margin-bottom: 0.4em;
}
.tcard-body p {
  color: var(--muted-on-dark);
  font-size: 0.97rem;
  flex: 1;
}
.tcard .link-arrow {
  margin-top: 6px;
}

/* ---------- Maria (à propos) ---------- */
.about-grid {
  display: grid;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
.portrait {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  width: 100%;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(31, 24, 48, 0.55);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 80% 72%;
  scale: 1.45;
  translate: 0 var(--parallax, 0px);
}
.orbit {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  left: -12%;
  bottom: -6%;
  color: var(--ink);
  animation: spin 28s linear infinite;
}
.orbit text {
  font-family: var(--f-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  fill: currentColor;
}
.orbit-core {
  position: absolute;
  left: calc(-12% + 23% - 26px);
  bottom: calc(-6% + 23% - 26px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-2), var(--gold) 45%, var(--ember));
  box-shadow: 0 0 40px rgba(231, 194, 106, 0.8);
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.signature {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-3);
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 34px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px), rgba(231, 194, 106, 0.18);
  box-shadow: inset 0 0 0 1px rgba(184, 145, 60, 0.6);
}

.split {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
  .split .sticky {
    position: sticky;
    top: 120px;
  }
}

/* ---------- Galerie du cabinet ---------- */
.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 24px;
  margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: thin;
  scrollbar-color: var(--gold-3) transparent;
  cursor: grab;
}
.gallery.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.gallery figure {
  flex: 0 0 auto;
  width: clamp(220px, 28vw, 340px);
  margin: 0;
  scroll-snap-align: center;
}
.gallery figure:nth-child(3n + 2) {
  margin-top: 40px;
}
.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  pointer-events: none;
  user-select: none;
}
.gallery button:hover img {
  transform: scale(1.06);
}
.gallery figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 10px 4px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
}
.gallery-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery-grid button:hover img {
  transform: scale(1.05);
}
.gallery-grid figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 8px 4px 0;
}

.lightbox {
  width: min(92vw, 900px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--night);
  color: var(--text-on-dark);
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(8, 6, 15, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox[open] {
  animation: lb-in 0.5s var(--ease);
}
@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}
.lightbox img {
  width: 100%;
  max-height: calc(92vh - 60px);
  object-fit: contain;
  background: #000;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 18px;
  font-size: 0.9rem;
}
.lightbox-bar div {
  display: flex;
  gap: 6px;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
}
.icon-btn:hover {
  background: rgba(231, 194, 106, 0.15);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-light);
  transition: box-shadow 0.4s, border-color 0.4s;
}
.faq details[open] {
  border-color: rgba(184, 145, 60, 0.5);
  box-shadow: 0 20px 50px -30px rgba(31, 24, 48, 0.35);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px clamp(18px, 3vw, 28px);
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat,
    var(--cream-2);
  transition: transform 0.5s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--gold);
}
.faq .answer {
  padding: 0 clamp(18px, 3vw, 28px) 22px;
  color: var(--ink-soft);
}
.faq .answer p:last-child {
  margin: 0;
}
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-card {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line-dark);
}
.contact-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.contact-list a,
.contact-list .row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  margin-inline: -12px;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.3s;
}
.contact-list a:hover {
  background: rgba(231, 194, 106, 0.1);
}
.contact-list .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(231, 194, 106, 0.14);
  color: var(--gold);
}
.contact-list .ico svg {
  width: 20px;
  height: 20px;
}
.contact-list small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  font-weight: 700;
}
.contact-list strong {
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-word;
}
.map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 50% 50%, rgba(231, 194, 106, 0.35), transparent 30%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(231, 194, 106, 0.12) 39px 40px),
    linear-gradient(160deg, var(--night-3), var(--night));
  display: grid;
  place-items: center;
  text-align: center;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-route {
  position: absolute;
  right: 16px;
  top: 16px;
  min-height: 44px;
  padding: 0.55em 1.1em;
  font-size: 0.88rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s, border-color 0.3s;
}
.socials a:hover {
  background: rgba(231, 194, 106, 0.12);
  border-color: var(--gold);
}
.socials svg {
  width: 18px;
  height: 18px;
}

/* ---------- Zone desservie ---------- */
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.towns li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream-2);
  font-size: 0.88rem;
  font-weight: 600;
}
.dark .towns li {
  background: rgba(231, 194, 106, 0.1);
}

/* ---------- Bloc CTA final ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px);
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(236, 122, 76, 0.35), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(231, 194, 106, 0.25), transparent 60%),
    var(--night-2);
  color: var(--text-on-dark);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.cta-band .lead {
  margin-inline: auto;
}
.cta-band .rings {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 900px;
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: 0;
  pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 60px, rgba(231, 194, 106, 0.07) 61px 62px);
  animation: breathe 9s var(--ease-soft) infinite alternate;
}
.cta-band > :not(.rings) {
  position: relative;
}
@keyframes breathe {
  to {
    scale: 1.15;
  }
}

/* ---------- Pages intérieures ---------- */
.page-hero {
  position: relative;
  padding: clamp(150px, 18vw, 210px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(50% 70% at 85% 10%, rgba(58, 37, 87, 0.95), transparent 70%),
    radial-gradient(30% 40% at 85% 20%, rgba(231, 194, 106, 0.25), transparent 70%),
    var(--night);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 900px;
  aspect-ratio: 1;
  right: -300px;
  top: -380px;
  background: repeating-radial-gradient(ellipse 50% 30% at 50% 50%, transparent 0 46px, rgba(231, 194, 106, 0.09) 47px 48px);
  animation: spin 120s linear infinite;
}
.page-hero-grid {
  display: grid;
  gap: 40px;
  align-items: end;
}
@media (min-width: 960px) {
  .page-hero-grid.has-media {
    grid-template-columns: 1.25fr 0.75fr;
  }
}
.page-hero h1 {
  font-size: clamp(2.3rem, 1.4rem + 4vw, 5rem);
  font-weight: 330;
  margin: 0 0 0.35em;
}
.page-hero h1 em {
  color: var(--gold);
  font-weight: 300;
}
.page-hero-media {
  aspect-ratio: 1;
  max-width: 380px;
  width: 100%;
  justify-self: center;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-dark), 0 0 0 14px rgba(231, 194, 106, 0.06), 0 0 120px -20px rgba(231, 194, 106, 0.6);
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.breadcrumb {
  margin-bottom: 26px;
  font-size: 0.85rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted-on-dark);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.5;
}
.breadcrumb a {
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--gold);
}

.tldr {
  margin: 0 0 clamp(40px, 6vw, 64px);
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--gold);
}
aside.tldr h2 {
  margin-top: 0;
  font-size: 1.1rem;
  font-family: var(--f-body);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 0.8em;
}
.tldr ul {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}
.prose {
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
}
.prose h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  margin-top: 1.8em;
}
.prose h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  margin-top: 1.5em;
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose a {
  color: var(--gold-3);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose strong {
  font-weight: 700;
}
.prose > :first-child {
  margin-top: 0;
}
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px 20px;
  margin: 2em 0;
  border-radius: 16px;
  background: var(--cream-2);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.notice::before {
  content: "i";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
}
.notice p {
  margin: 0;
}
.related {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.related a {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-light);
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
}
.related a:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(31, 24, 48, 0.4);
}
.related img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.related strong {
  font-family: var(--f-display);
  font-weight: 450;
  font-size: 1.1rem;
  line-height: 1.2;
}

/* ---------- Pied de page ---------- */
.site-footer {
  position: relative;
  background: var(--night);
  color: var(--muted-on-dark);
  padding: clamp(64px, 9vw, 120px) 0 calc(28px + env(safe-area-inset-bottom));
  overflow: hidden;
  font-size: 0.95rem;
}
.footer-word {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3rem, 14vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(231, 194, 106, 0.55);
  white-space: nowrap;
  margin: 0 0 clamp(40px, 6vw, 72px);
  user-select: none;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer h2 {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1em;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: var(--gold-2);
}
.site-footer address {
  font-style: normal;
  color: var(--text-on-dark);
  line-height: 1.8;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.82rem;
}
.footer-disclaimer {
  margin-top: 24px;
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 90ch;
  opacity: 0.8;
}

/* ---------- Barre d'action mobile ---------- */
.action-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(14, 10, 26, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(150%);
  transition: transform 0.6s var(--ease);
}
.action-bar.is-visible {
  transform: none;
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border-radius: 999px;
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}
.action-bar a:first-child {
  background: var(--gold);
  color: var(--night);
}
.action-bar svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 1080px) {
  .action-bar {
    display: none;
  }
}

/* ---------- Halo du curseur (desktop) ---------- */
.cursor-aura {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 70;
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(231, 194, 106, 0.16), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.6s;
}
.cursor-aura.is-on {
  opacity: 1;
}

/* ---------- Révélations au défilement ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="scale"] {
  transform: scale(0.94);
}
.js [data-reveal="left"] {
  transform: translateX(-40px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px var(--gutter) 60px;
}
.notfound .num {
  font-family: var(--f-display);
  font-size: clamp(6rem, 25vw, 16rem);
  font-weight: 200;
  line-height: 1;
  margin: 0;
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero h1 .line > span,
  .fade-in {
    transform: none;
    opacity: 1;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
  @view-transition {
    navigation: none;
  }
}

@media print {
  .site-header,
  .action-bar,
  .hero-canvas-wrap,
  .cursor-aura,
  .marquee {
    display: none !important;
  }
  body,
  .dark {
    background: #fff !important;
    color: #000 !important;
  }
}
