/* MAX Jeune : vitrine premium (refonte r3) */
:root {
  --bg: var(--mz-bg, #f4f6f8);
  --bg-deep: var(--mz-bg-deep, #e8ecf1);
  --surface: var(--mz-surface, #ffffff);
  --ink: var(--mz-ink, #0c0f14);
  --ink-2: var(--mz-ink-2, #2a313c);
  --muted: var(--mz-muted, #5B6578);
  --nav-fg: var(--mz-nav-fg, #1E293B);
  --nav-bg: var(--mz-nav-bg, rgba(247, 248, 250, 0.94));
  --on-night: var(--mz-on-night, #F4F6FA);
  --on-night-muted: var(--mz-on-night-muted, #C5CBD4);
  --primary: var(--mz-accent, #ff6a00);
  --primary-press: var(--mz-accent-press, #e85f00);
  --primary-soft: var(--mz-accent-soft, rgba(255, 106, 0, 0.12));
  --secondary: var(--mz-secondary, #12161f);
  --success: var(--mz-success, #0e9f6e);
  --error: var(--mz-danger, #e11d48);
  --border: var(--mz-border, rgba(15, 23, 42, 0.16));
  --border-strong: var(--mz-border-strong, rgba(15, 23, 42, 0.52));
  --shadow-phone: 0 40px 80px rgba(12, 15, 20, 0.18), 0 12px 24px rgba(12, 15, 20, 0.08);
  --radius: var(--mz-radius, 16px);
  --radius-sm: var(--mz-radius-sm, 12px);
  --font: var(--mz-font, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif);
  --display: var(--mz-font-display, "Outfit", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif);
  --wrap: var(--mz-wrap, min(1120px, calc(100% - 2 * clamp(20px, 5vw, 48px))));
  --nav-h: var(--mz-nav-h, 64px);
  --ease: var(--mz-ease, cubic-bezier(0.22, 1, 0.36, 1));
  /* Hero : papier RGB pour le voile : même token clair/sombre, plus de wash beige sous texte blanc */
  --hero-paper: 247, 244, 240;
  --hero-atm-opacity: 0.36;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0B0F17;
    --bg-deep: #070A10;
    --surface: #151B26;
    --ink: #F4F6FA;
    --ink-2: #E2E8F0;
    --muted: #C5D0E0;
    --nav-fg: #E2E8F0;
    --nav-bg: rgba(11, 15, 23, 0.88);
    --on-night: #F4F6FA;
    --on-night-muted: #C5CBD4;
    --border: rgba(244, 246, 250, 0.18);
    --border-strong: rgba(244, 246, 250, 0.40);
    --mz-nav-fg: #E2E8F0;
    --mz-nav-bg: rgba(11, 15, 23, 0.88);
    --mz-ink: #F4F6FA;
    --mz-ink-2: #E2E8F0;
    --mz-muted: #C5D0E0;
    --hero-paper: 11, 15, 23;
    --hero-atm-opacity: 0.20;
  }
  html { color-scheme: dark; }
  .mk-hero {
    background:
      radial-gradient(900px 420px at 12% -10%, rgba(255, 106, 0, 0.18), transparent 55%),
      linear-gradient(180deg, #101623 0%, var(--bg) 70%);
  }
  .hero-atmosphere {
    opacity: var(--hero-atm-opacity);
    filter: saturate(1.06) contrast(1.12) brightness(0.32);
  }
  .hero-wash {
    background:
      linear-gradient(108deg, rgba(var(--hero-paper), 0.97) 0%, rgba(var(--hero-paper), 0.94) 46%, rgba(var(--hero-paper), 0.62) 68%, rgba(var(--hero-paper), 0.28) 100%),
      linear-gradient(180deg, rgba(var(--hero-paper), 0.5) 0%, transparent 24%, transparent 56%, rgba(var(--hero-paper), 0.92) 100%);
  }
  .hero-light { opacity: 0.22; }
  .hero h1 { text-shadow: none; }
  .hero-chip { box-shadow: none; background: var(--surface); }
}

:root.dark {
  --hero-paper: 11, 15, 23;
  --hero-atm-opacity: 0.20;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  html { color-scheme: dark; }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .corridor-rail { animation: none !important; transform: none !important; }
}

html, body { overflow-x: hidden; }

body {
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
code {
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--bg-deep);
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--mz-on-accent, #161A22);
  font-weight: 700;
}
.skip:focus { top: 12px; outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.98); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 0.875rem; }
.btn-lg { height: 52px; padding: 0 22px; font-size: 1rem; min-height: 52px; }
.btn-primary {
  background: var(--primary);
  color: var(--mz-on-accent, #161A22);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 24px rgba(255, 106, 0, 0.28);
}
.btn-primary:hover { background: var(--primary-press); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--bg); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 40px);
  color: var(--ink);
  background: var(--nav-bg, var(--mz-nav-bg, rgba(247, 248, 250, 0.94)));
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color .25s, background .25s;
}
.nav.is-scrolled {
  border-bottom-color: var(--border-strong);
  background: var(--nav-bg, var(--mz-nav-bg, rgba(247, 248, 250, 0.97)));
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-name { color: var(--ink); }
.nav-mark {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(255, 106, 0, 0.28);
}
.nav-links {
  display: flex;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nav-fg, var(--mz-nav-fg, var(--ink-2)));
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: inherit;
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: var(--mz-hover-tint, rgba(12,15,20,0.05));
}
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger:hover { background: rgba(12,15,20,0.05); }
.nav-burger-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform .22s var(--ease), top .22s var(--ease), opacity .15s;
}
.nav-burger-line:first-child { top: 16px; }
.nav-burger-line:last-child { top: 26px; }
.nav-burger.is-open .nav-burger-line:first-child {
  top: 21px;
  transform: rotate(45deg);
}
.nav-burger.is-open .nav-burger-line:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(12, 15, 20, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav-backdrop[hidden],
.nav-drawer[hidden] {
  display: none !important;
}

.nav-drawer {
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  left: 12px;
  right: 12px;
  z-index: 48;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(12,15,20,0.14);
  max-height: calc(100svh - var(--nav-h) - 24px);
  overflow-y: auto;
}
.nav-drawer a {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}
.nav-drawer a:hover { background: var(--bg); }
.nav-drawer .btn {
  margin-top: 8px;
  width: 100%;
  height: 48px;
}

@media (min-width: 861px) {
  .nav-burger,
  .nav-drawer,
  .nav-backdrop {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .nav-links { display: none !important; }
  .nav-actions [data-lang-switch] { display: none; }
  .nav-actions .btn-sm {
    height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
    max-width: 46vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-burger { display: block; }
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 6vh, 64px) 0 clamp(48px, 8vh, 88px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
  opacity: var(--hero-atm-opacity, 0.36);
  filter: saturate(1.08) contrast(1.08) brightness(0.96) hue-rotate(-4deg);
  transform: scale(1.08);
  animation: driftAtm 22s ease-in-out infinite alternate;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(var(--hero-paper), 0.97) 0%, rgba(var(--hero-paper), 0.94) 46%, rgba(var(--hero-paper), 0.58) 68%, rgba(var(--hero-paper), 0.18) 100%),
    linear-gradient(180deg, rgba(var(--hero-paper), 0.42) 0%, transparent 22%, transparent 55%, rgba(var(--hero-paper), 0.90) 100%),
    radial-gradient(ellipse 50% 60% at 82% 40%, rgba(255, 106, 0, 0.10), transparent 70%);
}
.hero-mesh {
  position: absolute;
  inset: -20% -10% auto;
  height: 75%;
  background:
    radial-gradient(ellipse 55% 65% at 78% 28%, rgba(255, 106, 0, 0.34), transparent 62%),
    radial-gradient(ellipse 40% 50% at 12% 70%, rgba(18, 22, 31, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 48% 100%, rgba(14, 159, 110, 0.1), transparent 50%);
}
.hero-light {
  position: absolute;
  width: 52%;
  height: 58%;
  right: 2%;
  top: 6%;
  background: radial-gradient(circle, rgba(255, 180, 100, 0.5), rgba(255,255,255,0.28) 45%, transparent 72%);
  filter: blur(36px);
  opacity: 0.45;
  animation: breathe 8s ease-in-out infinite;
}
.hero-rail {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      118deg,
      transparent 0,
      transparent 42px,
      rgba(12, 15, 20, 0.045) 42px,
      rgba(12, 15, 20, 0.045) 43px
    ),
    repeating-linear-gradient(
      28deg,
      transparent 0,
      transparent 90px,
      rgba(255, 106, 0, 0.03) 90px,
      rgba(255, 106, 0, 0.03) 91px
    );
  mask-image: radial-gradient(ellipse 75% 85% at 72% 42%, #000 8%, transparent 74%);
  opacity: 1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.65;
}
.hero-orb-a {
  width: 220px;
  height: 220px;
  right: 14%;
  bottom: 8%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 138, 42, 0.62), rgba(255, 106, 0, 0.1) 55%, transparent 70%);
  animation: orbFloat 9s ease-in-out infinite;
}
.hero-orb-b {
  width: 140px;
  height: 140px;
  left: 6%;
  top: 18%;
  background: radial-gradient(circle at 40% 40%, rgba(14, 159, 110, 0.32), transparent 68%);
  animation: orbFloat 11s ease-in-out infinite reverse;
}

@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}
@keyframes driftAtm {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, 0.8%, 0); }
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-layout {
  position: relative;
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.35rem, 6.5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 18px;
  text-shadow: none;
}

.hero-lead {
  max-width: 38ch;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.hero-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

/* iPhone Pro réaliste : inclinaison 3/4 + UI MaxZero */
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1600px;
  min-height: min(640px, 80vh);
}
.phone-ambience {
  position: absolute;
  inset: -8% -18% -4%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.phone-ring {
  position: absolute;
  left: 50%;
  top: 46%;
  border-radius: 50%;
  border: 1px solid rgba(255, 106, 0, 0.22);
  transform: translate(-50%, -50%) rotateX(62deg);
  box-shadow: 0 0 40px rgba(255, 106, 0, 0.08);
}
.phone-ring-a {
  width: min(420px, 92vw);
  height: min(420px, 92vw);
  animation: ringPulse 8s ease-in-out infinite;
}
.phone-ring-b {
  width: min(300px, 72vw);
  height: min(300px, 72vw);
  border-color: rgba(14, 159, 110, 0.18);
  animation: ringPulse 10s ease-in-out infinite reverse;
}
.phone-rail-path {
  position: absolute;
  width: min(340px, 88%);
  height: auto;
  left: 4%;
  top: 6%;
  opacity: 0.55;
}
.phone-rail-line {
  stroke: url(#none);
  stroke: rgba(255, 106, 0, 0.45);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  fill: none;
  animation: railDash 18s linear infinite;
}
.phone-rail-dot {
  fill: rgba(255, 106, 0, 0.85);
}
.phone-rail-dot.end {
  fill: rgba(14, 159, 110, 0.85);
}
.phone-plate {
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 68%;
  height: 48px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(12, 15, 20, 0.28), transparent 70%);
  filter: blur(10px);
}
.phone-float {
  position: absolute;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(18, 22, 31, 0.28);
  user-select: none;
  white-space: nowrap;
}
.phone-float-a {
  left: 2%;
  top: 18%;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  animation: floatSoft 9s ease-in-out infinite;
}
.phone-float-b {
  right: 0;
  bottom: 22%;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: rgba(14, 159, 110, 0.28);
  animation: floatSoft 11s ease-in-out infinite reverse;
}
.phone-float-c {
  right: 8%;
  top: 12%;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: rgba(255, 106, 0, 0.32);
  animation: floatSoft 8s ease-in-out infinite;
}
.phone-glow {
  position: absolute;
  width: 82%;
  height: 46%;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 35%, rgba(255, 106, 0, 0.5), transparent 68%),
    radial-gradient(ellipse at 50% 85%, rgba(12, 15, 20, 0.28), transparent 70%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}
.phone-3d {
  --phone-ry: -22deg;
  --phone-rx: 6deg;
  --phone-rz: 3deg;
  position: relative;
  z-index: 1;
  width: min(292px, 70vw);
  transform-style: preserve-3d;
  transform: rotateY(var(--phone-ry)) rotateX(var(--phone-rx)) rotateZ(var(--phone-rz));
  animation: floatPhone 7s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) rotateX(62deg) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) rotateX(62deg) scale(1.04); }
}
@keyframes railDash {
  to { stroke-dashoffset: -220; }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-10px); opacity: 1; }
}
.phone-side {
  position: absolute;
  top: 3%;
  bottom: 3%;
  right: -10px;
  width: 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, #6a707a 0%, #2c313a 35%, #1a1e26 70%, #3a404a 100%);
  transform: translateZ(-8px) rotateY(90deg);
  transform-origin: left center;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.15);
}
.phone-shell {
  position: relative;
  border-radius: 42px;
  padding: 11px;
  background:
    linear-gradient(145deg, #8a919c 0%, #4a5160 18%, #1c2028 45%, #0d1016 72%, #3a414d 100%);
  box-shadow:
    0 40px 70px rgba(12, 15, 20, 0.35),
    0 14px 28px rgba(12, 15, 20, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.45);
}
.phone-shell::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 39px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), transparent 40%, rgba(0,0,0,0.25));
  pointer-events: none;
  z-index: 0;
}
.phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #5a6270, #2a303a);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 1px 2px rgba(0,0,0,0.4);
  z-index: 3;
}
.phone-btn-silent {
  left: -3px;
  top: 92px;
  width: 3px;
  height: 28px;
}
.phone-btn-vol-up {
  left: -3px;
  top: 140px;
  width: 3px;
  height: 46px;
}
.phone-btn-vol-down {
  left: -3px;
  top: 196px;
  width: 3px;
  height: 46px;
}
.phone-btn-power {
  right: -3px;
  top: 168px;
  width: 3px;
  height: 72px;
}

.phone-screen {
  position: relative;
  z-index: 1;
  border-radius: 32px;
  overflow: hidden;
  background: var(--mz-sidebar, #0c0e14);
  color: #e5e7eb;
  padding: 40px 12px 12px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  font-family: var(--mz-font, var(--font));
}
.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  border-radius: 20px;
  background: #050608;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  z-index: 4;
}

/* Mock = vraie UI app (sidebar MaxZero) */
.app-mock { gap: 5px; }
.am-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 0 6px;
  margin-top: -18px;
  margin-bottom: 2px;
}
.am-status-icons { font-size: 0.5rem; opacity: 0.65; letter-spacing: 0.04em; }
.am-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.am-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff8a2a, var(--primary));
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  color: var(--mz-on-accent, #161A22);
}
.am-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.am-brand-text strong {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.am-brand-text em {
  font-style: normal;
  font-size: 0.58rem;
  color: #8e8e93;
}
.am-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-top: 2px;
}
.am-search {
  background: #161922;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f3f4f6;
}
.am-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.am-cities span {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #9ca3af;
}
.am-cities span.on {
  background: rgba(255,106,0,0.22);
  color: #ffb787;
}
.am-swap {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  line-height: 1;
  margin: 1px 0;
}
.am-toggle,
.am-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 3px;
}
.am-toggle span,
.am-product span {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 6px 4px;
  border-radius: 8px;
  color: #9ca3af;
}
.am-toggle span.on,
.am-product span.on {
  background: rgba(255,106,0,0.9);
  color: var(--mz-on-accent, #161A22);
}
.am-chips { display: flex; gap: 4px; }
.am-chip {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,106,0,0.2);
  color: #ffb787;
  border: 1px solid rgba(255,106,0,0.35);
}
.am-mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.am-mini-cal span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 0.55rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,0.05);
  color: #9ca3af;
}
.am-mini-cal span:empty { background: transparent; }
.am-mini-cal .picked {
  background: rgba(255,106,0,0.9);
  color: var(--mz-on-accent, #161A22);
  box-shadow: 0 0 0 1px rgba(255,106,0,0.5);
}
.am-mini-cal .hot {
  background: rgba(255,106,0,0.28);
  color: #ffc59a;
}
.am-cta {
  margin-top: 2px;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a2a, var(--primary));
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  color: var(--mz-on-accent, #161A22);
  box-shadow: 0 6px 16px rgba(255,106,0,0.28);
}
.am-result {
  background: #161922;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 8px 10px;
}
.am-result.soft { opacity: 0.78; }
.am-result-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
.am-times {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.am-places {
  font-size: 0.72rem;
  font-weight: 800;
  color: #34c759;
  font-variant-numeric: tabular-nums;
}
.am-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.58rem;
  color: #8e8e93;
}
.am-tag {
  color: #ffb787;
  font-weight: 700;
}
.am-tag.corr { color: #7dd3fc; }
.phone-screen.app-mock {
  overflow-y: auto;
  scrollbar-width: none;
}
.phone-screen.app-mock::-webkit-scrollbar { display: none; }

@keyframes floatPhone {
  0%, 100% {
    transform: rotateY(var(--phone-ry)) rotateX(var(--phone-rx)) rotateZ(var(--phone-rz)) translateY(0);
  }
  50% {
    transform: rotateY(calc(var(--phone-ry) + 2deg)) rotateX(calc(var(--phone-rx) - 1deg)) rotateZ(calc(var(--phone-rz) - 0.5deg)) translateY(-12px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 28px 0 48px;
    align-items: flex-start;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .hero-brand {
    font-size: 0.78rem;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 9.2vw, 2.9rem);
    hyphens: none;
    word-break: keep-all;
  }
  .hero-lead {
    margin-inline: auto;
    font-size: 1.14rem;
    line-height: 1.5;
    max-width: 36ch;
  }
  .hero-audience { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn {
    width: 100%;
    max-width: none;
  }
  .hero-cta .btn-lg {
    height: 56px;
    min-height: 56px;
    font-size: 1.06rem;
  }
  .hero-device { order: 2; }
  .phone-stage { min-height: auto; }
  .phone-ambience { inset: -4% -8% 0; }
  .phone-float { font-size: 1.05rem !important; opacity: 0.7; }
  .phone-float-a { left: 0; top: 10%; }
  .phone-float-b { right: -2%; bottom: 18%; }
  .phone-float-c { right: 4%; top: 6%; }
  .phone-rail-path { opacity: 0.35; width: 78%; left: 8%; }
  .phone-ring-a { width: min(300px, 86vw); height: min(300px, 86vw); }
  .phone-ring-b { width: min(220px, 64vw); height: min(220px, 64vw); }
  .phone-3d {
    --phone-ry: -14deg;
    --phone-rx: 4deg;
    --phone-rz: 2deg;
    width: min(250px, 68vw);
  }
  .phone-screen { min-height: 470px; padding-top: 40px; }
  .hero-atmosphere { opacity: calc(var(--hero-atm-opacity, 0.36) * 0.75); }
  .hero-wash {
    background:
      linear-gradient(180deg, rgba(var(--hero-paper), 0.97) 0%, rgba(var(--hero-paper), 0.94) 42%, rgba(var(--hero-paper), 0.90) 100%),
      linear-gradient(105deg, rgba(var(--hero-paper), 0.55), transparent 72%);
  }
  .hero-orb-a { width: 130px; height: 130px; right: 6%; }
  .hero-orb-b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .phone-3d,
  .phone-ring,
  .phone-rail-line,
  .phone-float,
  .hero-atmosphere,
  .hero-orb-a,
  .hero-orb-b,
  .hero-light {
    animation: none !important;
  }
  .phone-3d {
    --phone-ry: -16deg;
    --phone-rx: 4deg;
    --phone-rz: 2deg;
  }
}

@media (max-width: 400px) {
  .nav-brand .nav-name { font-size: 0.95rem; }
  .hero h1 { font-size: clamp(1.95rem, 10vw, 2.4rem); }
  .hero-cta .btn-lg { height: 56px; font-size: 1.02rem; }
}

/* ── Pulse ── */
.pulse {
  padding: 56px 0;
  background: var(--secondary);
  color: #f2f4f7;
}
.pulse .eyebrow { color: var(--on-night-muted, #C5CBD4); }
.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.pulse-val {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  min-height: 1.15em;
}
.pulse.is-loading .pulse-val:not(.pulse-val-sm) {
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.08) 75%);
  background-size: 200% 100%;
  animation: pulse-shimmer 1.2s ease-in-out infinite;
  border-radius: 8px;
  color: transparent;
  user-select: none;
}
@keyframes pulse-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse.is-loading .pulse-val:not(.pulse-val-sm) {
    animation: none;
    background: rgba(255,255,255,0.12);
  }
}
.pulse-val-sm { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
.pulse-lab {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--on-night-muted, #C5CBD4);
}
.pulse-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--on-night-muted, #C5CBD4);
}
@media (max-width: 720px) {
  .pulse-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Corridors marquee ── */
.corridors {
  padding: clamp(56px, 10vh, 88px) 0 0;
  background: var(--bg);
  overflow: hidden;
}
.corridors .sec-head { margin-bottom: 28px; }
.corridor-track {
  margin-top: 8px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.corridor-rail {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: corridorScroll 42s linear infinite;
}
.corridor-rail span {
  flex-shrink: 0;
  padding: 10px 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  border-left: 3px solid var(--primary);
  background: transparent;
}
@keyframes corridorScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections shared ── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.sec-head {
  max-width: min(40rem, 100%);
  margin-bottom: clamp(32px, 5vw, 48px);
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sec-lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
  line-height: 1.5;
}

.showcase, .features, .how, .benefits, .pricing, .faq {
  padding: clamp(72px, 12vh, 120px) 0;
}
.showcase { background: var(--surface); }
.features { background: var(--bg); }
.how { background: var(--surface); }
.benefits { background: var(--bg-deep); }
.pricing { background: var(--bg); }
.faq { background: var(--surface); }

/* Flow showcase : editorial, pas de cartes */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 40px);
}
.flow-item {
  position: relative;
  padding-top: 8px;
}
.flow-n {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 16px;
}
.flow-visual {
  height: 140px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.flow-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.flow-line i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-soft);
}
.flow-line.dest i {
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(14,159,110,0.15);
}
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 200px;
}
.flow-grid span {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--bg-deep);
}
.flow-grid .on { background: var(--primary); }
.flow-grid .mid { background: rgba(255,106,0,0.35); }
.flow-visual.alert {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.flow-bell {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 40% 35%, #ffb27a, var(--primary));
  box-shadow: 0 0 0 8px rgba(255,106,0,0.12);
  animation: pulseHot 2.8s ease-in-out infinite;
}
.flow-ping {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.flow-item h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.flow-item p { color: var(--muted); font-size: 0.95rem; max-width: none; line-height: 1.45; }

@media (max-width: 800px) {
  .flow {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .flow-item {
    flex: 0 0 min(82%, 280px);
    scroll-snap-align: start;
  }
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.bento-item {
  grid-column: span 2;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.bento-item:hover {
  border-color: rgba(255, 106, 0, 0.28);
  box-shadow: 0 12px 32px rgba(12,15,20,0.06);
  transform: translateY(-2px);
}
.bento-lg { grid-column: span 4; }
.bento-wide { grid-column: span 4; }
.bento-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--primary);
}
.bento-icon svg { width: 32px; height: 32px; }
.bento-item h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.bento-item p { color: var(--muted); max-width: 40ch; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-item, .bento-lg, .bento-wide { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
}

/* How */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.steps li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.steps li:hover { background: rgba(255,106,0,0.03); }
.step-n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.steps strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.steps p { color: var(--muted); max-width: 48ch; }

@media (max-width: 560px) {
  .steps li { grid-template-columns: 56px 1fr; gap: 12px; }
  .step-n { font-size: 1.35rem; }
}

/* SNCF MAX prerequisite */
.sncf-req {
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 106, 0, 0.08), transparent 70%),
    var(--bg, #fff);
}
.sncf-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.sncf-req-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface, #fff);
}
.sncf-req-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.sncf-req-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.sncf-req-card p.sncf-req-more {
  flex: 0 0 auto;
}
.sncf-req-more a {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.sncf-req-more a:hover {
  text-decoration: underline;
}
.sncf-req-tag {
  margin: 0 !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}
.sncf-req-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}
.sncf-req-note {
  margin: 20px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 700px) {
  .sncf-req-grid { grid-template-columns: 1fr; }
  .sncf-req { padding: 48px 0 36px; }
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.benefit-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.benefit-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.benefit-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.benefit-list span { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 800px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  max-width: 760px;
}
.price-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
}
@media (max-width: 900px) {
  .price-grid-3 { grid-template-columns: 1fr; max-width: 420px; }
}

.price-card {
  position: relative;
  padding: 32px 28px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .25s var(--ease);
}
.price-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.price-featured {
  background: var(--secondary);
  color: #f2f4f7;
  border-color: transparent;
  box-shadow: 0 24px 48px rgba(12,15,20,0.2);
}
.price-featured .price-amt span,
.price-featured ul { color: var(--on-night-muted, #C5CBD4); }
.price-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--mz-on-accent, #161A22);
}
.price-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.price-amt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}
.price-amt span {
  display: block;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}
.price-card ul {
  display: grid;
  gap: 10px;
  flex: 1;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}
.price-card ul li {
  padding-left: 18px;
  position: relative;
}
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.price-featured .btn-primary,
.price-card .btn-secondary { width: 100%; }
.price-featured .btn-primary:hover { filter: brightness(1.05); }

@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--muted);
  transition: transform .2s;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 52ch;
  padding-right: 24px;
}
.faq-list a { color: var(--mz-accent-text, #B34700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 800px) {
  .faq-layout { grid-template-columns: 1fr; gap: 16px; }
}

/* Final CTA */
.final-cta {
  padding: clamp(80px, 14vh, 140px) 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,106,0,0.14), transparent 55%),
    var(--bg);
  text-align: center;
}
.final-inner .eyebrow {
  color: var(--primary);
}
.final-inner h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
  max-width: min(28rem, 100%);
  margin-inline: auto;
  text-wrap: balance;
}
.final-inner > p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1.1rem;
}
.final-inner .hero-cta { justify-content: center; }

/* Footer */
.foot {
  padding: 56px 0 32px;
  background: var(--secondary);
  color: var(--on-night-muted, #C5CBD4);
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--on-night, #F4F6FA);
  font-family: var(--display);
  font-weight: 700;
}
.foot-brand p {
  flex-basis: 100%;
  margin-top: 8px;
  font-family: var(--font);
  font-weight: 600;
  color: var(--on-night-muted, #C5CBD4);
  font-size: 0.85rem;
  max-width: 36ch;
}
.foot-brand .foot-odbl a { color: var(--on-night-muted, #C5CBD4); }
.foot-brand .foot-odbl a:hover { color: var(--on-night, #fff); }
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col strong {
  color: var(--on-night, #F4F6FA);
  margin-bottom: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.foot-col a { color: var(--on-night-muted, #C5CBD4); }
.foot-col a:hover { color: var(--on-night, #fff); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.8rem;
  color: var(--on-night-muted, #C5CBD4);
}

@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--mz-on-accent, #161A22);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 32px rgba(255,106,0,0.4), 0 4px 12px rgba(12,15,20,0.15);
  transition: transform .25s var(--ease), opacity .25s;
}
.mobile-cta[hidden] { display: none !important; }
.mobile-cta.is-in {
  display: flex;
  animation: ctaIn .4s var(--ease);
}
@keyframes ctaIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  body.has-mobile-cta { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (min-width: 861px) {
  .mobile-cta { display: none !important; }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
/* Hero toujours visible (mockup iPhone + titre), pas d’attente IO */
.hero .reveal {
  opacity: 1;
  transform: none;
}


/* Showcase = mini UI app */
.flow-visual.app-ui {
  background: #0c0e14;
  border: 1px solid rgba(255,255,255,0.08);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  min-height: 148px;
  justify-content: center;
}
.fui-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}
.fui-field {
  background: #161922;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}
.fui-swap {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  line-height: 1;
}
.fui-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 3px;
}
.fui-toggle span {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px 4px;
  border-radius: 8px;
  color: #9ca3af;
}
.fui-toggle span.on {
  background: rgba(255,106,0,0.9);
  color: var(--mz-on-accent, #161A22);
}
.fui-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.fui-cal i {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  color: #9ca3af;
}
.fui-cal i:empty { background: transparent; }
.fui-cal i.picked { background: #ff6a00; color: var(--mz-on-accent, #161A22); }
.fui-cal i.hot { background: rgba(255,106,0,0.28); color: #ffc59a; }
.fui-cta {
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8a2a, #ff6a00);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mz-on-accent, #161A22);
}
.fui-result {
  background: #161922;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 8px 10px;
}
.fui-result.soft { opacity: 0.75; }
.fui-result > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
}
.fui-result b { font-weight: 700; }
.fui-result .pl { color: #34c759; font-weight: 800; }
.fui-result em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 0.62rem;
  color: #8e8e93;
}


/* ── Explain (ce que fait MaxZero) : panneaux 01/02/03 app-like ── */
.explain {
  position: relative;
  padding: clamp(64px, 10vh, 112px) 0;
  overflow: hidden;
  background: var(--surface);
}
.explain-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.explain-glow {
  position: absolute;
  width: 50%;
  height: 55%;
  left: -6%;
  top: 8%;
  background: radial-gradient(ellipse, rgba(255,106,0,0.08), transparent 70%);
  filter: blur(24px);
}
.explain-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 47px, rgba(12,15,20,0.028) 47px, rgba(12,15,20,0.028) 48px),
    repeating-linear-gradient(0deg, transparent 0, transparent 47px, rgba(12,15,20,0.028) 47px, rgba(12,15,20,0.028) 48px);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 15%, transparent 78%);
  opacity: 0.7;
}
.explain-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto;
  gap: clamp(20px, 3.2vw, 32px) clamp(20px, 3.2vw, 32px);
  row-gap: 0;
  column-gap: clamp(20px, 3.2vw, 32px);
  margin-top: clamp(36px, 5vw, 56px);
  align-items: stretch;
}
.explain-item {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 0;
  padding: 0;
  min-width: 0;
}
@supports not (grid-template-rows: subgrid) {
  .explain-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-row: auto;
  }
}
.explain-n {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin: 0 0 10px;
  line-height: 1;
  align-self: end;
}
.explain-item h3 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.28rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 16px 0 6px;
  line-height: 1.25;
  min-height: 1.25em;
}
.explain-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 36ch;
  margin: 0;
}

/* Cadres mockup : même hauteur / même rayon / même padding */
.explain-visual {
  background: #0c0e14;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  height: 236px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(12,15,20,0.1);
  overflow: hidden;
}

/* 01 : formulaire départ / arrivée */
.exv-form {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 10px;
  align-items: center;
  width: 100%;
}
.exv-field {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.exv-lab {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-night-muted, #C5CBD4);
}
.exv-val {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f5f5f7;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}
.exv-swap {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1;
  align-self: center;
}

/* 02 : simulation dates + CTA */
.exv-sim {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  height: 100%;
  justify-content: space-between;
  min-height: 0;
}
.exv-trip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
}
.exv-trip span {
  text-align: center;
  padding: 7px 6px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--on-night-muted, #C5CBD4);
  white-space: nowrap;
}
.exv-trip span.on {
  background: var(--primary);
  color: var(--mz-on-accent, #161A22);
  box-shadow: 0 2px 8px rgba(255,106,0,0.35);
}
.exv-cal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  flex: 0 0 auto;
}
.exv-cal i {
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.07);
  font-style: normal;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--on-night-muted, #C5CBD4);
  font-variant-numeric: tabular-nums;
}
.exv-cal i.hot {
  background: var(--primary);
  color: var(--mz-on-accent, #161A22);
  box-shadow: 0 2px 8px rgba(255,106,0,0.35);
}
.exv-cal i.mid {
  background: rgba(255,106,0,0.32);
  color: #ffd3ad;
}
.exv-cta {
  display: block;
  text-align: center;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8a2a, var(--primary));
  color: var(--mz-on-accent, #161A22);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(255,106,0,0.35);
}

/* 03 : cartes trajets */
.exv-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.exv-result {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,0.07);
  color: #e5e7eb;
}
.exv-result > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.88rem;
}
.exv-result strong {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f5f5f7;
}
.exv-result em {
  font-style: normal;
  color: #34c759;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.exv-result > span {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  color: #8e8e93;
  line-height: 1.3;
}

.pulse {
  position: relative;
  overflow: hidden;
}
.pulse-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(255,106,0,0.1), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(14,159,110,0.08), transparent 50%);
}
.pulse .sec-head { margin-bottom: 28px; }

.corridors {
  position: relative;
  overflow: hidden;
}
.corridors-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(255,106,0,0.04), transparent),
    repeating-linear-gradient(105deg, transparent 0, transparent 60px, rgba(12,15,20,0.03) 60px, rgba(12,15,20,0.03) 61px);
}

.features {
  position: relative;
  overflow: hidden;
}
.features-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 50% at 100% 0%, rgba(255,106,0,0.09), transparent 60%),
    radial-gradient(ellipse 40% 45% at 0% 100%, rgba(18,22,31,0.05), transparent 55%);
}

@media (max-width: 900px) {
  .explain-grid-3 { grid-template-columns: 1fr; gap: 32px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .explain-item p { max-width: none; }
  .explain-visual { height: 228px; }
}

@media (max-width: 560px) {
  .explain-visual { height: 220px; padding: 14px; }
  .exv-cal i { font-size: 0.64rem; }
  .exv-trip span { font-size: 0.68rem; padding: 6px 4px; }
  .exv-result > div { font-size: 0.82rem; }
}


/* ── App Store badge ── */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px 0 14px;
  border-radius: 12px;
  background: #0b0d12;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 24px rgba(11, 13, 18, 0.22);
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn-appstore:hover { filter: brightness(1.08); color: #fff; }
.btn-appstore:active { transform: scale(0.98); }
.btn-appstore-logo { flex-shrink: 0; }
.btn-appstore-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.btn-appstore-copy em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.85;
}
.btn-appstore-copy strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-platforms {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.hero-platforms strong { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) {
  .hero-cta .btn-appstore { width: 100%; justify-content: center; }
}


.price-for {
  margin: -8px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}
.price-featured .price-for { color: var(--on-night-muted, #C5CBD4); }
.price-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}
.price-featured .price-desc { color: var(--on-night-muted, #C5CBD4); }
.price-desc strong { color: var(--ink); font-weight: 700; }
.price-featured .price-desc strong { color: #fff; }
.price-card ul li strong {
  font-weight: 700;
  color: var(--ink);
}
.price-featured ul li strong { color: #fff; }
.price-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.price-actions .btn,
.btn-appstore-block { width: 100%; justify-content: center; }
.price-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}
.price-featured .price-note { color: var(--on-night-muted, #C5CBD4); }
.price-trial {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent, #e85d04);
}
.price-featured .price-trial { color: rgba(255,255,255,0.85); }
.price-card.is-recommended {
  outline: 2px solid var(--accent, #e85d04);
  outline-offset: 2px;
}
.pricing-chooser {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}
.pricing-chooser-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.pricing-chooser-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.pricing-chooser-btn {
  appearance: none;
  border: 1px solid var(--border-strong, #d0d5dd);
  background: var(--surface, #fff);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pricing-chooser-btn:hover,
.pricing-chooser-btn:focus-visible {
  border-color: var(--accent, #e85d04);
  outline: 2px solid transparent;
}
.pricing-chooser-btn[aria-pressed="true"] {
  background: var(--secondary, #1a1f36);
  color: #fff;
  border-color: transparent;
}
.pricing-chooser-hint {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.pricing-compare {
  margin: 36px auto 0;
  max-width: 920px;
}
.pricing-compare-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  text-align: center;
}
.pricing-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border, #e4e7ec);
  border-radius: 14px;
  background: var(--surface, #fff);
}
.pricing-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.pricing-table th,
.pricing-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border, #e4e7ec);
  vertical-align: top;
}
.pricing-table thead th {
  background: var(--bg-soft, #f8f9fb);
  font-weight: 700;
}
.pricing-table tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 28%;
}
.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-trial-box {
  margin: 28px auto 0;
  max-width: 720px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--bg-soft, #f8f9fb);
  border: 1px solid var(--border, #e4e7ec);
}
.pricing-trial-box h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.pricing-trial-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .pricing-chooser-btn { width: 100%; }
  .pricing-table { min-width: 0; font-size: 0.82rem; }
  .pricing-compare-scroll { border: 0; background: transparent; }
  .pricing-table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table th,
  .pricing-table td,
  .pricing-table tr { display: block; width: 100%; }
  .pricing-table thead { display: none; }
  .pricing-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--border, #e4e7ec);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface, #fff);
  }
  .pricing-table tbody th {
    width: auto;
    background: var(--bg-soft, #f8f9fb);
    border-bottom: 1px solid var(--border, #e4e7ec);
  }
  .pricing-table td {
    border-bottom: 1px solid var(--border, #e4e7ec);
  }
  .pricing-table td:nth-child(2)::before { content: "Gratuit · "; font-weight: 700; }
  .pricing-table td:nth-child(3)::before { content: "Standard · "; font-weight: 700; }
  .pricing-table td:nth-child(4)::before { content: "Premium · "; font-weight: 700; }
  .pricing-table tr td:last-child { border-bottom: 0; }
}
.price-foot {
  margin: 28px auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.btn-appstore-sm {
  height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 10px;
  gap: 8px;
}
.btn-appstore-sm .btn-appstore-copy em { font-size: 0.58rem; }
.btn-appstore-sm .btn-appstore-copy strong { font-size: 0.82rem; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-drawer .btn-appstore {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.nav-drawer .btn-secondary { margin-top: 8px; width: 100%; }

/* ── Motion layer (landing) ─────────────────────────────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-primary:hover::after {
  animation: btnShine 0.85s var(--ease) forwards;
}
@keyframes btnShine {
  to { transform: translateX(120%); }
}

.explain-item.is-in .explain-n,
.flow-item.is-in .flow-n {
  animation: numPop 0.55s var(--ease) both;
}
@keyframes numPop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* 01 : champs + swap */
.explain-item.is-in .exv-field:nth-child(1),
.flow-item.is-in .fui-field:nth-of-type(1) {
  animation: fieldIn 0.5s var(--ease) 0.12s both;
}
.explain-item.is-in .exv-field:nth-child(3),
.flow-item.is-in .fui-field:nth-of-type(2) {
  animation: fieldIn 0.5s var(--ease) 0.28s both;
}
.explain-item.is-in .exv-swap,
.flow-item.is-in .fui-swap {
  animation: swapSpin 0.7s var(--ease) 0.4s both;
}
@keyframes fieldIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes swapSpin {
  from { opacity: 0; transform: rotate(-90deg) scale(0.85); }
  to { opacity: 1; transform: none; }
}

/* 02 : calendrier qui s’allume + CTA */
.explain-item.is-in .exv-cal i,
.flow-item.is-in .fui-cal i {
  animation: calCellIn 0.35s var(--ease) both;
}
.explain-item.is-in .exv-cal i:nth-child(1),
.flow-item.is-in .fui-cal i:nth-child(1) { animation-delay: 0.15s; }
.explain-item.is-in .exv-cal i:nth-child(2),
.flow-item.is-in .fui-cal i:nth-child(2) { animation-delay: 0.2s; }
.explain-item.is-in .exv-cal i:nth-child(3),
.flow-item.is-in .fui-cal i:nth-child(3) { animation-delay: 0.25s; }
.explain-item.is-in .exv-cal i:nth-child(4),
.flow-item.is-in .fui-cal i:nth-child(4) { animation-delay: 0.3s; }
.explain-item.is-in .exv-cal i:nth-child(5),
.flow-item.is-in .fui-cal i:nth-child(5) { animation-delay: 0.35s; }
.explain-item.is-in .exv-cal i:nth-child(6),
.flow-item.is-in .fui-cal i:nth-child(6) { animation-delay: 0.4s; }
.explain-item.is-in .exv-cal i:nth-child(7),
.flow-item.is-in .fui-cal i:nth-child(7) { animation-delay: 0.45s; }
.explain-item.is-in .exv-cal i:nth-child(8),
.flow-item.is-in .fui-cal i:nth-child(8) { animation-delay: 0.5s; }
.explain-item.is-in .exv-cal i:nth-child(9),
.flow-item.is-in .fui-cal i:nth-child(9) { animation-delay: 0.55s; }
.explain-item.is-in .exv-cal i:nth-child(10),
.flow-item.is-in .fui-cal i:nth-child(10) { animation-delay: 0.6s; }
.explain-item.is-in .exv-cal i:nth-child(11),
.flow-item.is-in .fui-cal i:nth-child(11) { animation-delay: 0.65s; }
.explain-item.is-in .exv-cal i:nth-child(12),
.flow-item.is-in .fui-cal i:nth-child(12) { animation-delay: 0.7s; }
.explain-item.is-in .exv-cal i:nth-child(13),
.flow-item.is-in .fui-cal i:nth-child(13) { animation-delay: 0.75s; }
.explain-item.is-in .exv-cal i:nth-child(14),
.flow-item.is-in .fui-cal i:nth-child(14) { animation-delay: 0.8s; }
@keyframes calCellIn {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: none; }
}
.explain-item.is-in .exv-cal i.hot,
.flow-item.is-in .fui-cal i.picked {
  animation: calCellIn 0.35s var(--ease) 0.25s both, calPulse 1.8s ease-in-out 0.7s 2;
}
.explain-item.is-in .exv-cta,
.flow-item.is-in .fui-cta {
  animation: ctaRise 0.5s var(--ease) 0.85s both;
}
@keyframes calPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(255,106,0,0.35); }
  50% { box-shadow: 0 0 0 4px rgba(255,106,0,0.22), 0 4px 14px rgba(255,106,0,0.45); }
}
@keyframes ctaRise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* 03 : cartes résultats (horaires stables, tabular-nums) */
.exv-result strong,
.fui-result b {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.explain-item.is-in .exv-result,
.flow-item.is-in .fui-result {
  animation: resultSlide 0.55s var(--ease) both;
}
.explain-item.is-in .exv-result:nth-child(1),
.flow-item.is-in .fui-result:nth-child(1) { animation-delay: 0.2s; }
.explain-item.is-in .exv-result:nth-child(2),
.flow-item.is-in .fui-result:nth-child(2) { animation-delay: 0.38s; }
@keyframes resultSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.explain-item.is-in .exv-result em,
.flow-item.is-in .fui-result .pl {
  animation: seatGlow 1.6s ease-in-out 0.6s 2;
}
@keyframes seatGlow {
  0%, 100% { filter: none; }
  50% { filter: brightness(1.15); }
}

/* Hero phone : chips villes qui « respirent » */
.hero .am-cities span.on {
  animation: chipGlow 3.2s ease-in-out infinite;
}
@keyframes chipGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,0); }
  50% { box-shadow: 0 0 0 3px rgba(255,106,0,0.2); }
}

/* Stats pulse scale-in */
.pulse-stat.is-in .pulse-val {
  animation: statPop 0.7s var(--ease) both;
}
@keyframes statPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* Bento icons */
.bento-item.is-in .bento-icon {
  animation: iconIn 0.55s var(--ease) 0.1s both;
}
.bento-item:hover .bento-icon {
  transform: translateY(-2px);
  transition: transform 0.25s var(--ease);
}
@keyframes iconIn {
  from { opacity: 0; transform: scale(0.8) rotate(-6deg); }
  to { opacity: 1; transform: none; }
}

/* Price featured soft pulse border */
.price-featured.is-in {
  animation: featuredIn 0.7s var(--ease) both;
}
@keyframes featuredIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Stagger helpers (set via JS --stagger) */
.reveal[style*="--stagger"] {
  transition-delay: var(--stagger, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after,
  .explain-item.is-in .explain-n,
  .flow-item.is-in .flow-n,
  .explain-item.is-in .exv-field,
  .flow-item.is-in .fui-field,
  .explain-item.is-in .exv-swap,
  .flow-item.is-in .fui-swap,
  .explain-item.is-in .exv-cal i,
  .flow-item.is-in .fui-cal i,
  .explain-item.is-in .exv-cta,
  .flow-item.is-in .fui-cta,
  .explain-item.is-in .exv-result,
  .flow-item.is-in .fui-result,
  .explain-item.is-in .exv-result em,
  .flow-item.is-in .fui-result .pl,
  .hero .am-cities span.on,
  .pulse-stat.is-in .pulse-val,
  .bento-item.is-in .bento-icon,
  .price-featured.is-in {
    animation: none !important;
  }
}

/* ── Real product shots (hero + explain + flow) ─────────────────────── */
.device-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(620px, 78vh);
  width: 100%;
}
.device-glow {
  position: absolute;
  width: 70%;
  height: 55%;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(255,106,0,0.28), transparent 62%),
    radial-gradient(ellipse at 60% 40%, rgba(14,159,110,0.12), transparent 55%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}
.device-main,
.device-satellite {
  margin: 0;
  position: relative;
  z-index: 1;
}
.device-main {
  width: min(340px, 78%);
  filter: drop-shadow(0 28px 48px rgba(12,15,20,0.28));
  animation: deviceFloat 7s ease-in-out infinite;
}
.device-satellite {
  position: absolute;
  right: 2%;
  bottom: 8%;
  width: min(168px, 38%);
  z-index: 2;
  filter: drop-shadow(0 18px 28px rgba(12,15,20,0.22));
  transform: rotate(6deg);
  animation: deviceFloatAlt 8.5s ease-in-out infinite;
}
.device-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
@keyframes deviceFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes deviceFloatAlt {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-10px); }
}

@media (max-width: 900px) {
  .device-stage { min-height: auto; margin-top: 12px; }
  .device-main { width: min(210px, 56%); }
  .device-satellite { display: none; }
}

/* Explain : mockups téléphone encadrés */
.explain-visual.explain-shot {
  padding: 12px 12px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,106,0,0.12), transparent 70%),
    linear-gradient(180deg, #f7f4f0 0%, #efeae4 100%);
  display: block;
  height: 320px;
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(15,17,23,0.06);
}
.explain-visual.explain-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  transition: transform 0.55s var(--ease);
}
.flow-visual.flow-shot {
  padding: 0;
  overflow: hidden;
  background: #0c0e14;
  display: block;
  height: 200px;
  position: relative;
}
.flow-visual.flow-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.55s var(--ease);
}
.explain-item.is-in .explain-visual.explain-shot img,
.flow-item.is-in .flow-visual.flow-shot img {
  animation: shotReveal 0.8s var(--ease) both;
}
.explain-item:hover .explain-visual.explain-shot img,
.flow-item:hover .flow-visual.flow-shot img {
  transform: scale(1.04);
}
@keyframes shotReveal {
  from { opacity: 0; transform: scale(1.06) translateY(8px); }
  to { opacity: 1; transform: none; }
}

.flow-visual.flow-shot {
  height: 200px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}

/* Atmosphere : opacité + papier via tokens (jamais de wash beige hardcodé : casse le dark OS) */
.hero-atmosphere {
  opacity: var(--hero-atm-opacity, 0.36);
  filter: saturate(1.08) contrast(1.08) brightness(0.96) hue-rotate(-4deg);
}
.hero-wash {
  background:
    linear-gradient(108deg, rgba(var(--hero-paper), 0.97) 0%, rgba(var(--hero-paper), 0.94) 46%, rgba(var(--hero-paper), 0.58) 68%, rgba(var(--hero-paper), 0.18) 100%),
    linear-gradient(180deg, rgba(var(--hero-paper), 0.42) 0%, transparent 24%, transparent 55%, rgba(var(--hero-paper), 0.90) 100%),
    radial-gradient(ellipse 50% 60% at 82% 40%, rgba(255, 106, 0, 0.10), transparent 70%);
}
@media (prefers-color-scheme: dark) {
  .hero-atmosphere {
    opacity: var(--hero-atm-opacity);
    filter: saturate(1.06) contrast(1.12) brightness(0.32);
  }
  .hero-light { opacity: 0.22; }
}
/* Mobile : texte pleine largeur : le voile diagonal ne suffit pas (doit gagner sur le bloc desktop) */
@media (max-width: 900px) {
  .hero-atmosphere { opacity: calc(var(--hero-atm-opacity, 0.36) * 0.75); }
  .hero-wash {
    background:
      linear-gradient(180deg, rgba(var(--hero-paper), 0.97) 0%, rgba(var(--hero-paper), 0.94) 42%, rgba(var(--hero-paper), 0.90) 100%),
      linear-gradient(105deg, rgba(var(--hero-paper), 0.55), transparent 72%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .device-main,
  .device-satellite,
  .explain-item.is-in .explain-visual.explain-shot img,
  .flow-item.is-in .flow-visual.flow-shot img {
    animation: none !important;
  }
  .explain-item:hover .explain-visual.explain-shot img,
  .flow-item:hover .flow-visual.flow-shot img {
    transform: none;
  }
}

@media (max-width: 700px) {
  .explain-visual.explain-shot { height: 280px; }
}

.shot-pos-top { object-position: center 12% !important; }
.shot-pos-mid { object-position: center 28% !important; }
.shot-pos-cal { object-position: center 18% !important; }



/* ── Plateformes iPhone / iPad / Web ─────────────────────────────────── */
.platforms {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,106,0,0.07), transparent 60%),
    var(--surface);
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  align-items: end;
}
.platform-card {
  text-align: center;
}
.platform-card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 16px 0 6px;
}
.platform-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  max-width: 28ch;
  margin-inline: auto;
}
.platform-figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(255,106,0,0.10), transparent 65%),
    linear-gradient(165deg, #faf8f5 0%, #efe9e2 100%);
  border: 1px solid rgba(15,17,23,0.06);
  box-shadow: 0 18px 40px rgba(15,17,23,0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.platform-card:hover .platform-figure {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15,17,23,0.12);
}
.platform-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.platform-phone {
  padding: 18px 28px 0;
}
.platform-tablet,
.platform-web {
  padding: 20px 16px 12px;
}
.platform-phone img {
  max-height: 420px;
  margin-inline: auto;
  object-fit: contain;
}
.platform-tablet img,
.platform-web img {
  max-height: 300px;
  margin-inline: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .platforms-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
    margin-inline: auto;
  }
  .platform-tablet img,
  .platform-web img {
    max-height: 260px;
  }
  .platform-phone img {
    max-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-card:hover .platform-figure {
    transform: none;
  }
}

/* ── Tour produit : 3 téléphones + marqueur qui circule ─────────────── */
.tour {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
}
.tour-stage {
  position: relative;
  min-height: min(560px, 70vh);
  display: grid;
  place-items: center;
}
.tour-glow {
  position: absolute;
  inset: 12% 8%;
  background:
    radial-gradient(ellipse at 40% 45%, rgba(255,106,0,0.22), transparent 58%),
    radial-gradient(ellipse at 70% 60%, rgba(14,159,110,0.1), transparent 50%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}
.tour-phones {
  --walker-x: 0%;
  --walker-y: 42%;
  position: relative;
  width: min(100%, 640px);
  height: min(520px, 68vh);
  z-index: 1;
}
.tour-phone {
  position: absolute;
  margin: 0;
  width: 42%;
  top: 6%;
  border-radius: 28px;
  overflow: hidden;
  background: #0c0e14;
  box-shadow:
    0 24px 48px rgba(12,15,20,0.22),
    0 0 0 1px rgba(15,17,23,0.08);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    filter 0.55s ease,
    z-index 0s;
  will-change: transform, opacity;
}
.tour-phone img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.tour-phone[data-tour-i="0"] {
  left: 0;
  transform: translateX(-4%) rotate(-7deg) scale(0.88);
  opacity: 0.72;
  filter: saturate(0.85) brightness(0.96);
  z-index: 1;
}
.tour-phone[data-tour-i="1"] {
  left: 29%;
  transform: translateY(-2%) rotate(0deg) scale(0.88);
  opacity: 0.72;
  filter: saturate(0.85);
  z-index: 2;
}
.tour-phone[data-tour-i="2"] {
  right: 0;
  left: auto;
  transform: translateX(4%) rotate(7deg) scale(0.88);
  opacity: 0.72;
  filter: saturate(0.85) brightness(0.96);
  z-index: 1;
}
.tour-phone.is-active {
  opacity: 1;
  filter: none;
  z-index: 4;
  box-shadow:
    0 32px 64px rgba(12,15,20,0.28),
    0 0 0 1px rgba(255,106,0,0.18),
    0 0 40px rgba(255,106,0,0.12);
}
.tour-phone[data-tour-i="0"].is-active {
  transform: translateX(-2%) rotate(-3deg) scale(1.06);
}
.tour-phone[data-tour-i="1"].is-active {
  transform: translateY(-10px) rotate(0deg) scale(1.08);
}
.tour-phone[data-tour-i="2"].is-active {
  transform: translateX(2%) rotate(3deg) scale(1.06);
}

.tour-walker {
  position: absolute;
  left: var(--walker-x);
  top: var(--walker-y);
  transform: translate(-50%, -50%);
  z-index: 6;
  pointer-events: none;
  transition:
    left 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  animation: tourWalkerBob 2.4s ease-in-out infinite;
}
.tour-walker-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  padding: 10px 14px 11px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ff8a33 0%, #ff6a00 55%, #e85d00 100%);
  color: #fff;
  font-family: Outfit, Plus Jakarta Sans, system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  line-height: 1;
  box-shadow:
    0 12px 28px rgba(255,106,0,0.45),
    0 0 0 3px rgba(255,255,255,0.55);
  white-space: nowrap;
}
.tour-walker-max { opacity: 0.92; font-weight: 700; }
.tour-walker-zero {
  font-size: 1.15em;
  font-weight: 800;
}
@keyframes tourWalkerBob {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}

.tour-caption {
  max-width: 36ch;
}
.tour-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.tour-caption h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.tour-caption p[data-tour-desc] {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}
.tour-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tour-dot {
  /* Cible tactile ≥ 44×44, pastille visuelle 10×10 */
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background 0.35s ease;
}
.tour-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 999px;
  background: rgba(15,17,23,0.16);
  transition: width 0.35s ease, margin 0.35s ease, background 0.35s ease;
}
.tour-dot.is-on::before {
  width: 28px;
  margin-left: -14px;
  background: var(--primary);
}
.tour-dot:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .tour {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tour-stage { min-height: auto; }
  .tour-phones {
    width: min(100%, 420px);
    height: 420px;
    margin-inline: auto;
  }
  .tour-phone { width: 48%; top: 4%; }
  .tour-caption {
    max-width: none;
    text-align: center;
  }
  .tour-dots { justify-content: center; }
}

@media (max-width: 520px) {
  .tour-phones { height: 360px; }
  .tour-phone { width: 52%; border-radius: 22px; }
  .tour-walker-mark { font-size: 0.82rem; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .tour-phone,
  .tour-walker {
    transition: none !important;
    animation: none !important;
  }
}


/* Language switcher (hreflang SEO) */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-switch-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: 8px;
  font-family: var(--font-ui, "Plus Jakarta Sans", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--mz-hover-tint, rgba(12, 15, 20, 0.06));
  cursor: default;
}
.lang-switch:focus-within .lang-switch-label,
.lang-switch:hover .lang-switch-label {
  background: rgba(12, 15, 20, 0.1);
}
.lang-switch-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  display: none;
  min-width: 9.5rem;
  padding: 0.35rem;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(12, 15, 20, 0.14);
  border: 1px solid var(--border);
}
.lang-switch:hover .lang-switch-menu,
.lang-switch:focus-within .lang-switch-menu {
  display: grid;
  gap: 2px;
}
.lang-opt {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.lang-opt:hover,
.lang-opt:focus-visible {
  background: rgba(255, 106, 0, 0.1);
  color: var(--mz-accent-text, #B34700);
  outline: none;
}
.lang-opt.is-on {
  background: var(--primary);
  color: var(--mz-on-accent, #161A22);
  font-weight: 700;
}
.lang-switch-drawer {
  margin: 0 0 0.75rem;
}
.lang-switch-drawer .lang-switch {
  width: 100%;
}
.lang-switch-drawer .lang-switch-label {
  width: 100%;
  justify-content: space-between;
}
.lang-switch-drawer .lang-switch-menu {
  position: static;
  display: grid;
  margin-top: 0.4rem;
  box-shadow: none;
}
@media (max-width: 900px) {
  .nav-actions [data-lang-switch] {
    display: none;
  }
}


/* ── Marketing pages (pourquoi / offres / ressources) ── */
.mk-body { background: var(--bg); }
.mk-main { padding-top: var(--nav-h); }
.mk-hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(255, 106, 0, 0.16), transparent 55%),
    linear-gradient(180deg, #eef1f5 0%, var(--bg) 70%);
}
.mk-hero-compact { padding-top: clamp(36px, 6vw, 64px); padding-bottom: clamp(28px, 4vw, 48px); }
.mk-hero-inner { max-width: 720px; }
.mk-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.35em 0 0.5em;
  color: var(--ink);
}
.mk-lead {
  font-size: 1.1rem;
  color: var(--ink-2);
  max-width: 38rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 720px) {
  .mk-hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .mk-lead { font-size: 1.14rem; }
  .mk-hero .hero-cta .btn {
    width: 100%;
    min-height: 56px;
  }
}
.mk-section { padding: clamp(48px, 7vw, 88px) 0; }
.mk-section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.mk-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mk-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 800px) {
  .mk-grid-3, .mk-grid-2 { grid-template-columns: 1fr; }
}
.mk-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.mk-card h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.mk-card p { color: var(--muted); }
.mk-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) {
  .mk-split { grid-template-columns: 1fr; }
}
.mk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.25rem 0 0;
}
.mk-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-2);
}
.mk-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.mk-list-links li::before { display: none; }
.mk-list-links li { padding-left: 0; }
.mk-list-links a {
  color: var(--mz-accent-text, #B34700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mk-aside {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-deep);
  border: 1px solid var(--border);
}
.mk-aside-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.mk-aside .btn { margin-top: 1rem; }
.mk-aside-more { margin: 0.75rem 0 0; }
.mk-aside-more a { font-weight: 700; }
.mk-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .mk-plans { grid-template-columns: 1fr; }
}
.mk-plan {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mk-plan h2 {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.mk-plan-for { font-weight: 700; color: var(--ink-2); }
.mk-plan .btn { margin-top: auto; width: 100%; justify-content: center; }
.mk-plan-featured {
  border-color: rgba(255, 106, 0, 0.45);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.12);
  background: linear-gradient(180deg, #fff8f2 0%, var(--surface) 40%);
}
.mk-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--mz-on-accent, #161A22);
}
.mk-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
  max-width: 52rem;
}
.mk-resource {
  display: block;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.mk-resource:hover {
  border-color: rgba(255, 106, 0, 0.4);
  transform: translateY(-2px);
}
.mk-resource h2,
.mk-resource h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}
.guides {
  padding: 72px 0 24px;
}
.mk-resource p { color: var(--muted); margin: 0; }
.trust-band {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  align-items: center;
}
.trust-band span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-2);
}
.trust-band a {
  color: var(--mz-accent-text, #B34700);
  font-weight: 700;
  text-decoration: none;
}
.trust-band a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* Tablette offres : 2 colonnes au lieu de 3 serrées */
@media (min-width: 861px) and (max-width: 1100px) {
  .nav-links { gap: 0; font-size: 0.84rem; }
  .nav-links a { padding: 8px 10px; }
}


.mk-plan-price {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.mk-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.mk-steps strong { color: var(--ink); }

/* Homepage commercial + CMS */
.eyebrow {
  color: var(--mz-electric-text, #2A3FBF);
}
.problem, .use-cases {
  padding: clamp(64px, 10vh, 104px) 0;
  background: var(--bg);
}
.problem-grid .mk-card h3,
.use-grid .mk-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.how-more {
  margin-top: 1.5rem;
  font-weight: 700;
}
.how-more a {
  color: var(--mz-electric-text, #2A3FBF);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cms-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.cms-crumbs a { color: var(--mz-electric-text, #2A3FBF); font-weight: 700; }
.cms-prose {
  max-width: 42rem;
}
.cms-prose h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.cms-prose h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
  letter-spacing: -0.02em;
}
.cms-prose h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.cms-prose p, .cms-prose li { color: var(--ink-2); line-height: 1.65; }
.cms-prose p { margin: 0 0 1rem; }
.cms-prose ul, .cms-prose ol { margin: 0 0 1.1rem 1.2rem; }
.cms-prose ul { list-style: disc; }
.cms-prose ol { list-style: decimal; }
.cms-prose a {
  color: var(--mz-electric-text, #2A3FBF);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cms-prose img {
  border-radius: 14px;
  margin: 1rem 0;
  box-shadow: var(--mz-shadow-md);
}
.cms-prose blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--mz-electric, #3D5AFE);
  color: var(--muted);
}
.cms-prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.cms-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.cms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.cms-table th, .cms-table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  text-align: left;
}
.cms-table th { background: var(--surface); }
.cms-cover { margin: 1.2rem 0 1.6rem; }
.cms-cover img { width: 100%; height: auto; border-radius: 16px; }
.cms-card-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.4rem; }
.cms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  .cms-grid { grid-template-columns: 1fr; }
}
.cms-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }
.cms-cats a {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 700;
}
.cms-cats a[aria-current="page"] {
  border-color: var(--mz-electric, #3D5AFE);
  color: var(--mz-electric-text, #2A3FBF);
}
.cms-related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.cms-related h2 { margin-top: 0; }
.cms-related ul { list-style: none; margin-left: 0; }
.cms-related li { margin: 0.4rem 0; }
.cms-article-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.cms-faq { margin-top: 1.5rem; }
.cms-faq details { margin-bottom: 0.6rem; }

/* ── Mascottes Max (habillage décoratif) ── */
.mz-mascot {
  display: block;
  pointer-events: none;
  user-select: none;
}
.mz-mascot img {
  display: block;
  width: auto;
  height: clamp(120px, 22vw, 260px);
  max-width: min(280px, 42vw);
  object-fit: contain;
}
.hero-copy { position: relative; }
.mz-mascot-hero {
  position: absolute;
  right: -8%;
  bottom: -6%;
  z-index: 0;
  opacity: 0.78;
}
.hero-copy > :not(.mz-mascot-hero) { position: relative; z-index: 1; }
.how { position: relative; }
.how-wrap { position: relative; }
.mz-mascot-how {
  position: absolute;
  right: 0;
  top: 72px;
  z-index: 0;
}
@media (min-width: 901px) {
  .how .steps { padding-right: min(200px, 28%); }
}
.faq .sec-head { position: relative; }
.mz-mascot-faq {
  margin-top: 18px;
}
.mz-mascot-faq img { height: clamp(120px, 18vw, 200px); }
.final-inner { position: relative; }
.mz-mascot-cta {
  display: flex;
  justify-content: center;
  margin: 0 auto 8px;
}
.mz-mascot-cta img { height: clamp(110px, 18vw, 180px); }
.mz-mascot-page-hero {
  position: absolute;
  right: max(8px, calc((100% - var(--wrap, 1120px)) / 2));
  bottom: 0;
  z-index: 1;
}
.mk-hero-inner { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .mz-mascot-hero,
  .mz-mascot-how,
  .mz-mascot-faq {
    display: none;
  }
  .mz-mascot-cta img { height: 100px; }
  .mz-mascot-page-hero {
    position: relative;
    right: auto;
    display: flex;
    justify-content: flex-end;
    margin: 4px 0 0;
  }
  .mz-mascot-page-hero img { height: 104px; max-width: 140px; }
}
.proof {
  padding: clamp(64px, 10vh, 104px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.proof-disclaimer {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.proof-review {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  font-weight: 700;
}
.corridor-landings {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 28px 0 8px;
}
.corridor-landing {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.corridor-landing:hover {
  border-color: rgba(255, 106, 0, 0.45);
  color: var(--mz-accent-text, #B34700);
}
.cms-cal-teaser {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  max-width: 28rem;
}
.cms-cal-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.cms-cal-route {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}
.cms-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 0.75rem;
}
.cms-cal-day {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}
.cms-cal-day.is-open {
  background: rgba(61, 90, 254, 0.14);
  color: var(--mz-electric-text, #2A3FBF);
}
.cms-cal-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
}
@media (prefers-reduced-motion: reduce) {
  .mz-mascot img { transform: none; }
}


/* Explicit accessibility choices take precedence over the OS colour scheme. */
html[data-a11y-theme="light"] {
 color-scheme:light; --bg:#f4f6f8; --bg-deep:#e8ecf1; --surface:#fff; --ink:#0c0f14; --ink-2:#2a313c; --muted:#5b6578; --nav-fg:#1e293b; --nav-bg:rgba(247,248,250,.96); --border:#cbd0d8; --border-strong:#657084; --hero-paper:247,244,240;
 --mz-bg:var(--bg); --mz-surface:var(--surface); --mz-ink:var(--ink); --mz-ink-2:var(--ink-2); --mz-muted:var(--muted); --mz-nav-fg:var(--nav-fg); --mz-nav-bg:var(--nav-bg);
}
html[data-a11y-theme="dark"] {
 color-scheme:dark; --bg:#0b0f17; --bg-deep:#070a10; --surface:#151b26; --ink:#f4f6fa; --ink-2:#e2e8f0; --muted:#c5d0e0; --nav-fg:#e2e8f0; --nav-bg:rgba(11,15,23,.96); --border:#475569; --border-strong:#94a3b8; --hero-paper:11,15,23;
 --mz-bg:var(--bg); --mz-surface:var(--surface); --mz-ink:var(--ink); --mz-ink-2:var(--ink-2); --mz-muted:var(--muted); --mz-nav-fg:var(--nav-fg); --mz-nav-bg:var(--nav-bg);
}
html[data-a11y-theme="light"] .product-launch { --pm-paper:#f7f6f3; }
html[data-a11y-theme="dark"] .product-launch { --pm-paper:#0b0f17; }
html[data-a11y-contrast="more"] {
 --bg:#fff; --bg-deep:#fff; --surface:#fff; --ink:#000; --ink-2:#000; --muted:#111; --nav-fg:#000; --nav-bg:#fff; --border:#000; --border-strong:#000;
}
html[data-a11y-contrast="more"] .product-launch { --pm-paper:var(--bg); }
html[data-a11y-contrast="more"][data-a11y-theme="dark"] {
 --bg:#000; --bg-deep:#000; --surface:#000; --ink:#fff; --ink-2:#fff; --muted:#fff; --nav-fg:#fff; --nav-bg:#000; --border:#fff; --border-strong:#fff;
}
html[data-a11y-contrast="more"] body.product-launch { background:var(--bg); color:var(--ink); }
/* Keep the original brand and the menu accessible on narrow screens. */
@media(max-width:400px) {
 .nav { gap:8px; }
 .nav-actions { flex:1; min-width:0; }
 .nav-actions .btn { white-space:normal; text-align:center; line-height:1.25; padding:8px; }
 .nav-burger { flex-shrink:0; }
}

.geo-crumbs { font-size: .92rem; margin: 0 0 1rem; }
.geo-crumbs a { color: var(--mz-accent-text, #B34700); }
.geo-promo {
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border, #e6e8ee);
  border-radius: 16px;
  background: var(--mz-accent-soft, rgba(255, 106, 0, .12));
}
.geo-promo h2 { margin-top: 0; }
.geo-promo-kicker {
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
}
.geo-note { font-size: .92rem; }
.geo-related { display: flex; flex-wrap: wrap; gap: .35rem 0; }
.geo-related a { margin-right: .35rem; }
.geo-table-wrap { overflow-x: auto; }
.geo-table { width: 100%; border-collapse: collapse; }
.geo-table th, .geo-table td {
  text-align: left;
  vertical-align: top;
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--border, #e6e8ee);
}
.geo-table caption { text-align: left; margin-bottom: .6rem; }
.home-freshness {
  margin: .8rem 0 0;
  font-size: .95rem;
  line-height: 1.4;
}
