/* ==========================================================================
   MINHA CASA MINHA VIDA - LANDING PAGE DE CAPTURA & QUIZ DE 7 ETAPAS
   Design System, Mobile-First Responsiveness & Micro-Animations
   ========================================================================== */

/* Fontes carregadas com alta prioridade via HTML <link> */

:root {
  /* Cores Principais */
  --primary-blue: #0b3475;
  --primary-blue-dark: #07214d;
  --primary-blue-light: #164ea5;
  --accent-yellow: #fdb813;
  --accent-yellow-hover: #e5a40a;
  --accent-yellow-light: #fff8e1;
  --brand-green: #0a892f;
  --brand-green-hover: #076d24;
  --brand-green-light: #e8f5e9;
  --brand-green-border: #bbf7d0;

  /* Neutros */
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --border-active: #0a892f;
  --card-bg: #064e3b;
  --body-bg: #07214d;

  /* Efeitos */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow-yellow: 0 8px 25px rgba(253, 184, 19, 0.45);
  --shadow-glow-green: 0 8px 25px rgba(10, 137, 47, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: radial-gradient(circle at 75% 20%, #1e6bd6 0%, #0d4ba6 45%, #08387f 100%);
  background-attachment: fixed;
  background-color: #0d4ba6;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Container Principal - Full Width (Sem Caixa / Sem Bordas Laterais) */
.app-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
}

/* Barra Superior de Confiança (Fundo Verde Escuro com Borda Branca) */
.top-notification-bar {
  background: #064e3b !important;
  color: #f0fdf4 !important;
  font-size: 0.78rem;
  text-align: center;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  font-weight: 600;
  width: 100%;
}

.top-notification-bar span.badge-pill {
  background: rgba(253, 184, 19, 0.25) !important;
  color: #fdb813 !important;
  border: 1px solid #ffffff !important;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   SEÇÃO 1: HERO / DESAFIO (ESTILO CONFORME IMAGEM 1 E 2)
   ========================================================================== */

.hero-section {
  padding: 24px 30px 30px;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-section.hidden {
  display: none;
}

/* Fundo Limpo e Institucional MCMV */
.hero-bg-glow {
  display: none;
}

/* Topo do Hero: Logo MCMV + Selo Oficial */
.hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 2;
}

.logo-badge {
  background: #ffffff !important;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.logo-badge img {
  height: 64px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

@media (max-width: 640px) {
  .logo-badge {
    padding: 6px 14px;
  }
  .logo-badge img {
    height: 48px;
  }
}

/* Selo de Confiança Institucional Caixa/Governo (Superfície Sólida Institucional) */
.gov-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #062354;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gov-flag-icon {
  color: var(--accent-yellow);
  flex-shrink: 0;
}

.gov-trust-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.gov-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-yellow);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gov-subtitle {
  font-size: 0.72rem;
  color: #e2e8f0;
  font-weight: 600;
}

/* Layout Split: Esquerda Texto / Direita Imagem e Card */
.hero-main-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero-main-content {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    padding: 10px 0;
  }
}

/* Coluna de Texto */
.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Indicador Institucional Superior (Sem Pulse Dot Artificial) */
.mcmv-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #062e15;
  border: 1px solid #16a34a;
  color: #86efac;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  width: fit-content;
}

.status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.hero-subtitle-tag {
  color: #ffffff;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-subtitle-tag .trophy-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 8px rgba(253, 184, 19, 0.5));
}

.hero-headline {
  color: var(--accent-yellow);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  margin-top: 2px;
}

.hero-description {
  color: #ffffff;
  font-size: clamp(1.02rem, 2.3vw, 1.25rem);
  line-height: 1.55;
  font-weight: 500;
  opacity: 0.96;
}

.hero-description strong {
  color: var(--accent-yellow);
  font-weight: 800;
}

/* Badges Rápidos dos Pilares MCMV */
.hero-mcmv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mcmv-mini-badge {
  background: #064e3b !important;
  border: 1.5px solid #ffffff !important;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 0.84rem;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.mcmv-mini-badge:hover {
  background: #047857 !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
}

.badge-icon-svg {
  color: #fdb813 !important;
  flex-shrink: 0;
}

.mcmv-mini-badge strong {
  color: #fdb813 !important;
  font-weight: 800;
}

/* Wrapper do CTA */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
}

.cta-sub-hint {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 2px;
}

.cta-sub-hint svg {
  color: #4ade80;
  flex-shrink: 0;
}

/* Botão CTA Principal Amarelo (Design Firme e Humano - Sem Laser Infinito) */
.cta-btn-yellow {
  background: linear-gradient(180deg, #ffd033 0%, #fdb813 100%);
  color: #071e3d;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  box-shadow: 0 6px 20px rgba(253, 184, 19, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  margin-top: 8px;
}

.cta-btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(253, 184, 19, 0.6);
  background: linear-gradient(180deg, #ffe066 0%, #fdb813 100%);
}

.cta-btn-yellow:active {
  transform: translateY(0);
}

.cta-btn-yellow .btn-icon-circle {
  background: #071e3d;
  color: #fdb813;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.cta-btn-yellow:hover .btn-icon-circle {
  transform: translateX(4px);
}

.cta-btn-yellow .btn-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-btn-yellow .btn-small-lead {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  opacity: 0.9;
}

.cta-btn-yellow .btn-main-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Efeito Pulsante GPU de Alto Impacto (Zero CPU / 0ms TBT / 0.00 CLS) */
@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

.cta-btn-pulse.is-pulsing {
  animation: ctaPulse 2s infinite ease-in-out;
  transform-origin: center;
}

.cta-btn-pulse:hover,
.cta-btn-pulse.is-pulsing:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.02);
}

/* Container do Botão Repetido abaixo dos 4 cards: Exclusivo Mobile */
.hero-bottom-cta-wrapper {
  display: none;
}

.hero-bottom-cta-wrapper .cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}


/* Coluna Direita: Imagem do Prédio + Card Flutuante */
.hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.building-image-container {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 900px) {
  .building-image-container {
    height: 380px;
  }
}

.building-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.building-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 33, 77, 0.75) 100%);
  pointer-events: none;
}

/* Selo de Preço sobre o Prédio (Parte de Cima) */
.building-floating-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #041633;
  border: 1px solid rgba(253, 184, 19, 0.6);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.building-floating-tag .key-icon-svg {
  color: var(--accent-yellow);
  flex-shrink: 0;
}

/* Card Flutuante de Destaque com Animação Suave de Levitação (Fundo Verde Escuro com Bordas Brancas) */
.hero-feature-card {
  background: #064e3b !important;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  width: 92%;
  max-width: 360px;
  margin-top: -55px;
  position: relative;
  z-index: 5;
  border: 2px solid #ffffff !important;
  animation: floatCardSmooth 3.8s ease-in-out infinite;
}

@keyframes floatCardSmooth {
  0%, 100% {
    transform: translateY(0px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25);
  }
}

.card-time-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  margin-bottom: 14px;
}

.card-time-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #047857 !important;
  border: 2px solid #ffffff !important;
  color: #fdb813 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-time-text {
  font-size: 0.7rem;
  color: #fdb813 !important;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-time-title {
  font-size: 1.05rem;
  color: #ffffff !important;
  font-weight: 900;
  line-height: 1.2;
}

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

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff !important;
}

.check-pill {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #fdb813 !important;
  color: #07214d !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Barra de 4 Benefícios no Rodapé do Hero (Fundo Verde Escuro Elegante com Bordas Brancas) */
.hero-benefits-bar {
  background: #064e3b !important;
  border: 2px solid #ffffff !important;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 14px;
  margin-top: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .hero-benefits-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 24px;
    gap: 20px;
  }
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  cursor: default;
  user-select: none;
}

.benefit-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #047857 !important;
  border: 2px solid #ffffff !important;
  color: #fdb813 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.benefit-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.benefit-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fdb813 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.benefit-subtitle {
  font-size: 0.76rem;
  color: #ffffff !important;
  font-weight: 600;
}

.benefit-desc {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  line-height: 1.25;
  margin-top: 3px;
}

/* ==========================================================================
   SEÇÃO 2: FORMULÁRIO / QUIZ EM 7 ETAPAS (ESTILO IMAGENS 3, 4, 5)
   ========================================================================== */

.quiz-container {
  background: #eef9f2 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  animation: fadeIn 0.4s ease-out;
  color: #07214d !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-container.hidden {
  display: none;
}

/* Topo do Quiz: Barra de Progresso e Badge */
.quiz-top-header {
  padding: 16px 20px 12px;
  border-bottom: 2px solid #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #064e3b !important;
  position: sticky;
  top: 0;
  z-index: 50;
}

.quiz-step-badge {
  background: #047857 !important;
  border: 1.5px solid #ffffff !important;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.quiz-progress-track {
  flex: 1;
  max-width: 320px;
  height: 8px;
  background: rgba(255, 255, 255, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.quiz-progress-bar {
  height: 100%;
  background: #fdb813 !important;
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
  width: 14%;
}

.quiz-percent-label {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff !important;
  min-width: 38px;
  text-align: right;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Botão Voltar: Alto Contraste */
.btn-back-step {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-back-step svg {
  stroke: #ffffff !important;
}

.btn-back-step:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* Step 1 Logo Badge em Fundo Branco */
.step-1-logo-badge {
  background: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
}

.step-1-logo-badge img {
  height: 48px;
  width: auto;
  display: block;
}

/* Card de Agradecimento na tela de resultado */
.result-thankyou-card {
  background: #047857 !important;
  border: 2px solid #ffffff !important;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  text-align: left;
  margin: 4px 0 16px 0;
}

.thankyou-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fdb813;
  color: #07214d;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thankyou-icon svg {
  stroke: #07214d;
}

.thankyou-texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.thankyou-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.thankyou-description {
  font-size: 0.85rem;
  color: #f1f5f9;
  line-height: 1.4;
  margin: 0;
}

/* Área Central de Cada Etapa */
.quiz-card-body {
  flex: 1;
  padding: 24px 20px;
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Estilo da Etapa 1 (Conforme Imagem 3 - Curva e Prédio) */
.step-1-layout {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 20px;
}

.step-1-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-1-header-logo img {
  height: 48px;
  width: auto;
}

.step-1-content-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.step-1-title {
  color: #0b2246;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.step-1-title span.highlight-green {
  color: var(--brand-green);
}

.step-1-time-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 600;
}

.step-1-time-tag svg {
  width: 20px;
  height: 20px;
  color: #64748b;
  flex-shrink: 0;
}

/* Prédio com máscara curva da Etapa 1 */
.step-1-image-cutout {
  width: 100%;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  margin: 10px 0;
}

.step-1-image-cutout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Curva fluida decorativa verde */
.step-1-image-cutout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(circle at -20% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

/* Estilos das Etapas com Perguntas (Etapas 2 a 6) */
.quiz-step {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: slideStepIn 0.35s ease-out;
}

.quiz-step.active {
  display: flex;
}

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

/* Ícone da Pergunta */
.question-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.question-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #dcfce7 100%) !important;
  border: 2.5px solid #10b981 !important;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.22), inset 0 2px 4px rgba(255, 255, 255, 0.9) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.question-icon-circle svg {
  width: 44px;
  height: 44px;
}

/* Título da Pergunta */
.question-title {
  text-align: center;
  color: #064e3b !important;
  font-size: clamp(1.3rem, 3.5vw, 1.7rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
}

.question-subtitle {
  text-align: center;
  color: #334155 !important;
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: -6px;
  margin-bottom: 12px;
}

/* Lista de Opções (Radio Cards) */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid #bbf7d0 !important;
  border-radius: var(--radius-md);
  background: #ffffff !important;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.06);
  user-select: none;
}

.option-card:hover {
  border-color: #10b981 !important;
  background: #f0fdf4 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.16);
}

.option-card.selected {
  border-color: #064e3b !important;
  background: #064e3b !important;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.28);
}

/* Radio Indicator Customizado */
.radio-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #059669 !important;
  background: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.option-card:hover .radio-indicator {
  border-color: #ffffff !important;
}

.option-card.selected .radio-indicator {
  border-color: #ffffff !important;
  background: #fdb813 !important;
}

.radio-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

.option-card.selected .radio-indicator::after {
  opacity: 1;
  transform: scale(1);
}

.option-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  flex: 1;
}

.option-card.selected .option-text {
  color: #ffffff !important;
  font-weight: 800;
}

/* Box de Composição de Renda */
.composicao-box {
  background: #064e3b !important;
  border: 2px dashed rgba(255, 255, 255, 0.5) !important;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.composicao-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fdb813 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.composicao-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.comp-pill {
  flex: 1;
  min-width: 130px;
  background: #04382a !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff !important;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.comp-pill.active {
  background: #fdb813 !important;
  border: 2px solid #ffffff !important;
  color: #07214d !important;
  font-weight: 800;
}

.comp-pill svg {
  color: #64748b;
  flex-shrink: 0;
}

.comp-pill:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.comp-pill.active {
  border-color: var(--brand-green);
  background: #f0fdf4;
  color: var(--brand-green);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(10, 137, 47, 0.15);
}

.comp-pill.active svg {
  color: var(--brand-green);
}

/* Botão Verde de Continuar (Sólido e Estruturado) */
.btn-continue-green {
  background: linear-gradient(180deg, #109a36 0%, #0a892f 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: 0 6px 18px rgba(10, 137, 47, 0.35);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 14px;
}

.btn-continue-green:hover:not(:disabled) {
  background: linear-gradient(180deg, #12aa3c 0%, #0c9b35 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 137, 47, 0.45);
}

.btn-continue-green:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-continue-green:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(40%);
}

.btn-continue-green svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.2s ease;
}

.btn-continue-green:hover:not(:disabled) svg {
  transform: translateX(4px);
}

/* Etapa 7: Campo de Data de Nascimento */
.date-input-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: left;
  margin-top: 4px;
}

.date-input-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}

.date-input-field {
  padding: 16px;
  border: 2px solid #94a3b8 !important;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a !important;
  caret-color: #059669 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  outline: none;
  font-family: inherit;
  letter-spacing: 0.05em;
  text-align: center;
  transition: var(--transition);
}

.date-input-field:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #64748b !important;
}

.date-input-field:focus,
.date-input-field:active {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #059669 !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

.date-input-hint {
  font-size: 0.78rem;
  color: #a7f3d0;
  line-height: 1.35;
}

/* Etapa 8: Formulário de Contato / Captura */
.lead-form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.input-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-group input {
  padding: 15px 16px;
  border: 2px solid #94a3b8 !important;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  color: #0f172a !important;
  caret-color: #059669 !important;
  font-weight: 600;
  transition: var(--transition);
  outline: none;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.input-group input:hover {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #64748b !important;
}

.input-group input:focus,
.input-group input:active {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #059669 !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

.date-input-field:-webkit-autofill,
.date-input-field:-webkit-autofill:hover, 
.date-input-field:-webkit-autofill:focus,
.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

.date-input-field::placeholder,
.input-group input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

.input-group .input-helper {
  font-size: 0.76rem;
  color: #64748b;
}

.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 6px;
}

.security-note svg {
  width: 16px;
  height: 16px;
  color: #16a34a;
  fill: currentColor;
}

/* ==========================================================================
   TELA FINAL: RESULTADO ESTIMADO & BOTÃO WHATSAPP
   ========================================================================== */

.quiz-result-screen {
  display: none;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

.quiz-result-screen.active {
  display: flex;
}

.result-celebration-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.result-celebration-badge svg {
  color: #15803d;
  flex-shrink: 0;
}

.result-title {
  color: #0b2246;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 900;
  line-height: 1.2;
}

.result-title span.text-green {
  color: var(--brand-green);
}

.thankyou-steps-box {
  background: #ffffff;
  border: 2px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.08);
}

.thankyou-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.thankyou-step-item .step-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #047857;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thankyou-step-item .step-desc {
  font-size: 0.92rem;
  color: #1e293b;
  line-height: 1.45;
}

.thankyou-step-item .step-desc strong {
  color: #064e3b;
  font-weight: 800;
}

.btn-whatsapp-direct {
  background: #25d366;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  margin-top: 10px;
}

.btn-whatsapp-direct:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp-direct svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.btn-restart-quiz {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 6px;
  transition: var(--transition);
  align-self: center;
}

.btn-restart-quiz:hover {
  background: #f1f5f9;
  color: #1e293b;
}

/* Loading Overlay Durante Envio */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 33, 77, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-yellow);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.loading-step-status {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Rodapé Seguro (Fundo Verde Escuro com Borda apenas Superior) */
.page-footer {
  background: #064e3b !important;
  color: #e2e8f0 !important;
  font-size: 0.85rem;
  text-align: center;
  padding: 24px 16px;
  border: none !important;
  border-top: 2px solid #ffffff !important;
  font-weight: 600;
}

.page-footer a {
  color: #fdb813 !important;
  text-decoration: underline;
  font-weight: 800;
}

/* ====================================================================
       VERSÃO CELULAR: RICA, IMPONENTE, BEM PREENCHIDA E SEM VAZIOS
       Equilíbrio perfeito: Visual grande e bonito, 100% enquadrado na tela
       ==================================================================== */
    @media (max-width: 899px) {
      html, body {
        height: 100%;
        max-width: 100vw;
        overflow-x: hidden;
      }

      .app-wrapper {
        min-height: 100dvh;
        height: 100dvh;
        max-height: 100dvh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
      }

      /* Barra Superior: Fina, nítida e elegante */
      .top-notification-bar {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 4px 10px !important;
        font-size: 0.70rem !important;
        line-height: 1.2 !important;
        background: #064e3b !important;
        border-bottom: 1.5px solid rgba(255, 255, 255, 0.4) !important;
        color: #ffffff !important;
        flex-shrink: 0 !important;
      }
      .top-notification-bar span.badge-pill {
        font-size: 0.62rem !important;
        padding: 1px 7px !important;
        font-weight: 800 !important;
      }

      /* Oculta textos secundários duplicados do desktop e rodapé legal no celular */
      .hero-text-col,
      .page-footer {
        display: none !important;
      }

      /* HERO NO CELULAR: Preenche a tela harmoniosamente com presença marcante */
      .hero-section {
        height: 100% !important;
        max-height: 100% !important;
        flex: 1 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: clamp(4px, 1vh, 12px) 14px clamp(6px, 1.2vh, 12px) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        gap: clamp(4px, 1vh, 12px) !important;
      }

      /* Topo: Logo MCMV à Esquerda e Selo Oficial Caixa à Direita em Linha Harmônica */
      .hero-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 0 2px !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
        min-height: unset !important;
      }
      .logo-badge {
        background: #ffffff !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
        padding: 4px 14px !important;
        border-radius: 12px !important;
        height: clamp(42px, 6.5vh, 50px) !important;
        min-height: unset !important;
        min-width: unset !important;
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
      }
      .logo-badge img {
        height: clamp(32px, 5vh, 40px) !important;
        width: auto !important;
        display: block !important;
        object-fit: contain !important;
      }
      .gov-trust-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: left !important;
        gap: 8px !important;
        padding: 4px 12px !important;
        height: clamp(42px, 6.5vh, 50px) !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.16) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
      }
      .gov-trust-texts {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        line-height: 1.15 !important;
      }
      .gov-trust-badge .gov-title {
        font-size: clamp(0.68rem, 2.1vw, 0.76rem) !important;
        font-weight: 900 !important;
        color: #fdb813 !important;
        letter-spacing: 0.04em !important;
      }
      .gov-trust-badge .gov-subtitle {
        font-size: clamp(0.58rem, 1.8vw, 0.66rem) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
      }
      .gov-flag-icon {
        width: 18px !important;
        height: 18px !important;
        stroke: #fdb813 !important;
        flex-shrink: 0 !important;
      }

      /* Bloco Central: Flexível, preenche o espaço vertical sem deixar vazios */
      .hero-main-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        gap: 0 !important;
      }

      .hero-visual-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        position: relative !important;
      }

      /* 1. Imagem do Prédio: Se expande para preencher a tela, nunca fica pequena */
      .building-image-container {
        width: 100% !important;
        max-width: 440px !important;
        flex: 1 1 auto !important;
        min-height: 110px !important;
        max-height: 320px !important;
        height: 100% !important;
        border-radius: 16px 16px 0 0 !important;
        position: relative !important;
        overflow: hidden !important;
        margin: 0 auto !important;
        box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.18) !important;
      }

      .building-image-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 25% !important;
      }

      /* Selo Flutuante sobre o Prédio */
      .building-floating-tag {
        position: absolute !important;
        top: 8px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: max-content !important;
        max-width: 90% !important;
        height: auto !important;
        padding: 4px 14px !important;
        font-size: clamp(0.72rem, 2vw, 0.80rem) !important;
        font-weight: 800 !important;
        background: rgba(6, 78, 59, 0.92) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        border: 1.5px solid #ffffff !important;
        border-radius: 20px !important;
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        z-index: 2 !important;
        white-space: nowrap !important;
      }

      .building-floating-tag svg {
        width: 15px !important;
        height: 15px !important;
        stroke: #fdb813 !important;
      }

      /* 2. Card Rápido e Prático: Acoplado na Foto com Borda Branca */
      .hero-feature-card {
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: clamp(8px, 1.4vh, 13px) 16px !important;
        position: relative !important;
        z-index: 3 !important;
        border-radius: 0 0 16px 16px !important;
        background: #064e3b !important;
        border: 2px solid #ffffff !important;
        border-top: none !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
      }

      .card-time-badge {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 2px !important;
        padding-bottom: 4px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
        width: 100% !important;
      }

      .card-time-icon {
        width: 28px !important;
        height: 28px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #047857 !important;
        border: 1.5px solid #ffffff !important;
        color: #fdb813 !important;
        flex-shrink: 0 !important;
      }

      .card-time-icon svg {
        width: 16px !important;
        height: 16px !important;
      }

      .card-time-badge > div {
        text-align: center !important;
      }

      .card-time-text {
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        color: #fdb813 !important;
        letter-spacing: 0.04em !important;
        line-height: 1 !important;
      }

      .card-time-title {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem) !important;
        font-weight: 900 !important;
        color: #ffffff !important;
        line-height: 1.15 !important;
      }

      .feature-checklist {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        width: fit-content !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: left !important;
      }

      .feature-checklist li {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: clamp(0.76rem, 2vw, 0.85rem) !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        font-weight: 600 !important;
      }

      .check-pill {
        width: 16px !important;
        height: 16px !important;
        font-size: 0.70rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: #fdb813 !important;
        color: #07214d !important;
        font-weight: 900 !important;
        flex-shrink: 0 !important;
      }

      /* 3. Cards de Vantagens: 2 cards imponentes, preenchendo a tela e com espaço interno equilibrado */
      .hero-benefits-bar {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        flex-shrink: 0 !important;
      }

      /* Oculta os cards 'Veja o valor' (2) e 'Confira se você' (4) no celular */
      .hero-benefits-bar .benefit-item:nth-child(2),
      .hero-benefits-bar .benefit-item:nth-child(4) {
        display: none !important;
      }

      /* Cards de Vantagens: Visuais substanciais, bonitos e nítidos */
      .hero-benefits-bar .benefit-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: #064e3b !important;
        border: 2px solid #ffffff !important;
        border-radius: 14px !important;
        padding: clamp(6px, 1.2vh, 11px) 10px !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
        width: 100% !important;
        height: clamp(62px, 10.5vh, 80px) !important;
        min-height: unset !important;
        aspect-ratio: auto !important;
        box-sizing: border-box !important;
        gap: 2px !important;
      }

      .benefit-icon-circle {
        width: 26px !important;
        height: 26px !important;
        border-radius: 8px !important;
        background: #047857 !important;
        border: 1.5px solid #ffffff !important;
        color: #fdb813 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
      }

      .benefit-icon-circle svg {
        width: 15px !important;
        height: 15px !important;
      }

      .benefit-texts {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 1px !important;
        width: 100% !important;
      }

      .benefit-title {
        font-size: clamp(0.72rem, 2vw, 0.84rem) !important;
        font-weight: 900 !important;
        color: #fdb813 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        line-height: 1.15 !important;
      }

      .benefit-subtitle {
        font-size: clamp(0.62rem, 1.8vw, 0.72rem) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
      }

      .benefit-desc {
        display: none !important;
      }

      /* 4. Botão Principal: Grande, de Alto Impacto e Confortável */
      .hero-bottom-cta-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
      }

      .hero-bottom-cta-wrapper .cta-wrapper {
        margin: 0 auto !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 3px !important;
      }

      .hero-bottom-cta-wrapper .cta-btn-yellow {
        width: 100% !important;
        height: clamp(48px, 8vh, 58px) !important;
        min-height: unset !important;
        padding: 0 20px !important;
        font-size: clamp(1.02rem, 2.8vw, 1.18rem) !important;
        font-weight: 900 !important;
        border-radius: 30px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        box-shadow: 0 6px 22px rgba(253, 184, 19, 0.45) !important;
      }

      .hero-bottom-cta-wrapper .cta-btn-yellow .btn-icon-circle {
        width: 28px !important;
        height: 28px !important;
      }

      .hero-bottom-cta-wrapper .cta-btn-yellow .btn-icon-circle svg {
        width: 16px !important;
        height: 16px !important;
      }

      .hero-bottom-cta-wrapper .cta-sub-hint {
        font-size: clamp(0.68rem, 1.9vw, 0.76rem) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 600 !important;
        margin-top: 2px !important;
      }

      /* ================================================================
         QUIZ NO CELULAR: 100% EM UMA TELA SÓ COM MÁXIMA USABILIDADE
         ================================================================ */
      .quiz-container {
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 100dvh !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        background: #eef9f2 !important;
      }
      .quiz-top-header {
        padding: 8px 12px !important;
        justify-content: space-between !important;
        flex-shrink: 0 !important;
      }
      .quiz-top-header .btn-back-step {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
      }
      .quiz-top-header .quiz-step-badge {
        font-size: 0.72rem !important;
        padding: 3px 10px !important;
      }
      .quiz-top-header .quiz-percent-label {
        font-size: 0.82rem !important;
      }

      .quiz-card-body {
        padding: 8px 12px !important;
        text-align: center !important;
        flex: 1 !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
      }

      #quiz-steps-wrapper {
        width: 100% !important;
        display: flex;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
      }

      #quiz-steps-wrapper.hidden,
      #quiz-steps-wrapper[hidden],
      .quiz-top-header.hidden,
      .quiz-top-header[hidden],
      .quiz-step.hidden,
      .quiz-step[hidden] {
        display: none !important;
      }

      .quiz-step {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
      }

      /* Ícones do Quiz no Celular */
      .question-icon-wrapper {
        margin-bottom: 2px !important;
      }
      .question-icon-circle {
        width: clamp(42px, 6.8vh, 56px) !important;
        height: clamp(42px, 6.8vh, 56px) !important;
        border-radius: 14px !important;
      }
      .question-icon-circle svg {
        width: 26px !important;
        height: 26px !important;
      }

      /* Textos das Perguntas */
      .question-title {
        font-size: clamp(0.95rem, 2.2vh, 1.15rem) !important;
        line-height: 1.25 !important;
        margin: 2px 0 !important;
        text-align: center !important;
      }
      .question-subtitle {
        font-size: clamp(0.68rem, 1.6vh, 0.78rem) !important;
        margin: 0 0 6px 0 !important;
        line-height: 1.25 !important;
        text-align: center !important;
      }

      /* Lista de Opções */
      .options-list {
        gap: clamp(5px, 1vh, 8px) !important;
        width: 100% !important;
      }
      .option-card {
        padding: clamp(7px, 1.3vh, 10px) 12px !important;
        border-radius: 10px !important;
      }
      .option-card .option-text {
        font-size: clamp(0.80rem, 1.7vh, 0.88rem) !important;
      }

      /* Botões de Avanço do Quiz */
      .btn-continue-green {
        height: clamp(38px, 5.5vh, 44px) !important;
        min-height: unset !important;
        margin-top: clamp(6px, 1.2vh, 10px) !important;
        width: 100% !important;
        max-width: 360px !important;
        border-radius: 24px !important;
        font-size: clamp(0.82rem, 1.8vh, 0.90rem) !important;
      }

      /* Etapa 1 */
      .step-1-layout {
        gap: clamp(4px, 1vh, 8px) !important;
      }
      .step-1-logo-badge {
        padding: 4px 14px !important;
        height: 38px !important;
        margin-bottom: 4px !important;
      }
      .step-1-logo-badge img {
        height: 28px !important;
      }
      .step-1-title {
        font-size: clamp(0.88rem, 2.1vh, 1.05rem) !important;
        line-height: 1.2 !important;
      }
      .step-1-time-tag {
        font-size: 0.68rem !important;
        margin: 2px 0 !important;
        justify-content: center !important;
      }
      .step-1-image-cutout {
        max-height: clamp(80px, 16vh, 130px) !important;
        margin: 4px auto !important;
      }
      .step-1-header-logo {
        justify-content: center !important;
        margin: 0 auto !important;
      }

      /* Etapa 8: Data de Nascimento */
      .date-input-container {
        padding: 8px 12px !important;
        border-radius: 10px !important;
        width: 100% !important;
        margin: 4px 0 !important;
      }
      .date-input-label {
        font-size: 0.76rem !important;
        line-height: 1.2 !important;
      }
      .date-input-field {
        height: 38px !important;
        font-size: 1rem !important;
        padding: 4px 10px !important;
      }
      .date-input-hint {
        font-size: 0.68rem !important;
        margin-top: 2px !important;
      }

      /* Etapa 9: Formulário Lead */
      .lead-form-box {
        padding: 10px 12px !important;
        border-radius: 12px !important;
        width: 100% !important;
      }
      .lead-form-box .input-group {
        margin-bottom: 6px !important;
      }
      .lead-form-box label {
        font-size: 0.74rem !important;
        margin-bottom: 2px !important;
      }
      .lead-form-box input {
        height: 36px !important;
        font-size: 0.85rem !important;
        padding: 4px 10px !important;
      }
      .input-helper {
        font-size: 0.62rem !important;
        margin-top: 2px !important;
      }
      .btn-continue-green#btn-submit-lead {
        margin-top: 6px !important;
      }
      .security-note {
        font-size: 0.62rem !important;
        margin-top: 3px !important;
      }

      /* Tela de Resultado Final */
      .quiz-result-screen {
        gap: 6px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
      }
      .result-celebration-badge {
        font-size: 0.68rem !important;
        padding: 3px 8px !important;
        margin-bottom: 2px !important;
      }
      .result-title {
        font-size: clamp(1rem, 2.4vh, 1.25rem) !important;
        line-height: 1.2 !important;
      }
      .result-thankyou-card {
        padding: 8px 10px !important;
        gap: 8px !important;
        margin: 2px 0 6px 0 !important;
        border-radius: 10px !important;
      }
      .thankyou-icon {
        width: 28px !important;
        height: 28px !important;
      }
      .thankyou-title {
        font-size: 0.78rem !important;
      }
      .thankyou-description {
        font-size: 0.68rem !important;
        line-height: 1.25 !important;
      }
      .thankyou-steps-box {
        padding: 6px 10px !important;
        gap: 4px !important;
        border-radius: 10px !important;
      }
      .thankyou-step-item {
        gap: 6px !important;
      }
      .thankyou-step-item .step-bullet {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.68rem !important;
      }
      .thankyou-step-item .step-desc {
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
      }
      .btn-whatsapp-direct {
        height: clamp(40px, 5.8vh, 46px) !important;
        font-size: 0.85rem !important;
        margin-top: 4px !important;
        border-radius: 24px !important;
        width: 100% !important;
      }
      .btn-restart-quiz {
        font-size: 0.70rem !important;
        margin-top: 2px !important;
        padding: 4px 10px !important;
      }
    }

/* Otimizações Específicas para Telas Muito Pequenas (<= 360px: Galaxy A, iPhone SE) */
@media (max-width: 360px) {
  .hero-headline {
    font-size: 2.1rem !important;
  }
  .hero-description {
    font-size: 0.95rem !important;
  }
  .cta-btn-yellow {
    padding: 14px 16px !important;
  }
  .btn-main-label {
    font-size: 1.15rem !important;
  }
  .building-floating-tag {
    font-size: 0.72rem !important;
  }
}
