/* ============================================================
   PRECATO — Premium Site CSS
   Stack: Pure CSS | Fonts: Outfit + Inter | Design: Fintech Premium
   Paleta: Azul Institucional #003B5C | Verde Conversão #00C781
   ============================================================ */

/* ─── 1. RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta Principal (Azul e Branco Elegante) */
  --blue-900:   #0B1B3D;
  --blue-800:   #1A365D;
  --blue-700:   #1E3A8A;   /* Primary Brand Blue */
  --blue-600:   #2563EB;
  --blue-500:   #3B82F6;
  --green-500:  #2563EB;   /* Mapeado p/ Azul p/ CTA */
  --green-400:  #3B82F6;
  --green-glow: rgba(37, 99, 235, 0.3);

  /* Neutros */
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-800:   #1E293B;
  --black:      #0F172A;

  /* Dark Section BG */
  --dark-bg:    #0F172A;
  --dark-card:  #1E293B;
  --dark-border:#334155;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 130px);
  --container:  1160px;

  /* Effects */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(0, 199, 129, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ─── 2. UTILITY ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── 3. REVEAL ANIMATIONS (inicial) ─── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  will-change: transform, opacity;
}

/* Aceleração de Hardware (GPU) */
.reveal-up    { transform: translate3d(0, 40px, 0); }
.reveal-left  { transform: translate3d(-50px, 0, 0); }
.reveal-right { transform: translate3d(50px, 0, 0); }

/* Mobile Optimizations - Movimentos curtos e proteção de layout */
@media (max-width: 768px) {
  .reveal-up    { transform: translate3d(0, 20px, 0); }
  .reveal-left  { transform: translate3d(-20px, 0, 0); }
  .reveal-right { transform: translate3d(20px, 0, 0); }
}

/* ─── 4. BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  background: var(--blue-500);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--blue-700);
  border-color: rgba(30, 58, 138, 0.35);
}
.btn-ghost:hover {
  background: rgba(30, 58, 138, 0.08);
  border-color: var(--blue-700);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.btn-sm  { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg  { padding: 16px 36px; font-size: 1.05rem; }
.btn-xl  { padding: 18px 44px; font-size: 1.15rem; }
.btn-full { width: 100%; }

/* ─── 5. SECTION SHARED STYLES ─── */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 14px;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue-700);
  margin-bottom: 20px;
}

.section-title em {
  font-style: normal;
  color: var(--green-500);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.dark-section .section-title { color: var(--gray-800); }
.dark-section .section-subtitle { color: var(--gray-600); }

.cta-center { text-align: center; margin-top: 60px; }

/* ─── 6. NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.05);
  padding: 10px 0;
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* ── Logo imagem principal ── */
.logo-img {
  height: 200px;
  width: auto;
  min-width: 280px;
  margin: -70px 0 -70px -30px; /* Margem negativa para anular o espaço branco vazio da imagem */
  display: block;
  object-fit: contain;
  transition: all 0.3s ease;
  
  /* Cores originais vazadas (remove o fundo branco da imagem) */
  mix-blend-mode: multiply;
}

/* Quando a navbar fica branca (scrolled), manter a logo colorida vazada */
.navbar.scrolled .logo-img {
  mix-blend-mode: multiply;
}

.logo-img:hover {
  opacity: 0.88;
}

/* Logo no footer — usar cores originais */
.logo-img--footer {
  height: 170px;
  min-width: 240px;
  margin: -50px 0 -50px -20px;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--blue-600); }
.nav-link:hover::after { width: 100%; }

.nav-cta-secondary {
  padding: 8px 18px;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-800);
  border-radius: 50px;
}
.nav-cta-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}
.nav-cta-secondary::after { display: none; }

.nav-cta {
  margin-left: 0;
  flex-shrink: 0;
  white-space: nowrap;
  min-width: fit-content;
  padding: 12px 28px;
  font-size: 0.95rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  padding: 120px 40px 40px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gray-800);
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color var(--transition);
}

.mobile-link:hover { color: var(--green-500); }
.mobile-cta {
  color: var(--green-500);
  border-bottom: none;
  margin-top: 24px;
  font-size: 1.4rem;
}

.mobile-parceiro {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem !important;
  font-weight: 600;
  color: var(--blue-700) !important;
  background: transparent;
  border: 1.5px solid var(--blue-700) !important;
  border-radius: 50px;
  padding: 14px 28px !important;
  margin-top: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}

.mobile-parceiro:hover {
  background: var(--blue-700);
  color: #fff !important;
}

/* ─── 7. HERO — VIDEO FULLSCREEN ─── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #0B1B3D; /* fallback se vídeo não carregar */
}

/* ── Wrapper do Vídeo ── */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Desktop: mostra vídeo desktop, oculta mobile */
.hero-video-desktop { display: block; }
.hero-video-mobile  { display: none; }

/* Mobile (≤768px): oculta desktop, mostra mobile */
@media (max-width: 768px) {
  .hero-video-desktop { display: none; }
  .hero-video-mobile  {
    display: block;
    object-position: center top; /* enquadramento melhor em portrait */
  }
}

/* ── Overlay escuro sobre o vídeo (igual Precato.com.br) ── */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(5, 15, 40, 0.65) 0%,
      rgba(5, 15, 40, 0.55) 60%,
      rgba(5, 15, 40, 0.80) 100%
    );
}

/* ── Container do conteúdo ── */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(180px, 22vh, 260px) clamp(20px, 4vw, 48px) clamp(60px, 7vh, 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  width: 100%;
}

/* ── Badge — posicionado perto do cabeçalho ── */
.hero-badge {
  position: absolute;
  top: clamp(90px, 11vh, 120px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.90);
  white-space: nowrap;
  animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}

.badge-dot {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  50%       { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

/* ── Título ── */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.10;
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.text-gradient {
  background: linear-gradient(135deg, #60A5FA, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Subtítulo ── */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle strong { color: #4ADE80; }
.hero-br { display: none; }
@media (min-width: 640px) { .hero-br { display: inline; } }

/* ── Botões ── */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

/* ── Trust bar no hero ── */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.80);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
}

/* ── Trust — mobile elegante ── */
@media (max-width: 600px) {
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(8px);
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 8px;
    line-height: 1.3;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .trust-item:last-child {
    border-right: none;
  }

  .trust-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
}

@media (max-width: 340px) {
  .hero-trust {
    grid-template-columns: 1fr;
    max-width: 240px;
  }

  .trust-item {
    flex-direction: row;
    text-align: left;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
  }

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

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%    { transform: scaleY(0); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Navbar transparente sobre o vídeo ── */
.navbar:not(.scrolled) {
  background: transparent;
}
/* navbar transparente: logo já é branca por padrão */
.navbar:not(.scrolled) .nav-link  { color: rgba(255,255,255,0.85); }
.navbar:not(.scrolled) .nav-link:hover { color: #FFFFFF; }
.navbar:not(.scrolled) .hamburger span { background: #FFFFFF; }
.navbar:not(.scrolled) .nav-cta-secondary {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.4);
}
.navbar:not(.scrolled) .nav-cta-secondary:hover {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.08);
}

/* ── Ghost button visível no fundo escuro ── */
.hero .btn-ghost {
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.45);
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #FFFFFF;
}

/* ─── 8. TRUST BAR ─── */
.trust-bar {
  padding: 28px 0;
  background: linear-gradient(
    180deg,
    rgba(5, 15, 60, 0.98) 0%,
    rgba(14, 40, 120, 0.95) 50%,
    rgba(20, 55, 150, 0.92) 100%
  );
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.trust-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.trust-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.trust-bar-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.30);
  white-space: nowrap;
}

/* Wrapper com fade nas bordas no mobile */
.trust-logos-wrapper {
  width: 100%;
  position: relative;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  opacity: 0.45;
  transition: opacity var(--transition);
  cursor: default;
  flex-shrink: 0;
}

.trust-logo-item:hover { opacity: 0.80; }

.trust-logo-item span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: #FFFFFF;
  white-space: nowrap;
  text-transform: uppercase;
}

.trust-logo-sm span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.trust-logo-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* ─── 9. PROBLEM VS SOLUTION ─── */
.problem-solution {
  padding: var(--section-py) 0;
  background: var(--white);
}

.versus-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 64px;
}

.versus-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.versus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.versus-bad::before  { background: #E53935; }
.versus-good::before { background: var(--green-500); }

.versus-bad  { background: #FFF5F5; border-color: rgba(229, 57, 53, 0.15); }
.versus-good { background: #F0FFF9; border-color: rgba(0, 199, 129, 0.2);  }

.versus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.versus-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.versus-bad  .versus-icon { background: rgba(229, 57, 53, 0.08); }
.versus-good .versus-icon { background: rgba(0, 199, 129, 0.1); }

.versus-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 20px;
}

.versus-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--gray-600);
}

.versus-list li:last-child { border-bottom: none; }
.versus-list li span:first-child { flex-shrink: 0; font-size: 1rem; }
.versus-list li .check { color: var(--green-500); }
.versus-list li strong { color: var(--blue-700); }

.versus-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-circle {
  width: 56px; height: 56px;
  background: var(--blue-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

/* ─── 10. HOW IT WORKS ─── */
.how-it-works {
  padding: var(--section-py) 0;
  background: linear-gradient(
    180deg,
    rgba(20, 55, 150, 0.95) 0%,
    rgba(14, 40, 120, 0.98) 50%,
    rgba(5, 15, 60, 1) 100%
  );
  position: relative;
}

.how-it-works .section-title,
.how-it-works .section-eyebrow {
  color: #FFFFFF;
}

.how-it-works .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 60px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  animation-delay: var(--delay, 0s);
}

.step-card:hover {
  border-color: var(--blue-600);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08), var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(37, 99, 235, 0.06);
  line-height: 1;
}

.step-icon {
  width: 60px; height: 60px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--blue-600);
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: rgba(37, 99, 235, 0.2);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.step-card strong { color: var(--blue-600); }

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
}

/* ─── 11. NUMBERS ─── */
.numbers-section {
  padding: 80px 0;
  background: rgba(5, 15, 60, 1); /* Conecta com o fim de how-it-works e início do simulador */
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.number-card {
  padding: 28px 20px;
  animation-delay: var(--delay, 0s);
}

.number-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 10px;
}

.number-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* ─── 12. SIMULATOR ─── */
.simulator-section {
  padding: var(--section-py) 0;
  background: linear-gradient(
    180deg,
    rgba(5, 15, 60, 1) 0%,
    rgba(14, 40, 120, 0.98) 50%,
    rgba(20, 55, 150, 0.95) 100%
  );
  position: relative;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.simulator-content .section-eyebrow { 
  margin-bottom: 16px; 
  color: #FFFFFF;
  text-align: center;
}

.simulator-content .section-title { 
  text-align: left; 
  color: #FFFFFF;
}

.simulator-content .section-subtitle { 
  text-align: left; 
  max-width: none; 
  margin-top: 16px; 
  color: rgba(255, 255, 255, 0.85);
}

.sim-trust-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.sim-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Simulator Form */
.simulator-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
  overflow: hidden;
}

.simulator-form { padding: 40px; }

.form-header { margin-bottom: 28px; }
.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 6px;
}
.form-header p { font-size: 0.9rem; color: var(--gray-600); }

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(0, 199, 129, 0.12);
}

.form-input::placeholder { color: var(--gray-400); }

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.link-inline { color: var(--blue-600); text-decoration: underline; }

/* ─── 13. TESTIMONIALS CAROUSEL ─── */
.testimonials-section {
  padding: var(--section-py) 0;
  background: var(--gray-50);
  overflow: hidden;
}

/* Wrapper com posição relativa para os botões */
.testi-carousel-wrapper {
  position: relative;
  margin-top: 56px;
}

/* Track outer — máscara de overflow */
.testi-track-outer {
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* Track — flex que desliza */
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}

/* ── Cards ── */
.testi-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px 28px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
  flex: 0 0 calc((100% - 48px) / 3); /* 3 cards visíveis por vez */
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 6rem;
  line-height: 1;
  color: rgba(37, 99, 235, 0.05);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.testi-card--featured {
  border-color: rgba(0, 199, 129, 0.25);
  background: linear-gradient(160deg, #ffffff 60%, #f0fff9 100%);
  box-shadow: 0 8px 40px rgba(0, 199, 129, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Estrelas */
.testi-stars {
  color: #FFC107;
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
  display: block;
}

/* Citação */
.testi-quote {
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.78;
  font-style: italic;
  flex-grow: 1;
  margin: 0 0 24px 0;
}

/* Autor */
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: auto;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2.5px solid rgba(0, 199, 129, 0.3);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.testi-author-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 2px;
}

.testi-author-info span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ── Botões de navegação ── */
.testi-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue-700);
  transition: all 0.25s ease;
  z-index: 10;
}

.testi-btn:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.testi-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.testi-btn--prev { left: -24px; }
.testi-btn--next { right: -24px; }

/* ── Dots ── */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testi-dot.active {
  background: var(--blue-700);
  width: 24px;
  border-radius: 4px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-icon {
  width: 56px; height: 56px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.badge-info strong { display: block; font-size: 0.95rem; color: var(--blue-700); }
.badge-info span   { font-size: 0.82rem; color: var(--gray-400); }

/* ─── 14. FAQ ─── */
.faq-section { padding: var(--section-py) 0; }

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
  animation-delay: var(--delay, 0s);
}

.faq-item[open] { border-color: var(--blue-600); }

.faq-question {
  list-style: none;
  padding: 22px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color var(--transition);
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue-600);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question { color: var(--blue-700); }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-answer strong { color: var(--blue-700); }

/* ─── 15. FINAL CTA ─── */
.final-cta {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
  text-align: center;
  background: var(--blue-700);
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
}

.final-cta .container { position: relative; z-index: 1; }

.final-cta-content { max-width: 700px; margin: 0 auto; }

.final-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin: 16px 0 20px;
  letter-spacing: -1px;
}

.final-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── 16. FOOTER ─── */
.footer {
  background: var(--black);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo .logo-img--footer { height: 36px; }
.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(0, 199, 129, 0.15);
  border-color: var(--green-500);
  color: var(--green-500);
}

.footer-nav h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--green-500); }

.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.footer-contact strong { color: rgba(255,255,255,0.75); display: block; margin-bottom: 2px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-legal-links a:hover { color: var(--green-500); }
.footer-legal-links span { color: rgba(255,255,255,0.15); }

/* ─── 17. WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  z-index: 990;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
}

.float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid #25D366;
  animation: float-pulse 2.5s ease-out infinite;
  opacity: 0;
}

@keyframes float-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ─── 18. RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nav-links, .nav-cta    { display: none; }
  .hamburger              { display: flex; }
  .simulator-layout       { grid-template-columns: 1fr; gap: 48px; }
  .simulator-content .section-eyebrow,
  .simulator-content .section-title,
  .simulator-content .section-subtitle { text-align: center; }
  .sim-trust-items        { align-items: center; }
  .numbers-grid           { grid-template-columns: repeat(2, 1fr); }
  .footer-grid            { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Trust bar tablet: scroll horizontal */
  .trust-bar              { padding: 22px 0; }
  .trust-bar .container   { gap: 14px; padding: 0; }
  .trust-logos            {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .trust-logos::-webkit-scrollbar { display: none; }
  .trust-logo-item        { padding: 0 16px; }
  .trust-logo-divider     { display: flex; }
}

@media (max-width: 768px) {
  .steps-grid          { grid-template-columns: 1fr; }
  .step-connector      { display: none; }
  .versus-grid         { grid-template-columns: 1fr; }
  .versus-connector    { display: none; }
  /* Carrossel tablet: 2 cards visíveis */
  .testi-card { flex: 0 0 calc((100% - 24px) / 2); }
  .testi-btn--prev { left: -16px; }
  .testi-btn--next { right: -16px; }
  .footer-grid         { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-socials      { justify-content: center; }
  .footer-bottom       { flex-direction: column; text-align: center; gap: 16px; }
  .footer-legal-links  { flex-wrap: wrap; justify-content: center; }
  .final-cta-buttons   { flex-direction: column; align-items: stretch; width: 100%; }
  .simulator-form      { padding: 24px; }
  .versus-card         { padding: 28px 24px; }
  .step-card           { padding: 28px 20px; }
}

@media (max-width: 480px) {
  /* Logo mobile */
  .logo-img { 
    height: 140px; 
    min-width: 180px; 
    margin: -45px 0 -45px -20px; 
  }
  /* Carrossel mobile: 1 card visível */
  .testi-card        { flex: 0 0 100%; }
  .testi-btn         { width: 40px; height: 40px; }
  .testi-btn--prev   { left: 0; }
  .testi-btn--next   { right: 0; }
  .testi-carousel-wrapper { padding: 0 0px; }
  .numbers-grid           { grid-template-columns: 1fr; gap: 24px; }
  .trust-badges           { flex-direction: column; align-items: center; text-align: center; }
  .hero-cta-group         { flex-direction: column; width: 100%; }
  .hero-cta-group .btn    { width: 100%; }
  .final-cta-buttons .btn { width: 100%; }

  /* Badge mobile: próximo ao cabeçalho e centralizado */
  .hero-badge {
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    padding: 7px 16px;
    white-space: nowrap;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: badge-float-mobile 3s ease-in-out infinite;
  }

  @keyframes badge-float-mobile {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50%       { transform: translateX(-50%) translateY(-6px); }
  }

  /* Hero mobile: sobe conteúdo para não cobrir o rosto da modelo */
  .hero-container {
    justify-content: flex-start;
    padding-top: 110px;
    padding-bottom: 100px; /* espaço para o scroll indicator não sobrepor */
  }

  /* Título hero mobile: uniforme e bem alinhado */
  .hero-title {
    font-size: 1.85rem;
    letter-spacing: -0.5px;
    line-height: 1.18;
  }

  /* Trust bar mobile: linha única com scroll suave */
  .trust-bar              { padding: 20px 0; margin-top: 0; }
  .trust-bar .container   { gap: 12px; }
  .trust-bar-label        { font-size: 0.58rem; letter-spacing: 0.15em; }
  .trust-logos            {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0 20px 0 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Fade nas bordas */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }
  .trust-logos::-webkit-scrollbar { display: none; }
  .trust-logo-item        { padding: 0 14px; opacity: 0.55; }
  .trust-logo-item span   { font-size: 0.70rem; letter-spacing: 0.09em; }
  .trust-logo-sm span     { font-size: 0.65rem; }
  .trust-logo-divider     { display: flex; height: 12px; }
}

/* ============================================================
   8. BALÃO DE PROVA SOCIAL (NOTIFICAÇÃO DE VENDA)
   ============================================================ */

/* Estilo base do balão */
#notificacao-venda {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #ffffff;
  color: #333333;
  padding: 12px 20px 12px 12px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  font-family: var(--font-body);
  font-size: 14px;
  z-index: 9999;
  transition: opacity 0.5s ease, transform 0.5s ease;
  border-left: 5px solid #28a745;
  max-width: 350px;
}

/* Layout interno do balão */
.balao-conteudo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.balao-icone {
  background: #28a745;
  border-radius: 50%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#balao-mensagem {
  margin: 0;
  line-height: 1.4;
}

#balao-mensagem strong {
  color: #000000;
}

/* Classes de animação */
.balao-oculto {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.balao-visivel {
  opacity: 1;
  transform: translateY(0);
}

/* Otimização para Mobile */
@media (max-width: 600px) {
  #notificacao-venda {
    left: 5%;
    right: 5%;
    bottom: 20px;
    max-width: 90%;
    margin: 0 auto;
    font-size: 13px;
  }
}
