/* Tela de autenticação — mesmos fundamentos da landing e das referências Aura */
:root {
  --auth-accent: #1CB0F6;
  --auth-accent-hover: #169ad6;
  --auth-ink: #0A0A0A;
  --auth-muted: #64748B;
  --auth-border: #E5E7EB;
  --auth-surface: #F9FAFB;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--auth-ink);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  position: relative; isolation: isolate;
  background: #FFFFFF; color: var(--auth-ink); -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #38BDF8; outline-offset: 3px;
}
.auth-background { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right,rgba(15,23,42,.035) 1px,transparent 1px),
   linear-gradient(to bottom,rgba(15,23,42,.035) 1px,transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 45%,#000 0,transparent 80%);
}
.auth-orb { position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: .34; }
.auth-orb-one { top: 7%; left: -140px; width: 390px; height: 390px; background: #DDF1FF; }
.auth-orb-two { bottom: -170px; right: -120px; width: 500px; height: 500px; background: #EDE9FE; }
.auth-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 80px; max-width: 1320px; margin: auto; padding: 16px 34px;
  border-bottom: 1px solid rgba(226,232,240,.75);
}
.auth-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 700; letter-spacing: -.025em; font-size: 16px; text-transform: uppercase; white-space: nowrap; }
/* Em todo o projeto, o símbolo oficial é solar:infinity-bold em quadrado preto arredondado. */
.auth-brand-mark { display: grid; place-items: center; width: 32px; height: 32px;
  background: #000; color: #fff; border-radius: 8px; font-size: 20px; line-height: 1;
  box-shadow: 0 10px 15px rgba(0,0,0,.12); transition: transform .5s ease; }
.auth-brand:hover .auth-brand-mark { transform: rotate(90deg); }
.auth-header-back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: #475569; font-size: 12px; font-weight: 700; border: 1px solid #E2E8F0;
  padding: 10px 15px; border-radius: 99px; background: #fff; transition: .2s ease; }
.auth-header-back:hover { color: #0F172A; border-color: #94A3B8; transform: translateY(-1px); }
.auth-main { width: 100%; max-width: 1250px; min-height: calc(100vh - 154px); margin: 0 auto;
  padding: 60px 34px 70px; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(35px,6vw,95px); align-items: center; }
.auth-intro { max-width: 540px; }
.auth-eyebrow { display: flex; align-items: center; gap: 12px;
  margin: 0 0 24px; font: 600 11px/1.6 'JetBrains Mono',monospace;
  text-transform: uppercase; letter-spacing: .15em; color: #334155; }
.auth-eyebrow::before { content: ''; width: 35px; height: 2px; background: #0A0A0A; }
.auth-intro h1 { font-weight: 800; letter-spacing: -.068em; font-size: clamp(44px,5.5vw,74px);
  line-height: 1.06; margin: 0 0 22px; }
.auth-intro h1 span { color: #64748B; }
.auth-description { max-width: 450px; margin: 0 0 28px; font-size: 16px;
  font-weight: 400; line-height: 1.8; color: #64748B; }
.auth-benefits { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; }
.auth-benefit { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #E2E8F0;
  background: rgba(255,255,255,.85); padding: 9px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: #475569; }
.auth-benefit svg { width: 15px; height: 15px; stroke: var(--auth-accent); }
.auth-preview { max-width: 445px; border: 1px solid #263246; border-radius: 16px;
  box-shadow: 0 22px 55px -25px rgba(15,23,42,.28); overflow: hidden; background: #0b101d; }
.auth-preview-head { display: flex; align-items: center; gap: 6px; height: 43px;
  padding: 0 17px; background: #0c111d; border-bottom: 1px solid #243045; }
.auth-preview-dot { width: 9px; height: 9px; border-radius: 50%; background: #F87171; }
.auth-preview-dot:nth-child(2) { background: #FBBF24; }
.auth-preview-dot:nth-child(3) { background: #4ADE80; }
.auth-preview-filename { margin-left: auto; color: #94A3B8; font: 11px 'JetBrains Mono',monospace; }
.auth-preview pre { margin: 0; padding: 22px; font: 12px/1.9 'JetBrains Mono',monospace;
  white-space: pre-wrap; color: #E2E8F0; }
.auth-preview .py-comment { color: #64748B; }
.auth-preview .py-keyword { color: #C792EA; }
.auth-preview .py-function { color: #82AAFF; }
.auth-preview .py-string { color: #C3E88D; }
.auth-card { width: 100%; max-width: 505px; justify-self: end; background: #FFF;
  border: 1px solid #E2E8F0; border-radius: 24px; padding: clamp(24px,3.4vw,43px);
  box-shadow: 0 26px 80px -32px rgba(15,23,42,.2); }
.auth-card-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.auth-card-kicker { display: block; margin-bottom: 9px; font: 600 10px 'JetBrains Mono',monospace;
  letter-spacing: .16em; text-transform: uppercase; color: #0284C7; }
.auth-card h2 { font-size: clamp(25px,2.3vw,32px); line-height: 1.15;
  letter-spacing: -.045em; margin: 0; font-weight: 800; }
.auth-card-subtitle { margin: 10px 0 0; color: #64748B; line-height: 1.6; font-size: 13px; }
.auth-card-emblem { display: grid; place-items: center; flex: 0 0 42px;
  width: 42px; height: 42px; border: 1px solid #BAE6FD; background: #F0F9FF;
  border-radius: 13px; color: #0284C7; font-size: 23px; }
.auth-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px;
  padding: 5px; border: 1px solid #E2E8F0; border-radius: 13px; background: #F8FAFC; margin: 0 0 25px; }
.auth-tab { border: 0; margin: 0; border-radius: 9px; padding: 12px; background: transparent;
  color: #64748B; font-size: 13px; font-weight: 750; transition: background .2s,color .2s,box-shadow .2s; }
.auth-tab[aria-pressed='true'] { color: #0F172A; background: #fff; box-shadow: 0 2px 9px rgba(15,23,42,.09); }
.auth-fields { display: grid; gap: 18px; }
.auth-field { min-width: 0; }
.auth-field > label { display: block; font-size: 12px; font-weight: 750; margin-bottom: 8px; color: #334155; }
.auth-input-wrap { position: relative; }
.auth-field input, .auth-field select { display: block; width: 100%; min-height: 48px;
  padding: 13px 15px; color: #0F172A; font-size: 14px; background: #F8FAFC;
  border: 1px solid #E2E8F0; border-radius: 10px; transition: .2s; }
.auth-field input::placeholder { color: #94A3B8; }
.auth-field input:focus, .auth-field select:focus { outline: 0; background: #fff;
  border-color: #7DD3FC; box-shadow: 0 0 0 3px rgba(28,176,246,.12); }
.auth-field-help { color: #64748B; font-size: 11px; line-height: 1.6; margin: 8px 0 0; }
.auth-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -2px 0 0; }
.auth-session-note { font-size: 11px; line-height: 1.5; color: #64748B; margin: 0; }
.auth-reset-trigger, .auth-back-login { color: #0369A1; padding: 0; margin: 0; border: 0;
  background: transparent; font-size: 12px; font-weight: 750; white-space: nowrap; text-decoration: underline;
  text-decoration-color: #BAE6FD; text-underline-offset: 3px; }
.auth-reset-trigger:hover, .auth-back-login:hover { color: #075985; }
.auth-submit { position: relative; width: 100%; min-height: 50px; padding: 12px 16px;
  border: 0; border-radius: 12px; margin-top: 3px;
  color: #fff; background: var(--auth-accent); font-size: 13px;
  letter-spacing: .045em; font-weight: 800; transition: .2s; }
.auth-submit:hover { background: var(--auth-accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(28,176,246,.18); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.auth-message { min-height: 0; line-height: 1.6; font-size: 12px; border-radius: 10px; }
.auth-message:not(:empty) { margin: 17px 0 0; padding: 12px 14px; }
.auth-message.error { color: #991B1B; background: #FEF2F2; border: 1px solid #FECACA; }
.auth-message.success { color: #166534; background: #F0FDF4; border: 1px solid #BBF7D0; }
.auth-signed-in { border: 1px solid #BAE6FD; border-radius: 11px;
  padding: 13px 14px; margin: 0 0 20px; background: #F0F9FF;
  color: #075985; font-size: 12px; line-height: 1.65; }
.auth-signed-in p { margin: 0 0 6px; }
.auth-signed-in a { font-weight: 750; color: #0369A1; }
.auth-card-bottom { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid #F1F5F9;
  color: #94A3B8; text-align: center; font-size: 11px; line-height: 1.5; }
.auth-page-footer { max-width: 1320px; margin: auto; padding: 20px 34px 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 9px;
  color: #94A3B8; border-top: 1px solid #F1F5F9; font: 10px/1.5 'JetBrains Mono',monospace; }
@media (max-width: 850px) {
 .auth-main { grid-template-columns: 1fr; gap: 30px; max-width: 560px; min-height: 0; padding-top: 38px; }
 .auth-intro { max-width: unset; }
 .auth-intro h1 { font-size: clamp(36px, 7.5vw, 54px); }
 .auth-description { font-size: 14px; margin-bottom: 14px; }
 .auth-benefits { margin-bottom: 0; }
 .auth-preview { display: none; }
 .auth-card { justify-self: stretch; max-width: unset; }
}
@media (max-width: 480px) {
 .auth-header { min-height: 67px; padding: 12px 18px; }
 .auth-brand { font-size: 18px; }
 .auth-brand-mark { width: 32px; height: 32px; }
 .auth-header-back { font-size: 11px; padding: 9px 12px; }
 .auth-main { padding: 31px 18px 45px; gap: 26px; }
 .auth-intro h1 { font-size: 41px; }
 .auth-card { padding: 23px 19px; border-radius: 19px; }
 .auth-card-emblem { display: none; }
 .auth-benefits { gap: 6px; }
 .auth-benefit { font-size: 10px; padding: 7px 9px; }
 .auth-page-footer { padding: 18px; }
 .auth-form-footer { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { transition: none !important; animation: none !important; }
}
