/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLESHEET
   Brand: Ronald Oliveira Personal Trainer
   Theme: High-Performance Athletic (Nike/Sports Style)
   ========================================================================== */

/* Variables */
:root {
  --bg-color-light: #FFF5F5;
  --bg-gradient: linear-gradient(135deg, #FFF5F5 0%, #FFEBEB 100%);
  --primary-red: #FF1E27;
  --primary-red-hover: #E30B13;
  --primary-red-rgb: 255, 30, 39;
  --dark-charcoal: #121212;
  --medium-gray: #4A4A4A;
  --light-gray: #EAEAEA;
  --white: #FFFFFF;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --font-heading: 'Outfit', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: var(--dark-charcoal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 3px;
}

/* Header Fixo */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 30, 39, 0.1);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  min-height: 64px;
}

/* Botão Voltar */
.back-btn {
  position: absolute;
  left: 15px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-charcoal);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03);
}

.back-btn:hover {
  background: rgba(255, 30, 39, 0.1);
  color: var(--primary-red);
  transform: scale(1.1);
}

.back-btn svg {
  width: 20px;
  height: 20px;
}

/* Perfil Informações */
.profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-container {
  position: relative;
  width: 42px;
  height: 42px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-red);
}

.avatar-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary-red);
  animation: pulseAvatar 2s infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes pulseAvatar {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.profile-text {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--dark-charcoal);
}

.verified-badge {
  color: #1DA1F2; /* Twitter verified blue color */
  display: inline-flex;
  align-items: center;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
}

.profile-handle {
  font-size: 11px;
  color: var(--medium-gray);
  font-weight: 600;
}

/* Barra de Urgência */
.urgency-bar {
  background: var(--primary-red);
  color: var(--white);
  text-align: center;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.urgency-bar strong {
  font-weight: 900;
  background: rgba(0,0,0,0.2);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 2px;
  display: inline-block;
  min-width: 48px;
  letter-spacing: 1px;
}

/* Barra de Progresso */
.progress-container {
  width: 100%;
  height: 4px;
  background: var(--light-gray);
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary-red);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px var(--primary-red);
}

/* Container do Quiz */
.quiz-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 140px auto 40px auto;
  padding: 0 20px;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Decoradores de fundo (estilo premium) */
.card-glass-decorator {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 30, 39, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  top: 15%;
  right: -100px;
  z-index: -1;
  pointer-events: none;
}

.card-glass-decorator-2 {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 30, 39, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: 10%;
  left: -100px;
  z-index: -1;
  pointer-events: none;
}

/* Seções de Passos */
.step-section {
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(255, 30, 39, 0.02);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.step-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Animações de Transição de Saída */
.step-section.exit-left {
  opacity: 0;
  transform: translateX(-100px) scale(0.95);
}

.step-section.enter-right {
  display: block;
  opacity: 0;
  transform: translateX(100px) scale(0.95);
}

/* Headline */
.step-headline {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  text-align: center;
  color: var(--dark-charcoal);
  font-style: italic;
  position: relative;
}

.step-headline::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-red);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

/* Showcase de Imagem (Etapa 1) */
.image-showcase {
  width: 100%;
  height: 220px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  border: 2px solid rgba(255, 30, 39, 0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.step-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-showcase:hover .step-image {
  transform: scale(1.08) rotate(1deg);
}

.image-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(255, 30, 39, 0.2) 100%);
  pointer-events: none;
}

/* Botões de Opção Geral (Estilo Shoe selector/Athletic) */
.option-btn {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  padding: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-charcoal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition-bounce);
  outline: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* Hover & Active States (Estilo Adidas/Nike) */
.option-btn:hover {
  border-color: rgba(255, 30, 39, 0.5);
  background: rgba(255, 30, 39, 0.02);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 30, 39, 0.08);
}

.option-btn.selected {
  border-color: var(--primary-red);
  background: var(--primary-red);
  color: var(--white);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 30, 39, 0.25);
  animation: selectBounce 0.3s forwards;
}

@keyframes selectBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1.02); }
}

/* Efeito Ripple de clique */
.ripple-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnimation 0.5s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Grids e Layouts de Opções */
.options-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

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

/* Etapa 2 - Layout Especial (Objetivo) */
.options-objective {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.objective-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.objective-card {
  flex-direction: column;
  gap: 10px;
  padding: 24px 16px;
  min-height: 140px;
}

.objective-card.full-width {
  padding: 20px;
  flex-direction: row;
  min-height: auto;
  gap: 16px;
}

.card-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}

.objective-card:hover .card-icon {
  transform: scale(1.2) rotate(5deg);
}

.objective-card .option-title {
  font-size: 13px;
  line-height: 1.3;
}

/* Listas Verticais (Etapas 3, 4, 5, 8, 10, 11, 12, 13) */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.list-item-btn {
  justify-content: flex-start;
  padding: 16px 20px;
  gap: 16px;
  text-align: left;
}

.bullet-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--dark-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.list-item-btn:hover .bullet-number {
  background: rgba(255, 30, 39, 0.1);
  color: var(--primary-red);
}

.list-item-btn.selected .bullet-number {
  background: var(--white);
  color: var(--primary-red);
}

.list-item-btn .option-title {
  font-size: 13px;
  line-height: 1.4;
}

/* Botões de Ação Geral (Continuar) */
.action-btn {
  width: 100%;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 18px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 6px 20px rgba(255, 30, 39, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.action-btn:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 30, 39, 0.35);
}

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

.action-btn:disabled {
  background: var(--light-gray);
  color: var(--medium-gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.action-btn:disabled::before {
  display: none;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shineBtn 2.5s infinite;
}

@keyframes shineBtn {
  0% { left: -100%; }
  40% { left: 100%; }
  100% { left: 100%; }
}

/* Pulsação para CTAs finais */
.cta-pulse {
  animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 30, 39, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 30, 39, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 30, 39, 0);
  }
}

/* Seção de Vídeos (Stories / Reels Style) */
.step-video-section {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  max-width: 100%;
}

.stories-video-container {
  width: 100%;
  background: #000;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.story-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
}

/* Stories / Reels Progress Indicator */
.story-progress-indicator {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  z-index: 10;
}

.story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  overflow: hidden;
}

.story-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--white);
  transition: width 0.1s linear;
}

/* Stories Header */
.story-user-header {
  position: absolute;
  top: 20px;
  left: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.story-avatar-container {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--white);
  overflow: hidden;
}

.story-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-user-info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.story-username {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.verified-badge.mini svg {
  width: 12px;
  height: 12px;
}

.story-sound-toggle {
  margin-left: auto;
  background: rgba(0,0,0,0.5);
  border: none;
  color: var(--white);
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: var(--transition-smooth);
}

.story-sound-toggle:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* Video click guide overlay */
.story-overlay-click-guide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  color: var(--white);
  transition: opacity 0.3s ease;
}

.story-overlay-click-guide p {
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.play-pulse {
  width: 60px;
  height: 60px;
  background: rgba(255, 30, 39, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: playPulseAnim 1.5s infinite;
}

.play-pulse svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: var(--white);
}

@keyframes playPulseAnim {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 30, 39, 0.4); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(255, 30, 39, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 30, 39, 0); }
}

/* Stories Footer */
.story-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
  padding: 24px 20px 20px 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.story-caption {
  color: var(--white);
  font-size: 12px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.story-btn-skip {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 10px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.story-btn-skip:hover {
  background: var(--white);
  color: var(--dark-charcoal);
}

/* VSL Container specific overrides */
.vsl-container {
  aspect-ratio: 9/16;
}

/* Reels Layout (Etapa 19) */
.reels-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reels-headline {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  font-style: italic;
}

.reels-container {
  width: 100%;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.reels-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reels-header {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.reels-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--primary-red);
}

.reels-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reels-author-info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.reels-username {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.reels-sound-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 12px;
}

.reels-sidebar {
  position: absolute;
  bottom: 40px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  z-index: 10;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.sidebar-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
  color: var(--white);
  transition: transform 0.2s ease;
}

.sidebar-item:hover .sidebar-icon {
  transform: scale(1.15);
  color: var(--primary-red);
}

.sidebar-label {
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.checkout-button-container {
  width: 100%;
  animation: fadeInDown 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkout-btn {
  flex-direction: column;
  padding: 16px;
  text-decoration: none;
}

.checkout-btn-text {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.checkout-btn-sub {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 4px;
}

.clickable-glow {
  animation: glowPulse 2.5s infinite;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 30, 39, 0.7); }
  50% { box-shadow: 0 0 20px 8px rgba(255, 30, 39, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(255, 30, 39, 0); }
}

/* Etapa 14 - Cards de Prioridade (Apenas texto) */
.priority-card {
  padding: 22px 10px;
  font-size: 15px;
}

/* Etapa 15 - Formulário de Medidas */
.measures-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 10px 0 30px 0;
}

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

.input-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--medium-gray);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.measure-input {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-md);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  outline: none;
  transition: var(--transition-smooth);
  color: var(--dark-charcoal);
  -moz-appearance: textfield;
}

.measure-input::-webkit-outer-spin-button,
.measure-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.measure-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(255, 30, 39, 0.05);
}

.input-focus-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition-smooth);
}

.measure-input:focus ~ .input-focus-line {
  left: 0;
  width: 100%;
}

.aux-text {
  font-size: 11px;
  color: var(--medium-gray);
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
}

.shake {
  animation: shakeAnim 0.4s ease-in-out;
}

@keyframes shakeAnim {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Etapa 17 - Tela de Processamento */
.processing-section {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  text-align: center;
}

.processing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.custom-loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--light-gray);
  border-top-color: var(--primary-red);
  border-radius: 50%;
  animation: loaderSpin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-inner-circle {
  position: absolute;
  width: 80%;
  height: 80%;
  border: 2px solid rgba(255, 30, 39, 0.05);
  border-bottom-color: var(--primary-red);
  border-radius: 50%;
  animation: loaderSpin 1.8s linear infinite reverse;
}

.loader-percentage {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-red);
}

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

.processing-messages {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.processing-message {
  position: absolute;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--medium-gray);
  width: 100%;
  max-width: 320px;
}

.processing-message.active {
  opacity: 1;
  transform: translateY(0);
  color: var(--dark-charcoal);
}

/* Etapa 18 - Tela de Diagnóstico */
.diagnostic-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.imc-dashboard {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: 20px;
  border: 1px solid rgba(255,30,39,0.08);
}

.imc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.imc-header h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 800;
}

.imc-badge {
  background: var(--primary-red);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
}

.imc-interpretation-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--medium-gray);
  margin-bottom: 16px;
}

.imc-scale {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.imc-scale-bar {
  height: 6px;
  background: linear-gradient(to right, #3498db 0%, #2ecc71 30%, #f1c40f 65%, #e74c3c 100%);
  border-radius: 3px;
  position: relative;
}

.imc-indicator {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--dark-charcoal);
  transform: translateX(-50%);
  transition: left 1s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.imc-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--medium-gray);
}

/* Gráfico de Evolução */
.evolution-chart-box {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: 20px 15px;
  border: 1px solid rgba(255,30,39,0.08);
}

.evolution-chart-box h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
}

.chart-wrapper {
  width: 100%;
}

.svg-chart {
  width: 100%;
  height: auto;
}

.chart-text {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  fill: #666;
  text-anchor: middle;
}

.label-y {
  text-anchor: end;
}

.dot-val {
  font-size: 7px;
  font-weight: 800;
  fill: #333;
}

.chart-dot {
  transition: r 0.2s ease;
  cursor: pointer;
}

.chart-dot:hover {
  r: 9;
}

/* Projeção de Imagem Antes/Depois */
.projection-container {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: 20px 15px;
  border: 1px solid rgba(255,30,39,0.08);
  text-align: center;
}

.projection-container h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 15px;
}

.projection-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 12px;
}

.projection-img-box {
  flex: 1;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  position: relative;
  max-width: 140px;
}

.projection-img-box img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 8px;
  font-weight: 800;
  padding: 4px;
  text-align: center;
}

.img-label.hot {
  background: var(--primary-red);
}

.projection-arrow {
  font-size: 24px;
  color: var(--primary-red);
  font-weight: 900;
  animation: arrowBounce 1.5s infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.projection-disclaimer {
  font-size: 9px;
  color: var(--medium-gray);
  font-weight: 600;
}

/* Footer do Quiz */
.quiz-footer {
  text-align: center;
  padding: 20px;
  font-size: 10px;
  color: var(--medium-gray);
  font-weight: 600;
  margin-top: auto;
  border-top: 1px solid rgba(255, 30, 39, 0.05);
  background: rgba(255, 255, 255, 0.5);
  width: 100%;
}

.quiz-footer p:first-child {
  margin-bottom: 5px;
}

/* Utility Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsiveness adjustments */
@media (max-width: 480px) {
  .quiz-wrapper {
    margin-top: 120px;
    padding: 0 15px;
  }
  .step-section {
    padding: 16px;
    border-radius: var(--border-radius-md);
  }
  .step-headline {
    font-size: 18px;
    margin-bottom: 18px;
  }
  .image-showcase {
    height: 180px;
  }
  .objective-card {
    padding: 16px 10px;
    min-height: 120px;
  }
}
