/* ============================================
   WIZARD ANUNCIE SEU IMÓVEL
   ============================================ */

.wizard-progress {
  position: relative;
  margin-bottom: 40px;
}

.wizard-progress::before {
  content: "";
  position: absolute;
  top: 15px; left: 0; right: 0;
  height: 2px;
  background: var(--border-strong);
  z-index: 1;
}

.progress-bar {
  position: absolute;
  top: 15px; left: 0;
  height: 2px;
  background: var(--grad-gold);
  z-index: 2;
  width: 0%;
  transition: width 0.4s var(--ease);
}

.step-indicators {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.step::before {
  content: attr(data-step);
  width: 32px; height: 32px;
  background: var(--bg-elev);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px;
  transition: all 0.3s;
}

.step.active {
  color: var(--gold-2);
}
.step.active::before {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 0 15px rgba(230,180,90,0.3);
}

/* Formulário */
.form-step {
  display: none;
  animation: fadeInStep 0.4s var(--ease) forwards;
}

.form-step.active { display: block; }

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.wizard-actions .button {
  padding: 12px 28px;
}

@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
  .step-indicators .step { font-size: 0; }
  .step-indicators .step::before { font-size: 14px; }
}

/* ============================================
   CORREÇÃO DOS SELECTS (Tema Claro p/ Opções)
   ============================================ */

/* Força o input principal (fechado) a ficar no tema escuro */
#wizard-form select {
  background-color: var(--bg-elev);
  color: var(--text);
}

/* Força as opções da lista (aberta) a terem fundo claro e texto preto */
#wizard-form select option {
  background-color: #ffffff; /* Fundo branco */
  color: #000000;            /* Texto preto */
  font-weight: 500;
  padding: 10px;
}

/* Se o navegador for antigo, isso garante que o texto não suma */
#wizard-form select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}