/* ── Wizard d'inscription EsthApp ─────────────────────────────── */
.reg-body { background: #fafafa; min-height: 100vh; }
.reg-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}
.reg-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.reg-login-link {
  font-size: 13px; color: var(--lp-text-muted);
}
.reg-login-link:hover { color: var(--lp-violet); }

/* Stepper */
.reg-steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  position: relative;
  counter-reset: step;
}
.reg-steps::before {
  content: "";
  position: absolute;
  top: 18px; left: 4%; right: 4%;
  height: 2px; background: var(--lp-border);
  z-index: 0;
}
.reg-step {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
  font-size: 12px; color: var(--lp-text-muted);
  font-weight: 500;
  text-align: center;
}
.reg-step span {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--lp-border);
  color: var(--lp-text-muted);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  transition: all .25s;
}
.reg-step.active span {
  background: var(--lp-violet);
  border-color: var(--lp-violet);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(76, 29, 149, .12);
}
.reg-step.active { color: var(--lp-violet); font-weight: 600; }
.reg-step.done span { background: var(--lp-violet); border-color: var(--lp-violet); color: #fff; }
.reg-step.done span::after { content: "✓"; }
.reg-step.done span > * { display: none; }

/* Card */
.reg-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 18px;
  padding: 40px 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.reg-pane { display: none; }
.reg-pane.active { display: block; animation: regFadeIn .3s ease; }
@keyframes regFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reg-pane h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  margin: 0 0 8px;
}
.reg-sub {
  color: var(--lp-text-muted);
  font-size: 15px;
  margin: 0 0 28px;
  line-height: 1.6;
}
.reg-info {
  background: var(--lp-violet-light);
  border-left: 3px solid var(--lp-violet);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px; color: #475569;
  margin-bottom: 24px;
}
.reg-trial-info {
  text-align: center;
  font-size: 13px;
  color: #16a34a;
  font-weight: 500;
  margin: 8px 0 24px;
}

/* Champs */
.reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .reg-row { grid-template-columns: 1fr; } }
.reg-field { margin-bottom: 16px; }
.reg-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 6px;
}
.reg-field input,
.reg-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--lp-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--lp-text);
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.reg-field input:focus,
.reg-field select:focus {
  outline: none;
  border-color: var(--lp-violet);
  box-shadow: 0 0 0 3px rgba(76, 29, 149, .12);
}
.reg-hint {
  display: block;
  font-size: 12px;
  color: var(--lp-text-muted);
  margin-top: 6px;
}

/* Password meter */
.reg-pwd-meter {
  display: flex; gap: 4px;
  margin-top: 8px;
}
.reg-pwd-meter span {
  flex: 1; height: 4px;
  background: var(--lp-border);
  border-radius: 2px;
  transition: background .2s;
}
.reg-pwd-meter span.on { background: var(--lp-violet); }
.reg-pwd-meter[data-score="1"] span.on { background: #ef4444; }
.reg-pwd-meter[data-score="2"] span.on { background: #f59e0b; }
.reg-pwd-meter[data-score="3"] span.on { background: #eab308; }
.reg-pwd-meter[data-score="4"] span.on { background: #16a34a; }

/* Plans choix */
.reg-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 720px) { .reg-plans { grid-template-columns: 1fr; } }
.reg-plan-radio { cursor: pointer; }
.reg-plan-radio input { display: none; }
.reg-plan-card {
  border: 2px solid var(--lp-border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  position: relative;
  transition: all .2s;
  background: #fff;
}
.reg-plan-radio input:checked + .reg-plan-card {
  border-color: var(--lp-violet);
  box-shadow: 0 0 0 4px rgba(76, 29, 149, .12);
}
.reg-plan-card.featured {
  border-color: var(--lp-violet-accent);
}
.reg-plan-ribbon {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--lp-violet);
  color: #fff;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.reg-plan-h {
  font-weight: 700; font-size: 16px;
  margin-bottom: 4px;
}
.reg-plan-price {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--lp-violet);
  margin-bottom: 4px;
}
.reg-plan-desc { font-size: 11px; color: var(--lp-text-muted); }

/* Actions */
.reg-actions {
  display: flex; gap: 10px; justify-content: space-between;
  margin-top: 24px;
}
.reg-actions .lp-btn--primary { margin-left: auto; }

/* Erreur */
.reg-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  border-left: 3px solid #dc2626;
}
.reg-error.hidden { display: none; }

/* Étape 4 : succès */
.reg-success-icon {
  text-align: center;
  margin-bottom: 24px;
}
.reg-help-box {
  background: var(--lp-violet-light);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.reg-help-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 700;
  margin: 0 0 8px;
  color: var(--lp-text);
}
.reg-help-box p {
  font-size: 13px;
  color: var(--lp-text-muted);
  margin-bottom: 12px;
}
.reg-resend-msg {
  font-size: 13px;
  color: var(--lp-text-muted);
}
.reg-foot {
  font-size: 12px;
  color: var(--lp-text-muted);
  text-align: center;
  margin-top: 28px;
}

.reg-footer {
  text-align: center;
  font-size: 12px;
  color: var(--lp-text-muted);
  margin-top: 24px;
}
.reg-footer a { color: inherit; }
.hidden { display: none !important; }
