@font-face { font-family: "Satoshi"; src: url(/css/fonts/satoshi-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(/css/fonts/satoshi-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(/css/fonts/satoshi-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
/* 2026-10-28: azul #3b82f6 e Satoshi, iguais à página inicial nova. */
/* Telas de entrada (entrar, criar conta, senha, confirmação) — VITRINE 2026-10-24.
   Mesmo visual da página inicial: tons neutros, títulos de peso 600 com espaçamento apertado,
   campos e botões arredondados, sem brilho nem sombra, uma cor de destaque (o laranja da marca).
   Carregado DEPOIS do style.css: troca só os valores do tema nessas telas, nada do painel.
   Tema escolhido por js/tema.js (claro, escuro ou o do aparelho). */
:root, :root[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #f5f5f7;
  --surface-3: #e8e8ed;
  --border: #d2d2d7;
  --text: #1d1d1f;
  --text-dim: #6e6e73;
  --accent: #3b82f6;
  --accent-dim: #e87400;
  --on-accent: #ffffff;
  --accent-ink: #2563eb;
  --signal: #2563eb;
  --font-display: "Satoshi", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Satoshi", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-2: #1c1c1e;
  --surface-3: #2c2c2e;
  --border: #3a3a3c;
  --text: #f5f5f7;
  --text-dim: #a1a1a6;
  --accent: #3b82f6;
  --accent-dim: #e87400;
  --on-accent: #ffffff;
  --accent-ink: #6ea5ff;
  --signal: #6ea5ff;
  color-scheme: dark;
}
body { background: var(--bg); color: var(--text); font-family: var(--font-body); letter-spacing: -0.016em; -webkit-font-smoothing: antialiased; }
.auth-shell { background: var(--bg); }

/* Coluna da marca: só o tom, sem degradê */
.auth-aside { background: var(--surface); border-right: 0; }
.auth-aside-brand { font-weight: 600; font-stretch: normal; letter-spacing: -0.02em; }
.auth-aside-brand span span { color: var(--accent-ink); }
.auth-aside-headline, .auth-aside-main .auth-aside-headline { font-weight: 600; font-stretch: normal; letter-spacing: -0.035em; line-height: 1.05; }
.auth-aside-lead, .auth-aside-foot { color: var(--text-dim); }
.auth-aside-features strong { font-weight: 600; }
.auth-aside-features .ico { border: 0; border-radius: 12px; background: var(--bg); color: var(--accent-ink); }
.auth-aside-pill { background: var(--bg); color: var(--accent-ink); }
.auth-aside-steps .n { border-color: var(--border); color: var(--accent-ink); font-family: var(--font-display); font-weight: 600; }

/* Formulário */
.auth-title, .auth-shell.auth-split .auth-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.auth-title-accent { color: var(--accent-ink); }
.auth-subtitle { color: var(--text-dim); font-size: 17px; }
.auth-field label { color: var(--text); font-weight: 600; font-size: 14px; }
.auth-input-wrap { background: var(--surface); border: 1px solid transparent; border-radius: 12px; }
.auth-input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.auth-input-wrap input { color: var(--text); font-size: 17px; }
.auth-input-wrap input::placeholder { color: var(--text-dim); }
.auth-submit-btn { border-radius: 980px; min-height: 50px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 17px; box-shadow: none; }
.auth-submit-btn:hover { background: color-mix(in srgb, var(--accent) 88%, white); }
.auth-submit-btn:focus-visible { outline-color: var(--accent-ink); }
.auth-divider { background: var(--border); }
.auth-footer-text { color: var(--text-dim); }
.auth-footer-text a, .auth-card a { color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.auth-footer-text a:hover, .auth-card a:hover { text-decoration: underline; color: var(--accent-ink); }
.auth-card { background: transparent; border: 0; box-shadow: none; }
.auth-toggle-pass.open { color: var(--accent-ink); }
.error-msg { color: #d70015; }
:root[data-theme="dark"] .error-msg { color: #ff6961; }

/* Suporte e botão de tema */
.support-fab { border: 0; border-radius: 980px; background: var(--surface); color: var(--text); box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.support-fab:hover { background: var(--surface-3); transform: none; }
.support-fab-icon { color: var(--accent-ink); }
.auth-theme-btn {
  position: fixed; top: 16px; right: 16px; z-index: 30;
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 0; border-radius: 980px; background: var(--surface); color: var(--text); cursor: pointer;
}
.auth-theme-btn:hover { background: var(--surface-3); }
.auth-theme-btn:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.auth-theme-btn .i-sol { display: none; }
:root[data-theme="dark"] .auth-theme-btn .i-sol { display: block; }
:root[data-theme="dark"] .auth-theme-btn .i-lua { display: none; }

/* ---- Entrar e criar conta em cartão único (2026-10-28) ----
   Pedido do usuário: "muito genérica e tudo muito distante". No computador, as duas colunas viram
   um cartão só, centralizado e com largura máxima, com a coluna da marca em azul. No login, a lista
   de recursos dá lugar a uma oferta de exemplo saindo no grupo, a mesma da página inicial. */
:root, :root[data-theme="light"] { --auth-wash: #eef3fc; --auth-card-line: #d6e2f7; }
:root[data-theme="dark"] { --auth-wash: #05080f; --auth-card-line: #1f2d48; }
@media (min-width: 901px) {
  body:has(.auth-split) { background: var(--auth-wash); min-height: 100vh; display: grid; place-items: center; }
  .auth-shell.auth-split {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    width: min(1100px, calc(100% - 48px)); min-height: 600px;
    margin: 32px auto;
    border: 1px solid var(--auth-card-line); border-radius: 32px; overflow: hidden; background: var(--bg);
  }
  .auth-aside {
    padding: 44px; gap: 28px; justify-content: flex-start;
    background: #3b82f6; color: #fff; border: 0;
  }
  .auth-aside-brand { color: #fff; font-size: 20px; }
  .auth-aside-brand img { width: 34px; height: 34px; }
  .auth-aside-brand span span { color: #dbe7ff; }
  .auth-aside-main { gap: 22px; max-width: none; }
  .auth-aside-headline, .auth-aside-main .auth-aside-headline { color: #fff; font-size: clamp(30px, 3vw, 40px); font-weight: 700; letter-spacing: -0.045em; }
  .auth-aside-lead, .auth-aside-foot, .auth-aside-steps span, .auth-aside-features li > div > span { color: #dbe7ff; }
  .auth-aside-foot { margin-top: auto; font-size: 13px; }
  .auth-aside-features strong, .auth-aside-steps strong { color: #fff; }
  .auth-aside-features .ico, .auth-aside-steps .n { background: rgba(255,255,255,.16); border-color: transparent; color: #fff; }
  .auth-aside-pill { background: rgba(255,255,255,.16); color: #fff; }
  .auth-shell.auth-split .auth-content { padding: 56px 52px; }
  .auth-shell.auth-split .auth-content > * { max-width: 380px; }
  .auth-aside:has(.auth-chat) :is(.auth-aside-logo, .auth-aside-lead, .auth-aside-features) { display: none; }
}
.auth-chat { display: none; }
@media (min-width: 901px) {
  .auth-chat { display: block; position: relative; background: #efeae2; border-radius: 22px; padding: 12px; max-width: 360px; color: #111b21; box-shadow: 0 20px 40px rgba(15, 42, 92, .25); }
  .auth-chat-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px 10px; font-size: 13px; }
  .auth-chat-top b { display: block; }
  .auth-chat-top small { color: #667781; font-size: 11.5px; }
  .auth-chat-av { width: 30px; height: 30px; border-radius: 50%; background: #171717; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
  .auth-chat-msg { background: #d9fdd3; border-radius: 12px 12px 3px 12px; padding: 4px; font-size: 12.5px; line-height: 1.4; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
  .auth-chat-pv { display: flex; border-radius: 8px; overflow: hidden; background: #cff5c8; }
  .auth-chat-img { position: relative; width: 62px; flex-shrink: 0; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, #fff159, #ffe600); }
  .auth-chat-img img { position: absolute; left: 4px; bottom: 4px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #fff; background: #fff; }
  .auth-chat-pvt { padding: 6px 8px; border-left: 3px solid #2d3277; min-width: 0; }
  .auth-chat-pvt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11.5px; line-height: 1.25; }
  .auth-chat-pvt small { color: #667781; font-size: 10.5px; }
  .auth-chat-msg p { margin: 0; padding: 6px 6px 0; }
  .auth-chat-lk { display: block; color: #027eb5; font-weight: 700; }
  .auth-chat-meta { display: block; text-align: right; font-size: 10px; color: #667781; padding: 0 6px 2px; }
  .auth-chat-meta i { font-style: normal; color: #53bdeb; letter-spacing: -3px; }
  .auth-chat-tag { position: absolute; right: -14px; top: -12px; background: #fff; color: #1d4ed8; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
}
