/* Infowaste Hub — landing page estática. Mobile-first. Zero framework. */

/* ---------- Fontes (self-hosted, variable, subset latin) ---------- */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2-variations"), url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Variable.woff2") format("woff2-variations"), url("fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --grafite: #141518;
  --superficie: #191a1e;
  --superficie-2: #1d1e23;
  --borda: #232529;
  --borda-forte: #2c2e33;

  --lima: #c6d92e;
  --lima-texto: #1b1c1f;

  --texto: #f2f2f0;
  --texto-sec: #9a9ba2;
  --texto-muted: #8a8b92;

  --guardian: #ef9f27;
  --pro-ia: #5b9bf8;
  --nexus: #8b7fe8;
  --radar: #2ec4b6;

  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --r-card: 14px;
  --r-btn: 10px;
  --r-sm: 8px;

  --container: 1120px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grafite);
  color: var(--texto);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-muted);
}
.section-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--texto);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 15.5px;
  color: var(--texto-sec);
  max-width: 560px;
  line-height: 1.6;
}
.section-head {
  margin-bottom: 44px;
}
@media (min-width: 768px) {
  .section-title { font-size: 34px; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--lima);
  color: var(--lima-texto);
}
.btn-primary:hover { background: #d6e94a; }
.btn-ghost {
  background: transparent;
  color: var(--texto);
  border: 1px solid var(--borda-forte);
}
.btn-ghost:hover { border-color: var(--lima); color: var(--lima); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 21, 24, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borda);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--texto);
}
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand-hub { color: var(--lima); }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  color: var(--texto-sec);
}
.nav-links a:hover { color: var(--texto); }

.nav-actions { display: none; align-items: center; gap: 10px; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--borda-forte);
}
.nav-toggle svg { width: 18px; height: 18px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 18px;
  border-top: 1px solid var(--borda);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--texto-sec);
  border-bottom: 1px solid var(--borda);
}
.mobile-menu .btn { margin-top: 12px; }

@media (min-width: 900px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
  text-align: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--superficie);
  border: 1px solid var(--borda-forte);
  font-size: 12.5px;
  color: var(--texto-sec);
  margin-bottom: 24px;
}
.badge-pill svg { width: 13px; height: 13px; color: var(--lima); flex-shrink: 0; }

.hero h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--texto);
  max-width: 780px;
  margin: 0 auto 20px;
}
.hero-sub {
  font-size: 16px;
  color: var(--texto-sec);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 56px;
}
@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; justify-content: center; }
}

.metrics-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--borda);
  border: 1px solid var(--borda);
  border-radius: var(--r-card);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.metric {
  background: var(--superficie);
  padding: 22px 20px;
}
.metric-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--lima);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.metric-suffix { font-size: 13px; color: var(--texto-muted); font-weight: 500; }
.metric-label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--texto-sec);
}
@media (min-width: 700px) {
  .metrics-panel { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .hero h1 { font-size: 46px; }
  .hero-sub { font-size: 17px; }
}
@media (min-width: 1024px) {
  .hero { padding: 84px 0 96px; }
  .hero h1 { font-size: 54px; }
}

/* ---------- Fontes oficiais ---------- */
.fontes-strip {
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
  padding: 22px 0;
}
.fontes-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.fontes-label {
  font-size: 12px;
  color: var(--texto-muted);
  letter-spacing: 0.03em;
}
.fontes-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.fonte-badge {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--borda-forte);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--texto-sec);
}
@media (min-width: 700px) {
  .fontes-inner { flex-direction: row; justify-content: center; }
}

/* ---------- Seções genéricas ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--superficie); }

/* ---------- Produto em ação ---------- */
.produto-bloco {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
}
.produto-bloco:not(:last-child) { border-bottom: 1px solid var(--borda); }
.produto-texto .eyebrow { margin-bottom: 10px; }
.produto-texto h3 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--texto);
  margin-bottom: 12px;
  line-height: 1.3;
}
.produto-texto p {
  font-size: 15px;
  color: var(--texto-sec);
  line-height: 1.65;
}
@media (min-width: 900px) {
  .produto-bloco { grid-template-columns: 1fr 1fr; gap: 56px; }
  .produto-bloco.reverso .produto-texto { order: 2; }
  .produto-bloco.reverso .produto-preview { order: 1; }
}

/* mini-mockups */
.mock {
  background: #1a1a20;
  border: 1px solid var(--borda-forte);
  border-radius: var(--r-card);
  padding: 18px;
  font-size: 12.5px;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--borda-forte); }

.mock-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--superficie);
  margin-bottom: 8px;
}
.mock-table-row:last-child { margin-bottom: 0; }
.mock-empresa { font-weight: 500; color: var(--texto); }
.mock-muni { color: var(--texto-muted); font-size: 11.5px; }
.mock-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.mock-tag.vencendo { background: rgba(239, 159, 39, 0.16); color: var(--guardian); }
.mock-tag.lead { background: rgba(198, 217, 46, 0.16); color: var(--lima); }

.mock-chat-msg {
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 88%;
}
.mock-chat-msg.user {
  background: var(--superficie-2);
  color: var(--texto-sec);
  margin-left: auto;
  border: 1px solid var(--borda-forte);
}
.mock-chat-msg.ia {
  background: rgba(91, 155, 248, 0.1);
  border: 1px solid rgba(91, 155, 248, 0.25);
  color: var(--texto);
}
.mock-chat-msg.ia strong { color: var(--pro-ia); font-family: var(--font-mono); }

.mock-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-kanban-col-head {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  padding-left: 2px;
}
.mock-kanban-card {
  background: var(--superficie);
  border: 1px solid var(--borda-forte);
  border-radius: 6px;
  padding: 8px;
  font-size: 10.5px;
  color: var(--texto-sec);
  margin-bottom: 6px;
}
.mock-kanban-bar { height: 3px; border-radius: 2px; margin-bottom: 8px; }

/* ---------- Como funciona ---------- */
.passos {
  display: grid;
  gap: 24px;
}
.passo {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.passo-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--superficie);
  border: 1px solid var(--borda-forte);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--lima);
  font-size: 14px;
}
.passo h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 4px;
}
.passo p { font-size: 13.5px; color: var(--texto-sec); }
@media (min-width: 900px) {
  .passos { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Planos ---------- */
.planos-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .planos-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.plano-card {
  background: var(--superficie);
  border: 1px solid var(--borda-forte);
  border-radius: var(--r-card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plano-card.destaque {
  border-color: var(--pro-ia);
  box-shadow: 0 0 0 1px var(--pro-ia);
}
.plano-badge-popular {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--lima);
  color: var(--lima-texto);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.plano-dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 14px; }
.plano-nome { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--texto-muted); margin-bottom: 6px; }
.plano-titulo { font-size: 21px; font-weight: 600; color: var(--texto); margin-bottom: 18px; }
.plano-lista { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; flex: 1; }
.plano-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--texto-sec); line-height: 1.5; }
.plano-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.plano-item strong { color: var(--texto); font-weight: 500; }
.plano-nota { font-size: 12px; color: var(--texto-muted); margin: -8px 0 16px; }

/* Planos com 4 cartões (Radar como complemento): empilhado → 2×2 → 4 colunas */
@media (min-width: 640px) {
  .planos-grid.planos-4 { grid-template-columns: repeat(2, 1fr); row-gap: 28px; align-items: stretch; }
}
@media (min-width: 1080px) {
  .planos-grid.planos-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .planos-grid.planos-4 .plano-card { padding: 24px 20px; }
  .planos-grid.planos-4 .plano-titulo { font-size: 18px; line-height: 1.3; min-height: 2.6em; margin-bottom: 14px; }
}

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.cta-final p { font-size: 15.5px; color: var(--texto-sec); margin-bottom: 32px; }
.cta-final-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (min-width: 560px) {
  .cta-final-actions { flex-direction: row; justify-content: center; }
  .cta-final h2 { font-size: 32px; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--borda);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.footer-brand-mark { width: 22px; height: 22px; }
.footer-tag { font-size: 12.5px; color: var(--texto-muted); max-width: 380px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: 12.5px; color: var(--texto-sec); }
.footer-links a:hover { color: var(--lima); }
.footer-copy { font-size: 11.5px; color: var(--texto-muted); }
@media (min-width: 700px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
