/* Login: formulário à esquerda, globo 3D e cartões flutuantes à direita. */
body.auth { min-height: 100%; overflow-x: hidden; }
.auth-wrap { display: grid; grid-template-columns: minmax(360px, 520px) minmax(0, 1fr); min-height: 100vh; }
.auth-form { display: flex; flex-direction: column; gap: 28px; padding: 32px clamp(20px, 4vw, 56px); position: relative; z-index: 2; }
.auth-card { display: flex; flex-direction: column; gap: 18px; margin-block: auto; width: 100%; max-width: 420px; }
.auth-card.swap { animation: swap .45s cubic-bezier(.2,.8,.2,1); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.auth-head h1 { margin: 0; font-weight: 500; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -.02em; line-height: 1.05; }
.auth-head p { margin: 8px 0 0; color: var(--muted); font-size: 16px; font-weight: 300; }
.auth-plan { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 16px; background: rgba(198,244,50,.06); box-shadow: inset 0 0 0 1px rgba(198,244,50,.18); font-size: 13px; color: var(--muted); }
.link { border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; padding: 0; }
.link:hover { color: var(--lime); }
.pw { position: relative; }
.pw .input { padding-right: 84px; }
.pw-eye { position: absolute; right: 8px; top: 50%; translate: 0 -50%; border: 0; background: var(--surface-2); color: var(--muted); font-size: 12px; padding: 6px 10px; border-radius: 10px; cursor: pointer; }
.pw-eye:hover { color: var(--text); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 6px; align-items: center; margin-top: -6px; }
.pw-meter i { height: 4px; border-radius: 2px; background: var(--surface-3); transition: background .25s; }
.pw-meter span { font-size: 11px; color: var(--dim); min-width: 70px; text-align: right; }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--bad); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: var(--pink); }
.pw-meter[data-s="4"] i:nth-child(-n+4) { background: var(--lime); }
.terms { font-size: 13px; color: var(--muted); padding: 0; }
.auth-msg { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 13px; background: rgba(255,90,60,.1); color: #ff9b85; box-shadow: inset 0 0 0 1px rgba(255,90,60,.25); }
.auth-submit { height: 52px; font-size: 15px; font-weight: 600; position: relative; overflow: hidden; }
.auth-submit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); translate: -100% 0; }
.auth-submit:hover::after { translate: 100% 0; transition: translate .8s; }
.auth-submit.loading { opacity: .8; }
.auth-google { height: 48px; }
.auth-google svg { width: 18px; height: 18px; }
.auth-sent { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.auth-sent h2 { margin: 6px 0 0; font-weight: 500; font-size: 30px; }
.auth-sent p { margin: 0; color: var(--muted); }
.sent-card { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 30px; padding: 0; }
.sent-card .dot { font-size: 46px; }
.auth-local { display: flex; flex-direction: column; gap: 14px; color: var(--muted); }
.auth-local code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--text); font-size: 12px; }
.auth-foot { margin: 0; font-size: 13px; color: var(--dim); }
.auth-foot a { color: var(--lime); }
.auth-foot b { color: var(--text); }

.auth-visual { position: relative; overflow: hidden; margin: 14px; border-radius: 40px; isolation: isolate;
  background: radial-gradient(90% 70% at 60% 40%, rgba(40,52,170,.55), transparent 70%), radial-gradient(60% 50% at 20% 100%, rgba(245,103,181,.18), transparent 70%), #07081a;
  box-shadow: inset 0 0 0 1px rgba(160,170,255,.14), inset 0 0 120px rgba(80,90,255,.18); }
.auth-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); z-index: -1; }
#authGlobe { position: absolute; inset: -6% -10% 6% -6%; width: 116%; height: 100%; cursor: grab; }
.float-card { position: absolute; transition: translate .25s ease-out; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.fc-a { left: 7%; top: 12%; width: 280px; padding: 16px 18px; border-radius: 26px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fc-a .fc-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255,255,255,.6); }
.fc-a .scan-line { margin: 4px 0 0; }
.fc-b { right: 8%; top: 46%; width: 210px; padding: 18px 20px; border-radius: 30px; display: flex; flex-direction: column; gap: 4px; animation-delay: -2.5s; }
.fc-b small { color: rgba(255,255,255,.7); font-size: 12px; }
.fc-b .dot { font-size: 64px; line-height: 1; }
.fc-c { position: absolute; right: 18%; top: 14%; animation: floaty 6s ease-in-out infinite -1s; transition: translate .25s ease-out; backdrop-filter: blur(10px); }
.auth-quote { position: absolute; left: 36px; right: 36px; bottom: 32px; margin: 0; max-width: 480px; }
.auth-quote .eyebrow { margin: 0 0 8px; }
.auth-quote p { margin: 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 300; line-height: 1.35; color: rgba(255,255,255,.85); }

@media (max-width: 980px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-card { margin-inline: auto; }
  .auth-form { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .float-card, .fc-c { animation: none; } }
