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

:root {
  --azul: #1A2E8C;
  --azul-escuro: #0F1D5E;
  --amarelo: #FFC107;
  --amarelo-hover: #e6ac00;
  --branco: #ffffff;
  --cinza-claro: #f4f4f4;
  --cinza-texto: #444;
  --font: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --max-width: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--branco);
  color: var(--azul-escuro);
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ══════════════════════════════════════
   CARROSSEL
══════════════════════════════════════ */
.carousel-section {
  background: var(--azul-escuro);
  position: relative;
}

.logo-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(rgba(10,18,60,0.7), transparent);
  pointer-events: none;
}

.logo-bar .logo-text {
  font-family: var(--font-cond);
  font-size: 26px;
  font-weight: 900;
  color: var(--branco);
  letter-spacing: 0.06em;
}

.logo-bar .logo-text span { color: var(--amarelo); }

.carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--azul-escuro);
  padding: 56px 0 28px;
  perspective: 1200px;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 460px;
}

.carousel-slide {
  position: absolute;
  width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.6s ease,
              z-index 0s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.carousel-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.carousel-caption span { color: var(--amarelo); }

.carousel-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.carousel-caption span { color: var(--amarelo); }

/* Setas */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--branco);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
  line-height: 1;
}

.carousel-btn:hover { background: rgba(255,193,7,0.2); border-color: var(--amarelo); }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 20px;
  background: var(--azul-escuro);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active { background: var(--amarelo); transform: scale(1.3); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: var(--azul-escuro);
  padding: 5rem 1.5rem;
  text-align: center;
  border-top: 2px solid rgba(255,193,7,0.15);
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-cond);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 900;
  color: var(--branco);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.hero h1 span { color: var(--amarelo); }

.hero p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2.25rem;
}

/* ── BOTÃO CTA ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  padding: 17px 36px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-cta:hover { background: var(--amarelo-hover); transform: translateY(-2px); animation: none; }
.btn-cta:active { transform: scale(0.98); }
.btn-cta img { width: 22px; height: 22px; }

@keyframes pulse-cta {
  0%   { box-shadow: 0 0 0 0 rgba(255,193,7,0.7); transform: scale(1); }
  50%  { box-shadow: 0 0 0 14px rgba(255,193,7,0); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 0 rgba(255,193,7,0); transform: scale(1); }
}

.btn-cta { animation: pulse-cta 2s ease-in-out infinite; }

/* ── NÚMEROS ── */
.numeros { background: var(--amarelo); }

.numeros .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.08);
  padding: 0;
}

.numero-item {
  background: var(--amarelo);
  text-align: center;
  padding: 1.75rem 1rem;
}

.numero-item strong {
  display: block;
  font-family: var(--font-cond);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--azul-escuro);
  line-height: 1;
  margin-bottom: 6px;
}

.numero-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--azul-escuro);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── SEÇÃO GENÉRICA ── */
.secao { padding: 5rem 1.5rem; }

.secao-titulo {
  font-family: var(--font-cond);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: var(--azul-escuro);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.secao-titulo span { color: var(--azul); }

.secao-sub {
  font-size: 16px;
  color: var(--cinza-texto);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* ── GALERIA ── */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 2.5rem;
}

.galeria-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s, opacity 0.3s;
}

.galeria-grid img:hover { transform: scale(1.03); opacity: 0.9; }

.galeria-placeholder {
  width: 100%;
  height: 220px;
  background: #e8e8e8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
}

.galeria-placeholder span { font-size: 12px; color: #aaa; text-align: center; padding: 0 8px; }

.secao-cta-centro { text-align: center; }

/* ── PASSOS ── */
.passos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.passo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--branco);
  border: 1.5px solid #e4e4e4;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.passo:hover { border-color: var(--azul); transform: translateY(-3px); }

.passo-numero {
  width: 48px; height: 48px;
  background: var(--azul-escuro);
  color: var(--amarelo);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-cond);
  font-size: 22px; font-weight: 900;
  margin-bottom: 1.25rem;
}

.passo-conteudo h3 { font-size: 18px; font-weight: 700; color: var(--azul-escuro); margin-bottom: 0.5rem; }
.passo-conteudo p { font-size: 15px; color: var(--cinza-texto); line-height: 1.6; }

/* ── FAQ ── */
.faq-wrapper { max-width: 760px; }

.faq-item { border-bottom: 1.5px solid #ddd; padding: 1.25rem 0; cursor: pointer; }
.faq-item:first-child { border-top: 1.5px solid #ddd; }

.faq-pergunta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-pergunta span { font-size: 16px; font-weight: 700; color: var(--azul-escuro); line-height: 1.4; }

.faq-icone {
  font-size: 24px; color: var(--azul); font-weight: 700;
  flex-shrink: 0; transition: transform 0.3s; line-height: 1; width: 28px; text-align: center;
}

.faq-icone.aberto { transform: rotate(45deg); }

.faq-resposta {
  font-size: 15px; color: var(--cinza-texto); line-height: 1.65;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}

.faq-resposta.aberta { max-height: 200px; padding-top: 12px; }

/* ── CTA FINAL ── */
.cta-final {
  background: var(--azul-escuro);
  padding: 6rem 1.5rem;
  text-align: center;
}

.cta-final h2 {
  font-family: var(--font-cond);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900; color: var(--branco);
  text-transform: uppercase; line-height: 1.05;
  margin-bottom: 1rem;
  max-width: 700px; margin-left: auto; margin-right: auto;
}

.cta-final h2 span { color: var(--amarelo); }

.cta-final p {
  font-size: 17px; color: rgba(255,255,255,0.72); line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 480px;
  margin-left: auto; margin-right: auto;
}

/* ── RODAPÉ ── */
footer { background: #07103A; padding: 2.5rem 1.5rem; text-align: center; }

.footer-logo {
  font-family: var(--font-cond); font-size: 26px; font-weight: 900;
  color: var(--branco); letter-spacing: 0.06em; margin-bottom: 0.75rem;
}

.footer-logo span { color: var(--amarelo); }
.footer-cidades { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 0.75rem; }
.footer-instagram { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.25); font-style: italic; }

/* ── FAIXA ── */
.faixa {
  background: var(--azul); padding: 0.85rem 1.5rem; text-align: center;
  font-size: 13px; font-weight: 700; color: var(--amarelo);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.bg-cinza { background: var(--cinza-claro); }

/* ══════════════════════════════════════
   MODAL — FORMULÁRIO 4 ETAPAS
══════════════════════════════════════ */
.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7, 16, 58, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lead-overlay.open { opacity: 1; visibility: visible; }

.lead-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--branco);
  border-radius: 22px 22px 0 0;
  padding: 1.75rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 50px rgba(0,0,0,0.35);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              bottom 0.25s ease,
              max-height 0.25s ease;
}

.lead-overlay.open .lead-sheet { transform: translateY(0); }

.lead-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border: none;
  background: var(--cinza-claro);
  color: var(--cinza-texto);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lead-close:hover { background: #e6e6e6; }

/* Progresso */
.lead-progress {
  height: 6px;
  background: #ececf3;
  border-radius: 99px;
  overflow: hidden;
  margin: 0.5rem 0 0.75rem;
}
.lead-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--amarelo);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-step-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

/* Etapas */
.lead-step { display: none; animation: leadFade 0.35s ease; }
.lead-step.active { display: block; }

@keyframes leadFade {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.lead-q {
  font-family: var(--font-cond);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 800;
  color: var(--azul-escuro);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.lead-hint {
  font-size: 14px;
  color: var(--cinza-texto);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Chips de valor rápido */
.lead-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1rem;
}
.lead-chip {
  padding: 14px 10px;
  border: 1.5px solid #dcdce6;
  background: var(--branco);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--azul-escuro);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.lead-chip:hover { border-color: var(--azul); }
.lead-chip.selected {
  border-color: var(--azul);
  background: var(--azul);
  color: var(--branco);
}

/* Campos */
.lead-field {
  display: flex;
  align-items: center;
  border: 1.5px solid #dcdce6;
  border-radius: 12px;
  padding: 0 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--branco);
}
.lead-field:focus-within {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(26,46,140,0.12);
}
.lead-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--azul-escuro);
  padding: 16px 0;
  width: 100%;
}
.lead-field input::placeholder { color: #a6a6b5; font-weight: 500; }

.lead-prefix {
  font-size: 17px;
  font-weight: 800;
  color: var(--azul);
  margin-right: 8px;
}

.lead-erro {
  font-size: 13px;
  font-weight: 600;
  color: #d92d20;
  min-height: 18px;
  margin-top: 8px;
}

/* Ações */
.lead-actions {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}
.lead-btn {
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.lead-btn:active { transform: scale(0.98); }

.lead-next {
  flex: 1;
  background: var(--amarelo);
  color: var(--azul-escuro);
}
.lead-next:hover { background: var(--amarelo-hover); }

.lead-back {
  background: var(--cinza-claro);
  color: var(--cinza-texto);
  display: none;
}
.lead-back.show { display: block; }

body.lead-open { overflow: hidden; }

/* ══════════════════════════════════════
   MOBILE  (< 768px)
══════════════════════════════════════ */
@media (max-width: 767px) {
  .carousel-track { height: 320px; }
  .carousel-slide { width: 72vw; }
  .carousel-btn { display: none; }

  .hero { padding: 2.75rem 1.25rem 2.25rem; }
  .hero h1 { font-size: clamp(26px, 7.5vw, 38px); }
  .hero p { font-size: 15px; }

  .btn-cta { width: 100%; max-width: 360px; font-size: 16px; padding: 15px 24px; }

  .numeros .container { grid-template-columns: repeat(3, 1fr); }

  .secao { padding: 2.5rem 1.25rem; }
  .secao-sub { margin-bottom: 1.5rem; }

  .galeria-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .galeria-grid img, .galeria-placeholder { height: 160px; }

  .passos-grid { grid-template-columns: 1fr; gap: 1rem; }
  .passo { flex-direction: row; align-items: flex-start; padding: 1.25rem; border-radius: 8px; }
  .passo-numero { width: 40px; height: 40px; font-size: 20px; margin-bottom: 0; margin-right: 1rem; flex-shrink: 0; }

  .cta-final { padding: 3rem 1.25rem; }
  .faq-wrapper { max-width: 100%; }
}