/* EngPocket v2 — design system
   Referência estrutural: linear.app (versão clara). Tokens próprios. */

:root {
  --bg: #fbfbfa;
  --bg-2: #f5f5f3;
  --bg-3: #efefec;
  --panel: #ffffff;
  --line: #e7e7e3;
  --line-2: #dcdcd7;
  --ink: #141517;
  --ink-2: #3a3d42;
  --ink-3: #686c73;
  --ink-4: #9a9da3;
  --accent: #1f9d5a;
  --accent-ink: #157a44;
  --accent-tint: #e9f5ee;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --ease-quart: cubic-bezier(.165, .84, .44, 1);

  --r-sm: 8px;   /* botões, inputs, pills */
  --r-md: 12px;  /* cards, janelas */
  --r-lg: 16px;  /* containers grandes */

  --max: 1200px;
  --gutter: 24px;
  --nav-h: 64px;

  --shadow-1: 0 1px 2px rgba(20, 21, 23, .04), 0 1px 1px rgba(20, 21, 23, .03);
  --shadow-2: 0 2px 4px rgba(20, 21, 23, .04), 0 8px 24px -6px rgba(20, 21, 23, .08);
  --shadow-3: 0 4px 8px rgba(20, 21, 23, .04), 0 24px 64px -12px rgba(20, 21, 23, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -.011em;
  font-feature-settings: "cv01", "ss03", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: #cfeedd; color: var(--ink); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.t-display {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.t-h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.t-h2 .muted, .t-display .muted { color: var(--ink-4); }
.t-h3 { font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.012em; font-weight: 600; margin: 0; }
.t-lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--ink-3); letter-spacing: -.014em; margin: 0; max-width: 34em; text-wrap: pretty; }
.t-body { color: var(--ink-3); margin: 0; text-wrap: pretty; }
.t-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 550; letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color .16s var(--ease-quart), box-shadow .16s var(--ease-quart), transform .16s var(--ease-quart), color .16s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--ink); color: #fafafa; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(20,21,23,.2); }
.btn-primary:hover { background: #2a2c30; }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-3); color: var(--ink); }
.btn-outline { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-1); }
.btn-outline:hover { background: var(--bg-2); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn .ph { font-size: 15px; }
.btn-arrow .ph { transition: transform .2s var(--ease-quart); }
.btn-arrow:hover .ph { transform: translateX(2px); }

.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--ink); }
.link-arrow .ph { transition: transform .2s var(--ease-quart); }
.link-arrow:hover .ph { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(251, 251, 250, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 251, 250, .86); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 16px; letter-spacing: -.02em; }
.brand img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--ink-3); transition: color .15s, background-color .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-3); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-burger { display: none; width: 36px; height: 36px; border-radius: var(--r-sm); align-items: center; justify-content: center; font-size: 20px; }
.nav-burger:hover { background: var(--bg-3); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter) 24px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease-quart), transform .2s var(--ease-quart);
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; margin-top: 16px; height: 44px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 72px; padding-bottom: 72px; overflow: clip; }
.hero-bg {
  position: absolute; inset: -120px 0 auto 0; height: 900px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(31, 157, 90, .07), transparent 70%),
    radial-gradient(40% 40% at 12% 0%, rgba(20, 21, 23, .035), transparent 70%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20,21,23,.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 30px; padding: 0 12px 0 4px;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  font-size: 13px; color: var(--ink-2);
  transition: box-shadow .2s;
}
.pill:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-2); }
.pill-tag { height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); font-weight: 600; font-size: 12px; }
.pill .ph { color: var(--ink-4); transition: transform .2s var(--ease-quart); }
.pill:hover .ph { transform: translateX(2px); }

.hero-copy { max-width: none; }
.hero-copy .t-display { max-width: 1040px; }
.hero-copy .t-display { margin-top: 24px; }
.hero-row { margin-top: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-row .t-lead { margin: 0; }
.hero-news { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-3); padding-bottom: 4px; transition: color .15s; }
.hero-news b { color: var(--ink); font-weight: 550; }
.hero-news .ph { font-size: 13px; transition: transform .2s var(--ease-quart); }
.hero-news:hover { color: var(--ink); }
.hero-news:hover .ph { transform: translateX(2px); }
.hero-actions { display: flex; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.hero-actions .btn { height: 44px; padding: 0 20px; font-size: 15px; }

/* Entrada do hero */
.rise { opacity: 0; transform: translateY(16px); filter: blur(6px); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }

/* Palco do produto */
.stage { position: relative; margin-top: 64px; perspective: 2200px; }
.stage-inner { width: 86%; }
.stage-inner {
  position: relative;
  transform-origin: 50% 0%;
  transform: rotateX(14deg) scale(.94) translateY(0);
  opacity: 0;
  animation: stage-in 1.4s var(--ease-out) .35s forwards;
}
@keyframes stage-in { to { opacity: 1; } }
@supports (animation-timeline: view()) {
  .stage-inner {
    animation: stage-in 1.4s var(--ease-out) .35s forwards, stage-flatten linear both;
    animation-timeline: auto, view();
    animation-range: normal, entry 0% cover 45%;
  }
  @keyframes stage-flatten { from { transform: rotateX(14deg) scale(.94); } to { transform: rotateX(0deg) scale(1); } }
}
@supports not (animation-timeline: view()) {
  .stage-inner { transition: transform 1.6s var(--ease-out); }
  .stage.is-flat .stage-inner { transform: none; }
}

.window {
  position: relative;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20,21,23,.08), 0 2px 4px rgba(20,21,23,.04), 0 40px 80px -24px rgba(20,21,23,.22), 0 80px 160px -40px rgba(31,157,90,.14);
  overflow: hidden;
}
.window-bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #f4f4f2; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dddcd8; }
.window-url { margin: 0 auto; transform: translateX(-24px); height: 22px; padding: 0 12px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-4); font-family: var(--mono); font-size: 11px; display: flex; align-items: center; gap: 6px; }
.window img { width: 100%; aspect-ratio: 1903 / 928; }

.stage-fade { display: none; position: absolute; left: -40px; right: -40px; bottom: -1px; height: 30%; background: linear-gradient(to bottom, rgba(251,251,250,0), var(--bg) 92%); pointer-events: none; z-index: 2; }

/* Toast de sincronização sobre o painel */
.sync-toast {
  position: absolute; z-index: 3; bottom: 9%; left: -28px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.96);
  box-shadow: 0 0 0 1px rgba(20,21,23,.06), var(--shadow-3);
  font-size: 13px; line-height: 1.35;
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.sync-toast.is-on { opacity: 1; transform: none; }
.sync-toast .ico { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.sync-toast b { font-weight: 600; display: block; }
.sync-toast span { color: var(--ink-3); }
.sync-toast .amt { font-family: var(--mono); font-size: 12px; color: var(--ink); margin-left: 8px; }

/* Telefone com WhatsApp: moldura fotorrealista (Higgsfield) + interface viva por baixo */
.phone {
  position: absolute; z-index: 4;
  right: 0; bottom: -6%;
  width: 280px;
  aspect-ratio: 720 / 1491;
  scale: var(--phone-scale, .94);
  transform-origin: bottom right;
  filter: drop-shadow(0 34px 40px rgba(20,21,23,.28)) drop-shadow(0 8px 14px rgba(20,21,23,.18));
  transform: translateY(24px); opacity: 0;
  animation: phone-in 1.3s var(--ease-out) .75s forwards;
}
@keyframes phone-in { to { transform: none; opacity: 1; } }
.phone-float { position: absolute; inset: 0; animation: phone-float 7s ease-in-out 2s infinite; }
@keyframes phone-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(-.4deg); } }
.phone-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.phone-screen {
  position: absolute; z-index: 1;
  top: 1.75%; bottom: 1.71%; left: 4.34%; right: 4.34%;
  border-radius: 31px; overflow: hidden;
  background: #efe7de url("assets/wa-wallpaper.webp") center / cover;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font);
}
/* reflexo do vidro passando de tempos em tempos */
.phone-glare { position: absolute; z-index: 2; top: 1.75%; bottom: 1.71%; left: 4.34%; right: 4.34%; border-radius: 31px; overflow: hidden; pointer-events: none; }
.phone-glare::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 45%; left: -60%; transform: skewX(-18deg); background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.22), rgba(255,255,255,0)); animation: glare 9s ease-in-out 3s infinite; }
@keyframes glare { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.wa-status { position: relative; z-index: 2; height: 34px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 6px 20px 0 26px; background: #f6f6f6; font-size: 12px; font-weight: 600; color: #000; letter-spacing: -.01em; }
.wa-status span:last-child { display: flex; gap: 4px; font-size: 13px; }
.wa-head { position: relative; z-index: 1; flex-shrink: 0; display: flex; align-items: center; gap: 7px; padding: 4px 10px 7px 6px; background: #f6f6f6; border-bottom: 1px solid rgba(0,0,0,.08); }
.wa-back { color: #007aff; font-size: 17px; display: flex; align-items: center; }
.wa-back small { font-size: 11px; margin-left: -2px; }
.wa-head img { width: 30px; height: 30px; border-radius: 50%; background: #0f1011; padding: 5px; object-fit: contain; }
.wa-head .wa-who { flex: 1; min-width: 0; }
.wa-head b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: #000; }
.wa-head small { display: block; font-size: 10px; color: #667781; line-height: 1.25; }
.wa-acts { display: flex; gap: 14px; color: #007aff; font-size: 17px; }
.wa-body { position: relative; z-index: 1; flex: 1; overflow: hidden; }
.wa-body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; background: linear-gradient(rgba(239,231,222,.95), rgba(239,231,222,0)); z-index: 2; pointer-events: none; }
.wa-day { position: absolute; z-index: 3; top: 8px; left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 7px; background: rgba(255,255,255,.92); box-shadow: 0 1px .5px rgba(0,0,0,.1); font-size: 9.5px; color: #54656f; font-weight: 500; }
.phone .msg { position: relative; }
.phone .msg.out { border-top-right-radius: 0; }
.phone .msg.in { border-top-left-radius: 0; }
.phone .msg.out::after, .phone .msg.in::after { content: ""; position: absolute; top: 0; width: 8px; height: 10px; }
.phone .msg.out::after { right: -6px; background: #d9fdd3; clip-path: polygon(0 0, 100% 0, 0 100%); }
.phone .msg.in::after { left: -6px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.phone .wa-stream { left: 14px; right: 14px; }
.wa-stream { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; flex-direction: column; gap: 6px; will-change: transform; }
.msg-photo { display: block; margin: -2px -4px 5px; border-radius: 6px; overflow: hidden; }
.msg-photo img { width: 100%; height: 92px; object-fit: cover; }
.msg-list { display: grid; gap: 2px; margin: 4px 0 2px; }
.msg-list b, .msg-sum b, .qa-a b { white-space: nowrap; }
.msg-sum { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(0,0,0,.07); color: rgba(0,0,0,.62); }
.msg-ref { display: block; margin-top: 3px; font-family: var(--mono); font-size: 9.5px; color: var(--accent-ink); }
.msg time .ph { color: #53bdeb; font-size: 11px; vertical-align: -2px; }
.msg {
  max-width: 86%; flex-shrink: 0;
  padding: 6px 8px 5px;
  border-radius: 9px;
  font-size: 11px; line-height: 1.38; letter-spacing: -.005em;
  box-shadow: 0 1px .5px rgba(0,0,0,.12);
  opacity: 0; transform: translateY(8px) scale(.98); transform-origin: bottom;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.msg.is-on { opacity: 1; transform: none; }
.msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.msg time { display: block; text-align: right; font-size: 9px; color: rgba(0,0,0,.42); margin-top: 2px; }
.msg b { font-weight: 600; }
.msg ol { margin: 3px 0 0; padding-left: 14px; }
.msg-audio { display: flex; align-items: center; gap: 7px; min-width: 150px; }
.msg-audio .play { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #54656f; font-size: 14px; }
.wave { display: flex; align-items: center; gap: 2px; height: 18px; flex: 1; }
.wave i { width: 2px; border-radius: 2px; background: #8aa79a; height: calc(var(--h) * 1%); }
.msg.is-on .wave i { animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--d) * 70ms); }
@keyframes wave { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.msg-audio .dur { font-size: 9.5px; color: rgba(0,0,0,.45); }
.typing { align-self: flex-start; flex-shrink: 0; background: #fff; border-radius: 9px; border-top-left-radius: 3px; padding: 8px 10px; display: flex; gap: 3px; box-shadow: 0 1px .5px rgba(0,0,0,.12); opacity: 0; transition: opacity .25s; }
.typing.is-on { opacity: 1; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #9aa3a8; animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-3px); opacity: 1; } }
.wa-input { position: relative; z-index: 1; flex-shrink: 0; display: flex; align-items: center; gap: 9px; padding: 6px 10px 18px; background: #f6f6f6; border-top: 1px solid rgba(0,0,0,.06); color: #007aff; font-size: 18px; }
.wa-input .wa-field { flex: 1; height: 28px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; color: #8696a0; font-size: 15px; }
.wa-input .wa-home { position: absolute; left: 50%; bottom: 5px; width: 34%; height: 4px; margin-left: -17%; border-radius: 3px; background: #111; }

/* Áudio do WhatsApp (componente) */
.wa-audio { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.wa-play { width: 18px; flex-shrink: 0; display: grid; place-items: center; color: #54656f; font-size: 17px; }
.wa-track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 6px; }
.wa-wave { position: relative; display: flex; align-items: center; justify-content: space-between; height: 20px; }
.wa-wave i { flex: 0 0 2.5px; border-radius: 2px; background: #9bb89e; height: calc(var(--h) * 1%); }
.wa-knob { position: absolute; left: -2px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: #1f9d5a; box-shadow: 0 0 0 2px #d9fdd3; }
.wa-meta { display: flex; justify-content: space-between; font-size: 9.5px; line-height: 1; color: rgba(0,0,0,.45); }
.wa-meta .ph { color: #53bdeb; font-size: 11px; vertical-align: -2px; }
.wa-avatar { position: relative; width: 36px; height: 36px; flex-shrink: 0; }
.wa-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wa-avatar i { position: absolute; left: -5px; bottom: -1px; width: 16px; height: 16px; border-radius: 50%; background: #d9fdd3; color: #1f9d5a; font-size: 11px; display: grid; place-items: center; }
.msg:has(> .wa-audio) { padding: 7px 9px 6px 8px; }
.wa-play { position: relative; height: 20px; }
.wa-play i { position: absolute; inset: 0; display: grid; place-items: center; }
.wa-play .i-pause { opacity: 0; }
.wa-fill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; clip-path: inset(0 100% 0 0); pointer-events: none; }
.wa-fill i { background: #1f9d5a; }
.msg.is-on .wa-knob { animation: knob 5s linear infinite; }
.msg.is-on .wa-fill { animation: wfill 5s linear infinite; }
.msg.is-on .wa-play .i-pause { animation: showpause 5s steps(1, end) infinite; }
.msg.is-on .wa-play .i-play { animation: showplay 5s steps(1, end) infinite; }
@keyframes knob { 0%, 8% { left: -2px; } 82% { left: calc(100% - 9px); } 82.01%, 100% { left: -2px; } }
@keyframes wfill { 0%, 8% { clip-path: inset(0 100% 0 0); } 82% { clip-path: inset(0 0 0 0); } 82.01%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes showpause { 0% { opacity: 0; } 8% { opacity: 1; } 82% { opacity: 0; } }
@keyframes showplay { 0% { opacity: 1; } 8% { opacity: 0; } 82% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wa-fill, .wa-knob, .wa-play i { animation: none !important; } }
.wa-md { min-width: 240px; }
.wa-lg { min-width: 300px; gap: 10px; }
.wa-lg .wa-play { font-size: 22px; width: 22px; }
.wa-lg .wa-wave { height: 26px; }
.wa-lg .wa-wave i { flex-basis: 3px; }
.wa-lg .wa-meta { font-size: 11px; }
.wa-lg .wa-avatar { width: 46px; height: 46px; }
.wa-lg .wa-knob { width: 13px; height: 13px; margin-top: -6.5px; }

/* ---------- Clientes ---------- */
.clients { padding: 40px 0 24px; }
.clients-title { text-align: center; font-size: 14px; color: var(--ink-3); margin: 0 0 32px; }
.clients-title b { color: var(--ink); font-weight: 550; }
.logo-row { display: grid; grid-template-columns: repeat(8, 1fr); align-items: center; gap: 32px; }
.logo-row img { height: 34px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; opacity: .5; transition: opacity .25s; }
.logo-row img.tall { height: 44px; }
.logo-row img:hover { opacity: .85; }

/* ---------- Pilares ---------- */
.pillars { padding: 96px 0 40px; }
.pillars-head { max-width: 920px; }
.pillars-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 56px; border-top: 1px solid var(--line); }
.pillar { position: relative; padding: 28px 0 8px; }
.pillar + .pillar::before { content: ""; position: absolute; left: -28px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.pillar-art { height: 196px; margin-bottom: 24px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.pillar .t-h3 { margin-bottom: 6px; }

/* arte 1: conversa real */
.pillar-art.wa-bg, .pillar:first-child .pillar-art { background: #efe7de; box-shadow: inset 0 0 0 1px #e4dacd; }
.art-wa { width: 84%; display: flex; flex-direction: column; gap: 6px; }
.art-wa .msg { font-size: 11.5px; max-width: 92%; }
/* arte 2: recorte real do painel */
.art-shot { width: 88%; border-radius: 10px; box-shadow: 0 0 0 1px rgba(20,21,23,.06), var(--shadow-2); transition: transform .8s var(--ease-out); }
.pillar:hover .art-shot { transform: translateY(-3px); }
/* arte 3: norma */
.art-norm { font-family: var(--mono); font-size: 11px; color: var(--ink-3); width: 76%; background: var(--panel); border-radius: 8px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); padding: 10px 12px; line-height: 1.6; }
.art-norm b { color: var(--ink); font-weight: 500; }
.art-norm em { font-style: normal; color: var(--accent-ink); }
.caret { display: inline-block; width: 6px; height: 12px; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Como funciona ---------- */
.flow { padding: 120px 0 40px; }
.flow-head { max-width: 920px; }
.flow-grid { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.flow-steps { padding-bottom: 18vh; }
.flow-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-left: 24px; border-left: 1px solid var(--line); position: relative; opacity: .32; transition: opacity .5s var(--ease-out); }
.flow-step::before { content: ""; position: absolute; left: -1px; top: 50%; height: 0; width: 2px; background: var(--ink); transform: translateY(-50%); transition: height .6s var(--ease-out); }
.flow-step.is-active { opacity: 1; }
.flow-step.is-active::before { height: 120px; }
.flow-step:first-child { min-height: 46vh; justify-content: flex-start; padding-top: 8px; }
.flow-num { color: var(--ink-4); margin-bottom: 14px; }
.flow-title { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); line-height: 1.2; letter-spacing: -.024em; font-weight: 600; margin: 0 0 10px; }
.flow-step .t-body { font-size: 16px; max-width: 30em; }

.flow-visual { position: relative; }
.flow-canvas {
  position: sticky; top: calc(var(--nav-h) + 6vh);
  height: min(72vh, 600px);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.flow-canvas::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20,21,23,.08) 1px, transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); }
.flow-state { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; opacity: 0; transform: translateY(16px) scale(.985); filter: blur(4px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), filter .6s var(--ease-out); pointer-events: none; }
.flow-state.is-active { opacity: 1; transform: none; filter: none; }

.fs-chat { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; }
.fs-bubble.msg { align-self: flex-end; max-width: 100%; padding: 8px 10px 6px 8px; border-radius: 12px 4px 12px 12px; box-shadow: 0 1px 1px rgba(0,0,0,.08), var(--shadow-2); }
.fs-dur { color: rgba(0,0,0,.5); font-size: 11px; }
.fs-transcript { padding: 16px 18px; border-radius: var(--r-md); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.fs-label { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-4); font-size: 11px; margin-bottom: 8px; }
.fs-transcript p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.fs-parse { width: min(500px, 100%); border-radius: var(--r-md); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-3); overflow: hidden; }
.fs-parse-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 550; }
.fs-parse-head span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.fs-parse-head .ph { color: var(--accent); }
.fs-parse-head .t-mono { color: var(--ink-4); font-weight: 400; font-size: 11px; }
.fs-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.flow-state.is-active .fs-row { opacity: 1; transform: none; }
.flow-state.is-active .fs-row:nth-of-type(2) { transition-delay: .15s; }
.flow-state.is-active .fs-row:nth-of-type(3) { transition-delay: .3s; }
.fs-cat { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12px; font-weight: 550; }
.cat-mat { background: #eaf1fd; color: #2a5bb8; }
.cat-mo { background: #fdf3e2; color: #9a6411; }
.fs-desc { font-size: 14px; font-weight: 500; line-height: 1.3; }
.fs-desc small { display: block; font-size: 12px; color: var(--ink-4); font-weight: 400; }
.fs-val { font-size: 13px; }
.fs-ok { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; }
.fs-parse-foot { display: flex; justify-content: space-between; padding: 14px 18px; background: var(--bg-2); font-size: 13px; color: var(--ink-3); }
.fs-parse-foot b { color: var(--ink); font-weight: 500; font-size: 13px; }

.fs-window { width: 100%; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(20,21,23,.08), var(--shadow-3); }
.fs-window img { width: 100%; }

/* ---------- Números ---------- */
.stats { padding: 96px 0; }
.stats-head { max-width: 920px; }
.film { position: relative; margin: 48px 0 0; border-radius: 20px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg-3) url("assets/video/canteiro-poster.webp") center / cover; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film + .stats-grid { margin-top: 0; border-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 28px 36px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-num { display: block; white-space: nowrap; font-size: clamp(1.75rem, 1.2rem + 1.9vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--ink-3); font-size: 14px; max-width: 16em; }

/* ---------- RDO ---------- */
.rdo { padding: 40px 0 120px; }
.rdo-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 64px; border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.rdo-copy .t-lead { margin-top: 20px; }
.rdo-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.rdo-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-3); }
.rdo-points b { color: var(--ink); font-weight: 550; }
.rdo-points .ph { font-size: 18px; color: var(--ink); margin-top: 2px; }
.rdo-art { position: relative; display: flex; flex-direction: column; gap: 16px; }
.rdo-stack { position: relative; }
.rdo-window { position: relative; width: 100%; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(20,21,23,.08), var(--shadow-3); }
.rdo-paper { position: absolute; right: -12px; top: 22%; width: 42%; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(20,21,23,.06), 0 30px 60px -16px rgba(20,21,23,.35); transform: rotate(2.5deg); transition: transform .8s var(--ease-out); }
.rdo-art:hover .rdo-paper { transform: rotate(0deg) translateY(-6px); }
.rdo-paper img { width: 100%; }
.rdo-audio.msg { position: relative; align-self: flex-start; max-width: none; border-radius: 12px 4px 12px 12px; box-shadow: 0 1px 1px rgba(0,0,0,.08), var(--shadow-3); }

/* ---------- Bento ---------- */
.bento-sec { padding: 40px 0 120px; }
.bento-head { max-width: 920px; }
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell { position: relative; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); overflow: hidden; display: flex; flex-direction: column; min-height: 380px; }
.cell-copy { padding: 28px 28px 0; max-width: 30em; }
.cell-copy .t-h3 { margin-bottom: 6px; }
.cell-fin { grid-column: span 4; }
.cell-norm { grid-column: span 2; background: var(--ink); box-shadow: none; }
.cell-norm .t-h3 { color: #f4f4f2; }
.cell-norm .t-body { color: #a0a3a8; }
.cell-diag, .cell-task, .cell-rel { grid-column: span 2; }
.cell-media { margin-top: auto; padding: 24px 24px 24px; }
.cell-media img { width: 100%; border-radius: 10px; box-shadow: 0 0 0 1px rgba(20,21,23,.07), var(--shadow-2); transition: transform .8s var(--ease-out); }
.cell:hover .cell-media img { transform: translateY(-3px); }
.cell-rel { background: var(--accent-tint); box-shadow: inset 0 0 0 1px #d3ebdd; }

.norm-marquee { margin-top: auto; padding: 24px 0 28px; display: grid; gap: 10px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.norm-track { display: flex; gap: 8px; width: max-content; animation: marquee 38s linear infinite; }
.norm-track.rev { animation-direction: reverse; animation-duration: 44s; }
.norm-track span { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); color: #d6d8db; font-size: 13px; white-space: nowrap; }
.cell-norm:hover .norm-track { animation-play-state: paused; }
.norm-qa { margin: 28px 28px 0; display: grid; gap: 8px; }
.qa-q, .qa-a { font-size: 13px; line-height: 1.45; padding: 9px 12px; border-radius: 10px; max-width: 88%; }
.qa-q { justify-self: end; background: #dcf8d4; color: #18341f; border-top-right-radius: 3px; }
.qa-a { justify-self: start; background: rgba(255,255,255,.08); color: #e4e5e7; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-top-left-radius: 3px; }
.qa-a b { color: #fff; font-weight: 600; }
.qa-a small { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11px; color: #7fd3a4; }
.in-view .qa-q:nth-child(1) { animation: qa .6s var(--ease-out) .3s both; }
.in-view .qa-a:nth-child(2) { animation: qa .6s var(--ease-out) 1s both; }
.in-view .qa-q:nth-child(3) { animation: qa .6s var(--ease-out) 1.8s both; }
.in-view .qa-a:nth-child(4) { animation: qa .6s var(--ease-out) 2.5s both; }
@keyframes qa { from { opacity: 0; transform: translateY(8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

.cell-diag .cell-copy { padding-bottom: 24px; }
.diag-card { margin: auto 28px 28px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.diag-photo { height: 150px; overflow: hidden; background: var(--bg-3); }
.diag-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cell-diag:hover .diag-photo img { transform: scale(1.04); }
.diag-info { padding: 14px 16px; display: grid; gap: 2px; }
.diag-info b { font-size: 14px; font-weight: 600; }
.diag-info small { font-size: 12px; color: var(--ink-3); }
.diag-sev { justify-self: start; height: 20px; padding: 0 8px; border-radius: 5px; background: #fdf3e2; color: #9a6411; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; margin-bottom: 6px; }

/* ---------- Tour em abas ---------- */
.tour { padding: 40px 0 120px; }
.tour-head { max-width: 920px; }
.tour-head .t-lead { margin-top: 20px; }
.tabs { margin-top: 48px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; font-size: 14px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: color .2s; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab .ph { font-size: 16px; }
.tab-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.tab.is-active .tab-bar { animation: tabfill var(--tab-ms, 5000ms) linear forwards; }
.tabs.is-paused .tab.is-active .tab-bar { animation: none; transform: scaleX(1); }
@keyframes tabfill { to { transform: scaleX(1); } }
.tour-window { margin-top: 32px; }
.tour-frames { position: relative; aspect-ratio: 1903 / 928; background: #fff; }
.tour-frame { position: absolute; inset: 0; display: block; opacity: 0; transform: scale(1.01); transition: opacity .6s var(--ease-out), transform .9s var(--ease-out); }
.tour-frame.is-active { opacity: 1; transform: none; }
.window .tour-frame img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top left; }

@media (max-width: 960px) {
  .flow { padding-top: 88px; }
  .flow-grid { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .flow-visual { display: none; }
  .flow-steps { padding-bottom: 0; display: grid; gap: 48px; }
  .flow-step, .flow-step:first-child { min-height: 0; opacity: 1; padding: 0; border: 0; }
  .flow-step::before { display: none; }
  .flow-step .flow-state { position: relative; inset: auto; opacity: 1; transform: none; filter: none; margin-top: 24px; padding: 28px 20px; border-radius: var(--r-lg); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
  .flow-step .flow-state .fs-row { opacity: 1; transform: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rdo-panel { grid-template-columns: 1fr; padding: 40px 28px 28px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell-fin { grid-column: span 2; }
  .cell-norm, .cell-diag, .cell-task, .cell-rel { grid-column: span 1; }
}
@media (max-width: 640px) {
  .stat, .stat + .stat { padding: 24px 12px 24px 0; }
  .stat:nth-child(even) { padding-left: 16px; }
  .stat span { font-size: 13px; }
  .rdo-panel { padding: 32px 20px 24px; border-radius: var(--r-lg); }
  .bento { grid-template-columns: 1fr; }
  .cell-fin, .cell-norm, .cell-diag, .cell-task, .cell-rel { grid-column: span 1; }
  .cell { min-height: 0; }
  .cell-norm .norm-marquee { padding-top: 32px; }
  .fs-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .fs-row .fs-cat { grid-column: 1 / -1; justify-self: start; }
  .fs-ok { display: none; }
  .fs-parse-head .t-mono { display: none; }
}

/* ---------- Depoimentos ---------- */
.quotes { padding: 40px 0 120px; }
.quotes-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.quote { margin: 0; padding: 32px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.5; letter-spacing: -.015em; color: var(--ink-2); text-wrap: pretty; }
.quote-main { padding: 48px; background: var(--bg-2); }
.quote-main blockquote { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.3; letter-spacing: -.025em; color: var(--ink); font-weight: 500; }
.quotes-side { display: grid; gap: 16px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.quote figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.quote-main figcaption img { width: 44px; height: 44px; }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

/* ---------- Planos ---------- */
.pricing { padding: 120px 0; border-top: 1px solid var(--line); background: linear-gradient(var(--bg-2), var(--bg) 60%); }
.pricing-head { text-align: center; max-width: 760px; margin: 0 auto; }
.pricing-head .t-lead { max-width: 34em; }
.pricing-head .t-lead { margin: 16px auto 0; }
.plans { margin: 56px auto 0; max-width: 920px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { padding: 36px; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); display: flex; flex-direction: column; }
.plan-featured { box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 4px rgba(20,21,23,.04), var(--shadow-3); }
.plan-name { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.plan-badge { height: 22px; padding: 0 8px; border-radius: 6px; background: var(--accent-tint); color: var(--accent-ink); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; letter-spacing: -.005em; }
.plan-for { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; min-height: 2.9em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 28px 0 8px; }
.plan-price b { font-size: 56px; font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .cur { font-size: 18px; font-weight: 500; color: var(--ink-3); align-self: flex-start; margin-top: 6px; }
.plan-price .per { font-size: 15px; color: var(--ink-3); }
.plan-price b { display: inline-block; transition: opacity .18s, transform .18s var(--ease-quart); }
.plan-price b.is-swap { opacity: 0; transform: translateY(-6px); }
.plan-billed { margin: 0; font-size: 13px; color: var(--ink-4); min-height: 1.5em; }
.bill { display: flex; align-items: center; gap: 10px; margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); cursor: pointer; user-select: none; }
.bill input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; width: 38px; height: 22px; flex-shrink: 0; border-radius: 999px; background: var(--line-2); transition: background-color .2s var(--ease-quart); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(20,21,23,.25); transition: transform .25s var(--ease-quart); }
.bill input:checked + .switch { background: var(--accent); }
.bill input:checked + .switch::after { transform: translateX(16px); }
.bill input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 2px; }
.bill-save { margin-left: auto; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--accent-tint); color: var(--accent-ink); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.plan-ctas { display: grid; gap: 8px; }
.plan-ctas.two { grid-template-columns: 1fr 1fr; }
.plan-cta { width: 100%; height: 44px; font-size: 15px; padding: 0 12px; }
@media (max-width: 420px) { .plan-ctas.two { grid-template-columns: 1fr; } }
.plan-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-size: 14px; color: var(--ink-2); }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.plan-list .ph { color: var(--accent); font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.plan-list b { font-weight: 600; color: var(--ink); }
.guarantee { max-width: 920px; margin: 24px auto 0; display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--ink-3); font-size: 14px; }
.guarantee .ph { font-size: 20px; color: var(--accent); flex-shrink: 0; }
.guarantee p { margin: 0; }
.guarantee b { color: var(--ink); font-weight: 600; }

/* ---------- Fundador ---------- */
.founder { padding: 120px 0; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.founder-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow-2); aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.85); }
.founder-copy .t-lead { margin-top: 20px; }
.founder-sign { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.founder-sign b { display: block; font-weight: 600; }
.founder-sign span { color: var(--ink-3); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.faq-head .t-body { margin-top: 16px; }
.link-u { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.link-u:hover { text-decoration-color: var(--ink); }
.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: 24px; padding: 20px 0; font-size: 16px; font-weight: 550; letter-spacing: -.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease-out); }
.faq-list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-list summary:hover { color: var(--ink-2); }
.faq-list details p { margin: 0; padding: 0 48px 22px 0; color: var(--ink-3); }
.faq-list details[open] p { animation: faqin .45s var(--ease-out); }
@keyframes faqin { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- CTA final ---------- */
.final { padding: 40px 0 120px; }
.final-inner { position: relative; text-align: center; padding: 96px 24px 0; border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.final-inner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20,21,23,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent); }
.final-inner::after { content: ""; position: absolute; left: 50%; top: -30%; width: 620px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(31,157,90,.12), transparent); pointer-events: none; }
.final-inner > * { position: relative; z-index: 1; }
.final-mark { width: 42px; height: auto; margin: 0 auto 28px; filter: drop-shadow(0 8px 16px rgba(31,157,90,.25)); }
.final .hero-actions { justify-content: center; }
.final-photo { margin: 72px -24px 0; position: relative; aspect-ratio: 21 / 8; overflow: hidden; }
.final-photo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 45%; background: linear-gradient(var(--bg-2), rgba(245,245,243,0)); z-index: 1; }
.final-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }

/* ---------- Footer completo ---------- */
.footer { padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.footer-brand p { margin: 12px 0 0; max-width: 22em; }
.footer-brand .brand { color: var(--ink); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.footer-cols a { display: block; padding: 4px 0; color: var(--ink-3); transition: color .15s; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-4); font-size: 12.5px; }

@media (max-width: 960px) {
  .quotes-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 420px; aspect-ratio: 1; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .quote, .quote-main { padding: 24px; gap: 20px; }
  .quote-main { background: var(--panel); }
  .quote-main blockquote { font-size: 20px; line-height: 1.4; }
  .quote blockquote { font-size: 16px; }
  .quote figcaption img, .quote-main figcaption img { width: 40px; height: 40px; }
  .pricing, .founder, .faq { padding: 72px 0; }
  .flow { padding: 72px 0 24px; }
  .stats { padding: 56px 0; }
  .rdo, .bento-sec, .tour, .changelog, .quotes { padding: 24px 0 56px; }
  .pillars { padding: 64px 0 24px; }
  .final { padding: 24px 0 72px; }
  .bento, .plans, .tabs, .log-grid, .flow-grid { margin-top: 32px; }
  .changelog-head { gap: 12px; }
  .plan { padding: 28px 22px; }
  .plan-for { min-height: 0; }
  .guarantee { flex-direction: column; gap: 8px; }
  .final-inner { padding: 64px 20px 0; }
  .final-photo { margin: 48px -20px 0; aspect-ratio: 4 / 3; }
  .film { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .final .hero-actions { flex-direction: column; }
  .final .hero-actions .btn { flex: none; width: 100%; height: 46px; }
  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .faq-list details p { padding-right: 0; }
}

/* ---------- Novidades ---------- */
.changelog { padding: 40px 0 120px; }
.changelog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.log-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.log { padding: 24px 24px 0 0; }
.log + .log { padding-left: 24px; border-left: 1px solid var(--line); }
.log .t-h3 { margin: 14px 0 6px; }
.log .t-body { font-size: 14px; }
.log-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--accent-tint); color: var(--accent-ink); }
.log-tag.soon { background: var(--bg-3); color: var(--ink-3); }
@media (max-width: 960px) {
  .log-grid { grid-template-columns: 1fr 1fr; }
  .log:nth-child(3) { padding-left: 0; border-left: 0; }
  .log:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .changelog-head { flex-direction: column; align-items: flex-start; }
  .log-grid { grid-template-columns: 1fr; }
  .log, .log + .log { padding: 20px 0; border-left: 0; margin: 0; border-top: 1px solid var(--line); }
}

/* ---------- Comprovante Pix (miniatura no chat) ---------- */
.pix-receipt { display: grid; gap: 3px; width: 172px; margin: 1px 0 5px; padding: 9px 10px 8px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); font-size: 9.5px; line-height: 1.3; color: #4b5563; }
.pix-head { display: flex; align-items: center; gap: 4px; font-weight: 600; color: #157a44; font-size: 9.5px; }
.pix-head .ph { font-size: 11px; }
.pix-amt { font-size: 15px; font-weight: 700; color: #141517; letter-spacing: -.02em; margin: 1px 0 3px; }
.pix-row { display: flex; justify-content: space-between; gap: 8px; }
.pix-row b { font-weight: 600; color: #141517; text-align: right; }
.pix-lines { display: grid; gap: 3px; margin-top: 5px; padding-top: 6px; border-top: 1px dashed #e5e7eb; }
.pix-lines i { height: 3px; border-radius: 2px; background: #eceef0; }
.pix-lines i:nth-child(2) { width: 82%; }
.pix-lines i:nth-child(3) { width: 58%; }
.rc-cap { display: block; }

/* ---------- Seção comprovantes ---------- */
.receipts { padding: 40px 0 120px; }
.receipts-head { max-width: 760px; }
.receipts-head .t-lead { margin-top: 20px; }
.receipts-canvas { position: relative; margin-top: 48px; padding: 56px 48px; border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: minmax(0, 330px) 64px minmax(0, 520px); justify-content: center; align-items: center; gap: 16px; overflow: hidden; }
.receipts-canvas::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20,21,23,.08) 1px, transparent 1px); background-size: 20px 20px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.receipts-canvas > * { position: relative; }
.rc-chat { display: flex; flex-direction: column; gap: 8px; padding: 18px 14px; border-radius: var(--r-lg); background: #efe7de; box-shadow: inset 0 0 0 1px #e4dacd, var(--shadow-2); }
.rc-chat .msg { font-size: 12px; max-width: 94%; }
.rc-chat .pix-receipt { width: 200px; font-size: 10.5px; }
.rc-chat .pix-amt { font-size: 17px; }
.rc-link { display: grid; place-items: center; height: 40px; position: relative; color: var(--accent); font-size: 18px; }
.rc-link span { position: absolute; left: 0; right: 14px; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0 / 10px 2px; }
.in-view .rc-link span { animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 10px 0; } }
.rc-link i { position: absolute; right: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); display: grid; place-items: center; font-size: 14px; }
.rc-modal { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(20,21,23,.08), var(--shadow-3); background: #fff; }
.rc-modal img { width: 100%; }
.rc-fields { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.rc-fields li { display: flex; gap: 10px; align-items: flex-start; padding: 20px 16px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.rc-fields li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.rc-fields .ph { font-size: 18px; color: var(--accent); margin-top: 1px; flex-shrink: 0; }
.rc-fields b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }

/* ---------- Tutoriais ---------- */
.onboard { padding: 40px 0 120px; }
.onboard-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.onboard-copy .t-lead { margin-top: 20px; }
.onboard-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.onboard-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.onboard-steps .t-mono { align-self: start; margin-top: 2px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--ink); color: #fafafa; font-size: 11px; }
.onboard-steps b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.onboard-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }
.onboard-note .ph { color: var(--accent); font-size: 17px; margin-top: 2px; }
.onboard-art .window img { aspect-ratio: auto; }

@media (max-width: 960px) {
  .receipts-canvas { grid-template-columns: 1fr; padding: 32px 20px; justify-items: center; }
  .rc-chat { width: 100%; max-width: 360px; }
  .rc-link { width: 40px; height: 40px; transform: rotate(90deg); }
  .rc-modal { width: 100%; max-width: 520px; }
  .rc-fields { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .rc-fields li, .rc-fields li + li { padding: 16px 12px 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .onboard-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .receipts, .onboard { padding: 24px 0 56px; }
  .receipts-canvas { margin-top: 32px; border-radius: var(--r-lg); }
  .rc-fields li:last-child { grid-column: 1 / -1; }
}

/* ---------- Placeholder de etapas seguintes ---------- */
.next-stage { margin: 96px 0; padding: 48px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); text-align: center; color: var(--ink-4); font-family: var(--mono); font-size: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* ---------- Responsivo ---------- */
@media (max-width: 1200px) { .phone { --phone-scale: .88; } }
@media (max-width: 960px) {
  .phone { --phone-scale: .62; bottom: -48px; }
  .stage-wrap { padding-bottom: 56px; }
  .stage-inner { width: 90%; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { gap: 4px; }
  .logo-row { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .pillars-grid { grid-template-columns: 1fr; border-top: 0; }
  .pillar { padding: 28px 0; border-top: 1px solid var(--line); }
  .pillar + .pillar::before { display: none; }
  .sync-toast { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 40px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 20px; }
  .stage { margin-top: 40px; height: 500px; border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; perspective: none; }
  .stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20,21,23,.08) 1px, transparent 1px); background-size: 18px 18px; mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); }
  .stage::after { content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; margin: -180px 0 0 -180px; background: radial-gradient(closest-side, rgba(31,157,90,.16), transparent); }
  .stage-inner { display: none; }
  .stage-wrap { padding-bottom: 0; }
  .phone { left: 50%; right: auto; bottom: 22px; margin-left: -140px; --phone-scale: .78; transform-origin: bottom center; }
  .flow-step .fs-window { width: 100%; }
  .tour-frames { aspect-ratio: 1170 / 910; }
  .rdo-paper { right: 8px; width: 44%; top: 20%; }
  .wa-md { min-width: 210px; }
  .wa-lg { min-width: 0; width: 100%; }
  .fs-bubble.msg { align-self: stretch; }

  .flow-step .fs-window { width: 100%; }
  .logo-row img { height: 26px; }
  .logo-row img.tall { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rise, .reveal, .stage-inner, .phone { opacity: 1 !important; transform: none !important; filter: none !important; }
  .phone-float, .phone-glare::before { animation: none !important; }
}
