/* Julu — landing page. Tokens de la maquette validée (style Wise). */
:root {
  --forest: #163300;
  --lime: #9fe870;
  --lime-hover: #80e142;
  --lime-soft: #e2f6d5;
  --ink: #0e0f0c;
  --ink-2: #454745;
  --ink-3: #6a6c6a;
  --neutral: #eef1eb;
  --surface: #f5f7f3;
  --line: #e0e2de;
  --field: #868685;
  --late: #a8200d;
  --late-soft: #fce8e4;
  --today: #ffeb69;
  --today-ink: #5c4500;
  --on-forest: #cfe8c2;
  --display: 'Inter Tight', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 10vw, 152px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; }
a { color: var(--forest); }
a:hover { color: var(--ink); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #2f7de1; outline-offset: 3px; border-radius: 6px; }
svg use { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--forest); color: var(--lime); font-weight: 600; }
.skip:focus { top: 12px; }

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

/* ---------------------------------------------------------------- typographie */
.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.88;
  color: var(--forest);
  text-wrap: balance;
}
.h2 { font-size: clamp(42px, 6.4vw, 100px); }
.center { text-align: center; }
.lead { margin: 0; max-width: 54ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.eyebrow {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--forest);
}
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--forest); }
.eyebrow.on-dark { color: var(--lime); }
.eyebrow.on-dark::before { box-shadow: 0 0 0 2px var(--lime); background: var(--forest); }
.section { padding-block: var(--section); }
.section-head { display: flex; flex-direction: column; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.section-head.split > div { flex: 1 1 520px; }
.section-head.split .lead { flex: 0 1 440px; }

/* ---------------------------------------------------------------- boutons */
.btn {
  height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: var(--lime-hover); color: var(--forest); }
.btn-forest { background: var(--forest); color: var(--lime); }
.btn-forest:hover { color: var(--lime); box-shadow: 0 10px 24px rgba(22, 51, 0, 0.25); }
.btn-forest:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: rgba(22, 51, 0, 0.08); color: var(--forest); }
.btn-ghost:hover { background: rgba(22, 51, 0, 0.14); color: var(--forest); }
.play-dot { width: 30px; height: 30px; margin-left: -12px; border-radius: 50%; background: var(--forest); color: var(--lime); display: grid; place-items: center; }
.play-dot svg use { fill: currentColor; stroke: none; }

.store-badge {
  height: 60px;
  padding: 0 24px 0 20px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.store-badge:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14, 15, 12, 0.28); }
.store-badge .ico use { fill: currentColor; stroke: none; }
.store-badge span { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.store-badge small { font-size: 12px; font-weight: 500; letter-spacing: 0; opacity: 0.85; }

.pill { margin: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 18px 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: left; }
.pill-forest { background: var(--forest); color: var(--lime); }
.pulse { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--lime); position: relative; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); animation: ping 2s var(--ease) infinite; }

/* ---------------------------------------------------------------- progression + en-tête */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; background: var(--forest); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: grow linear both; animation-timeline: scroll(root); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lime);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(14, 15, 12, 0.08);
}
.header-row { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 32px; letter-spacing: -0.04em; color: var(--forest); text-decoration: none; line-height: 1; }
.wordmark:hover { color: var(--forest); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color 0.2s; }
.main-nav a:hover { color: var(--forest); background: rgba(22, 51, 0, 0.08); }
@media (max-width: 900px) { .main-nav { display: none; } }

/* ---------------------------------------------------------------- héros */
.hero { position: relative; background: var(--lime); overflow: hidden; padding-top: clamp(28px, 4vw, 56px); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero-title { font-size: clamp(44px, 7.6vw, 124px); }
.hero-title .line { display: block; overflow: hidden; padding: 0.12em 0.04em 0.02em; margin: -0.12em 0 -0.02em; }
.hero-title .line > span { display: block; animation: rise 1.1s var(--ease) both; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.1s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.2s; }
.hero-pill { animation: fadeUp 0.8s var(--ease) both; }
.hero-lead { color: var(--forest); max-width: 46ch; animation: fadeUp 0.9s var(--ease) 0.35s both; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; animation: fadeUp 0.9s var(--ease) 0.45s both; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 15px; font-weight: 600; color: var(--forest); animation: fadeUp 0.9s var(--ease) 0.55s both; }
.checks li { display: flex; align-items: center; gap: 6px; }
.checks svg use { stroke-width: 2.6; }

.hero-stage { --px: 0; --py: 0; position: relative; height: clamp(520px, 52vw, 660px); margin-top: clamp(40px, 5vw, 64px); }
.stage-disc {
  position: absolute;
  left: 50%;
  top: 70px;
  width: min(640px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--forest);
  translate: -50% 0;
  animation: discIn 1.4s var(--ease) 0.2s both;
}
.stage-disc::before, .stage-disc::after { content: ''; position: absolute; border-radius: 50%; border: 1.5px dashed rgba(22, 51, 0, 0.3); }
.stage-disc::before { inset: -70px; animation: spin 80s linear infinite; }
.stage-disc::after { inset: -150px; border-style: solid; border-color: rgba(22, 51, 0, 0.12); }

.spin-badge {
  position: absolute;
  z-index: 4;
  left: calc(50% + 120px);
  top: 18px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(22, 51, 0, 0.2);
  animation: popIn 0.9s var(--spring) 1.2s both;
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-ring text { font-family: var(--display); font-weight: 800; font-size: 15px; fill: var(--forest); }
.badge-core { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -0.04em; color: var(--forest); line-height: 1; }

/* Téléphone */
.device {
  --k: 0.86;
  position: relative;
  width: calc(390px * var(--k) + 24px);
  padding: 12px;
  border-radius: calc(46px * var(--k) + 12px);
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px #3a3c37, 0 40px 80px rgba(14, 15, 12, 0.32), 0 12px 24px rgba(14, 15, 12, 0.18);
}
.device-screen { position: relative; width: calc(390px * var(--k)); height: calc(844px * var(--k)); border-radius: calc(46px * var(--k)); overflow: hidden; background: #fff; isolation: isolate; }
.device-island { position: absolute; z-index: 6; left: 50%; top: calc(12px + 11px * var(--k)); width: calc(120px * var(--k)); height: calc(35px * var(--k)); border-radius: 999px; background: #000; translate: -50% 0; }
.device-ui { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform: scale(var(--k)); transform-origin: 0 0; }
.device-hero {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 0;
  translate: -50% 0;
  transform: perspective(1400px) rotateX(calc(var(--py) * -4deg)) rotateY(calc(var(--px) * 6deg));
  animation: phoneIn 1.3s var(--ease) 0.35s both;
}

/* Écran d'accueil reproduit dans le téléphone du héros */
.home-ui { background: #fff; color: var(--ink); font-family: var(--body); }
.ui-pad { padding: 64px 20px 0; display: flex; flex-direction: column; gap: 22px; }
.ui-head { display: flex; align-items: center; justify-content: space-between; }
.ui-head > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.ui-head small { font-size: 14px; color: var(--ink-3); }
.ui-head b { font-size: 16px; font-weight: 600; }
.ui-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--lime); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.ui-total { display: flex; flex-direction: column; gap: 6px; }
.ui-total small { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.ui-amount { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 0.95; letter-spacing: -0.035em; color: var(--forest); font-variant-numeric: tabular-nums; }
.ui-total span { font-size: 14px; color: var(--ink-3); }
.ui-actions { display: flex; gap: 10px; }
.ui-btn { height: 48px; padding: 0 18px; border-radius: 999px; background: var(--neutral); color: var(--forest); display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ui-btn.lime { background: var(--lime); }
.ui-btn.round { width: 48px; padding: 0; justify-content: center; flex-shrink: 0; }
.ui-btn svg use { stroke-width: 2.4; }
.ui-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ui-tile { padding: 14px 12px; border-radius: 20px; display: flex; flex-direction: column; gap: 6px; animation: popIn 0.7s var(--spring) both; }
.ui-tile:nth-child(1) { animation-delay: 1.3s; }
.ui-tile:nth-child(2) { animation-delay: 1.4s; }
.ui-tile:nth-child(3) { animation-delay: 1.5s; }
.ui-tile small { font-size: 13px; font-weight: 600; }
.ui-tile b { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; }
.ui-tile i { font-style: normal; font-size: 13px; font-weight: 500; }
.ui-tile.late { background: var(--late-soft); color: var(--late); }
.ui-tile.today { background: var(--today); color: var(--today-ink); }
.ui-tile.week { background: var(--neutral); color: var(--forest); }
.ui-list { display: flex; flex-direction: column; gap: 4px; }
.ui-list-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.ui-list-head b { font-size: 20px; font-weight: 600; }
.ui-list-head span { font-size: 15px; font-weight: 600; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.ui-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; animation: fadeUp 0.7s var(--ease) both; }
.ui-row:nth-child(2) { animation-delay: 1.6s; }
.ui-row:nth-child(3) { animation-delay: 1.7s; }
.ui-row:nth-child(4) { animation-delay: 1.8s; }
.ui-row:nth-child(5) { animation-delay: 1.9s; }
.ui-row > b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ui-av { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--neutral); color: var(--forest); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.ui-av.late { background: var(--late-soft); color: var(--late); }
.ui-av.today { background: var(--today); color: var(--today-ink); }
.ui-av.big { width: 52px; height: 52px; font-size: 17px; background: var(--lime); }
.ui-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ui-who b { font-size: 16px; font-weight: 600; }
.ui-who i { font-style: normal; font-size: 13px; font-weight: 500; }
.ui-who i.late { color: var(--late); }
.ui-who i.today { color: var(--today-ink); }
.ui-tabbar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  height: 64px;
  padding: 0 8px;
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(14, 15, 12, 0.06);
  box-shadow: 0 10px 30px rgba(14, 15, 12, 0.14);
}
.ui-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.ui-tabbar span.on { background: rgba(22, 51, 0, 0.1); color: var(--forest); font-weight: 600; padding-inline: 16px; }
.ui-notif {
  position: absolute;
  z-index: 5;
  left: 10px;
  right: 10px;
  top: 56px;
  padding: 12px 14px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245, 247, 243, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 30px rgba(14, 15, 12, 0.18);
  animation: notifDrop 10s var(--ease) 2.6s infinite both;
}
.ui-notif-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--forest); color: var(--lime); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 12px; letter-spacing: -0.03em; }
.ui-notif-text, .lock-notif > span:last-child { display: flex; flex-direction: column; gap: 1px; font-size: 14px; line-height: 1.3; color: var(--ink); }
.ui-notif-text b, .lock-notif b { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.ui-notif-text i, .lock-notif i { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 12px; }

/* Cartes flottantes */
.float { position: absolute; z-index: 5; translate: calc(var(--px) * var(--depth) * 1px) calc(var(--py) * var(--depth) * 1px); animation: popIn 0.9s var(--spring) both; }
.f1 { --depth: -18; left: calc(50% - 500px); top: 150px; animation-delay: 1.5s; }
.f2 { --depth: 22; left: calc(50% + 210px); top: 210px; animation-delay: 1.75s; }
.f3 { --depth: -26; left: calc(50% + 230px); top: 400px; animation-delay: 2s; }
.f4 { --depth: 16; left: calc(50% - 440px); top: 380px; animation-delay: 2.25s; }
.chip-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(22, 51, 0, 0.18);
  animation: bob 6s ease-in-out infinite alternate;
}
.f2 .chip-card { animation-duration: 7s; animation-delay: -2s; }
.f3 .chip-card { animation-duration: 5.5s; animation-delay: -1s; }
.f4 .chip-card { animation-duration: 6.5s; animation-delay: -3s; }
.chip-card > span:last-child { display: flex; flex-direction: column; }
.chip-card b { font-weight: 700; font-size: 15px; }
.chip-card small { font-size: 13px; color: var(--ink-3); }
.chip-card.voice { background: var(--forest); color: #fff; font-weight: 600; font-size: 15px; }
.chip-card.voice > span:last-child { display: inline; }
.chip-card.soft { background: var(--lime-soft); }
.chip-card.soft small { color: var(--ink-2); }
.chip-card.today { background: var(--today); color: var(--today-ink); }
.chip-card.today small { color: var(--today-ink); }
.mic-dot, .ok-dot { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; }
.mic-dot { background: var(--lime); color: var(--forest); }
.ok-dot { background: var(--forest); color: var(--lime); }
.ok-dot use { stroke-width: 2.8; }
.mini-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.mini-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--lime); animation: wave 1s ease-in-out infinite; }
.mini-wave i:nth-child(2) { animation-delay: -0.2s; }
.mini-wave i:nth-child(3) { animation-delay: -0.45s; }
.mini-wave i:nth-child(4) { animation-delay: -0.7s; }
.mini-wave i:nth-child(5) { animation-delay: -0.35s; }
.ring { --p: 42; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--forest) calc(var(--p) * 1%), rgba(22, 51, 0, 0.14) 0); -webkit-mask: radial-gradient(circle, transparent 11px, #000 12px); mask: radial-gradient(circle, transparent 11px, #000 12px); }

@media (max-width: 1080px) {
  .f1 { left: 2%; top: 90px; }
  .f4 { left: 4%; top: 330px; }
  .f2 { left: auto; right: 2%; top: 170px; }
  .f3 { left: auto; right: 3%; top: 380px; }
}
@media (max-width: 760px) {
  .hero-stage { height: 470px; }
  .device-hero { --k: 0.7; }
  .stage-disc { top: 60px; width: 460px; }
  .spin-badge { left: calc(50% + 70px); top: 6px; width: 104px; height: 104px; }
  .badge-core { font-size: 24px; }
  .chip-card { gap: 8px; padding: 10px 14px 10px 10px; font-size: 13px; }
  .chip-card.voice { font-size: 13px; }
  .chip-card b { font-size: 14px; }
  .chip-card small { font-size: 12px; }
  .mic-dot, .ok-dot, .ring { width: 30px; height: 30px; }
  .f1 { left: -4px; top: 210px; }
  .f3 { right: -4px; top: 330px; }
  .f2, .f4 { display: none; }
}

/* ---------------------------------------------------------------- bandeau défilant */
.ticker { background: var(--forest); color: var(--lime); padding-block: 26px; overflow: hidden; position: relative; z-index: 2; }
.ticker-row, .trade-row { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker-row, .trade-rows:hover .trade-row { animation-play-state: paused; }
.ticker-track, .trade-track { display: flex; flex-shrink: 0; }
.ticker-track span { display: flex; align-items: center; font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(30px, 4.2vw, 60px); line-height: 1; white-space: nowrap; }
.ticker-track span::after { content: ''; width: 0.36em; height: 0.36em; margin-inline: 0.7em; border-radius: 50%; border: 0.09em solid var(--lime); }
.ticker-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--lime); }

/* ---------------------------------------------------------------- démo vidéo */
.demo { overflow-x: clip; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.demo-media { position: sticky; top: max(96px, calc(50vh - 400px)); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.device-video { --k: 0.86; }
.demo-media::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 8%; width: 118%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); translate: -50% 0; }
.demo-video { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.media-caption { margin: 0; font-size: 14px; color: var(--ink-3); }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.step { padding-block: clamp(28px, 13vh, 140px); border-top: 1px solid var(--line); transition: opacity 0.4s; }
.step:first-child { padding-top: 24px; border-top: none; }
.step:last-child { padding-bottom: 0; }
.step-btn { width: 100%; padding: 0; border: none; background: none; text-align: left; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 20px; color: var(--forest); }
.step-num { font-size: 15px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.step-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.9; font-size: clamp(44px, 5.4vw, 84px); transition: color 0.3s; }
.step-bar { grid-column: 2; height: 4px; border-radius: 4px; background: var(--neutral); overflow: hidden; margin-top: 10px; }
.step-bar i { display: block; height: 100%; width: 100%; background: var(--forest); border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; }
.step-body { padding-left: calc(2ch + 26px); margin-top: 18px; max-width: 520px; }
.step-body h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: var(--ink); }
.step-body p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
html.js .step:not(.is-active) { opacity: 0.38; }
html.js .step:not(.is-active) .step-title { color: var(--ink-3); }
.step:hover { opacity: 1; }
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-media { position: relative; top: 0; }
  .demo-media::before { width: 100%; }
  .device-video { --k: 0.74; }
  .step { padding-block: 22px; }
  .step-title { font-size: clamp(40px, 11vw, 56px); }
  .step-body { padding-left: 0; }
}

/* ---------------------------------------------------------------- voix */
.voice { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.voice .h2 { color: var(--lime); }
.voice .lead { color: var(--on-forest); }
.voice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.voice-copy { display: flex; flex-direction: column; gap: 28px; }
.voice-copy .eyebrow { margin-bottom: -8px; }
.rules { display: flex; flex-direction: column; gap: 10px; }
.rule { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.rule-say { font-size: 17px; font-weight: 600; }
.rule-arrow { color: var(--lime); }
.rule-mean { display: flex; flex-direction: column; font-size: 14px; color: var(--on-forest); }
.rule-mean b { font-size: 17px; color: var(--lime); }
.try-card { background: #fff; color: var(--ink); border-radius: 32px; padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.28); }
.try-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.try-status { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--forest); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--field); transition: background-color 0.2s; }
.try-card.is-typing .live-dot { background: var(--forest); animation: blink 1s steps(2) infinite; }
.try-card.is-listening .live-dot { background: var(--late); animation: blink 0.8s steps(2) infinite; }
.mic-btn { height: 44px; padding: 0 18px 0 14px; border: none; border-radius: 999px; background: var(--forest); color: var(--lime); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; transition: transform 0.2s var(--ease), background-color 0.2s; }
.mic-btn:hover { transform: translateY(-1px); }
.mic-btn[aria-pressed='true'] { background: var(--late); color: #fff; box-shadow: 0 0 0 6px rgba(168, 32, 13, 0.18); }
.try-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.try-input { width: 100%; min-height: 100px; padding: 14px 16px; border: 1px solid var(--field); border-radius: 12px; resize: vertical; font-size: 18px; line-height: 1.45; background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.try-input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(22, 51, 0, 0.18); }
.try-examples { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--forest); transition: background-color 0.2s, border-color 0.2s; }
.chip-btn:hover, .chip-btn.is-on { background: var(--lime-soft); border-color: var(--lime); }
.try-result { border-radius: 20px; background: var(--surface); padding: 16px 18px; }
.try-result-label { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.try-lines { margin: 0; padding: 0; list-style: none; min-height: 60px; }
.try-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.try-line > span { display: flex; flex-direction: column; min-width: 0; }
.try-line > span b { font-weight: 600; }
.try-line small { font-size: 14px; color: var(--ink-3); }
.try-line > b { font-weight: 600; white-space: nowrap; }
.try-line.is-new { animation: lineIn 0.5s var(--ease) both; }
.try-empty { padding: 14px 0; font-size: 15px; color: var(--ink-3); }
.try-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.try-total span { font-weight: 700; }
.try-total b { font-family: var(--display); font-weight: 900; font-size: 38px; letter-spacing: -0.03em; color: var(--forest); font-variant-numeric: tabular-nums; }
.try-total b.bump { animation: bump 0.4s var(--spring); }
@media (max-width: 900px) {
  .voice-grid { grid-template-columns: minmax(0, 1fr); }
  .rule { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 14px; }
}

/* ---------------------------------------------------------------- facture */
.invoice-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.invoice-copy { display: flex; flex-direction: column; gap: 28px; }
.invoice-copy .eyebrow { margin-bottom: -8px; }
.invoice-sec { overflow: hidden; }
.invoice-stage { position: relative; padding: 24px clamp(8px, 3vw, 40px); }
.paper { position: relative; border-radius: 20px; background: #fff; box-shadow: 0 30px 70px rgba(14, 15, 12, 0.14), 0 0 0 1px rgba(14, 15, 12, 0.05); }
.paper-back { position: absolute; inset: 40px 10px 0 50px; background: var(--lime); rotate: 5deg; box-shadow: none; transition: rotate 1.2s var(--ease); }
.invoice { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 18px; font-size: 14px; rotate: -2.5deg; transition: rotate 1.2s var(--ease); }
.invoice-stage.is-in .invoice { rotate: -1deg; }
.invoice-stage.is-in .paper-back { rotate: 7deg; }
.inv-head { display: flex; justify-content: space-between; gap: 16px; }
.inv-shop, .inv-meta { display: flex; flex-direction: column; gap: 4px; }
.inv-meta { text-align: right; align-items: flex-end; }
.inv-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--lime); color: var(--forest); display: grid; place-items: center; font-weight: 800; margin-bottom: 4px; }
.inv-shop b { color: var(--forest); }
.inv-shop small, .inv-meta small, .inv-client small { color: var(--ink-3); font-size: 13px; }
.inv-title { font-family: var(--display); font-weight: 900; font-size: 32px; letter-spacing: -0.03em; text-transform: uppercase; color: var(--forest); line-height: 1; }
.inv-client { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface); }
.inv-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.inv-table th { padding: 8px 0; font-size: 12px; font-weight: 600; color: var(--ink-3); text-align: right; border-bottom: 1px solid var(--line); }
.inv-table td { padding: 10px 0; text-align: right; border-bottom: 1px solid var(--line); }
.inv-table th:first-child, .inv-table td:first-child { text-align: left; font-weight: 600; }
.inv-totals { display: flex; flex-direction: column; gap: 8px; margin-left: auto; width: min(100%, 280px); font-variant-numeric: tabular-nums; }
.inv-totals > div { display: flex; justify-content: space-between; }
.inv-totals .muted { color: var(--ink-3); }
.inv-due { margin-top: 4px; padding: 10px 14px; border-radius: 12px; background: var(--forest); color: var(--lime); font-weight: 700; }
.inv-foot { margin: 0; font-size: 13px; color: var(--ink-3); text-align: center; }
.stamp { position: absolute; right: 22px; top: 128px; padding: 6px 16px; border: 3px solid var(--forest); border-radius: 12px; font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--forest); background: rgba(159, 232, 112, 0.85); rotate: -14deg; }
html.js .invoice-stage .inv-table tbody tr, html.js .invoice-stage .inv-totals > div { opacity: 0; translate: 0 10px; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); }
html.js .invoice-stage.is-in .inv-table tbody tr, html.js .invoice-stage.is-in .inv-totals > div { opacity: 1; translate: 0 0; }
.invoice-stage .inv-table tbody tr:nth-child(1) { transition-delay: 0.35s; }
.invoice-stage .inv-table tbody tr:nth-child(2) { transition-delay: 0.5s; }
.invoice-stage .inv-table tbody tr:nth-child(3) { transition-delay: 0.65s; }
.invoice-stage .inv-totals > div:nth-child(1) { transition-delay: 0.85s; }
.invoice-stage .inv-totals > div:nth-child(2) { transition-delay: 0.95s; }
.invoice-stage .inv-totals > div:nth-child(3) { transition-delay: 1.1s; }
html.js .invoice-stage .stamp { opacity: 0; scale: 2.2; transition: opacity 0.3s, scale 0.45s var(--spring); transition-delay: 1.5s; }
html.js .invoice-stage.is-in .stamp { opacity: 1; scale: 1; }
.share-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.share-list li { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--neutral); font-weight: 600; color: var(--forest); }
.share-ic { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.share-ic.wa { background: var(--lime); }
html.js .invoice-copy .share-list li { opacity: 0; scale: 0.8; transition: opacity 0.4s, scale 0.5s var(--spring); }
html.js .invoice-copy.is-in .share-list li { opacity: 1; scale: 1; }
.invoice-copy .share-list li:nth-child(2) { transition-delay: 0.1s; }
.invoice-copy .share-list li:nth-child(3) { transition-delay: 0.2s; }
.invoice-copy .share-list li:nth-child(4) { transition-delay: 0.3s; }
@media (max-width: 900px) {
  .invoice-grid { grid-template-columns: minmax(0, 1fr); }
  .invoice-copy { order: -1; }
}

/* ---------------------------------------------------------------- rappels */
.reminders { background: var(--neutral); }
.timeline { position: relative; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 24px; right: 12%; top: 24px; height: 3px; border-radius: 3px; background: rgba(22, 51, 0, 0.14); }
.timeline::after { background: var(--forest); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) 0.2s; }
.timeline.is-in::after, html:not(.js) .timeline::after { transform: scaleX(1); }
.tl-node { position: relative; display: flex; flex-direction: column; gap: 4px; }
.tl-dot { width: 51px; height: 51px; margin-bottom: 14px; border-radius: 50%; background: var(--forest); color: var(--lime); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--neutral); }
.tl-node:first-child .tl-dot { background: var(--lime); color: var(--forest); }
.tl-node b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; color: var(--forest); line-height: 1; }
.tl-node span:last-child { color: var(--ink-2); }
html.js .timeline .tl-node { opacity: 0; translate: 0 16px; transition: opacity 0.5s var(--ease), translate 0.6s var(--spring); transition-delay: 0.3s; }
html.js .timeline .tl-node:nth-child(2) { transition-delay: 0.65s; }
html.js .timeline .tl-node:nth-child(3) { transition-delay: 1s; }
html.js .timeline .tl-node:nth-child(4) { transition-delay: 1.35s; }
html.js .timeline.is-in .tl-node { opacity: 1; translate: 0 0; }
.rem-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; }
.lock { min-height: 460px; border-radius: 32px; padding: clamp(24px, 3vw, 40px); background: var(--forest); display: flex; flex-direction: column; align-items: center; gap: 10px; overflow: hidden; position: relative; }
.lock::before { content: ''; position: absolute; width: 760px; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(159, 232, 112, 0.22); left: 50%; top: 58%; translate: -50% 0; }
.lock::after { content: ''; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(159, 232, 112, 0.12); left: 50%; top: 70%; translate: -50% 0; }
.lock-time { margin: 12px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(72px, 8vw, 112px); line-height: 1; letter-spacing: -0.04em; color: var(--lime); }
.lock-date { margin: 0 0 18px; font-size: 17px; font-weight: 600; color: var(--on-forest); }
.lock-notif { position: relative; width: 100%; max-width: 420px; padding: 12px 14px; border-radius: 22px; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.lock-notif .ui-notif-icon { background: var(--lime); color: var(--forest); }
html.js .lock .lock-notif { opacity: 0; translate: 0 -24px; scale: 0.96; transition: opacity 0.5s var(--ease), translate 0.7s var(--spring), scale 0.7s var(--spring); transition-delay: 0.5s; }
html.js .lock .lock-notif + .lock-notif { transition-delay: 0.9s; }
html.js .lock.is-in .lock-notif { opacity: 1; translate: 0 0; scale: 1; }
.mail { border-radius: 32px; background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(14, 15, 12, 0.05); }
.mail-bar { display: flex; gap: 6px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mail-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mail-meta { padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mail-meta p { margin: 4px 0; display: flex; gap: 12px; }
.mail-meta span { width: 44px; color: var(--ink-3); }
.mail-body { padding: clamp(20px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.mail-body p { margin: 0; }
.mail-brand { font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: -0.04em; color: var(--forest); }
.mail-body h3 { font-size: clamp(30px, 3vw, 42px); margin: 4px 0 6px; }
.mail-sum { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); color: var(--ink); }
.mail-sum b { font-family: var(--display); font-weight: 900; font-size: 24px; color: var(--forest); }
.mail-btn { align-self: flex-start; margin-top: 4px; }
.mail-btn:hover { transform: none; }
.mail-foot { font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .timeline::before, .timeline::after { left: 24px; right: auto; top: 24px; bottom: 24px; width: 3px; height: auto; transform-origin: 50% 0; }
  .timeline::after { transform: scaleY(0); }
  .timeline.is-in::after, html:not(.js) .timeline::after { transform: scaleY(1); }
  .tl-node { display: grid; grid-template-columns: 51px 1fr; column-gap: 18px; align-items: center; }
  .tl-dot { grid-row: span 2; margin: 0; }
  .rem-grid { grid-template-columns: minmax(0, 1fr); }
  .lock { min-height: 380px; }
}

/* ---------------------------------------------------------------- fonctionnalités (bento) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(22px, 2.4vw, 32px); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.tile h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--forest); letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--ink-2); max-width: 40ch; }
.tile.dark { background: var(--forest); }
.tile.dark h3 { color: var(--lime); }
.tile.dark p { color: var(--on-forest); }
.tile.lime { background: var(--lime); }
.tile.lime p { color: var(--forest); }
.tile-pay { grid-column: 1 / 4; grid-row: 1 / 3; }
.tile-status { grid-column: 4 / 7; }
.tile-client { grid-column: 4 / 7; }
.tile-currency { grid-column: 1 / 3; }
.tile-otp { grid-column: 3 / 5; }
.tile-glass { grid-column: 5 / 7; }
.pay-card { margin-top: auto; padding: 22px; border-radius: 22px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.tile-pay .pay-card { margin-top: 28px; }
.pay-top small { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pay-top b { font-size: clamp(44px, 5vw, 64px); }
.pay-bar { height: 10px; border-radius: 10px; background: var(--neutral); overflow: hidden; }
.pay-bar i { display: block; height: 100%; width: 42%; border-radius: inherit; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(22, 51, 0, 0.12); }
html.js .tile-pay .pay-bar i { width: 0; transition: width 1.6s var(--ease) 0.4s; }
html.js .tile-pay.is-in .pay-bar i { width: 42%; }
.pay-note { font-size: 14px; color: var(--ink-3); }
.pay-list { margin: 6px 0 0; padding: 0; list-style: none; }
.pay-list li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pay-list span { color: var(--ink-2); }
.status-stack { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.st { height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; animation: stPulse 8s var(--ease) infinite; }
.st-run { background: var(--neutral); color: var(--forest); }
.st-today { background: var(--today); color: var(--today-ink); animation-delay: 2s; }
.st-late { background: var(--late-soft); color: var(--late); animation-delay: 4s; }
.st-paid { background: var(--lime-soft); color: var(--forest); animation-delay: 6s; }
.st-paid use { stroke-width: 2.8; }
.client-card { margin-top: 18px; padding: 14px; border-radius: 20px; background: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.client-who { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; }
.client-who small { color: var(--ink-3); font-size: 14px; }
.client-acts { display: flex; gap: 8px; }
.round-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--neutral); color: var(--forest); display: grid; place-items: center; transition: background-color 0.2s, scale 0.3s var(--spring); }
.round-ic:hover { background: var(--lime); scale: 1.08; }
.flip { margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.flip-window { height: 1em; overflow: hidden; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -0.04em; color: var(--forest); }
.flip-reel { display: flex; flex-direction: column; animation: reel 14s var(--ease) infinite; }
.flip-reel span { height: 1em; line-height: 1; }
.lang-chips { display: flex; padding: 4px; border-radius: 999px; background: rgba(22, 51, 0, 0.1); }
.lang-chips span { padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--forest); animation: langA 6s steps(1) infinite; }
.lang-chips span:last-child { animation-name: langB; }
.otp { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp span { height: 60px; border-radius: 12px; border: 1.5px solid var(--field); background: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 28px; color: var(--forest); animation: otp 7s var(--ease) infinite; }
.otp span:nth-child(2) { animation-delay: 0.25s; }
.otp span:nth-child(3) { animation-delay: 0.5s; }
.otp span:nth-child(4) { animation-delay: 0.75s; }
.otp span:nth-child(5) { animation-delay: 1s; }
.otp span:nth-child(6) { animation-delay: 1.25s; }
.glass-demo { position: relative; margin-top: auto; height: 150px; border-radius: 22px; overflow: hidden; background: #fff; }
.blob { position: absolute; border-radius: 50%; }
.b1 { width: 120px; height: 120px; background: var(--lime); left: 10%; top: 20px; animation: drift1 9s ease-in-out infinite alternate; }
.b2 { width: 90px; height: 90px; background: var(--today); left: 55%; top: -10px; animation: drift2 7s ease-in-out infinite alternate; }
.b3 { width: 70px; height: 70px; background: var(--forest); left: 75%; top: 60px; animation: drift1 11s ease-in-out infinite alternate-reverse; }
.glass-bar { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 60px; padding: 0 6px; border-radius: 999px; display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.5); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 8px 24px rgba(14, 15, 12, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.glass-bar span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; color: var(--ink-2); }
.glass-bar span.on { background: rgba(22, 51, 0, 0.12); color: var(--forest); }
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-pay { grid-column: 1 / 3; grid-row: auto; }
  .tile-status, .tile-client, .tile-currency, .tile-otp, .tile-glass { grid-column: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-pay { grid-column: auto; }
}

/* ---------------------------------------------------------------- hors ligne */
.offline { background: var(--lime); }
.offline .lead { color: var(--forest); }
.offline .eyebrow::before { background: #fff; }
.offline-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.offline-copy { display: flex; flex-direction: column; gap: 28px; }
.offline-copy .eyebrow { margin-bottom: -8px; }
.exports { display: flex; flex-wrap: wrap; gap: 12px; }
.export { flex: 1 1 240px; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.55); transition: background-color 0.2s, translate 0.3s var(--spring); }
.export:hover { background: #fff; translate: 0 -3px; }
.export > span:last-child { display: flex; flex-direction: column; }
.export b { color: var(--forest); }
.export small { font-size: 14px; color: var(--ink-2); }
.file { width: 52px; height: 60px; flex-shrink: 0; border-radius: 10px 18px 10px 10px; display: grid; place-items: end center; padding-bottom: 10px; background: var(--forest); color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; position: relative; }
.file::before { content: ''; position: absolute; top: 10px; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: rgba(159, 232, 112, 0.5); box-shadow: 0 8px 0 rgba(159, 232, 112, 0.5), 0 16px 0 rgba(159, 232, 112, 0.5); }
.file.csv { background: var(--ink); }
.sync-card { border-radius: 32px; background: #fff; padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 80px rgba(22, 51, 0, 0.22); }
.sync-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.net-chip { height: 36px; padding: 0 14px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; background: var(--lime-soft); color: var(--forest); transition: background-color 0.3s, color 0.3s; }
.sync-card[data-state='offline'] .net-chip { background: var(--ink); color: #fff; }
.sync-card[data-state='syncing'] .net-chip { background: var(--today); color: var(--today-ink); }
.sync-card[data-state='syncing'] .js-net-ico { animation: spin 0.9s linear infinite; }
.switch { position: relative; width: 56px; height: 34px; flex-shrink: 0; padding: 0; border: none; border-radius: 999px; background: var(--field); transition: background-color 0.25s; }
.switch[aria-checked='true'] { background: var(--forest); }
.switch span { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: translate 0.35s var(--spring); }
.switch[aria-checked='true'] span { translate: 22px 0; }
.sync-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.sync-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); animation: lineIn 0.5s var(--ease) both; }
.sync-what { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sync-what b { font-weight: 600; }
.sync-what small { font-size: 14px; color: var(--ink-3); }
.sync-badge { height: 30px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--today); color: var(--today-ink); transition: background-color 0.3s, color 0.3s; }
.sync-item.is-done .sync-badge { background: var(--lime-soft); color: var(--forest); }
.sync-badge use { stroke-width: 2.8; }
.sync-hint { margin: 0; font-size: 14px; color: var(--ink-3); }
.sync-card .btn { align-self: flex-start; }
@media (max-width: 900px) { .offline-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- pour qui */
.trades { overflow: hidden; }
.trades .h2 { max-width: 14ch; margin-inline: auto; }
.trade-rows { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 12px; }
.trade-row { animation-duration: 55s; }
.trade-row.reverse { animation-direction: reverse; animation-duration: 48s; }
.trade-track span { margin-right: 12px; height: 64px; padding: 0 28px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--neutral); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; color: var(--forest); white-space: nowrap; }
.trade-row.reverse .trade-track span:nth-child(odd) { background: var(--forest); color: var(--lime); }
.trade-row:not(.reverse) .trade-track span:nth-child(3n) { background: var(--lime); }

/* ---------------------------------------------------------------- FAQ */
.faq { padding-top: 0; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .h2 { position: sticky; top: 110px; font-size: clamp(42px, 5.4vw, 84px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; color: var(--ink); transition: color 0.2s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--forest); }
.faq-list summary svg { flex-shrink: 0; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--neutral); color: var(--forest); transition: rotate 0.35s var(--spring), background-color 0.2s; }
.faq-list details[open] summary svg { rotate: 45deg; background: var(--lime); }
.faq-list details p { margin: -6px 0 24px; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.faq-list details[open] p { animation: fadeUp 0.45s var(--ease); }
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .h2 { position: static; }
}

/* ---------------------------------------------------------------- appel final */
.cta-sec { padding-bottom: var(--section); }
.cta-card { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(36px, 6vw, 88px); background: var(--lime); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cta-card::after { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; aspect-ratio: 1; border-radius: 50%; border: 70px solid rgba(22, 51, 0, 0.08); }
.cta-card h2 { position: relative; z-index: 1; flex: 1 1 560px; font-size: clamp(48px, 7.2vw, 116px); }
.cta-side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.cta-side p { margin: 0; font-size: 15px; font-weight: 600; color: var(--forest); }

/* ---------------------------------------------------------------- pied de page */
.site-footer { background: var(--forest); color: var(--on-forest); padding-top: 40px; overflow: hidden; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; font-size: 15px; }
.footer-row p { margin: 0; }
.footer-tag { font-weight: 600; color: var(--lime); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-nav a { color: var(--on-forest); text-decoration: none; }
.footer-nav a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.giant { margin: clamp(24px, 4vw, 48px) 0 0; display: flex; justify-content: center; font-family: var(--display); font-weight: 900; font-size: min(36vw, 560px); line-height: 0.74; padding-top: 0.08em; letter-spacing: -0.05em; color: var(--lime); overflow: hidden; user-select: none; }
.giant span { display: block; }
html.js .giant[data-reveal] { opacity: 1; translate: none; }
html.js .giant span { translate: 0 100%; transition: translate 1.1s var(--ease); }
html.js .giant.is-in span { translate: 0 0; }
.giant span:nth-child(2) { transition-delay: 0.08s; }
.giant span:nth-child(3) { transition-delay: 0.16s; }
.giant span:nth-child(4) { transition-delay: 0.24s; }

/* ---------------------------------------------------------------- apparitions au défilement */
html.js [data-reveal] { opacity: 0; translate: 0 36px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------------------------------------------------------------- animations */
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes discIn { from { scale: 0.4; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes phoneIn { from { opacity: 0; translate: -50% 160px; rotate: -4deg; } to { opacity: 1; translate: -50% 0; rotate: 0deg; } }
@keyframes notifDrop {
  0% { opacity: 0; translate: 0 -40px; scale: 0.9; }
  6% { opacity: 1; translate: 0 0; scale: 1; }
  58% { opacity: 1; translate: 0 0; scale: 1; }
  64%, 100% { opacity: 0; translate: 0 -40px; scale: 0.9; }
}
@keyframes bob { from { transform: translateY(-8px) rotate(-1deg); } to { transform: translateY(8px) rotate(1deg); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes lineIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { scale: 1; } 40% { scale: 1.08; } 100% { scale: 1; } }
@keyframes stPulse {
  0%, 22% { scale: 1.06; box-shadow: 0 10px 24px rgba(22, 51, 0, 0.18); opacity: 1; }
  30%, 92% { scale: 1; box-shadow: none; opacity: 0.55; }
  100% { scale: 1.06; opacity: 1; }
}
@keyframes reel {
  0%, 11% { transform: translateY(0); }
  14%, 25% { transform: translateY(-1em); }
  28%, 39% { transform: translateY(-2em); }
  42%, 53% { transform: translateY(-3em); }
  56%, 67% { transform: translateY(-4em); }
  70%, 81% { transform: translateY(-5em); }
  84%, 95% { transform: translateY(-6em); }
  98%, 100% { transform: translateY(-7em); }
}
@keyframes langA { 0% { background: #fff; } 50% { background: transparent; } }
@keyframes langB { 0% { background: transparent; } 50% { background: #fff; } }
@keyframes otp {
  0%, 8% { color: transparent; border-color: var(--field); }
  14%, 80% { color: var(--forest); border-color: var(--forest); }
  90%, 100% { color: transparent; border-color: var(--field); }
}
@keyframes drift1 { from { translate: 0 0; } to { translate: 60px 20px; } }
@keyframes drift2 { from { translate: 0 0; } to { translate: -50px 40px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .ticker-row, .trade-row, .chip-card, .flip-reel, .otp span, .st, .blob, .mini-wave i { animation: none !important; }
  .ui-notif { animation: none !important; opacity: 1; }
  .badge-ring { animation: none !important; }
}
