/* ========================================
   CRITICAL COLOR FIXES
   Correções críticas de legibilidade
   ======================================== */

/* ========== CABEÇALHO - MÁXIMA LEGIBILIDADE ========== */
.header {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.logo-text {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.logo-subtitle {
  color: #B86F6F !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  font-size: 0.875rem !important;
}

/* ========== FORMULÁRIO - OPÇÕES VISÍVEIS ========== */

/* Labels do formulário */
.form-label {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  margin-bottom: 1rem !important;
}

/* Opções do formulário - CONTRASTE MÁXIMO */
.form-option {
  background: white !important;
  border: 3px solid #D4AF8F !important;
  color: #1a1a1a !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-bottom: 1rem !important;
}

.form-option:hover {
  background: #F8F5F0 !important;
  border-color: #D88F8F !important;
  transform: translateX(4px) !important;
}

.form-option-text {
  color: #1a1a1a !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  line-height: 1.6 !important;
}

/* Opção selecionada */
.form-option input:checked ~ .form-option-text {
  color: white !important;
}

.form-option input:checked + * {
  background: #D88F8F !important;
  border-color: #D88F8F !important;
}

.form-option:has(input:checked) {
  background: #D88F8F !important;
  border-color: #D88F8F !important;
}

.form-option:has(input:checked) .form-option-text {
  color: white !important;
  font-weight: 700 !important;
}

/* Inputs de texto */
.form-input {
  background: white !important;
  border: 3px solid #D4AF8F !important;
  color: #1a1a1a !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  padding: 1rem 1.5rem !important;
  border-radius: 0.75rem !important;
}

.form-input::placeholder {
  color: #999999 !important;
  font-weight: 500 !important;
}

.form-input:focus {
  border-color: #D88F8F !important;
  box-shadow: 0 0 0 4px rgba(216, 143, 143, 0.15) !important;
  outline: none !important;
}

/* Checkboxes */
.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  border: 3px solid #D4AF8F;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-checkbox-label:hover {
  background: #F8F5F0;
  border-color: #D88F8F;
}

.form-checkbox-label input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  cursor: pointer;
}

.form-checkbox-label span {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1.125rem;
}

.form-checkbox-label:has(input:checked) {
  background: #D88F8F;
  border-color: #D88F8F;
}

.form-checkbox-label:has(input:checked) span {
  color: white;
  font-weight: 700;
}

/* Título do step */
.form-step-title {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
  margin-bottom: 2rem !important;
  line-height: 1.3 !important;
}

.form-step-description {
  color: #4a4a4a !important;
  font-weight: 500 !important;
  font-size: 1.125rem !important;
  margin-bottom: 2rem !important;
  line-height: 1.6 !important;
}

/* Botões do formulário */
.btn-form-primary {
  background: #D88F8F !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  padding: 1.25rem 2.5rem !important;
  border: none !important;
  border-radius: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.btn-form-primary:hover {
  background: #C67F7F !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(216, 143, 143, 0.3) !important;
}

.btn-form-secondary {
  background: transparent !important;
  color: #D88F8F !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  padding: 1rem 2rem !important;
  border: 3px solid #D88F8F !important;
  border-radius: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-form-secondary:hover {
  background: #D88F8F !important;
  color: white !important;
}

/* Progress bar */
.form-progress {
  background: #E0E0E0 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  margin-bottom: 2rem !important;
}

.form-progress-bar {
  background: linear-gradient(90deg, #D88F8F 0%, #E8A87C 100%) !important;
  height: 12px !important;
  transition: width 0.3s ease !important;
}

.form-progress-text {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  text-align: center !important;
  margin-top: 0.5rem !important;
}

/* ========== HERO - LEGIBILIDADE MÁXIMA ========== */
.hero {
  background: linear-gradient(135deg, #F8F5F0 0%, #FFFFFF 100%) !important;
}

.hero-title {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  line-height: 1.2 !important;
}

.hero-subtitle {
  color: #D88F8F !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  font-size: 1.5rem !important;
}

.hero-description {
  color: #2c2c2c !important;
  font-weight: 500 !important;
  font-size: 1.25rem !important;
  line-height: 1.7 !important;
  text-shadow: none !important;
}

/* ========== CTAs - MÁXIMA VISIBILIDADE ========== */
.btn-primary {
  background: #D88F8F !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  padding: 1.25rem 2.5rem !important;
  border: none !important;
  border-radius: 0.75rem !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 4px 15px rgba(216, 143, 143, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-primary:hover {
  background: #C67F7F !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(216, 143, 143, 0.4) !important;
}

.btn-secondary {
  background: #7FA87F !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  padding: 1.25rem 2.5rem !important;
  border: none !important;
  border-radius: 0.75rem !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 4px 15px rgba(127, 168, 127, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover {
  background: #6F986F !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(127, 168, 127, 0.4) !important;
}

/* ========== SEÇÕES - CONTRASTE MELHORADO ========== */
.section-title {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
}

.section-subtitle {
  color: #4a4a4a !important;
  font-weight: 500 !important;
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
}

.section-text {
  color: #2c2c2c !important;
  font-weight: 500 !important;
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
  .form-step-title {
    font-size: 1.5rem !important;
  }
  
  .form-option-text {
    font-size: 1rem !important;
  }
  
  .form-input {
    font-size: 1rem !important;
  }
  
  .section-title {
    font-size: 2rem !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.25rem !important;
  }
}
