/* NaMesa landing v3 — tokens, base, nav, hero e seções. Fonte de texto e números: docs/landing-v3-copy-deck.md */

/* ---------- tokens ---------- */
:root {
  --bg: #faf7f2;
  --bg-sunk: #f2ede4;
  --surface: #ffffff;
  --ink: #171d15;
  --ink-2: #3f463c;
  --muted: #5f635a;
  --line: #e7e1d6;
  --line-strong: #d8d0c2;
  --brand: #29432f;
  --brand-ink: #f4f0e7;
  --accent: #dc6534;
  --accent-text: #b8481c; /* acento com contraste AA sobre --bg */
  --gold: #e6a82e;

  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-object: 0 1px 1px rgb(23 29 21 / 6%), 0 12px 24px -8px rgb(23 29 21 / 18%), 0 40px 80px -24px rgb(23 29 21 / 28%);
  --shadow-float: 0 1px 2px rgb(23 29 21 / 6%), 0 10px 30px -10px rgb(23 29 21 / 22%);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-line: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--b-line);
  background: var(--b-bg); color: var(--b-fg);
  font: 600 16px/1 var(--text); letter-spacing: -0.01em; text-decoration: none;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgb(23 29 21 / 45%); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-line: var(--line-strong); }
.btn-ghost:hover { --b-bg: var(--surface); box-shadow: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(250 247 242 / 82%);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: inline-flex; font: 800 22px/1 var(--display); letter-spacing: -0.04em; text-decoration: none; color: var(--brand); }
.logo b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-links a:hover { background: var(--bg-sunk); color: var(--ink); }
.nav-login { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-login:hover { color: var(--ink); }
@media (max-width: 860px) {
  .nav-links, .nav-login { display: none; }
  .nav-in { justify-content: space-between; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); text-align: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: #2fa864; box-shadow: 0 0 0 4px rgb(47 168 100 / 15%); margin-left: 6px; }
.hero h1 {
  margin: 22px auto 0;
  font-size: clamp(34px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.045em;
}
.hero h1 span { display: block; color: var(--accent-text); }
.hero-sub { margin: 22px auto 0; max-width: 40rem; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); }
.hero-ctas { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.risk { margin-top: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); list-style: none; padding: 0; }
.risk li { display: inline-flex; align-items: center; gap: 6px; }
.risk svg { width: 15px; height: 15px; color: #2fa864; }

/* palco: a "mesa" onde os celulares estão apoiados */
.stage {
  position: relative; margin-top: clamp(40px, 5vw, 64px);
  height: clamp(420px, 46vw, 560px);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgb(255 255 255 / 75%), transparent 70%),
    linear-gradient(180deg, #efe7da 0%, #e5d9c6 100%);
  overflow: hidden;
  isolation: isolate;
}
.stage::after { /* veio sutil da superfície */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background: repeating-linear-gradient(100deg, transparent 0 22px, rgb(120 90 50 / 5%) 22px 23px);
}
.phones { position: absolute; inset: 0; display: flex; justify-content: center; }
.phones .phone { position: absolute; top: 48px; }
.phones .phone-c { z-index: 3; width: 300px; }
.phones .phone-l, .phones .phone-r { z-index: 2; width: 244px; top: 96px; }
.phones .phone-l { transform: translateX(-236px) rotate(-5deg); }
.phones .phone-r { transform: translateX(236px) rotate(5deg); }

/* eventos do pedido #1042 flutuando sobre a mesa */
.event {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 10px; border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-float); border: 1px solid var(--line);
  text-align: left; white-space: nowrap;
}
.event-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.event-ic svg { width: 20px; height: 20px; }
.event small { display: block; font: 500 11.5px/1.3 var(--text); color: var(--muted); }
.event b { display: block; font: 600 14px/1.3 var(--text); letter-spacing: -0.01em; }
.ev-origin { left: max(20px, calc(50% - 580px)); top: 132px; }
.ev-origin .event-ic { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.ev-pix { right: max(20px, calc(50% - 580px)); top: 176px; }
.ev-pix .event-ic { background: #e3f4ea; color: #1f8a4f; }
.ev-cash { left: max(44px, calc(50% - 556px)); top: 330px; }
.ev-cash .event-ic { background: #fbefd2; color: #a8730c; }
.ev-pix em { font-style: normal; color: #1f8a4f; }

.js .event { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .event.is-on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .event { opacity: 1; transform: none; transition: none; } }

.stage-note { position: absolute; right: 20px; bottom: 16px; z-index: 5; padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / 70%); font-size: 12px; color: var(--ink-2); }

@media (max-width: 1080px) {
  .phones .phone-l { transform: translateX(-210px) rotate(-5deg); }
  .phones .phone-r { transform: translateX(210px) rotate(5deg); }
  .ev-origin { top: 40px; }
  .ev-pix { top: 92px; }
  .ev-cash { display: none; }
}
@media (max-width: 760px) {
  .stage { height: 520px; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-inline: calc(-1 * var(--gutter) + 8px); }
  .phones .phone-l, .phones .phone-r { display: none; }
  .phones .phone-c { width: 272px; top: 104px; }
  .ev-origin { left: 12px; top: 18px; }
  .ev-pix { display: none; } /* o 0% de comissão aparece logo abaixo, na faixa de provas */
  .stage-note { top: 76px; right: 12px; bottom: auto; font-size: 11px; }
  .event { padding: 10px 12px 10px 10px; gap: 10px; }
  .event b { font-size: 14px; }
}

/* faixa de integrações */
.integ-strip { padding: 28px 0 0; border-top: 1px solid var(--line); background: var(--surface); }
.integ-strip p { font-size: 14px; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; margin: 18px 0 0; padding: 0 0 32px; list-style: none; }
.logos li { display: flex; align-items: center; gap: 8px; filter: grayscale(1); opacity: 0.6; transition: filter 0.2s, opacity 0.2s; }
.logos li:hover { filter: none; opacity: 1; }
.logos img { height: 24px; width: auto; max-width: 112px; object-fit: contain; }
.logo-text { font: 700 18px/1 var(--display); letter-spacing: -0.03em; color: #6f6f69; }

/* ---------- faixa de provas ---------- */
.proofs { padding: clamp(56px, 8vw, 96px) 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.proof { padding: 32px 28px 30px; border-left: 1px solid var(--line); }
.proof:first-child { border-left: 0; }
.proof b { display: block; font: 700 clamp(40px, 4.4vw, 56px)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.proof b small { font-size: 0.5em; letter-spacing: -0.03em; }
.proof:first-child b { color: var(--accent-text); }
.proof span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 18ch; }
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof:nth-child(3) { border-left: 0; }
  .proof:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .proof { padding: 24px 20px; }
}


/* ---------- CTA flutuante (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: none;
}
@media (max-width: 760px) {
  .sticky-cta { display: flex; transform: translateY(140%); transition: transform 0.35s var(--ease); }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { width: 100%; box-shadow: 0 12px 30px -10px rgb(23 29 21 / 50%); }
}

/* ==========================================================================
   Celular + cardápio (mockup de interface; escopo .phone)
   Regras do cardápio: arte no topo, sem taxa/tempo/chips de info, cabeçalho sem sobrepor conteúdo.
   ========================================================================== */
.phone {
  aspect-ratio: 300 / 620;
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(155deg, #3a3f37, #141713 55%, #0b0d0a);
  box-shadow: var(--shadow-object), inset 0 0 0 1.5px rgb(255 255 255 / 10%);
  user-select: none;
}
.screen {
  --t-paper: #f7f3ec; --t-surface: #fff; --t-ink: #2c3827; --t-muted: #6f6a5e;
  --t-line: #e5ddcf; --t-soft: #efe9df; --t-accent: #dc6534; --t-on-accent: #fff;
  height: 100%; overflow: hidden; border-radius: 40px;
  background: var(--t-paper); color: var(--t-ink);
  font: 400 11px/1.35 var(--text); text-align: left;
  display: flex; flex-direction: column;
}
.t-muzza {
  --t-paper: #fdf8f6; --t-ink: #4b5628; --t-muted: #7d8360; --t-line: #e9e6d6; --t-soft: #f2f1e4; --t-accent: #8f9c4f;
}
.t-visitantes {
  --t-paper: #070b16; --t-surface: #101828; --t-ink: #e6ffe0; --t-muted: #8fb59a; --t-line: #1f3a33; --t-soft: #0e1a24; --t-accent: #39ff14; --t-on-accent: #04140a;
}
.sb { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 6px; font-weight: 700; font-size: 11px; }
.sb i { width: 74px; height: 22px; border-radius: 12px; background: #000; }
.sb span:last-child { letter-spacing: 0.04em; font-size: 9px; }
.m-head { padding: 6px 16px 10px; text-align: center; }
.m-head img { margin: 0 auto; height: 30px; width: auto; }
.m-name { font: 800 17px/1.1 var(--display); letter-spacing: -0.03em; }
.t-visitantes .m-name { font-size: 15px; letter-spacing: 0.08em; color: var(--t-accent); }
.m-tag { margin-top: 3px; font-size: 10px; color: var(--t-muted); }
.m-cash { margin: 0 12px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--t-surface); border: 1px solid var(--t-line); }
.m-coin { width: 22px; height: 22px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fde9a8, #e6a82e 55%, #a8730c); box-shadow: inset 0 -1px 0 rgb(0 0 0 / 15%); }
.m-cash b { display: block; font-size: 11px; }
.m-cash small { display: block; font-size: 9.5px; color: var(--t-muted); }
.m-cash em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 10px; color: var(--t-accent); }
.m-art { position: relative; margin: 10px 12px 0; border-radius: 14px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--t-soft); }
.m-art img { width: 100%; height: 100%; object-fit: cover; }
.m-bars { position: absolute; top: 7px; left: 8px; right: 8px; display: flex; gap: 3px; }
.m-bars span { flex: 1; height: 2px; border-radius: 2px; background: rgb(255 255 255 / 45%); overflow: hidden; }
.m-bars span:first-child { background: #fff; }
.m-art-cta { position: absolute; right: 8px; bottom: 8px; padding: 5px 9px; border-radius: 999px; background: #fff; color: #171d15; font-weight: 700; font-size: 9.5px; }
.m-cats { display: flex; gap: 6px; padding: 12px 12px 4px; overflow: hidden; }
.m-cats span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--t-line); font-weight: 600; font-size: 10px; white-space: nowrap; color: var(--t-muted); }
.m-cats span.on { background: var(--t-ink); border-color: var(--t-ink); color: var(--t-paper); }
.t-visitantes .m-cats span.on { background: var(--t-accent); border-color: var(--t-accent); color: var(--t-on-accent); }
.m-sec { padding: 8px 14px 6px; font: 700 13px/1 var(--display); letter-spacing: -0.02em; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.m-card { min-width: 0; }
.m-pic { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--t-surface); border: 1px solid var(--t-line); overflow: hidden; display: grid; place-items: center; }
.m-pic img { width: 100%; height: 100%; object-fit: cover; }
.m-pic.cut img { width: 96%; height: 96%; object-fit: contain; filter: drop-shadow(0 6px 6px rgb(0 0 0 / 22%)); }
.m-off { position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 999px; background: var(--t-accent); color: var(--t-on-accent); font-weight: 700; font-size: 9px; }
.m-3d { position: absolute; top: 6px; right: 6px; padding: 2px 5px; border-radius: 6px; background: rgb(23 29 21 / 80%); color: #fff; font-weight: 700; font-size: 8.5px; }
.m-add { position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--t-accent); color: var(--t-on-accent); font-weight: 700; font-size: 14px; line-height: 1; }
.m-step { position: absolute; right: 6px; bottom: 6px; display: flex; align-items: center; gap: 7px; padding: 3px 8px; border-radius: 999px; background: var(--t-accent); color: var(--t-on-accent); font-weight: 700; font-size: 10px; }
.m-pn { display: block; margin-top: 6px; font-weight: 600; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-pp { display: flex; gap: 5px; align-items: baseline; font-weight: 700; font-size: 11px; }
.m-pp s { font-weight: 400; font-size: 9.5px; color: var(--t-muted); }

/* ==========================================================================
   Seções (fase 3): títulos, dois lados, jornada #1042, de quem é o cliente
   ========================================================================== */
.sec-title { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -0.04em; max-width: 22ch; }
.sec-title span { color: var(--muted); }
.sec-lead { margin-top: 16px; font-size: 19px; color: var(--ink-2); max-width: 40rem; }

/* ---------- dois lados da mesa ---------- */
.sides { padding: clamp(24px, 4vw, 40px) 0 clamp(72px, 10vw, 128px); }
.sides-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.side { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 12px 12px 32px; }
.side-visual { position: relative; height: 260px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.side-guest .side-visual { background: linear-gradient(180deg, #f6efe3, #ecdfca); }
.side-owner .side-visual { background: linear-gradient(180deg, #edf1ea, #dde5d8); }
.side-label { margin: 28px 20px 0; font: 700 22px/1.2 var(--display); letter-spacing: -0.03em; }
.ticks { list-style: none; margin: 16px 20px 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-sunk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2329432f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }

.mini-card { width: 280px; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-object); transform: rotate(-2deg); }
.mini-pic { position: relative; width: 84px; aspect-ratio: 1; border-radius: 12px; background: var(--bg-sunk); display: grid; place-items: center; flex: none; }
.mini-pic img { width: 96%; filter: drop-shadow(0 6px 6px rgb(0 0 0 / 22%)); }
.mini-pic .m-3d { top: 4px; right: 4px; }
.mini-info b { display: block; font-size: 14px; line-height: 1.25; }
.mini-info span { display: block; margin-top: 2px; font-weight: 700; font-size: 14px; }
.mini-info s { font-weight: 400; font-size: 12px; color: var(--muted); }
.mini-info em { display: inline-block; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 12px/1 var(--text); font-style: normal; }
.mini-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-float); font-size: 13px; font-weight: 600; white-space: nowrap; }
.side-guest .mini-chip { right: 8%; bottom: 14%; }
.mini-chip svg { width: 18px; height: 18px; color: #1f8a4f; margin-left: 4px; }
.mini-chip-pix { left: 8%; bottom: 12%; }
.mini-report { width: 270px; padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-object); transform: rotate(1.5deg) translateY(-14px); }
.mini-h { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.mini-row { display: grid; grid-template-columns: 74px 1fr 36px; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; }
.mini-row i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--w), var(--bg-sunk) var(--w)); }
.mini-row b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .sides-grid { grid-template-columns: 1fr; } .side-visual { height: 220px; } }

/* ---------- jornada do pedido #1042 ---------- */
.journey { padding: clamp(72px, 10vw, 128px) 0; background: var(--bg-sunk); border-block: 1px solid var(--line); }
.journey-grid { margin-top: 48px; }
.journey-stage { display: none; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.chapter { position: relative; }
.ch-time { align-self: flex-start; display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 600 13px/1.2 var(--text); font-variant-numeric: tabular-nums; color: var(--accent-text); }
.chapter h3 { margin-top: 16px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -0.035em; }
.chapter > p:not(.ch-time) { margin-top: 12px; font-size: 17px; color: var(--ink-2); max-width: 32rem; }
.ch-visual { margin-top: 24px; padding: 32px 16px; border-radius: var(--r-lg); background: linear-gradient(180deg, #efe7da, #e5d9c6); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; overflow: hidden; }
.journey-note { margin-top: 32px; font-size: 13px; color: var(--muted); }

/* palco fixo no desktop (JS move os objetos para cá) */
@media (min-width: 960px) {
  .js .journey-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .js .journey-stage {
    display: block; position: sticky; top: 96px; height: min(600px, calc(100vh - 128px));
    border-radius: var(--r-xl); overflow: hidden;
    background: radial-gradient(70% 70% at 50% 20%, rgb(255 255 255 / 70%), transparent 70%), linear-gradient(180deg, #efe7da, #e3d6c1);
  }
  .js .journey-stage-in { position: absolute; inset: 0; display: grid; place-items: center; }
  .js .journey-stage .obj { grid-area: 1 / 1; opacity: 0; transform: translateY(-12px) scale(0.98); transition: opacity 0.2s ease, transform 0.3s ease; pointer-events: none; }
  .js .journey-stage .obj.is-active { opacity: 1; transform: none; transition: opacity 0.45s var(--ease) 0.15s, transform 0.6s var(--ease) 0.15s; }
  .js .journey-stage .obj:not(.is-active) { transform: translateY(24px) scale(0.97); }
  .js .chapters { gap: 0; padding: 12vh 0 18vh; }
  .js .chapter { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.35; transition: opacity 0.4s; }
  .js .chapter.is-active { opacity: 1; }
  .js .ch-visual { display: none; }
}
@media (prefers-reduced-motion: reduce) { .js .journey-stage .obj { transition: none; } }

/* objetos da jornada */
.obj { max-width: 100%; }
.obj-report { width: 400px; padding: 22px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-object); }
.rep-head b { display: block; font: 700 18px/1.2 var(--display); letter-spacing: -0.02em; }
.rep-head span { font-size: 13px; color: var(--muted); }
.rep-rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.rep-rows li { display: grid; grid-template-columns: 1fr 90px 34px 74px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rep-rows li.is-hot { background: #fdf0e8; }
.rep-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.rep-bar { height: 8px; border-radius: 4px; background: var(--bg-sunk); overflow: hidden; }
.rep-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--brand); }
.is-hot .rep-bar i { background: var(--accent); }
.rep-n { text-align: right; font-weight: 600; }
.rep-v { text-align: right; color: var(--muted); }
.rep-foot { margin-top: 12px; padding: 12px 10px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 14px; }
.rep-foot span { color: var(--muted); }

.obj-dish { position: relative; width: 320px; }
.obj-dish figure { margin: 0; position: relative; }
.dish-after { padding: 14px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-object); transform: rotate(-1.5deg); }
.dish-after img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 14px; background: radial-gradient(60% 55% at 50% 55%, #fff, #f2ede4); filter: drop-shadow(0 14px 12px rgb(0 0 0 / 20%)); }
.dish-after .m-3d { top: 22px; right: 22px; font-size: 11px; padding: 3px 7px; }
.dish-after figcaption { margin-top: 12px; padding: 0 4px; }
.dish-after figcaption b { display: block; font-size: 16px; }
.dish-after figcaption span { font-weight: 700; }
.dish-after figcaption s { font-weight: 400; font-size: 13px; color: var(--muted); }
.dish-tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dish-tags li { padding: 6px 10px 6px 26px; border-radius: 999px; background: rgb(255 255 255 / 80%); font-size: 12.5px; font-weight: 600; position: relative; }
.dish-tags li::before { content: ''; position: absolute; left: 9px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #2fa864; }

.obj-pix { width: 340px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-object); overflow: hidden; }
.pix-top { padding: 28px 24px 22px; text-align: center; background: linear-gradient(180deg, #e8f6ee, #fff); }
.pix-ok { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #1f8a4f; color: #fff; }
.pix-ok svg { width: 24px; height: 24px; }
.pix-top small { display: block; font-size: 13px; color: var(--muted); }
.pix-top b { display: block; margin: 4px 0 6px; font: 700 40px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pix-top > span:last-child { font-size: 13px; color: var(--ink-2); }
.pix-rows { margin: 0; padding: 8px 24px 20px; }
.pix-rows div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pix-rows div:last-child { border-bottom: 0; }
.pix-rows dt { color: var(--muted); }
.pix-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pix-zero dd { color: #1f8a4f; }

.obj-ticket { width: 300px; filter: drop-shadow(0 30px 40px rgb(23 29 21 / 25%)); }
.tk-paper {
  position: relative; padding: 22px 20px 64px; background: #fffdf8;
  font: 500 12px/1.55 var(--mono); color: #2a2a26;
  -webkit-mask: radial-gradient(6px at 50% 100%, #0000 98%, #000) 0 0 / 14px 100% repeat-x;
          mask: radial-gradient(6px at 50% 100%, #0000 98%, #000) 0 0 / 14px 100% repeat-x;
}
.tk-center { text-align: center; }
.tk-center b { font-size: 13px; letter-spacing: 0.06em; }
.tk-dash { height: 0; margin: 10px 0; border-top: 1px dashed #b9b2a4; }
.tk-row { display: flex; justify-content: space-between; gap: 12px; }
.tk-row span:last-child { text-align: right; }
.tk-total { font-weight: 700; font-size: 13px; }
.tk-stamp { position: absolute; right: 22px; bottom: 22px; padding: 4px 10px; border: 2px solid #1f8a4f; border-radius: 6px; color: #1f8a4f; font: 700 13px/1 var(--text); text-transform: uppercase; letter-spacing: 0.04em; transform: rotate(-8deg); opacity: 0.9; }

.obj-chat { width: 340px; border-radius: 22px; overflow: hidden; background: #efe6dc; box-shadow: var(--shadow-object); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #1f5c4a; color: #fff; }
.chat-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font: 800 15px/1 var(--display); }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { font-size: 12px; opacity: 0.75; }
.chat-body { padding: 16px 14px 18px; display: grid; gap: 8px; }
.bubble { position: relative; max-width: 85%; padding: 9px 12px 20px; border-radius: 12px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgb(0 0 0 / 8%); }
.bubble time { position: absolute; right: 10px; bottom: 4px; font-size: 10.5px; color: var(--muted); }
.bubble-in { background: #fff; border-top-left-radius: 4px; }
.bubble-out { justify-self: end; background: #d9fdd3; border-top-right-radius: 4px; }
.bubble-link { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: #1a73c9; font-weight: 600; text-align: center; }
.bubble-sys { justify-self: center; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 600; color: #1f8a4f; }
.bubble-sys svg { width: 14px; height: 14px; }

@media (max-width: 520px) {
  .obj-report { padding: 16px; }
  .rep-rows li { grid-template-columns: 1fr 50px 30px; padding: 7px 6px; }
  .rep-v { display: none; }
  .obj-dish { width: 270px; }
}

/* ---------- de quem é o cliente ---------- */
.owner { padding: clamp(72px, 10vw, 128px) 0; }
.owner-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rec { border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.rec-app { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.rec-own { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(41 67 47 / 8%); }
.rec-label { font: 700 20px/1.2 var(--display); letter-spacing: -0.02em; }
.rec-app .rec-label { color: var(--muted); }
.rec dl { margin: 20px 0 0; }
.rec dl div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rec dt { color: var(--muted); font-size: 15px; }
.rec dd { margin: 0; font-weight: 600; font-size: 16px; text-align: right; }
.redact { display: inline-block; width: 150px; height: 18px; border-radius: 4px; background: #23281f; vertical-align: middle; }
.rec dl div:nth-child(2) .redact { width: 130px; }
.rec dl div:nth-child(3) .redact { width: 120px; }
.rec dl div:nth-child(4) .redact { width: 96px; }
.reveal { position: relative; display: inline-block; }
.js .reveal::after { content: ''; position: absolute; inset: -1px -3px; border-radius: 4px; background: #23281f; transform-origin: right; transition: transform 0.6s var(--ease); }
.js .rec-own.is-in .reveal::after { transform: scaleX(0); }
.js .rec-own.is-in dl div:nth-child(2) .reveal::after { transition-delay: 0.15s; }
.js .rec-own.is-in dl div:nth-child(3) .reveal::after { transition-delay: 0.3s; }
.js .rec-own.is-in dl div:nth-child(4) .reveal::after { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) { .js .reveal::after { display: none; } }
.rec-foot { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.rec-app .rec-foot { color: var(--muted); }
@media (max-width: 860px) { .owner-grid { grid-template-columns: 1fr; } .rec { padding: 22px; } }

/* ==========================================================================
   Seções (fase 4): cashback, calculadora, integrações, passos, dúvidas, final, rodapé
   ========================================================================== */
.btn-accent { --b-bg: #c4501f; --b-fg: #fff; }
.btn-accent:hover { --b-bg: #ad451a; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- cashback ---------- */
.cash { padding: clamp(72px, 10vw, 128px) 0; background: var(--brand); color: var(--brand-ink); overflow: hidden; }
.cash .sec-title span { color: var(--gold); }
.cash .sec-lead { color: rgb(244 240 231 / 78%); }
.cash-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: center; }
.cash-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.cash-coins { width: min(460px, 100%); filter: drop-shadow(0 40px 50px rgb(0 0 0 / 35%)); }
.wallet {
  position: absolute; right: 0; bottom: 6px; width: 260px; padding: 18px 18px 14px;
  border-radius: 20px; background: rgb(255 255 255 / 96%); color: var(--ink); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 45%);
}
.wallet-label { display: block; font-size: 12.5px; color: var(--muted); }
.wallet-amount { display: block; margin: 2px 0 10px; font: 700 34px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.wallet-row { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; font-variant-numeric: tabular-nums; }
.wallet-row span:last-child { font-weight: 600; }
.wallet-warn span:last-child { color: #a8730c; }
.cash-cards { grid-column: 1 / -1; list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgb(244 240 231 / 16%); border-radius: var(--r-lg); overflow: hidden; }
.cash-cards li { padding: 26px 24px; border-left: 1px solid rgb(244 240 231 / 16%); }
.cash-cards li:first-child { border-left: 0; }
.cash-cards b { display: block; font: 700 18px/1.25 var(--display); letter-spacing: -0.02em; color: #fff; }
.cash-cards span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; color: rgb(244 240 231 / 72%); }
@media (max-width: 960px) {
  .cash-in { grid-template-columns: 1fr; }
  .cash-art { min-height: 320px; }
  .cash-cards { grid-template-columns: 1fr 1fr; }
  .cash-cards li:nth-child(3) { border-left: 0; }
  .cash-cards li:nth-child(n + 3) { border-top: 1px solid rgb(244 240 231 / 16%); }
}
@media (max-width: 560px) {
  .wallet { right: 50%; transform: translateX(50%); width: 270px; bottom: 0; }
  .cash-art { min-height: 360px; place-items: start center; }
  .cash-coins { width: 300px; }
  .cash-cards { grid-template-columns: 1fr; }
  .cash-cards li { border-left: 0; padding: 20px; }
  .cash-cards li + li { border-top: 1px solid rgb(244 240 231 / 16%); }
}

/* ---------- calculadora ---------- */
.calc { padding: clamp(72px, 10vw, 128px) 0; }
.calc-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; }
.calc-form, .calc-result { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: clamp(22px, 3vw, 36px); }
.presets { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.presets legend { margin-bottom: 12px; font-weight: 600; font-size: 15px; }
.presets button { padding: 10px 8px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 600 14px/1.3 var(--text); cursor: pointer; }
.presets button small { display: block; font-weight: 500; color: var(--muted); }
.presets button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.presets button[aria-pressed="true"] small { color: rgb(255 255 255 / 70%); }
.range { display: block; margin-top: 28px; }
.range-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-2); }
.range output { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.range input { width: 100%; margin: 14px 0 0; accent-color: var(--accent); height: 28px; cursor: pointer; }
.calc-form .fine { margin-top: 24px; }
.calc-big { font-size: 18px; color: var(--ink-2); }
.calc-big b { display: block; font: 700 clamp(48px, 6vw, 72px)/1 var(--display); letter-spacing: -0.05em; color: var(--accent-text); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.year { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.year li { position: relative; height: 72px; border-radius: 8px; background: #dfe7da; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font-size: 11px; font-weight: 600; color: var(--brand); }
.year li::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: right; transform: scaleX(var(--fill, 0)); transition: transform 0.35s var(--ease); }
.year li span { position: relative; }
.year li.is-app { color: #fff; }
.year-legend { margin-top: 12px; display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.year-legend span { display: inline-flex; align-items: center; gap: 6px; }
.year-legend i { width: 10px; height: 10px; border-radius: 3px; }
.k-you { background: #dfe7da; } .k-app { background: var(--accent); }
.calc-sub { margin-top: 20px; font-size: 16px; color: var(--ink-2); }
.calc-sub b { color: var(--ink); }
.calc-result .btn { margin-top: 24px; width: 100%; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } .year li { height: 56px; font-size: 9px; } }
@media (max-width: 420px) { .presets { grid-template-columns: 1fr; } }

/* ---------- integrações ---------- */
.integ { padding: 0 0 clamp(72px, 10vw, 128px); }
.int-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.int-grid li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 170px; }
.int-grid li:nth-child(4n) { border-right: 0; }
.int-grid li:nth-last-child(-n + 4) { border-bottom: 0; }
.int-grid img { height: 28px; width: auto; max-width: 120px; object-fit: contain; object-position: left; margin-bottom: auto; }
.int-mark { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; margin-bottom: auto; font: 800 13px/1 var(--display); }
.int-99 { background: #ffd23f; color: #1b1b1b; }
.int-grid b { margin-top: 18px; font-size: 16px; }
.int-role { font-size: 14px; line-height: 1.45; color: var(--muted); }
.int-ask { background: var(--bg); }
.int-ask b { margin-top: 0; }
.int-ask a { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--accent-text); text-decoration: none; }
.int-ask a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .int-grid { grid-template-columns: 1fr 1fr; }
  .int-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .int-grid li:nth-child(2n) { border-right: 0; }
  .int-grid li:nth-last-child(-n + 2) { border-bottom: 0; }
  .int-grid li { min-height: 150px; padding: 18px; }
}

/* ---------- como começar + formulário do @ ---------- */
.steps { padding: clamp(72px, 10vw, 128px) 0; background: var(--bg-sunk); border-block: 1px solid var(--line); }
.steps-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.step-list { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; display: grid; gap: 22px; }
.step-list li { counter-increment: step; position: relative; padding-left: 60px; }
.step-list li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font: 700 17px/1 var(--display); }
.step-list b { display: block; font-size: 18px; letter-spacing: -0.01em; }
.step-list span { display: block; margin-top: 2px; color: var(--ink-2); }
.lead { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.lead-title { font: 700 22px/1.2 var(--display); letter-spacing: -0.03em; margin-bottom: 18px; }
.lead label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.lead-row { display: flex; gap: 8px; }
.lead input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); font: 500 17px/1 var(--text); color: var(--ink); }
.lead input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(220 101 52 / 16%); }
.lead-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .steps-in { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .lead-row { flex-direction: column; } .lead input { flex: none; } .lead-row .btn { width: 100%; } }

/* ---------- dúvidas ---------- */
.faq { padding: clamp(72px, 10vw, 128px) 0; }
.faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 96px; }
.faq-side .btn { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 600 18px/1.35 var(--text); letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-weight: 400; font-size: 20px; transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 22px 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; gap: 32px; } .faq-side { position: static; } .faq-list summary { font-size: 17px; } }

/* ---------- CTA final ---------- */
.final { padding: clamp(80px, 11vw, 144px) 0; background: var(--brand); color: var(--brand-ink); text-align: center; }
.final h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.045em; }
.final h2 span { color: var(--gold); }
.final-in > p { margin: 18px auto 0; max-width: 34rem; font-size: 18px; color: rgb(244 240 231 / 78%); }
.lead-dark { max-width: 560px; margin: 32px auto 0; padding: 8px; border-radius: 999px; background: rgb(255 255 255 / 8%); border-color: rgb(255 255 255 / 14%); box-shadow: none; }
.lead-dark input { background: #fff; border-color: transparent; }
.final .final-alt { margin-top: 18px; font-size: 14px; color: rgb(244 240 231 / 65%); }
.final-alt a { color: #fff; }
@media (max-width: 520px) { .lead-dark { border-radius: var(--r-lg); padding: 10px; } }

/* ---------- rodapé ---------- */
.foot { padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 26rem; font-size: 15px; color: var(--muted); }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot-h { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.foot nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .foot { padding-bottom: 104px; } }
