:root {
  --bg: #0b1220;
  --bg-alt: #0f172a;
  --card-bg: #141e33;
  --border: #22304d;
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --text: #e7ecf5;
  --text-muted: #94a3b8;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.3px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--accent-light);
  font-size: 20px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--accent-light); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 10px;
  font-size: 18px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.25), transparent 60%);
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  margin: 0 0 18px;
  line-height: 1.15;
}

.hero h1 span { color: var(--accent-light); }

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 18px;
}

.btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1d4ed8; }

.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent-light); color: var(--accent-light); }

/* Sections */
section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head .eyebrow { margin-bottom: 14px; }

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  margin: 0 0 12px;
}

.section-head p { color: var(--text-muted); margin: 0; }

section.alt { background: var(--bg-alt); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid p { color: var(--text-muted); margin: 0 0 16px; }

.stat-row {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-light);
}

.stat span { color: var(--text-muted); font-size: 13px; }

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.about-card ul { margin: 0; padding-left: 20px; color: var(--text-muted); }
.about-card li { margin-bottom: 10px; }

/* Feature cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* Cases de sucesso */
.case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-logo {
  width: 100%;
  height: 96px;
  border-radius: 10px;
  background: #0b1220;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  color: var(--accent-light);
  letter-spacing: 1px;
}

.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-light);
  background: rgba(37, 99, 235, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}

.case-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-light);
}

.case-link:hover { color: #fff; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-item { margin-bottom: 22px; }
.contact-item h4 {
  margin: 0 0 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-light);
}
.contact-item p { margin: 0; color: var(--text-muted); }

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links a:hover { color: var(--accent-light); }

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

/* Legal pages */
.legal-page { padding: 64px 0 96px; }
.legal-page h1 { font-size: 32px; margin-bottom: 6px; }
.legal-page .updated { color: var(--text-muted); font-size: 13px; margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; margin: 36px 0 12px; color: var(--accent-light); }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 15px; }
.legal-page ul { padding-left: 20px; }

/* Responsive */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { align-self: stretch; text-align: center; }
}
