/* Inspect — landing. Sistema sóbrio de engenharia: navy + azul, Inter com
   contraste forte. Identidade herdada do app (cores e fonte committed). */

:root {
  --navy: #0c1322;
  --navy-2: #131c30;
  --navy-line: #233049;
  --blue: #1769aa;
  --blue-bright: #2f86cf;
  --blue-ink: #0f4f86;
  --ink: #172033;
  --body: #3a4658;
  --muted: #64748b;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --border: #e3e8f0;
  --ok: #2e8b07;
  --warn: #c47705;
  --crit: #cf1322;

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 30px -12px rgba(13, 24, 48, 0.18);
  --shadow-lg: 0 40px 80px -32px rgba(8, 16, 36, 0.45);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --z-nav: 100;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--blue-ink);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section-head { max-width: 62ch; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; margin-top: 14px; }
.section-head p { margin-top: 18px; color: var(--body); font-size: clamp(17px, 2vw, 20px); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s, border-color .18s, box-shadow .18s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(23,105,170,.7); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-light { background: var(--ink); color: #fff; }
.btn-light:hover { background: #0b1426; transform: translateY(-1px); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-ink); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(12,19,34,.82); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: #c7d2e4; font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta .btn-ghost { display: none; } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(47,134,207,.22), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(23,105,170,.16), transparent 55%),
    var(--navy);
  color: #eaf1fb;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--navy-line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(900px 520px at 75% 0%, #000, transparent 75%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 9vw, 104px);
}
.hero h1 {
  color: #fff; font-weight: 800;
  font-size: clamp(36px, 6vw, 68px); letter-spacing: -0.035em; line-height: 1.02;
}
.hero h1 .accent { color: var(--blue-bright); }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2.1vw, 21px); color: #b8c6dc; max-width: 50ch; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; color: #93a4bf; font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--blue-bright); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: 2; } }

/* product visual (rendered UI, not stock) */
.hero-visual { position: relative; }
.panel {
  background: linear-gradient(180deg, #fff, #fbfcfe);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink);
}
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #fff; }
.panel-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d6dbe5; }
.panel-bar .ttl { margin-left: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.panel-body { padding: 18px; display: grid; gap: 14px; }

.flowcard { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; display: grid; gap: 10px; background: #fff; }
.flowcard .row { display: flex; align-items: center; gap: 10px; }
.flowcard .thumb { width: 46px; height: 46px; border-radius: var(--r-sm); background: linear-gradient(135deg,#1f2a3d,#33425d); flex: none; position: relative; }
.flowcard .thumb::after { content: ""; position: absolute; inset: 9px; border: 2px solid rgba(255,255,255,.5); border-radius: 4px; clip-path: polygon(0 60%,30% 35%,55% 58%,100% 18%,100% 100%,0 100%); }
.flowcard .grow { flex: 1; min-width: 0; }
.flowcard .k { font-size: 13px; color: var(--muted); }
.flowcard .v { font-weight: 700; font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.chip svg { width: 13px; height: 13px; }
.chip.crit { background: #fdecee; color: var(--crit); }
.chip.ai { background: #e9f2fb; color: var(--blue-ink); }
.chip.ok { background: #ebf6e6; color: var(--ok); }
.ai-line { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: #f3f8fd; border: 1px solid #d8e7f6; border-radius: var(--r-sm); font-size: 13.5px; color: var(--blue-ink); }
.ai-line strong { color: var(--ink); }
.confbar { height: 6px; border-radius: 4px; background: #dce6f3; overflow: hidden; flex: 1; min-width: 60px; }
.confbar i { display: block; height: 100%; width: 86%; background: var(--blue); }
.arrow-down { display: grid; place-items: center; }
.arrow-down svg { width: 20px; height: 20px; color: var(--blue); }

/* ---------- logos / trust strip ---------- */
.strip { background: var(--navy-2); color: #93a4bf; border-bottom: 1px solid var(--navy-line); }
.strip-inner { display: flex; align-items: center; gap: clamp(20px,4vw,46px); flex-wrap: wrap; justify-content: center; padding-block: 22px; font-size: 14px; }
.strip b { color: #d6e2f2; font-weight: 600; }
.strip .sep { width: 4px; height: 4px; border-radius: 50%; background: #3a4a66; }

/* ---------- problem ---------- */
.problem { background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.painlist { display: grid; gap: 2px; margin-top: 8px; }
.painrow { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.painrow:last-child { border-bottom: 0; }
.painrow .x { flex: none; width: 26px; height: 26px; border-radius: 7px; background: #fdecee; color: var(--crit); display: grid; place-items: center; }
.painrow .x svg { width: 15px; height: 15px; }
.painrow h4 { margin: 0 0 3px; font-size: 16px; font-weight: 700; }
.painrow p { color: var(--body); font-size: 15px; }

/* ---------- how it works (real sequence → numbered earns it) ---------- */
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); position: relative; }
.step .n { font-size: 14px; font-weight: 800; color: var(--blue); letter-spacing: .04em; }
.step h3 { font-size: 20px; font-weight: 700; margin: 14px 0 8px; }
.step p { color: var(--body); font-size: 15.5px; }
.step .ico { width: 42px; height: 42px; border-radius: 11px; background: #eaf2fb; color: var(--blue-ink); display: grid; place-items: center; margin-bottom: 16px; }
.step .ico svg { width: 22px; height: 22px; }

/* ---------- five vectors ---------- */
.vectors { background: var(--navy); color: #dfe8f5; }
.vectors h2 { color: #fff; }
.vectors .section-head p { color: #b8c6dc; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 880px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr; } }
.vcell { background: var(--navy-2); padding: 28px; transition: background .2s; }
.vcell:hover { background: #18233a; }
.vcell .vk { display: flex; align-items: center; gap: 11px; color: var(--blue-bright); }
.vcell .vk svg { width: 20px; height: 20px; }
.vcell h4 { color: #fff; font-size: 17px; font-weight: 700; margin: 14px 0 7px; }
.vcell p { color: #9fb1cb; font-size: 14.5px; }
.vbadge { margin-top: 40px; display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--navy-line); border-radius: var(--r-md); background: rgba(47,134,207,.08); color: #cfe0f3; font-size: 14.5px; }
.vbadge b { color: #fff; }

/* ---------- AI section ---------- */
.ai { background: var(--surface); }
.ai-card { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.ai-card .hd { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--ink); }
.ai-card .hd .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ok); font-weight: 600; }
.ai-card .hd .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.ai-card .bd { padding: 22px; display: grid; gap: 16px; }
.ai-defect { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-md); }
.ai-defect .sev { flex: none; }
.ai-defect .meta { flex: 1; }
.ai-defect .meta .t { font-weight: 700; }
.ai-defect .meta .d { color: var(--body); font-size: 14px; margin-top: 3px; }
.ai-conf { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.note { font-size: 13.5px; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing { background: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 44px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.plan.feature { border-color: var(--blue); box-shadow: 0 20px 44px -22px rgba(23,105,170,.45); position: relative; }
.plan.feature::before { content: "Mais escolhido"; position: absolute; top: -11px; left: 26px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.plan h3 { font-size: 19px; font-weight: 700; }
.plan .desc { color: var(--body); font-size: 14.5px; min-height: 42px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
.plan li svg { width: 17px; height: 17px; color: var(--blue); flex: none; margin-top: 2px; }
.plan .seat { font-size: 13px; color: var(--muted); }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- final CTA ---------- */
.final { background: var(--navy); color: #eaf1fb; text-align: center; }
.final h2 { color: #fff; font-size: clamp(30px, 5vw, 52px); font-weight: 800; max-width: 18ch; margin-inline: auto; }
.final p { color: #b8c6dc; margin-top: 18px; font-size: 19px; max-width: 48ch; margin-inline: auto; }
.final .hero-cta { justify-content: center; margin-top: 34px; }

/* ---------- footer ---------- */
.foot { background: var(--navy-2); color: #8fa0bb; border-top: 1px solid var(--navy-line); padding-block: 36px; font-size: 14px; }
.foot-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.foot .brand { font-size: 16px; }
.foot a { color: #b6c4da; }
.foot a:hover { color: #fff; }

/* ---------- motion ----------
   Sem JS, .reveal fica visível (só esconde quando html.js está presente).
   Assim a página nunca renderiza em branco em crawler/headless. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-visual.reveal { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }
