/*
 * Vizimob · landing
 * Cores: só as medidas da marca (Identidade_Visual.md) + o âmbar de espera do produto (--sinal).
 * Tons intermediários saem de color-mix entre essas cores, nunca de um matiz novo.
 * Cantos: botões e chips em pílula; cartões 16px; campos 12px; celulares 32px.
 */

@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/manrope-latin-wght.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* marca (não mudar) */
  --azul: #0059fc;
  --lavanda: #4d75fc;
  --quase-preto: #081018;
  --grafite: #52575f;
  --branco: #fdfdfd;
  --gelo: #ebeef4;
  /* âmbar do Vizi trabalhando/esperando (mesmo token do painel) */
  --sinal: #e8a317;
  --sinal-soft: #fdf3e0;
  --sinal-ink: #614a21;

  /* papéis, tema claro */
  --bg: var(--branco);
  --bg-alt: var(--gelo);
  --surface: var(--branco);
  --ink: var(--quase-preto);
  --muted: var(--grafite);
  --line: color-mix(in oklab, var(--gelo) 70%, var(--grafite));
  --line-soft: color-mix(in oklab, var(--gelo) 88%, var(--grafite));
  --field-line: color-mix(in oklab, var(--grafite) 80%, var(--gelo));
  --accent: var(--azul);
  --accent-ink: var(--azul);
  --accent-soft: color-mix(in oklab, var(--azul) 9%, var(--branco));
  --on-accent: var(--branco);
  --bubble-me: color-mix(in oklab, var(--azul) 12%, var(--branco));
  --shadow: 0 1px 2px color-mix(in oklab, var(--quase-preto) 6%, transparent),
            0 18px 44px -12px color-mix(in oklab, var(--azul) 22%, transparent);
  --shadow-phone: 0 2px 6px color-mix(in oklab, var(--quase-preto) 10%, transparent),
                  0 40px 80px -30px color-mix(in oklab, var(--quase-preto) 40%, transparent);

  --phone-frame: var(--quase-preto);
  --toast-bg: var(--quase-preto);
  --toast-fg: var(--branco);

  --r-card: 16px;
  --r-field: 12px;
  --r-phone: 32px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 32px);
  --sec: clamp(64px, 9vw, 112px);
  color-scheme: light;
}

/* Tema escuro: segue o sistema; o botão do topo grava a escolha em data-theme.
   O bloco aparece duas vezes (mídia + atributo) porque o CSS puro não junta os dois seletores. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: var(--quase-preto);
    --bg-alt: color-mix(in oklab, var(--quase-preto) 90%, var(--gelo));
    --surface: color-mix(in oklab, var(--quase-preto) 94%, var(--gelo));
    --ink: var(--branco);
    --muted: color-mix(in oklab, var(--gelo) 74%, var(--quase-preto));
    --line: color-mix(in oklab, var(--quase-preto) 78%, var(--gelo));
    --line-soft: color-mix(in oklab, var(--quase-preto) 86%, var(--gelo));
    --field-line: color-mix(in oklab, var(--gelo) 55%, var(--quase-preto));
    --accent-ink: color-mix(in oklab, var(--lavanda) 78%, var(--branco));
    --accent-soft: color-mix(in oklab, var(--azul) 22%, var(--quase-preto));
    --bubble-me: color-mix(in oklab, var(--azul) 30%, var(--quase-preto));
    --sinal-soft: color-mix(in oklab, var(--sinal) 16%, var(--quase-preto));
    --sinal-ink: color-mix(in oklab, var(--sinal) 70%, var(--branco));
    --shadow: 0 1px 2px #0006, 0 18px 44px -12px #0008;
    --shadow-phone: 0 2px 6px #0008, 0 40px 80px -30px #000c;
    --phone-frame: color-mix(in oklab, var(--grafite) 70%, var(--quase-preto));
    --toast-bg: var(--gelo);
    --toast-fg: var(--quase-preto);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: var(--quase-preto);
  --bg-alt: color-mix(in oklab, var(--quase-preto) 90%, var(--gelo));
  --surface: color-mix(in oklab, var(--quase-preto) 94%, var(--gelo));
  --ink: var(--branco);
  --muted: color-mix(in oklab, var(--gelo) 74%, var(--quase-preto));
  --line: color-mix(in oklab, var(--quase-preto) 78%, var(--gelo));
  --line-soft: color-mix(in oklab, var(--quase-preto) 86%, var(--gelo));
  --field-line: color-mix(in oklab, var(--gelo) 55%, var(--quase-preto));
  --accent-ink: color-mix(in oklab, var(--lavanda) 78%, var(--branco));
  --accent-soft: color-mix(in oklab, var(--azul) 22%, var(--quase-preto));
  --bubble-me: color-mix(in oklab, var(--azul) 30%, var(--quase-preto));
  --sinal-soft: color-mix(in oklab, var(--sinal) 16%, var(--quase-preto));
  --sinal-ink: color-mix(in oklab, var(--sinal) 70%, var(--branco));
  --shadow: 0 1px 2px #0006, 0 18px 44px -12px #0008;
  --shadow-phone: 0 2px 6px #0008, 0 40px 80px -30px #000c;
  --phone-frame: color-mix(in oklab, var(--grafite) 70%, var(--quase-preto));
  --toast-bg: var(--gelo);
  --toast-fg: var(--quase-preto);
  color-scheme: dark;
}

/* ---------- 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;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.2vw, 60px); letter-spacing: -0.035em; font-weight: 800; }
.nowrap { white-space: nowrap; }
@media (max-width: 420px) { .nowrap { white-space: normal; } }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: 19px; letter-spacing: -0.01em; font-weight: 700; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--accent-ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--lavanda); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: 999px; background: var(--azul); color: var(--branco); text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 46ch; }

/* ---------- botões ---------- */
.btn {
  --bg-btn: var(--surface); --fg-btn: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn);
  font: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { --bg-btn: var(--azul); --fg-btn: var(--branco); box-shadow: 0 6px 16px -10px color-mix(in oklab, var(--azul) 60%, transparent); }
.btn--primary:hover { --bg-btn: color-mix(in oklab, var(--azul) 88%, var(--quase-preto)); transform: translateY(-1px); }
.btn--primary .i { transition: transform .3s var(--ease); }
.btn--primary:hover .i { transform: translateX(3px); }
.btn--ghost { --bg-btn: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; gap: 6px; }
.btn--block { width: 100%; }
.btn--wa { --bg-btn: var(--azul); --fg-btn: var(--branco); flex: 1; min-height: 48px; }
.btn:disabled { cursor: default; opacity: .6; }
.btn.is-pressed { opacity: 1; }
.btn.is-hinted { animation: hint 1.4s var(--ease) .3s 2 both; }
@keyframes hint { 50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--azul) 22%, transparent); } }
.btn.is-loading span::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; vertical-align: -2px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.link-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- cabeçalho ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.top.is-stuck { border-bottom-color: var(--line-soft); }
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: block; width: 128px; margin-right: auto; }
.logo img { width: 100%; }
.logo--dark { display: none; }
:root[data-theme='dark'] .logo--light { display: none; }
:root[data-theme='dark'] .logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .logo--light { display: none; }
  :root:not([data-theme='light']) .logo--dark { display: block; }
}
.nav { display: none; gap: 30px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
.top__actions { display: flex; align-items: center; gap: 10px; }
.top__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.top__login:hover { color: var(--accent-ink); }
.i--moon { display: none; }
:root[data-theme='dark'] .i--sun { display: none; }
:root[data-theme='dark'] .i--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .i--sun { display: none; }
  :root:not([data-theme='light']) .i--moon { display: block; }
}
.top__cta { display: none; }
@media (min-width: 560px) { .top__cta { display: inline-flex; } }
@media (min-width: 900px) { .nav { display: flex; } .logo { width: 140px; } }

/* ---------- revelação ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }

/* ---------- 1. abertura ---------- */
.hero { padding: 28px 0 var(--sec); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__media { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.hero__trio { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__trio span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 700; }
.hero__float { position: absolute; left: -12px; bottom: -36px; width: min(320px, 88%); display: grid; gap: 12px; }
.hero__media { margin-bottom: 36px; }
.hero__float > * { box-shadow: var(--shadow-phone); }
.hero__chip { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--azul); color: var(--branco); font-size: 14px; }
@media (max-width: 1023px) {
  /* no celular a foto é estreita: a ficha sai de cima do rosto e encosta embaixo da foto */
  .hero__float { position: relative; left: auto; bottom: auto; width: auto; margin: -72px 12px 0; }
  .hero__media { margin-bottom: 0; }
}

/* A ficha do lead (mesmos campos que o Vizi manda no WhatsApp do corretor) */
.ficha { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r-card); background: var(--surface); font-size: 14px; line-height: 1.35; }
.ficha p { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.ficha .i { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--muted); }
.ficha__head { font-weight: 800; padding-bottom: 6px; margin-bottom: 2px !important; border-bottom: 1px solid var(--line-soft); }
.ficha__head .i { color: var(--sinal); }
.ficha__head b { margin-left: auto; padding: 0 8px; border-radius: 999px; background: var(--sinal-soft); color: var(--sinal-ink); font-size: 13px; }
.ficha__item { font-weight: 700; color: var(--accent-ink); }
.ficha__item .i { color: var(--accent-ink); }
.ficha--inline { border: 1px solid color-mix(in oklab, var(--sinal) 50%, transparent); justify-self: stretch; }

/* Conversa de WhatsApp (abertura e antes/depois): cliente à esquerda, corretor à direita */
.wa-in, .wa-out { margin: 0; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.4; max-width: 86%; }
.wa-in { justify-self: start; background: var(--surface); color: var(--ink); border-top-left-radius: 4px; }
.wa-out { justify-self: end; background: var(--bubble-me); color: var(--ink); border-top-right-radius: 4px; }
.wa-out--link { padding: 5px 5px 9px; width: 100%; max-width: 300px; }
.wa-out__text { margin: 8px 8px 0; }
.linkcard { display: grid; border-radius: 10px; overflow: hidden; background: var(--surface); }
.linkcard img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.linkcard__body { display: grid; gap: 1px; padding: 8px 10px 10px; }
.linkcard__title { font-weight: 700; font-size: 14px; line-height: 1.3; }
.linkcard__meta { font-size: 13px; color: var(--muted); }
.linkcard__domain { font-size: 12px; font-weight: 700; color: var(--accent-ink); }
@media (min-width: 1024px) {
  .hero { padding-top: 56px; }
  .hero__grid { grid-template-columns: 1.3fr 0.7fr; gap: 48px; min-height: min(calc(100dvh - 68px - 56px - 40px), 760px); }
  .hero__media { justify-self: end; }
  .hero__float { left: -96px; width: 330px; bottom: -40px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* a conversa acontece em sequência: pergunta, link, resposta do cliente */
  /* a ficha chega e, em seguida, o lead entra no funil */
  .hero__float > * { animation: pop .6s var(--ease) both; }
  .hero__float > :nth-child(1) { animation-delay: .5s; }
  .hero__float > :nth-child(2) { animation-delay: 1.4s; }
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* ---------- bolhas (hero e demo) ---------- */
.bubble { padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.45; background: var(--surface); color: var(--ink); max-width: 100%; }
.bubble--me { background: var(--bubble-me); border-bottom-right-radius: 6px; }
.bubble--vizi { border: 1px solid var(--line-soft); border-bottom-left-radius: 6px; }
.bubble strong { font-weight: 700; }
.audio { display: flex; align-items: center; gap: 10px; color: var(--accent-ink); }
.wave { display: flex; align-items: center; gap: 2px; height: 26px; flex: 1; min-width: 110px; }
.wave span { flex: 1; max-width: 3px; height: var(--h); border-radius: 2px; background: currentColor; opacity: .75; }
.audio__dur { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.audio__tx { margin-top: 8px; font-size: 14px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 8px; }
.vizi-msg { display: flex; align-items: flex-start; gap: 8px; }
.vizi-msg__av { width: 28px; height: 28px; border-radius: 50%; background: var(--gelo); flex: none; }
.bubble--working { display: inline-flex; align-items: center; gap: 10px; background: var(--sinal-soft); border-color: color-mix(in oklab, var(--sinal) 45%, transparent); color: var(--sinal-ink); font-weight: 600; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--sinal); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse 1.1s ease-in-out infinite; }
}
@keyframes pulse { 50% { transform: scale(.6); opacity: .5; } }

/* ---------- plataforma: CRM, site e Vizi ---------- */
.platform { padding: var(--sec) 0; }
.platform h2 { max-width: 20ch; }
.platform__sub { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 54ch; }
.pgrid { display: grid; gap: 16px; margin-top: 40px; }
.ptile { display: grid; gap: 14px; align-content: start; padding: 26px; border-radius: var(--r-card); background: var(--bg-alt); overflow: hidden; }
.ptile p { color: var(--muted); font-size: 15px; }
.ptile h3 { font-size: 21px; }
.ptile__copy { display: grid; gap: 10px; align-content: start; }
.ptile__tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--accent-ink) !important; font-size: 13px !important; font-weight: 700; }
.ptile--vizi { background: var(--azul); color: var(--branco); }
.ptile--vizi p, .ptile--vizi span { color: var(--branco); }
.ptile--vizi .ptile__tag { background: var(--quase-preto); color: var(--branco) !important; }
.roles { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 16px; }
.roles li { display: flex; gap: 12px; }
.roles .i { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.roles strong { display: block; font-size: 16px; }
.roles span { font-size: 14px; }
.cat { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.cat li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--surface); font-size: 14px; font-weight: 700; }
.cat img { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; }
.st { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.st--pub { background: var(--accent-soft); color: var(--accent-ink); }
.st--sold { background: var(--ink); color: var(--bg); }
.st--draft { background: var(--sinal-soft); color: var(--sinal-ink); }
.cat__url { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 14px; border-radius: 999px; background: var(--surface); font-size: 13px !important; font-weight: 700; color: var(--accent-ink) !important; overflow: hidden; white-space: nowrap; }
.cat__share { margin-left: auto; }

/* Funil (CRM) */
.kb { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.kb__col { scroll-snap-align: start; }
@media (max-width: 899px) { .kb { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); } }
.kb__col { display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 14px; background: var(--surface); min-height: 170px; }
.kb__h { display: flex; justify-content: space-between; font-size: 13px !important; font-weight: 700; color: var(--muted); }
.kb__h b { color: var(--ink); }
.kb__card { display: grid; gap: 2px; padding: 9px 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-soft); font-size: 13px; }
.kb__card b { font-size: 14px; }
.kb__card span { color: var(--muted); }
.kb__card--hot { border-color: color-mix(in oklab, var(--sinal) 60%, transparent); background: color-mix(in oklab, var(--sinal-soft) 55%, var(--surface)); }
.kb__col--won { background: color-mix(in oklab, var(--azul) 10%, var(--surface)); }
.kb__act { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-weight: 700; color: var(--accent-ink) !important; }
@media (min-width: 900px) {
  .pgrid { grid-template-columns: 1.25fr 1fr; }
  .ptile--crm { grid-column: 1 / -1; grid-template-columns: 0.8fr 2fr; gap: 32px; align-items: center; }
  .ptile--site, .ptile--vizi { min-height: 100%; }
}

/* ---------- do anúncio à venda ---------- */
.cycle { padding: var(--sec) 0; background: var(--bg-alt); }
.cycle h2 { max-width: 22ch; }
.cycle__sub { margin-top: 14px; color: var(--muted); font-size: 18px; }
.loop { display: grid; gap: 20px; margin-top: 40px; }
.loop__steps { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 4px; scroll-snap-type: x mandatory; }
.lstep { position: relative; flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.lstep strong { font-size: 14px; white-space: nowrap; }
.lstep small { display: none; color: var(--muted); font-size: 13px; }
.lstep__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); color: var(--accent-ink); flex: none; }
.lstep[aria-selected='true'] { border-color: var(--azul); }
.lstep[aria-selected='true'] .lstep__n, .lstep.is-done .lstep__n { background: var(--azul); color: var(--branco); }
/* barra de tempo da etapa atual quando roda sozinho */
.loop.is-auto .lstep[aria-selected='true']::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--azul); transform-origin: left; animation: steptime var(--step-ms, 4200ms) linear both; }
@keyframes steptime { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.loop__steps .link-btn { flex: none; }
.loop__stage { position: relative; padding: clamp(18px, 3vw, 32px); border-radius: var(--r-card); background: var(--surface); min-height: 540px; }
@media (min-width: 900px) { .loop__stage { min-height: 620px; } }
.lpanel { display: grid; gap: 18px; align-content: start; }
.lpanel[hidden] { display: none; }
.lpanel.is-in > * { animation: pop .55s var(--ease) both; }
.lpanel.is-in > :nth-child(2) { animation-delay: .15s; }
.lp-caption { color: var(--muted); font-size: 16px; max-width: 56ch; }
.lp-chat { display: grid; gap: 10px; max-width: 460px; }
.lp-chat .bubble--me { justify-self: end; max-width: 92%; }
.lp-chat .wa-in { background: var(--bg-alt); }
.lp-page { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 520px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-soft); }
.lp-page img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lp-page__body { display: grid; gap: 4px; padding: 16px; }
.lp-page__price { font-size: 22px; font-weight: 800; }
.lp-page__title { font-weight: 600; }
.lp-page__facts { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; margin: 4px 0 8px; }
.lp-page__facts span { display: inline-flex; align-items: center; gap: 5px; }
.lp-page__wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; background: var(--azul); color: var(--branco); font-weight: 700; }
.kb--focus { max-width: 620px; }
.kb--focus .kb__col--active { box-shadow: inset 0 0 0 2px var(--azul); }
.kb__card--new { animation: pop .6s var(--ease) .25s both; }
.lp-sold { display: grid; gap: 14px; max-width: 520px; }
.lp-sold__copilot { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-card); background: var(--accent-soft); }
.lp-sold__h { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); font-size: 14px; }
.lp-sold__btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--azul); color: var(--branco); font-size: 14px; font-weight: 700; }
.lp-sold__card { animation: none; }
@media (min-width: 900px) {
  .loop { grid-template-columns: 290px 1fr; align-items: stretch; }
  .loop__steps { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .lstep { border-radius: var(--r-card); padding: 12px 16px 12px 12px; }
  .lstep small { display: block; }
}
@media (prefers-reduced-motion: reduce) { .lpanel.is-in > *, .kb__card--new { animation: none; } .loop.is-auto .lstep::after { display: none; } }

/* ---------- antes e depois ---------- */
.ba { padding: var(--sec) 0; background: var(--bg-alt); }
.ba h2 { max-width: 20ch; }
.ba__sub { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 52ch; }
.ba__grid { display: grid; gap: 16px; margin-top: 40px; }
.ba__panel { margin: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 22px; border-radius: var(--r-card); background: var(--surface); }
.ba__label { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.ba__panel--before { background: color-mix(in oklab, var(--surface) 55%, var(--bg-alt)); }
.ba__panel--before .ba__chat { filter: saturate(.6); }
.ba__panel--before .ba__label { background: var(--surface); color: var(--muted); }
.ba__panel--after { box-shadow: 0 0 0 2px var(--azul); }
.ba__panel--after .ba__label { background: var(--azul); color: var(--branco); }
.ba__chat { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: color-mix(in oklab, var(--bg-alt) 70%, var(--surface)); align-content: start; }
.ba__chat .wa-in { background: var(--surface); }
.photogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 200px; border-radius: 10px; overflow: hidden; }
.photogrid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.photogrid__more { position: relative; display: block; }
.photogrid__more b { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in oklab, var(--quase-preto) 60%, transparent); color: var(--branco); font-size: 18px; }
.wa-out--photos { padding: 4px; }
.ba__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ba__list li { display: flex; gap: 10px; }
.ba__list li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--line); }
.ba__panel--after .ba__list li::before { background: var(--azul); }
.ba__panel--before .ba__list { color: var(--muted); }
@media (min-width: 760px) { .ba__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ---------- o que você recebe ---------- */
.offer { padding: var(--sec) 0; background: var(--bg-alt); }
.offer__grid { display: grid; gap: 36px; }
.offer__copy { display: grid; gap: 16px; align-content: start; justify-items: start; }
.offer__copy p { color: var(--muted); font-size: 18px; max-width: 36ch; }
.offer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offer__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 18px; border-radius: var(--r-card); background: var(--surface); }
.offer__list .i { grid-row: span 2; width: 26px; height: 26px; color: var(--accent-ink); margin-top: 1px; }
.offer__list strong { font-size: 16px; line-height: 1.35; }
.offer__list span { color: var(--muted); font-size: 14px; }
@media (min-width: 760px) { .offer__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .offer__grid { grid-template-columns: 0.75fr 1.6fr; gap: 64px; } .offer__copy { position: sticky; top: 100px; } }

.vs { margin-top: 64px; }
.vs__title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 20px; }
.vs__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.vs__table th, .vs__table td { padding: 16px 18px; text-align: left; vertical-align: top; }
.vs__table thead th { font-size: 14px; color: var(--muted); font-weight: 700; }
.vs__table tbody th { font-weight: 700; }
.vs__table tbody td { color: var(--muted); }
.vs__table tbody tr + tr > * { border-top: 1px solid var(--line-soft); }
.vs__table .vs__us { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: inset 2px 0 0 var(--azul), inset -2px 0 0 var(--azul); }
.vs__table thead .vs__us { color: var(--branco); background: var(--azul); border-radius: var(--r-card) var(--r-card) 0 0; font-size: 15px; }
.vs__table tbody tr:last-child .vs__us { border-radius: 0 0 var(--r-card) var(--r-card); box-shadow: inset 2px 0 0 var(--azul), inset -2px 0 0 var(--azul), inset 0 -2px 0 var(--azul); }
.vs__table tbody tr + tr > .vs__us { border-top-color: var(--line-soft); }
.vs__table th:not(:first-child), .vs__table td { width: 25%; }
@media (max-width: 759px) {
  /* no celular, cada critério vira um bloco com as três respostas empilhadas */
  .vs__table thead { display: none; }
  .vs__table, .vs__table tbody, .vs__table tr, .vs__table th, .vs__table td { display: block; }
  .vs__table tbody tr { padding: 16px 0; }
  .vs__table tbody tr + tr > * { border-top: 0; }
  .vs__table tbody tr + tr { border-top: 1px solid var(--line-soft); }
  .vs__table th, .vs__table td { padding: 4px 0; }
  .vs__table td::before { content: attr(data-l) ': '; font-weight: 600; color: var(--muted); }
  .vs__table td.vs__us { margin-top: 6px; padding: 10px 14px; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--azul) !important; width: auto; }
  .vs__table td { width: auto; }
  .vs__table td.vs__us::before { color: var(--accent-ink); }
}

/* ---------- prova (caso real) ---------- */
.proof { padding: var(--sec) 0 0; }
.proof__grid { display: grid; gap: 28px; }
.proof__head h2 { font-size: clamp(24px, 2.6vw, 30px); max-width: 22ch; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.facts li { display: grid; gap: 4px; padding-left: 18px; border-left: 3px solid var(--azul); }
.facts strong { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.facts span { color: var(--muted); font-size: 15px; max-width: 30ch; }
@media (min-width: 760px) { .facts { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 1024px) { .proof__grid { grid-template-columns: 0.9fr 2fr; gap: 56px; align-items: end; } }

/* ---------- como funciona ---------- */
.how { padding: var(--sec) 0; }
.how h2 { max-width: 22ch; margin-bottom: 48px; }
.how__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; position: relative; }
.how__list li { position: relative; display: grid; gap: 10px; align-content: start; padding-left: 68px; }
.how__icon { position: absolute; left: 0; top: -4px; z-index: 1; }
.how__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.how__icon .i { width: 24px; height: 24px; }
.how__icon--vizi { background: var(--azul); overflow: hidden; }
.how__icon--vizi img { width: 40px; height: 40px; }
.how__list p { color: var(--muted); font-size: 16px; max-width: 34ch; }
/* Cada passo desenha o trecho até o próximo círculo: celular na vertical, desktop na horizontal. */
.how__list li:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 52px; bottom: -28px; width: 2px; background: var(--line); }
@media (min-width: 900px) {
  .how__list { grid-template-columns: 1fr 1fr 1.15fr; gap: 40px; }
  .how__list li { padding-left: 0; padding-top: 72px; }
  .how__icon { top: 0; }
  .how__list li:not(:last-child)::after { left: 60px; right: -28px; top: 23px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- 2. dor ---------- */
.pain { padding: var(--sec) 0; background: var(--bg-alt); }
.pain__grid { display: grid; gap: 36px; }
.pain__photo { margin: 0; }
.pain__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); }
.pain__copy { display: grid; gap: 18px; align-content: start; }
.pain__copy > p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.compare { display: grid; gap: 14px; margin-top: 10px; }
.compare__col { padding: 22px; border-radius: var(--r-card); background: var(--surface); }
.compare__col h3 { font-size: 15px; margin-bottom: 12px; color: var(--muted); }
.compare__col--new { background: var(--azul); color: var(--branco); }
.compare__col--new h3 { color: var(--branco); opacity: 1; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.steps--old { counter-reset: s; color: var(--muted); }
.steps--old li { counter-increment: s; display: flex; gap: 12px; }
.steps--old li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 700; border: 1px solid var(--line); }
.steps--new li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.steps--new .i { width: 22px; height: 22px; }
@media (min-width: 640px) { .compare { grid-template-columns: 1.15fr 1fr; } }
@media (min-width: 1024px) {
  .pain__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .pain__photo { margin-left: calc(-1 * var(--pad)); }
}

/* ---------- 3. demo do Vizi ---------- */
.vizi { padding: var(--sec) 0; }
.vizi__head { max-width: 760px; margin-bottom: 40px; display: grid; gap: 14px; }
.vizi__head .eyebrow { margin-bottom: 0; }
.vizi__sub { color: var(--muted); font-size: 18px; max-width: 52ch; }
.demo { display: grid; gap: 20px; }
.demo__scenes { display: grid; gap: 8px; align-content: start; }
.scenes { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding-bottom: 4px; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.scene {
  scroll-snap-align: start; flex: none;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 48px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, background-color .25s;
}
.scene small { display: none; color: var(--muted); font-size: 13px; }
.scene strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.scene .i { color: var(--accent-ink); }
.scene:hover { border-color: var(--ink); }
.scene[aria-selected='true'] { border-color: var(--azul); background: var(--accent-soft); }

.phone {
  position: relative; border-radius: var(--r-phone); background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-phone); overflow: hidden;
}
.phone--chat { display: grid; grid-template-rows: auto 1fr auto; height: 600px; max-width: 420px; width: 100%; justify-self: center; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.chat-top img { width: 36px; height: 36px; border-radius: 50%; background: var(--gelo); }
.chat-top__name { font-weight: 700; line-height: 1.2; }
.chat-top__status { font-size: 13px; color: var(--muted); line-height: 1.3; }
.chat-top__status.is-busy { color: var(--sinal-ink); }
.chat-top__status.is-busy::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sinal); margin-right: 6px; vertical-align: 1px; }
.chat { list-style: none; margin: 0; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; background: color-mix(in oklab, var(--bg-alt) 60%, var(--surface)); scroll-behavior: smooth; }
.msg-row { display: flex; flex-direction: column; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .5s var(--ease); }
.msg-row.is-in { opacity: 1; transform: none; }
.msg-row > .bubble--me { align-self: flex-end; max-width: 86%; }
.msg-row > .vizi-msg { max-width: 92%; }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin: 10px 12px 12px; padding: 0 16px; height: 46px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.chat-input .i { color: var(--accent-ink); width: 22px; height: 22px; }

.thumbs { display: flex; gap: 4px; position: relative; }
.thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.thumbs__more { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 72px; height: 54px; border-radius: 8px; background: color-mix(in oklab, var(--quase-preto) 55%, transparent); color: var(--branco); font-weight: 700; }
.bubble--photos p:not(.sr-only) { margin-top: 8px; }

.action { display: grid; gap: 10px; min-width: 260px; }
.action__head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--sinal-ink); }
.action--pending { border-color: color-mix(in oklab, var(--sinal) 55%, transparent); background: color-mix(in oklab, var(--sinal-soft) 60%, var(--surface)); }
.action--ok .action__head { color: var(--accent-ink); }
.action--cancelled .action__head { color: var(--muted); }
.action__title { font-weight: 700; font-size: 15px; line-height: 1.35; }
.action__item { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.action__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.diff { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-soft); font-size: 14px; }
.diff__label { width: 100%; font-size: 12px; color: var(--muted); font-weight: 600; }
.diff__from { color: var(--muted); text-decoration-thickness: 1px; text-decoration-color: color-mix(in oklab, var(--grafite) 60%, transparent); }
.diff__to { color: var(--accent-ink); }
.diff .i { color: var(--muted); width: 16px; height: 16px; }
.diff--img img { width: 88px; height: 66px; object-fit: cover; border-radius: 8px; }
.diff--img img:first-of-type { opacity: .6; }
.draft { display: grid; gap: 10px; }
.draft__card { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 8px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--surface); }
.draft__card img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; }
.draft__title { font-weight: 700; font-size: 14px; line-height: 1.3; }
.draft__facts { font-size: 13px; color: var(--muted); }
.draft__price { font-weight: 800; margin-top: 2px; }
.done p { display: flex; gap: 8px; align-items: flex-start; }
.done p .i { color: var(--accent-ink); margin-top: 3px; }
.done { display: grid; gap: 8px; justify-items: start; }
.done__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; word-break: break-all; }

.site-mini { display: none; }
.site-mini__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: 13px; }
.site-mini__title { font-weight: 700; margin: 18px 4px 10px; }
.site-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-card { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); transition: box-shadow .5s var(--ease), border-color .5s; animation: pop .6s var(--ease) both; }
.site-card img { width: 92px; height: 70px; object-fit: cover; border-radius: 8px; transition: opacity .4s; }
.site-card__title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.site-card__facts { font-size: 12px; color: var(--muted); }
.site-card__price { font-weight: 800; font-size: 14px; margin-top: 2px; }
.site-card.is-changed { border-color: var(--azul); box-shadow: 0 0 0 4px color-mix(in oklab, var(--azul) 16%, transparent); }
.site-card.is-sold img { opacity: .45; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.tag--sold { background: var(--ink); color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .site-card, .msg-row { animation: none; transition: none; } }

@media (min-width: 760px) {
  .scenes { flex-direction: column; overflow: visible; margin: 0; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .scene { border-radius: var(--r-card); padding: 14px 16px; }
  .scene small { display: block; }
  .demo { grid-template-columns: 260px 1fr; align-items: start; }
}
@media (min-width: 1100px) {
  .demo { grid-template-columns: 250px minmax(360px, 420px) 1fr; gap: 32px; }
  .site-mini { display: block; padding: 18px; border-radius: var(--r-card); background: var(--bg-alt); align-self: center; }
  .demo__scenes { align-self: center; }
}

/* ---------- 4. vitrine ---------- */
.showcase { padding: var(--sec) 0; }
.showcase__grid { display: grid; gap: 48px; align-items: center; }
.showcase__copy { display: grid; gap: 18px; }
.showcase__copy > p { color: var(--muted); font-size: 18px; max-width: 48ch; }
.points { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 22px; }
.points li { display: flex; gap: 16px; }
.points .i { width: 26px; height: 26px; color: var(--accent-ink); margin-top: 2px; }
.points strong { display: block; font-size: 17px; }
.points span { color: var(--muted); font-size: 15px; }
.phone--site { width: 100%; max-width: 360px; height: 680px; justify-self: center; border: 8px solid var(--phone-frame); }
.vt { height: 100%; overflow-y: auto; scrollbar-width: none; background: var(--bg); }
.vt[hidden] { display: none; }
.vt__head { display: flex; align-items: center; gap: 12px; padding: 18px 16px 12px; }
.vt__face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.vt__name { font-weight: 800; line-height: 1.2; }
.vt__role { font-size: 13px; color: var(--muted); }
.vt__list { list-style: none; margin: 0; padding: 4px 12px 16px; display: grid; gap: 14px; }
.vt-card { display: grid; gap: 2px; width: 100%; padding: 0 0 12px; border: 0; border-radius: 14px; background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; overflow: hidden; border: 1px solid var(--line-soft); transition: transform .3s var(--ease); }
.vt-card:hover { transform: translateY(-2px); }
.vt-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; }
.vt-card__price { padding: 0 12px; font-weight: 800; font-size: 18px; }
.vt-card__title { padding: 0 12px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.vt-card__place { padding: 0 12px; display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.vt--detail { position: relative; display: flex; flex-direction: column; }
.vt__back { position: sticky; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; margin: 10px; padding: 8px 14px 8px 10px; min-height: 40px; border: 0; border-radius: 999px; background: color-mix(in oklab, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.vt__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: -60px; scrollbar-width: none; }
.vt__gallery img { flex: none; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: center; }
.vt__count { align-self: flex-end; margin: -34px 12px 10px 0; position: relative; padding: 2px 10px; border-radius: 999px; background: color-mix(in oklab, var(--quase-preto) 65%, transparent); color: var(--branco); font-size: 12px; font-weight: 700; }
.vt__info { padding: 4px 16px 20px; display: grid; gap: 6px; flex: 1; }
.vt__price { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.vt__title { font-size: 17px; }
.vt__place { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.vt__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 6px; }
.vt__facts div { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg-alt); }
.vt__facts .i { grid-row: span 2; color: var(--accent-ink); width: 22px; height: 22px; }
.vt__facts dt { font-size: 12px; color: var(--muted); }
.vt__facts dd { margin: 0; font-weight: 800; font-size: 15px; }
.vt__desc { font-size: 14px; color: var(--muted); }
.vt__bar { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 10px 12px 12px; background: color-mix(in oklab, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line-soft); }
@media (min-width: 1024px) {
  .showcase__grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
  .phone--site { justify-self: end; transform: rotate(-2deg); transition: transform .6s var(--ease); }
  .phone--site:hover, .phone--site:focus-within { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .phone--site { transform: none !important; } }

/* ---------- 5. controle (bento) ---------- */
.control { padding: var(--sec) 0; background: var(--bg-alt); }
.control h2 { max-width: 20ch; margin-bottom: 40px; }
.bento { display: grid; gap: 14px; }
.tile { position: relative; border-radius: var(--r-card); padding: 26px; background: var(--surface); display: grid; gap: 10px; align-content: start; overflow: hidden; }
.tile p { color: var(--muted); font-size: 15px; }
.tile--confirm { gap: 22px; }
.tile__copy { display: grid; gap: 10px; }
.mini-confirm { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: color-mix(in oklab, var(--sinal-soft) 70%, var(--surface)); border: 1px solid color-mix(in oklab, var(--sinal) 50%, transparent); max-width: 360px; }
.mini-confirm .diff { background: var(--surface); }
.tile--undo { background: var(--azul); color: var(--branco); align-content: center; }
.tile--undo p { color: var(--branco); }
.tile__icon { width: 36px; height: 36px; margin-bottom: 8px; }
.tile--wait { grid-template-columns: 84px 1fr; align-items: center; gap: 18px; background: var(--sinal-soft); }
.tile--wait p { color: var(--sinal-ink); }
.tile--wait img { width: 84px; height: auto; }
.tile--photo { padding: 0; min-height: 360px; color: var(--branco); display: flex; flex-direction: column; justify-content: flex-end; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.tile--photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, color-mix(in oklab, var(--quase-preto) 88%, transparent) 15%, transparent); }
.tile__over { position: relative; z-index: 1; padding: 0 24px 24px; display: grid; gap: 6px; max-width: 52ch; }
.tile__over p { color: var(--branco); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--confirm { grid-column: span 4; grid-template-columns: 1fr 1fr; align-items: center; }
  .tile--undo { grid-column: span 2; }
  .tile--wait { grid-column: span 2; grid-template-columns: 1fr; align-content: center; justify-items: start; }
  .tile--wait img { width: 96px; }
  .tile--photo { grid-column: span 4; }
}

/* ---------- 7. dúvidas ---------- */
.faq { padding: var(--sec) 0; border-top: 1px solid var(--line-soft); }
.faq__grid { display: grid; gap: 32px; }
.faq__list { display: grid; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1px solid var(--line-soft); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 500; font-size: 20px; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--azul); color: var(--accent-ink); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
  .faq h2 { position: sticky; top: 100px; align-self: start; }
}

/* ---------- 8. chamada final ---------- */
.cta { padding: var(--sec) 0 calc(var(--sec) + 20px); background: var(--bg-alt); }
.cta__grid { display: grid; gap: 40px; align-items: center; }
.cta__copy { display: grid; gap: 18px; position: relative; }
.cta__copy > p { color: var(--muted); font-size: 18px; max-width: 44ch; }
.cta__vizi { width: 96px; height: auto; }
.form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 34px); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 15px; padding: 0; }
.field input[type='text'], .field input[type='tel'], .field input[type='url'] {
  height: 52px; padding: 0 16px; border-radius: var(--r-field); border: 1.5px solid var(--field-line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 17px;
}
.field input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px color-mix(in oklab, var(--azul) 18%, transparent); }
.field input[aria-invalid='true'] { border-color: var(--sinal); }
.field__help { font-size: 14px; color: var(--muted); }
.field__opt { font-weight: 500; color: var(--muted); }
.field__err { font-size: 14px; font-weight: 600; color: var(--sinal-ink); }
.field__err::before { content: '! '; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; min-height: 48px; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.seg input:checked + span { border-color: var(--azul); background: var(--accent-soft); color: var(--accent-ink); }
.seg input:focus-visible + span { outline: 3px solid var(--lavanda); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.seg span, .check input { border-color: var(--field-line); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--azul); flex: none; }
.form__status { font-size: 15px; font-weight: 600; color: var(--accent-ink); min-height: 1px; }
.form__status.is-error { color: var(--sinal-ink); }
.form.is-sent .btn--primary { --bg-btn: var(--phone-frame); }
@media (min-width: 1024px) {
  .cta__grid { grid-template-columns: 1fr 0.9fr; gap: 80px; }
  .cta__vizi { width: 120px; }
}

/* ---------- rodapé ---------- */
.foot { padding: 40px 0 56px; }
.foot__in { display: grid; gap: 14px; justify-items: start; }
.foot img { width: 120px; }
.foot p { color: var(--muted); font-size: 15px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.foot nav a:hover { color: var(--accent-ink); }
@media (min-width: 900px) {
  .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
}

/* ---------- aviso ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; transform: translateX(-50%);
  width: min(92vw, 460px); padding: 14px 18px; border-radius: 14px;
  background: var(--toast-bg); color: var(--toast-fg); font-size: 15px; box-shadow: var(--shadow-phone);
}
