/* ============================================================
   Sophos PRO — Landing page
   Estética clonada do app (sophos-pro/src/app/globals.css):
   dark fintech, teal é só da marca, dado é neutro/branco.
   ============================================================ */

:root {
  color-scheme: dark;

  /* ---- Tokens (dark, copiados do app) ---- */
  --bg: #0B0E12;
  --bg-subtle: #0F1318;
  --surface-1: #15191F;
  --surface-2: #1C212A;
  --surface-inset: #0C1014;
  --material: rgba(21, 25, 31, 0.72);

  --border-1: rgba(255, 255, 255, 0.06);
  --border-2: rgba(255, 255, 255, 0.10);

  --text-1: #ECEFF3;
  --text-2: #A4ADB8;
  --text-3: #7C8794;

  --brand: #1AC3B4;
  --brand-fg: #0A2E2B;
  --brand-soft: rgba(26, 195, 180, 0.14);
  --focus-ring: rgba(26, 195, 180, 0.55);

  --pos-fg: #3FD9A4;
  --neg-fg: #FF7A73;
  --pos-soft: rgba(63, 217, 164, 0.14);
  --neg-soft: rgba(255, 122, 115, 0.14);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --e1: 0 2px 10px rgba(0, 0, 0, 0.28);
  --e2: 0 10px 36px rgba(0, 0, 0, 0.38);
  --e3: 0 30px 90px rgba(0, 0, 0, 0.55);

  --glow: rgba(124, 135, 148, 0.025);
  --glow-teal: rgba(26, 195, 180, 0.10);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-wordmark: "Sora", var(--font-sans);

  --content-max: 1140px;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* glow atmosférico do topo (igual app) + leve cast teal no hero */
  background-image:
    radial-gradient(70rem 40rem at 50% -16rem, var(--glow-teal), transparent 60%),
    radial-gradient(80rem 44rem at 50% -8rem, var(--glow), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand-soft); color: var(--text-1); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 6px; }

.tnum { font-variant-numeric: tabular-nums slashed-zero; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(80px, 12vw, 168px); }
.section--tight { padding-block: clamp(56px, 8vw, 108px); }
.center { text-align: center; }

/* Section heading block */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--brand); opacity: 0.6; }
.section-title {
  font-family: var(--font-wordmark);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.07;
  font-size: clamp(30px, 4.6vw, 50px);
  margin-top: 16px;
}
.section-lead {
  color: var(--text-2); font-size: clamp(17px, 1.7vw, 19px); line-height: 1.6;
  max-width: 58ch; margin-top: 18px;
}
.center .section-lead { margin-inline: auto; }

/* ---- Header / nav ---- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  background: rgba(11, 14, 18, 0.62);
  border-bottom: 1px solid var(--border-1);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; }
.brand-name { font-family: var(--font-wordmark); font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }
.brand-name small { color: var(--text-3); font-weight: 600; font-size: 11px; display: block; letter-spacing: 0.04em; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 500; transition: color 150ms; }
.nav-links a:hover { color: var(--text-1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 200ms cubic-bezier(0.16,1,0.3,1), opacity 180ms, background 180ms, border-color 180ms;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-fg); box-shadow: 0 6px 20px rgba(26,195,180,0.22); }
.btn-primary:hover { opacity: 0.92; }
.btn-ghost { background: transparent; color: var(--text-1); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 999px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ---- Badge / chip ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid rgba(26,195,180,0.22);
}

/* ---- Card ---- */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--e1);
  transition: border-color 240ms, background 240ms, transform 240ms cubic-bezier(0.16,1,0.3,1);
}
.card:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-2px); }
.card .ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--brand-soft); color: var(--brand);
}
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card p { color: var(--text-2); font-size: 14.5px; margin-top: 7px; }

/* ---- Hero ---- */
.hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 {
  font-family: var(--font-wordmark); font-weight: 800;
  font-size: clamp(38px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -0.035em;
}
.hero h1 .accent { color: var(--brand); }
.hero .lead { color: var(--text-2); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; margin-top: 24px; max-width: 52ch; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 30px; color: var(--text-3); font-size: 13.5px; }
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }

/* hero visual: browser + phone overlap */
.hero-visual { position: relative; }
.hero-visual .browser-frame { transform: none; }
.hero-visual .phone-frame {
  position: absolute; right: -14px; bottom: -30px; width: 164px; transform: none;
  z-index: 2;
}

/* ---- Device mockups ---- */
.browser-frame {
  background: var(--surface-1); border: 1px solid var(--border-2);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--e3);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: var(--surface-2); border-bottom: 1px solid var(--border-1);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 999px; background: #2c333d; display: block; }
.browser-bar i:nth-child(1) { background: #ff5f57; opacity: .8; }
.browser-bar i:nth-child(2) { background: #febc2e; opacity: .8; }
.browser-bar i:nth-child(3) { background: #28c840; opacity: .8; }
.browser-bar .url {
  margin-left: 10px; flex: 1; height: 22px; border-radius: 999px; background: var(--surface-inset);
  border: 1px solid var(--border-1); display: flex; align-items: center; padding: 0 12px;
  color: var(--text-3); font-size: 11.5px; max-width: 320px;
}
.browser-frame img { width: 100%; background: var(--surface-inset); min-height: 220px; font-size: 0; }

.phone-frame {
  background: #05070a; border: 1px solid var(--border-2);
  border-radius: 28px; padding: 8px; box-shadow: var(--e3);
}
.phone-frame .scr { border-radius: 20px; overflow: hidden; position: relative; background: var(--bg); }
.phone-frame .notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 42%; height: 16px; background: #05070a; border-radius: 999px; z-index: 2;
}
.phone-frame img { width: 100%; background: var(--surface-inset); min-height: 320px; font-size: 0; }

/* ---- Stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 8px; }
.stat .v { font-family: var(--font-wordmark); font-weight: 700; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; }
.stat .l { color: var(--text-3); font-size: 13px; margin-top: 4px; }

/* ---- Generic grids ---- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* problem cards */
.problem { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 22px; }
.problem .k { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neg-fg); }
.problem h3 { font-size: 18px; font-weight: 700; margin-top: 10px; }
.problem p { color: var(--text-2); font-size: 14.5px; margin-top: 7px; }

/* ---- Showcase rows (o poder) ---- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase + .showcase { margin-top: clamp(56px, 8vw, 108px); }
.showcase.reverse .showcase-text { order: 2; }
.showcase h3 { font-family: var(--font-wordmark); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.showcase p { color: var(--text-2); margin-top: 14px; font-size: 16px; }
.showcase ul { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 11px; }
.showcase li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; }
.showcase li b { color: var(--text-1); font-weight: 600; }
.showcase li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 999px; background: var(--brand-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231AC3B4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* ---- Diferenciais ---- */
.diff { display: flex; gap: 16px; align-items: flex-start; background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 20px; transition: border-color 200ms, background 200ms; }
.diff:hover { border-color: var(--border-2); background: var(--surface-2); }
.diff .n { font-family: var(--font-wordmark); font-weight: 800; font-size: 22px; color: var(--brand); line-height: 1; flex: none; width: 34px; }
.diff h3 { font-size: 16.5px; font-weight: 700; }
.diff p { color: var(--text-2); font-size: 14px; margin-top: 6px; }

/* ---- Testimonials ---- */
.quote { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--e1); }
.quote .mark { color: var(--brand); font-family: var(--font-wordmark); font-weight: 800; font-size: 30px; line-height: 0.6; }
.quote p { color: var(--text-1); font-size: 15.5px; margin-top: 10px; }
.quote .who { color: var(--text-3); font-size: 13px; margin-top: 14px; font-weight: 600; }

/* ---- "O que não é" ---- */
.nots { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); }
.nots ul { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.nots li { display: flex; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.nots li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 999px; background: var(--neg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FF7A73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* ---- CTA final ---- */
.cta-final {
  background:
    radial-gradient(60rem 30rem at 50% -8rem, var(--glow-teal), transparent 60%),
    var(--surface-1);
  border: 1px solid var(--border-1); border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px) 24px; text-align: center;
}
.cta-final h2 { font-family: var(--font-wordmark); font-weight: 800; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.02em; line-height: 1.08; }
.cta-final p { color: var(--text-2); font-size: 18px; margin-top: 16px; max-width: 52ch; margin-inline: auto; }
.cta-final .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border-1); padding-block: 40px; color: var(--text-3); }
.footer .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer .brand img { height: 26px; }
.footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .links a { color: var(--text-3); font-size: 14px; transition: color 150ms; }
.footer .links a:hover { color: var(--text-1); }
.footer small { color: var(--text-3); font-size: 13px; }

/* ---- Section label for screenshots ---- */
.shot-cap { color: var(--text-3); font-size: 12.5px; text-align: center; margin-top: 12px; }

/* ---- Scroll reveal ---- */
/* Reveal robusto: visível por padrão; o JS só esconde+anima o que está abaixo da
   dobra. Assim deep-link (#faq) e scroll rápido NUNCA mostram tela em branco. */
.reveal-hidden { opacity: 0; transform: translateY(18px); }
.reveal-hidden.in { opacity: 1; transform: none; transition: opacity 600ms cubic-bezier(0.16,1,0.3,1), transform 600ms cubic-bezier(0.16,1,0.3,1); }

/* ---- Mobile menu (simple) ---- */
.menu-btn { display: none; background: transparent; border: 1px solid var(--border-2); border-radius: 10px; padding: 7px 9px; cursor: pointer; color: var(--text-1); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .hero-visual .phone-frame { width: 132px; right: 0; bottom: -24px; }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase.reverse .showcase-text { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hide-sm { display: none; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--material); backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--border-1);
    padding: 6px 24px 14px; display: none;
  }
  .header.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 0; border-top: 1px solid var(--border-1); }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nots ul { grid-template-columns: 1fr; }
  .hero .cta-row .btn, .cta-final .cta-row .btn { flex: 1 1 auto; }
}

/* ===== Melhorias de conversão (L6) ===== */
.steps .step { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--e1); }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-family: var(--font-wordmark); font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.step p { color: var(--text-2); font-size: 14.5px; margin-top: 7px; }

.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--r-md); overflow: hidden; transition: border-color 200ms; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 20px; font-weight: 600; font-size: 16px; color: var(--text-1); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 24px; font-weight: 300; line-height: 1; transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; }
.faq details p { color: var(--text-2); font-size: 15px; line-height: 1.6; }

.cta-fine { color: var(--text-3); font-size: 13px; margin-top: 16px; }
.footer .who { color: var(--text-3); font-size: 13px; margin-top: 18px; max-width: 72ch; line-height: 1.65; }
.hero-triad { font-size: clamp(17px, 2.3vw, 23px); font-weight: 600; color: var(--text-1); letter-spacing: -0.015em; margin-top: 6px; }

/* ===== Mockups de UI (interface do app em HTML/CSS — sem depender de prints) ===== */
.ui { padding: 16px; background: var(--surface-inset); display: grid; gap: 12px; }
.ui .k { color: var(--text-3); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ui .v { font-family: var(--font-wordmark); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.ui .pos { color: var(--pos-fg); }
.ui .neg { color: var(--neg-fg); }
.ui-statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.ui-stat { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--r-sm); padding: 9px 11px; display: grid; gap: 3px; }
.ui-card { background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--r-md); padding: 12px 14px; }
.ui-cardtop { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.ui-pill { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--pos-soft); color: var(--pos-fg); white-space: nowrap; }
.ui-pill.neg { background: var(--neg-soft); color: var(--neg-fg); }
.ui-chart { width: 100%; height: 82px; display: block; }
.ui-chart.sm { height: 54px; }
.ui-bets { display: grid; gap: 9px; }
.ui-bet { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); }
.ui-bet .ui-bettxt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-bet b { font-weight: 700; }
.ui-bet.sm { font-size: 12px; }
.ui-dot { width: 7px; height: 7px; border-radius: 999px; flex: none; }
.ui-dot.g { background: var(--pos-fg); }
.ui-dot.r { background: var(--neg-fg); }
.ui-phone { padding: 14px 12px 16px; gap: 10px; }
.ui-pstat { display: grid; gap: 2px; }
.ui-pstat .v { font-size: 21px; }
.ui-pstat .ui-pill { justify-self: start; margin-top: 5px; }
/* barras (raio-X, humor, competição) */
.ui-bar { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); margin-top: 10px; }
.ui-bar:first-of-type { margin-top: 0; }
.ui-bar .bl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-bar .bt { height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ui-bar .bt i { display: block; height: 100%; border-radius: 999px; background: var(--pos-fg); }
.ui-bar .bt.neg i { background: var(--neg-fg); }
.ui-bar b { font-weight: 700; font-size: 12px; }
.ui-statrow.t3 { grid-template-columns: repeat(3, 1fr); }
/* heatmap calendário */
.ui-calhead { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.ui-calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ui-calgrid span { aspect-ratio: 1; border-radius: 5px; background: var(--surface-1); border: 1px solid var(--border-1); }
.ui-calgrid .p1 { background: rgba(63,217,164,0.22); border-color: transparent; }
.ui-calgrid .p2 { background: rgba(63,217,164,0.46); border-color: transparent; }
.ui-calgrid .p3 { background: rgba(63,217,164,0.82); border-color: transparent; }
.ui-calgrid .n1 { background: rgba(255,122,115,0.32); border-color: transparent; }
.ui-calgrid .n2 { background: rgba(255,122,115,0.62); border-color: transparent; }
.ui-callegend { display: flex; gap: 16px; color: var(--text-3); font-size: 11px; align-items: center; }
.ui-callegend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ui-callegend .lpos { background: rgba(63,217,164,0.82); }
.ui-callegend .lneg { background: rgba(255,122,115,0.62); }
/* chat Conectar IA */
.ui-chat { gap: 10px; }
.ui-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; }
.ui-msg.user { justify-self: end; background: var(--surface-2); color: var(--text-1); border-bottom-right-radius: 5px; }
.ui-msg.ai { justify-self: start; background: var(--surface-1); border: 1px solid var(--border-1); color: var(--text-2); border-bottom-left-radius: 5px; }
.ui-ailabel { display: block; color: var(--brand); font-size: 10.5px; font-weight: 700; margin-bottom: 4px; letter-spacing: .02em; }
.ui-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.ui-chip { font-size: 11px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border-1); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ui-confirm { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border: 1px solid rgba(26,195,180,0.28); border-radius: 999px; padding: 2px 9px; }
/* linha de insight/flag */
.ui-flag { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--text-2); background: var(--neg-soft); border: 1px solid rgba(255,122,115,0.2); border-radius: var(--r-sm); padding: 10px 12px; }
.ui-flag b { color: var(--neg-fg); font-weight: 700; }
/* tabela de estratégias */
.ui-table { gap: 0; padding: 0; }
.ui-trow { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr; align-items: center; gap: 8px; padding: 11px 14px; font-size: 12.5px; color: var(--text-1); border-top: 1px solid var(--border-1); }
.ui-trow:first-child { border-top: none; }
.ui-trow.head { color: var(--text-3); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; background: var(--surface-1); }
.ui-tag { justify-self: start; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.ui-tag.pos { background: var(--pos-soft); color: var(--pos-fg); }
.ui-tag.neg { background: var(--neg-soft); color: var(--neg-fg); }

/* ===== "Como funciona": mini-visuais + animação escalonada ===== */
.step-vis { margin-top: 16px; background: var(--surface-inset); border: 1px solid var(--border-1); border-radius: var(--r-sm); padding: 10px 12px; font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.step-vis .tnum, .step-vis b { color: var(--text-1); font-weight: 700; }
.step-tag { background: var(--surface-2); border: 1px solid var(--border-1); border-radius: 6px; padding: 3px 8px; font-size: 11px; color: var(--text-2); white-space: nowrap; }
.step-tag.ok { background: var(--pos-soft); color: var(--pos-fg); border-color: transparent; }
.step-arrow { color: var(--text-3); }
.steps .step:nth-child(2).reveal-hidden.in { transition-delay: 110ms; }
.steps .step:nth-child(3).reveal-hidden.in { transition-delay: 220ms; }

/* ===== Prints reais (device mockups transparentes, app claro flutuando no dark) ===== */
.shot { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 54px rgba(0,0,0,0.5)); }
.shotwrap { position: relative; }
.shotwrap.center-phone { display: flex; justify-content: center; }
.shot-phone { max-width: 300px; }
/* combo: desktop grande + celular sobreposto no canto */
.shot-combo { position: relative; }
.shot-combo > .shot:first-child { width: 100%; }
.shot-combo .shot-x { position: absolute; right: -2%; bottom: -8%; width: 23%; min-width: 96px; filter: drop-shadow(0 16px 34px rgba(0,0,0,0.6)); }
.hero-visual .shot-combo .shot-x { right: -1%; bottom: -6%; }
/* faixa larga (comparar evolução) */
.band { text-align: center; }
.band-shot { margin-top: clamp(32px, 5vw, 56px); padding-inline: 24px; }
.shot-wide { max-width: 1120px; margin-inline: auto; }
@media (max-width: 560px) {
  .shot-combo .shot-x { width: 26%; right: 0; bottom: -6%; }
  .shot-phone { max-width: 240px; }
}

/* ── Teaser (vídeo) ─────────────────────────────────────────── */
.teaser { margin-top: 32px; }
.teaser-video { display: block; width: 100%; max-width: 1080px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--border-2); background: var(--surface-inset); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(26, 195, 180, 0.08); }
.teaser-ctl { display: flex; justify-content: center; margin-top: 14px; }
@media (max-width: 600px) { .teaser-video { border-radius: 12px; } }
#teaser-som[hidden] { display: none; }
