/* =========================================================
   nr_mediaflow — Studio web & mobile
   Feuille de style partagée (toutes les pages)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette tirée du logo nr_mediaflow : indigo profond + vague rouge → orange → jaune → turquoise → bleu */
  color-scheme: dark;
  --bg: #0b0820;
  --bg-2: #130e30;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f6f2ea;
  --muted: #9b95b3;
  --faint: #5a5478;
  --ink: #241763;
  --cream: #f7f2e8;
  --violet: #7b4dff;
  --red: #f0483e;
  --orange: #ff8a1f;
  --yellow: #ffc928;
  --teal: #12c2b0;
  --blue: #1d8fe0;
  --accent: #9b7bff;
  --accent-2: #12c2b0;
  --accent-3: #ffc928;
  --iris: linear-gradient(100deg, #f0483e 0%, #ff8a1f 28%, #ffc928 50%, #12c2b0 74%, #1d8fe0 100%);
  --ok: #4fe3b0;
  --err: #ff7a70;

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  --radius: 22px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- 3. Ambiance : grain + lueurs ---------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: -50%;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -2%); }
}

.glow {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
}
.glow--a { top: -25vmax; right: -20vmax; background: radial-gradient(circle, #5b2bd6 0%, transparent 65%); }
.glow--b { bottom: -30vmax; left: -25vmax; background: radial-gradient(circle, #12c2b0 0%, transparent 65%); opacity: 0.12; }

main, header, footer { position: relative; z-index: 2; }

/* ---------- 4. Layout & typo ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 14vw, 180px) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--iris);
  box-shadow: 0 0 12px var(--accent);
}

.display {
  font-size: clamp(48px, 11vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.h1 { font-size: clamp(42px, 7.5vw, 112px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 600; }
.h2 { font-size: clamp(34px, 5.2vw, 76px); line-height: 1; letter-spacing: -0.035em; font-weight: 500; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 46ch; line-height: 1.55; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.iris {
  background: var(--iris);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iris 8s ease-in-out infinite alternate;
}
@keyframes iris { to { background-position: 100% 0; } }

/* ---------- 5. Header / nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: transform 0.6s var(--ease), background 0.4s, padding 0.4s;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(11, 8, 32, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header.is-hidden { transform: translateY(-110%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 18px; }
.logo__mark { width: 34px; height: 30px; flex: none; color: currentColor; transition: transform 0.6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.06); }
.logo__word { font-weight: 800; letter-spacing: -0.035em; font-size: 19px; }
.logo__word i { font-style: normal; color: var(--orange); }

.nav { display: none; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--bg); background: var(--text); }

.header .header__cta { display: none; }

.burger {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  position: relative;
  z-index: 60;
}
.burger span {
  position: absolute; width: 16px; height: 1.5px; background: var(--text);
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.9s var(--ease-in-out);
  pointer-events: none;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.mobile-menu a.big {
  display: block;
  font-size: clamp(44px, 13vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 500;
  overflow: hidden;
}
.mobile-menu a.big span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
.menu-open .mobile-menu a.big span { transform: none; }
.menu-open .mobile-menu a.big:nth-child(2) span { transition-delay: 0.06s; }
.menu-open .mobile-menu a.big:nth-child(3) span { transition-delay: 0.12s; }
.menu-open .mobile-menu a.big:nth-child(4) span { transition-delay: 0.18s; }
.mobile-menu a.big[aria-current="page"] span { font-family: var(--font-serif); font-style: italic; }
.mobile-menu__foot { margin-top: auto; padding-top: 40px; display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header .header__cta { display: inline-flex; }
  .burger, .mobile-menu { display: none; }
}

/* ---------- 6. Boutons ---------- */
.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 15px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--iris);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { box-shadow: 0 10px 40px -10px rgba(201, 182, 255, 0.6); }
.btn:active { transform: scale(0.97); }
.btn .btn__label { position: relative; display: inline-block; overflow: hidden; }
.btn .btn__label span { display: block; transition: transform 0.5s var(--ease); }
.btn .btn__label span + span { position: absolute; inset: 0; transform: translateY(100%); }
.btn:hover .btn__label span:first-child { transform: translateY(-100%); }
.btn:hover .btn__label span + span { transform: none; }
.btn__icon {
  width: 28px; height: 28px; margin-right: -14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--btn-fg); color: var(--btn-bg);
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(-45deg); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost .btn__icon { background: var(--text); color: var(--bg); }
.btn--ghost:hover { color: var(--bg); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--sm .btn__icon { width: 24px; height: 24px; margin-right: -10px; }
.btn--block { width: 100%; }

.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple 0.7s var(--ease) forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.link-u {
  position: relative; display: inline-block;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 7. Curseur custom (desktop) ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 200;
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), background 0.4s, border-color 0.4s;
    mix-blend-mode: difference;
  }
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 201;
    width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
    background: #fff; border-radius: 50%; pointer-events: none;
    mix-blend-mode: difference;
  }
  .cursor.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; border-color: #fff; }
  .cursor.is-text { width: 4px; height: 32px; margin: -16px 0 0 -2px; border-radius: 2px; background: #fff; }
}

/* ---------- 8. Transition de page ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 300;
  pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.curtain span {
  background: #130e30;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.8s var(--ease-in-out);
  border-right: 1px solid rgba(255,255,255,0.03);
}
.curtain span:nth-child(2) { transition-delay: 0.05s; }
.curtain span:nth-child(3) { transition-delay: 0.1s; }
.curtain span:nth-child(4) { transition-delay: 0.15s; }
.curtain span:nth-child(5) { transition-delay: 0.2s; }
.is-loaded .curtain span { transform: scaleY(0); }
.is-leaving .curtain span { transform: scaleY(1); transform-origin: bottom; }
.curtain__label {
  position: fixed; inset: 0; z-index: 301; display: grid; place-items: center;
  pointer-events: none;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(28px, 5vw, 56px);
  opacity: 1; transition: opacity 0.4s;
}
.is-loaded .curtain__label { opacity: 0; }
.is-leaving .curtain__label { opacity: 1; transition-delay: 0.3s; }

/* ---------- 9. Animations au scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="left"] { transform: translateX(-40px); }

/* Titres ligne par ligne / mot par mot */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--i) * 0.045s + var(--d, 0s));
}
.split.is-in .w > span { transform: none; }

/* ---------- 10. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 48px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 2; }
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(24px, 4vw, 40px); }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 13px; color: var(--muted);
  backdrop-filter: blur(10px);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; }
.status__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--ok); animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }

.hero__top .eyebrow { display: none; }
@media (min-width: 700px) { .hero__top .eyebrow { display: inline-flex; } }
.hero__title { margin-bottom: clamp(32px, 5vw, 56px); }
.hero__title .serif { padding-right: 0.06em; }
.hero__bottom {
  display: grid; gap: 32px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  display: none; align-items: center; gap: 12px; color: var(--muted); font-size: 13px;
}
.hero__scroll i {
  width: 1px; height: 48px; background: var(--line-strong); position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--text); animation: scrollLine 2s var(--ease-in-out) infinite;
}
@keyframes scrollLine { to { top: 100%; } }
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr auto auto; align-items: end; gap: 48px; }
  .hero__scroll { display: flex; }
}

/* Orbe miroir */
.orb {
  position: absolute; z-index: 1;
  right: -12vw; top: 12vh;
  width: clamp(280px, 48vw, 720px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 18%),
    radial-gradient(circle at 70% 75%, rgba(126,224,255,0.55) 0%, transparent 45%),
    radial-gradient(circle at 25% 70%, rgba(201,182,255,0.6) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #1a1a24 0%, #0b0820 70%);
  box-shadow:
    inset -30px -40px 80px rgba(0,0,0,0.8),
    inset 20px 20px 60px rgba(255,255,255,0.08),
    0 0 120px rgba(124, 92, 255, 0.25);
  animation: orb 14s ease-in-out infinite alternate;
  will-change: transform;
}
.orb::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(201,182,255,0.4), transparent 30%, rgba(126,224,255,0.35), transparent 60%);
  mask: radial-gradient(circle, transparent 69%, #000 70%);
  -webkit-mask: radial-gradient(circle, transparent 69%, #000 70%);
  animation: spin 12s linear infinite;
}
@keyframes orb { to { transform: translate(-4vw, 6vh) scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 899px) { .orb { right: -30vw; top: 14vh; opacity: 0.85; } }

/* ---------- 11. Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 28px 0;
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); padding-right: clamp(24px, 3vw, 44px);
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -0.035em; line-height: 1;
  white-space: nowrap; color: var(--faint);
  transition: color 0.4s;
}
.marquee__item:hover { color: var(--text); }
.marquee__sep { font-weight: 300; color: var(--accent); opacity: 0.55; transition: opacity 0.4s; }
.marquee__item:hover .marquee__sep { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 12. Intro / manifesto ---------- */
.manifesto { font-size: clamp(28px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 400; max-width: 22ch; }
.manifesto .word { color: var(--faint); transition: color 0.3s; }
.manifesto .word.on { color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(56px, 8vw, 96px); }
.stat { background: var(--bg); padding: clamp(24px, 3vw, 40px); }
.stat__n { font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.04em; line-height: 1; font-weight: 500; }
.stat__l { color: var(--muted); font-size: 14px; margin-top: 10px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 13. Cartes services ---------- */
.section-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 88px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }

.cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.5s, transform 0.6s var(--ease);
  min-height: 380px;
  display: flex; flex-direction: column;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(201,182,255,0.14), transparent 40%);
  opacity: 0; transition: opacity 0.5s;
}
.card:hover { border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--muted); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 28px 0 auto;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), background 0.4s;
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { transform: translateY(-4px) rotate(-6deg); background: var(--text); color: var(--bg); }
.card h3 { margin: 40px 0 12px; }
.card p { color: var(--muted); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tag { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* ---------- 14. Showcase (scroll horizontal) ---------- */
.showcase { position: relative; }
.showcase__pin { position: relative; }
.showcase__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.showcase__track::-webkit-scrollbar { display: none; }
.shot {
  flex: none; width: 82vw; max-width: 560px; scroll-snap-align: center;
}
.shot__frame {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.shot__frame .mock { position: absolute; inset: 0; transition: transform 1s var(--ease); }
.shot:hover .mock { transform: scale(1.04); }
.shot__meta { display: flex; justify-content: space-between; margin-top: 16px; font-size: 14px; }
.shot__meta span:last-child { color: var(--muted); }

@media (min-width: 900px) {
  .showcase { height: 300vh; }
  .showcase__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .showcase__track { overflow: visible; scroll-snap-type: none; will-change: transform; padding-bottom: 0; }
  .shot { width: 38vw; }
  .shot__frame { aspect-ratio: 16 / 11; }
}

/* Mockups illustratifs en CSS pur */
.mock--a { background: linear-gradient(160deg, #1b1530, #0a0a10 60%); }
.mock--b { background: linear-gradient(200deg, #0e2a33, #0b0820 65%); }
.mock--c { background: linear-gradient(140deg, #2b2116, #0b0820 60%); }
.mock--d { background: linear-gradient(170deg, #161a2e, #0b0820 60%); }
.mock__ui {
  position: absolute; left: 8%; right: 8%; top: 10%; bottom: 0;
  border-radius: 14px 14px 0 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-bottom: 0;
  padding: 18px;
  backdrop-filter: blur(6px);
}
.mock__bar { display: flex; gap: 6px; margin-bottom: 22px; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock__h { height: 18%; width: 70%; border-radius: 8px; background: rgba(255,255,255,0.12); margin-bottom: 12px; }
.mock__l { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.08); margin-bottom: 8px; }
.mock__l.s { width: 45%; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.mock__grid i { aspect-ratio: 1; border-radius: 8px; background: rgba(255,255,255,0.06); }
.mock__phone {
  position: absolute; left: 50%; top: 12%; transform: translateX(-50%);
  width: 38%; aspect-ratio: 9 / 19; border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14); background: #0b0b10;
  padding: 14px 10px; box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.mock__phone::before { content: ""; display: block; width: 32%; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.15); margin: 0 auto 14px; }
.mock__accent { background: var(--iris) !important; opacity: 0.85; }

/* ---------- 15. Process ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.step::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--iris); transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.step.is-in::after { transform: scaleX(1); }
.step__n { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--muted); }
.step p { color: var(--muted); margin-top: 8px; max-width: 52ch; }
@media (min-width: 900px) {
  .step { grid-template-columns: 120px 1fr 1fr; gap: 32px; align-items: baseline; padding: 44px 0; }
  .step p { margin: 0; }
}

/* ---------- 16. CTA final ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  padding: clamp(48px, 9vw, 120px) clamp(24px, 6vw, 80px);
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(600px 300px at 10% -20%, rgba(0, 166, 214, 0.2), transparent 60%),
    var(--bg-2);
}
.cta .h1 { max-width: 14ch; margin: 24px auto 32px; }
.cta .lead { margin: 0 auto 40px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- 17. Footer ---------- */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); margin-top: clamp(60px, 10vw, 120px); }
.footer__grid { display: grid; gap: 40px; }
.footer__big {
  font-family: var(--font-display); font-stretch: 75%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 14.5vw, 230px); letter-spacing: -0.03em; white-space: nowrap; line-height: 0.85; font-weight: 500;
  margin-top: 64px;
  background: linear-gradient(180deg, var(--text) 0%, rgba(236,235,230,0.05) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__col h4, .footer__h { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer__col a { display: block; padding: 4px 0; width: fit-content; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; color: var(--faint); font-size: 13px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---------- 18. Page hero (pages internes) ---------- */
.page-hero { padding: clamp(150px, 22vw, 240px) 0 clamp(40px, 6vw, 80px); position: relative; }
.page-hero .h1 { margin: 24px 0 28px; max-width: 14ch; }

/* ---------- 19. Tarifs ---------- */
.pricing { display: grid; gap: 16px; }
@media (min-width: 1000px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: transform 0.6s var(--ease), border-color 0.4s;
  overflow: hidden;
}
.plan::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(126,224,255,0.1), transparent 45%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan:hover::before { opacity: 1; }
.plan--featured {
  background: linear-gradient(180deg, rgba(201,182,255,0.08), rgba(255,255,255,0.02));
  border-color: rgba(201,182,255,0.35);
}
.plan--featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--iris);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
  opacity: 0.6; pointer-events: none;
}
.plan__badge {
  position: absolute; top: 24px; right: 24px;
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 500;
}
.plan__name { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 8px; }
.plan__price b { font-size: clamp(52px, 6vw, 72px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.plan__price span { color: var(--muted); }
.plan__desc { color: var(--muted); margin-bottom: 28px; min-height: 3.2em; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 12px; font-size: 15px; }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.plan .btn { margin-top: auto; }

.range {
  margin-top: 56px; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.range__bar { position: relative; height: 6px; border-radius: 3px; background: var(--surface-2); margin: 28px 0 14px; overflow: hidden; }
.range__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--iris); border-radius: inherit; transition: width 1.6s var(--ease); }
.range.is-in .range__fill { width: 100%; }
.range__labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.range__labels b { color: var(--text); font-weight: 500; }

.included { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.included > div { background: var(--bg); padding: 28px; }
.included h4, .included h3 { font-weight: 500; font-size: 17px; margin: 16px 0 6px; }
.included p { color: var(--muted); font-size: 15px; }
.included svg { width: 22px; height: 22px; color: var(--accent); }
@media (min-width: 700px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .included { grid-template-columns: repeat(4, 1fr); } }

/* App mobile – bandeau */
.app-band {
  display: grid; gap: 32px; align-items: center;
  border-radius: var(--radius); border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 64px);
  background: radial-gradient(600px 300px at 100% 0%, rgba(126,224,255,0.12), transparent 60%), var(--surface);
  overflow: hidden; position: relative;
}
.app-band__visual { position: relative; height: 320px; }
.app-band__visual .mock__phone { width: 150px; top: 0; }
.app-band__visual .mock__phone:nth-child(2) { left: 30%; top: 30px; transform: translateX(-50%) rotate(-8deg); opacity: 0.6; }
.app-band__visual .mock__phone:nth-child(3) { left: 70%; top: 30px; transform: translateX(-50%) rotate(8deg); opacity: 0.6; }
.app-band__visual .mock__phone:nth-child(1) { z-index: 2; }
@media (min-width: 900px) { .app-band { grid-template-columns: 1.2fr 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; text-align: left; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -0.01em;
}
.faq__plus { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform 0.5s var(--ease), background 0.3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.5s var(--ease); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.open .faq__plus { background: var(--text); color: var(--bg); transform: rotate(180deg); }
.faq__item.open .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 28px; max-width: 64ch; }
.faq__item.open .faq__a { grid-template-rows: 1fr; }

/* ---------- 20. Formulaires ---------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 26px 18px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  outline: none;
  font-size: 16px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field label {
  position: absolute; left: 19px; top: 18px;
  color: var(--muted); font-size: 16px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.35s var(--ease), color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(201,182,255,0.55);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(201,182,255,0.08);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(0.75); }
.field select { cursor: pointer; }
.field--select::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select option { background: var(--bg-2); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.field__err { display: block; font-size: 13px; color: var(--err); margin-top: 6px; min-height: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted); cursor: pointer;
  transition: all 0.35s var(--ease);
}
.chip span:hover { color: var(--text); border-color: var(--text); }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.group-label { font-size: 13px; color: var(--muted); margin: 8px 0 12px; display: block; }

/* Contact layout */
.contact { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.contact__info { display: grid; gap: 4px; align-content: start; }
.contact__row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
}
.contact__row:hover { padding-left: 10px; }
.contact__row small { display: block; color: var(--muted); font-size: 13px; }
.contact__row strong { font-weight: 500; font-size: clamp(18px, 2vw, 22px); word-break: break-word; }
.contact__row .arrow { transition: transform 0.5s var(--ease); flex: none; }
.contact__row:hover .arrow { transform: rotate(-45deg); }
.panel {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  padding: clamp(24px, 4vw, 48px);
  position: relative; overflow: hidden;
}

.success {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 32px; background: var(--bg-2);
  opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.success.show { opacity: 1; visibility: visible; }
.check {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 24px;
  display: grid; place-items: center; background: var(--iris); color: var(--bg);
  transform: scale(0); transition: transform 0.8s var(--ease) 0.2s;
}
.success.show .check { transform: scale(1); }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 0.6s var(--ease) 0.7s; }
.success.show .check path { stroke-dashoffset: 0; }

/* ---------- 21. Prise de rendez-vous ---------- */
.booking { display: grid; gap: 16px; }
@media (min-width: 1000px) { .booking { grid-template-columns: 340px 1fr; } }

.booking__aside .panel { height: 100%; display: flex; flex-direction: column; gap: 24px; }
.booker { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--iris); display: grid; place-items: center; color: var(--bg); font-weight: 600;
}
.meta-list { list-style: none; display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.meta-list li { display: flex; gap: 12px; align-items: center; }
.meta-list svg { width: 18px; height: 18px; flex: none; color: var(--text); }
.summary {
  margin-top: auto; padding: 20px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px dashed var(--line-strong);
  font-size: 14px; color: var(--muted);
  transition: border-color 0.4s, background 0.4s;
}
.summary.filled { border-style: solid; border-color: rgba(201,182,255,0.4); color: var(--text); }
.summary strong { display: block; font-size: 18px; font-weight: 500; color: var(--text); margin-top: 4px; }

.stepper { display: flex; gap: 8px; margin-bottom: 28px; }
.stepper i { flex: 1; height: 3px; border-radius: 2px; background: var(--surface-2); position: relative; overflow: hidden; }
.stepper i::after { content: ""; position: absolute; inset: 0; background: var(--iris); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.stepper i.on::after { transform: scaleX(1); }

.bk-step { display: none; }
.bk-step.active { display: block; animation: stepIn 0.7s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.cal-wrap { display: grid; gap: 28px; }
@media (min-width: 760px) { .cal-wrap { grid-template-columns: 1.3fr 1fr; } }

.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cal__month { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; text-transform: capitalize; }
.cal__nav { display: flex; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease), opacity 0.3s;
}
.icon-btn:hover:not(:disabled) { background: var(--text); color: var(--bg); }
.icon-btn:active:not(:disabled) { transform: scale(0.9); }
.icon-btn:disabled { opacity: 0.25; cursor: not-allowed; }

.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font-size: 12px; color: var(--faint); padding: 8px 0; text-transform: uppercase; letter-spacing: 0.08em; }
.cal__grid.anim { animation: stepIn 0.5s var(--ease); }
.day {
  aspect-ratio: 1; border-radius: 12px; font-size: 15px; position: relative;
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.day:not(:disabled) { background: var(--surface-2); color: var(--text); }
.day:not(:disabled):hover { background: rgba(201,182,255,0.18); transform: translateY(-2px); }
.day:disabled { color: var(--faint); cursor: default; }
.day.today::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-2); }
.day.selected { background: var(--text) !important; color: var(--bg) !important; transform: scale(1.04); }
.day.empty { visibility: hidden; }

.slots__title { font-size: 15px; color: var(--muted); margin-bottom: 16px; min-height: 24px; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slot {
  height: 48px; border-radius: 12px; border: 1px solid var(--line-strong);
  font-size: 15px; font-variant-numeric: tabular-nums;
  transition: all 0.35s var(--ease);
  opacity: 0; transform: translateY(10px);
  animation: slotIn 0.5s var(--ease) forwards; animation-delay: calc(var(--i) * 0.04s);
}
@keyframes slotIn { to { opacity: 1; transform: none; } }
.slot:hover:not(:disabled) { border-color: var(--text); background: var(--surface-2); }
.slot.selected { background: var(--iris); color: var(--bg); border-color: transparent; font-weight: 500; }
.slot:disabled { opacity: 0.3 !important; text-decoration: line-through; cursor: not-allowed; }
.slots__empty { grid-column: 1 / -1; color: var(--faint); font-size: 14px; padding: 32px 16px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }

.bk-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.bk-actions .btn:disabled { opacity: 0.35; pointer-events: none; }
.back { color: var(--muted); font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.back:hover { color: var(--text); }

.confirm { text-align: center; padding: 24px 0; }
.confirm .check { transform: scale(1); }
.confirm .check path { stroke-dashoffset: 0; }
.confirm__card {
  max-width: 440px; margin: 28px auto; padding: 24px; text-align: left;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2);
  display: grid; gap: 10px; font-size: 15px;
}
.confirm__card div { display: flex; justify-content: space-between; gap: 16px; }
.confirm__card span { color: var(--muted); }
.confirm__card b { font-weight: 500; text-align: right; }

/* ---------- 22. Utilitaires ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- 23. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
  .showcase { height: auto !important; }
  .showcase__pin { position: relative !important; height: auto !important; }
  .showcase__track { overflow-x: auto !important; transform: none !important; }
}

/* =========================================================
   24. ACCUEIL — Story 3D au défilement (inspiration « produit qui tourne »)
   ========================================================= */
.story { position: relative; height: 440vh; }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at var(--bx, 50%) 48%, var(--c1, #3a2a9a) 0%, transparent 70%),
    radial-gradient(120% 90% at 50% 110%, var(--c3, #1b0f5c) 0%, transparent 60%),
    var(--c2, #0b0820);
}
.story__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(0,0,0,0.45) 100%);
}
.story__giant {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 900; font-stretch: 70%;
  text-transform: uppercase; line-height: 0.8; letter-spacing: -0.01em;
  font-size: clamp(120px, 26vw, 420px);
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none; user-select: none;
  opacity: 0; will-change: opacity, filter, transform;
}

.stage { position: absolute; inset: 0; perspective: 1600px; perspective-origin: 50% 42%; pointer-events: none; }
.stage__shadow {
  position: absolute; left: 50%; top: 50%; width: 460px; height: 70px; margin: -35px 0 0 -230px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,0.55), transparent);
  filter: blur(6px); will-change: transform, opacity;
}
.rig { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }

/* Écran (moniteur du logo) construit en tranches empilées */
.mon { position: absolute; width: 520px; height: 360px; left: -260px; top: -242px; transform-style: preserve-3d; }
.mon__s { position: absolute; inset: 0; border-radius: 30px; background: #1a104c; }
.mon__s:nth-child(odd) { background: #1d1253; }
.mon__front {
  background: linear-gradient(160deg, #3d2c94 0%, #261866 55%, #1b1150 100%);
  padding: 16px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.14), inset 0 2px 0 rgba(255,255,255,0.18);
}
.mon__front canvas, .pho__front canvas { display: block; width: 100%; height: 100%; border-radius: 15px; }
.mon__front::after, .pho__front::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.28) 46%, rgba(255,255,255,0.06) 52%, transparent 62%);
  background-size: 260% 100%; background-position: var(--gloss, 50%) 0;
  mix-blend-mode: screen;
}
.mon__back { background: radial-gradient(circle at 50% 40%, #35267e, #1a104c 70%); }
.mon__neck { position: absolute; left: 50%; top: 354px; width: 96px; height: 112px; margin-left: -48px; transform-style: preserve-3d; }
.mon__neck i { position: absolute; inset: 0; background: #1d1253; clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%); }
.mon__neck i:last-child { background: linear-gradient(180deg, #2a1c70, #3a2a8c); }
.mon__base { position: absolute; left: 50%; top: 406px; width: 260px; height: 120px; margin-left: -130px; transform-style: preserve-3d; transform: rotateX(90deg); }
.mon__base i { position: absolute; inset: 0; border-radius: 60px; background: #1a104c; }
.mon__base i:first-child { background: linear-gradient(180deg, #4a37a8, #2a1c70); }

/* Téléphone */
.pho { position: absolute; width: 214px; height: 436px; left: -107px; top: -218px; transform-style: preserve-3d; }
.pho__s { position: absolute; inset: 0; border-radius: 40px; background: #1a104c; }
.pho__front { background: linear-gradient(160deg, #3d2c94, #1b1150); padding: 9px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.16); }
.pho__front canvas { border-radius: 32px; }

/* Fallback sans 3D */
.story__fallback { display: none; position: absolute; left: 50%; top: 40%; width: min(60vw, 420px); transform: translate(-50%, -50%); color: var(--cream); }
.no-3d .story__fallback { display: block; }
.no-3d .stage { display: none; }

/* Chapitres de texte */
.chap {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  left: max(var(--gutter), env(safe-area-inset-left, 0px)); width: min(440px, 36vw);
  pointer-events: none;
}
.chap--right { left: auto; right: max(calc(var(--gutter) + 72px), env(safe-area-inset-right, 0px)); }
.chap.on { pointer-events: auto; }
.chap__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.chap__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chap__title {
  font-family: var(--font-display); font-weight: 900; font-stretch: 72%;
  text-transform: uppercase; line-height: 0.86; letter-spacing: -0.005em;
  font-size: clamp(46px, 6.2vw, 104px);
  margin: 18px 0 20px;
}
.chap__title .ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.chap__title .ln > span { display: block; transform: translateY(105%); transition: transform 0.9s var(--ease); }
.chap__title .ln:nth-child(2) > span { transition-delay: 0.07s; }
.chap p, .chap .chap__more {
  color: rgba(255,255,255,0.82); max-width: 40ch; font-size: 16px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s var(--ease) 0.15s, transform 0.7s var(--ease) 0.15s;
}
.chap .chap__more { max-width: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chap.on .chap__tag, .chap.on p, .chap.on .chap__more { opacity: 1; transform: none; }
.chap.on .chap__title .ln > span { transform: none; }
.chap:not(.on) .chap__tag, .chap:not(.on) p, .chap:not(.on) .chap__more { transition-delay: 0s; transition-duration: 0.35s; }
.chap:not(.on) .chap__title .ln > span { transform: translateY(-105%); transition-duration: 0.5s; transition-delay: 0s; }
.price-chip { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: 22px; letter-spacing: 0.01em; }

.chap--hero {
  top: auto; bottom: clamp(28px, 6vh, 64px); transform: none;
  left: 0; right: 0; width: auto; text-align: center;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.chap--hero .chap__title { font-size: clamp(48px, 8.4vw, 148px); margin: 16px 0 18px; }
.chap--hero p { margin: 0 auto; max-width: 52ch; }
.chap--hero .chap__more { justify-content: center; }
.chap--hero .status { opacity: 0; transition: opacity 0.6s; }
.chap--hero.on .status { opacity: 1; }
.chap--end { top: auto; bottom: clamp(28px, 7vh, 72px); transform: none; left: 0; right: 0; width: auto; text-align: center; }
.chap--end p { margin: 0 auto; }
.chap--end .chap__more { justify-content: center; }

/* Navigation latérale (icônes) */
.story__nav { position: absolute; z-index: 4; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 10px; }
.story__nav button {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.28); color: #fff; background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.story__nav button svg { width: 18px; height: 18px; }
.story__nav button:hover { transform: scale(1.08); }
.story__nav button.on { background: #fff; color: #1a104c; }
@media (min-width: 900px) { .story__nav { display: flex; } }

@media (max-width: 899px) {
  .chap, .chap--right { top: auto; bottom: 54px; transform: none; left: 0; right: 0; width: auto;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .chap__title { font-size: clamp(42px, 12.5vw, 72px); margin: 14px 0 12px; }
  .chap--hero .chap__title { font-size: clamp(40px, 12vw, 76px); margin: 12px 0 14px; }
  .chap p { font-size: 15px; }
  .chap--hero, .chap--end { bottom: 46px; }
}

/* Bouton clair sur fond coloré */
.btn--light { --btn-bg: #fff; --btn-fg: #1a104c; }

/* =========================================================
   25. Sections éditoriales claires (inspiration « immobilier de luxe »)
   ========================================================= */
.ed {
  --bg: var(--cream); --text: var(--ink); --muted: #5f577a; --faint: #a39cb6;
  --line: rgba(36, 23, 99, 0.13); --line-strong: rgba(36, 23, 99, 0.3);
  --surface: rgba(36, 23, 99, 0.04); --surface-2: rgba(36, 23, 99, 0.07);
  background: var(--bg); color: var(--text);
  position: relative; z-index: 2;
}
.ed ::selection { background: var(--ink); color: var(--cream); }
.ed .btn:hover { color: var(--ink); }
.ed .btn:hover .btn__icon { background: var(--ink); color: var(--cream); }
.ed .eyebrow::before { box-shadow: none; }

.ed__title {
  font-family: var(--font-serif); font-weight: 400; font-style: normal;
  font-size: clamp(52px, 9vw, 148px); line-height: 0.92; letter-spacing: -0.035em;
  text-wrap: balance;
}
.ed__title em { font-style: italic; }
.ed__intro { text-align: center; padding-top: clamp(96px, 14vw, 180px); }
.ed__intro .ed__title { margin: 22px auto 26px; max-width: 12ch; }
.ed__intro .lead { margin: 0 auto; }

.arches { display: grid; gap: 28px; margin-top: clamp(56px, 8vw, 100px); justify-items: center; }
@media (min-width: 760px) { .arches { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); } }
.arch { width: 100%; max-width: 380px; text-align: center; }
.arch__img {
  position: relative; aspect-ratio: 3 / 4; max-width: 100%;
  border-radius: 999px 999px 20px 20px; overflow: hidden;
  background: var(--ink);
  transform: translateZ(0);
}
.arch__img svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.arch:hover .arch__img svg { transform: scale(1.06) translateY(-2%); }
.arch h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.02em; margin-top: 22px; }
.arch p { color: var(--muted); font-size: 15px; max-width: 30ch; margin: 6px auto 0; }

.ed-price { display: grid; gap: 40px; align-items: end; padding-block: clamp(96px, 13vw, 170px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .ed-price { grid-template-columns: 1.2fr 1fr; gap: 80px; } }
.ed-price .ed__title { font-size: clamp(56px, 8.6vw, 140px); }
.ed-price__list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin: 24px 0 32px; }
.ed-price__list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.ed-price__list li span:last-child { font-weight: 600; white-space: nowrap; }

.ed-steps { display: grid; gap: 0; padding-block: clamp(80px, 11vw, 140px); }
@media (min-width: 900px) { .ed-steps { grid-template-columns: repeat(4, 1fr); } }
.ed-step { padding: 28px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .ed-step { padding: 32px 28px 0 0; } }
.ed-step b { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 44px; line-height: 1; display: block; color: var(--violet); }
.ed-step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 18px 0 8px; }
.ed-step p { color: var(--muted); font-size: 15px; }

/* Grande phrase finale sur vagues animées */
.feel { position: relative; overflow: hidden; min-height: 90vh; display: grid; place-items: center; text-align: center; padding-block: 120px; background: var(--ink); }
.feel__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.feel__inner { position: relative; z-index: 2; color: #fff; }
.feel .ed__title { color: #fff; text-shadow: 0 4px 40px rgba(20, 10, 60, 0.35); max-width: 13ch; margin: 18px auto 36px; }
.feel .eyebrow { color: rgba(255,255,255,0.85); }
.feel .eyebrow::before { background: #fff; }
.body--home .footer { margin-top: 0; }


/* =========================================================
   26. Ajouts SEO (titres sémantiques, sections de contenu)
   ========================================================= */
/* Sans JavaScript : le contenu reste visible (robots, navigateurs anciens) */
html:not(.js) .curtain, html:not(.js) .curtain__label { display: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
html:not(.js) .split .w > span { transform: none; }

.chap__h1 {
  display: inline-block; margin: 0 auto;
  font: 600 13px/1.4 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px);
  max-width: 100%; text-wrap: balance;
}
@media (max-width: 899px) { .chap__h1 { font-size: 11px; letter-spacing: 0.1em; } }

h2.plan__name { font-weight: 400; font-size: 14px; line-height: 1.4; }

.footer__h { margin: 0; }
.faq__more { color: var(--muted); }

.prix__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .prix__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }
.prix__text { display: grid; gap: 18px; color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 62ch; }
.prix__text strong { color: var(--text); font-weight: 600; }

.ed-zones { display: grid; gap: 36px; padding-block: clamp(80px, 11vw, 140px); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .ed-zones { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; } }
.ed-zones .ed__title { font-size: clamp(48px, 7vw, 112px); }
.ed-zones__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 22px; padding: 0; }
.ed-zones__list li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--text); }
.ed-zones__links { font-size: 15px; color: var(--muted); }

.legal { max-width: 760px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.01em; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .todo { color: #ffc928; font-weight: 600; }
.chap__h1 { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.chap:not(.on) .chap__h1 { opacity: 0; transform: translateY(-10px); }


/* =========================================================
   27. V3 — Abonnement, refonte, Google Agenda, contact, légal
   ========================================================= */
[hidden] { display: none !important; }

/* Pied de page : 3 colonnes */
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ----- Abonnement Sérénité ----- */
.abo {
  position: relative; overflow: hidden;
  display: grid; gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(155, 123, 255, 0.35);
  background:
    radial-gradient(700px 360px at 0% 0%, rgba(123, 77, 255, 0.22), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(18, 194, 176, 0.14), transparent 60%),
    var(--surface);
}
.abo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--iris); opacity: 0.45;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
}
@media (min-width: 1000px) { .abo { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.abo__intro { min-width: 0; }
.abo__price { display: flex; align-items: baseline; gap: 10px; margin: 32px 0 8px; }
.abo__price b { font-size: clamp(64px, 8vw, 104px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.abo__price span { color: var(--muted); font-size: 20px; }
.abo__note { color: var(--muted); font-size: 14px; max-width: 40ch; }
.abo__cta { margin-top: 28px; }
.abo__list { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.abo__list li { display: flex; gap: 18px; padding: 24px; background: var(--bg-2); transition: background 0.4s; }
.abo__list li:hover { background: #18123a; }
.abo__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); transition: transform 0.5s var(--ease), background 0.4s, color 0.4s; }
.abo__ic svg { width: 22px; height: 22px; }
.abo__list li:hover .abo__ic { transform: rotate(-8deg) scale(1.06); background: var(--text); color: var(--bg); }
.abo__list h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.abo__list p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.abo__foot { grid-column: 1 / -1; color: var(--muted); font-size: 14px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ----- Prise de rendez-vous Google ----- */
.howto { list-style: none; counter-reset: s; display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.howto li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: 15px; }
.howto li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--iris); color: var(--bg); transform: translateY(5px); }
.howto b { color: var(--text); font-weight: 600; }
.gcal { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.gcal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.gcal__consent {
  display: grid; justify-items: center; text-align: center; gap: 22px;
  padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 48px);
  border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); background: var(--surface);
}
.gcal__consent p { color: var(--muted); max-width: 52ch; font-size: 15px; }
.gcal__consent strong { color: var(--text); }
.gcal__icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); animation: floaty 4s ease-in-out infinite; }
.gcal__icon svg { width: 34px; height: 34px; color: var(--accent); }
@keyframes floaty { 50% { transform: translateY(-6px); } }
.gcal__frame { border-radius: var(--radius-sm); overflow: hidden; background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); animation: stepIn 0.7s var(--ease); }
.gcal__frame iframe { display: block; width: 100%; height: 760px; border: 0; }
@media (max-width: 699px) { .gcal__frame iframe { height: 900px; } }

/* ----- Contact ----- */
.contact__copy { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--muted); transition: color 0.3s, border-color 0.3s, background 0.3s; }
.contact__copy:hover { color: var(--text); border-color: var(--text); }
.contact__copy svg { width: 14px; height: 14px; }
.form-error { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 122, 112, 0.5); background: rgba(255, 122, 112, 0.08); color: #ffb3ad; font-size: 14px; }

/* ----- Mentions légales ----- */
.legal__toc { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 20px 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--muted); }
.legal h2 { scroll-margin-top: 110px; }
.legal__card { display: grid; gap: 1px; margin: 18px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.legal__card > div { display: grid; gap: 4px; padding: 14px 18px; background: var(--bg); }
@media (min-width: 700px) { .legal__card > div { grid-template-columns: 240px 1fr; gap: 24px; } }
.legal__card dt { color: var(--muted); font-size: 14px; }
.legal__card dd { color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.legal__table { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal__table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal__table th { color: var(--text); font-weight: 600; background: var(--surface); }
.legal__table td { color: var(--muted); }
.legal__table tr:last-child td { border-bottom: 0; }
.legal p + p { margin-top: 12px; }

/* Empêche tout défilement horizontal (éléments décoratifs qui dépassent) sans casser les sections « collantes » */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* Fondu de sortie de l'animation d'accueil vers la section sombre suivante */
.story__veil { position: absolute; inset: 0; z-index: 5; background: var(--bg); opacity: 0; pointer-events: none; }

/* Lien Instagram */
.ig-link { display: inline-flex !important; align-items: center; gap: 8px; }
.ig-link svg { width: 16px; height: 16px; flex: none; transition: transform 0.5s var(--ease); }
.ig-link:hover svg { transform: rotate(-8deg) scale(1.12); }
.mobile-menu__foot .ig-link { color: var(--text); }
