/* =========================================
   FORMULAIRE PROGRESSIF - ÉTAT INITIAL
========================================= */

.lws-step {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Étape active uniquement */
.lws-step.active {
  display: block;
  opacity: 1;
}

/* Radios / checkboxes propres */
.lws-radio-group label,
.lws-checkbox-group label {
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

/* Validation visuelle */
.lws-step input.valid {
  border: 2px solid #2ecc71;
}

.lws-step input.invalid {
  border: 2px solid #e74c3c;
}
/* =========================
   LIGHTBOX "RECHERCHE"
========================= */

.lead-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lead-loader-box {
  background: #fff;
  padding: 130px 140px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: leadFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 760px;
}

.lead-loader-box.flash {
  box-shadow: 0 0 0 15px rgba(44, 177, 188, 0.45);
  transition: box-shadow 0.6s ease-out;
}

.lead-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top-color: #6a00ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 15px;
}

.lead-loader-text {
  font-size: 18px;
  line-height: 1.35;
  color: #111;
}

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

@keyframes leadFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}