/* ==========================================================================
   FATOR CONTABILIDADE — VERSÃO 2: MULTI-ETAPAS WIZARD (2027-2033)
   Design System Oficial: Preto Fosco, Grafite & Ouro Fator
   Ajustado para Máximo Espaço e Usabilidade Mobile First
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Paleta Oficial Fator */
  --bg-space: #0a0a0c;
  --bg-cockpit: #111114;
  --bg-card: rgba(18, 18, 22, 0.94);
  --bg-card-hover: rgba(26, 26, 32, 0.98);
  
  /* Cores de Acento & Ouro Oficial Fator */
  --fator-gold: #f8b808;
  --fator-gold-light: #ffd043;
  --fator-gold-dark: #d99c00;
  --fator-gold-glow: rgba(248, 184, 8, 0.38);
  --fator-gold-subtle: rgba(248, 184, 8, 0.12);
  
  /* Cores Complementares */
  --cyan-avionics: #38bdf8;
  --green-radar: #10b981;
  
  /* Cores de Texto */
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  /* Bordas */
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(248, 184, 8, 0.3);
  --border-gold-bright: rgba(248, 184, 8, 0.7);
  
  /* WhatsApp */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba59;
  
  /* Tipografia */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Raios e Sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(248, 184, 8, 0.08);
  --shadow-glow-gold: 0 0 30px rgba(248, 184, 8, 0.5);
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-space);
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 85% 10%, rgba(248, 184, 8, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 10% 50%, rgba(248, 184, 8, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(248, 184, 8, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}/* Container Principal - Otimizado com Mais Espaço para Conteúdo */
.wizard-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================================================
   HEADER FIXO COM HUD DE PROGRESSO
   ========================================================================== */
.wizard-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.75rem 0;
}

.wizard-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wizard-brand-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.wizard-logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
  transition: var(--transition-smooth);
}

.wizard-brand-tagline {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 0.9rem;
}

.wizard-tagline-main {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fator-gold);
  letter-spacing: 0.02em;
}

.wizard-tagline-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* HUD de Progresso das Etapas */
.wizard-steps-hud {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 18, 22, 0.9);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.hud-step-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

.hud-step-num {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.hud-step-pill.active {
  color: var(--fator-gold);
}

.hud-step-pill.active .hud-step-num {
  background: var(--fator-gold);
  color: #0a0a0c;
  font-weight: 900;
  box-shadow: 0 0 10px var(--fator-gold-glow);
}

.hud-step-pill.completed {
  color: #ffffff;
}

.hud-step-pill.completed .hud-step-num {
  background: rgba(248, 184, 8, 0.25);
  color: var(--fator-gold);
  border: 1px solid var(--fator-gold);
}

.hud-step-divider {
  width: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   CONTEÚDO DAS TELAS DO WIZARD
   ========================================================================== */
.wizard-main {
  flex: 1;
  padding: 1.5rem 0 3.5rem;
  position: relative;
}

.wizard-step-screen {
  display: none;
  animation: fadeInStep 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wizard-step-screen.active {
  display: block;
}

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

/* Card Principal do Wizard */
.wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.5rem);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.wizard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--fator-gold), transparent);
}

/* Títulos e Cabeçalhos das Telas */
.screen-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--fator-gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--fator-gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.screen-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.screen-subtitle {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

/* Blocos de Perguntas */
.wizard-question-block {
  margin-bottom: 2.25rem;
  padding-bottom: 1.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.wizard-question-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Título da Pergunta com Ícone/Badge Não-Comprimível e Destaque */
.question-title {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  line-height: 1.35;
}

.question-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  max-width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 50%;
  background: var(--fator-gold);
  border: 2px solid var(--fator-gold);
  color: #0a0a0c;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--fator-gold-glow);
  margin-top: 1px;
}

.question-text-content {
  flex: 1;
}

.question-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  padding-left: 2.6rem;
}

/* ==========================================================================
   TELA 1: PERGUNTA 1 — NPS 0 A 10
   ========================================================================== */
.nps-scale-wrapper {
  margin-bottom: 0.85rem;
}

.nps-buttons-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.nps-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: var(--transition-smooth);
}

.nps-btn:hover {
  background: var(--fator-gold-subtle);
  border-color: var(--fator-gold);
  color: var(--fator-gold);
  transform: translateY(-2px);
}

.nps-btn.selected {
  background: var(--fator-gold);
  border-color: var(--fator-gold);
  color: #0a0a0c;
  font-weight: 900;
  box-shadow: var(--shadow-glow-gold);
  transform: scale(1.05);
}

.nps-legend-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  padding: 0 0.2rem;
}

.nps-legend-bar span:first-child {
  color: var(--text-muted);
}

.nps-legend-bar span:last-child {
  color: var(--fator-gold);
  font-weight: 700;
}

/* ==========================================================================
   TELA 1: PERGUNTA 2 — MATRIZ 8 ITENS COM 5 ESTRELAS (APAGADAS INICIALMENTE)
   ========================================================================== */
.rating-matrix-card {
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.rating-matrix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 1rem;
  transition: var(--transition-smooth);
}

.rating-matrix-row:last-child {
  border-bottom: none;
}

.rating-matrix-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.rating-item-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex: 1;
}

.rating-item-stars-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Estrelas: iniciam 100% apagadas (com contorno sutil) e preenchem em ouro vívido */
.star-interactive-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease;
  outline: none;
}

.star-interactive-btn svg {
  width: 30px;
  height: 30px;
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 1.5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.star-interactive-btn:hover svg {
  transform: scale(1.18);
  fill: rgba(248, 184, 8, 0.25);
  stroke: var(--fator-gold-light);
}

.star-interactive-btn.active svg {
  fill: var(--fator-gold) !important;
  stroke: var(--fator-gold-dark) !important;
  filter: drop-shadow(0 0 8px rgba(248, 184, 8, 0.75));
  transform: scale(1.05);
}

.rating-score-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fator-gold);
  min-width: 34px;
  text-align: right;
  margin-left: 0.35rem;
}

.rating-score-pill.empty {
  color: var(--text-dim);
}

/* ==========================================================================
   TELA 2: TRANSIÇÃO VISUAL & 11 CARDS DE ALERTA CLICÁVEIS E SELECIONÁVEIS
   ========================================================================== */
.transition-banner-box {
  background: linear-gradient(135deg, rgba(248, 184, 8, 0.12) 0%, rgba(18, 18, 22, 0.9) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.4rem;
  margin-bottom: 1.85rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.transition-banner-icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: var(--radius-md);
  background: var(--fator-gold);
  color: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--fator-gold-glow);
}

.transition-banner-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--fator-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.transition-banner-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

/* Grade de Cards de Alerta Clicáveis */
.alerts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.alert-diagnostic-card {
  background: rgba(12, 12, 16, 0.88);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  user-select: none;
  position: relative;
  width: 100%;
}

.alert-diagnostic-card * {
  pointer-events: none; /* Garante clique unificado em qualquer área do card */
}

.alert-diagnostic-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.alert-checkbox-box {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-smooth);
}

.alert-diagnostic-card:hover {
  border-color: var(--border-gold);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.alert-diagnostic-card:active {
  transform: scale(0.98);
}

.alert-diagnostic-card.active {
  border-color: var(--fator-gold);
  background: rgba(248, 184, 8, 0.15);
  box-shadow: 0 0 22px rgba(248, 184, 8, 0.22);
}

.alert-diagnostic-card.active .alert-checkbox-box {
  background: var(--fator-gold);
  border-color: var(--fator-gold);
  color: #0a0a0c;
  font-weight: 900;
  box-shadow: 0 0 8px var(--fator-gold-glow);
} font-weight: 900;
}

.alert-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.alert-card-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}

.alert-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Card em Super Destaque ("Ainda não sei") */
.alert-diagnostic-card.featured-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(248, 184, 8, 0.15) 0%, rgba(18, 18, 22, 0.95) 100%);
  border: 2px solid var(--fator-gold);
  box-shadow: 0 0 25px rgba(248, 184, 8, 0.22);
}

.alert-diagnostic-card.featured-card:hover {
  box-shadow: var(--shadow-glow-gold);
}

.featured-badge-pill {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--fator-gold);
  color: #0a0a0c;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(248, 184, 8, 0.5);
}

/* Inputs de Texto */
.custom-textarea, .custom-input, .custom-select {
  width: 100%;
  background: rgba(12, 12, 16, 0.9);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.custom-textarea:focus, .custom-input:focus, .custom-select:focus {
  outline: none;
  border-color: var(--fator-gold);
  box-shadow: 0 0 18px rgba(248, 184, 8, 0.3);
  background: rgba(18, 18, 24, 0.98);
}

.custom-textarea {
  min-height: 80px;
  resize: vertical;
}

/* ==========================================================================
   TELA 3: ROTA DE VOO & CARTÃO DE EMBARQUE
   ========================================================================== */
.route-summary-box {
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}

.route-summary-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--fator-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.route-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.route-alert-tag {
  background: var(--fator-gold-subtle);
  border: 1px solid var(--border-gold);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.boarding-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-field-label .required {
  color: var(--fator-gold);
}

/* Botões de Ação do Wizard */
.wizard-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-wizard-back {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-wizard-back:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-wizard-next {
  background: linear-gradient(135deg, var(--fator-gold), #e09f00);
  color: #0a0a0c;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 22px rgba(248, 184, 8, 0.4);
  letter-spacing: -0.01em;
}

.btn-wizard-next:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
  background: linear-gradient(135deg, var(--fator-gold-light), #f8b808);
}

.btn-whatsapp-submit {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  padding: 1.15rem 2.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-submit:hover {
  background: linear-gradient(135deg, #2ae06d, #14a090);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.submit-footer-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.5;
  text-align: center;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Modal de Sucesso */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 8, 0.94);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-cockpit);
  border: 1px solid var(--fator-gold);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 2.4rem 1.8rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), var(--shadow-glow-gold);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-icon-success {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(248, 184, 8, 0.15);
  border: 2px solid var(--fator-gold);
  color: var(--fator-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem;
  box-shadow: 0 0 25px var(--fator-gold-glow);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.modal-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.85rem;
}

/* Rodapé do Wizard */
.wizard-footer {
  background: #060608;
  border-top: 1px solid var(--border-gold);
  padding: 1.85rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE (MAX-WIDTH 768px & 480px)
   ========================================================================== */
@media (max-width: 768px) {
  .wizard-container {
    padding: 0 0.5rem;
  }
  .wizard-header {
    padding: 0.6rem 0;
  }
  .wizard-header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .wizard-brand-tagline {
    display: none;
  }
  .wizard-logo-img {
    height: 52px;
  }
  .wizard-steps-hud {
    padding: 0.25rem 0.65rem;
    gap: 0.35rem;
  }
  .hud-step-pill {
    font-size: 0.72rem;
  }
  .hud-step-num {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    font-size: 0.68rem;
  }
  .wizard-main {
    padding: 0.85rem 0 2.5rem;
  }
  .wizard-card {
    padding: 1.15rem 0.75rem;
    border-radius: var(--radius-md);
  }
  .screen-title {
    font-size: 1.55rem;
  }
  .screen-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.35rem;
  }
  .wizard-question-block {
    margin-bottom: 1.75rem;
    padding-bottom: 1.45rem;
  }
  .question-title {
    font-size: 1.05rem;
    gap: 0.65rem;
    align-items: flex-start;
  }
  .question-num-badge {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
  .question-desc {
    padding-left: 0;
    margin-bottom: 0.9rem;
    font-size: 0.84rem;
  }
  .nps-buttons-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.3rem;
  }
  .nps-buttons-grid .nps-btn:last-child {
    grid-column: span 2;
  }
  .nps-btn {
    height: 46px;
    font-size: 0.98rem;
  }
  .rating-matrix-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0.65rem;
    gap: 0.55rem;
  }
  .rating-item-label {
    font-size: 0.9rem;
  }
  .rating-item-stars-group {
    width: 100%;
    justify-content: space-between;
  }
  .star-interactive-btn {
    padding: 0.2rem 0.15rem;
  }
  .star-interactive-btn svg {
    width: 32px;
    height: 32px;
  }
  .transition-banner-box {
    padding: 0.85rem 0.75rem;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }
  .transition-banner-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }
  .transition-banner-title {
    font-size: 0.95rem;
  }
  .transition-banner-text {
    font-size: 0.84rem;
  }
  .alerts-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }
  .alert-diagnostic-card {
    padding: 0.85rem 0.75rem;
    gap: 0.65rem;
  }
  .alert-card-title {
    font-size: 0.96rem;
  }
  .alert-card-desc {
    font-size: 0.82rem;
  }
  .featured-badge-pill {
    right: 10px;
    font-size: 0.64rem;
    padding: 0.15rem 0.55rem;
  }
  .boarding-grid-2col {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .wizard-actions-bar {
    flex-direction: column-reverse;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .btn-wizard-next, .btn-wizard-back {
    width: 100%;
    padding: 0.95rem 1.25rem;
  }
  .btn-whatsapp-submit {
    padding: 1.05rem 1.25rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .wizard-logo-img {
    height: 48px;
  }
  .wizard-container {
    padding: 0 0.3rem;
  }
  .wizard-card {
    padding: 1rem 0.55rem;
  }
  .nps-buttons-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nps-buttons-grid .nps-btn:last-child {
    grid-column: span 1;
  }
  .star-interactive-btn svg {
    width: 30px;
    height: 30px;
  }
  .alert-diagnostic-card {
    padding: 0.8rem 0.65rem;
  }
}
