:root {
  --ink: #0c1f24;
  --steel: #1a3a42;
  --teal: #1b7a6a;
  --aqua: #3eb89f;
  --mist: #e8f3f0;
  --sand: #f4f7f6;
  --line: rgba(12, 31, 36, 0.12);
  --max: 1100px;
  --font-display: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
em { font-style: normal; color: var(--aqua); font-weight: 600; }
img, svg { max-width: 100%; height: auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 5vw;
  background: rgba(244, 247, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand span { color: var(--teal); }
.top nav {
  display: flex;
  gap: 1rem;
  flex: 1;
  flex-wrap: wrap;
}
.top nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.75;
}
.top nav a:hover { opacity: 1; color: var(--teal); }
.top .btn-sm { margin-left: auto; padding: 0.45rem 0.9rem; font-size: 0.88rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: #156557; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(27, 122, 106, 0.08); color: inherit; }

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 60px);
  padding: 4rem 5vw 5rem;
  color: #f2faf8;
  background: #0c1f24;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 28%, rgba(62, 184, 159, 0.22), transparent 60%),
    linear-gradient(155deg, #0c1f24 0%, #16343a 48%, #13443c 100%);
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 88%, var(--sand));
}
.hero-copy,
.hero-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.eyebrow.dark { color: var(--aqua); opacity: 1; }
.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  flex-shrink: 0;
  animation: ping 1.8s ease infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(62, 184, 159, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(62, 184, 159, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 184, 159, 0); }
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-tag {
  margin: 0 0 0.9rem;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--aqua);
}
.lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.92;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.hud {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.hud-frame {
  position: relative;
  aspect-ratio: 1 / 1.15;
  max-height: 420px;
  border: 1px solid rgba(62, 184, 159, 0.4);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--aqua);
}
.corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hud-scan {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--aqua);
  opacity: 0.7;
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan {
  from { top: 12%; }
  to { top: 80%; }
}
.hud-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  gap: 0.35rem;
}
.hud-model {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.55;
}
.hud-metric {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}
.hud-tags {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.8;
}
.hud-verdict {
  padding: 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid rgba(62, 184, 159, 0.45);
  background: rgba(27, 122, 106, 0.25);
}

/* AI */
.ai-band {
  padding: 4.5rem 5vw;
  color: #f2faf8;
  background: #122a30;
}
.ai-inner { max-width: var(--max); margin: 0 auto; }
.ai-intro { max-width: 40rem; margin-bottom: 2rem; }
.ai-band h2,
.block h2,
.risk-strip h2,
.impact-band h2,
.cta-final h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-lead {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  font-size: 1.02rem;
  opacity: 0.85;
}
.ai-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.ai-pipeline article {
  padding: 1.25rem 1.1rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(62, 184, 159, 0.2);
  min-width: 0;
}
.ai-idx {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--aqua);
}
.ai-pipeline h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.ai-pipeline p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.82;
  line-height: 1.5;
}

.risk-strip {
  padding: 3.5rem 5vw;
  color: #f2faf8;
  background: var(--ink);
}
.risk-inner { max-width: var(--max); margin: 0 auto; }
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.risk-grid article {
  padding-top: 0.9rem;
  border-top: 2px solid rgba(220, 110, 110, 0.7);
  min-width: 0;
}
.risk-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.risk-grid p { margin: 0; font-size: 0.95rem; opacity: 0.85; }

.block {
  padding: 4rem 5vw;
  max-width: calc(var(--max) + 10vw);
  margin: 0 auto;
}
.block.alt {
  max-width: none;
  background: var(--mist);
  padding-left: max(5vw, calc((100vw - var(--max)) / 2));
  padding-right: max(5vw, calc((100vw - var(--max)) / 2));
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid-3 article {
  min-width: 0;
  padding: 1.3rem 1.2rem;
  background: #fff;
  border-top: 3px solid var(--aqua);
}
.grid-3 h3,
.steps strong,
.support-grid h3,
.standards h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.grid-3 p { margin: 0; font-size: 0.95rem; opacity: 0.88; }
.qa-card .tag {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Relatórios */
.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tab {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  color: var(--ink);
}
.tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.report-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.15rem;
}
.report-panel[hidden] { display: none; }
.report-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  opacity: 0.8;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
}
th, td {
  padding: 0.7rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--steel);
  background: var(--mist);
}
.badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.82rem;
}
.badge.ok { background: #d8f3eb; color: #0f5c4c; }
.badge.mid { background: #fff0cc; color: #7a5a00; }
.badge.warn { background: #fde2e2; color: #8a1f1f; }
.report-notes {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  opacity: 0.85;
}
.report-notes li { margin: 0.3rem 0; }

.standards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.standards > div {
  min-width: 0;
  padding: 1.2rem 1.25rem;
  background: #fff;
  border-left: 3px solid var(--teal);
}
.standards p { margin: 0; font-size: 0.95rem; opacity: 0.85; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.15rem;
}

.bullets { margin: 0; padding-left: 1.1rem; }
.bullets li { margin: 0.4rem 0; }

.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}
.audit-card {
  padding: 1.5rem 1.35rem;
  background: var(--ink);
  color: #f2faf8;
}
.audit-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}
.audit-q {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.audit-a { margin: 0; opacity: 0.92; }

.impact-band {
  padding: 3.5rem 5vw;
  color: #f2faf8;
  background: linear-gradient(135deg, #13443c, #1a3a42 55%, #0c1f24);
}
.impact-inner { max-width: var(--max); margin: 0 auto; }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.impact-grid .num {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--aqua);
}
.impact-grid p { margin: 0; font-size: 0.95rem; opacity: 0.92; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pricing article {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
}
.pricing .featured {
  border-color: var(--teal);
  box-shadow: 0 12px 32px rgba(27, 122, 106, 0.12);
}
.price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--steel);
}
.pricing ul {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  flex: 1;
  font-size: 0.95rem;
}
.pricing .btn { align-self: flex-start; }

.download-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border-left: 4px solid var(--teal);
}
.apk-name {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.apk-meta, .fine { margin: 0; font-size: 0.92rem; opacity: 0.75; }
.fine { margin-top: 0.7rem; }
#apk-link[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem;
}
.support-form {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
}
.support-form label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-weight: 400;
  background: var(--sand);
}

.cta-final {
  max-width: none;
  text-align: center;
  padding: 4.5rem 5vw;
  color: #f2faf8;
  background: var(--steel);
}
.cta-final p {
  margin: 0.5rem auto 1.25rem;
  max-width: 34rem;
  opacity: 0.88;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.2rem 5vw;
  font-size: 0.88rem;
  opacity: 0.7;
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3rem 5vw 3.5rem;
  }
  .hero-stage { order: -1; }
  .hud { max-width: 300px; }
  .ai-pipeline,
  .risk-grid,
  .grid-3,
  .pricing,
  .support-grid,
  .standards,
  .audit-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .top nav { display: none; }
}
