:root {
  --bg-base: #080B16;
  --sidebar-bg: #0A0F1E;
  --surface: #111A2E;
  --surface-alt: #16213A;
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent: #00FFCC;
  --accent-ink: #062A24;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(circle at 15% 0%, #0d1428 0%, var(--bg-base) 45%);
  color: var(--text-secondary);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.05rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6em;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.center-btn { display: table; margin: 32px auto 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--accent); }

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* Entrar dropdown */
.entrar-dropdown { position: relative; }
.entrar-dropdown .caret { font-size: 0.7em; margin-left: 2px; }
.entrar-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 60;
}
.entrar-dropdown.open .entrar-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.entrar-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.15s ease, color 0.15s ease;
}
.entrar-menu a:hover { background: var(--surface-alt); color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 1rem; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-primary:hover { box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.2); }

.btn-ghost {
  background: var(--surface-alt);
  color: var(--accent);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); }

/* Hero */
.hero { padding: 80px 0 60px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-sub { font-size: 1.05rem; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.hero-visual { display: flex; justify-content: center; }
.mock-panel {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.mock-kpi {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.mock-value { font-size: 1.3rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-top: 16px;
  padding: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mock-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(0, 255, 204, 0.25));
  border-radius: 3px 3px 0 0;
}
.mock-bars span:nth-child(1) { height: 40%; }
.mock-bars span:nth-child(2) { height: 65%; }
.mock-bars span:nth-child(3) { height: 50%; }
.mock-bars span:nth-child(4) { height: 80%; }
.mock-bars span:nth-child(5) { height: 60%; }
.mock-bars span:nth-child(6) { height: 95%; }
.mock-bars span:nth-child(7) { height: 70%; }

/* Logos strip */
.logos-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.logos-strip p {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--sidebar-bg); }

/* Feature cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--accent); }
.card-icon { font-size: 1.6rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; margin-bottom: 0; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step p { font-size: 0.9rem; margin-bottom: 0; }

/* Precos */
.precos-inner { max-width: 720px; }
.precos-sub { max-width: 55ch; margin-left: auto; margin-right: auto; }
.precos-inclui {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 32px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* Contacto */
.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contacto-lista { list-style: none; padding: 0; margin-top: 20px; }
.contacto-lista li { padding: 6px 0; font-size: 0.95rem; }
.contacto-lista a { color: var(--accent); font-weight: 600; }

.contacto-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contacto-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 12px;
}
.contacto-form input,
.contacto-form textarea {
  background: #FFFFFF;
  color: #0B132B;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 0.92rem;
  resize: vertical;
}
.contacto-form button { margin-top: 20px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner a { color: var(--accent); font-weight: 600; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contacto-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header-actions .entrar-dropdown { display: none; }
  .entrar-menu { position: static; box-shadow: none; margin-top: 8px; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sidebar-bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .site-header.nav-open .header-actions .entrar-dropdown { display: block; }
}

@media (max-width: 560px) {
  .grid-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mock-row { grid-template-columns: 1fr 1fr; }
}
