/* ==========================================================================
   PERÍCIA FORENSE COMPUTACIONAL & TI - BRUNO ROSA LARANGEIRA TORMA
   DESIGN SYSTEM & ESTILOS PREMIUM
   ========================================================================== */

:root {
  /* Paleta Dark Tech & Legal Luxury */
  --bg-main: #030712;
  --bg-surface: #070e1e;
  --bg-card: rgba(11, 23, 48, 0.75);
  --bg-card-hover: rgba(16, 33, 68, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.7);
  
  /* Cores de Destaque */
  --primary: #0284c7;
  --primary-light: #38bdf8;
  --primary-dark: #0369a1;
  --primary-glow: rgba(56, 189, 248, 0.4);
  
  --navy-deep: #050b18;
  --navy-border: rgba(56, 189, 248, 0.22);
  --navy-border-hover: rgba(56, 189, 248, 0.55);
  
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-glow: rgba(245, 158, 11, 0.35);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  
  /* Tipografia */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-title: #ffffff;
  
  /* Fontes */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Layout e Sombras */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px var(--primary-glow);
  --shadow-gold: 0 0 25px var(--gold-glow);
  
  /* Transições */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Grid Tech de Fundo Sutil */
.tech-grid-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

/* Links & Botões */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* Top Neon Line */
.top-neon-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8 0%, #2563eb 50%, #f59e0b 80%, #10b981 100%);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.9);
  z-index: 1001;
}

/* Top Alert Ribbon */
.top-alert-ribbon {
  background: linear-gradient(90deg, #071533 0%, #0c214d 50%, #071533 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
  margin-top: 4px;
  position: relative;
  z-index: 999;
}

.top-alert-ribbon .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.alert-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--gold);
  color: #fef08a;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.alert-item {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.alert-item strong {
  color: #ffffff;
}

.alert-item.highlight {
  color: var(--primary-light);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 4px;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--navy-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(3, 7, 18, 0.96);
  border-bottom-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-shield {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  border: 1.5px solid var(--primary-light);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.nav-brand:hover .brand-shield {
  transform: scale(1.05);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

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

.brand-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  box-shadow: 0 0 8px var(--primary-light);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav-whatsapp {
  background: linear-gradient(135deg, #2ae06d 0%, #20ba59 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.btn-nav-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  filter: brightness(1.06);
}

.whatsapp-circle-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  color: #ffffff;
  font-size: 22px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  padding: 60px 0 70px 0;
  overflow: hidden;
  border-bottom: 1.5px solid var(--navy-border);
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.65;
  filter: contrast(1.1) brightness(0.9);
  pointer-events: none;
  transform: none;
  transition: opacity 0.5s ease;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: 
    linear-gradient(90deg, rgba(3, 7, 18, 0.90) 0%, rgba(3, 7, 18, 0.72) 48%, rgba(6, 14, 32, 0.42) 100%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.35) 0%, rgba(3, 7, 18, 0.88) 100%);
}

.hero-glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
  top: -150px;
  left: 20%;
  pointer-events: none;
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Lado Esquerdo do Hero */
.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.badge-court-live {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--navy-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot-pulse-green {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.badge-cra {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.badge-iso {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}

.hero-main-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-main-title .highlight-cyan {
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.hero-subtitle {
  font-size: 16.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 650px;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 700;
}

/* Botões do Hero */
.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.45);
  transition: all var(--transition-fast);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--navy-border);
  color: #f1f5f9;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  color: #ffffff;
}

/* 3 Pilares no Hero */
.hero-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pillar-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-2px);
  background: rgba(20, 32, 58, 0.9);
}

.pillar-card.speed {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.pillar-card.discount {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.18) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.pillar-card.flexibility {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.18) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.pillar-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.pillar-text-group {
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.pillar-desc {
  font-size: 10px;
  color: var(--text-muted);
}

/* Lado Direito do Hero: Hub Tecnológico de Serviços */
.hero-card-side {
  display: flex;
  justify-content: center;
}

.hero-services-panel {
  width: 100%;
  max-width: 440px;
  background: rgba(13, 27, 56, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(14, 165, 233, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-services-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #38bdf8 0%, #10b981 100%);
}

.panel-header-tech {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

.tech-tag-code {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.panel-headline {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
}

.panel-subheadline {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.tech-services-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 16px;
}

.tech-service-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 9px 12px;
  transition: all 0.25s ease;
}

.tech-service-card:hover {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateX(4px);
}

.tech-service-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.tech-service-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.tech-service-info p {
  font-size: 11px;
  line-height: 1.4;
  color: #94a3b8;
  margin: 0;
}

.panel-footer-action {
  margin-top: 12px;
}

.panel-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #2ae06d 0%, #20ba59 100%);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.panel-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
  filter: brightness(1.05);
}

.panel-cta-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.perito-profile-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, #0d1b38 0%, #071228 100%);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.25);
  position: relative;
  text-align: center;
}

.perito-photo-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px auto;
}

.perito-photo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--primary-light);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
  position: relative;
  z-index: 2;
}

.perito-glow-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #38bdf8, #2563eb, #f59e0b, #38bdf8);
  z-index: 1;
  opacity: 0.6;
  filter: blur(4px);
  animation: rotateRing 10s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.perito-name-tag {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.perito-role-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.perito-badges-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.tag-line {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 11.5px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tag-line strong {
  color: #ffffff;
}

.perito-contact-quick {
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-whatsapp-link {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #6ee7b7;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  transition: all var(--transition-fast);
}

.quick-whatsapp-link:hover {
  background: #10b981;
  color: #ffffff;
}

/* ==========================================================================
   STATS TICKER BAR
   ========================================================================== */
.stats-ticker-section {
  background: #060c1c;
  border-bottom: 1px solid var(--navy-border);
  padding: 24px 0;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 28px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-number .text-gradient {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   SEÇÕES GERAIS (TÍTULOS E SUBTÍTULOS)
   ========================================================================== */
.section-wrapper {
  padding: 80px 0;
  position: relative;
}

.section-wrapper.bg-darker {
  background-color: #040816;
}

.section-wrapper.border-b {
  border-bottom: 1px solid var(--navy-border);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   GRADE DE SERVIÇOS (AS 8 ESPECIALIDADES)
   ========================================================================== */
.services-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--navy-border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.highlight {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(180deg, rgba(14, 30, 60, 0.85) 0%, rgba(7, 14, 30, 0.8) 100%);
}

.service-card.highlight::after {
  content: 'EM ALTA';
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--gold);
  color: #fef08a;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 20px;
  margin-bottom: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1);
  color: #ffffff;
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.service-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.service-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  font-size: 12px;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 12px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-features-list li i {
  color: var(--emerald);
  font-size: 11px;
}

/* ==========================================================================
   TABELA OFICIAL DE PREÇOS & PLANOS
   ========================================================================== */
.pricing-cards-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 45px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(14px);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--navy-border-hover);
  box-shadow: var(--shadow-lg);
}

/* Card Destacado (Plano Mensal) */
.pricing-card.featured {
  background: linear-gradient(180deg, #0a1b38 0%, #061126 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px var(--gold-glow);
  transform: scale(1.03);
  z-index: 3;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-6px);
}

.badge-featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 50%, #b45309 100%);
  color: #030712;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.6);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
}

.plan-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.pricing-card.featured .plan-tag {
  color: var(--gold-light);
}

.plan-name {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 6px 0;
}

.currency-sym {
  font-size: 20px;
  font-weight: 700;
  color: #cbd5e1;
}

.price-val {
  font-size: 40px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -1px;
}

.pricing-card.featured .price-val {
  color: #fef08a;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.price-sub {
  font-size: 13.5px;
  color: var(--text-muted);
}

.plan-economy-callout {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  display: inline-block;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.4;
}

.plan-feature-item i {
  color: var(--emerald);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.plan-feature-item strong {
  color: #ffffff;
}

.plan-feature-item.muted {
  color: #64748b;
}

.plan-feature-item.muted i {
  color: #64748b;
}

.plan-btn-action {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.plan-btn-action.btn-outline {
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid var(--navy-border);
  color: #ffffff;
}

.plan-btn-action.btn-outline:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--primary-light);
}

.plan-btn-action.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #030712;
  border: none;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.plan-btn-action.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(245, 158, 11, 0.6);
}

/* Card Regras de Complexidade */
.pricing-card.rules-card {
  background: rgba(10, 18, 38, 0.7);
}

.rules-block {
  margin-bottom: 16px;
}

.rules-subtitle {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rules-text {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   CALCULADORA DE ECONOMIA INTERATIVA
   ========================================================================== */
.savings-calculator-box {
  background: linear-gradient(135deg, rgba(7, 16, 38, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1.5px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-top: 30px;
}

.calculator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.calc-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

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

.calculator-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.slider-value-display {
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--primary-light);
}

.custom-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  cursor: pointer;
  accent-color: var(--primary-light);
}

.calc-result-card {
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-comparison-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #cbd5e1;
}

.calc-comparison-row strong {
  font-family: var(--font-mono);
  color: #ffffff;
}

.calc-savings-highlight {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.savings-label {
  font-size: 14px;
  font-weight: 800;
  color: #fef08a;
}

.savings-amount {
  font-size: 26px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #10b981;
}

/* ==========================================================================
   DIFERENCIAIS & OPERAÇÃO
   ========================================================================== */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.differential-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: all var(--transition-fast);
}

.differential-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-border-hover);
  background: var(--bg-card-hover);
}

.diff-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 18px;
  margin-bottom: 16px;
}

.diff-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.diff-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   METODOLOGIA FORENSE
   ========================================================================== */
.methodology-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 30px;
}

.method-step-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  border: 1.5px solid var(--primary-light);
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.step-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SOBRE O PERITO (BIO & QUALIFICAÇÕES)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-photo-card {
  background: linear-gradient(180deg, #0d1b38 0%, #060e20 100%);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-photo-img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-light);
  margin: 0 auto 18px auto;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.about-name {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
}

.about-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-tribunais-pill {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 12.5px;
  color: #f1f5f9;
  display: inline-block;
  margin-bottom: 10px;
}

.about-cra-tag {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.bio-paragraph {
  font-size: 15px;
  line-height: 1.65;
  color: #cbd5e1;
}

.bio-paragraph strong {
  color: #ffffff;
}

.degrees-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.degree-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.degree-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(2, 132, 199, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.degree-texts {
  display: flex;
  flex-direction: column;
}

.degree-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.degree-inst {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   GALERIA DE BANNERS OFICIAIS
   ========================================================================== */
.banners-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.banner-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.banner-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.banner-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #030712;
  overflow: hidden;
  position: relative;
}

.banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.banner-preview-card:hover .banner-img-wrap img {
  transform: scale(1.03);
}

.banner-card-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7, 14, 30, 0.9);
  border-top: 1px solid var(--navy-border);
}

.banner-title-text {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.banner-meta-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.btn-open-banner {
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid var(--primary-light);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-open-banner:hover {
  background: var(--primary);
}

/* ==========================================================================
   SEÇÃO DE CONTATO & FORMULÁRIO DE ANÁLISE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-direct-card .card-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.direct-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.direct-link-item:hover {
  border-color: var(--primary-light);
  background: rgba(30, 41, 59, 0.8);
}

.direct-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.direct-texts {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.direct-value {
  font-size: 14.5px;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Formulário Interativo */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1.5px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.form-title {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
  background: rgba(20, 32, 60, 0.95);
}

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

.btn-submit-form {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transition: all var(--transition-fast);
  margin-top: 10px;
}

.btn-submit-form:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.6);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 14px;
}

.faq-chevron {
  font-size: 14px;
  color: var(--primary-light);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(7, 14, 30, 0.6);
  padding: 0 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 22px 20px 22px;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  background: #02040a;
  border-top: 1px solid var(--navy-border);
  padding: 60px 0 30px 0;
  position: relative;
}

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

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  border-left: 2px solid var(--primary-light);
  padding-left: 14px;
  margin-top: 8px;
}

.footer-quote strong {
  color: #ffffff;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

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

.footer-nav-list a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}

/* Floating WhatsApp Button - Modelo Pílula (Fale com Atendente) */
.whatsapp-pill-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  background: linear-gradient(135deg, #2ae06d 0%, #20ba59 100%);
  color: #ffffff;
  padding: 8px 24px 8px 10px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 995;
  text-decoration: none;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  animation: whatsapp-pill-breathe 4s infinite ease-in-out;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-pill-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 4px 10px rgba(0, 0, 0, 0.3);
  filter: brightness(1.06);
}

.whatsapp-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  animation: whatsapp-icon-wiggle 6s infinite ease-in-out;
}

.whatsapp-pill-text {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

@keyframes whatsapp-pill-breathe {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 6px rgba(37, 211, 102, 0);
  }
}

@keyframes whatsapp-icon-wiggle {
  0%, 88%, 100% {
    transform: rotate(0deg);
  }
  90% {
    transform: rotate(-14deg);
  }
  92% {
    transform: rotate(12deg);
  }
  94% {
    transform: rotate(-8deg);
  }
  96% {
    transform: rotate(4deg);
  }
}

@media (max-width: 600px) {
  .whatsapp-pill-btn {
    bottom: 18px;
    right: 18px;
    padding: 7px 18px 7px 8px;
    gap: 9px;
  }
  .whatsapp-pill-icon {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
  .whatsapp-pill-text {
    font-size: 12px;
    letter-spacing: 0.4px;
  }
}

/* Modal de Visualização de Banners */
.banner-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.banner-modal.active {
  display: flex;
}

.modal-content-wrap {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-light);
}

.btn-close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  border: 1px solid var(--emerald);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  z-index: 3000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVIDADE / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .services-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-cards-container {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .methodology-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 2;
  }

  .hero-text-side {
    order: 1;
    width: 100%;
  }

  .hero-card-side {
    order: 2;
    width: 100%;
  }

  .hero-video-overlay {
    background: linear-gradient(180deg, 
      rgba(3, 7, 18, 0.88) 0%, 
      rgba(3, 7, 18, 0.72) 35%, 
      rgba(3, 7, 18, 0.82) 70%, 
      rgba(3, 7, 18, 0.96) 100%
    );
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: rgba(4, 9, 22, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px 45px 20px;
    border-bottom: 1.5px solid var(--navy-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 12px;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links .nav-link {
    display: block;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    background: rgba(56, 189, 248, 0.12);
    color: var(--primary-light);
  }

  .mobile-only-action {
    display: block !important;
    margin-top: 10px;
  }

  .mobile-drawer-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 13px 18px;
    border-radius: var(--radius-full);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
  }

  .mobile-drawer-perito {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--navy-border);
    color: var(--primary-light);
    font-weight: 700;
    font-size: 13px;
    padding: 11px 18px;
    border-radius: var(--radius-md);
    text-align: center;
    text-decoration: none;
    margin-top: 8px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .calculator-body {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .banners-gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) {
  .mobile-only-action {
    display: none !important;
  }
  .navbar {
    flex-wrap: wrap;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .nav-cta-group {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .site-header {
    top: 0;
  }
  .navbar {
    padding: 10px 0;
    gap: 8px;
  }
  .nav-brand .norte-logo {
    width: 72px;
    height: 38px;
  }
  .navbar .nav-brand {
    gap: 10px;
    min-width: 0;
  }
  .navbar .brand-info {
    max-width: 175px;
  }
  .navbar .brand-title {
    font-size: 12.5px;
    white-space: normal;
    line-height: 1.2;
  }
  .navbar .brand-subtitle {
    font-size: 9.5px;
    display: block;
    line-height: 1.25;
    color: var(--primary-light);
  }
  .nav-cta-group {
    gap: 8px;
    flex-shrink: 0;
  }
  .nav-cta-group .btn-nav-whatsapp {
    display: none;
  }
  .perito-access {
    font-size: 11px;
    padding: 7px 10px;
  }

  .top-alert-ribbon {
    font-size: 11px;
    padding: 6px 10px;
  }
  .top-alert-ribbon .container {
    gap: 8px;
  }
  .alert-badge {
    font-size: 10px;
    padding: 2px 8px;
  }

  .hero-section {
    position: relative;
    isolation: isolate;
    padding: 24px 0 36px 0;
    overflow: hidden;
  }
  .hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
  }
  .hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.55;
    pointer-events: none;
    transform: none;
  }
  .hero-main-title {
    font-size: clamp(23px, 6.2vw, 29px);
    line-height: 1.22;
  }
  .hero-subtitle {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-buttons .btn-primary,
  .hero-cta-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 14.5px;
  }
  .hero-pillars-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-services-panel {
    max-width: 100%;
    padding: 18px 14px;
    border-radius: 16px;
  }

  .services-grid-8 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card-8 {
    padding: 20px 16px;
  }

  .differentials-grid {
    grid-template-columns: 1fr;
  }

  .methodology-timeline {
    grid-template-columns: 1fr;
  }

  .pricing-cards-container {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .form-grid-inputs {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 22px 16px;
  }
  .contact-grid .pillar-text-group {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .contact-grid .pillar-title {
    white-space: normal;
  }
  .contact-grid .direct-icon {
    flex-shrink: 0;
  }
  .contact-grid > * {
    min-width: 0;
  }
  .direct-texts {
    min-width: 0;
  }
  .direct-value {
    overflow-wrap: anywhere;
  }

  .whatsapp-pill-btn {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    padding: 6px 14px 6px 7px;
    gap: 8px;
  }
  .whatsapp-pill-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .whatsapp-pill-text {
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Identidade Norte: marca institucional e currículo preservado */
.norte-logo {
  width: 116px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-brand .brand-title {
  font-size: 18px;
  line-height: 1.25;
}
.nav-brand .brand-subtitle {
  font-size: 10.5px;
  line-height: 1.4;
}
.perito-role-tag span, .about-role span {
  display: block;
  font-size: 0.9em;
  margin-top: 4px;
}
.perito-access {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
  padding: 8px 10px;
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  transition: all var(--transition-fast);
}
.perito-access:hover, .perito-access:focus-visible {
  color: var(--primary-light);
  border-color: var(--primary-light);
}

/* Mobile: textos longos (ex.: dominio) nunca estouram a largura da tela */
@media (max-width: 600px) {
  .brand-subtitle,
  .tech-tag-code,
  .alert-badge {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }
}

/* Telas bem estreitas: cabecalho sem sobreposicao (Area do Perito continua no menu) */
@media (max-width: 420px) {
  .navbar .perito-access {
    display: none;
  }
  .navbar .brand-info {
    max-width: none;
    min-width: 0;
  }
  .navbar .brand-subtitle {
    display: none;
  }
}

