/* =====================================================================
   Página de vendas do ImovelCarbon (domínio base).

   Identidade da proposta aprovada (visual-moderno/propostas/imobiliaria-aprovada):
   editorial, foto do imóvel em primeiro plano, Instrument Serif nos títulos com o
   itálico em destaque, Hanken Grotesk no texto, IBM Plex Mono nos números, papel
   quente e verde-petróleo. Tamanhos na escala do Tailwind
   (12/14/16/18/20/24/30/36/48/60/72) e espaços na grade de 4/8 px.

   Movimento: só transform e opacity, curva de mola, e `prefers-reduced-motion`
   desliga tudo mantendo o conteúdo. O estado do HTML é sempre o final: a classe
   `js` (posta no <head>) e o lp.js só ligam efeitos, nunca escondem conteúdo de
   quem não tem script. Texto que troca no meio de uma cena troca por
   visibility + transform, nunca por opacidade (contraste de texto a meio fade
   reprova a acessibilidade conforme o quadro em que o teste pega).
   ===================================================================== */

@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url('../fonts/hanken-grotesk-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
    --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --body: 'Hanken Grotesk', 'Helvetica Neue', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --bg: #f5f3ee; --surface: #ffffff; --sunken: #ece9e1;
    --line: #e2ded4; --line-strong: #cfc9bc;
    --fg: #16211f; --muted: #56625e;
    --dim: #7a8582; /* palavra "apagada" da frase: 3,6:1, passa como texto grande */
    --brand: #0f766e; --brand-ink: #ffffff; --brand-text: #0b5e57; --brand-soft: #dcefeb;
    --cta: #0f766e;
    --ok: #1f7a4d; --ok-soft: #dff1e7; --warn: #8f5200; --warn-soft: #fbecd2; --bad: #b42318; --bad-soft: #fbe3e0;
    --phone: #141b1a;

    --shadow-sm: 0 1px 2px rgb(20 30 28 / .06), 0 4px 12px -8px rgb(20 30 28 / .16);
    --shadow-md: 0 1px 2px rgb(20 30 28 / .06), 0 12px 32px -16px rgb(20 30 28 / .3);
    --shadow-lg: 0 2px 6px rgb(20 30 28 / .08), 0 32px 64px -24px rgb(20 30 28 / .4);

    --ease: cubic-bezier(.32, .72, 0, 1);
    --spring: cubic-bezier(.2, .9, .25, 1);

    color-scheme: light;
}
[data-theme="dark"] {
    --bg: #0f1514; --surface: #161e1c; --sunken: #121917;
    --line: #24302d; --line-strong: #33413d;
    --fg: #eef2f0; --muted: #a3b3ae;
    --dim: #71817c;
    --brand: #14907f; --brand-ink: #ffffff; --brand-text: #5fd0c0; --brand-soft: #16312d;
    --cta: #0f766e;
    --ok: #5cc792; --ok-soft: #163126; --warn: #e8a64a; --warn-soft: #33260f; --bad: #f08a80; --bad-soft: #3a1916;
    --phone: #0a0f0e;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4), 0 6px 16px -10px rgb(0 0 0 / .6);
    --shadow-md: 0 1px 2px rgb(0 0 0 / .4), 0 16px 36px -18px rgb(0 0 0 / .8);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / .5), 0 32px 64px -24px rgb(0 0 0 / .9);

    color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 400 16px/24px var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
em { font-style: italic; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 50; padding: 8px 12px; border-radius: 8px; background: var(--fg); color: var(--bg); font-weight: 600; text-decoration: none; transition: transform .3s var(--ease); }
.skip:focus { transform: translateY(80px); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px)  { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }

/* ---------- tipografia ---------- */
.eyebrow { font: 500 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.eyebrow-claro { color: #9fe3d8; }
.mono-tag { font: 500 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
/* Título em linhas que quebram onde a frase quebra; o itálico em destaque. */
.ln { display: block; }
.h2 { font: 400 36px/40px var(--display); letter-spacing: -.01em; text-wrap: balance; }
.h2 em, .h3 em, .hero-t em, .fim-t em, .aviso-t em { color: var(--brand-text); }
.h3 { font: 400 30px/36px var(--display); letter-spacing: -.01em; text-wrap: balance; }
.lede { font-size: 18px; line-height: 28px; color: var(--muted); text-wrap: pretty; max-width: 60ch; }
@media (min-width: 768px) {
    .h2 { font-size: 48px; line-height: 48px; }
    .h3 { font-size: 36px; line-height: 40px; }
}
@media (min-width: 1280px) { .h2 { font-size: 60px; line-height: 60px; } }

/* ---------- logo e topo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-mark {
    width: 32px; height: 32px; flex: none; border-radius: 8px;
    display: grid; place-items: center;
    background: var(--brand); color: var(--brand-ink);
}
.logo-mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo-name { font: 400 30px/32px var(--display); letter-spacing: -.01em; }

.nav { position: absolute; inset: 0 0 auto; z-index: 10; padding-top: 16px; }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.nav-links { display: none; gap: 4px; padding: 4px; border-radius: 9999px; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links a { padding: 8px 16px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; color: var(--muted); transition: background-color .4s var(--ease), color .4s var(--ease); }
.nav-links a:hover { background: var(--brand-soft); color: var(--brand-text); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* ---------- botão (o único da página) ---------- */
.cta { display: grid; justify-items: start; gap: 8px; }
.btn-cta {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 48px; padding: 12px 24px; border: 0; border-radius: 12px;
    background: var(--cta); color: #fff;
    font: 600 16px/24px var(--body); cursor: pointer;
    box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 12px 24px -12px rgb(15 118 110 / .7);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn-cta-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgb(0 0 0 / .14), 0 20px 32px -14px rgb(15 118 110 / .8); }
.btn-cta:hover .btn-cta-ico { transform: translateX(4px); }
.btn-cta:active { transform: translateY(0) scale(.98); }
.btn-cta:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.fim .btn-cta:focus-visible, .meio .btn-cta:focus-visible { outline-color: #fff; }
/* O brilho que passa a cada ~6 s: uma faixa lisa inclinada, só transform. */
.btn-cta::after {
    content: ""; position: absolute; z-index: -1; top: -50%; bottom: -50%; left: 0; width: 40%;
    background: rgb(255 255 255 / .14);
    transform: translateX(-160%) skewX(-20deg);
    animation: sheen 6s var(--ease) 2s infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(360%) skewX(-20deg); } }
.cta-note { font-size: 14px; line-height: 20px; color: var(--muted); max-width: 44ch; text-wrap: pretty; }

.btn-sec {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--fg);
    font: 600 14px/20px var(--body); cursor: pointer;
    transition: transform .5s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.btn-sec .i { color: var(--brand-text); }
.btn-sec:hover { transform: translateY(-2px); border-color: var(--brand); background: var(--brand-soft); }
.btn-sec:active { transform: scale(.98); }

.demo-aviso {
    margin-top: 80px; padding: 12px 16px; border-radius: 12px;
    background: var(--warn-soft); color: var(--warn); font-size: 14px; line-height: 20px; font-weight: 600;
}

/* ---------- pílulas (as do painel) ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px; font: 600 12px/16px var(--body); white-space: nowrap; background: var(--sunken); color: var(--muted); }
.pill .i { width: 12px; height: 12px; stroke-width: 2.4; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.br { background: var(--brand-soft); color: var(--brand-text); }

/* =====================================================================
   Topo
   ===================================================================== */
.hero { position: relative; padding: 96px 0 48px; }
.hero-in { display: grid; gap: 40px; }
.hero-copy { display: grid; gap: 24px; align-content: center; justify-items: start; }
.hero-t { font: 400 48px/48px var(--display); letter-spacing: -.02em; text-wrap: balance; max-width: 680px; }
.hero-sub { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 520px; text-wrap: pretty; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 4px; }
.hero-proof .i { color: var(--brand-text); }

.hero-media { position: relative; }
.hero-frame {
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 4 / 3; border-radius: 24px; background: var(--sunken);
    box-shadow: var(--shadow-lg);
}
/* A camada que anda no parallax é maior que o quadro: subir não descobre o fundo. */
.hero-par { position: absolute; inset: -8% 0 -8% 0; will-change: transform; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
    position: absolute; left: 16px; top: 16px; z-index: 2;
    display: grid; padding: 8px 12px; border-radius: 12px;
    background: rgb(10 16 15 / .62); color: #fff;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-tag b { font: 400 24px/28px var(--display); }
.hero-tag span { font: 500 12px/16px var(--mono); }

.hcard {
    position: relative; z-index: 3; margin: -64px 16px 0;
    display: grid; gap: 12px; padding: 16px;
    border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.hcard-h { display: flex; align-items: center; justify-content: space-between; }
.hcard-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.hcard-l { display: grid; gap: 4px; }
.hrow {
    position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center;
    padding: 8px; border-radius: 12px;
    transition: transform .6s var(--spring);
}
.hrow::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--brand-soft); opacity: 0; transition: opacity .5s var(--ease); }
.hico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.hrow-t { display: grid; min-width: 0; }
.hrow-t b { font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow-t small { font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hval { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--bad); }
.hcard-l { isolation: isolate; }
/* Duas etiquetas no mesmo lugar: a do meio da cena (alt) e a final (fin). */
.swap { display: grid; justify-items: end; }
.swap > * { grid-area: 1 / 1; transition: transform .45s var(--spring), visibility 0s; }
.swap .alt { visibility: hidden; transform: scale(.6); }

@media (min-width: 640px) {
    .hcard { position: absolute; left: 24px; bottom: -32px; width: 360px; margin: 0; }
    .hero-media { margin-bottom: 32px; }
}
@media (min-width: 768px) {
    .hero { padding-top: 112px; }
    .hero-t { font-size: 60px; line-height: 60px; }
}
@media (min-width: 1024px) {
    .hero { padding: 128px 0 80px; }
    .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
    .hero-frame { aspect-ratio: 4 / 5; }
    .hcard { left: -48px; bottom: 40px; width: 360px; }
    .hero-media { margin-bottom: 0; }
}
@media (min-width: 1280px) { .hero-t { font-size: 72px; line-height: 72px; } }

/* =====================================================================
   Faixa que corre: bairros e tipos de imóvel
   ===================================================================== */
.marquee { overflow: hidden; padding: 24px 0; border-block: 1px solid var(--line); background: var(--surface); }
.marquee-track { display: flex; width: max-content; }
.marquee-list { display: flex; flex: none; align-items: center; }
.marquee-list li { display: inline-flex; align-items: center; gap: 24px; padding-right: 24px; white-space: nowrap; }
.marquee-list li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.mq-bairro { font: 400 30px/36px var(--display); }
.mq-tipo { font: italic 400 30px/36px var(--display); color: var(--brand-text); }
.js .marquee-track { animation: corre 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes corre { to { transform: translateX(-50%); } }

/* =====================================================================
   Seções
   ===================================================================== */
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.sec-head-c { justify-items: start; }

/* ---------- o dia ---------- */
.dia { padding: 80px 0; }
.dia-grid { display: grid; gap: 16px; }
.dia-foto { overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; background: var(--sunken); }
.dia-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dia-foto:hover img { transform: scale(1.04); }
.dia-col { display: grid; gap: 16px; align-content: start; padding: 24px; border-radius: 24px; border: 1px solid var(--line); }
.dia-antes { background: var(--sunken); }
.dia-com { background: var(--surface); box-shadow: var(--shadow-md); }
.dia-t { font: 400 30px/36px var(--display); }
.dia-com .dia-t { color: var(--brand-text); font-style: italic; }
.dia-l { display: grid; gap: 16px; }
.dia-l li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; text-wrap: pretty; }
.dia-h { font-size: 14px; line-height: 24px; color: var(--muted); }
.dia-antes .dia-l li > span:last-child { color: var(--muted); }
.dia-ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.dia-ok .i { width: 14px; height: 14px; stroke-width: 2.4; }
.dia-com .dia-l li { grid-template-columns: 24px minmax(0, 1fr); }
@media (min-width: 640px) { .dia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dia-foto { grid-column: 1 / -1; aspect-ratio: 16 / 7; } }
@media (min-width: 1024px) { .dia { padding: 96px 0; } .dia-grid { gap: 24px; } .dia-col { padding: 32px; } }
/* Três colunas só quando cabem: em 1024 as listas ficavam espremidas em 3 a 4 linhas por item. */
@media (min-width: 1280px) {
    .dia-grid { grid-template-columns: 320px repeat(2, minmax(0, 1fr)); }
    .dia-foto { grid-column: auto; aspect-ratio: auto; height: 100%; min-height: 360px; }
}

/* ---------- tour ---------- */
.tour { padding: 80px 0 16px; }
.tour-2 { padding-top: 80px; }
.feat { display: grid; gap: 40px; align-items: center; padding-block: 48px; }
.feat-copy { display: grid; gap: 16px; align-content: center; max-width: 520px; }
.feat-n { display: flex; align-items: center; gap: 12px; font: 500 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.feat-n .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); letter-spacing: 0; }
.feat-p { font-size: 18px; line-height: 28px; color: var(--muted); text-wrap: pretty; }
.feat-l { display: grid; gap: 8px; }
.feat-l li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 16px; line-height: 24px; text-wrap: pretty; }
.feat-l .i { margin-top: 4px; color: var(--brand-text); stroke-width: 2.4; }
.feat-demo { display: grid; justify-items: center; min-width: 0; }
@media (min-width: 1024px) {
    .feat { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; padding-block: 64px; }
    .feat-r { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
    .feat-r .feat-copy { order: 2; }
    .feat-r .feat-demo { order: 1; }
}

/* =====================================================================
   Mockups (recriados do painel novo, com os dados da demonstração)
   ===================================================================== */

/* ---------- celular ---------- */
.phone {
    position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 19;
    padding: 8px; border-radius: 40px; background: var(--phone);
    box-shadow: var(--shadow-lg), inset 0 0 0 1px #2c3734;
    transition: transform .8s var(--ease);
}
.feat-demo:hover .phone, .feat-demo:hover .browser, .feat-demo:hover .doc, .feat-demo:hover .card { transform: translateY(-4px) rotate(-.4deg); }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 32px; background: var(--bg); display: flex; flex-direction: column; font-size: 14px; line-height: 20px; }
.notch { position: absolute; top: 8px; left: 50%; z-index: 9; width: 80px; height: 24px; margin-left: -40px; border-radius: 12px; background: var(--phone); }

/* visita */
.v-photo { position: relative; height: 184px; flex: none; color: #fff; background: #2b3533; }
.v-photo img { width: 100%; height: 100%; object-fit: cover; }
.v-photo::after { content: ""; position: absolute; inset: 0; background: rgb(6 10 9 / .38); }
.v-top { position: absolute; top: 40px; left: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between; font: 500 12px/16px var(--mono); }
.v-tag { position: absolute; left: 16px; bottom: 12px; z-index: 2; display: grid; }
.v-tag b { font: 400 30px/32px var(--display); }
.v-tag small { font: 500 12px/16px var(--mono); }
.v-body { display: grid; gap: 8px; padding: 12px; }
.v-hist { display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--sunken); }
.v-hist b { font-size: 12px; line-height: 16px; }
.v-hist span { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 16px; color: var(--muted); }
.info { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.info .i { width: 18px; height: 18px; margin-top: 2px; color: var(--brand-text); }
.info b { display: block; font-size: 14px; line-height: 20px; }
.info small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.acts span { display: grid; justify-items: center; gap: 4px; padding: 8px 0; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; line-height: 16px; font-weight: 600; }
.acts .i { width: 20px; height: 20px; color: var(--brand-text); }
.v-fixed { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 12px 12px 16px; background: var(--bg); border-top: 1px solid var(--line); }
.big { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 12px; border-radius: 12px; background: var(--cta); color: #fff; font-size: 14px; line-height: 20px; font-weight: 700; transition: transform .25s var(--spring); }
.big .i { width: 18px; height: 18px; }
.v-scrim { position: absolute; inset: 0; z-index: 5; background: rgb(6 10 9 / .45); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.v-sheet {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
    display: grid; gap: 8px; padding: 8px 12px 16px;
    border-radius: 20px 20px 0 0; background: var(--surface); box-shadow: 0 -12px 30px -10px rgb(0 0 0 / .35);
    transform: translateY(105%); visibility: hidden;
    transition: transform .5s var(--spring), visibility 0s .5s;
}
.grab { width: 36px; height: 4px; margin: 0 auto 4px; border-radius: 4px; background: var(--line-strong); }
.v-sheet-t { font: 400 24px/28px var(--display); }
.v-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ch, .chip { display: inline-flex; align-items: center; justify-content: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 12px; line-height: 16px; font-weight: 600; text-align: center; transition: transform .3s var(--spring); }
.v-lbl { font-size: 12px; line-height: 16px; color: var(--muted); }
.v-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { padding: 4px 8px; border-radius: 9999px; font-weight: 500; }
.v-done {
    position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 8px;
    padding: 24px; text-align: center; background: var(--surface);
    visibility: hidden; transform: scale(.96); transition: transform .4s var(--spring), visibility 0s .4s;
}
.v-done b { font: 400 30px/36px var(--display); }
.v-done small { font-size: 14px; line-height: 20px; color: var(--muted); max-width: 26ch; }
.draw { width: 64px; height: 64px; }
.draw circle { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 3; stroke-dasharray: 220; }
.draw path { fill: none; stroke: var(--ok); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; }
@keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
.drawing circle { --len: 220; animation: draw .5s var(--ease) both; }
.drawing path { --len: 60; animation: draw .35s .35s var(--ease) both; }

[data-scene="visita"].s-tap .v-cheguei, [data-scene="visita"].s-tap2 .v-concluir { transform: scale(.95); }
[data-scene="visita"].s-sheet .v-scrim { opacity: 1; }
[data-scene="visita"].s-sheet .v-sheet { transform: none; visibility: visible; transition: transform .5s var(--spring), visibility 0s; }
[data-scene="visita"].s-talvez .ch-talvez, [data-scene="visita"].s-preco .ch-preco { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-text); transform: scale(1.06); }
[data-scene="visita"].s-done .v-done { visibility: visible; transform: none; transition: transform .4s var(--spring), visibility 0s; }

/* funil */
.m-top { display: grid; gap: 2px; padding: 40px 16px 8px; border-bottom: 1px solid var(--line); }
.m-title { font: 400 30px/32px var(--display); }
.m-top small { font-size: 12px; line-height: 16px; color: var(--muted); }
.f-view { container-type: inline-size; overflow: hidden; flex: 1; padding: 12px 0 0 12px; }
.f-track { --n: 0; display: flex; gap: 8px; transform: translateX(calc(var(--n) * -1 * (82cqw + 8px))); transition: transform .7s var(--spring); }
.f-col { flex: 0 0 82cqw; display: grid; gap: 8px; align-content: start; }
.f-h { display: flex; justify-content: space-between; padding: 0 4px; font-size: 14px; line-height: 20px; color: var(--muted); font-weight: 600; }
.fcard { position: relative; display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--spring), box-shadow .5s var(--ease), visibility 0s; }
.fcard b { font-size: 14px; line-height: 20px; }
.fcard small { font-size: 12px; line-height: 16px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.f-go { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px; background: var(--cta); color: #fff; font-size: 12px; line-height: 16px; font-weight: 600; visibility: hidden; transform: scale(.6); transition: transform .35s var(--spring), visibility 0s; }
.f-go .i { width: 12px; height: 12px; }
.f-arrive { display: none; }
.f-dots { display: flex; justify-content: center; gap: 4px; padding: 8px 0 72px; }
.f-dots i { width: 6px; height: 6px; border-radius: 9999px; background: var(--line-strong); transition: transform .4s var(--spring), background-color .3s; }
.f-dots i:first-child { background: var(--brand); transform: scaleX(2); }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 4px 16px; background: var(--surface); border-top: 1px solid var(--line); }
.tabbar span { display: grid; justify-items: center; gap: 2px; font-size: 12px; line-height: 16px; color: var(--muted); }
.tabbar .i { width: 20px; height: 20px; }
.tabbar .on { color: var(--brand-text); font-weight: 600; }

[data-scene="funil"].s-c1 .f-track { --n: 1; }
[data-scene="funil"].s-c2 .f-track { --n: 2; }
[data-scene="funil"].s-c1 .f-dots i:first-child, [data-scene="funil"].s-c2 .f-dots i:first-child { background: var(--line-strong); transform: none; }
[data-scene="funil"].s-c1:not(.s-c2) .f-dots i:nth-child(2), [data-scene="funil"].s-c2 .f-dots i:nth-child(3) { background: var(--brand); transform: scaleX(2); }
[data-scene="funil"].s-lift .f-mover { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow-md); }
[data-scene="funil"].s-lift .f-go { visibility: visible; transform: none; }
[data-scene="funil"].s-move .f-mover { display: none; }
[data-scene="funil"].s-move .f-arrive { display: grid; animation: chega .6s var(--spring) both; }
@keyframes chega { from { transform: translateY(-16px) scale(.92); } }

/* ---------- navegador ---------- */
.browser { width: 100%; max-width: 560px; overflow: hidden; position: relative; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transition: transform .8s var(--ease); }
.b-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--sunken); border-bottom: 1px solid var(--line); }
.b-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.b-url { min-width: 0; flex: 1; max-width: 320px; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font: 500 12px/20px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt { display: grid; }
.vt-gal { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sunken); }
.vt-track { display: flex; height: 100%; transition: transform .8s var(--spring); }
.vt-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.vt-count { position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; border-radius: 9999px; background: rgb(10 16 15 / .7); color: #fff; font-size: 12px; line-height: 16px; }
.vt-info { display: grid; gap: 4px; padding: 16px; align-content: start; }
.vt-t { font: 400 24px/28px var(--display); margin-top: 4px; }
.vt-price { font-size: 20px; line-height: 28px; font-weight: 500; }
.vt-ficha { font-size: 12px; line-height: 16px; color: var(--muted); }
.vt-addr { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.vt-addr .i { color: var(--brand-text); }
.vt-btn { margin-top: 8px; display: flex; justify-content: center; padding: 8px 12px; border-radius: 12px; background: var(--cta); color: #fff; font-size: 14px; line-height: 20px; font-weight: 700; transition: transform .25s var(--spring); }
.vt-toast {
    position: absolute; right: 12px; top: 52px; z-index: 4; max-width: calc(100% - 24px);
    display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-items: center;
    padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    visibility: hidden; transform: translateY(-12px) scale(.96); transition: transform .5s var(--spring), visibility 0s .5s;
}
.vt-toast b { display: block; font-size: 14px; line-height: 20px; }
.vt-toast small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
@media (min-width: 640px) {
    .vt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .vt-gal { aspect-ratio: auto; min-height: 280px; }
}
[data-scene="vitrine"].s-g1 .vt-track { transform: translateX(-100%); }
[data-scene="vitrine"].s-g2 .vt-track { transform: translateX(-200%); }
[data-scene="vitrine"].s-g3 .vt-track { transform: translateX(-300%); }
[data-scene="vitrine"].s-tap .vt-btn { transform: scale(.95); }
[data-scene="vitrine"].s-toast .vt-toast { visibility: visible; transform: none; transition: transform .5s var(--spring), visibility 0s; }

/* ---------- documento e cartões ---------- */
.doc, .card {
    position: relative; width: 100%; max-width: 480px; display: grid; gap: 16px; padding: 24px;
    border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transition: transform .8s var(--ease);
}
.doc-h { padding-right: 80px; }
.doc-h, .card-h > div { display: grid; gap: 2px; min-width: 0; }
.doc-t, .card-t { font: 400 30px/36px var(--display); }
.card-t { font-size: 24px; line-height: 32px; }
.doc-h small, .card-h small { font-size: 14px; line-height: 20px; color: var(--muted); }
.card-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.doc-l { display: grid; border-top: 1px solid var(--line); }
.doc-l li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; transition: transform .5s var(--spring), visibility 0s; }
.doc-l li small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.deb { color: var(--muted); white-space: nowrap; }
.doc-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.doc-tot span { font-weight: 600; }
.doc-tot b { font-size: 24px; line-height: 32px; font-weight: 500; }
.doc-pago { position: absolute; right: 16px; top: 16px; display: grid; justify-items: center; gap: 4px; transform: rotate(-6deg); transition: transform .5s var(--spring), visibility 0s; }
.doc-pago .draw { width: 48px; height: 48px; }
.doc-pago span { padding: 2px 8px; border-radius: 9999px; background: var(--ok-soft); color: var(--ok); font: 600 12px/16px var(--body); }
[data-scene="repasse"].s-run .doc-l li, [data-scene="repasse"].s-run .doc-pago { visibility: hidden; transform: translateY(8px); }
[data-scene="repasse"].s-run .doc-pago { transform: rotate(-6deg) scale(.5); }
[data-scene="repasse"].s-l1 .doc-l .dl1, [data-scene="repasse"].s-l2 .doc-l .dl2, [data-scene="repasse"].s-l3 .doc-l .dl3,
[data-scene="repasse"].s-l4 .doc-l .dl4, [data-scene="repasse"].s-l5 .doc-l .dl5 { visibility: visible; transform: none; }
[data-scene="repasse"].s-paid .doc-pago { visibility: visible; transform: rotate(-6deg); }

/* cobrança */
.cob-l { display: grid; border-top: 1px solid var(--line); }
.cob-l > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.cob-l dt { color: var(--muted); }
.cob-base dt, .cob-base dd { font-weight: 600; color: var(--fg); }
.cob-bad dd { color: var(--bad); }
.cob-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cob-tot span { font: 400 24px/32px var(--display); }
.cob-tot b { font-size: 24px; line-height: 32px; font-weight: 500; }
.regua { display: grid; gap: 8px; padding-top: 4px; }
.regua-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rg { display: grid; justify-items: start; gap: 4px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.rg-dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); color: transparent; transition: transform .4s var(--spring); }
.rg-dot .i { width: 12px; height: 12px; stroke-width: 2.6; }
/* Estado final (o do HTML): aviso amigável feito, notificação em curso. */
.rg1 { color: var(--ok); }
.rg1 .rg-dot { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.rg2 { border-color: var(--warn); background: var(--warn-soft); color: var(--warn); }
.rg2 .rg-dot { border-color: var(--warn); transform: scale(1.1); }
[data-scene="cobranca"].s-run .rg1, [data-scene="cobranca"].s-run .rg2 { border-color: var(--line); background: none; color: var(--muted); }
[data-scene="cobranca"].s-run .rg1 .rg-dot, [data-scene="cobranca"].s-run .rg2 .rg-dot { background: none; border-color: var(--line-strong); color: transparent; transform: none; }
[data-scene="cobranca"].s-rg1:not(.s-rg2) .rg1 { border-color: var(--warn); background: var(--warn-soft); color: var(--warn); }
[data-scene="cobranca"].s-rg1:not(.s-rg2) .rg1 .rg-dot { border-color: var(--warn); transform: scale(1.1); }
[data-scene="cobranca"].s-rg2 .rg1 { color: var(--ok); }
[data-scene="cobranca"].s-rg2 .rg1 .rg-dot { background: var(--ok); border-color: var(--ok); color: var(--surface); }
[data-scene="cobranca"].s-rg2 .rg2 { border-color: var(--warn); background: var(--warn-soft); color: var(--warn); }
[data-scene="cobranca"].s-rg2 .rg2 .rg-dot { border-color: var(--warn); transform: scale(1.1); }

/* reajuste */
.seg { display: inline-flex; flex: none; padding: 2px; border-radius: 10px; background: var(--sunken); border: 1px solid var(--line); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.seg span { padding: 4px 8px; border-radius: 8px; }
.seg .on { background: var(--surface); color: var(--brand-text); box-shadow: var(--shadow-sm); }
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; height: 120px; padding-bottom: 20px; position: relative; }
.bar { position: relative; height: 100px; display: flex; align-items: flex-end; }
.bar i { display: block; width: 100%; height: 100%; border-radius: 4px 4px 2px 2px; background: var(--brand); transform-origin: bottom; transform: scaleY(var(--h)); transition: transform .8s var(--spring); transition-delay: calc(var(--d) * 60ms); }
.bar small { position: absolute; top: 104px; left: 50%; transform: translateX(-50%); font: 500 12px/16px var(--mono); color: var(--muted); white-space: nowrap; }
.bar:first-child small { left: 0; transform: none; }
.bar:last-child small { left: auto; right: 0; transform: none; }
.reaj-acc { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.reaj-acc span { color: var(--muted); font-size: 14px; line-height: 20px; }
.reaj-acc b { font-size: 24px; line-height: 32px; font-weight: 500; color: var(--brand-text); }
.reaj-val { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.reaj-de { color: var(--muted); text-decoration: line-through; font-size: 14px; line-height: 20px; }
.reaj-val .i { color: var(--muted); }
.reaj-val b { font-size: 30px; line-height: 36px; font-weight: 500; }
.reaj-ok { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; transition: transform .5s var(--spring), visibility 0s; }
[data-scene="reajuste"].s-run .bar i { transform: scaleY(0); transition-delay: 0s; transition-duration: 0s; }
[data-scene="reajuste"].s-go .bar i { transform: scaleY(var(--h)); transition-duration: .8s; transition-delay: calc(var(--d) * 60ms); }
[data-scene="reajuste"].s-run .reaj-ok { visibility: hidden; transform: translateY(8px); }
[data-scene="reajuste"].s-ok .reaj-ok { visibility: visible; transform: none; }

/* vistoria */
.vist-room { display: grid; gap: 4px; }
.vist-r { font: 400 24px/28px var(--display); }
.vist-l { display: grid; border-top: 1px solid var(--line); }
.vist-l li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.vist-l .pill { transition: transform .4s var(--spring), visibility 0s; }
.vist-foto { grid-template-columns: minmax(0, 1fr) auto auto !important; }
.shot { position: relative; overflow: hidden; width: 64px; height: 48px; border-radius: 8px; background: var(--sunken); transition: transform .5s var(--spring), visibility 0s; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; }
.vist-cmp { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); font-size: 14px; line-height: 20px; font-weight: 600; }
[data-scene="vistoria"].s-run .vist-l .pill, [data-scene="vistoria"].s-run .shot { visibility: hidden; transform: scale(.5); }
[data-scene="vistoria"].s-go .vist-l .pill { visibility: visible; transform: none; }
[data-scene="vistoria"].s-go .vist-room:first-of-type li:nth-child(2) .pill { transition-delay: .12s; }
[data-scene="vistoria"].s-go .vist-room:first-of-type li:nth-child(3) .pill { transition-delay: .24s; }
[data-scene="vistoria"].s-go .vist-room:first-of-type li:nth-child(4) .pill { transition-delay: .36s; }
[data-scene="vistoria"].s-go .vist-room:last-of-type li .pill { transition-delay: .5s; }
[data-scene="vistoria"].s-go .vist-room:last-of-type li:nth-child(2) .pill { transition-delay: .62s; }
[data-scene="vistoria"].s-s1 .shot1, [data-scene="vistoria"].s-s2 .shot2 { visibility: visible; transform: none; }
[data-scene="vistoria"].s-s1 .shot1::after, [data-scene="vistoria"].s-s2 .shot2::after { animation: flash .6s var(--ease); }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }

/* portal */
.portais { display: grid; gap: 24px; justify-items: center; width: 100%; }
.phone-sm { max-width: 260px; aspect-ratio: 9 / 15; }
.p-body { display: grid; gap: 8px; padding: 40px 12px 12px; align-content: start; }
.p-head { display: flex; align-items: center; gap: 8px; }
.p-head .logo-mark { width: 28px; height: 28px; }
.p-head b { display: block; font: 400 20px/24px var(--display); }
.p-head small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); }
.p-hero { position: relative; overflow: hidden; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: var(--cta); color: #fff; }
.p-hero small, .p-hero span { font-size: 12px; line-height: 16px; }
.p-hero b { font-size: 24px; line-height: 32px; font-weight: 500; }
.p-zap { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 12px; line-height: 16px; font-weight: 600; }
.p-zap .i { color: var(--brand-text); }
.p-list { display: grid; padding: 0 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.p-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; transition: transform .5s var(--spring), visibility 0s; }
.p-row:first-child { border-top: 0; }
.p-row small { display: block; color: var(--muted); }
.p-row > span:first-child { min-width: 0; }
.p-total { display: grid; gap: 2px; justify-content: stretch; }
.p-total b { font-size: 20px; line-height: 28px; font-weight: 500; white-space: nowrap; }
.p-link { color: var(--brand-text); font-weight: 600; }
.p-cap { position: absolute; left: 50%; bottom: -32px; transform: translateX(-50%); font: 500 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feat-portal .phone-sm { margin-bottom: 32px; }
@media (min-width: 640px) { .portais { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; } }
[data-scene="portal"].s-run .p-row:not(.p-total) { visibility: hidden; transform: translateX(16px); }
[data-scene="portal"].s-go .p-row.pr1, [data-scene="portal"].s-go .p-row.pr2, [data-scene="portal"].s-go .p-row.pr3 { visibility: visible; transform: none; }
[data-scene="portal"].s-go .p-row.pr2 { transition-delay: .15s; }
[data-scene="portal"].s-go .p-row.pr3 { transition-delay: .3s; }
.portal-try { display: grid; gap: 8px; margin-top: 8px; }
.portal-try-t { font-size: 14px; line-height: 20px; color: var(--muted); }
.portal-try-b { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- topo: cena "Hoje" ---------- */
[data-scene="hoje"].s-run .hr1 .fin, [data-scene="hoje"].s-run .hr3 .fin { visibility: hidden; transform: scale(.6); }
[data-scene="hoje"].s-run .hr1 .alt, [data-scene="hoje"].s-run .hr3 .alt { visibility: visible; transform: none; }
[data-scene="hoje"].s-1 .hr1 .fin, [data-scene="hoje"].s-3 .hr3 .fin { visibility: visible; transform: none; }
[data-scene="hoje"].s-1 .hr1 .alt, [data-scene="hoje"].s-3 .hr3 .alt { visibility: hidden; transform: scale(.6); }
[data-scene="hoje"].s-1:not(.s-2) .hr1, [data-scene="hoje"].s-2:not(.s-3) .hr2, [data-scene="hoje"].s-3:not(.s-end) .hr3 { transform: translateX(4px); }
[data-scene="hoje"].s-1:not(.s-2) .hr1::before, [data-scene="hoje"].s-2:not(.s-3) .hr2::before, [data-scene="hoje"].s-3:not(.s-end) .hr3::before { opacity: 1; }

/* =====================================================================
   Meio, frase, mais, perguntas e fim
   ===================================================================== */
.meio { padding: 32px 0; }
.meio-in {
    display: grid; gap: 24px; align-items: center; padding: 32px 24px;
    border-radius: 24px; background: #0b4f49; color: #fff;
}
.meio .h2 em { color: #9fe3d8; }
.meio-p { margin-top: 12px; font-size: 18px; line-height: 28px; color: #d3ece8; max-width: 48ch; text-wrap: pretty; }
.meio .btn-cta { background: #fff; color: #0b4f49; box-shadow: 0 12px 24px -12px rgb(0 0 0 / .5); }
.meio .btn-cta::after { background: rgb(15 118 110 / .1); }
@media (min-width: 768px) { .meio-in { grid-template-columns: minmax(0, 1fr) auto; padding: 48px; } }

.frase { padding: 96px 0; }
.frase-t { font: 400 36px/40px var(--display); letter-spacing: -.01em; max-width: 960px; text-wrap: balance; }
.frase-t em { color: var(--brand-text); }
@media (min-width: 768px) { .frase-t { font-size: 48px; line-height: 48px; } }
@media (min-width: 1280px) { .frase-t { font-size: 60px; line-height: 60px; } }
.frase-t .w { transition: color .7s var(--ease); }
.frase-t.is-armed .w { color: var(--dim); }
.frase-t.is-armed .w.is-lit { color: var(--fg); }
.frase-t.is-armed em .w.is-lit { color: var(--brand-text); }

.mais { padding: 48px 0 96px; }
.mais-grid { display: grid; gap: 16px; }
.mais-c {
    display: grid; gap: 8px; align-content: start; padding: 24px;
    border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s var(--ease);
}
.mais-c:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.mais-c:hover .mais-ico { transform: rotate(-8deg) scale(1.08); }
.mais-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); transition: transform .6s var(--spring); }
.mais-ico .i { width: 20px; height: 20px; }
.mais-t { font-size: 18px; line-height: 28px; font-weight: 600; }
.mais-d { font-size: 14px; line-height: 20px; color: var(--muted); text-wrap: pretty; }
@media (min-width: 640px) { .mais-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mais-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.faq { padding: 48px 0 96px; }
.faq-in { display: grid; gap: 0; }
.faq-l { display: grid; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 28px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand-text); }
.qa-ico { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--brand-soft); transition: transform .5s var(--spring); }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--brand-text); transition: transform .5s var(--spring); }
.qa-ico::after { transform: rotate(90deg); }
.qa[open] .qa-ico { transform: rotate(180deg); }
.qa[open] .qa-ico::after { transform: rotate(0deg); }
.qa p { padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; line-height: 24px; text-wrap: pretty; }
@media (min-width: 1024px) { .faq-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }

.fim { position: relative; overflow: hidden; isolation: isolate; padding: 96px 0; color: #fff; background: #0b1110; }
.fim-bg { position: absolute; inset: 0; z-index: -1; }
.fim-bg img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); } /* espelhada: a chave fica do lado oposto ao texto */
.fim-bg::after { content: ""; position: absolute; inset: 0; background: rgb(8 14 13 / .72); }
.fim-in { display: grid; gap: 24px; justify-items: start; }
.fim-t { font: 400 48px/48px var(--display); letter-spacing: -.02em; max-width: 760px; text-wrap: balance; }
.fim-t em { color: #9fe3d8 !important; }
.fim-p { font-size: 18px; line-height: 28px; color: #e2efed; max-width: 48ch; }
.fim .cta-note { color: #d3e4e1; }
@media (min-width: 768px) { .fim { padding: 128px 0; } .fim-t { font-size: 60px; line-height: 60px; } }
@media (min-width: 1280px) { .fim-t { font-size: 72px; line-height: 72px; } }

/* ---------- planos (preços do banco, mensal × anual) ----------
   Os dois preços moram na mesma célula da grade; o que não vale some por
   visibility e o que entra sobe 12 px (só transform: nada de texto a meio
   fade, que reprova o contraste conforme o quadro em que o teste pega). Sem
   script, o seletor nem aparece e a página mostra o mensal com o anual ao lado. */
.precos { padding: 48px 0 96px; scroll-margin-top: 24px; }
.ciclo-bar { display: grid; gap: 12px; justify-items: start; margin: -16px 0 40px; }
.ciclo { display: none; gap: 4px; padding: 4px; border-radius: 9999px; background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); }
.js .ciclo { display: inline-flex; }
.ciclo-op {
    appearance: none; border: 0; background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 9999px;
    font: 600 14px/20px var(--body); color: var(--muted);
    transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.ciclo-op:hover { color: var(--fg); }
.ciclo-op[aria-checked="true"] { background: var(--surface); color: var(--fg); box-shadow: var(--shadow-sm); }
.ciclo-selo { font: 500 12px/16px var(--mono); letter-spacing: .02em; padding: 2px 8px; border-radius: 9999px; background: var(--brand-soft); color: var(--brand-text); white-space: nowrap; }
.ciclo-nota { font-size: 14px; line-height: 20px; color: var(--muted); }
.precos-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .precos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; } }
.plano {
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px 24px 24px;
    border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s var(--ease);
}
.plano:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plano-top { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); box-shadow: var(--shadow-md), inset 0 0 0 1px color-mix(in srgb, var(--brand) 60%, transparent); }
.plano-tag {
    position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 9999px;
    font: 500 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--cta); color: #fff;
}
.plano-n { font: 400 36px/40px var(--display); letter-spacing: -.01em; }
.plano-d { font-size: 14px; line-height: 20px; color: var(--muted); text-wrap: pretty; }
.plano-preco, .plano-sub { display: grid; }
.pp, .ps { grid-area: 1 / 1; transition: transform .5s var(--spring); }
.pp { display: flex; align-items: baseline; gap: 4px; }
.pp-v { font-size: 40px; line-height: 48px; font-weight: 500; }
.pp-u { font-size: 16px; line-height: 24px; color: var(--muted); }
.plano-sub { min-height: 24px; }
.ps { font-size: 14px; line-height: 24px; color: var(--muted); }
[data-ciclo="mensal"] .pp-a, [data-ciclo="mensal"] .ps-a,
[data-ciclo="anual"] .pp-m, [data-ciclo="anual"] .ps-m { visibility: hidden; transform: translateY(12px); transition: none; }
.plano-selo { margin-left: 4px; padding: 2px 8px; border-radius: 9999px; font: 600 12px/16px var(--body); background: var(--brand-soft); color: var(--brand-text); white-space: nowrap; }
.plano-f { display: grid; gap: 8px; flex: 1; align-content: start; margin: 4px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.plano-f li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 20px; }
.plano-f .i { margin-top: 2px; color: var(--ok); }
.plano-f li.off { color: var(--muted); }
.plano-f li.off .i { color: var(--muted); }
.btn-plano {
    display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border-radius: 12px;
    font: 600 16px/24px var(--body); text-decoration: none; color: var(--brand-text); background: transparent;
    box-shadow: inset 0 0 0 1.5px currentColor;
    transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.btn-plano:hover { transform: translateY(-2px); background: var(--brand-soft); }
.btn-plano:active { transform: translateY(0) scale(.98); }
.plano-top .btn-plano { background: var(--cta); color: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 12px 24px -12px rgb(15 118 110 / .7); }
.plano-top .btn-plano:hover { background: var(--cta); }
.precos-pe { margin-top: 32px; font-size: 14px; line-height: 20px; color: var(--muted); max-width: 72ch; text-wrap: pretty; }
.precos-pe b { color: var(--fg); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- rodapé ---------- */
.foot { padding: 40px 0 112px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 24px; }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; }
.foot-name { font: 400 24px/32px var(--display); }
.foot-note { font-size: 14px; line-height: 20px; color: var(--muted); }
.foot-vendor { font-size: 14px; line-height: 20px; color: var(--muted); }
.foot-vendor a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 768px) { .foot { padding-bottom: 40px; } .foot-in { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- botão fixo do celular ---------- */
.dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
}
.dock .cta { justify-items: stretch; }
.dock .btn-cta { justify-content: center; width: 100%; }
.js .dock { transform: translateY(110%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.js .dock.is-on { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
@media (min-width: 768px) { .dock { display: none; } }

/* ---------- página de passagem (demonstração fechada) ---------- */
.simples main { min-height: 70vh; display: grid; align-items: center; }
.aviso { padding: 128px 0 80px; }
.aviso-in { display: grid; gap: 16px; justify-items: start; max-width: 640px; }
.aviso-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.aviso-ico .i { width: 24px; height: 24px; }
.aviso-t { font: 400 48px/48px var(--display); letter-spacing: -.02em; text-wrap: balance; }
.aviso-p { font-size: 18px; line-height: 28px; color: var(--muted); text-wrap: pretty; }
.aviso-link { margin-top: 8px; color: var(--brand-text); font-weight: 600; text-underline-offset: 3px; }

/* ---------- privacidade e cookies (/privacidade) ---------- */
.simples main:has(.priv) { display: block; min-height: 0; }
.priv { padding: 112px 0 80px; }
.priv-in { display: grid; gap: 40px; max-width: 800px; }
.priv-head { display: grid; gap: 16px; }
.priv-t { font: 400 48px/48px var(--display); letter-spacing: -.02em; text-wrap: balance; }
.priv-t em { color: var(--brand-text); }
.priv-v { font: 400 14px/20px var(--mono); color: var(--muted); }
.priv-s { display: grid; gap: 12px; }
.priv-s p { color: var(--fg); text-wrap: pretty; max-width: 68ch; }
.priv-h { font: 400 30px/36px var(--display); letter-spacing: -.01em; }
.priv code { font: 400 14px/20px var(--mono); padding: 1px 6px; border-radius: 6px; background: var(--sunken); overflow-wrap: anywhere; }
.priv-tab { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.priv-tab table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.priv-tab th, .priv-tab td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.priv-tab thead th { font: 500 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--sunken); }
.priv-tab tbody tr:last-child > * { border-bottom: 0; }
.priv-tab tbody th { font-weight: 600; }
.priv-l { display: grid; gap: 8px; padding-left: 20px; list-style: disc; max-width: 68ch; }
.priv-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.priv-btn {
    min-height: 48px; padding: 12px 20px; border-radius: 12px; cursor: pointer;
    font: 600 16px/24px var(--body); color: var(--brand-text); background: transparent;
    border: 0; box-shadow: inset 0 0 0 1.5px currentColor; transition: background-color .4s var(--ease);
}
.priv-btn:hover { background: var(--brand-soft); }
.priv-btn-sim { background: var(--cta); color: #fff; box-shadow: none; }
.priv-btn-sim:hover { background: var(--cta); }
.priv-a { color: var(--brand-text); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 768px) { .priv { padding-top: 144px; } .priv-t { font-size: 60px; line-height: 60px; } }

/* ---------- revelar ao rolar (só o que estava abaixo da dobra) ---------- */
.js .is-pending { opacity: 0; transform: translateY(32px); }
.js [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.feat .feat-demo[data-reveal] { transition-delay: .12s; }

/* ---------- movimento reduzido: tudo parado, nada escondido ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .is-pending { opacity: 1; transform: none; }
    .js .marquee-track { animation: none; }
    /* Parada, a faixa vira uma lista que quebra linha: todos os bairros à vista, sem rolagem lateral. */
    .marquee-track { width: auto; justify-content: center; padding-inline: 16px; }
    .marquee-list { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
    .marquee-list[aria-hidden="true"] { display: none; }
}

/* ---------- celular estreito (360–420): nada corta nem quebra no meio ---------- */
@media (max-width: 479.98px) {
    .hcard { margin: -48px 8px 0; padding: 12px; }
    .hrow { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; padding: 8px 4px; }
    .doc, .card { padding: 16px; }
    .doc-h { padding-right: 64px; }
    .doc-pago { right: 8px; top: 12px; }
    .doc-pago .draw { width: 40px; height: 40px; }
    .doc-tot b, .cob-tot b { font-size: 20px; line-height: 28px; }
    .doc-tot b, .cob-tot b, .reaj-val b { white-space: nowrap; }
}
