/* ===== Page styles ===== */
:root {
  --mint: #7BDCB5;
  --mint-light: #E8F8F0;
  --mint-dark: #2E9B70;
  --peach: #FFAB76;
  --peach-light: #FFF0E6;
  --peach-dark: #E0843C;
  --lavender: #A78BFA;
  --lav-light: #EDE9FF;
  --lav-dark: #6D4FC9;
  --dark: #1C1C2E;
  --mid: #6B6B8A;
  --white: #FFFFFF;
  --cream: #FFFBF5;
  --bg: #F8F8F8;
  --border: #E5E5E5;
  --urgent-bg: #FFF4EC;
  --urgent-border: #F6C6A5;
  --urgent-ink: #B85A1F;
  --accent: var(--mint);
  --accent-light: var(--mint-light);
  --accent-dark: var(--mint-dark);
  --hero-bg: #EDE9FF;
  --shadow-x: 3px;
  --shadow-y: 4px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--dark);
  background: var(--white);
}
h1, h2, h3 { font-family: 'Fredoka', sans-serif; font-weight: 400; letter-spacing: -0.5px; }
a { text-decoration: none; color: inherit; }

.flat { border: 2px solid var(--dark); box-shadow: var(--shadow-x) var(--shadow-y) 0 var(--dark); }

/* ───────── NAV ───────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 2px solid var(--dark);
}
.site-nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  border: 2px solid var(--dark); box-shadow: 2px 2px 0 var(--dark);
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-name { font-family: 'Fredoka', sans-serif; font-size: 21px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 800; color: var(--mid); transition: color 0.15s; }
.nav-links a:hover { color: var(--dark); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 14px; cursor: pointer;
  border: 2px solid var(--dark);
  box-shadow: var(--shadow-x) var(--shadow-y) 0 var(--dark);
  font-family: 'Fredoka', sans-serif; font-size: 16px; letter-spacing: 0.3px;
  color: var(--dark); background: var(--accent);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translate(1px, 1px); box-shadow: calc(var(--shadow-x) - 1px) calc(var(--shadow-y) - 1px) 0 var(--dark); }
.btn:active { transform: translate(var(--shadow-x), var(--shadow-y)); box-shadow: 0 0 0 var(--dark); }
.btn-secondary { background: var(--white); font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px; }
.btn-nav { padding: 9px 18px; font-size: 14px; border-radius: 11px; box-shadow: 2px 3px 0 var(--dark); }

/* ───────── JOURNEY — présentation façon keynote ─────────
   Section très haute ; à l'intérieur, une scène sticky 100vh
   où le téléphone, centré, est animé par le scroll. */
.journey {
  position: relative;
  height: 540vh;
  background: var(--hero-bg);
  transition: background-color 0.6s ease;
  border-bottom: 2px solid var(--dark);
}
.journey:not([data-state="hero"]) { background: var(--cream); }
.stage {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
}
.stage-inner {
  position: relative; height: 100%;
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
}

/* le téléphone, centré, animé en JS */
.phone-scaler {
  position: absolute; left: 50%; top: 50%;
  margin-left: -160px; margin-top: -310px;
  will-change: transform;
  transform-style: preserve-3d;
  z-index: 2;
}
/* explosion 3D d'ingrédients hors de l'écran */
.burst { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.b-item {
  position: absolute; left: 50%; top: 50%;
  will-change: transform, opacity;
  filter: drop-shadow(3px 5px 0 rgba(28, 28, 46, 0.18));
  line-height: 1;
}
.b-item.far { filter: blur(1.2px) drop-shadow(2px 3px 0 rgba(28, 28, 46, 0.12)); }
.b-item > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .b-item > span { animation: b-float 4.5s ease-in-out infinite; }
  .b-item:nth-child(2n) > span { animation-delay: 1.1s; animation-duration: 5.2s; }
  .b-item:nth-child(3n) > span { animation-delay: 2.3s; animation-duration: 3.9s; }
  @keyframes b-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
  }
}
.phone {
  width: 320px; height: 620px; background: var(--cream);
  border: 3px solid var(--dark); border-radius: 44px;
  box-shadow: 9px 10px 0 var(--dark);
  overflow: hidden; position: relative;
}
.phone-notch {
  width: 110px; height: 26px; background: var(--dark); border-radius: 50px;
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6;
}
.phone-screen { padding: 54px 18px 0; height: 100%; display: flex; flex-direction: column; position: relative; }
.app-header-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.app-title { font-family: 'Fredoka', sans-serif; font-size: 24px; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--lavender);
  border: 2px solid var(--dark); display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.app-sub { font-size: 12px; font-weight: 700; color: var(--mid); margin-bottom: 14px; min-height: 16px; }
.app-sub strong { color: var(--urgent-ink); }
.cat-pills { display: flex; gap: 6px; margin-bottom: 14px; }
.cat-pill {
  padding: 6px 12px; border-radius: 50px; font-size: 11px; font-weight: 800;
  background: var(--white); border: 1.5px solid var(--border); color: var(--mid); white-space: nowrap;
}
.cat-pill.active { background: var(--accent-light); border-color: var(--accent); color: var(--accent-dark); }
.grid-zone { position: relative; }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.tile {
  aspect-ratio: 1; border-radius: 13px; background: var(--white);
  border: 2px solid var(--dark); box-shadow: 2px 3px 0 var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease,
              background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tile:not(.in) { transform: scale(0); opacity: 0; }
.tile .emoji { font-size: 24px; line-height: 1; }
.tile .name { font-size: 7.5px; font-weight: 800; color: var(--mid); text-transform: uppercase; letter-spacing: 0.4px; }
.tile .qty {
  position: absolute; top: -6px; left: -5px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 10px; background: var(--dark); color: var(--white);
  font-size: 8px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
}
.tile.urgent { background: var(--urgent-bg); border-color: var(--urgent-ink); box-shadow: 2px 3px 0 var(--urgent-ink); }
.tile.urgent .name { color: var(--urgent-ink); }
.tile.urgent .qty { background: var(--urgent-ink); }
/* choix automatique de l'algorithme : lavande ✨ */
.tile .check {
  position: absolute; top: -7px; right: -6px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--lav-dark); color: var(--white); font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
  opacity: 0; transform: scale(0); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
}
.tile.in.sel { background: var(--lav-light); border-color: var(--lav-dark); box-shadow: 2px 3px 0 var(--lav-dark); }
.tile.in.sel .check { opacity: 1; transform: scale(1); }
.tile.in.sel .name { color: var(--lav-dark); }
/* balayage d'analyse */
.scanline {
  position: absolute; left: -6px; right: -6px; height: 70px; top: 0; z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(167, 139, 250, 0.35), transparent);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.scan-pill {
  position: absolute; left: 50%; top: -14px; transform: translateX(-50%);
  background: var(--lav-dark); color: var(--white);
  border-radius: 50px; padding: 4px 12px; white-space: nowrap;
  font-size: 10px; font-weight: 800;
}
.phone-cta {
  margin-top: auto; margin-bottom: 24px;
  padding: 15px; border-radius: 14px; text-align: center;
  background: var(--accent); border: 2px solid var(--dark); box-shadow: 3px 4px 0 var(--dark);
  font-family: 'Fredoka', sans-serif; font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.phone-cta.adding { background: var(--peach); }
.phone-cta.magic { background: var(--lavender); }

/* deck de swipe (étape 3) */
.deck {
  position: absolute; inset: 44px 12px 14px; z-index: 5;
  background: var(--cream);
  display: flex; flex-direction: column;
  opacity: 0; will-change: opacity, transform;
}
.deck-head { display: flex; align-items: baseline; gap: 8px; margin: 6px 2px 12px; }
.deck-head .t { font-family: 'Fredoka', sans-serif; font-size: 17px; }
.deck-head .s { font-size: 10.5px; font-weight: 700; color: var(--mid); }
.deck-stack { position: relative; flex: 1; }
.deck-card {
  position: absolute; inset: 0;
  background: var(--white); border: 2px solid var(--dark); border-radius: 18px;
  box-shadow: 3px 4px 0 var(--dark);
  overflow: hidden; display: flex; flex-direction: column;
  will-change: transform, opacity;
}
.deck-card .img { height: 46%; position: relative; flex-shrink: 0; }
.deck-card .img svg { position: absolute; inset: 0; opacity: 0.12; }
.deck-card .body { padding: 13px 15px; }
.deck-card .title { font-weight: 900; font-size: 16px; margin-bottom: 5px; }
.deck-card .meta { font-size: 11.5px; font-weight: 700; color: var(--mid); margin-bottom: 9px; }
.deck-card .score-badge { margin-left: 0; }
.stamp {
  position: absolute; top: 14px; z-index: 2;
  padding: 5px 13px; border-radius: 10px; border: 2.5px solid;
  font-family: 'Fredoka', sans-serif; font-size: 14px; letter-spacing: 0.5px;
  opacity: 0;
}
.stamp.pass { right: 12px; color: var(--urgent-ink); border-color: var(--urgent-ink); background: var(--urgent-bg); transform: rotate(12deg); }
.stamp.keep { left: 12px; color: var(--mint-dark); border-color: var(--mint-dark); background: var(--mint-light); transform: rotate(-12deg); }
.match-banner {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) scale(0.6);
  background: var(--lav-dark); color: var(--white);
  border-radius: 50px; padding: 7px 16px; white-space: nowrap;
  font-family: 'Fredoka', sans-serif; font-size: 13px;
  opacity: 0; will-change: opacity, transform;
}
.deck-actions { display: flex; justify-content: center; gap: 22px; padding: 13px 0 2px; }
.deck-actions .act {
  width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--dark); box-shadow: 2px 3px 0 var(--dark);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  transition: transform 0.2s ease;
}
.deck-actions .act.lit { transform: scale(1.18); }
.score-badge {
  display: inline-flex; align-items: center; gap: 5px; margin-left: auto;
  background: var(--accent-light); border: 1px solid var(--accent);
  border-radius: 50px; padding: 3px 9px; flex-shrink: 0;
  font-size: 10.5px; font-weight: 800; color: var(--accent-dark);
}
.score-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-dark); }

/* cartes flottantes — suivent le téléphone, hero uniquement */
.float-card {
  position: absolute; z-index: 3; background: var(--white); border-radius: 16px;
  pointer-events: none;
  transition: opacity 0.45s ease, translate 0.45s ease;
}
.journey:not([data-state="hero"]) .float-card { opacity: 0; translate: 0 14px; }
.float-recipe { width: 196px; right: -150px; top: 46px; overflow: hidden; transform: rotate(3deg); }
.float-recipe .img { height: 82px; background: var(--accent); position: relative; }
.float-recipe .img svg { position: absolute; inset: 0; opacity: 0.12; }
.float-recipe .body { padding: 11px 12px 13px; }
.float-recipe .title { font-weight: 900; font-size: 14px; margin-bottom: 5px; }
.float-recipe .meta { font-size: 11px; font-weight: 700; color: var(--mid); }
.float-recipe .score-badge { margin-left: 0; }
.float-urgent {
  left: -158px; top: 240px; transform: rotate(-3deg);
  background: var(--urgent-bg); border: 2px solid var(--urgent-ink); box-shadow: 3px 4px 0 var(--urgent-ink);
  padding: 10px 14px; display: flex; align-items: center; gap: 10px;
}
.float-urgent .emoji { font-size: 26px; }
.float-urgent .label { font-size: 12px; font-weight: 900; color: var(--urgent-ink); }
.float-urgent .days { font-size: 11px; font-weight: 700; color: var(--urgent-ink); opacity: 0.8; }
@media (prefers-reduced-motion: no-preference) {
  .journey[data-state="hero"] .float-card { animation: floaty 5s ease-in-out infinite; }
  .float-urgent { animation-delay: 1.8s; }
  @keyframes floaty {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
  }
}

/* ── overlays texte (opacité pilotée par le scroll) ── */
.overlay { position: absolute; z-index: 4; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.overlay.live { pointer-events: auto; }
.ov-hero {
  left: 32px; top: 50%; width: min(540px, 46vw);
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
.ov-hero h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.06; margin-bottom: 18px; }
.ov-hero h1 .underlined { position: relative; white-space: nowrap; z-index: 1; }
.ov-hero h1 .underlined::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: var(--accent); z-index: -1; border-radius: 3px;
}
.hero-sub {
  font-size: 17px; font-weight: 700; color: var(--mid); line-height: 1.6;
  max-width: 420px; margin-bottom: 26px; text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13px; font-weight: 700; color: var(--mid); margin-top: 14px; }

.ov-step { width: min(360px, 30vw); top: 50%; }
.ov-left { left: 32px; }
.ov-right { right: 32px; text-align: right; }
.ov-right .step-num { margin-left: auto; }
.step-num {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif; font-size: 20px;
  border: 2px solid var(--dark); box-shadow: 2px 3px 0 var(--dark);
}
.ov-step[data-step="1"] .step-num { background: var(--mint); }
.ov-step[data-step="2"] .step-num { background: var(--lavender); }
.ov-step[data-step="3"] .step-num { background: var(--peach); }
.step-kicker {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--accent-dark); margin-bottom: 10px;
}
.ov-step h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; margin-bottom: 13px; }
.ov-step p { font-size: 16px; font-weight: 700; color: var(--mid); line-height: 1.65; text-wrap: pretty; }

.scroll-hint {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 4;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; font-weight: 800; color: var(--mid);
  opacity: 0;
}
.scroll-hint .arr { font-size: 17px; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint .arr { animation: bounce-down 1.6s ease-in-out infinite; }
  @keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
  }
}

/* ───────── SECTIONS COMMUNES ───────── */
.section { max-width: 1160px; margin: 0 auto; padding: 96px 32px; }
.section-head { max-width: 560px; margin-bottom: 52px; }
.section-eyebrow {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px;
  color: var(--accent-dark); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; margin-bottom: 14px; }
.section-head p { font-size: 16px; font-weight: 700; color: var(--mid); line-height: 1.6; text-wrap: pretty; }

/* ───────── STATS ───────── */
.stats-band { background: var(--white); border-bottom: 2px solid var(--dark); }
.stats-inner {
  max-width: 1160px; margin: 0 auto; padding: 64px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.stat { text-align: center; padding: 8px 16px; }
.stat .big { font-family: 'Fredoka', sans-serif; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; }
.stat:nth-child(1) .big { color: var(--urgent-ink); }
.stat:nth-child(2) .big { color: var(--mint-dark); }
.stat:nth-child(3) .big { color: var(--lav-dark); }
.stat .lbl { font-size: 14.5px; font-weight: 800; margin-top: 10px; line-height: 1.45; text-wrap: pretty; }
.stat .src { font-size: 11px; font-weight: 700; color: var(--mid); margin-top: 6px; }

/* features bento */
.features-band { background: var(--bg); border-bottom: 2px solid var(--dark); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.feature { background: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { font-size: 14px; font-weight: 700; color: var(--mid); line-height: 1.6; text-wrap: pretty; }
.feature .visual { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.f-antigaspi { grid-column: span 3; background: var(--urgent-bg); }
.f-score { grid-column: span 3; }
.f-swipe { grid-column: span 3; }
.f-favoris { grid-column: span 3; }
.f-dark { grid-column: span 2; background: var(--dark); }
.f-dark h3 { color: #F0F0FA; }
.f-dark p { color: #9494B8; }
.urgent-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1.5px solid var(--urgent-border); border-radius: 10px;
  padding: 7px 12px; font-size: 12px; font-weight: 800; color: var(--urgent-ink);
}
.urgent-chip .d { font-family: 'Fredoka', sans-serif; font-size: 15px; }
.score-row { display: flex; flex-direction: column; gap: 9px; width: 100%; }
.score-line { display: flex; align-items: center; gap: 12px; }
.score-line .nm { font-size: 12.5px; font-weight: 800; width: 124px; }
.score-line .bar { flex: 1; height: 10px; border-radius: 5px; background: var(--bg); border: 1.5px solid var(--border); overflow: hidden; }
.score-line .fill { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.score-line .pc { font-size: 12px; font-weight: 900; color: var(--accent-dark); width: 38px; text-align: right; }
.swipe-stack { position: relative; width: 120px; height: 96px; margin: 0 auto; }
.swipe-card {
  position: absolute; inset: 0; border-radius: 14px; border: 2px solid var(--dark);
  background: var(--lavender); box-shadow: 2px 3px 0 var(--dark);
}
.swipe-card.back { transform: rotate(-6deg) translateX(-12px); background: var(--peach); }
.swipe-card.front { transform: rotate(4deg) translateX(10px); background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.fav-row {
  width: 100%; background: var(--cream); border: 2px solid var(--dark); box-shadow: 2px 3px 0 var(--dark);
  border-radius: 13px; padding: 9px 12px; display: flex; align-items: center; gap: 10px;
}
.fav-row .thumb { width: 36px; height: 36px; border-radius: 9px; background: var(--peach); flex-shrink: 0; }
.fav-row .t { font-size: 12.5px; font-weight: 900; }
.fav-row .m { font-size: 10px; font-weight: 700; color: var(--mid); }
.fav-row .heart { margin-left: auto; font-size: 15px; }
.dark-tile {
  width: 58px; height: 58px; border-radius: 12px; background: #1E1E32;
  border: 2px solid #5050A0; box-shadow: 2px 3px 0 #3C3C60;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.dark-tile .emoji { font-size: 22px; line-height: 1; }
.dark-tile .name { font-size: 7px; font-weight: 800; color: #7070A0; text-transform: uppercase; }
.mode-pill {
  display: inline-flex; gap: 3px; background: #13131F; border: 1.5px solid #2A2A45;
  border-radius: 50px; padding: 4px;
}
.mode-pill span { padding: 5px 13px; border-radius: 50px; font-size: 11px; font-weight: 800; color: #7070A0; }
.mode-pill .on { background: #2A2A45; color: #F0F0FA; }

/* ───────── ROADMAP ───────── */
.roadmap-band { background: var(--white); border-bottom: 2px solid var(--dark); }
.tomato-card {
  background: var(--urgent-bg); border-radius: 22px; padding: 32px;
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
  margin-bottom: 22px;
}
.tomato-face {
  width: 86px; height: 86px; border-radius: 24px; background: var(--white);
  border: 2px solid var(--dark); box-shadow: 3px 4px 0 var(--dark);
  display: flex; align-items: center; justify-content: center; font-size: 44px;
}
.tomato-card .tag {
  display: inline-flex; background: var(--dark); color: var(--white);
  border-radius: 50px; padding: 4px 12px; margin-bottom: 10px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.tomato-card h3 { font-size: 24px; margin-bottom: 8px; }
.tomato-card p { font-size: 15px; font-weight: 700; color: var(--mid); line-height: 1.6; max-width: 640px; text-wrap: pretty; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.road-item { background: var(--cream); border-radius: 18px; padding: 22px 24px; }
.road-item .ico { font-size: 26px; margin-bottom: 12px; }
.road-item h4 { font-family: 'Fredoka', sans-serif; font-weight: 400; font-size: 17px; margin-bottom: 7px; }
.road-item p { font-size: 13.5px; font-weight: 700; color: var(--mid); line-height: 1.55; text-wrap: pretty; }

/* ───────── PREMIUM ───────── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 880px; }
.plan { background: var(--white); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.plan.premium { background: var(--mint-light); position: relative; }
.plan-name { font-family: 'Fredoka', sans-serif; font-size: 22px; margin-bottom: 4px; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin: 14px 0 4px; }
.plan-price .amount { font-family: 'Fredoka', sans-serif; font-size: 42px; }
.plan-price .per { font-size: 14px; font-weight: 800; color: var(--mid); }
.plan-alt { font-size: 13px; font-weight: 800; color: var(--mint-dark); margin-bottom: 18px; }
.plan-alt .off {
  display: inline-flex; background: var(--mint); border: 1.5px solid var(--dark);
  border-radius: 50px; padding: 1px 9px; margin-left: 6px;
  font-family: 'Fredoka', sans-serif; font-size: 12px; color: var(--dark);
}
.plan-free-note { font-size: 13px; font-weight: 800; color: var(--mid); margin-bottom: 18px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.45; }
.plan li .ck { color: var(--mint-dark); font-weight: 900; flex-shrink: 0; }
.plan li.soon .ck { color: var(--lav-dark); }
.plan li.soon::after {
  content: "bientôt"; align-self: center; margin-left: auto;
  background: var(--lav-light); border: 1.5px solid var(--lavender); color: var(--lav-dark);
  border-radius: 50px; padding: 1px 9px;
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px;
}
.plan .btn { margin-top: auto; }
.trial-ribbon {
  position: absolute; top: -14px; right: 22px;
  background: var(--peach); border: 2px solid var(--dark); box-shadow: 2px 3px 0 var(--dark);
  border-radius: 50px; padding: 5px 14px;
  font-family: 'Fredoka', sans-serif; font-size: 13px;
}

/* ───────── FINAL CTA ───────── */
.cta-band { background: var(--dark); }
.cta-inner { max-width: 1160px; margin: 0 auto; padding: 96px 32px; text-align: center; }
.cta-emojis { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.cta-emojis span {
  width: 54px; height: 54px; border-radius: 14px; background: #2A2A45; border: 2px solid #5050A0;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 2px 3px 0 #3C3C60;
}
.cta-emojis span:nth-child(2) { transform: rotate(-5deg) translateY(-6px); }
.cta-emojis span:nth-child(4) { transform: rotate(5deg) translateY(-6px); }
.cta-inner h2 { color: #F0F0FA; font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.cta-inner p { color: #9494B8; font-size: 16px; font-weight: 700; margin-bottom: 36px; }
.cta-band .btn { box-shadow: var(--shadow-x) var(--shadow-y) 0 #5050A0; }
.cta-band .btn:hover { box-shadow: calc(var(--shadow-x) - 1px) calc(var(--shadow-y) - 1px) 0 #5050A0; }

/* footer */
footer { background: var(--dark); border-top: 1px solid #2A2A45; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 26px 32px;
  display: flex; align-items: center; gap: 24px;
}
.footer-inner .logo-name { color: #F0F0FA; font-size: 16px; }
.footer-inner .logo-mark { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; box-shadow: 2px 2px 0 #3C3C60; border-color: #5050A0; }
.footer-links { margin-left: auto; display: flex; gap: 22px; }
.footer-links a { font-size: 12.5px; font-weight: 700; color: #7070A0; }
.footer-links a:hover { color: #F0F0FA; }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* responsive : en dessous de 920px, le keynote se replie en scrollytelling
   vertical — le téléphone reste collé (sticky) pendant que les 3 étapes
   défilent à côté ; chaque étape pilote l'écran du téléphone via JS. */
@media (max-width: 920px) {
  .journey { height: auto; }
  .stage { position: static; height: auto; overflow: visible; }
  .stage-inner { display: block; max-width: 520px; padding: 96px 24px 64px; height: auto; }

  /* hero copy en tête, pleine largeur */
  .ov-hero { position: static; opacity: 1 !important; transform: none !important;
             pointer-events: auto; width: 100%; margin-bottom: 40px; }

  /* le téléphone se fige en haut du viewport pendant le scroll des étapes */
  .phone-scaler {
    position: sticky; top: 84px; left: auto; margin: 0 auto;
    width: 320px; transform: none !important; z-index: 2;
  }
  .deck { display: flex; }            /* réactivé : l'étape 3 en a besoin */
  .float-card { display: none; }      /* cartes flottantes : hors-sujet en mobile */
  .burst { display: none; }

  /* chaque étape devient un long bloc qui pousse le scroll ;
     sa position dans le viewport déclenche l'écran correspondant */
  .ov-step {
    position: static; opacity: 1 !important; transform: none !important;
    pointer-events: auto; width: 100%; text-align: left;
    min-height: 78vh; display: flex; flex-direction: column; justify-content: center;
    margin-top: -40vh;          /* chevauchement : l'étape suit le téléphone sticky */
  }
  .ov-step[data-step="1"] { margin-top: 8vh; }
  .ov-step .step-num { margin-left: 0; }
  .scroll-hint { display: none; }

  .bento { grid-template-columns: 1fr 1fr; }
  .f-antigaspi, .f-score, .f-swipe, .f-favoris, .f-dark { grid-column: span 2; }
  .stats-inner { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
  .tomato-card { grid-template-columns: 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
