/* ==========================================================================
   Despachante Bordon — Design System & Core Styles
   Identidade Visual: Azul Marinho Royal (#1A2870), Vermelho Carmesim (#C91D24),
   Branco Puro & Neutros Modernos. Otimizado para Core Web Vitals & Conversão.
   ========================================================================== */

:root {
  /* Cores da Marca (extraídas do logotipo BORDON) */
  --navy-950: #0B1238;
  --navy-900: #131F59;
  --navy-800: #1A2870;
  --navy-700: #24378F;
  --navy-100: #E8ECF9;
  --navy-50:  #F3F5FC;

  --red-700:  #A8141A;
  --red-600:  #C91D24;
  --red-500:  #E0242B;
  --red-100:  #FDE8E8;
  --red-50:   #FEF2F2;

  /* Conversão (WhatsApp & Confiança) */
  --wa-600:   #16A34A;
  --wa-700:   #15803D;
  --wa-50:    #ECFDF5;

  /* Neutros */
  --white:    #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100:#F1F5F9;
  --slate-200:#E2E8F0;
  --slate-300:#CBD5E1;
  --slate-500:#64748B;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1E293B;
  --slate-900:#0F172A;

  /* Tipografia */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamento & Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(11, 18, 56, 0.05);
  --shadow-sm: 0 4px 12px rgba(11, 18, 56, 0.06);
  --shadow-md: 0 10px 28px rgba(11, 18, 56, 0.09);
  --shadow-lg: 0 20px 48px rgba(11, 18, 56, 0.14);
  --shadow-red: 0 10px 24px rgba(201, 29, 36, 0.25);
  --shadow-wa: 0 10px 24px rgba(22, 163, 74, 0.28);

  /* Transições */
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: clip;
  scrollbar-color: var(--red-600) var(--slate-100);
  scrollbar-width: thin;
}

/* Barra de rolagem personalizada (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
  background: var(--red-600);
  border-radius: 9999px;
  border: 2px solid var(--slate-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red-700);
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-950);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Skip link para acessibilidade */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy-800);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* Utilitários */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: 76px;
}

.section-sm {
  padding-block: 52px;
}

.bg-light {
  background-color: var(--slate-50);
}

.bg-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Eyebrow / Section Header */
.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-600);
  background: var(--red-50);
  border: 1px solid var(--red-100);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.eyebrow-navy {
  color: var(--navy-800);
  background: var(--navy-50);
  border-color: var(--navy-100);
}

.eyebrow-dark {
  color: #FCA5A5;
  background: rgba(201, 29, 36, 0.18);
  border-color: rgba(252, 165, 165, 0.25);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
}

.bg-navy .section-title,
.bg-navy h2,
.bg-navy h3 {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.bg-navy .section-subtitle {
  color: #CBD5E1;
}

/* Botões com efeito shine + elevação suave no hover */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96875rem;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.25s ease,
              box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease,
              color 0.25s ease;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transform: skewX(-22deg);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn:hover::after {
  left: 145%;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover svg {
  transform: scale(1.12);
}

.btn-wa {
  background-color: var(--wa-600);
  color: var(--white);
  box-shadow: var(--shadow-wa);
}
.btn-wa:hover {
  background-color: var(--wa-700);
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.42);
}

.btn-red {
  background-color: var(--red-600);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-red:hover {
  background-color: var(--red-700);
  box-shadow: 0 14px 30px rgba(201, 29, 36, 0.42);
}

.btn-navy {
  background-color: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover {
  background-color: var(--navy-900);
  box-shadow: 0 14px 28px rgba(11, 18, 56, 0.28);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline-navy:hover {
  background-color: var(--navy-800);
  color: var(--white);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy-900);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.03125rem;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Top Bar Institucional (Informação rápida para Google Ads Local)
   ========================================================================== */
.topbar {
  background-color: var(--navy-950);
  color: #E2E8F0;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.topbar-item svg {
  width: 15px;
  height: 15px;
  color: #F87171;
  flex-shrink: 0;
}

.topbar-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ==========================================================================
   Header & Navegação
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 88px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--slate-700);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy-800);
  background-color: var(--navy-50);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: background-color var(--transition), color var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--navy-50);
  color: var(--navy-800);
}

.nav-badge-urgent {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--red-100);
  color: var(--red-700);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

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

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}

/* Menu Mobile Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 24px 20px 110px;
  overflow-y: auto;
  border-top: 1px solid var(--slate-200);
}

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

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  background: var(--slate-50);
}

.mobile-nav-list a.sub-item {
  font-weight: 600;
  font-size: 0.9125rem;
  padding: 10px 14px 10px 24px;
  background: transparent;
  color: var(--slate-700);
  border-left: 2px solid var(--slate-200);
  border-radius: 0;
  margin-left: 10px;
}

/* ==========================================================================
   Hero Section (Visual Cinematográfico com Carro LED + CRLV Flutuante)
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 92% 88%, rgba(220, 38, 38, 0.42) 0%, rgba(201, 29, 36, 0.14) 24%, transparent 48%),
    radial-gradient(circle at 12% 30%, rgba(29, 78, 216, 0.32) 0%, transparent 48%),
    linear-gradient(125deg, #040B29 0%, #09174A 48%, #0E1F63 100%);
  color: var(--white);
  padding-block: 54px 66px;
  overflow: hidden;
}

.hero-car-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-18%);
  width: 390px;
  max-width: none;
  opacity: 0.92;
  mix-blend-mode: lighten;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: 36px;
  align-items: center;
}

.hero-left {
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 29, 77, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.32);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84375rem;
  font-weight: 600;
  color: #F1F5F9;
  margin-bottom: 18px;
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 3.85vw, 3.2rem);
  line-height: 1.09;
  margin-bottom: 22px;
  max-width: 620px;
}

.hero h1 span {
  color: #F25560;
}

/* Área intermediária: Texto com barra vermelha + botões à esquerda, CRLV flutuante à direita */
.hero-mid-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.hero-lead {
  font-size: 0.96875rem;
  color: #E2E8F0;
  line-height: 1.62;
  padding-left: 16px;
  border-left: 3px solid #E0242B;
  margin-bottom: 24px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.hero-cta-row .btn {
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.hero-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-btn-arrow {
  display: none;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  margin-left: auto;
  opacity: 0.9;
}

.hero-btn-urgent {
  text-align: left;
  line-height: 1.2;
}

/* Cartão CRLV Flutuante na Hero */
.hero-crlv-wrap {
  position: relative;
  width: 248px;
  margin-left: auto;
  padding-bottom: 26px;
  padding-right: 18px;
}

.hero-crlv-card {
  background: linear-gradient(180deg, rgba(220, 245, 232, 0.95) 0%, rgba(196, 234, 214, 0.92) 100%);
  border: 1.5px solid rgba(125, 211, 252, 0.65);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(2, 6, 23, 0.55), 0 0 26px rgba(56, 189, 248, 0.28);
  transform: perspective(700px) rotateY(-8deg) rotateX(3deg);
}

.hero-crlv-head {
  background: linear-gradient(90deg, #0D5E38 0%, #0B4A2E 100%);
  padding: 10px 12px;
  color: var(--white);
}

.hero-crlv-head-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hero-crlv-head-top small {
  display: block;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #D1FAE5;
  line-height: 1.25;
}

.hero-crlv-head-sub {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 5px;
}

.hero-crlv-body {
  padding: 12px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  align-items: start;
  min-height: 132px;
}

.hero-crlv-lines span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(15, 118, 110, 0.22);
  margin-bottom: 8px;
}

.hero-crlv-lines span:nth-child(2) { width: 78%; }
.hero-crlv-lines span:nth-child(3) { width: 92%; }
.hero-crlv-lines span:nth-child(4) { width: 65%; }
.hero-crlv-lines span:nth-child(5) { width: 85%; }

.hero-crlv-qr {
  background: var(--white);
  padding: 5px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hero-crlv-shield {
  position: absolute;
  right: 0;
  top: 78px;
  width: 60px;
  height: 68px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  z-index: 3;
}

.hero-crlv-pill {
  position: absolute;
  left: 16px;
  right: 6px;
  bottom: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-950);
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 14px 28px rgba(4, 9, 30, 0.4);
}

.hero-crlv-pill strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-950);
}

.hero-crlv-pill-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #16A34A;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #E2E8F0;
}

.hero-trust-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #16A34A;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Card de Conversão / Cotação Expressa no Hero */
.lead-card {
  background: var(--white);
  color: var(--slate-800);
  border-radius: 20px;
  padding: 26px 26px 22px;
  box-shadow: 0 24px 56px rgba(4, 9, 30, 0.48);
  border-top: 4px solid var(--red-600);
  width: 100%;
  max-width: 430px;
  justify-self: end;
}

.form-privacy-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 12px;
  line-height: 1.45;
}

.form-privacy-row a {
  color: var(--navy-800);
  text-decoration: underline;
}

@media (max-width: 1120px) {
  .hero-mid-row {
    grid-template-columns: 1fr;
  }

  .hero-crlv-wrap {
    display: none;
  }
}

.lead-card-header {
  margin-bottom: 20px;
}

.lead-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wa-700);
  background: var(--wa-50);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.lead-card h2 {
  font-size: 1.375rem;
  color: var(--navy-950);
  margin-bottom: 4px;
}

.lead-card p {
  font-size: 0.875rem;
  color: var(--slate-600);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  color: var(--slate-900);
  font-size: 0.9375rem;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 40, 112, 0.12);
}

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

.form-privacy {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: 10px;
}

.form-privacy a {
  color: var(--navy-800);
  text-decoration: underline;
}

/* ==========================================================================
   Faixa de Urgência / Métricas de Autoridade
   ========================================================================== */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding-block: 28px;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.red {
  background: var(--red-600);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-950);
  line-height: 1.15;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--slate-600);
  line-height: 1.3;
}

/* ==========================================================================
   Cards de Serviços (Grid Moderno)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

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

.service-card.featured {
  border: 2px solid var(--red-600);
  background: linear-gradient(180deg, #FFFBFB 0%, #FFFFFF 100%);
}

.service-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--red-600);
  color: var(--white);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-50);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card.featured .service-icon {
  background: var(--red-50);
  color: var(--red-600);
}

.service-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy-800);
}

.service-link:hover {
  color: var(--red-600);
}

.service-wa-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--wa-600);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.28);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.service-wa-mini svg {
  width: 21px;
  height: 21px;
}

.service-wa-mini:hover {
  background: var(--wa-700);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.36);
}

/* ==========================================================================
   Seção "Por que escolher o Despachante Bordon?" (Layout Premium CRV Brasil)
   ========================================================================== */
.why-bordon-section {
  position: relative;
  background: radial-gradient(circle at 18% 42%, rgba(56, 189, 248, 0.14) 0%, rgba(16, 185, 129, 0.08) 26%, transparent 52%),
              linear-gradient(180deg, #F4F7FC 0%, #F8FAFD 100%);
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

/* Composição visual esquerda */
.why-visual {
  position: relative;
  padding: 28px 22px 46px 22px;
}

.why-backdrop {
  position: relative;
  border-radius: 28px;
  padding: 26px 26px 46px 26px;
  background:
    radial-gradient(circle at 85% 22%, rgba(59, 130, 246, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 16% 78%, rgba(16, 185, 129, 0.45) 0%, transparent 42%),
    linear-gradient(145deg, #092056 0%, #0D2D72 48%, #071944 100%);
  box-shadow: 0 24px 52px rgba(9, 25, 68, 0.22);
}

/* Cartão CRV / CRLV-e Digital */
.crv-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #EFF7F2 0%, #E5F2EA 100%);
  border-radius: 18px;
  border: 2px solid #22A05B;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(5, 14, 38, 0.35);
}

.crv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: linear-gradient(90deg, #0D7A43 0%, #0A5E34 100%);
  color: var(--white);
}

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

.crv-seal {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crv-republic {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #D1FAE5;
  line-height: 1.2;
}

.crv-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

.crv-header-right {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.3;
  color: #E2F8EC;
  text-align: left;
  flex-shrink: 0;
}

.crv-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crv-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.crv-row-3 {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.85fr;
  gap: 8px;
}

.crv-row-bottom {
  display: grid;
  grid-template-columns: 1.45fr 0.78fr;
  gap: 8px;
}

.crv-box {
  background: var(--white);
  border-radius: 9px;
  padding: 8px 10px;
  border: 1px solid #D1E7DA;
}

.crv-label {
  display: block;
  font-size: 0.53rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #15803D;
  margin-bottom: 2px;
}

.crv-val {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.25;
}

.crv-val-sub {
  display: block;
  font-size: 0.62rem;
  color: var(--slate-600);
  margin-top: 2px;
}

.crv-pill-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #16A34A;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.crv-qr-box {
  background: var(--white);
  border-radius: 9px;
  padding: 8px;
  border: 1px solid #D1E7DA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.crv-qr-box span {
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.crv-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #D6F5E3;
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  color: #0E6236;
  line-height: 1.25;
}

/* Placa Mercosul completa em destaque na frente */
.crv-mercosul-peek {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 158px;
  background: var(--white);
  border-radius: 9px;
  border: 2px solid #CBD5E1;
  box-shadow: 0 14px 30px rgba(5, 14, 38, 0.38);
  overflow: hidden;
  z-index: 7;
}

.crv-mercosul-top {
  height: 20px;
  background: #0038A8;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 38px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.crv-mercosul-body {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px 7px;
  background: var(--white);
}

.crv-mercosul-br {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  color: #0038A8;
}

.crv-mercosul-code {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0B1238;
  line-height: 1;
}

/* Cards flutuantes brancos */
.why-float-card {
  position: absolute;
  z-index: 4;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(11, 18, 56, 0.16);
}

.why-float-exp {
  top: 0;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px 12px 14px;
  border-left: 4px solid var(--red-600);
  max-width: 215px;
}

.why-float-exp strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.2;
}

.why-float-exp span {
  display: block;
  font-size: 0.72rem;
  color: var(--slate-600);
  line-height: 1.3;
  margin-top: 2px;
}

.why-float-speed {
  top: 38%;
  left: -4px;
  padding: 12px 14px;
  border-left: 4px solid var(--red-600);
  text-align: center;
  min-width: 86px;
}

.why-float-speed strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.2;
  margin-top: 4px;
}

.why-float-trust {
  right: 0;
  bottom: 132px;
  padding: 12px 14px;
  text-align: center;
  min-width: 108px;
}

.why-float-trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.2;
  margin-top: 5px;
}

/* Barra inferior azul-marinho flutuante */
.why-bottom-banner {
  position: absolute;
  left: 16px;
  right: 34px;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 158px 16px 22px;
  border-radius: 18px;
  background: linear-gradient(90deg, #0D255C 0%, #09183E 100%);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(7, 20, 54, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.why-banner-divider {
  width: 3px;
  height: 36px;
  border-radius: 3px;
  background: var(--red-600);
  flex-shrink: 0;
}

.why-bottom-banner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.why-bottom-banner span {
  display: block;
  font-size: 0.84375rem;
  color: #CBD5E1;
  margin-top: 2px;
}

/* Coluna direita (Texto + Underline Vermelho + Checks Vermelhos Sólidos) */
.why-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E4EAF7;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.why-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  line-height: 1.12;
  color: var(--navy-950);
  margin-bottom: 22px;
}

.why-underline {
  position: relative;
  display: inline-block;
}

.why-underline svg {
  position: absolute;
  left: -4px;
  right: -6px;
  bottom: -10px;
  width: calc(100% + 10px);
  height: 14px;
  pointer-events: none;
}

.why-lead {
  font-size: 1.03125rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 24px;
}

.why-check-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.why-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.55;
}

.why-check-list strong {
  color: var(--navy-950);
}

.why-check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-600);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 4px 10px rgba(201, 29, 36, 0.25);
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.why-actions .btn {
  padding: 15px 24px;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .why-visual {
    padding: 18px 6px 52px 6px;
  }

  .why-backdrop {
    padding: 16px 14px 40px 14px;
  }

  .why-float-speed {
    display: none;
  }

  .why-float-trust {
    bottom: 108px;
    padding: 8px 10px;
    min-width: 88px;
  }

  .why-float-exp {
    right: 0;
    padding: 8px 10px;
    max-width: 180px;
  }

  .why-bottom-banner {
    left: 6px;
    right: 6px;
    padding: 12px 14px;
  }

  .why-actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Seção Split com Imagem (Documentos CRV, Sobre, Empresas)
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split-media-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(11, 18, 56, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-left: 4px solid var(--red-600);
}

.split-media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.split-media-badge span {
  font-size: 0.8125rem;
  color: #CBD5E1;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: 24px 30px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96875rem;
  color: var(--slate-700);
}

.check-list svg {
  width: 22px;
  height: 22px;
  color: var(--red-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Como Funciona — Timeline Horizontal Clean & Moderna (Quadro a Quadro)
   ========================================================================== */
.timeline-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #F3F6FC 0%, #F3F6FC 14%, transparent 14.2%),
    linear-gradient(315deg, #F3F6FC 0%, #F3F6FC 16%, transparent 16.2%),
    #FFFFFF;
  color: var(--slate-800);
}

/* Detalhe geométrico angular vermelho e azul-marinho no canto inferior direito */
.timeline-section::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 240px;
  height: 110px;
  background: linear-gradient(155deg, transparent 46%, #CC0E18 46.5%, #CC0E18 68%, #0A1D56 68.5%);
  pointer-events: none;
  z-index: 1;
}

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

.timeline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FDECEC;
  color: #C91D24;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(201, 29, 36, 0.08);
}

.timeline-section .section-title {
  color: #0B1742;
}

.timeline-section .section-title span {
  color: #C91D24;
}

.timeline-section .section-subtitle {
  color: var(--slate-600);
}

.timeline {
  position: relative;
  padding-top: 12px;
}

/* Linha horizontal base + progresso animado (Desktop) */
.timeline-track {
  position: absolute;
  top: 41px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  z-index: 1;
}

.timeline-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #C91D24 0%, #F87171 54%, #22C55E 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.timeline.is-visible .timeline-progress {
  transform: scaleX(1);
}

.timeline-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  --step-delay: 0.15s;
}

.timeline-step:nth-child(2) { --step-delay: 0.55s; }
.timeline-step:nth-child(3) { --step-delay: 0.95s; }
.timeline-step:nth-child(4) { --step-delay: 1.35s; }

/* Nó numerado na linha do tempo */
.timeline-node {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0B1742;
  border: 3px solid #E0242B;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  margin-bottom: 24px;
  box-shadow: 0 0 0 6px #FFFFFF, 0 8px 20px rgba(11, 23, 66, 0.16);
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 0.45s ease var(--step-delay),
              transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) var(--step-delay),
              border-color var(--transition),
              background-color var(--transition);
}

.timeline-step:nth-child(4) .timeline-node {
  border-color: #16A34A;
}

.timeline-node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(224, 36, 43, 0.45);
  opacity: 0;
  transform: scale(0.85);
}

.timeline-step:nth-child(4) .timeline-node::after {
  border-color: rgba(22, 163, 74, 0.5);
}

.timeline.is-visible .timeline-node {
  opacity: 1;
  transform: scale(1);
}

.timeline.is-visible .timeline-node::after {
  animation: timelineNodeRing 1.1s ease-out calc(var(--step-delay) + 0.1s) 1 forwards;
}

@keyframes timelineNodeRing {
  0% {
    opacity: 0.9;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
  }
}

/* Card clean branco com borda inferior colorida */
.timeline-card {
  width: 100%;
  flex-grow: 1;
  background: var(--white);
  border: 1px solid #EEF2F7;
  border-bottom: 3px solid #C91D24;
  border-radius: 18px;
  padding: 26px 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease calc(var(--step-delay) + 0.14s),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--step-delay) + 0.14s),
              box-shadow var(--transition),
              border-color var(--transition);
}

.timeline-step:nth-child(2) .timeline-card {
  border-bottom-color: #1D4ED8;
}

.timeline-step:nth-child(4) .timeline-card {
  border-bottom-color: #16A34A;
}

.timeline.is-visible .timeline-card {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step:hover .timeline-card {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(11, 23, 66, 0.11);
}

.timeline-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: #FEF2F2;
  color: #C91D24;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease calc(var(--step-delay) + 0.24s),
              transform 0.45s ease calc(var(--step-delay) + 0.24s);
}

.timeline-step:nth-child(2) .timeline-icon {
  background: #EFF6FF;
  color: #1D4ED8;
}

.timeline-step:nth-child(4) .timeline-icon {
  background: #ECFDF5;
  color: #16A34A;
}

.timeline-card h3 {
  font-size: 1.0625rem;
  color: #0B1742;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease calc(var(--step-delay) + 0.32s),
              transform 0.45s ease calc(var(--step-delay) + 0.32s);
}

.timeline-card p {
  color: var(--slate-600);
  font-size: 0.8875rem;
  line-height: 1.58;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease calc(var(--step-delay) + 0.4s),
              transform 0.45s ease calc(var(--step-delay) + 0.4s);
}

.timeline.is-visible .timeline-icon,
.timeline.is-visible .timeline-card h3,
.timeline.is-visible .timeline-card p {
  opacity: 1;
  transform: translateY(0);
}

.timeline-cta {
  text-align: center;
  margin-top: 38px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease 1.75s, transform 0.55s ease 1.75s;
}

.timeline-cta .btn {
  border-radius: var(--radius-full);
  padding: 15px 30px;
}

.timeline.is-visible .timeline-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .timeline-progress,
  .timeline-node,
  .timeline-card,
  .timeline-icon,
  .timeline-card h3,
  .timeline-card p,
  .timeline-cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Seção Pessoa Física & Empresas (Background Nítido 1:1 + Dark Glassmorphism)
   ========================================================================== */
.pfpj-section {
  position: relative;
  background-color: #001A55;
  background-image:
    linear-gradient(90deg, #001A55 0%, #001A55 24%, rgba(0, 26, 85, 0.88) 42%, rgba(0, 26, 85, 0.22) 58%, rgba(0, 26, 85, 0) 74%),
    url('../img/pf-pj-bg.jpg');
  background-size: cover, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat;
  color: var(--white);
  padding-block: 52px;
  overflow: hidden;
}

.pfpj-inner {
  position: relative;
  z-index: 2;
  max-width: 550px;
}

.pfpj-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 29, 36, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.42);
  color: #FCA5A5;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pfpj-title {
  font-size: clamp(1.8rem, 2.75vw, 2.35rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 14px;
  text-wrap: balance;
}

.pfpj-title span {
  color: #F85A64;
}

.pfpj-lead {
  font-size: 0.9375rem;
  color: #DCE5F7;
  line-height: 1.58;
  padding-left: 14px;
  border-left: 3px solid #E0242B;
  margin-bottom: 20px;
  text-align: justify;
}

.pfpj-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.pfpj-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(4, 18, 58, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  padding: 11px 14px;
  box-shadow: 0 8px 22px rgba(2, 8, 28, 0.3);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.pfpj-card:hover {
  transform: translateX(4px);
  border-color: rgba(248, 113, 113, 0.48);
  background: rgba(8, 26, 78, 0.88);
}

.pfpj-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #DC1E26 0%, #A8141A 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(204, 14, 24, 0.35);
}

.pfpj-icon.navy {
  background: linear-gradient(135deg, #1E3A8A 0%, #102463 100%);
  border: 1px solid rgba(147, 197, 253, 0.32);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.4);
}

.pfpj-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1px;
}

.pfpj-card span {
  display: block;
  font-size: 0.825rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.btn-pfpj {
  background: linear-gradient(135deg, #DC1E26 0%, #B3151C 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 26px rgba(201, 29, 36, 0.4);
}

.btn-pfpj:hover {
  background: linear-gradient(135deg, #E6242C 0%, #C21820 100%);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .pfpj-section {
    background-image:
      linear-gradient(180deg, rgba(0, 26, 85, 0.88) 0%, rgba(0, 26, 85, 0.84) 100%),
      url('../img/pf-pj-bg.jpg');
    background-size: cover, cover;
    background-position: center, center;
    padding-block: 56px;
  }

  .pfpj-inner {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .btn-pfpj {
    width: 100%;
  }
}

/* ==========================================================================
   Depoimentos / Prova Social
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.stars {
  color: #F59E0B;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-meta strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy-950);
}

.author-meta span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQ Accordion Nativo (<details>) — Zero JS Overhead
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03125rem;
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--red-600);
  line-height: 1;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.68;
}

/* ==========================================================================
   Banner CTA Final & Localização
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 65%, var(--red-700) 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 10px;
}

.cta-box p {
  color: #E2E8F0;
  font-size: 1.03125rem;
  max-width: 580px;
}

.cta-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Page Hero (Páginas Internas & Landing Pages de Serviços)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding-block: 48px 56px;
  border-bottom: 4px solid var(--red-600);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84375rem;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: #DCE3F5;
  font-size: 1.09375rem;
  max-width: 680px;
}

/* Cards de Informação / Contato */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
}

.info-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.info-card p, .info-card a {
  font-size: 0.9375rem;
  color: var(--slate-600);
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: #CBD5E1;
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-logo img {
  height: 92px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.14));
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #CBD5E1;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: #F87171;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.8125rem;
  color: #94A3B8;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #94A3B8;
}

.footer-dev a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-dev a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer-dev img {
  height: 20px;
  width: auto;
  display: block;
  object-fit: contain;
  vertical-align: middle;
}

/* ==========================================================================
   Botão Flutuante WhatsApp (Desktop) & Sticky Conversion Bar (Mobile)
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--wa-600);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.42);
  transition: transform var(--transition), background-color var(--transition);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa-600);
  z-index: -1;
  animation: waPulse 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.wa-float:hover {
  background: var(--wa-700);
  transform: translateY(-3px) scale(1.06);
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before {
    animation: none;
  }
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -6px 20px rgba(11, 18, 56, 0.1);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.875rem;
}

/* Banner LGPD / Cookies discreto */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 24px;
  max-width: 420px;
  background: var(--navy-950);
  color: #E2E8F0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 960;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.cookie-banner a {
  color: #FCA5A5;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Responsividade (Tablet & Mobile — Core Web Vitals Mobile-First Ready)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lead-card {
    max-width: 100%;
    justify-self: stretch;
  }

  .services-grid,
  .testimonials-grid,
  .info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Timeline responsiva (vertical conectada em tablets e celulares) */
  .timeline-track {
    top: 28px;
    bottom: 28px;
    left: 29px;
    right: auto;
    width: 4px;
    height: auto;
  }

  .timeline-progress {
    transform: scaleY(0);
    transform-origin: top center;
    background: linear-gradient(180deg, var(--red-500) 0%, #F87171 50%, #4ADE80 100%);
  }

  .timeline.is-visible .timeline-progress {
    transform: scaleY(1);
  }

  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }

  .timeline-node {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .timeline-icon {
    margin: 0 0 12px;
  }

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

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

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }
}

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .header-inner {
    height: 74px;
    gap: 10px;
  }

  .brand-logo {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo img {
    height: 48px;
  }

  .brand-text {
    display: flex;
    padding-left: 10px;
    border-left: 1px solid var(--slate-300);
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .mobile-menu-btn {
    border-radius: 10px;
    flex-shrink: 0;
  }

  .nav-desktop,
  .header-actions .btn-wa {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .section {
    padding-block: 52px;
  }

  .services-grid,
  .steps-grid,
  .testimonials-grid,
  .info-cards-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Hero Mobile Idêntica à Referência */
  .hero {
    padding-block: 24px 44px;
  }

  .hero-car-bg {
    top: 76px;
    left: auto;
    right: -48px;
    transform: none;
    width: 245px;
    opacity: 0.88;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
    padding: 8px 12px;
    margin-bottom: 22px;
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7.6vw, 2.25rem);
    line-height: 1.12;
    margin-bottom: 18px;
    max-width: 82%;
  }

  .hero-lead {
    font-size: 0.9375rem;
    margin-bottom: 24px;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-row .btn {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding: 15px 18px;
    border-radius: 14px;
    gap: 14px;
    font-size: 0.95rem;
    white-space: normal;
  }

  .hero-btn-icon {
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
  }

  .hero-btn-icon svg {
    width: 24px;
    height: 24px;
  }

  .hero-btn-label {
    text-align: left;
  }

  .hero-btn-arrow {
    display: inline-block;
  }

  .hero-trust-list,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .lead-card {
    padding: 22px 18px;
  }

  /* Prevenir overflow em botões e containers no mobile */
  .btn {
    white-space: normal;
    max-width: 100%;
    min-width: 0;
  }

  .cta-box {
    padding: 30px 20px;
  }

  .cta-box-actions,
  .cta-box-actions .btn {
    width: 100%;
  }

  .wa-float {
    display: inline-flex;
    right: 18px;
    bottom: 20px;
    width: 58px;
    height: 58px;
  }

  .mobile-sticky-bar {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }

  .cookie-banner {
    left: 12px;
    right: 88px;
    bottom: 18px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

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

  .brand-logo img {
    height: 44px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-sub {
    font-size: 0.6rem;
  }

  .hero h1 {
    max-width: 86%;
  }

  .crv-row-2,
  .crv-row-3,
  .crv-row-bottom {
    grid-template-columns: 1fr;
  }

  .crv-mercosul-peek {
    display: none;
  }

  .why-float-exp,
  .why-float-trust {
    display: none;
  }

  .why-bottom-banner {
    position: relative;
    left: 0;
    right: 0;
    margin-top: 14px;
  }

  .why-visual {
    padding: 0;
  }
}

/* ==========================================================================
   Animações de Scroll Reveal & Micro-interações (GPU 60fps / Core Web Vitals)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hover enriquecido em cards */
.service-card .service-icon,
.stat-item .stat-icon,
.pfpj-card .pfpj-icon {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}

.service-card:hover .service-icon,
.stat-item:hover .stat-icon,
.pfpj-card:hover .pfpj-icon {
  transform: scale(1.08) rotate(-3deg);
}

.stat-item,
.testimonial-card,
.info-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease;
}

.stat-item:hover,
.testimonial-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-700);
}

/* Levitação sutil no CRLV da Hero e nos cards flutuantes */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.hero-crlv-wrap {
  animation: floatGentle 5.5s ease-in-out infinite;
}

.why-float-exp {
  animation: floatGentle 5s ease-in-out infinite;
}

.why-float-speed {
  animation: floatGentle 6s ease-in-out 0.8s infinite;
}

.why-float-trust {
  animation: floatGentle 5.4s ease-in-out 1.4s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-crlv-wrap,
  .why-float-exp,
  .why-float-speed,
  .why-float-trust,
  .btn::after {
    animation: none !important;
    transition: none !important;
  }
}
