/* ==========================================================================
   ZAFE TECNOLOGIA - DESIGN SYSTEM & STYLESHEET
   Nova Identidade Visual: Executive Light & Deep Navy (Edição Zafe Connect)
   Fontes: Plus Jakarta Sans & JetBrains Mono
   ========================================================================== */

:root {
  /* Paleta Base - Fundo Claro Sofisticado e Cards Brancos */
  --bg-dark: #f4f6f8;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-sidebar: #0e2238; /* Deep Navy do Zafe Connect */
  --bg-input: #ffffff;
  
  /* Bordas Suaves e Neutras */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-glow: rgba(20, 184, 166, 0.35);

  /* Acentos de Marca (Zafe Connect) */
  --primary: #102a45;             /* Botão Primário Azul Marinho Profundo */
  --primary-hover: #0a1c30;
  --primary-gradient: linear-gradient(135deg, #0e2238 0%, #16395b 100%);
  --primary-glow: rgba(16, 42, 69, 0.16);

  --teal: #14b8a6;                /* Centelha / Spark Zafe Connect */
  --teal-hover: #0d9488;
  --teal-light: #ccfbf1;
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --emerald: #10b981;
  --emerald-light: #ecfdf5;
  --amber: #f59e0b;
  --rose: #f43f5e;

  /* Tipografia & Contrastes de Alta Legibilidade */
  --text-main: #0f172a;           /* Títulos e texto principal escuro */
  --text-muted: #475569;          /* Subtítulos e parágrafos */
  --text-dim: #64748b;            /* Legendas e kickers */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Efeitos e Sombras Sofisticadas */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 0 0 1px #e2e8f0;
  --shadow-hover: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 0 0 1px #cbd5e1;
  --shadow-glow: 0 0 20px rgba(20, 184, 166, 0.25);
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Logotipo Oficial Zafe (Estilo Zafe Connect) */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.brand-icon-spark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  transition: var(--transition);
}

.brand-icon-spark:hover {
  transform: rotate(45deg) scale(1.08);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Badges Executivos */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-primary {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.badge-teal {
  background: #ccfbf1;
  border: 1px solid #99f6e4;
  color: #0f766e;
}

.badge-cyan {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0284c7;
}

.badge-emerald {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.badge-amber {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
}

/* Botões do Design System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 42, 69, 0.28);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
}

.btn-outline:hover {
  background: #f1f5f9;
  color: var(--text-main);
  border-color: #94a3b8;
}

.btn-teal {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.25);
}

.btn-teal:hover {
  background: var(--teal-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-danger {
  background: #ffe4e6;
  border: 1px solid #fecdd3;
  color: #e11d48;
}

.btn-danger:hover {
  background: #f43f5e;
  color: #ffffff;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12.5px;
  border-radius: 7px;
}

/* ─────────────────────────────────────────────────────────────
   HEADER / NAVBAR INSTITUCIONAL (DEEP NAVY HARMONIOUS STYLE)
   ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  height: 76px;
  background: #0e2238; /* Fundo Deep Navy autêntico mantido */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(14, 34, 56, 0.22);
  transition: var(--transition);
}

.site-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

/* Logotipo no Header */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-spark-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd4bf;
  box-shadow: 0 0 16px rgba(20, 184, 166, 0.18);
  transition: var(--transition);
  flex-shrink: 0;
}

.brand-logo-wrap:hover .brand-icon-spark-box {
  background: rgba(20, 184, 166, 0.22);
  border-color: rgba(45, 212, 191, 0.6);
  transform: rotate(45deg) scale(1.05);
}

.site-header .brand-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.site-header .brand-title-accent {
  color: #2dd4bf;
  font-weight: 700;
}

.site-header .brand-subtitle {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* Links de Navegação com Espaçamento Amplo e Hover Sofisticado */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-item a {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  padding: 6px 11px;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
}

.nav-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Ações com Espaçamento Generoso */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Botão Marketplace (Pill Sofisticada no Fundo Deep Navy) */
.nav-marketplace-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 999px;
  color: #2dd4bf;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.nav-marketplace-btn svg {
  color: #2dd4bf;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-marketplace-btn:hover {
  background: #14b8a6;
  border-color: #14b8a6;
  color: #0e2238;
  box-shadow: 0 0 18px rgba(20, 184, 166, 0.45);
  transform: translateY(-1px);
}

.nav-marketplace-btn:hover svg {
  color: #0e2238;
}

/* Botão Área Restrita (Secundário no Header Escuro) */
.site-header .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.site-header .btn-secondary svg {
  flex-shrink: 0;
}

.site-header .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Botão Fale Conosco (CTA Principal em Turquesa Vibrante) */
.site-header .btn-primary {
  background: #14b8a6;
  color: #0e2238;
  padding: 7.5px 16px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.site-header .btn-primary:hover {
  background: #2dd4bf;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45, 212, 191, 0.45);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #ffffff;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(45, 212, 191, 0.5);
  color: #2dd4bf;
}

/* ─────────────────────────────────────────────────────────────
   HERO SECTION (EXECUTIVE LIGHT)
   ───────────────────────────────────────────────────────────── */
.hero-section {
  padding-top: 140px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf2f7 0%, #f4f6f8 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-glow-blob {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.12;
}
.hero-glow-1 {
  top: 0%;
  left: -80px;
  background: #14b8a6;
}
.hero-glow-2 {
  top: 15%;
  right: -80px;
  background: #0284c7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  margin-bottom: 18px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 18px;
}

.hero-title .highlight-gradient {
  color: #0f766e;
  background: linear-gradient(135deg, #0e2238 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Terminal / Telemetria */
.hero-interactive-card {
  background: #0e2238;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(14, 34, 56, 0.25);
  overflow: hidden;
  position: relative;
}

.terminal-header {
  background: #071524;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-red { background: #f43f5e; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
}

.terminal-body {
  padding: 22px;
}

.code-block {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
}

.code-line {
  display: flex;
  gap: 10px;
}
.code-prompt { color: #2dd4bf; user-select: none; }
.code-comment { color: #64748b; }
.code-keyword { color: #f43f5e; }
.code-string { color: #34d399; }
.code-prop { color: #38bdf8; }

.terminal-live-metrics {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.live-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
}

.live-metric-title {
  font-size: 10.5px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-metric-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #2dd4bf;
  margin-top: 3px;
}

/* ─────────────────────────────────────────────────────────────
   METRICS STRIP
   ───────────────────────────────────────────────────────────── */
.metrics-strip {
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
  padding: 42px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-color);
}

.metric-number {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 800;
  color: #0e2238;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.metric-desc {
  font-size: 12px;
  color: var(--text-dim);
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEADERS
   ───────────────────────────────────────────────────────────── */
.section-wrap {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-header-left {
  text-align: left;
  margin: 0 0 35px 0;
  max-width: 700px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-top: 12px;
  margin-bottom: 14px;
  line-height: 1.25;
}

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

/* ─────────────────────────────────────────────────────────────
   SERVICES / SOLUÇÕES GRID
   ───────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: #0e2238;
  color: #2dd4bf;
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.service-tagline {
  font-size: 12px;
  font-weight: 700;
  color: #0d9488;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features-list li {
  font-size: 13px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   PORTFÓLIO SECTION & CARDS
   ───────────────────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.portfolio-category-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f766e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.portfolio-client {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 600;
}

.portfolio-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.portfolio-tags-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.portfolio-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: #475569;
}

.portfolio-card-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-action-link {
  font-size: 13px;
  font-weight: 700;
  color: #0369a1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.portfolio-action-link:hover {
  color: #0e2238;
  transform: translateX(3px);
}

/* ─────────────────────────────────────────────────────────────
   ABOUT SECTION
   ───────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.pillar-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pillar-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

.about-visual-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.dna-badge-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.dna-chip {
  padding: 7px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}

/* ─────────────────────────────────────────────────────────────
   TESTIMONIALS SECTION
   ───────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.stars-row {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0e2238;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #2dd4bf;
}

.author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.author-role {
  font-size: 12px;
  color: var(--text-dim);
}

/* ─────────────────────────────────────────────────────────────
   CONTACT SECTION & FORMS
   ───────────────────────────────────────────────────────────── */
.contact-section {
  background: linear-gradient(180deg, #f4f6f8 0%, #edf2f7 100%);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.channel-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-label {
  font-size: 11.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}

.channel-value {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  margin-top: 2px;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.form-input, .form-textarea, .form-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 14px;
  color: #0f172a;
  font-size: 13.5px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER (DEEP NAVY)
   ───────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0e2238;
  padding: 55px 0 25px 0;
  color: #cbd5e1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-about p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 300px;
}

.footer-column-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav-list a {
  font-size: 13px;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-nav-list a:hover {
  color: #2dd4bf;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #64748b;
}

/* ─────────────────────────────────────────────────────────────
   TOAST NOTIFICATIONS
   ───────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
}

.toast {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  animation: slideInRight 0.3s ease;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  min-width: 290px;
}

.toast.toast-success { border-left: 4px solid #10b981; }
.toast.toast-error { border-left: 4px solid #f43f5e; }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ─────────────────────────────────────────────────────────────
   MOBILE NAV DRAWER & RESPONSIVIDADE DO HEADER
   ───────────────────────────────────────────────────────────── */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: #0e2238;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 24px 28px 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  animation: slideDownNav 0.22s ease;
  z-index: 9999;
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open {
  display: block;
}

@keyframes slideDownNav {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 18px 0;
  padding: 0;
}

.mobile-nav-link {
  display: block;
  padding: 10px 14px;
  color: #cbd5e1;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(255, 255, 255, 0.08);
  color: #2dd4bf;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-actions .nav-marketplace-btn {
  justify-content: center;
  width: 100%;
}

.mobile-nav-actions .mobile-cta-btn {
  justify-content: center;
}

/* ─────────────────────────────────────────────────────────────
   BREAKPOINTS DE RESPONSIVIDADE INSTITUCIONAL
   ───────────────────────────────────────────────────────────── */

/* 1. Laptops / Tablets Médios & Grandes (<= 1140px): Ativação Elegante do Menu Mobile */
@media (max-width: 1140px) {
  .nav-links, .site-header .btn-contact {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .nav-actions {
    gap: 10px;
  }
}

/* 2. Tablets Portrait & Telas Médias (<= 991px) */
@media (max-width: 991px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .services-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3. Tablets Pequenos & Smartphones Grandes (<= 768px) */
@media (max-width: 768px) {
  .site-header .nav-marketplace-btn {
    display: none !important;
  }
  .site-header .btn-secondary span {
    display: none !important;
  }
  .site-header .btn-secondary {
    padding: 7px 10px;
  }
  .site-container {
    padding: 0 16px;
  }
  .mobile-nav-drawer {
    padding: 16px 20px 24px 20px;
  }
}

/* 4. Smartphones (<= 580px) */
@media (max-width: 580px) {
  .site-header {
    height: 68px;
  }
  .mobile-nav-drawer {
    top: 68px;
    max-height: calc(100vh - 68px);
  }
  .hero-section {
    padding-top: 110px;
  }
  .hero-title {
    font-size: 28px;
  }
  .services-grid, .testimonials-grid, .metrics-grid, .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .site-header .brand-subtitle {
    display: none !important;
  }
  .site-header .brand-title {
    font-size: 15px;
  }
  .brand-icon-spark-box {
    width: 36px;
    height: 36px;
  }
  .site-header .btn-secondary {
    padding: 6px 9px;
  }
  .mobile-menu-toggle {
    padding: 6px 7px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
