/* =========================================================
   login-novo.css — login NOVO (login.html), no estilo da página inicial nova
   (pedido do dono, 24/11/2026). Lado escuro com o título grande + folha bege com
   o formulário. Os campos e botões vêm do style.css (.field, .seg, .btn, .notice):
   aqui só ganham o visual novo. O login antigo (universo cromado) está guardado em
   login-universo.html (css/inicio.css + css/login.css).
   ========================================================= */
:root {
  --preto: #0d0d0c; --preto-2: #1a1a18; --creme: #efebe3; --creme-2: #e4dfd4; --lima: #d8fa4b; --laranja: #ff5a2c;
  --tinta: #111110; --cinza: #8b887f; --linha-esc: rgba(239, 235, 227, .14); --linha-cla: rgba(17, 17, 16, .16);
  --gigante: "Inter Tight", "Arial Narrow", system-ui, sans-serif; --serifa: "Instrument Serif", Georgia, serif; --corpo: "DM Sans", system-ui, sans-serif;
  --lado: clamp(18px, 4vw, 48px);
  /* variáveis do style.css e do globo de idiomas: versão escura (o formulário volta ao claro em .lg-folha) */
  --ink: #efebe3; --surface: #1a1a18; --muted: #8b887f; --line: rgba(239, 235, 227, .12); --line-strong: rgba(239, 235, 227, .22);
  --primary: #d8fa4b; --primary-text: #d8fa4b; --primary-soft: rgba(216, 250, 75, .12); --bg: #0d0d0c;
  color-scheme: dark;
}
html.lg-novo body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--preto); color: var(--creme); font: 16px/1.5 var(--corpo); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.lg-novo a { color: inherit; text-decoration: none; }
.lg-novo em { font-family: var(--serifa); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.rot { font: 600 .7rem/1.5 var(--gigante); letter-spacing: .2em; text-transform: uppercase; }
.num { font: 600 .7rem/1 var(--gigante); letter-spacing: .14em; opacity: .7; }
.seta { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--lima); color: var(--tinta); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.seta svg { width: 17px; height: 17px; }

/* ===== topo (igual ao da página inicial) ===== */
.topo { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 var(--lado);
        background: rgba(13, 13, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linha-esc); }
.marca { display: inline-flex; align-items: baseline; gap: 2px; font: 800 1.12rem/1 var(--gigante); letter-spacing: -.03em; white-space: nowrap; color: var(--creme); }
.marca i { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--lima); transform: translateY(-9px); }
.marca { align-items: center; } .marca .marca-simb { width: 28px; height: 28px; margin-right: 8px; flex: none; }   /* símbolo da marca (26/11/2026) */
.topo nav { display: flex; gap: 34px; margin: 0 auto; }
.topo nav a { font: 600 .7rem/1 var(--gigante); letter-spacing: .2em; text-transform: uppercase; opacity: .82; transition: opacity .2s, color .2s; }
.topo nav a:hover { opacity: 1; color: var(--lima); }
.topo-dir { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.cta { display: inline-flex; align-items: center; gap: 14px; font: 700 .74rem/1 var(--gigante); letter-spacing: .16em; text-transform: uppercase; }
.cta:hover .seta { transform: translateX(-3px); }
.topo .top-icones { display: flex; align-items: center; }
.topo .tr-btn { color: var(--creme); box-shadow: inset 0 0 0 1.5px var(--linha-esc); }
.topo .tr-btn:hover, .topo .tr-btn[aria-expanded="true"] { background: rgba(239, 235, 227, .08); }
.topo .tr-btn[data-idioma]:not([data-idioma=""])::after { color: var(--tinta); box-shadow: 0 0 0 2px var(--preto); }

/* ===== as duas metades ===== */
.lg-grade { flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: calc(100svh - 72px); }
.lg-lado { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 90px) var(--lado); }
.olho { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--creme); }
.olho::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lima); box-shadow: 0 0 0 0 rgba(216, 250, 75, .6); animation: pulso 2.2s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(216, 250, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 250, 75, 0); } }
.lg-lado h1 { margin: 0; font: 800 clamp(3rem, 7.4vw, 7rem)/.86 var(--gigante); letter-spacing: -.07em; text-transform: uppercase; }
.lg-lado h1 em { display: block; margin-top: .1em; color: var(--lima); font-size: .74em; letter-spacing: -.02em; text-transform: none; line-height: 1; }
.linha-sobe { display: block; overflow: hidden; padding-bottom: .05em; }
.linha-sobe > span { display: block; animation: linha-sobe 1.1s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--d, 0s); }
@keyframes linha-sobe { from { transform: translateY(105%); } }
.lg-texto { max-width: 440px; margin: 26px 0 0; font-size: clamp(1rem, 1.3vw, 1.15rem); color: #b9b5ab; }
.lg-passos { list-style: none; max-width: 460px; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--linha-esc); }
.lg-passos li { display: flex; align-items: center; gap: 18px; padding: 14px 2px; border-bottom: 1px solid var(--linha-esc); font: 600 1.08rem/1.2 var(--gigante); letter-spacing: -.02em; }
.lg-passos .num { color: var(--lima); opacity: 1; }
.selos { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; color: var(--cinza); }
.selos span::before { content: "✱ "; color: var(--lima); }

/* folha bege com o formulário: entra deslizando */
.lg-folha {
  --ink: #111110; --muted: #5f5b53; --surface: #fbf9f5; --line: rgba(17, 17, 16, .12); --line-strong: rgba(17, 17, 16, .2);
  --primary: #111110; --primary-text: #111110; --primary-soft: rgba(17, 17, 16, .06); --bg: #efebe3;
  display: grid; place-items: center; padding: clamp(36px, 5vw, 70px) clamp(20px, 4vw, 60px); border-radius: 44px 0 0 44px; background: var(--creme); color: var(--tinta);
  color-scheme: light; animation: folha-entra .9s cubic-bezier(.16, 1, .3, 1) both .1s;
}
@keyframes folha-entra { from { transform: translateX(60px); opacity: 0; } }
.lg-cartao { width: 100%; max-width: 440px; }

/* ===== formulário (classes do style.css com o visual novo) ===== */
.lg-folha h2 { margin: 0 0 10px; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--gigante); letter-spacing: -.05em; color: var(--tinta); }
.lg-folha .muted { color: var(--muted); }
.lg-folha .seg { display: flex; margin: 0 0 26px; padding: 5px; border-radius: 999px; background: var(--creme-2); }
.lg-folha .seg button { min-height: 46px; padding: 0 16px; border-radius: 999px; color: #5f5b53; font: 700 .76rem/1 var(--gigante); letter-spacing: .16em; text-transform: uppercase; }
.lg-folha .seg button.active { background: var(--tinta); color: var(--lima); box-shadow: none; }
.lg-folha .field { margin-bottom: 18px; }
.lg-folha .field > label { font: 600 .68rem/1.3 var(--gigante); letter-spacing: .16em; text-transform: uppercase; color: #5f5b53; }
.lg-folha .field input:not([type=checkbox]):not([type=file]):not([type=color]) {
  min-height: 54px; padding: 0 16px; border: 1.5px solid var(--linha-cla); border-radius: 14px; background: #fbf9f5; color: var(--tinta); font: 500 1rem/1 var(--corpo); box-shadow: none;
}
.lg-folha .field input::placeholder { color: #a29d93; }
.lg-folha .field input:focus { outline: none; border-color: var(--tinta); box-shadow: 0 0 0 4px rgba(216, 250, 75, .75); }
.lg-folha .field input:-webkit-autofill { -webkit-text-fill-color: var(--tinta); box-shadow: 0 0 0 1000px #fbf9f5 inset; transition: background-color 9999s; }
.lg-folha .field small { color: #6b665d; }
.lg-folha .pw-eye { color: var(--tinta); font-weight: 700; }
.lg-folha .pw-eye:hover { background: rgba(17, 17, 16, .06); }
/* botão principal: pílula escura com a bolinha limão e a seta (desenhada no ::after: o js/login.js troca o texto) */
.lg-folha .btn.block { position: relative; min-height: 58px; margin-top: 6px; padding: 0 64px 0 24px; border-radius: 999px; background: var(--tinta); color: var(--creme); box-shadow: none;
  font: 700 .8rem/1 var(--gigante); letter-spacing: .16em; text-transform: uppercase; }
.lg-folha .btn.block::after { content: ""; position: absolute; right: 8px; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%;
  background: var(--lima) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111110' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / 17px no-repeat;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.lg-folha .btn.block:hover { filter: none; }
.lg-folha .btn.block:hover::after { transform: rotate(45deg); }
.lg-folha .btn.ghost.block { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.lg-folha .btn.ghost.block::after { background-color: var(--tinta); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8fa4b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E"); }
.lg-folha .link-btn { color: var(--tinta); font-weight: 600; }
.lg-folha #forgot-wrap, .lg-folha .center.small { margin: 18px 0 0; }
.lg-folha .notice { background: var(--creme-2); color: var(--tinta); border-radius: 14px; }
.lg-folha .notice.ok { background: #e3f4c4; color: #2c4a00; }
.lg-folha .notice.err { background: #ffe1d6; color: #9a2a0a; }
.lg-folha .warn { background: #fff1c9; color: #5c4300; border-radius: 14px; }
.lg-folha .big-ico { font-size: 2.6rem; }

/* ===== rodapé ===== */
.rodape { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px var(--lado) 28px; background: var(--preto); color: var(--cinza); border-top: 1px solid var(--linha-esc); }
.rodape .marca { font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) { .linha-sobe > span, .lg-folha, .olho::before { animation: none; } }

/* ===== tablet e celular: o título em cima, a folha bege sobe por cima ===== */
@media (max-width: 900px) {
  .topo nav { display: none; }
  .lg-grade { grid-template-columns: 1fr; min-height: 0; }
  .lg-lado { padding-bottom: 70px; }
  .lg-passos { display: none; }
  .lg-folha { margin-top: -34px; border-radius: 34px 34px 0 0; padding-bottom: 56px; animation-name: folha-sobe; }
  @keyframes folha-sobe { from { transform: translateY(60px); opacity: 0; } }
}
@media (max-width: 560px) {
  .topo { height: 62px; gap: 12px; }
  .topo .cta .txt { display: none; }
  .lg-grade { min-height: calc(100svh - 62px); }
  .lg-lado { padding-top: 34px; }
  .lg-lado h1 { font-size: clamp(2.7rem, 13.5vw, 3.6rem); }
  .lg-texto { margin-top: 18px; }
  .selos { margin-top: 18px; }
}
/* computador: logo e nome do topo um pouco maiores (pedido do dono, 26/11/2026) */
@media (min-width: 981px) { header .marca { font-size: 1.42rem; } header .marca .marca-simb { width: 36px; height: 36px; margin-right: 10px; } }

/* vindo da página inicial (js/login.js, 27/11/2026): plano escolhido e aviso dos Termos ao criar a conta */
.lg-plano { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--tinta); color: var(--creme); font-size: .9rem; line-height: 1.45; }
.lg-termos { margin: 14px 0 0; font-size: .84rem; line-height: 1.5; color: #5f5b53; text-align: center; }
.lg-termos a { color: var(--tinta); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.rodape small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ===== avaliação de 27/11/2026: letras de 12 px no mínimo, toques de 44 px e, no celular, o formulário logo na 1ª tela ===== */
.rot { font-size: .75rem; letter-spacing: .16em; }
.num { font-size: .78rem; letter-spacing: .12em; }
.topo { background: rgba(13, 13, 12, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.topo nav a { padding: 16px 0; font-size: .75rem; letter-spacing: .16em; }
.marca { min-height: 44px; }
.topo .tr-btn { width: 44px; height: 44px; }
.topo .cta .seta { width: 44px; height: 44px; }
.lg-folha .field > label { font-size: .78rem; letter-spacing: .12em; }
.lg-folha .pw-eye { min-height: 44px; padding: 0 .9rem; }
.lg-folha .link-btn { display: inline-flex; align-items: center; min-height: 44px; }
.rodape small { font-size: .78rem; line-height: 1.6; }
.rodape small a { display: inline-flex; align-items: center; min-height: 44px; }
:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; }
.lg-folha :focus-visible { outline-color: var(--tinta); }
@media (max-width: 560px) {
  .lg-lado { padding-top: 26px; padding-bottom: 56px; }
  .lg-texto, .lg-lado .selos { display: none; }      /* o formulário sobe para a 1ª tela */
  .lg-lado h1 { font-size: clamp(2.4rem, 12vw, 3.2rem); }
}
.cta { font-size: .78rem; }
.lg-lado h1 { letter-spacing: -.04em; }   /* letras não se encostam (avaliação de 27/11/2026) */
