/* ==========================================================================
   Snipy — site vitrine
   Tokens, then layout, then sections in page order.
   ========================================================================== */

:root {
  --bg: #05070f;
  --bg-2: #0a0e1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f4f6fb;
  --muted: #9aa3b8;
  --faint: #626b80;

  --brand: #62baf2;
  --blue: #2563eb;
  --sky: #38bdf8;
  --grad: linear-gradient(120deg, #2563eb 0%, #38bdf8 100%);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --radius: 24px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grad {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text);
}
.btn-small {
  height: 40px;
  padding: 0 18px;
  font-size: 15px;
  background: var(--text);
  color: var(--bg);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(56, 189, 248, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  .btn-ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.24); }
  .btn-ghost:hover svg { transform: translateX(3px); }
  .btn-small:hover { background: #fff; }
}
.btn-ghost svg { transition: transform 200ms var(--ease-out); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 7, 15, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand img { border-radius: 9px; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
}
.nav-links a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: var(--text); }
}
.nav .btn-small { margin-left: 8px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 116px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.b1 {
  width: 620px; height: 620px;
  left: 50%; top: -260px;
  margin-left: -560px;
  background: #2563eb;
  animation: drift-a 18s ease-in-out infinite alternate;
}
.b2 {
  width: 520px; height: 520px;
  left: 50%; top: -120px;
  margin-left: 80px;
  background: #38bdf8;
  opacity: 0.4;
  animation: drift-b 22s ease-in-out infinite alternate;
}
.b3 {
  width: 700px; height: 420px;
  left: 50%; top: 58%;
  margin-left: -350px;
  background: #1d4ed8;
  opacity: 0.35;
  animation: drift-a 26s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a {
  to { transform: translate3d(120px, 60px, 0) scale(1.15); }
}
@keyframes drift-b {
  to { transform: translate3d(-140px, 90px, 0) scale(0.9); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Logo badge (the hero of the hero) ---------- */

.logo-badge {
  --s: 104px;
  position: relative;
  width: var(--s);
  height: var(--s);
  margin-bottom: 26px;
}
.badge-face {
  position: absolute;
  inset: 0;
  border-radius: 27%;
  background: linear-gradient(160deg, #7cc8f6 0%, #62baf2 45%, #3b9fe6 100%);
  box-shadow:
    0 30px 60px -20px rgba(56, 189, 248, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.45) inset;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mark {
  position: relative;
  width: 50%;
  aspect-ratio: 512 / 644;
}
.half {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Split along the logo's own diagonal cut (measured from the artwork). */
.half.top { clip-path: polygon(0 0, 100% 0, 100% 33.8%, 0 65.1%); }
.half.bottom { clip-path: polygon(0 65.1%, 100% 33.8%, 100% 100%, 0 100%); }

.cut {
  position: absolute;
  left: -40%;
  top: 49.45%;
  width: 180%;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, transparent, #fff 40%, #fff 60%, transparent);
  transform: rotate(-21.5deg) scaleX(0);
  opacity: 0;
  filter: drop-shadow(0 0 6px #fff);
}
.sheen {
  position: absolute;
  inset: -20%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: sheen 7s var(--ease-in-out) 2.2s infinite;
}
@keyframes sheen {
  0% { transform: translateX(-120%); }
  18%, 100% { transform: translateX(120%); }
}
.badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 27%;
  border: 1px solid rgba(98, 186, 242, 0.6);
  opacity: 0;
}

/* Intro choreography — runs once, CSS-only so it starts before any JS. */
.logo-badge.intro .badge-face {
  animation: badge-in 0.9s var(--ease-out) both, badge-float 6s ease-in-out 1.6s infinite;
}
.logo-badge.intro .half.top { animation: half-top 1s var(--ease-out) 0.15s both; }
.logo-badge.intro .half.bottom { animation: half-bottom 1s var(--ease-out) 0.15s both; }
.logo-badge.intro .cut { animation: cut 0.7s var(--ease-out) 0.85s both; }
.logo-badge.intro .badge-ring { animation: ring 2.4s var(--ease-out) 0.95s both; }
.logo-badge.intro .badge-ring.r2 { animation-delay: 1.25s; }

@keyframes badge-in {
  from { opacity: 0; transform: scale(0.86) translateY(14px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes half-top {
  from { opacity: 0; transform: translate(34%, -9.5%); }
  40% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
@keyframes half-bottom {
  from { opacity: 0; transform: translate(-34%, 9.5%); }
  40% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
@keyframes cut {
  0% { opacity: 0; transform: rotate(-21.5deg) scaleX(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-21.5deg) scaleX(1); }
}
@keyframes ring {
  from { opacity: 0.9; transform: scale(1); }
  to { opacity: 0; transform: scale(2.1); }
}

/* Same choreography, triggered on scroll for the closing CTA. */
.logo-badge[data-reveal-logo] .half.top { opacity: 0; transform: translate(34%, -9.5%); }
.logo-badge[data-reveal-logo] .half.bottom { opacity: 0; transform: translate(-34%, 9.5%); }
.logo-badge[data-reveal-logo].in .half.top { animation: half-top 1s var(--ease-out) both; }
.logo-badge[data-reveal-logo].in .half.bottom { animation: half-bottom 1s var(--ease-out) both; }
.logo-badge[data-reveal-logo].in .cut { animation: cut 0.7s var(--ease-out) 0.7s both; }
.logo-badge[data-reveal-logo].in .badge-ring { animation: ring 2.4s var(--ease-out) 0.8s both; }

/* ---------- Hero copy ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  color: #cfe6fb;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
}

.hero-title {
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero-title .line > span {
  display: inline-block;
  animation: rise 1s var(--ease-out) var(--d, 0s) both;
}
@keyframes rise {
  from { transform: translateY(105%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--sky); }

.intro-up { animation: up 0.9s var(--ease-out) var(--d, 0s) both; }
@keyframes up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Hero stage (phone + floating UI) ---------- */

.hero-stage {
  position: relative;
  height: 470px;
  margin-top: 52px;
  perspective: 1400px;
  animation: stage-in 1.3s var(--ease-out) 0.65s both;
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
  mask-image: linear-gradient(#000 70%, transparent 100%);
}
@keyframes stage-in {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: none; }
}
.stage-tilt {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
.phone-hero {
  --pw: 300px;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: calc(var(--pw) / -2);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(16, 20, 34, 0.72);
  border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  text-align: left;
  white-space: nowrap;
}
.float-card b { display: block; font-size: 14px; font-weight: 600; }
.float-card small { display: block; font-size: 12.5px; color: var(--muted); }
.float-card img { border-radius: 8px; }
.fc-icon {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--sky);
}
.fc-icon svg { width: 18px; height: 18px; }
.fc-icon.ok { background: rgba(34, 197, 94, 0.16); color: #4ade80; }

.fc-left {
  left: 50%;
  top: 120px;
  margin-left: -430px;
  animation: pop 0.8s var(--ease-out) 1.35s both, bob 6s ease-in-out 2.2s infinite;
}
.fc-right {
  left: 50%;
  top: 250px;
  margin-left: 190px;
  animation: pop 0.8s var(--ease-out) 1.55s both, bob 7s ease-in-out 2.4s infinite reverse;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.chip {
  position: absolute;
  left: 50%;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-2);
  color: #d7e9fb;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: pop 0.8s var(--ease-out) var(--d) both, bob var(--b) ease-in-out calc(var(--d) + 0.8s) infinite;
}
.c1 { top: 30px; margin-left: -320px; --d: 1.2s; --b: 5.5s; }
.c2 { top: 50px; margin-left: 210px; --d: 1.3s; --b: 6.5s; }
.c3 { top: 340px; margin-left: -300px; --d: 1.45s; --b: 7s; }
.c4 { top: 150px; margin-left: 250px; --d: 1.6s; --b: 6s; }

@media (max-width: 900px) {
  .fc-left { margin-left: -330px; top: 90px; }
  .fc-right { margin-left: 110px; top: 300px; }
  .c1 { margin-left: -250px; }
  .c2 { margin-left: 170px; }
  .c3, .c4 { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 112px; }
  .logo-badge { --s: 92px; margin-bottom: 24px; }
  .hero-stage { height: 420px; margin-top: 48px; }
  .phone-hero { --pw: 260px; }
  .fc-left { left: 16px; margin-left: 0; top: 190px; }
  .fc-right { left: auto; right: 16px; margin-left: 0; top: 300px; }
  .float-card { padding: 10px 12px 10px 10px; }
  .float-card b { font-size: 13px; }
  .float-card small { font-size: 11.5px; }
  .chip { display: none; }
}

/* ==========================================================================
   PHONE MOCKUP — all inner sizes in em; 1em = phone width / 30
   ========================================================================== */

.phone {
  --pw: 300px;
  width: var(--pw);
  aspect-ratio: 30 / 63;
  font-size: calc(var(--pw) / 30);
  padding: 0.95em;
  border-radius: 4.8em;
  background: linear-gradient(145deg, #2b2f3d, #0b0d14 45%, #1d2030);
  box-shadow:
    0 0 0 0.12em rgba(255, 255, 255, 0.12) inset,
    0 4em 8em -2em rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.6);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 3.9em;
  overflow: hidden;
  background: #f7f7fb;
  color: #12131a;
  font-family: var(--font);
  line-height: 1.3;
  text-align: left;
}
.shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.97) translateY(1em);
  transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out);
}
.screen.is-active { opacity: 1; transform: none; }

/* Reminder notification dropping over the bookings screen */
.push {
  position: absolute;
  z-index: 4;
  top: 4.4em; left: 1em; right: 1em;
  display: flex;
  gap: 0.9em;
  align-items: center;
  padding: 1em 1.2em;
  border-radius: 1.8em;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1em 2.4em -1em rgba(18, 19, 26, 0.35);
  color: #12131a;
  font-size: 1.1em;
  line-height: 1.25;
  transform: translateY(-160%);
  transition: transform 700ms var(--ease-out);
}
.push img { width: 3em; height: 3em; border-radius: 0.75em; }
.push b { display: flex; justify-content: space-between; font-size: 1.05em; }
.push b small { font-weight: 500; color: #7c7f8c; }
.screen-done.is-active .push { transform: none; transition-delay: 900ms; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */

.marquee {
  position: relative;
  padding: 26px 0;
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  animation-play-state: paused;
}
.marquee.is-visible .marquee-track { animation-play-state: running; }
.marquee ul { display: flex; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(244, 246, 251, 0.85);
  white-space: nowrap;
}
.marquee li::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--grad);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS — shared
   ========================================================================== */

section { position: relative; }
.story, .features, .pros, .lyon, .faq { padding: clamp(90px, 12vw, 150px) 0; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto; }
.sec-head.left { text-align: left; margin: 0; }
.kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}
.sec-head h2, .cta h2 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.sub {
  margin-top: 20px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted);
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ==========================================================================
   HOW IT WORKS — sticky phone storytelling
   ========================================================================== */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 80px;
}
.steps { counter-reset: s; }
.step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 28px;
  border-left: 2px solid var(--border);
  opacity: 0.35;
  transition: opacity 500ms var(--ease-out), border-color 500ms ease;
}
.step:first-child { min-height: 62vh; justify-content: flex-start; padding-top: 12vh; }
.step.is-active { opacity: 1; border-left-color: var(--sky); }
.step-n {
  font-size: 15px;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.08em;
}
.step > h3 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.step > p {
  margin-top: 14px;
  max-width: 460px;
  color: var(--muted);
  font-size: 18px;
}
.step-phone { display: none; }

.story-stage { position: relative; }
.story-sticky {
  position: sticky;
  top: calc(50vh - 330px);
  height: 660px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.story-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.55), rgba(56, 189, 248, 0.15) 50%, transparent 70%);
  filter: blur(30px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  50% { transform: scale(1.12); opacity: 0.8; }
}
.phone-story { --pw: 312px; position: relative; }
.story-progress {
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 160px;
  margin-top: -80px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}
.story-progress i {
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform-origin: top;
  transform: scaleY(0.25);
  transition: transform 600ms var(--ease-out);
}

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; margin-top: 48px; gap: 0; }
  .story-stage { display: none; }
  .step, .step:first-child {
    min-height: 0;
    padding: 0 0 72px;
    border-left: 0;
    opacity: 1;
    align-items: center;
    text-align: center;
  }
  .step > p { margin-left: auto; margin-right: auto; }
  .step-phone {
    display: block;
    margin-top: 36px;
  }
  .step-phone .phone { --pw: 260px; margin: 0 auto; }
  .step-phone .screen { opacity: 1; transform: none; }
}

/* ==========================================================================
   FEATURES — bento
   ========================================================================== */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 64px;
}
.card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  grid-column: span 2;
  padding: 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(56, 189, 248, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-map { grid-column: span 4; grid-row: span 2; }
.card-stories { grid-column: span 2; }
.card-wait { grid-column: span 2; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 700; margin-top: 22px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.viz {
  position: relative;
  height: 150px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Map */
.viz-map {
  height: 380px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 38px 38px,
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.18), transparent 70%),
    #0b1020;
}
.rivers { position: absolute; inset: 0; width: 100%; height: 100%; }
.rivers path {
  fill: none;
  stroke: rgba(56, 189, 248, 0.35);
  stroke-width: 14;
  stroke-linecap: round;
}
.rivers path + path { stroke: rgba(56, 189, 248, 0.22); stroke-width: 10; }
.pin {
  position: absolute;
  width: 34px; height: 34px;
  margin: -34px 0 0 -17px;
  color: var(--sky);
  filter: drop-shadow(0 6px 10px rgba(56, 189, 248, 0.5));
  animation: pin-drop 0.7s var(--ease-out) both paused;
}
.pin svg { width: 100%; height: 100%; }
.pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 16px; height: 6px;
  margin-left: -8px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.5);
  animation: pin-pulse 2.4s ease-out infinite paused;
}
.p-a { left: 30%; top: 38%; animation-delay: 0.1s; }
.p-b { left: 58%; top: 30%; animation-delay: 0.25s; }
.p-c { left: 46%; top: 66%; animation-delay: 0.4s; }
.p-d { left: 76%; top: 58%; animation-delay: 0.55s; }
.card-map.in .pin, .viz-map.is-visible .pin::after { animation-play-state: running; }
@keyframes pin-drop {
  from { opacity: 0; transform: translateY(-26px); }
  to { opacity: 1; transform: none; }
}
@keyframes pin-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.me {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  animation: me 2s ease-out infinite;
}
@keyframes me {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55); }
  100% { box-shadow: 0 0 0 26px rgba(37, 99, 235, 0); }
}

/* Stories */
.viz-stories { display: flex; align-items: center; justify-content: center; gap: 18px; }
.viz-stories .ring {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.viz-stories .ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #2563eb, #38bdf8, #a5f3fc, #2563eb);
  animation: spin 4s linear infinite paused;
}
.viz-stories.is-visible .ring::before { animation-play-state: running; }
.viz-stories .ring:nth-child(2)::before { animation-duration: 5s; animation-direction: reverse; }
.av { display: block; border-radius: 50%; }
.g1 { background: radial-gradient(circle at 35% 30%, #ffd9c2, #f59e7a 55%, #c9604a); }
.g2 { background: radial-gradient(circle at 35% 30%, #c8d6e5, #6b7c93 55%, #2f3a4b); }
.g4 { background: radial-gradient(circle at 35% 30%, #fff1d6, #e8c38c 55%, #b48a52); }
.viz-stories .ring .av {
  position: relative;
  width: 64px; height: 64px;
  border: 3px solid var(--bg-2);
  box-shadow: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Waitlist */
.viz-wait { display: grid; place-items: center; }
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-2);
  animation: toast 4.5s var(--ease-out) infinite paused;
}
.viz-wait.is-visible .toast { animation-play-state: running; }
.toast svg { width: 22px; height: 22px; color: var(--sky); }
.toast b { display: block; font-size: 14px; }
.toast small { display: block; font-size: 12.5px; color: var(--muted); }
@keyframes toast {
  0% { opacity: 0; transform: translateY(-28px) scale(0.96); }
  14%, 78% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-28px) scale(0.96); }
}

/* Reminders */
.viz-remind { display: flex; align-items: center; justify-content: center; gap: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #bae6fd;
  font-weight: 700;
}
.pill svg { width: 18px; height: 18px; }
.card-remind.in .pill:first-child { animation: pop 0.6s var(--ease-out) 0.3s both; }
.card-remind.in .pill:last-child { animation: pop 0.6s var(--ease-out) 0.45s both; }

/* Follow */
.viz-follow { display: grid; place-items: center; }
.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 16px;
}
.follow-btn svg {
  width: 20px; height: 20px;
  color: #f43f5e;
  animation: heart 2.4s var(--ease-out) infinite paused;
}
.viz-follow.is-visible .follow-btn svg { animation-play-state: running; }
@keyframes heart {
  0%, 60%, 100% { transform: scale(1); }
  70% { transform: scale(1.35); }
  80% { transform: scale(0.92); }
}

/* Fast sign-in */
.viz-fast { display: grid; place-items: center; }
.viz-fast .k {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card-map, .card-stories, .card-wait { grid-column: span 1; grid-row: auto; }
  .card-map { grid-column: span 2; }
  .viz-map { height: 260px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .card, .card-map { grid-column: span 1; padding: 20px; }
}

/* ==========================================================================
   PROS
   ========================================================================== */

.pros {
  background:
    radial-gradient(900px 500px at 85% 40%, rgba(37, 99, 235, 0.22), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--border);
}
.pros-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.pro-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  margin: 40px 0 38px;
}
.pro-list li { display: flex; gap: 14px; font-size: 15px; color: var(--muted); }
.pro-list b { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.pi {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--sky);
}
.pi svg { width: 20px; height: 20px; }

.pros-visual { position: relative; padding: 40px 0 60px; }
.tablet {
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(145deg, #2b2f3d, #0b0d14 45%, #1d2030);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset, 0 50px 90px -30px rgba(0, 0, 0, 0.9);
  transform: perspective(1600px) rotateY(-10deg) rotateX(4deg);
}
.tab-screen {
  border-radius: 22px;
  overflow: hidden;
  background: #f7f7fb;
  color: #12131a;
  padding: 18px;
}
.tab-head { display: flex; justify-content: space-between; align-items: center; }
.tab-head b { font-size: 17px; letter-spacing: -0.02em; }
.tab-btn {
  padding: 7px 12px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.agenda { display: flex; gap: 8px; margin-top: 14px; }
.hours {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 0 8px;
  font-size: 10px;
  color: #a3a6b3;
}
.days-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.col {
  position: relative;
  height: 300px;
  padding-top: 22px;
  border-radius: 10px;
  background: repeating-linear-gradient(#fff 0 59px, #ececf3 59px 60px);
}
.col small {
  position: absolute;
  top: 4px; left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #7c7f8c;
}
.ev {
  position: absolute;
  left: 3px; right: 3px;
  top: calc(22px + var(--t) * 0.92);
  height: calc(var(--h) * 0.92);
  padding: 4px 5px;
  border-radius: 6px;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9);
  transform-origin: top center;
}
.pros-visual.in .ev {
  animation: ev-in 0.55s var(--ease-out) calc(0.35s + var(--n) * 45ms) forwards;
}
@keyframes ev-in { to { opacity: 1; transform: none; } }
.e1 { background: #dceafe; color: #1d4ed8; border-left: 3px solid #2563eb; }
.e2 { background: #e0f2fe; color: #0369a1; border-left: 3px solid #38bdf8; }
.e3 { background: #e2e8f0; color: #334155; border-left: 3px solid #64748b; }
.e4 { background: #ccfbf1; color: #0f766e; border-left: 3px solid #14b8a6; }
.ev.hl { box-shadow: 0 0 0 2px #2563eb; }

.qr-card, .notif-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(16, 20, 34, 0.82);
  border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
}
.qr-card b, .notif-card b { display: block; font-size: 14px; }
.qr-card small, .notif-card small { display: block; font-size: 12.5px; color: var(--muted); }
.qr-card { left: -24px; bottom: 0; }
.notif-card { right: -10px; top: 6px; }
.pros-visual.in .qr-card { animation: pop 0.8s var(--ease-out) 0.9s both, bob 7s ease-in-out 1.8s infinite; }
.pros-visual.in .notif-card { animation: pop 0.8s var(--ease-out) 1.2s both, bob 6s ease-in-out 2s infinite reverse; }
.pros-visual:not(.in) .qr-card, .pros-visual:not(.in) .notif-card { opacity: 0; }
.qr {
  width: 64px; height: 64px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(13, 1fr);
}
.qr i { background: #12131a; border-radius: 1px; }
.qr i.o { background: transparent; }

@media (max-width: 960px) {
  .pros-grid { grid-template-columns: 1fr; gap: 40px; }
  .tablet { transform: none; }
}
@media (max-width: 640px) {
  .pro-list { grid-template-columns: 1fr; }
  .tab-screen { padding: 12px; }
  .col { height: 240px; background: repeating-linear-gradient(#fff 0 47px, #ececf3 47px 48px); }
  .ev { font-size: 0; padding: 0; }
  .qr-card { left: 0; }
  .notif-card { right: 0; top: 0; }
}

/* ==========================================================================
   LYON
   ========================================================================== */

.lyon-inner { text-align: center; }
.hoods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 48px auto 0;
}
.hoods li {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  font-weight: 600;
  font-size: 16px;
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out), border-color 200ms ease, background-color 200ms ease;
  transition-delay: calc(var(--i, 0) * 45ms);
}
.soon-label {
  margin-top: 56px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hoods.soon { margin-top: 20px; }
.hoods.soon li {
  border-style: dashed;
  background: transparent;
  color: var(--muted);
}
@media (hover: hover) and (pointer: fine) {
  .hoods li:hover { border-color: rgba(56, 189, 248, 0.5); background: rgba(56, 189, 248, 0.08); transition-delay: 0s; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-inner { max-width: 820px; }
.faq-list { margin-top: 48px; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  position: relative;
  display: block;
  padding: 24px 48px 24px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px; height: 14px;
  margin-top: -10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 250ms var(--ease-out), margin-top 250ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ans { padding: 0 48px 26px 0; color: var(--muted); }
.faq details[open] .ans { animation: up 0.35s var(--ease-out); }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.cta {
  padding: clamp(110px, 14vw, 180px) 0;
  overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 900px; height: 600px;
  margin: -300px 0 0 -450px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.35), rgba(56, 189, 248, 0.08) 60%, transparent);
  filter: blur(20px);
  pointer-events: none;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.logo-badge.big { --s: 132px; margin-bottom: 40px; }
.cta .sub { max-width: 520px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  height: 64px;
  padding: 0 28px 0 22px;
  border-radius: 18px;
  background: #fff;
  color: #000;
  text-align: left;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
  box-shadow: 0 20px 50px -20px rgba(56, 189, 248, 0.6);
}
.store-btn svg { width: 30px; height: 30px; }
.store-btn small { display: block; font-size: 12px; font-weight: 500; line-height: 1.1; }
.store-btn b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.store-btn:active { transform: scale(0.97); }
.store-btn.is-soon { cursor: default; background: rgba(255, 255, 255, 0.92); }
@media (hover: hover) and (pointer: fine) {
  .store-btn:not(.is-soon):hover { box-shadow: 0 24px 60px -18px rgba(56, 189, 248, 0.85); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--muted); }
.footer-links a { transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover { color: var(--text); }
}
.footer-legal { font-size: 14px; color: var(--faint); }
.copy { margin-left: auto; font-size: 14px; color: var(--faint); }
@media (max-width: 760px) {
  .copy { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   LEGAL PAGES (cgu.html, confidentialite.html, mentions-legales.html)
   ========================================================================== */

.legal-back {
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .legal-back:hover { color: var(--text); }
}
.legal { padding: 120px 0 80px; }
.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  color: #c9cfdc;
  font-size: 16.5px;
  line-height: 1.7;
}
.legal-doc h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text);
}
.legal-doc h2 {
  margin: 48px 0 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal-doc h3 {
  margin: 28px 0 8px;
  font-size: 17px;
  color: var(--text);
}
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-doc li { margin-bottom: 8px; }
.legal-doc li::marker { color: var(--sky); }
.legal-doc strong { color: var(--text); font-weight: 600; }
.legal-meta { margin-top: 12px !important; color: var(--faint); font-size: 14px; }
mark.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(251, 146, 60, 0.16);
  color: #fdba74;
  font-weight: 600;
}

/* ==========================================================================
   REDUCED MOTION — keep fades, drop movement and loops
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
  }
  .blob, .sheen, .badge-ring, .cut, .marquee-track { animation: none !important; }
  .marquee-track { transform: none; }
  [data-reveal] { transform: none; transition: opacity 400ms ease; }
  .screen { transform: none; transition: opacity 300ms ease; }
  .push { transition: none; }
  .stage-tilt { transform: none !important; }
}
