/* ==========================================================================
   Importando fontes e reset de estilos
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

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

:root {
  /* Cores Principais (Paleta Sálvia & Terracota Premium) */
  --bg-primary: #FAF9F6;
  --bg-secondary: #F2EFE9;
  
  --primary: #5F7D67; /* Sage Green */
  --primary-dark: #3B5342;
  --primary-light: #E9EFEA;
  
  --accent: #D67C65; /* Terracota/Coral */
  --accent-dark: #B95B44;
  --accent-light: #FBECE8;
  
  --text-dark: #202722;
  --text-muted: #566459;
  --text-light: #FFFFFF;
  
  --border-color: #E2DDD5;
  --border-hover: #5F7D67;
  
  --success: #4C9F70;
  --danger: #D9534F;
  --warning: #F0AD4E;

  /* Fontes */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Espaçamentos e Sombras */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(95, 125, 103, 0.08);
  --shadow-lg: 0 20px 50px rgba(95, 125, 103, 0.15);

  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 10% 20%, rgba(242, 239, 233, 0.6) 0%, rgba(250, 249, 246, 1) 90%);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header & Progresso
   ========================================================================== */
header {
  width: 100%;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(250, 249, 246, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 221, 213, 0.5);
}

.header-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.btn-back {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  opacity: 0;
  pointer-events: none;
}

.btn-back.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-back:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.step-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.progress-container {
  width: 100%;
  max-width: 600px;
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 10px;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(2px);
  animation: pulse-shine 1.5s infinite;
}

@keyframes pulse-shine {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* ==========================================================================
   Container Geral do Quiz
   ========================================================================== */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  position: relative;
  width: 100%;
}

.quiz-wrapper {
  width: 100%;
  max-width: 600px;
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 221, 213, 0.4);
  position: relative;
  overflow: hidden;
}

.quiz-slides-container {
  position: relative;
  width: 100%;
  transition: height 0.35s ease-out;
}

/* ==========================================================================
   Telas (Slides) e Animações de Transição
   ========================================================================== */
.quiz-slide {
  padding: 2.5rem 2rem;
  width: 100%;
  display: none;
  flex-direction: column;
  animation-fill-mode: both;
}

@media (max-width: 480px) {
  .quiz-slide {
    padding: 1.5rem 1rem;
  }
}

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

/* Animações de Entrada/Saída */
.slide-in-right {
  animation: slideInRight 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide-out-left {
  animation: slideOutLeft 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide-in-left {
  animation: slideInLeft 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.slide-out-right {
  animation: slideOutRight 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ==========================================================================
   Elementos de Texto Comuns
   ========================================================================== */
.headline-large {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.headline-large span {
  color: var(--accent);
}

.subheadline-large {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.question-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.question-instruction {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.support-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
  line-height: 1.5;
}

.duration-tag {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  align-self: center;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214, 124, 101, 0.4); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(214, 124, 101, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214, 124, 101, 0); }
}

/* ==========================================================================
   Grades e Opções do Quiz (Radio e Checkbox)
   ========================================================================== */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.options-grid.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 480px) {
  .options-grid.grid-2x2 {
    grid-template-columns: 1fr;
  }
}

.option-card {
  position: relative;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  user-select: none;
  touch-action: manipulation;
  pointer-events: auto;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.option-card * {
  pointer-events: none;
}

.option-card:focus-visible {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(95, 125, 103, 0.4);
}

.option-card:hover {
  border-color: var(--primary);
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-card:active {
  transform: translateY(0);
}

/* Estado selecionado */
.option-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(95, 125, 103, 0.12);
}

/* Indicadores de seleção customizados */
.option-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.option-card.selected .option-indicator {
  border-color: var(--primary);
  background-color: var(--primary);
}

.option-card.selected .option-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #FFFFFF;
  border-radius: 50%;
}

/* Variação para Checkbox (Multi-select) */
.option-card.checkbox .option-indicator {
  border-radius: 6px;
}

.option-card.checkbox.selected .option-indicator::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 900;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
}

/* Cards com Ilustração (Imagem/SVG) */
.option-card.visual-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  gap: 1.25rem;
}

.card-illustration {
  width: 100%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-sm);
  background: #FFFFFF;
  overflow: hidden;
  border: 1px solid rgba(226, 221, 213, 0.4);
  transition: var(--transition-smooth);
}

.option-card.selected .card-illustration {
  background: var(--primary-light);
  border-color: rgba(95, 125, 103, 0.2);
}

.card-illustration svg, .card-illustration img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-bounce);
}

.option-card:hover .card-illustration svg,
.option-card:hover .card-illustration img {
  transform: scale(1.08);
}

/* ==========================================================================
   Botões Premium
   ========================================================================== */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  padding: 1.25rem 2rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 8px 25px rgba(214, 124, 101, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(214, 124, 101, 0.5);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: var(--border-color);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Etapa 6: Carrossel de Depoimentos
   ========================================================================== */
.carousel-container {
  position: relative;
  width: 100%;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

.carousel-slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.testimonial-image-container {
  width: 100%;
  max-width: 320px;
  height: 200px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #FFFFFF;
  border: 1px solid rgba(226, 221, 213, 0.5);
}

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

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 10px;
}

.social-proof-footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.4;
}

/* ==========================================================================
   Etapa 12: Diagnóstico Personalizado (Causa Raiz)
   ========================================================================== */
.root-cause-banner {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--accent-light);
  border-radius: var(--border-radius-md);
  border: 1.5px dashed var(--accent);
  animation: pulse-dashed 2s infinite ease-in-out;
}

@keyframes pulse-dashed {
  0%, 100% { border-color: var(--accent); }
  50% { border-color: transparent; }
}

.root-cause-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.root-cause-banner p {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  text-transform: uppercase;
}

.diagnostic-charts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.chart-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.chart-title {
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chart-value {
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.chart-bar-container {
  width: 100%;
  height: 24px;
  background-color: var(--bg-secondary);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}

.chart-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 50px;
  transition: width 1.8s cubic-bezier(0.1, 1, 0.1, 1);
  position: relative;
}

.chart-bar-fill.sage {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.chart-bar-label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  pointer-events: none;
}

.chart-bar-ideal {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-dark);
  z-index: 5;
}

.chart-bar-ideal::after {
  content: 'Ideal';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--bg-primary);
  padding: 0 4px;
}

.diagnostic-text-box {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border-left: 5px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.diagnostic-text-box li {
  list-style: none;
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text-dark);
}

.diagnostic-text-box li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 0;
}

/* Tela de Processamento / Análise de Diagnóstico */
.diagnostic-loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
  width: 100%;
}

.loading-spinner-wrapper {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.spinner-icon {
  animation: spin 1.2s linear infinite;
  width: 100%;
  height: 100%;
}

.spinner-icon .path {
  stroke: var(--accent);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

.loading-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.loading-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 440px;
  text-align: left;
}

.loading-step-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
  opacity: 0.5;
}

.loading-step-item.active {
  opacity: 1;
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-dark);
  transform: translateX(4px);
}

.loading-step-item.completed {
  opacity: 1;
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Cartão do Índice de Mobilidade Funcional */
.mobility-index-card {
  background: linear-gradient(135deg, #202722 0%, #3B5342 100%);
  color: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.index-score-header {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-light);
  text-transform: uppercase;
}

.index-score-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF;
  margin: 0.2rem 0;
}

.index-score-number .score-total {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.index-score-badge {
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(214, 124, 101, 0.4);
}

/* Caixa de Explicação Clínica Detalhada */
.diagnostic-explanation-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.diagnostic-explanation-box h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.diagnostic-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
}

.diagnostic-bullets li {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
}

.diagnostic-bullets li strong {
  color: var(--primary-dark);
}

/* ==========================================================================
   Etapa 17: Pré-Venda
   ========================================================================== */
.selling-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.selling-point-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.selling-point-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.point-icon {
  background: var(--primary-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.point-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.point-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.benefits-box {
  background: var(--primary-light);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(95, 125, 103, 0.15);
}

.benefits-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-align: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(10px);
}

.benefit-item.animate {
  animation: slideUpFade 0.4s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideUpFade {
  to { opacity: 1; transform: translateY(0); }
}

.pre-sale-question {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

.pre-sale-question h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Etapa 21: Página de Vendas (VSL)
   ========================================================================== */
.vsl-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.vsl-headline {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

/* Reprodutor de Vídeo Mock Premium */
.video-player-mock {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.video-poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.video-poster-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #FFFFFF;
  text-align: center;
  padding: 1rem;
}

.video-play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(214, 124, 101, 0.6);
  transition: var(--transition-bounce);
  animation: pulse-play-btn 2s infinite;
}

.video-player-mock:hover .video-play-btn {
  transform: scale(1.1);
  background-color: var(--accent-dark);
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
  margin-left: 4px; /* ajuste óptico do triângulo de play */
}

@keyframes pulse-play-btn {
  0% { box-shadow: 0 0 0 0 rgba(214, 124, 101, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(214, 124, 101, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 124, 101, 0); }
}

.video-poster-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* O vídeo de verdade (ou simulado com canvas/animação) */
.video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  padding: 1.5rem 1rem 0.75rem 1rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.video-player-mock.playing:hover .video-controls,
.video-player-mock.paused .video-controls {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.video-progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(255,255,255,0.3);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-progress-fill {
  width: 0%;
  height: 100%;
  background-color: var(--accent);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.video-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;
}

.video-control-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  transition: var(--transition-smooth);
}

.video-control-btn:hover {
  color: var(--accent);
}

.video-control-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.video-time {
  font-size: 0.8rem;
  font-weight: 600;
}

/* Checkout Button com Delay */
.vsl-checkout-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.8s ease, max-height 0.8s ease;
}

.vsl-checkout-container.visible {
  opacity: 1;
  max-height: 500px;
  margin-top: 1.5rem;
}

.checkout-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.75rem;
  text-align: center;
  letter-spacing: 0.5px;
}

/* FAQ (Acordeão) */
.faq-container {
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: #FFFFFF;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.faq-question:hover {
  background-color: var(--bg-primary);
}

.faq-chevron {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  fill: var(--accent);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   Footer do Quiz
   ========================================================================== */
footer.main-footer {
  width: 100%;
  padding: 2rem 1rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Efeitos de feedback sonoro e interações de toque
   ========================================================================== */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(95, 125, 103, 0.2);
  transform: scale(0);
  animation: ripple-animation 0.5s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to { transform: scale(4); opacity: 0; }
}

/* Estilos para a imagem na Etapa 1 */
.intro-image-container {
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #FFFFFF;
  border: 1px solid rgba(226, 221, 213, 0.5);
  margin: 0 auto 1.5rem auto;
  align-self: center;
}

.intro-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.intro-image:hover {
  transform: scale(1.03);
}

.cta-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

