/* ==========================================================================
   Login / Cadastro
   ========================================================================== */
:root {
  --ax-ink: #0b1020;
  --ax-ink-2: #1e2538;
  --ax-muted: #5b6478;
  --ax-line: #e3e7f0;
  --ax-soft: #f6f8fc;
  --ax-brand: #4f46e5;
  --ax-blue: #2563eb;
  --ax-grad: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #06b6d4 100%);
  --ax-grad-btn: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
  --ax-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ax-display: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body.ax { margin: 0; min-height: 100vh; font-family: var(--ax-font); font-size: 15px; line-height: 1.55; color: var(--ax-ink); background: #fff; -webkit-font-smoothing: antialiased; }
:where(.ax) a { color: inherit; text-decoration: none; }
:where(.ax) :is(h1, h2, p, ul, ol) { margin: 0; padding: 0; }
:where(.ax) :is(ul, ol) { list-style: none; }
:where(.ax) img { display: block; max-width: 100%; }
.ax :focus-visible { outline: 2px solid #818cf8; outline-offset: 2px; border-radius: 8px; }
.ui-ico { flex-shrink: 0; display: inline-block; vertical-align: middle; }

.ax-shell { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 100vh; }

/* ------------------------------------------------------------ Vitrine */
.ax-show {
  --ax-g1: #030a1c; --ax-g2: #0b2a78;
  position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; padding: 40px 48px;
  color: #fff;
  background:
    radial-gradient(640px 420px at 10% -10%, rgba(99, 102, 241, .5), transparent 60%),
    radial-gradient(520px 380px at 100% 100%, rgba(6, 182, 212, .28), transparent 60%),
    linear-gradient(160deg, var(--ax-g1) 0%, var(--ax-g2) 100%);
}
.ax-show-bg { position: absolute; inset: 0; z-index: -1; mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 30%, transparent 75%); }
.ax-show-bg svg { display: block; }
.ax-brand { display: inline-flex; align-self: flex-start; }
.ui-logo-plain img { height: 34px; width: auto; }
.ui-logo-pill { display: inline-flex; align-items: center; padding: 5px 10px; background: #fff; border-radius: 10px; }
.ui-logo-pill img { height: 28px; width: auto; }

.ax-show-body { margin: auto 0; padding: 40px 0; max-width: 500px; }
.ax-show h2 { font-family: var(--ax-display); font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.ax-show h2 em { font-style: normal; background: linear-gradient(100deg, #a5b4fc, #60a5fa 45%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ax-show-lead { margin-top: 16px; font-size: 16.5px; color: rgba(226, 232, 255, .72); line-height: 1.65; }
.ax-perks { display: grid; gap: 14px; margin-top: 28px; }
.ax-perks li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(240, 243, 255, .92); }
.ax-perk-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: #c7d2fe; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }

.ax-mock { position: relative; margin-top: 40px; max-width: 420px; }
.ax-mock-card { padding: 16px; border-radius: 16px; background: rgba(10, 15, 35, .55); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.ax-mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12px; color: rgba(226, 232, 255, .6); }
.ax-mock-head span { display: inline-flex; align-items: center; gap: 6px; }
.ax-mock-head b { color: #c7d2fe; font-weight: 600; }
.ax-mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: 13px; }
.ax-mock-row + .ax-mock-row { margin-top: 6px; }
.ax-mock-row i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.ax-mock-row b { font-weight: 600; }
.ax-mock-row small { color: #fbbf24; }
.ax-mock-chip { margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #4ade80; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .25); }
.ax-mock-float { position: absolute; right: -22px; bottom: -26px; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #fff; color: var(--ax-ink); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); animation: ax-bob 6s ease-in-out infinite; }
.ax-mock-float > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #16a34a; background: #dcfce7; }
.ax-mock-float small { display: block; font-size: 11px; color: var(--ax-muted); font-weight: 600; }
.ax-mock-float b { font-family: var(--ax-display); font-size: 16px; }
@keyframes ax-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.ax-show-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ax-price { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: rgba(240, 243, 255, .85); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.ax-price .ui-ico { color: #fbbf24; }
.ax-price strong { color: #fff; }
.ax-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(226, 232, 255, .6); }
.ax-secure .ui-ico { color: #34d399; }

/* ------------------------------------------------------------ Formulário */
.ax-main { display: flex; flex-direction: column; min-height: 100vh; padding: 28px 40px 32px; background: #fff; }
.ax-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.ax-back { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 8px; border-radius: 10px; color: var(--ax-muted); font-weight: 500; transition: background-color .15s, color .15s; }
.ax-back:hover { background: var(--ax-soft); color: var(--ax-ink); }
.ax-top-alt { color: var(--ax-muted); }
.ax-top-alt a { color: var(--ax-brand); font-weight: 600; }
.ax-top-alt a:hover { text-decoration: underline; }

.ax-form-wrap { width: 100%; max-width: 400px; margin: auto; padding: 40px 0 24px; }
.ax-form-wrap--wide { max-width: 480px; }
.ax-brand-mobile { display: none; }
.ax-form-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--ax-grad); box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .7), inset 0 1px 0 rgba(255, 255, 255, .25); margin-bottom: 24px; }
.ax-main h1 { font-family: var(--ax-display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.ax-sub { margin-top: 8px; color: var(--ax-muted); font-size: 15px; }

.ax-steps { display: flex; gap: 6px; margin-bottom: 26px; counter-reset: s; }
.ax-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--ax-line); font-size: 12.5px; font-weight: 600; color: #98a1b5; }
.ax-steps li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 11px; background: var(--ax-soft); border: 1px solid var(--ax-line); }
.ax-steps li.is-on { color: var(--ax-ink); border-image: var(--ax-grad) 1; }
.ax-steps li.is-on span { color: #fff; background: var(--ax-grad); border: 0; }

.ax-form { display: grid; gap: 18px; margin-top: 28px; }
.ax-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.ax-field { display: grid; gap: 7px; }
.ax-field label { font-size: 13.5px; font-weight: 600; color: var(--ax-ink-2); }
.ax-optional { margin-left: 4px; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 600; color: var(--ax-muted); background: var(--ax-soft); border: 1px solid var(--ax-line); }
.ax-input { position: relative; display: flex; align-items: center; height: 48px; border-radius: 12px; background: #fff; border: 1px solid #d9deea; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: border-color .15s, box-shadow .15s; }
.ax-input:hover { border-color: #c3cadb; }
.ax-input:focus-within { border-color: #818cf8; box-shadow: 0 0 0 4px rgba(99, 102, 241, .14); }
.ax-input-ico { position: absolute; left: 14px; color: #98a1b5; pointer-events: none; transition: color .15s; }
.ax-input:focus-within .ax-input-ico { color: var(--ax-brand); }
.ax-input input { flex: 1; min-width: 0; height: 100%; padding: 0 14px 0 44px; border: 0; outline: 0; background: transparent; font: 500 15px var(--ax-font); color: var(--ax-ink); border-radius: 12px; }
.ax-input input::placeholder { color: #a3abbd; font-weight: 400; }
.ax-input input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; -webkit-text-fill-color: var(--ax-ink); }
.ax-input--phone input { padding-left: 12px; }
.ax-ddi { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px 0 14px; border-right: 1px solid var(--ax-line); font-weight: 600; font-size: 14px; color: var(--ax-ink-2); }
.ax-ddi .ui-ico { color: #16a34a; }
.ax-eye { display: grid; place-items: center; width: 40px; height: 40px; margin-right: 4px; border: 0; border-radius: 9px; background: transparent; color: #98a1b5; cursor: pointer; }
.ax-eye:hover { background: var(--ax-soft); color: var(--ax-ink); }
.ax-eye .ax-eye-off, .ax-eye.is-on .ax-eye-on { display: none; }
.ax-eye.is-on .ax-eye-off { display: inline-block; }
.ax-input:has(.ax-eye) input { padding-right: 4px; }
.ax-hint { font-size: 12.5px; color: #8a93a8; }

.ax-check { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ax-muted); cursor: pointer; line-height: 1.5; }
.ax-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.ax-check-box { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; border: 1.5px solid #c3cadb; background: #fff; color: transparent; transition: all .15s; }
.ax-check input:checked + .ax-check-box { background: var(--ax-grad-btn); border-color: transparent; color: #fff; }
.ax-check input:focus-visible + .ax-check-box { box-shadow: 0 0 0 4px rgba(99, 102, 241, .2); }
.ax-check a { color: var(--ax-brand); font-weight: 600; }
.ax-check a:hover { text-decoration: underline; }

.ax-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; padding: 0 20px; border: 0; border-radius: 12px; cursor: pointer; font: 600 15.5px var(--ax-font); color: #fff; background: var(--ax-grad-btn); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 12px 24px -10px rgba(79, 70, 229, .7); transition: transform .15s, box-shadow .15s, filter .15s; }
.ax-btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 16px 30px -10px rgba(79, 70, 229, .85); }
.ax-btn:active { transform: translateY(0); }
.ax-btn .ui-ico { transition: transform .15s; }
.ax-btn:hover .ui-ico { transform: translateX(2px); }
.ax-btn.is-loading { pointer-events: none; filter: saturate(.7); }
.ax-btn.is-loading > * { opacity: 0; }
.ax-btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: ax-spin .7s linear infinite; }
@keyframes ax-spin { to { transform: rotate(360deg); } }
.ax-btn--ghost { color: var(--ax-ink); background: #fff; border: 1px solid #d9deea; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.ax-btn--ghost:hover { border-color: #c3cadb; background: var(--ax-soft); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.ax-btn--ghost .ui-ico { color: var(--ax-brand); }

.ax-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }
.ax-alert .ui-ico { margin-top: 2px; padding: 2px; border-radius: 50%; color: #fff; background: #ef4444; width: 18px; height: 18px; }

.ax-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: #a3abbd; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.ax-divider::before, .ax-divider::after { content: ""; flex: 1; height: 1px; background: var(--ax-line); }
.ax-after { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: -4px; font-size: 13px; color: var(--ax-muted); text-align: center; }
.ax-after .ui-ico { color: #0d9488; }
.ax-legal { display: flex; justify-content: center; gap: 8px; margin-top: 32px; font-size: 12.5px; color: #a3abbd; }
.ax-legal a { color: var(--ax-muted); }
.ax-legal a:hover { color: var(--ax-ink); }

/* ------------------------------------------------------------ Responsivo */
@media (max-width: 1100px) {
  .ax-show { padding: 32px 36px; }
  .ax-mock { display: none; }
}
@media (max-width: 900px) {
  .ax-shell { grid-template-columns: 1fr; }
  .ax-show { display: none; }
  body.ax { background: linear-gradient(180deg, #0b1027 0, #0b1027 220px, #fff 220px); }
  .ax-main { padding: 20px 16px 28px; background: transparent; }
  .ax-top { color: #c7d2fe; }
  .ax-back { color: #c7d2fe; }
  .ax-back:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .ax-top-alt { color: rgba(226, 232, 255, .7); }
  .ax-top-alt a { color: #fff; }
  .ax-form-wrap { margin: 24px auto 0; padding: 28px 22px; border-radius: 20px; background: #fff; box-shadow: 0 24px 48px -20px rgba(2, 6, 23, .35), 0 0 0 1px var(--ax-line); }
  .ax-brand-mobile { display: flex; justify-content: center; margin: 18px 0 0; }
}
@media (max-width: 520px) {
  .ax-grid-2 { grid-template-columns: 1fr; }
  .ax-top-alt { display: none; }
  .ax-main h1 { font-size: 26px; }
  .ax-steps li { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .ax-mock-float { animation: none; } }
