@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');
/* Design tokens — Portal do ANTT (paleta institucional FrotaSimples) */
:root {
  /* Cores institucionais */
  --color-primary: #0056B3;
  --color-primary-dark: #004494;
  --color-primary-light: #E8F1FB;

  --color-success: #00B32A;
  --color-success-dark: #009622;

  --color-warning: #FFB000;
  --color-danger: #DC3545;

  /* Texto */
  --color-text: #1F2937;
  --color-text-soft: #4B5563;
  --color-text-muted: #7A7A7A;

  /* Fundos */
  --color-bg: #FFFFFF;
  --color-bg-soft: #F8F9FA;
  --color-bg-muted: #F1F3F5;
  --color-bg-dark: #1F2937;

  /* Bordas */
  --color-border: #E5E7EB;
  --color-border-soft: #F1F3F5;

  /* Tipografia */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Espacamento */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Borda */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

  /* Transicoes */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET BASICO
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  color: var(--color-text);
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
p { margin: 0 0 var(--sp-4); }
ul { padding-left: var(--sp-6); margin: 0 0 var(--sp-4); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
.section { padding: var(--sp-16) 0; }
.section-soft { background: var(--color-bg-soft); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
}

/* Top bar dark gradient */
.header-topbar {
  background: linear-gradient(to right, #0f172a, #1e293b, #0f172a);
  color: white;
  font-size: var(--fs-sm);
  padding: 6px 0;
}
.header-topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--sp-5);
}
.header-topbar a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  transition: color var(--transition);
}
.header-topbar a:hover { color: white; text-decoration: none; }

/* Botao amber pulsante (WhatsApp 0800) */
.header-topbar-wa {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 14px;
  background: #f59e0b;
  color: white !important;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.header-topbar-wa:hover {
  background: #fbbf24;
  color: white !important;
  transform: translateY(-1px);
  text-decoration: none;
}
.header-topbar-wa svg { width: 14px; height: 14px; }
.header-topbar-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: #f59e0b;
  z-index: -1;
  animation: pulse-amber 2s ease-out infinite;
}
@keyframes pulse-amber {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Hide topbar on mobile */
@media (max-width: 767px) {
  .header-topbar { display: none; }
}

/* Navbar branca */
.header-main {
  background: white;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.header-main > .container {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
}
.header-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-xl);
  color: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.header-logo:hover { text-decoration: none; }

/* Centro da navbar */
.header-nav {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  flex: 1;
  justify-content: center;
}
.header-nav > a,
.header-nav .nav-dropdown-trigger {
  color: var(--color-text);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  text-decoration: none;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  transition: all var(--transition);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.header-nav > a:hover,
.header-nav .nav-dropdown-trigger:hover {
  color: var(--color-primary);
  background: var(--color-bg-soft);
  text-decoration: none;
}

/* Dropdown wrapper */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.nav-dropdown.is-open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

/* Painel glassmorphism */
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 340px;
  background: rgba(15, 23, 42, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  padding: var(--sp-3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 101;
}
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-panel[hidden] { display: none; }
.nav-dropdown.is-open .nav-dropdown-panel[hidden] { display: block; }

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition);
}
.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
.nav-dropdown-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 179, 42, 0.5);
}
.nav-dropdown-text h4 {
  color: white;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin: 0 0 2px;
  font-family: var(--font-primary);
  transition: color var(--transition);
}
.nav-dropdown-item:hover .nav-dropdown-text h4 { color: var(--color-success); }
.nav-dropdown-text p {
  color: rgba(203, 213, 225, 0.8);
  font-size: var(--fs-xs);
  margin: 0;
  line-height: 1.4;
}
.nav-dropdown-footer {
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  margin-top: var(--sp-2);
  padding: var(--sp-3) var(--sp-4) var(--sp-2);
}
.nav-dropdown-footer a {
  color: var(--color-success);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}
.nav-dropdown-footer a:hover {
  color: #00d433;
  text-decoration: none;
}

/* Fallback sem backdrop-filter */
@supports not (backdrop-filter: blur(16px)) {
  .nav-dropdown-panel { background: rgba(15, 23, 42, 0.98); }
}

/* Lado direito da navbar */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Botao circular WhatsApp na navbar */
.header-cta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.header-cta-wa:hover {
  background: #20bd5a;
  transform: scale(1.05);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.header-cta-wa svg { width: 20px; height: 20px; }

/* Menu mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--sp-2);
  color: var(--color-text);
  cursor: pointer;
  border-radius: var(--radius);
}
.menu-toggle:hover { background: var(--color-bg-soft); }
.menu-toggle svg { width: 24px; height: 24px; }

/* Tablet & mobile breakpoint */
@media (max-width: 900px) {
  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: var(--sp-4);
    left: auto;
    width: 280px;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-3);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: 4px;
    border-radius: var(--radius-lg);
    z-index: 101;
    flex: none;
  }
  .header-nav.is-open { display: flex; }
  .header-nav > a,
  .header-nav .nav-dropdown-trigger {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
  .menu-toggle { display: block; }
  .header-cta-wa { display: none; }

  /* Dropdown mobile: inline (nao absolute) */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-panel {
    position: static;
    transform: none !important;
    width: 100%;
    margin-top: var(--sp-2);
    background: var(--color-bg-soft);
    border-color: var(--color-border);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: var(--sp-2);
  }
  .nav-dropdown.is-open .nav-dropdown-panel {
    transform: none;
  }
  .nav-dropdown-item:hover { background: var(--color-bg-muted); }
  .nav-dropdown-text h4 { color: var(--color-text); }
  .nav-dropdown-item:hover .nav-dropdown-text h4 { color: var(--color-primary); }
  .nav-dropdown-text p { color: var(--color-text-soft); }
  .nav-dropdown-footer { border-top-color: var(--color-border); }
  .nav-dropdown-footer a { color: var(--color-primary); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  text-decoration: none;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover { background: var(--color-primary-dark); color: white; }
.btn-success {
  background: var(--color-success);
  color: white;
}
.btn-success:hover { background: var(--color-success-dark); color: white; }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: white; }
.btn-lg { padding: var(--sp-4) var(--sp-8); font-size: var(--fs-lg); }
.btn-block { width: 100%; }

/* ============================================
   HERO (dark gradient + orbs glassmorphism)
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: white;
  padding: 5rem 0 6rem;
  isolation: isolate;
}
.hero .container { position: relative; z-index: 2; }

/* Orbs decorativos (fundo) */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(96px);
  -webkit-filter: blur(96px);
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}
.hero-orb--tr {
  top: -6rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  background: rgba(0, 86, 179, 0.28);
}
.hero-orb--bl {
  bottom: -5rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(37, 99, 235, 0.18);
}
.hero-orb--center {
  top: 30%;
  left: 30%;
  width: 32rem;
  height: 32rem;
  background: rgba(0, 86, 179, 0.12);
}

/* Layout 2 colunas */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--sp-16);
  }
}

.hero-content { color: white; }

/* Badge glassmorphism */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: white;
  margin-bottom: var(--sp-6);
}
.hero-badge svg {
  width: 16px;
  height: 16px;
}

/* Heading e subtitle */
.hero h1 {
  color: white;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin: 0 0 var(--sp-6);
  letter-spacing: -0.02em;
}
.hero h1 span { display: block; }
.hero .lead {
  font-size: var(--fs-xl);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 var(--sp-8);
  max-width: 600px;
}

/* CTAs do hero */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
}
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
.hero-actions .btn-success {
  font-size: var(--fs-lg);
  padding: var(--sp-4) var(--sp-8);
  box-shadow: 0 10px 30px rgba(0, 179, 42, 0.35);
}
.hero-actions .hero-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color var(--transition);
}
.hero-actions .hero-link:hover {
  color: var(--color-success);
  text-decoration: none;
}

/* Trust signals inline */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-8);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* Card glassmorphism (coluna direita) */
.hero-visual { position: relative; }
.hero-card-access {
  position: relative;
  background: rgba(30, 41, 59, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.hero-card-access::before {
  content: '';
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}
.hero-card-access > * { position: relative; z-index: 1; }
.hero-card-access h3 {
  color: white;
  font-size: var(--fs-2xl);
  text-align: center;
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
}
.hero-card-access > p {
  color: rgba(203, 213, 225, 1);
  text-align: center;
  margin: 0 0 var(--sp-6);
  font-size: var(--fs-sm);
}
.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.hero-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid rgba(71, 85, 105, 0.5);
  background: rgba(51, 65, 85, 0.35);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  color: white;
}
.hero-card-link:hover {
  border-color: var(--color-success);
  background: rgba(0, 179, 42, 0.1);
  text-decoration: none;
  transform: translateY(-1px);
}
.hero-card-link-text h4 {
  color: white;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin: 0 0 4px;
  font-family: var(--font-primary);
  transition: color var(--transition);
}
.hero-card-link:hover .hero-card-link-text h4 { color: var(--color-success); }
.hero-card-link-text p {
  color: rgba(148, 163, 184, 1);
  font-size: var(--fs-xs);
  margin: 0;
}
.hero-card-link-arrow {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
}
.hero-card-footer {
  text-align: center;
  margin-top: var(--sp-6);
}
.hero-card-footer a {
  color: var(--color-success);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
}
.hero-card-footer a:hover {
  color: #00d433;
  text-decoration: none;
}

/* Fallback sem backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
  .hero-badge { background: rgba(255, 255, 255, 0.18); }
  .hero-card-access { background: rgba(30, 41, 59, 0.92); }
}

/* Mobile: orbs menores e hero compacto */
@media (max-width: 768px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero-orb { filter: blur(60px); -webkit-filter: blur(60px); }
  .hero-orb--center { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: var(--fs-base); }
  .hero-card-access { padding: var(--sp-6); }
}

/* ============================================
   HERO INTERNAL (paginas internas)
   ============================================ */
.hero-internal {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: white;
  padding: var(--sp-12) 0 var(--sp-10);
  isolation: isolate;
  text-align: center;
}
.hero-internal .container { position: relative; z-index: 2; }
.hero-internal::before {
  content: '';
  position: absolute;
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: rgba(0, 86, 179, 0.18);
  filter: blur(96px);
  -webkit-filter: blur(96px);
  pointer-events: none;
  z-index: 1;
}
.hero-internal .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-4);
}
.hero-internal .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.hero-internal .breadcrumb a:hover { color: white; }
.hero-internal .breadcrumb-sep { opacity: 0.5; }
.hero-internal h1 {
  color: white;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.01em;
}
.hero-internal .subtitle,
.hero-internal .lead {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .hero-internal { padding: var(--sp-10) 0 var(--sp-8); }
  .hero-internal::before { filter: blur(60px); -webkit-filter: blur(60px); }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--sp-12);
}
.section-header .eyebrow {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-3);
}
.section-header h2 { margin-bottom: var(--sp-3); }
.section-header p { color: var(--color-text-soft); font-size: var(--fs-lg); }

/* ============================================
   CARDS DE SERVICO
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
}
.service-card-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}
.service-card p {
  color: var(--color-text-soft);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-4);
  flex-grow: 1;
}
.service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

/* ============================================
   FEATURES (diferenciais)
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}
.feature {
  text-align: center;
  padding: var(--sp-6);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-success);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  transition: all var(--transition);
}
.feature:hover .feature-icon {
  background: rgba(0, 179, 42, 0.1);
  color: var(--color-success);
}
.feature-icon svg { width: 32px; height: 32px; }
.feature h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.feature p { color: var(--color-text-soft); font-size: var(--fs-sm); margin: 0; }

/* ============================================
   INSTITUTIONAL CONTENT (sobre, termos, etc.)
   ============================================ */
.institutional-content h2 {
  font-size: var(--fs-2xl);
  color: var(--color-text);
  margin: var(--sp-10) 0 var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--color-primary-light);
  position: relative;
}
.institutional-content h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-primary);
}
.institutional-content h2:first-child { margin-top: 0; }
.institutional-content h3 {
  font-size: var(--fs-xl);
  color: var(--color-primary);
  margin: var(--sp-6) 0 var(--sp-3);
}
.institutional-content p {
  color: var(--color-text-soft);
  font-size: var(--fs-base);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.institutional-content ul {
  margin: 0 0 var(--sp-4) var(--sp-2);
  padding-left: var(--sp-5);
}
.institutional-content li {
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
}
.institutional-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.institutional-content a:hover {
  color: var(--color-primary-dark);
}
.institutional-content strong {
  color: var(--color-text);
  font-weight: var(--fw-semibold);
}
.institutional-content .btn {
  text-decoration: none;
}
.institutional-content .faq-item {
  margin-bottom: var(--sp-3);
}
.institutional-content .services-grid {
  margin-top: var(--sp-8);
}

/* ============================================
   SERVICE PAGE - DOCUMENTS
   ============================================ */
.service-description {
  font-size: var(--fs-lg);
  color: var(--color-text-soft);
  line-height: 1.7;
}
.documents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
}
@media (min-width: 768px) {
  .documents-grid { grid-template-columns: 1fr 1fr; }
}
.documents-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.documents-card-title {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  margin: 0 0 var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.documents-card-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 2px;
}
.documents-card ul {
  margin: 0;
  padding-left: var(--sp-5);
}
.documents-card li {
  color: var(--color-text-soft);
  margin-bottom: var(--sp-2);
  line-height: 1.5;
}

/* ============================================
   SOCIAL PROOF STATS
   ============================================ */
.stats-section {
  padding: var(--sp-16) 0;
  background: var(--color-bg);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
.stat-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--sp-2);
  display: block;
}
.stat-label {
  font-size: var(--fs-base);
  color: var(--color-text-soft);
  font-weight: var(--fw-medium);
  margin: 0;
}

/* ============================================
   HOW IT WORKS STEPS
   ============================================ */
.how-it-works {
  padding: var(--sp-16) 0;
  background: var(--color-bg-soft);
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  position: relative;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
}
@media (min-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
}
.step-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin: 0 auto var(--sp-4);
  box-shadow: 0 6px 16px rgba(0, 86, 179, 0.3);
}
.step-card h3 {
  font-size: var(--fs-lg);
  margin: 0 0 var(--sp-2);
  color: var(--color-text);
}
.step-card p {
  color: var(--color-text-soft);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.5;
}
.step-connector {
  display: none;
}
@media (min-width: 1024px) {
  .step-card:not(:last-child) .step-connector {
    display: block;
    position: absolute;
    top: 38px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
  }
  .step-card:not(:last-child) .step-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--color-border);
  }
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges-section {
  padding: var(--sp-16) 0;
  background: var(--color-bg);
}
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .trust-badges-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
}
.trust-badge {
  text-align: center;
  padding: var(--sp-6) var(--sp-3);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}
.trust-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
}
.trust-badge-icon svg { width: 28px; height: 28px; }
.trust-badge-icon--blue {
  background: rgba(0, 86, 179, 0.1);
  color: var(--color-primary);
}
.trust-badge-icon--green {
  background: rgba(0, 179, 42, 0.1);
  color: var(--color-success);
}
.trust-badge h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin: 0;
  color: var(--color-text);
}

/* ============================================
   FAQ (accordion)
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  font-weight: var(--fw-semibold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  font-size: var(--fs-base);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: var(--fs-2xl);
  font-weight: var(--fw-normal);
  color: var(--color-primary);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--color-text-soft);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--sp-16) 0 var(--sp-6);
  font-size: var(--fs-sm);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer a:hover { color: white; text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.footer-brand-logo svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.footer-brand-logo h3 {
  color: white;
  font-size: var(--fs-lg);
  margin: 0;
  font-family: var(--font-display);
}
.footer-brand-logo span {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-xs);
  display: block;
  margin-top: 2px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}
.footer-brand-shield {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-xs);
}
.footer-brand-shield svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer-col h4 {
  color: white;
  font-size: var(--fs-base);
  margin-bottom: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
}
.footer-col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 86, 179, 0.18);
  color: var(--color-primary);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.footer-col-icon svg { width: 16px; height: 16px; }
.footer-col-icon--green {
  background: rgba(0, 179, 42, 0.18);
  color: var(--color-success);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--sp-2); line-height: 1.5; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}
.footer-contact-row svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-row strong {
  color: white;
  display: block;
  font-weight: var(--fw-semibold);
}
.footer-contact-row span {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-xs);
}
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-6);
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.footer-disclaimer strong { color: rgba(255, 255, 255, 0.7); }

/* ============================================
   FORMS (multi-step)
   ============================================ */
.form-page {
  background: var(--color-bg-soft);
  min-height: 80vh;
  padding: var(--sp-12) 0;
}
.form-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}
.form-progress {
  background: var(--color-bg-muted);
  height: 8px;
  position: relative;
}
.form-progress-bar {
  background: var(--color-primary);
  height: 100%;
  width: 0%;
  transition: width var(--transition);
}
.form-content { padding: var(--sp-8); }
.form-step-label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-2);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-step h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-2);
}
.form-step > p {
  color: var(--color-text-soft);
  margin-bottom: var(--sp-6);
}
.form-field { margin-bottom: var(--sp-5); }
.form-field label {
  display: block;
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-2);
  color: var(--color-text);
}
.form-field label .required { color: var(--color-danger); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.form-field input.is-invalid,
.form-field select.is-invalid {
  border-color: var(--color-danger);
}
.form-field .error-msg {
  color: var(--color-danger);
  font-size: var(--fs-xs);
  margin-top: var(--sp-1);
  display: none;
}
.form-field.has-error .error-msg { display: block; }
.form-radio-group {
  display: flex;
  gap: var(--sp-3);
}
.form-radio-option {
  flex: 1;
  position: relative;
}
.form-radio-option input { position: absolute; opacity: 0; }
.form-radio-option label {
  display: block;
  text-align: center;
  padding: var(--sp-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: var(--fw-semibold);
}
.form-radio-option input:checked + label {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.form-checkbox {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
}
.form-checkbox input { width: auto; margin-top: 4px; }
.form-checkbox label { font-weight: var(--fw-normal); font-size: var(--fs-sm); }
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
}
.form-actions .btn-back {
  background: transparent;
  color: var(--color-text-soft);
  border: 1px solid var(--color-border);
}
.form-actions .btn-back:hover { background: var(--color-bg-soft); }
.form-actions .btn-next { margin-left: auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .form-content { padding: var(--sp-5); }
}
.form-step { display: none; }
.form-step.is-active { display: block; }

/* ============================================
   FINALIZATION PAGE
   ============================================ */
.finalization {
  background: var(--color-bg-soft);
  min-height: 80vh;
  padding: var(--sp-12) 0;
}
.finalization-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
  padding: var(--sp-10);
  text-align: center;
}
.finalization-icon {
  width: 80px;
  height: 80px;
  background: #d1fae5;
  color: var(--color-success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
}
.finalization-icon svg { width: 48px; height: 48px; }
.finalization h1 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-3);
  color: var(--color-text);
}
.finalization .summary {
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
  text-align: left;
}
.finalization .summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--color-border);
}
.finalization .summary-row:last-child { border-bottom: none; }
.finalization .summary-row .label {
  color: var(--color-text-soft);
  font-size: var(--fs-sm);
}
.finalization .summary-row .value {
  font-weight: var(--fw-semibold);
}
.finalization .price {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
  margin: var(--sp-4) 0;
  font-family: var(--font-display);
}
.finalization .info-list {
  text-align: left;
  margin: var(--sp-6) 0;
  padding: 0;
  list-style: none;
}
.finalization .info-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
  color: var(--color-text-soft);
  font-size: var(--sp-sm);
}
.finalization .info-list li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--fw-bold);
}

/* ============================================
   CTA SECTION (dark com orbs)
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: white;
  padding: var(--sp-20) 0;
  text-align: center;
  isolation: isolate;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 {
  color: white;
  margin-bottom: var(--sp-4);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
}
.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin: 0 auto var(--sp-8);
}
.cta-section .btn-success {
  font-size: var(--fs-lg);
  padding: var(--sp-4) var(--sp-8);
  box-shadow: 0 10px 30px rgba(0, 179, 42, 0.4);
}
.cta-section .btn-success:hover {
  box-shadow: 0 14px 36px rgba(0, 179, 42, 0.5);
}
@media (max-width: 768px) {
  .cta-section { padding: var(--sp-16) 0; }
}

/* ============================================
   WHATSAPP FLOATING
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  text-decoration: none;
  transition: transform var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.05); text-decoration: none; }
.whatsapp-fab svg { width: 32px; height: 32px; }

/* ============================================
   SCROLL-TRIGGERED ANIMATIONS
   (replicates framer-motion whileInView)

   Progressive enhancement: so aplica opacity:0
   quando JS carregou (html.js-loaded).
   Sem JS ou com erro: tudo visivel por padrao.
   ============================================ */
.js-loaded [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.js-loaded [data-animate].is-visible {
  opacity: 1;
  transform: none;
}
.js-loaded [data-animate="fade-in"] { transform: none; }
.js-loaded [data-animate="fade-right"] { transform: translateX(-20px); }
.js-loaded [data-animate="fade-right"].is-visible { transform: none; }
.js-loaded [data-animate="fade-left"] { transform: translateX(20px); }
.js-loaded [data-animate="fade-left"].is-visible { transform: none; }
.js-loaded [data-animate="scale-in"] { transform: scale(0.9); }
.js-loaded [data-animate="scale-in"].is-visible { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .js-loaded [data-animate],
  .js-loaded [data-animate].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
