/* ==========================================================================
   Connexion et inscription : carte centrée sur fond clair
   ========================================================================== */
body.ax { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; margin: 0;
  background: radial-gradient(900px 420px at 50% -120px, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%), var(--bg); }
.ax-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(16px, 4vw, 40px); }
.ax-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.ax-brand:hover { color: var(--text); }
.ax-brand img { border-radius: 10px; box-shadow: 0 6px 16px -6px rgba(91, 63, 224, .7); }
.ax-top-right { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ax-muted { color: var(--text-3); }

.ax-main { display: grid; justify-items: center; align-content: center; padding: 16px 16px 40px; }
.ax-card { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 24px 48px -24px rgba(36, 24, 110, .25); }
.ax-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.ax-lead { color: var(--text-2); margin: 8px 0 24px; }
.ax-card .field input { height: 48px; font-size: 15px; }
.ax-card .field label { font-weight: 600; }
.ax-btn { height: 50px; font-size: 16px; font-weight: 700; margin-top: 8px; }
.ax-btn-alt { height: 48px; font-weight: 650; border: 1.5px solid var(--border); }
.ax-sep { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; margin: 18px 0; }
.ax-sep::before, .ax-sep::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.ax-plan { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; margin-bottom: 20px;
  background: color-mix(in srgb, var(--brand) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--border)); }
.ax-plan-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.ax-plan div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.ax-plan strong { font-size: 14.5px; }
.ax-plan span { font-size: 12.5px; color: var(--text-2); }
.ax-plan a { font-size: 13px; font-weight: 600; }

.ax-perks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 13.5px; color: var(--text-2); }
.ax-perks li { display: inline-flex; align-items: center; gap: 6px; }
.ax-perks .icon { color: var(--ok); }

.ax-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 18px; font-size: 12.5px; color: var(--text-3); }
.ax-foot span { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 560px) {
  .ax-top-right .ax-muted { display: none; }
  .ax-card { border-radius: 14px; }
  .ax-dot { display: none; }
}
.ax-card .check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text-2); font-size: 13.5px; cursor: pointer; }
.ax-card .check-row input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.ax-plan-icon .icon { color: #fff; stroke: #fff; }
.ax-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ax-label-row a { font-size: 13px; font-weight: 600; }
.ax-foot a { color: var(--text-2); }
.ax-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-soft); color: var(--brand); }
.ax-icon-ok { background: var(--ok-soft); color: var(--ok); }
.ax-icon-bad { background: var(--bad-soft, #fde8e8); color: var(--bad, #d92d20); }
.ax-steps { margin: 0 0 22px; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.ax-card .check-row a { font-weight: 600; }
