/**
 * BIZ2GO ENTERPRISE DESIGN SYSTEM v3.0 (3D Three.js Light Mint Technological)
 * Paleta: #F4F8F5 (Base Canvas Menta Claro), #EDF5F0 (Menta Suave Estrutural),
 *         #FFFFFF (Card Puro de Alta Nitidez), #0E3A69 (Azul Marinho Biz2GO da Logo),
 *         #8EE54C (Verde Claro Vibrante da Logo), #0B1E36 (Texto Profundo de Alta Legibilidade)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Fundo & Camadas — Fundo Claro Tecnológico com matiz verde suave / menta da logo */
  --bg-darker: #EDF5F0;
  --bg-main: #F4F8F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFCFA;
  --bg-subtle: #E8F2EC;

  /* Bordas & Brilhos — com o verde vibrante da logo */
  --card-border: rgba(142, 229, 76, 0.28);
  --card-border-hover: rgba(142, 229, 76, 0.75);
  --border-light: rgba(14, 58, 105, 0.1);
  --border-focus: rgba(142, 229, 76, 0.65);
  --border-color: rgba(142, 229, 76, 0.25);

  /* Acentos de Marca — Azul-Marinho Biz2GO & Verde Claro da Logo */
  --primary: #0E3A69;
  --primary-light: #16528E;
  --primary-glow: rgba(14, 58, 105, 0.15);
  --emerald: #22B548;
  --emerald-bright: #8EE54C;
  --emerald-light: #B4F583;
  --emerald-glow: rgba(142, 229, 76, 0.35);

  /* Legado compatível */
  --biz-navy: #0E3A69;
  --biz-navy-dark: #071C33;
  --biz-navy-light: #16528E;
  --biz-green: #22B548;
  --biz-green-light: #8EE54C;
  --biz-green-glow: rgba(142, 229, 76, 0.25);

  /* Tipografia & Cores de Texto */
  --text-main: #0B1E36;
  --text-muted: #4B617E;
  --text-dim: #7C91AB;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Sombras & Profundidade Suave Tecnológica */
  --shadow-sm: 0 2px 8px rgba(14, 58, 105, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(14, 58, 105, 0.08), 0 2px 6px -1px rgba(142, 229, 76, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(14, 58, 105, 0.12), 0 0 24px rgba(142, 229, 76, 0.12);

  /* Raios */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   NAVBAR MODERNA FLOATING GLASS
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
  background: rgba(244, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 0.75rem 1.4rem;
  box-shadow: 0 4px 20px -2px rgba(14, 58, 105, 0.05), 0 0 12px rgba(142, 229, 76, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.nav-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* MENU COM PILLS SUAVES & INDICADOR */
.nav-menu-container {
  display: flex;
  align-items: center;
  background: #F1F7F3;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(142, 229, 76, 0.18);
}

.nav-links a.active {
  color: #FFFFFF;
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* TOGGLE DE IDIOMA MINIMALISTA */
.lang-switch {
  display: flex;
  background: #F1F7F3;
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--card-border);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-mono);
}

.lang-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* ==========================================================================
   BOTÕES DE AÇÃO
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.45rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  border: 1px solid var(--primary);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 58, 105, 0.25);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(14, 58, 105, 0.04);
}

.btn-secondary:hover {
  background: #FAFCFA;
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--primary);
}

/* ==========================================================================
   HERO SECTION 3D WEBGL ENGINE & OVERLAY
   ========================================================================== */
.hero-wrapper {
  position: relative;
  background: radial-gradient(circle at 75% 30%, rgba(142, 229, 76, 0.15) 0%, rgba(244, 248, 245, 0.6) 55%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--card-border);
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 3rem 1.5rem 3.5rem;
  overflow: hidden;
}

/* Home hero exclusivo (Three.js 3D WebGL animado e KPIs fixos no rodapé) */
.hero-wrapper.hero-home,
.hero-wrapper:has(.hero-footer) {
  min-height: 92vh;
  justify-content: space-between;
  padding: 2.5rem 1.5rem 3.5rem;
}

/* Sub-páginas com layout compacto sem vazios/gaps */
.hero-wrapper.hero-subpage {
  min-height: auto !important;
  justify-content: flex-start !important;
  padding: 3rem 1.5rem 3.5rem !important;
}

.hero-wrapper.hero-subpage .hero-container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#canvas-container, #motion-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.hero-text-side {
  max-width: 680px;
}

.hero-badge-pill, .pill-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(142, 229, 76, 0.18);
  border: 1px solid rgba(142, 229, 76, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-badge-dot, .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald-bright);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero-main-title, .hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.4rem;
}

.hero-main-title span.highlight-green, .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #16528E 45%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description, .hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-cta-group, .cta-group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

/* HERO CONSOLE CARD / SRE METRICS (SUB-PÁGINAS) */
.hero-console-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
}

.hero-console-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-bright);
}

.console-header {
  background: #0E3A69;
  padding: 0.85rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.console-title {
  color: #E2E8F0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.console-body {
  padding: 1.5rem;
}

.console-node-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light);
}

.console-node-item:last-child {
  border-bottom: none;
}

.node-info-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.node-info-spec {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.node-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(34, 181, 72, 0.12);
  color: #15803D;
  border: 1px solid rgba(34, 181, 72, 0.25);
  font-family: var(--font-mono);
}

/* CARDS FLUTUANTES NO RODAPÉ DO HERO */
.hero-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1320px;
  margin: 1.5rem auto 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(14, 58, 105, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: var(--emerald-bright);
  box-shadow: 0 8px 24px rgba(14, 58, 105, 0.08), 0 0 16px rgba(142, 229, 76, 0.15);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.kpi-card.emerald::before {
  background: var(--emerald-bright);
}

.kpi-num, .kpi-val {
  font-size: 1.85rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.1;
}

.kpi-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   STATS STRIP / MÉTRICAS DE CLÚSTER & INFRAESTRUCTURA
   ========================================================================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1320px;
  margin: -2.5rem auto 3.5rem;
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
}

.stat-card-premium, .stat-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card-premium:hover, .stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-bright);
}

.stat-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(142, 229, 76, 0.12), transparent 70%);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.stat-badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(14, 58, 105, 0.08);
  color: var(--primary);
  border: 1px solid rgba(14, 58, 105, 0.18);
}

.live-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.stat-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(142, 229, 76, 0.15);
  color: var(--emerald);
}

.stat-metric-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.stat-number-hero, .stat-box-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-unit-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.stat-title-premium, .stat-box-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.stat-desc-premium, .stat-box-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.stat-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
}

.stat-footer-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #F1F7F3;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}

/* ==========================================================================
   SEÇÕES GERAIS & CABEÇALHOS
   ========================================================================== */
.section {
  padding: 4.5rem 1.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   GRID E CARDS DE PROJETOS & ECOSISTEMA (Destaque para as logos originais)
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 4px 16px rgba(14, 58, 105, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(14, 58, 105, 0.1), 0 0 20px rgba(142, 229, 76, 0.15);
  border-color: var(--emerald-bright);
}

.card-logo-container {
  height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: #F8FAF9;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-logo-container {
  background: #F1F7F3;
  border-color: var(--emerald-bright);
}

.card-logo-container img {
  max-height: 42px;
  max-width: 190px;
  object-fit: contain;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.card-link:hover {
  gap: 0.7rem;
  color: var(--emerald);
}

/* ==========================================================================
   SEÇÕES INSTITUCIONAIS, VALORES E EQUIPE
   ========================================================================== */
.pillar-card, .feature-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card:hover, .feature-metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-bright);
  box-shadow: var(--shadow-md);
}

.pillar-title, .feature-metric-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.feature-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(142, 229, 76, 0.18);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(142, 229, 76, 0.4);
}

.badge-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

/* ==========================================================================
   FORMULÁRIO DE CONTATO & CANAIS DIRETOS
   ========================================================================== */
#contact-form input,
#contact-form select,
#contact-form textarea {
  background: #FFFFFF !important;
  color: var(--text-main) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.92rem !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(14, 58, 105, 0.12) !important;
  outline: none !important;
}

#contact-form label {
  color: var(--text-main) !important;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--card-border);
  background: var(--bg-darker);
  padding: 3rem 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DRAWER MOBILE & MENU OVERLAY
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  cursor: pointer;
  padding: 0.45rem;
  color: var(--text-main);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 54, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-drawer-overlay.active {
  display: block !important;
  opacity: 1 !important;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--card-border);
  z-index: 10000;
  box-shadow: -10px 0 40px rgba(14, 58, 105, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  right: 0 !important;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--card-border);
}

.drawer-close-btn {
  background: #F1F7F3;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 auto 0;
}

.mobile-drawer-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-drawer-links li a:hover, .mobile-drawer-links li a.active {
  background: rgba(142, 229, 76, 0.2);
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-border);
}

/* ==========================================================================
   RESPONSIVIDADE GERAL
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-menu-container { display: none; }
  .mobile-menu-toggle { display: flex !important; }
  .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
  .hero-footer { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-main-title, .hero-title { font-size: 2.4rem; }
  .hero-wrapper { min-height: auto !important; padding: 2rem 1rem 2.5rem !important; }
  .hero-wrapper.hero-home, .hero-wrapper:has(.hero-footer) { min-height: auto !important; }
  .hero-container { padding-top: 0.5rem !important; padding-bottom: 1rem !important; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature-metric-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-cta-group, .cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn, .cta-group .btn { width: 100%; text-align: center; }
}
