/* Realtor Videos — página de venda. Branco + azul, acento quente só no CTA, modo escuro automático. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --soft: #f2f7fe;
  --card: #ffffff;
  --text: #0d1b2e;
  --muted: #4b5c73;
  --line: #d9e3f1;
  --blue: #1a6fd9;
  --blue-d: #1259b4;
  --tint: #e4effd;
  --on-blue: #ffffff;
  --cta: #ff8a1f;
  --cta-h: #ffa04a;
  --on-cta: #1b1203;
  --shadow: 0 12px 32px rgba(16, 42, 84, .12);
  --chat: #e6edf6;
  --bot: #ffffff;
  --me: #1a6fd9;
  --on-me: #ffffff;
  --phone: #0d1b2e;
  --r: 18px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a111d;
    --soft: #0f1829;
    --card: #131f35;
    --text: #eaf1fb;
    --muted: #a9b8ce;
    --line: #233250;
    --blue: #5aa3ff;
    --blue-d: #8dbeff;
    --tint: #12284a;
    --on-blue: #06101f;
    --shadow: 0 12px 32px rgba(0, 0, 0, .45);
    --chat: #0e1727;
    --bot: #1b2a44;
    --me: #2b6cc4;
    --phone: #1c2740;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 500 1rem/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}
img, video, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; gap: .5rem; height: 60px; }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text);
  font-weight: 800; letter-spacing: -.02em; white-space: nowrap; margin-right: auto; }
svg { flex: none; }
.langs { display: flex; gap: 2px; }
.langs a { padding: .35rem .5rem; border-radius: 8px; color: var(--muted); font-size: .8rem; font-weight: 700; text-decoration: none; }
.langs a[aria-current] { background: var(--tint); color: var(--blue-d); }
.langs a:hover { color: var(--text); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: .5rem;
  border-radius: 14px; border: 2px solid transparent; font: 800 1rem/1.2 var(--font); text-decoration: none;
  padding: .85rem 1.3rem; cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55rem .8rem; font-size: .85rem; border-radius: 12px; white-space: nowrap; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.05rem; }
.btn-xl { padding: 1.2rem 2rem; font-size: 1.2rem; width: 100%; max-width: 380px; }
.btn-cta { background: var(--cta); color: var(--on-cta); box-shadow: 0 6px 18px rgba(255, 138, 31, .35); }
.btn-cta:hover { background: var(--cta-h); }
.btn-blue { background: var(--blue); color: var(--on-blue); }
.btn-blue:hover { background: var(--blue-d); }
.btn-ghost, .btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover, .btn-outline:hover { background: var(--tint); }

/* ---------- herói ---------- */
.hero { display: grid; gap: 2.5rem; padding-block: 2rem 3rem; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.eyebrow { color: var(--blue-d); font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
h1 { font-size: clamp(1.95rem, 7.4vw, 3.4rem); font-weight: 800; white-space: pre-line; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 40ch; }
.cta-row { display: flex; flex-direction: column; gap: .75rem; width: 100%; max-width: 420px; }
.seal { display: inline-block; background: var(--tint); color: var(--blue-d); font-weight: 800; font-size: .9rem;
  padding: .4rem .85rem; border-radius: 999px; }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem;
  color: var(--muted); font-size: .9rem; }
.points li::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: .35rem; }

/* celular com a conversa do bot */
.phone { width: min(300px, 100%); margin-inline: auto; background: var(--phone); border-radius: 38px; padding: 10px;
  box-shadow: var(--shadow); }
.screen { background: var(--chat); border-radius: 29px; overflow: hidden; min-height: 470px; display: flex; flex-direction: column; }
.tg-head { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; background: var(--me); color: var(--on-me); }
.tg-head strong { display: block; font-size: .95rem; line-height: 1.2; }
.tg-head small { opacity: .85; font-size: .75rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #1a6fd9; display: grid; place-items: center;
  font-weight: 800; font-size: .8rem; }
.chat { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: 1rem .8rem; }
.bubble { max-width: 88%; padding: .55rem .75rem; border-radius: 16px; font-size: .86rem; line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12); animation: pop .5s both; }
.bubble.bot { background: var(--bot); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.me { background: var(--me); color: var(--on-me); border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble:nth-child(2) { animation-delay: .4s; }
.bubble:nth-child(3) { animation-delay: .8s; }
.bubble:nth-child(4) { animation-delay: 1.2s; }
.bubble:nth-child(5) { animation-delay: 1.6s; }
.bubble.status b { display: block; font-size: 1.05rem; }
.bubble .pbar { display: block; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .02em; margin: .15rem 0; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }

/* ---------- seções ---------- */
.section { padding-block: 3.2rem; scroll-margin-top: 60px; }
.section.alt { background: var(--soft); }
.section h2, .closing h2 { font-size: clamp(1.6rem, 5.6vw, 2.4rem); font-weight: 800; }
.sub { margin-top: .6rem; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.sub strong { color: var(--text); }
.section .wrap > :is(.ex-row, .steps, .feats, .plans) { margin-top: 2rem; }
.fine { color: var(--muted); font-size: .88rem; margin-top: 1rem; }

/* antes/depois */
.ex-row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem 20px 1rem;
  margin-inline: -20px; scrollbar-width: thin; }
.ex-card { flex: 0 0 74%; max-width: 300px; margin: 0; scroll-snap-align: center; }
.ex-card:has(.pair) { flex-basis: 92%; max-width: 420px; }
.ex-media.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.ex-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--phone); box-shadow: var(--shadow); }
.ex-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { position: absolute; top: .5rem; left: .5rem; background: rgba(13, 27, 46, .82); color: #fff; font-size: .72rem;
  font-weight: 800; padding: .15rem .55rem; border-radius: 999px; pointer-events: none; }
.tag-after { background: var(--cta); color: var(--on-cta); }
.ex-card figcaption { margin-top: .6rem; color: var(--muted); font-size: .88rem; font-weight: 700; text-align: center; }
.ex-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center;
  padding: 1.5rem; background: linear-gradient(160deg, var(--tint), var(--card)); border: 2px dashed var(--line); box-shadow: none; }
.ex-soon strong { font-size: 1.05rem; }
.ex-soon small { color: var(--muted); font-size: .85rem; }
.play { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--blue); position: relative; }
.play::after { content: ""; position: absolute; left: 22px; top: 16px; border-left: 16px solid var(--blue);
  border-block: 10px solid transparent; }

/* passos */
.steps { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; text-align: left; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--on-blue);
  display: grid; place-items: center; font-weight: 800; }
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { color: var(--muted); }

/* recursos */
.feats { display: grid; gap: 1rem; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint);
  font-size: 1.4rem; margin-bottom: .8rem; }
.feat h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feat p { color: var(--muted); font-size: .96rem; }

/* preços */
.plans { display: grid; gap: 1.25rem; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.6rem 1.4rem; }
.plan.pop { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.badge { position: absolute; top: -.8rem; left: 1.4rem; background: var(--cta); color: var(--on-cta); font-weight: 800;
  font-size: .78rem; padding: .25rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; }
.tagline { color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.price { margin: 1rem 0; }
.amt { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; }
.per { color: var(--muted); font-weight: 700; margin-left: .2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.plan li { padding-left: 1.5rem; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* FAQ */
.narrow h2 { margin-bottom: 1.5rem; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .75rem; }
summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.1rem; font-weight: 800; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem;
  color: var(--blue); font-weight: 600; }
details[open] summary::after { content: "–"; }
details p { padding: 0 1.1rem 1.1rem; color: var(--muted); }

/* fechamento */
.closing { background: linear-gradient(135deg, #1259b4, #1a6fd9); color: #fff; text-align: center; padding-block: 3.5rem; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.closing h2 { max-width: 20ch; }
.closing p { opacity: .95; max-width: 44ch; }
.closing .btn { margin-top: .5rem; }

/* ---------- rodapé ---------- */
.foot { padding-block: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.flinks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: .8rem; }
.flinks a { color: var(--muted); }
.flinks a:hover { color: var(--blue); }

/* ---------- páginas simples (welcome, termos, indisponível) ---------- */
.page { padding-block: 2.5rem 4rem; }
.page h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); margin-bottom: .6rem; }
.page .lead { margin: .4rem auto 1.6rem; }
.center { display: flex; flex-direction: column; align-items: center; }
.mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800;
  background: var(--tint); color: var(--blue-d); margin-bottom: 1.2rem; }
.mark.ok { background: #0f7b4b; color: #fff; }
.mark.spin { border: 5px solid var(--tint); border-top-color: var(--blue); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.codebox { margin-top: 1.6rem; background: var(--soft); border: 1px dashed var(--blue); border-radius: 14px; padding: 1rem 1.4rem;
  display: flex; flex-direction: column; gap: .3rem; max-width: 100%; }
.codebox span { color: var(--muted); font-size: .85rem; font-weight: 700; }
.codebox code { font: 800 1.6rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; user-select: all; overflow-wrap: anywhere; }
.steps.compact { margin: 1.5rem 0 .5rem; text-align: left; width: 100%; max-width: 420px; }
.steps.compact .num { width: 32px; height: 32px; font-size: .9rem; }
.steps.compact p { color: var(--text); padding-top: .2rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.legal p { margin-bottom: .8rem; color: var(--muted); }
.legal p.fine { margin-top: .4rem; }

/* ---------- telas maiores ---------- */
@media (min-width: 640px) {
  .cta-row { flex-direction: row; max-width: none; width: auto; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .langs a { font-size: .85rem; padding-inline: .65rem; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr .85fr; align-items: center; padding-block: 4rem 5rem; }
  .section { padding-block: 4.5rem; }
  .ex-row { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 2rem 0 0; padding: 0; }
  .ex-card { max-width: 320px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .steps:not(.compact) .step { flex-direction: column; }
  .feats { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

@media (max-width: 380px) {
  .wrap { padding-inline: 16px; }
  .ex-row { padding-inline: 16px; margin-inline: -16px; }
  .brand span { font-size: .95rem; }
  .btn-sm { padding: .5rem .65rem; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
