/* ==========================================================================
   LUMIRA — pages/auth.css : connexion & inscription
   ========================================================================== */

.page-auth .section {
  padding-block: clamp(44px, 7vw, 88px);
}

.auth-wrap {
  position: relative;
  max-width: 540px;
  margin-inline: auto;
}

/* Halo discret derrière le formulaire */
.auth-wrap::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  width: min(560px, 90vw);
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(109, 74, 255, 0.14), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.auth-head {
  text-align: center;
  margin-bottom: 22px;
}

.auth-eyebrow {
  font-size: 0.78rem;
  font-weight: 460;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.auth-head .section-title {
  margin-bottom: 10px;
}

.auth-sub {
  color: var(--muted);
  max-width: 42ch;
  margin-inline: auto;
}

.auth-offer {
  margin: 0 auto 22px;
  max-width: 460px;
}

/* Erreurs au-dessus du formulaire */
.form-alert {
  max-width: 460px;
  margin: 0 auto 18px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 96, 123, 0.45);
  background: rgba(226, 96, 123, 0.1);
  color: #f3bcc9;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Micro-copy & lien croisé */
.auth-micro {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.auth-alt {
  text-align: center;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
}

.auth-alt a {
  color: var(--gold);
  font-weight: 480;
  transition: color var(--t-fast);
}

.auth-alt a:hover {
  color: #ecd9ab;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-alt__offer {
  font-size: 0.82rem;
  color: rgba(152, 160, 196, 0.85);
}

.form-card .btn-block {
  margin-top: 4px;
}
