/* ============================================================
   FALCOM P'ROD — Modules modernes (v2)
   Pas d'effets horizontaux. Lift · Spotlight · Border-glow ·
   Scroll-reveal · Shine vertical · Ornements.
   Compatible prefers-reduced-motion.
   ============================================================ */

/* ---------- Skip-link accessibilité -------------------------- */
.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 10000;
  padding: .6rem 1rem;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--r-sm);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur-base) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); outline: 2px solid #fff; }

/* ---------- Focus ring global cohérent ----------------------- */
:focus-visible {
  outline: 2px solid var(--focus, #e6c770);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Barre de progression de scroll ------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-hi));
  z-index: 9999;
  pointer-events: none;
  transition: width .08s linear;
  box-shadow: 0 0 12px var(--gold-soft);
}

/* ---------- Back-to-top ------------------------------------- */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 900;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--surface-e, #16161c);
  color: var(--ink-1);
  border: 1px solid var(--border-s);
  border-radius: 999px;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              background var(--dur-base),
              box-shadow var(--dur-base);
  box-shadow: var(--shadow-md);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover {
  background: var(--gold-soft);
  color: var(--gold-hi);
  border-color: var(--gold-line);
  box-shadow: 0 10px 30px rgba(201,165,74,.25);
}
.back-to-top svg { transition: transform var(--dur-base); }
.back-to-top:hover svg { transform: translateY(-3px); }

/* ---------- Marquee : le styling principal est dans style.css.
   Ici on ajoute seulement le masque fade aux extrémités. */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Counters animés --------------------------------- */
.counter {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.counter em { color: var(--gold); font-style: normal; }

/* ---------- Toast notifications ----------------------------- */
.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column-reverse;
  gap: .6rem;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  padding: .9rem 1rem .9rem 1.1rem;
  background: var(--surface-e, #16161c);
  color: var(--ink-1);
  border: 1px solid var(--border-s);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  font-size: var(--fs-small);
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  animation: toast-in .35s var(--ease-out) forwards;
  backdrop-filter: blur(8px);
}
.toast--ok  { border-left-color: #4fd598; }
.toast--err { border-left-color: var(--danger, #e06a5c); }
.toast.leaving { animation: toast-out .25s var(--ease-out) forwards; }
@keyframes toast-in  { to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(12px); } }

/* ============================================================
   EFFETS MODERNES — LIFT, SPOTLIGHT, BORDER-GLOW
   (remplacent magnetic + tilt rotation)
   ============================================================ */

/* ---------- .magnetic : garde le nom, devient un simple lift
   avec halo doré (plus de translation horizontale) --------- */
.magnetic {
  transition: transform .35s var(--ease-out),
              box-shadow .35s var(--ease-out),
              filter .35s var(--ease-out);
  will-change: transform, box-shadow;
}
@media (hover: hover) {
  .magnetic:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow: 0 14px 36px rgba(201,165,74,.28),
                0 2px 8px rgba(0,0,0,.3);
  }
  .magnetic:active { transform: translateY(-1px); transition-duration: .12s; }
}

/* ---------- .tilt-card : plus de rotation, juste un lift
   élégant + border-glow réactif au curseur --------------- */
.tilt-card {
  position: relative;
  isolation: isolate;
  transition: transform .45s var(--ease-out),
              box-shadow .45s var(--ease-out),
              border-color .45s var(--ease-out);
  will-change: transform;
}
.tilt-card::before {
  /* Spotlight suivant le curseur (piloté en JS via --mx/--my) */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 0%),
    rgba(230, 199, 112, .14),
    transparent 55%
  );
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.tilt-card::after {
  /* Border gradient révélé au hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(230,199,112,.55) 0%,
    rgba(201,165,74,.1) 40%,
    transparent 60%,
    rgba(201,165,74,.35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.tilt-card > * { position: relative; z-index: 2; }
@media (hover: hover) {
  .tilt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0,0,0,.35),
                0 2px 10px rgba(201,165,74,.12);
  }
  .tilt-card:hover::before,
  .tilt-card:hover::after { opacity: 1; }
}

/* ---------- Gradient text ----------------------------------- */
.gradient-text {
  background: linear-gradient(120deg, var(--ink-1) 0%, var(--gold-hi) 50%, var(--ink-1) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-sweep 6s ease-in-out infinite;
}
@keyframes gradient-sweep {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

/* ---------- Noise overlay (texture cinéma) ------------------ */
.noise-bg { position: relative; isolation: isolate; }
.noise-bg::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
}

/* ---------- Liens focus corps ------------------------------- */
a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

/* ---------- Hero visual : halo doré ------------------------- */
.hero-visual-glow { position: relative; isolation: isolate; }
.hero-visual-glow::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(230, 199, 112, .22), transparent 60%),
    radial-gradient(70% 70% at 80% 80%, rgba(201, 165, 74, .18), transparent 65%);
  filter: blur(30px);
  animation: halo-breathe 8s ease-in-out infinite;
}
@keyframes halo-breathe {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.04); }
}
.hero-visual-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(230,199,112,.4), transparent 40%, transparent 60%, rgba(201,165,74,.25)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  border-radius: inherit;
}

/* ---------- Testimonials — Marquee continu ✦ ----------------- */
/* Deux pistes dupliquées + keyframes translate -50% = boucle infinie sans couture */
.testimonials-section { position: relative; }

.testimonials-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .35rem;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.testimonials-meta .testimonials-count {
  padding: .35rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-2);
}
.testimonials-meta .testimonials-rating {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold);
}
.testimonials-meta .testimonials-rating .tr-stars {
  letter-spacing: .15em;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* Étoile pleine demi — dégradé or → transparent */
.testimonials-meta .testimonials-rating .tr-half {
  background: linear-gradient(90deg, var(--gold) 0 50%, rgba(201,165,74,.22) 50% 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
/* Étoiles vides (dim) */
.testimonials-meta .testimonials-rating .tr-dim {
  color: rgba(201,165,74,.22);
}
.testimonials-meta .testimonials-rating em {
  color: var(--ink-2);
  font-style: normal;
  letter-spacing: .08em;
  font-weight: 500;
}

.testimonials-marquee {
  position: relative;
  overflow: hidden;
  padding: var(--s-4) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.testimonials-marquee-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  width: max-content;
  will-change: transform;
  /* !important : protège contre l'override de .reveal.is-in > * qui viendrait
     remplacer l'animation en boucle par un simple fade-in one-shot. */
  animation: t-marquee 70s linear infinite !important;
  animation-play-state: running;
}
/* Pause au survol ou focus — priorité sur tout le reste */
.testimonials-marquee:hover .testimonials-marquee-track,
.testimonials-marquee:focus-within .testimonials-marquee-track {
  animation-play-state: paused !important;
}
@keyframes t-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.t-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 32vw, 380px);
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--bg-2), var(--bg-1));
  overflow: hidden;
  isolation: isolate;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.t-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.t-card::after {
  content: """;
  position: absolute;
  top: -1.5rem; right: 1rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--gold);
  opacity: .1;
  pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease-out);
}
.t-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-4px);
  box-shadow: 0 18px 48px -12px rgba(201,165,74,.25);
}
.t-card:hover::before { opacity: 1; }
.t-card:hover::after { opacity: .22; transform: translateY(-4px); }

.t-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 40% at 20% 0%, rgba(201,165,74,.1), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
  z-index: -1;
}
.t-card:hover .t-card-glow { opacity: 1; }

.t-card-stars {
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .22em;
  margin-bottom: var(--s-3);
}
.t-card-stars-dim { color: var(--border-s); }

.t-card-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(.95rem, 1.15vw, 1.05rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-1);
  margin: 0 0 var(--s-4);
  /* Limite à 6 lignes max pour des cartes de hauteur équivalente */
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.t-card-foot {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
}
.t-card-name {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -.005em;
}
.t-card-ctx {
  font-family: var(--font-sans);
  font-size: .7rem;
  color: var(--ink-3);
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .testimonials-marquee-track { animation-duration: 45s; gap: 1rem; }
  .t-card { width: 80vw; }
  .testimonials-meta { align-items: flex-start; }
}

/* ---------- Trust bar --------------------------------------- */
.trust-bar {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-block: 1px solid var(--border);
  background: var(--bg-1);
  position: relative;
}
.trust-bar::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 50%, rgba(201,165,74,.05), transparent 70%);
  pointer-events: none;
}
.trust-bar-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  color: var(--ink-2);
  position: relative;
}
.trust-bar-list li {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: var(--fs-small);
  letter-spacing: .04em;
}
.trust-bar-list svg { color: var(--gold); flex: 0 0 auto; }
.trust-bar-list em {
  color: var(--ink-1);
  font-style: normal;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.25em;
  letter-spacing: 0;
}

/* ---------- Ornement éditorial ------------------------------ */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  max-width: 520px;
  margin: 0 auto;
}
.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}
.ornament-mark {
  color: var(--gold);
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  flex: 0 0 auto;
  animation: ornament-spin 18s linear infinite;
}
@keyframes ornament-spin { to { transform: rotate(360deg); } }

/* ---------- Bouton appel flottant (mobile) ------------------ */
.float-call {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 850;
  width: 56px; height: 56px;
  display: none;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  color: #0a0a0a;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(201, 165, 74, .4), 0 2px 8px rgba(0,0,0,.4);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.float-call:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(201,165,74,.55); }
.float-call:active { transform: scale(.95); }
.float-call-pulse {
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 2px solid var(--gold);
  animation: pulse-ring 2.2s var(--ease-out) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.8); opacity: 0;  }
}
@media (max-width: 768px) {
  .float-call { display: grid; }
}

/* ============================================================
   BOUTONS MODERNISÉS — shine vertical, pas horizontal
   ============================================================ */
.btn.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease-out),
              box-shadow .3s var(--ease-out),
              filter .3s var(--ease-out);
}
.btn.btn--primary::before {
  /* Glow doux sous le bouton, révélé au hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(201,165,74,.0);
  transition: box-shadow .35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.btn.btn--primary::after {
  /* Halo radial doux qui pulse légèrement (pas de sweep horizontal) */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 50% 110%, rgba(255,255,255,.22), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.btn.btn--primary > * { position: relative; z-index: 1; }
@media (hover: hover) {
  .btn.btn--primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 12px 32px rgba(201,165,74,.28),
                0 2px 8px rgba(0,0,0,.25);
  }
  .btn.btn--primary:hover::after { opacity: 1; }
  .btn.btn--primary:active { transform: translateY(0); transition-duration: .1s; }
}

/* Bouton ghost : même logique, lift subtil + bord lumineux */
.btn.btn--ghost {
  transition: transform .3s var(--ease-out),
              border-color .3s var(--ease-out),
              background .3s var(--ease-out),
              color .3s var(--ease-out),
              box-shadow .3s var(--ease-out);
}
@media (hover: hover) {
  .btn.btn--ghost:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
  }
}

/* ============================================================
   SCROLL REVEAL — apparition depuis le bas (vertical)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
/* Stagger léger pour enfants directs (cards grid, acts, etc.) */
.reveal.is-in > * { animation: reveal-child .7s var(--ease-out) both; }
.reveal.is-in > *:nth-child(1) { animation-delay: .02s; }
.reveal.is-in > *:nth-child(2) { animation-delay: .08s; }
.reveal.is-in > *:nth-child(3) { animation-delay: .14s; }
.reveal.is-in > *:nth-child(4) { animation-delay: .2s; }
.reveal.is-in > *:nth-child(5) { animation-delay: .26s; }
.reveal.is-in > *:nth-child(6) { animation-delay: .32s; }
@keyframes reveal-child {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   AURORA BACKGROUND AMBIENT
   ============================================================ */
.aurora-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.aurora-bg::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 80vh;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(201,165,74,.18), transparent 60%),
    radial-gradient(40% 50% at 80% 20%, rgba(230,199,112,.12), transparent 60%);
  filter: blur(60px);
  opacity: .8;
  pointer-events: none;
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, 4%, 0); }
}

/* ---------- KPI dd doré ------------------------------------ */
.ed-hero-kpis dd [data-counter-to] {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--ink-1), var(--gold-hi));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   IMAGES & MÉDIAS — zoom doux au hover (vertical uniquement)
   ============================================================ */
.about-compact-visual img,
.bento-tile-media img,
.gallery-ed-item img {
  transition: transform .8s var(--ease-out), filter .6s var(--ease-out);
}
@media (hover: hover) {
  .about-compact-visual:hover img,
  .bento-tile:hover .bento-tile-media img,
  .gallery-ed-item:hover img {
    transform: scale(1.04);
    filter: saturate(1.08) brightness(1.03);
  }
}

/* Bento : lift subtil sans translation horizontale */
.bento-tile {
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
@media (hover: hover) {
  .bento-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0,0,0,.32), 0 2px 10px rgba(201,165,74,.12);
    border-color: var(--gold-line);
  }
}

/* Timeline : dot qui s'éclaire au hover */
.tl-ed-item { transition: transform .35s var(--ease-out); }
@media (hover: hover) {
  .tl-ed-item:hover { transform: translateY(-2px); }
}

/* ============================================================
   RESPONSIVE FINE-TUNING
   ============================================================ */
@media (max-width: 640px) {
  .back-to-top { width: 44px; height: 44px; bottom: 1rem; right: 1rem; }
  .toast { min-width: auto; max-width: calc(100vw - 2rem); }
  .toast-stack { left: 1rem; right: 1rem; }
}

/* ============================================================
   ZONES D'INTERVENTION — v2 (remplace la vieille liste)
   ============================================================ */
.zones-v2 {
  display: grid;
  gap: clamp(var(--s-6), 5vw, var(--s-7));
}
@media (min-width: 900px) {
  .zones-v2 { grid-template-columns: .85fr 1.15fr; align-items: start; }
}
.zones-v2-head { display: flex; flex-direction: column; gap: var(--s-3); }
.zones-v2-lead {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 36ch;
  margin-top: var(--s-3);
}

.zones-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(var(--s-3), 1.5vw, var(--s-4));
}
@media (min-width: 700px) { .zones-v2-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .zones-v2-grid { grid-template-columns: repeat(3, 1fr); } }

.zone-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: clamp(var(--s-4), 2vw, var(--s-5));
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  transition: border-color .4s var(--ease-out);
}
.zone-card-n {
  position: absolute;
  top: clamp(var(--s-2), 1vw, var(--s-3));
  right: clamp(var(--s-3), 1.5vw, var(--s-4));
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: .85;
  font-weight: 400;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-line);
  opacity: .85;
  transition: opacity .4s var(--ease-out), -webkit-text-stroke-color .4s var(--ease-out);
  pointer-events: none;
  user-select: none;
}
.zone-card-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 400;
  color: var(--ink-1);
  letter-spacing: -.01em;
  margin: 0 0 var(--s-2);
  position: relative;
  z-index: 1;
}
.zone-card-cities {
  font-size: .78rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
@media (hover: hover) {
  .zone-card:hover {
    border-color: var(--gold-line);
  }
  .zone-card:hover .zone-card-n {
    opacity: 1;
    -webkit-text-stroke-color: var(--gold);
  }
}

/* Carte "France entière" */
.zone-card--more {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(201,165,74,.08), rgba(230,199,112,.02));
  border-color: var(--gold-line);
}
@media (min-width: 700px) { .zone-card--more { grid-column: span 3; } }
.zone-card--more .zone-card-name { color: var(--gold-hi); }
.zone-card-more-icon {
  color: var(--gold);
  margin-bottom: var(--s-3);
  opacity: .8;
}
.zone-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: var(--s-3);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .25s, gap .25s var(--ease-out);
  align-self: flex-start;
}
.zone-card-link:hover {
  color: var(--gold-hi);
  gap: .6rem;
}

/* ============================================================
   ✦ MAGIC MODULES — Cursor spotlight · Word reveal ·
   Golden dust · Click ripple · Video unmute
   (Inspiré de 21st.dev, adapté vanilla pour Falcom P'rod)
   ============================================================ */

/* ---------- Cursor spotlight global (halo doré discret) ---- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%) translate3d(var(--cg-x, -500px), var(--cg-y, -500px), 0);
  background: radial-gradient(circle, rgba(230,199,112,.09) 0%, rgba(201,165,74,.04) 40%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
  will-change: transform;
  filter: blur(10px);
}
.cursor-glow.is-active { opacity: 1; }

/* ---------- Word-reveal (pour titres héro) ----------------- */
.word-reveal { display: inline-block; }
.word-reveal .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em);
  filter: blur(6px);
  animation: word-in .9s var(--ease-out) forwards;
  animation-delay: calc(var(--wi, 0) * 80ms);
  white-space: pre;
}
@keyframes word-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* ---------- Golden dust (particules héro) ------------------ */
.golden-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.golden-dust span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,199,112,.9), rgba(201,165,74,.25) 60%, transparent 75%);
  box-shadow: 0 0 8px rgba(230,199,112,.5);
  opacity: 0;
  animation: dust-float linear infinite;
  will-change: transform, opacity;
}
.golden-dust span:nth-child(1) { left:  8%; animation-duration: 18s; animation-delay: 0s;   --tx:  30px; }
.golden-dust span:nth-child(2) { left: 22%; animation-duration: 24s; animation-delay: -6s;  --tx: -40px; width: 2px; height: 2px; }
.golden-dust span:nth-child(3) { left: 38%; animation-duration: 22s; animation-delay: -3s;  --tx:  50px; }
.golden-dust span:nth-child(4) { left: 55%; animation-duration: 28s; animation-delay: -12s; --tx: -30px; width: 4px; height: 4px; }
.golden-dust span:nth-child(5) { left: 70%; animation-duration: 20s; animation-delay: -8s;  --tx:  40px; }
.golden-dust span:nth-child(6) { left: 86%; animation-duration: 26s; animation-delay: -15s; --tx: -50px; width: 2px; height: 2px; }
.golden-dust span:nth-child(7) { left: 94%; animation-duration: 30s; animation-delay: -4s;  --tx:  20px; }
@keyframes dust-float {
  0%   { transform: translate3d(0, 110%, 0)  scale(.6); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translate3d(var(--tx, 30px), 40%, 0) scale(1); opacity: .7; }
  90%  { opacity: .5; }
  100% { transform: translate3d(calc(var(--tx, 30px) * .5), -10%, 0) scale(.4); opacity: 0; }
}

/* ---------- Click ripple doré ------------------------------- */
.click-ripple {
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  width: 8px; height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(230,199,112,.8), rgba(201,165,74,.25) 50%, transparent 70%);
  animation: ripple-expand .75s var(--ease-out) forwards;
  will-change: transform, opacity;
}
@keyframes ripple-expand {
  0%   { transform: translate(-50%, -50%) scale(1);  opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(18); opacity: 0; }
}

/* ---------- Barre scroll-progress : lueur renforcée -------- */
.scroll-progress {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201,165,74,.4) 20%,
    var(--gold) 50%,
    var(--gold-hi) 80%,
    transparent 100%);
  box-shadow: 0 0 14px var(--gold), 0 0 3px var(--gold-hi);
}

/* ---------- Vidéo : polish + bouton unmute ----------------- */
.video-compact-frame { position: relative; isolation: isolate; }
.video-compact-frame::after {
  /* cadre lumineux qui réagit quand la vidéo joue */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201,165,74,.15),
              0 0 0 0 rgba(201,165,74,.0);
  transition: box-shadow .6s var(--ease-out);
}
.video-compact-frame.is-playing::after {
  box-shadow: inset 0 0 0 1px rgba(201,165,74,.4),
              0 0 40px -8px rgba(201,165,74,.35);
}

.video-unmute {
  position: absolute;
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: 3;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(8,8,10,.72);
  color: var(--gold);
  border: 1px solid rgba(201,165,74,.3);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background .25s, color .25s, border-color .25s,
              transform .25s var(--ease-out), box-shadow .25s;
}
.video-unmute:hover {
  background: rgba(201,165,74,.15);
  color: var(--gold-hi);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201,165,74,.25);
}
.video-unmute svg { display: block; }

/* ============================================================
   ACCESSIBILITÉ — prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .gradient-text,
  .ornament-mark,
  .float-call-pulse,
  .hero-visual-glow::before,
  .aurora-bg::before { animation: none !important; }
  .scroll-progress { transition: none; }
  .back-to-top { transition: opacity .1s; transform: none; }
  .toast { animation: none; opacity: 1; transform: none; }
  .testimonials-marquee-track { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal.is-in > * { animation: none; }
  .tilt-card, .magnetic, .btn.btn--primary, .btn.btn--ghost,
  .bento-tile, .tl-ed-item, .about-compact-visual img,
  .bento-tile-media img, .gallery-ed-item img {
    transition: none !important;
    transform: none !important;
  }
  .cursor-glow, .golden-dust { display: none !important; }
  .word-reveal .w { opacity: 1; transform: none; filter: none; animation: none; }
  .click-ripple { display: none; }
}
