/* ===========================
   SIMULADOR MAZUKIM - FRANQUIA HUNTER
   =========================== */

:root {
  /* Cores Mazukim - Azul/Roxo */
  --primary-color: #1e3a8a;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #7c3aed;
  --secondary-dark: #6d28d9;
  --secondary-light: #a78bfa;
  --accent-color: #f59e0b;
  --accent-hover: #d97706;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
  --shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.08);
  --shadow-md: 0 4px 16px rgba(30, 58, 138, 0.12);
  --shadow-lg: 0 8px 32px rgba(30, 58, 138, 0.16);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Partículas animadas no fundo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(30, 58, 138, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0) scale(1); 
    opacity: 1;
  }
  50% { 
    transform: translateY(-20px) scale(1.05); 
    opacity: 0.8;
  }
}

/* ===========================
   CONTAINER PRINCIPAL
   =========================== */

.simulador-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Grid tecnológico de fundo */
.simulador-container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(30, 58, 138, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* ===========================
   HEADER / HERO
   =========================== */

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 60px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.3) 0%, transparent 40%);
  z-index: 0;
}

/* Efeito de scan line tecnológico */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: scanLine 4s linear infinite;
  z-index: 1;
}

@keyframes scanLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(600px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-header {
  width: 250px;
  max-width: 90%;
  height: auto;
  margin-bottom: 30px;
  filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(255,255,255,0.3),
               0 0 40px rgba(59, 130, 246, 0.3);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { 
    text-shadow: 0 0 20px rgba(255,255,255,0.3),
                 0 0 40px rgba(59, 130, 246, 0.3);
  }
  50% { 
    text-shadow: 0 0 30px rgba(255,255,255,0.5),
                 0 0 60px rgba(59, 130, 246, 0.5);
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 40px;
  font-weight: 400;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-highlight {
  background: var(--accent-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

/* Stats do Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  transition: var(--transition);
  animation: statFloat 3s ease-in-out infinite;
}

.stat-item:nth-child(2) {
  animation-delay: 0.5s;
}

.stat-item:nth-child(3) {
  animation-delay: 1s;
}

@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.btn-start {
  background: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 20px 50px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md), 0 0 30px rgba(245, 158, 11, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.btn-start::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-start:hover::before {
  width: 300px;
  height: 300px;
}

.btn-start:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(245, 158, 11, 0.7);
  background: var(--accent-hover);
}

.btn-start svg {
  width: 22px;
  height: 22px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.hero-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* ===========================
   PROGRESS BAR
   =========================== */

.progress-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm), 0 4px 30px rgba(30, 58, 138, 0.1);
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  display: none;
}

.progress-container.active {
  display: block;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.progress-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e5e7eb;
  z-index: 0;
}

.progress-bar-fill {
  position: absolute;
  top: 20px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-light));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  transition: width 0.5s ease;
  z-index: 1;
  box-shadow: 0 0 10px rgba(30, 58, 138, 0.5);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
  margin-bottom: 8px;
  position: relative;
}

.progress-step.active .step-circle {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(30, 58, 138, 0.6),
              inset 0 0 10px rgba(255, 255, 255, 0.3);
  animation: circleGlow 2s ease-in-out infinite;
}

@keyframes circleGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(30, 58, 138, 0.6),
                inset 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(30, 58, 138, 0.9),
                inset 0 0 15px rgba(255, 255, 255, 0.5);
  }
}

.progress-step.completed .step-circle {
  border-color: var(--success);
  background: var(--success);
  color: var(--white);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
}

.progress-step.active .step-label {
  color: var(--primary-color);
  font-weight: 600;
}

/* ===========================
   ETAPAS DO SIMULADOR
   =========================== */

.step-section {
  display: none;
  padding: 60px 20px;
  min-height: calc(100vh - 200px);
}

.step-section.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-content {
  max-width: 900px;
  margin: 0 auto;
}

.step-header {
  text-align: center;
  margin-bottom: 50px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md), 0 0 30px rgba(30, 58, 138, 0.4);
  position: relative;
  animation: pulse 2s ease-in-out infinite;
}

.step-number::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  animation: ripple 2s ease-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: var(--shadow-md), 0 0 30px rgba(30, 58, 138, 0.4);
  }
  50% {
    box-shadow: var(--shadow-md), 0 0 50px rgba(30, 58, 138, 0.6);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.step-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.3;
}

.step-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* ===========================
   OPTIONS / CARDS
   =========================== */

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.option-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid transparent;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-light));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  transform: scaleX(0);
  transition: var(--transition);
}

.option-card::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--border-radius);
  padding: 3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-light));
  background-size: 400% 400%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  animation: borderGlow 3s ease infinite;
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.option-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 10px 40px rgba(30, 58, 138, 0.2);
  border-color: var(--primary-light);
}

.option-card:hover::before {
  transform: scaleX(1);
}

.option-card:hover::after {
  opacity: 1;
}

.option-card.selected {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(30, 58, 138, 0.5);
  animation: selectedPulse 2s ease-in-out infinite;
}

@keyframes selectedPulse {
  0%, 100% {
    box-shadow: var(--shadow-lg), 0 0 40px rgba(30, 58, 138, 0.5);
  }
  50% {
    box-shadow: var(--shadow-lg), 0 0 60px rgba(30, 58, 138, 0.7);
  }
}

.option-card.selected .option-icon {
  filter: brightness(0) invert(1);
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.option-card.selected .option-title,
.option-card.selected .option-description {
  color: var(--white);
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.option-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  transition: var(--transition);
  position: relative;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.option-icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.2), transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.option-card:hover .option-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 8px 16px rgba(30, 58, 138, 0.3));
}

.option-card:hover .option-icon::before {
  opacity: 1;
  animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.option-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.option-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
  margin-bottom: 10px;
}

.option-description {
  font-size: 0.9rem;
  color: var(--text-gray);
  transition: var(--transition);
}

/* ===========================
   INFO CARDS (Etapa 2)
   =========================== */

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.info-card {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(124, 58, 237, 0.05));
  border: 2px solid rgba(30, 58, 138, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(124, 58, 237, 0.1));
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.info-card h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ===========================
   HIGHLIGHT BOX
   =========================== */

.highlight-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
  border: 2px solid var(--accent-color);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

.highlight-box h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 800;
}

.benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.benefits-list li {
  font-size: 1rem;
  color: var(--text-dark);
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 500;
}

.benefits-list li:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateX(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===========================
   SELECT / DROPDOWN
   =========================== */

.select-wrapper {
  max-width: 600px;
  margin: 0 auto 40px;
}

.select-custom {
  width: 100%;
  padding: 18px 20px;
  font-size: 1.1rem;
  border: 2px solid #e5e7eb;
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%231e3a8a' d='M10 13l-7-7h14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  font-family: 'Inter', sans-serif;
}

.select-custom:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.select-custom option {
  padding: 10px;
}

/* ===========================
   BOTÕES DE NAVEGAÇÃO
   =========================== */

.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.btn {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-size: 200% 200%;
  color: var(--white);
  box-shadow: var(--shadow-md), 0 0 20px rgba(30, 58, 138, 0.3);
  animation: gradientShift 3s ease infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover:not(:disabled)::before {
  width: 300px;
  height: 300px;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(30, 58, 138, 0.5);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: var(--text-gray);
  border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
  border-color: var(--text-gray);
  background: #f9fafb;
}

/* ===========================
   FORMULÁRIO FINAL
   =========================== */

.form-section {
  display: none;
  padding: 60px 20px;
  min-height: 100vh;
}

.form-section.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(30, 58, 138, 0.2);
  position: relative;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.form-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, 
    var(--primary-color), 
    var(--secondary-color), 
    var(--primary-light),
    var(--secondary-light)
  );
  background-size: 300% 300%;
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.3;
  animation: borderGlow 4s ease infinite;
  filter: blur(8px);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header .step-number {
  margin-bottom: 20px;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.form-description {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 30px;
}

/* Final Stats */
.final-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.final-stat {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(124, 58, 237, 0.1));
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(30, 58, 138, 0.2);
  transition: var(--transition);
}

.final-stat:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(30, 58, 138, 0.2);
}

.final-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 5px;
  font-weight: 500;
}

.final-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(30, 58, 138, 0.2);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  background: var(--white);
  position: relative;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1),
              0 0 20px rgba(30, 58, 138, 0.2);
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: #adb5bd;
}

.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  background-size: 200% 200%;
  color: var(--white);
  padding: 20px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 20px;
  box-shadow: var(--shadow-md), 0 0 30px rgba(245, 158, 11, 0.4);
  animation: gradientShift 3s ease infinite, submitPulse 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit:hover:not(:disabled)::before {
  width: 400px;
  height: 400px;
}

@keyframes submitPulse {
  0%, 100% {
    box-shadow: var(--shadow-md), 0 0 30px rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: var(--shadow-md), 0 0 50px rgba(245, 158, 11, 0.6);
  }
}

.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent-hover), #b45309);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(245, 158, 11, 0.6);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  animation: none;
}

/* ===========================
   FOOTER
   =========================== */

.footer-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 50px 20px 30px;
  text-align: center;
  margin-top: auto;
}

.footer-logo {
  width: 200px;
  max-width: 80%;
  height: auto;
  margin-bottom: 25px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.footer-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.footer-address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 900px;
  margin: 0 auto;
}

/* ===========================
   RESPONSIVIDADE
   =========================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .btn-start {
    padding: 18px 40px;
    font-size: 1.1rem;
  }

  .logo-header {
    width: 170px;
  }

  .progress-container {
    padding: 20px 15px;
  }

  .step-label {
    font-size: 0.65rem;
  }

  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .step-title {
    font-size: 1.6rem;
  }

  .step-description {
    font-size: 1rem;
  }

  .options-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .option-card {
    padding: 30px 20px;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .final-stats {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 35px 25px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 40px 15px 60px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .step-section {
    padding: 40px 15px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .option-icon {
    width: 60px;
    height: 60px;
  }

  .option-title {
    font-size: 1.1rem;
  }

  .highlight-box {
    padding: 20px;
  }

  .highlight-box h3 {
    font-size: 1.2rem;
  }

  .benefits-list li {
    font-size: 0.9rem;
  }

  .form-container {
    padding: 25px 20px;
  }

  .btn-submit {
    font-size: 1.1rem;
  }
}

/* ===========================
   LOADING STATE
   =========================== */

.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 4px solid transparent;
  border-top-color: var(--primary-color);
  border-right-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(30, 58, 138, 0.5);
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Loading Overlay Avançado */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  flex-direction: column;
  gap: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.spinner {
  width: 70px;
  height: 70px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-color);
  border-right-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.6),
              inset 0 0 20px rgba(255, 255, 255, 0.3);
  position: relative;
}

.spinner::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 4px solid transparent;
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1.2s linear infinite reverse;
}

/* ===========================
   UTILITÁRIOS
   =========================== */

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

