/* ══════════════════════════════════════════════════════════════
   MYFINAPP — Landing page vitrine
   DA : family office digital · navy profond · or champagne
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --ink:        #05091a;   /* noir bleuté — fond principal */
  --navy-900:   #081126;
  --navy-800:   #0b1730;
  --navy-700:   #132244;
  --gold:       #c9a96a;   /* or champagne */
  --gold-bright:#e6cd9a;
  --gold-dim:   rgba(201, 169, 106, 0.32);
  --gold-faint: rgba(201, 169, 106, 0.12);
  --ivory:      #f3efe5;
  --platinum:   #a3abbe;
  --platinum-dim:#7d87a0;
  --emerald:    #5fb39a;   /* réservé aux variations positives */

  /* Typographie */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "Spline Sans Mono", "Consolas", monospace;

  /* Rythme */
  --page-max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(5rem, 12vh, 9rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─────────────── Reset & base ─────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
em { font-style: italic; }

::selection { background: var(--gold-dim); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 100;
  padding: 0.6rem 1.1rem;
  background: var(--navy-800);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  font-size: 0.85rem;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.num { font-family: var(--font-mono); font-weight: 400; font-variant-numeric: tabular-nums; }
.up  { color: var(--emerald); }

/* ─────────────── Éléments partagés ─────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.section-title em {
  color: var(--gold-bright);
  font-weight: 400;
}

/* Reveal au scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0s),
    transform 0.9s var(--ease-out) var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ─────────────── Navigation ─────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.1rem var(--gutter);
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav.is-scrolled {
  padding: 0.7rem var(--gutter);
  background: rgba(5, 9, 26, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(201, 169, 106, 0.14);
}
.nav__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__mark { width: 30px; height: 30px; color: var(--gold); }
.nav__mark svg { width: 100%; height: 100%; }
.nav__wordmark {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.32em;
  font-weight: 500;
}
.nav__cta {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  color: var(--gold-bright);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.nav__cta:hover {
  border-color: var(--gold);
  background: var(--gold-faint);
  transform: translateY(-1px);
}

/* ─────────────── 1 · Hero ─────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--gutter) 4rem;
  overflow: hidden;
}

.hero__halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 44% at 72% 40%, rgba(201, 169, 106, 0.09), transparent 70%),
    radial-gradient(60% 55% at 18% 12%, rgba(19, 34, 68, 0.85), transparent 70%),
    radial-gradient(45% 40% at 85% 90%, rgba(19, 34, 68, 0.5), transparent 70%);
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 171, 190, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 171, 190, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 40%, black 30%, transparent 100%);
  mask-image: radial-gradient(70% 65% at 50% 40%, black 30%, transparent 100%);
}

.hero__inner {
  position: relative;
  max-width: var(--page-max);
  margin-inline: auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
}
.hero__line { display: block; }
.hero__line--accent em { color: var(--gold-bright); font-weight: 400; }

.hero__sub {
  margin-top: 1.6rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--platinum);
}

/* Animation d’entrée du hero */
.hero__reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1.1s var(--ease-out) var(--d, 0s) forwards;
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Badges stores */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.6rem;
}
.store-badges--center { justify-content: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(19, 34, 68, 0.55), rgba(8, 17, 38, 0.75));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
.badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -18px rgba(201, 169, 106, 0.45);
}
.badge__icon { width: 26px; height: 26px; color: var(--ivory); flex: none; }
.badge__text { display: flex; flex-direction: column; line-height: 1.25; }
.badge__text small {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--platinum);
}
.badge__text strong { font-size: 0.98rem; font-weight: 500; }

/* Constellation — orbites */
.hero__visual { position: relative; }

.orbit-field {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid var(--gold-faint);
  border-radius: 50%;
}
.orbit--1 { inset: 6%; border-color: rgba(201, 169, 106, 0.2); }
.orbit--2 { inset: -4%; }
.orbit--3 { inset: 18%; border-style: dashed; border-color: rgba(201, 169, 106, 0.14); }

.orbit-carrier {
  position: absolute;
  inset: 0;
  animation: orbitSpin var(--speed, 60s) linear infinite;
  pointer-events: none;
}
.orbit-carrier--1 { --speed: 58s; }
.orbit-carrier--2 { --speed: 74s; animation-direction: reverse; inset: -4%; }
.orbit-carrier--3 { --speed: 92s; inset: 18%; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }

.orbit-node {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--gold-dim);
  background: rgba(8, 17, 38, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  animation: orbitCounter var(--speed, 60s) linear infinite;
}
.orbit-carrier--2 .orbit-node { --speed: 74s; animation-direction: reverse; top: 100%; }
.orbit-carrier--3 .orbit-node { --speed: 92s; left: 0; top: 50%; }

@keyframes orbitCounter { to { transform: translate(-50%, -50%) rotate(-360deg); } }

/* Mockup téléphone */
.phone {
  position: relative;
  width: min(64vw, 250px);
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(165deg, #262f47, #0a1226 45%);
  border: 1px solid rgba(163, 171, 190, 0.22);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(5, 9, 26, 0.9),
    0 0 90px -20px rgba(201, 169, 106, 0.28);
}
.phone__screen {
  border-radius: 30px;
  background: linear-gradient(175deg, #0d1830, #060c1e 70%);
  padding: 1.1rem 1.15rem 1.4rem;
  overflow: hidden;
  position: relative;
}
.phone__glare {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(243, 239, 229, 0.05) 48%, transparent 56%);
}
.phone__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--platinum-dim);
  margin-bottom: 1.3rem;
}
.phone__notch {
  width: 64px; height: 16px;
  border-radius: 999px;
  background: #030612;
  border: 1px solid rgba(163, 171, 190, 0.12);
}
.phone__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--platinum);
}
.phone__amount {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 0.3rem;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.phone__delta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--emerald);
  margin-top: 0.25rem;
}
.phone__spark { width: 100%; height: 52px; margin-top: 0.9rem; }
.phone__rows { margin-top: 0.9rem; list-style: none; }
.phone__rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.72rem;
  color: var(--platinum);
  padding: 0.42rem 0;
  border-top: 1px solid rgba(163, 171, 190, 0.09);
}
.phone__rows .num { color: var(--ivory); font-size: 0.7rem; }

.hero__scrollcue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--platinum-dim);
  transition: color 0.3s ease;
}
.hero__scrollcue:hover { color: var(--gold-bright); }
.hero__scrollline {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: cuePulse 2.4s ease-in-out infinite;
}
@keyframes cuePulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ─────────────── 2 · Scrollytelling vision ─────────────── */
.vision { height: 320vh; position: relative; }

.vision__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(4.5rem, 9vh, 6rem) var(--gutter) 2rem;
  background:
    radial-gradient(55% 45% at 50% 58%, rgba(19, 34, 68, 0.55), transparent 72%);
}
.vision__head { text-align: center; position: relative; z-index: 3; }

.vision__stage {
  position: relative;
  flex: 1;
  width: min(100%, 900px);
  margin-top: 1.5rem;
}

.vision__rings { position: absolute; inset: 0; display: grid; place-items: center; }
.vision__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 106, 0.13);
}
.vision__ring--a { width: min(74vw, 500px); height: min(74vw, 500px); }
.vision__ring--b { width: min(94vw, 680px); height: min(94vw, 680px); border-style: dashed; opacity: 0.6; }

.phone--mini {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(52vw, 220px);
}
.phone--mini .phone__screen { padding-bottom: 1.2rem; }

.alloc { margin-top: 1rem; }
.alloc__bar {
  display: flex;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  gap: 2px;
}
.alloc__seg { display: block; height: 100%; border-radius: 2px; }
.alloc__seg--1, .alloc__dot--1 { background: var(--gold); }
.alloc__seg--2, .alloc__dot--2 { background: var(--gold-bright); }
.alloc__seg--3, .alloc__dot--3 { background: #8d7a52; }
.alloc__seg--4, .alloc__dot--4 { background: #46557d; }
.alloc__seg--5, .alloc__dot--5 { background: var(--emerald); }

.alloc__legend { list-style: none; margin-top: 1rem; }
.alloc__legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--platinum);
  padding: 0.32rem 0;
}
.alloc__legend b { margin-left: auto; color: var(--ivory); font-weight: 400; font-size: 0.66rem; }
.alloc__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

.capsules { position: absolute; inset: 0; z-index: 2; }
.capsule {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) translateY(34px) scale(0.92);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--gold-dim);
  background: rgba(8, 17, 38, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ivory);
  white-space: nowrap;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.capsule.is-on {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0) scale(1);
}
.capsule__icon {
  width: 17px; height: 17px;
  stroke: var(--gold);
  stroke-width: 1.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ─────────────── 3 · Tout suivre ─────────────── */
.follow {
  padding: var(--section-pad) var(--gutter);
  position: relative;
}
.follow::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(60%, 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.follow__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.follow__list { margin-top: 2.6rem; }
.follow__list li {
  padding: 1.35rem 0 1.35rem 1.6rem;
  border-left: 1px solid rgba(201, 169, 106, 0.2);
  position: relative;
  transition: border-color 0.4s ease;
}
.follow__list li::before {
  content: "";
  position: absolute;
  left: -3px; top: 1.75rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.follow__list li:hover { border-color: var(--gold); }
.follow__list li:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px 2px rgba(201, 169, 106, 0.45);
}
.follow__list h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.follow__list p {
  color: var(--platinum);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

/* Pile de cartes */
.cardstack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  perspective: 1200px;
}
.wcard {
  border: 1px solid rgba(163, 171, 190, 0.14);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(19, 34, 68, 0.5), rgba(8, 17, 38, 0.85));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease;
}
.wcard:hover {
  transform: translateY(-4px) rotateX(1.5deg);
  border-color: var(--gold-dim);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8), 0 0 50px -24px rgba(201, 169, 106, 0.4);
}
.wcard--1 { margin-right: clamp(0rem, 6vw, 4rem); }
.wcard--2 { margin-left: clamp(0rem, 6vw, 4rem); }
.wcard--3 { margin-right: clamp(0rem, 3vw, 2rem); }

.wcard__type {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.wcard__name { margin-top: 0.4rem; font-size: 0.98rem; font-weight: 400; }
.wcard__value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-top: 0.35rem;
}
.wcard__meta { font-size: 0.78rem; color: var(--platinum); margin-top: 0.3rem; }
.wcard__meta b { color: var(--ivory); font-weight: 400; }
.wcard__progress {
  margin-top: 0.9rem;
  height: 5px;
  border-radius: 999px;
  background: rgba(163, 171, 190, 0.14);
  overflow: hidden;
}
.wcard__progress span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #8d7a52, var(--gold-bright));
}

/* ─────────────── 4 · Consolidation cinématique ─────────────── */
.merge { height: 260vh; position: relative; }

.merge__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 8vh, 5rem) var(--gutter);
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(19, 34, 68, 0.6), transparent 75%);
}
.merge__head { text-align: center; z-index: 3; }

.merge__stage {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 860px;
  display: grid;
  place-items: center;
  min-height: 0;
}

.frag {
  position: absolute;
  left: 50%; top: 50%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.45rem 1rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  background: rgba(8, 17, 38, 0.8);
  white-space: nowrap;
  /* position pilotée par JS via --p (progression 0 → 1) ;
     les fragments s’estompent quand le panneau consolidé apparaît */
  transform:
    translate(-50%, -50%)
    translate(calc(var(--sx) * (1 - var(--p, 0))), calc(var(--sy) * (1 - var(--p, 0))))
    rotate(calc(var(--r) * (1 - var(--p, 0))));
  opacity: clamp(0, min(calc(0.35 + 0.65 * var(--p, 0)), calc((0.85 - var(--p, 0)) / 0.25)), 1);
}

.merge__panel {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  border-radius: 22px;
  border: 1px solid rgba(201, 169, 106, 0.3);
  background: linear-gradient(165deg, rgba(19, 34, 68, 0.97), rgba(6, 12, 30, 0.99));
  padding: 1.8rem 2rem;
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, 0.85),
    0 0 80px -30px rgba(201, 169, 106, 0.35);
  opacity: calc((var(--p, 0) - 0.55) / 0.45);
  transform: scale(calc(0.92 + 0.08 * var(--p, 0)));
}
.merge__panel-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.merge__panel-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-top: 0.5rem;
}
.merge__panel-rows { list-style: none; margin-top: 1.2rem; }
.merge__panel-rows li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--platinum);
  padding: 0.5rem 0;
  border-top: 1px solid rgba(163, 171, 190, 0.1);
}
.merge__panel-rows i {
  flex: 1;
  border-bottom: 1px dotted rgba(163, 171, 190, 0.25);
  transform: translateY(-3px);
}
.merge__panel-rows .num { color: var(--ivory); }

.merge__caption {
  z-index: 3;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--platinum);
  text-align: center;
}

/* ─────────────── 5 · Bénéfices ─────────────── */
.benefits {
  padding: var(--section-pad) var(--gutter);
  position: relative;
}
.benefits::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(60%, 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.benefits__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  text-align: center;
}
.benefits__list {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  text-align: left;
}
.benefit {
  padding: 1.8rem 1.6rem;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s var(--ease-out);
}
.benefit:hover {
  border-color: rgba(201, 169, 106, 0.22);
  background: rgba(19, 34, 68, 0.28);
  transform: translateY(-4px);
}
.benefit__icon {
  width: 30px; height: 30px;
  stroke: var(--gold);
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.2rem;
}
.benefit h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.benefit p {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--platinum);
}

/* ─────────────── 6 · CTA final ─────────────── */
.cta {
  position: relative;
  padding: calc(var(--section-pad) * 1.15) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.cta__halo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 60% at 50% 100%, rgba(201, 169, 106, 0.12), transparent 70%),
    radial-gradient(60% 50% at 50% 0%, rgba(19, 34, 68, 0.7), transparent 70%);
}
.cta__inner { position: relative; max-width: 760px; margin-inline: auto; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.08;
}
.cta__title em { color: var(--gold-bright); font-weight: 400; }
.cta__sub {
  margin-top: 1.4rem;
  color: var(--platinum);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
}
.cta .store-badges { margin-top: 2.8rem; }

/* ─────────────── Footer ─────────────── */
.footer {
  border-top: 1px solid rgba(163, 171, 190, 0.1);
  padding: 3rem var(--gutter) 2.5rem;
}
.footer__inner {
  max-width: var(--page-max);
  margin-inline: auto;
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  text-align: center;
}
.footer__brand {
  font-family: var(--font-mono);
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  color: var(--gold);
}
.footer__links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer__links a {
  font-size: 0.82rem;
  color: var(--platinum);
  transition: color 0.3s ease;
}
.footer__links a:hover { color: var(--gold-bright); }
.footer__note {
  font-size: 0.75rem;
  color: var(--platinum-dim);
  max-width: 46rem;
}
.footer__copy { font-size: 0.72rem; color: var(--platinum-dim); }

/* ─────────────── Responsive ─────────────── */
/* Viewports étroits : les pastilles orbitales ne doivent jamais
   sortir de l’écran en position 3 h / 9 h */
@media (max-width: 1150px) {
  .orbit-field { width: min(100%, 360px); }
  .orbit-carrier--2 { inset: 0; }
  .orbit-node { font-size: 0.6rem; padding: 0.35rem 0.75rem; }
}

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

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .hero__visual { order: -1; margin-top: 1rem; }
  .orbit-field { width: min(88vw, 380px); }
  .hero { padding-top: 6rem; }
  .hero__scrollcue { display: none; }

  .follow__inner { grid-template-columns: 1fr; }
  .follow__visual { order: -1; }

  /* Scrollytelling : capsules resserrées autour du téléphone */
  .capsule { font-size: 0.68rem; padding: 0.45rem 0.8rem; }
  .capsule__icon { width: 14px; height: 14px; }
  .capsule[data-step="0"] { --x: 18% !important; --y: 12% !important; }
  .capsule[data-step="1"] { --x: 80% !important; --y: 10% !important; }
  .capsule[data-step="2"] { --x: 10% !important; --y: 34% !important; }
  .capsule[data-step="3"] { --x: 86% !important; --y: 32% !important; }
  .capsule[data-step="4"] { --x: 20% !important; --y: 58% !important; }
  .capsule[data-step="5"] { --x: 86% !important; --y: 56% !important; }
  .capsule[data-step="6"] { --x: 50% !important; --y: 4%  !important; }
  .capsule[data-step="7"] { --x: 74% !important; --y: 82% !important; }
  .capsule[data-step="8"] { --x: 24% !important; --y: 84% !important; }

  .frag { font-size: 0.58rem; padding: 0.35rem 0.7rem; }
  .merge__panel { padding: 1.4rem 1.5rem; }
}

@media (max-width: 560px) {
  .benefits__list { grid-template-columns: 1fr; }
  /* masquer le porteur entier : carrier + pastille redémarrent
     ensemble au retour desktop, la contre-rotation reste en phase */
  .orbit-carrier { display: none; }
  .nav__wordmark { letter-spacing: 0.22em; font-size: 0.82rem; }
  .nav__cta { padding: 0.5rem 1rem; font-size: 0.78rem; }
  .vision { height: 380vh; }
}

/* ─────────────── Reduced motion ─────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__reveal { animation: none; opacity: 1; transform: none; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }

  .orbit-carrier, .orbit-node, .hero__scrollline { animation: none; }

  .capsule { opacity: 1; transform: translate(-50%, -50%); transition: none; }

  .frag { display: none; }
  .merge__panel { opacity: 1; transform: none; }
  .vision, .merge { height: auto; }
  .vision__sticky, .merge__sticky { position: static; height: auto; min-height: 100svh; }

  .wcard, .benefit, .badge, .nav__cta { transition: none; }
  [data-parallax] { transform: none !important; }
}
