/* Page d'inscription publique (inscription.html), dans le style de l'écran de connexion. */
body.signup-page .login-shell { align-items: start; }
body.signup-page .login-visual { position: sticky; top: 0; height: calc(100vh - 40px); }
body.signup-page .login-shell .signup-card { width: min(480px, calc(100% - 40px)); margin: 56px 20px; align-self: start; }
.signup-card h1 { margin: 0 0 10px; }
.signup-card p { line-height: 1.55; }
.signup-lead { color: var(--muted); margin: 0 0 24px; }
.signup-plans { border: 0; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.signup-plans legend { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.signup-period { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); justify-self: start; }
.signup-period button { border: 0; background: none; border-radius: 9px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 800; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.signup-period button.is-active { background: var(--ink); color: #fff; }
.signup-period em { font-style: normal; font-size: 11px; font-weight: 900; padding: 2px 6px; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.signup-period em:empty { display: none; }
.signup-plan-list { display: grid; gap: 8px; }
.signup-plan { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.signup-plan:hover { border-color: rgba(2, 11, 66, .25); }
.signup-plan.is-selected { border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow-soft); }
.signup-plan input { position: absolute; opacity: 0; pointer-events: none; }
.signup-plan:focus-within { box-shadow: 0 0 0 3px var(--yellow-soft); }
.signup-plan-main { display: grid; gap: 2px; min-width: 0; }
.signup-plan-main strong { font-size: 16px; font-weight: 900; }
.signup-plan-main strong em { font-style: normal; font-size: 11px; font-weight: 900; padding: 2px 7px; border-radius: 6px; background: var(--yellow); color: var(--ink); margin-left: 4px; vertical-align: 2px; }
.signup-plan-main small, .signup-plan-price small { color: var(--muted); font-size: 12.5px; }
.signup-trial { color: #36623f !important; font-weight: 700; }
.signup-plan-price { display: grid; justify-items: end; text-align: right; flex: none; }
.signup-plan-price b { font-size: 20px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.signup-plan-price s { font-size: 13px; color: var(--muted); }
.signup-promo { color: #9a3522 !important; font-weight: 800; }
.signup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-terms { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; font-size: 14px; line-height: 1.45; }
.signup-terms input { margin-top: 2px; flex: none; }
.signup-terms a { color: var(--ink); font-weight: 700; }
.signup-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.signup-note:empty { display: none; }
.signup-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--yellow); color: var(--ink); margin-bottom: 20px; }
.signup-icon svg { width: 28px; height: 28px; }
.signup-summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; margin: 18px 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.signup-summary:empty { display: none; }
.signup-summary span { color: var(--muted); }
.signup-actions { display: grid; gap: 10px; margin-top: 18px; }
.signup-spinner { display: block; width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--ink); animation: su-spin .8s linear infinite; margin-bottom: 22px; }
@keyframes su-spin { to { transform: rotate(360deg); } }
.link-button { margin-top: 0; }
.login-foot a, .login-foot .link-button { color: var(--ink); font-weight: 800; }
@media (max-width: 900px) {
  body.signup-page .login-visual { display: none; }
  body.signup-page .login-shell { grid-template-columns: 1fr; }
  body.signup-page .login-shell .signup-card { justify-self: center; margin: 32px auto; }
}
@media (max-width: 480px) { .signup-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .signup-spinner { animation: none; } }
