/* Telas de entrada e cadastro (09/11/2026): faixa da marca à esquerda, formulário claro à direita.
   Os formulários continuam os mesmos (ids, nomes e scripts); aqui só muda a moldura e as cores. */
html body.g3e { margin: 0; min-height: 100vh; background: #f4f5f7 !important; color: #111827; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
html body.g3e::before, html body.g3e::after { display: none !important; }

.g3e-quadro { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g3e-marca { background: #14181f; color: #e6e9ee; padding: 36px 48px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: sticky; top: 0; height: 100vh; box-sizing: border-box; }
.g3e-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.g3e-selo { width: 32px; height: 32px; border-radius: 8px; background: #20845d; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
/* Imagem do painel no notebook e no celular (assets/entrada/painel-mockup-*.jpg). Só na tela grande.
   As bordas somem no fundo da faixa para a imagem não parecer um quadro colado. */
.g3v { flex: 1 1 auto; min-height: 0; margin: 0 -28px; display: flex; align-items: center; justify-content: center; }
.g3v img { display: block; width: auto; height: auto; max-width: 100%; max-height: 62vh;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
          mask-composite: intersect; }
.g3e-rotativa { display: grid; margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.g3e-f { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
.g3e-f.ativa { opacity: 1; transform: none; transition: opacity .5s ease .32s, transform .5s ease .32s; }
.g3e-f.saindo { opacity: 0; transform: translateY(-12px); }
.g3e-sub { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #9aa4b2; max-width: 40ch; }
.g3e-rodape { margin: 0; font-size: 12px; color: #6f7a88; }
@media (prefers-reduced-motion: reduce) { .g3e-f { transition: none; } }

.g3e-lado-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; box-sizing: border-box; }
.g3e-lado-form > div { width: 100%; max-width: 440px; }

/* Cartão do formulário (as telas usam glass-card/input-field/btn-primary) */
.g3e .glass-card { background: #fff !important; border: 1px solid #e5e7eb !important; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .04) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; color: #111827 !important; animation: none !important; }
.g3e .glass-card::before, .g3e .glass-card::after { display: none !important; }
.g3e .glass-card .logo-container { display: none !important; }
.g3e .glass-card h1 { color: #111827 !important; font-weight: 600 !important; letter-spacing: -.01em; text-align: left; }
.g3e .glass-card .text-center.mb-6 { text-align: left !important; }
.g3e .glass-card .text-white:not(.btn-primary):not(.btn-primary *) { color: #111827 !important; }
.g3e .glass-card .text-gray-200, .g3e .glass-card .text-gray-300 { color: #374151 !important; }
.g3e .glass-card .text-gray-400 { color: #4b5563 !important; }
.g3e .glass-card .text-gray-500 { color: #6b7280 !important; }
.g3e .glass-card label i, .g3e .glass-card [class~="text-[#22d486]"] { color: #20845d !important; }
.g3e .glass-card [class*="border-white"] { border-color: #e5e7eb !important; }
.g3e .input-field, .g3e .glass-card input:not([type=checkbox]):not([type=radio]), .g3e .glass-card select {
  background: #fff !important; border: 1px solid #d1d5db !important; color: #111827 !important; border-radius: 10px !important; box-shadow: none !important; }
.g3e .input-field::placeholder, .g3e .glass-card input::placeholder { color: #9ca3af !important; }
.g3e .input-field:focus, .g3e .glass-card input:focus { border-color: #20845d !important; box-shadow: 0 0 0 3px rgba(32, 132, 93, .15) !important; outline: none !important; }
.g3e .glass-card input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #111827 !important; }
.g3e .glass-card input[type=checkbox] { background: #fff !important; border-color: #9ca3af !important; accent-color: #20845d; }
.g3e .btn-primary { background: #20845d !important; border: 0 !important; color: #fff !important; border-radius: 10px !important; box-shadow: none !important; transform: none !important; }
.g3e .btn-primary:hover { background: #196c4c !important; }
.g3e .toggle-senha { color: #6b7280 !important; }
/* Botão "Criar minha conta" (link com fundo verde claro) */
.g3e .glass-card a[class*="bg-[#22d486]"] { background: #fff !important; color: #20845d !important; border-color: #20845d !important; }
.g3e .glass-card a[class*="bg-[#22d486]"]:hover { background: #ecfdf5 !important; }
/* Faixa "7 dias grátis" do cadastro: discreta */
.g3e .glass-card [class*="bg-gradient-to-r"] { background: #ecfdf5 !important; border-color: #a7f3d0 !important; }
.g3e .glass-card [class*="bg-gradient-to-r"] p { color: #047857 !important; text-transform: none; }
.g3e .alert-erro { border-radius: 10px; }

@media (max-width: 900px) {
  .g3e-quadro { grid-template-columns: 1fr; }
  .g3e-marca { position: static; height: auto; padding: 16px 18px 18px; gap: 12px; }
  .g3v { display: none; }
  .g3e-rotativa { font-size: 19px; }
  .g3e-sub, .g3e-rodape { display: none; }
  .g3e-lado-form { padding: 18px 14px 32px; align-items: flex-start; }
}

/* ── 09/11/2026 (2): logo, campos e tema escuro ─────────────────────────── */
.g3e-selo-img { width: 40px; height: 40px; object-fit: contain; display: block; }

/* Preenchimento automático do navegador pintava os campos de cinza: fundo branco sempre. */
.g3e .glass-card input:-webkit-autofill, .g3e .glass-card input:-webkit-autofill:hover,
.g3e .glass-card input:-webkit-autofill:focus, .g3e .glass-card input:autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #111827 !important; caret-color: #111827; transition: background-color 9999s ease-out 0s;
}

/* Botão de tema, no canto (mesma escolha do painel: cookie g3tema) */
.g3e-tema { position: fixed; top: 14px; right: 14px; z-index: 20; width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; background: #fff; color: #4b5563; cursor: pointer; }
.g3e-tema:hover { color: #111827; border-color: #d1d5db; }

/* Tema escuro da entrada e do cadastro */
html.g3e-escuro body.g3e { background: #10151d !important; color: #e5eaf0; }
html.g3e-escuro .g3e-tema { background: #171e28; border-color: #29323e; color: #9ba7b5; }
html.g3e-escuro .g3e-tema:hover { color: #e5eaf0; }
html.g3e-escuro .g3e .glass-card { background: #171e28 !important; border-color: #29323e !important; color: #e5eaf0 !important; box-shadow: none !important; }
html.g3e-escuro .g3e .glass-card h1 { color: #e5eaf0 !important; }
html.g3e-escuro .g3e .glass-card .text-white:not(.btn-primary):not(.btn-primary *) { color: #e5eaf0 !important; }
html.g3e-escuro .g3e .glass-card .text-gray-200, html.g3e-escuro .g3e .glass-card .text-gray-300 { color: #c3cbd6 !important; }
html.g3e-escuro .g3e .glass-card .text-gray-400 { color: #9ba7b5 !important; }
html.g3e-escuro .g3e .glass-card .text-gray-500 { color: #8a94a3 !important; }
html.g3e-escuro .g3e .glass-card label i, html.g3e-escuro .g3e .glass-card [class~="text-[#22d486]"], html.g3e-escuro .g3e .glass-card [class~="text-[#20845d]"] { color: #62c99b !important; }
html.g3e-escuro .g3e .glass-card [class*="border-white"], html.g3e-escuro .g3e .glass-card [class*="border-gray"] { border-color: #29323e !important; }
html.g3e-escuro .g3e .input-field, html.g3e-escuro .g3e .glass-card input:not([type=checkbox]):not([type=radio]), html.g3e-escuro .g3e .glass-card select {
  background: #0f141b !important; border-color: #2f3946 !important; color: #e5eaf0 !important; }
html.g3e-escuro .g3e .input-field::placeholder, html.g3e-escuro .g3e .glass-card input::placeholder { color: #6b7684 !important; }
html.g3e-escuro .g3e .input-field:focus, html.g3e-escuro .g3e .glass-card input:focus { border-color: #62c99b !important; box-shadow: 0 0 0 3px rgba(98, 201, 155, .18) !important; }
html.g3e-escuro .g3e .glass-card input:-webkit-autofill, html.g3e-escuro .g3e .glass-card input:-webkit-autofill:hover,
html.g3e-escuro .g3e .glass-card input:-webkit-autofill:focus, html.g3e-escuro .g3e .glass-card input:autofill {
  -webkit-box-shadow: 0 0 0 1000px #0f141b inset !important; box-shadow: 0 0 0 1000px #0f141b inset !important;
  -webkit-text-fill-color: #e5eaf0 !important; caret-color: #e5eaf0; }
html.g3e-escuro .g3e .glass-card input[type=checkbox] { background: #0f141b !important; border-color: #4b5563 !important; }
html.g3e-escuro .g3e .glass-card a[class*="bg-[#22d486]"] { background: transparent !important; color: #62c99b !important; border-color: #2f6f55 !important; }
html.g3e-escuro .g3e .glass-card a[class*="bg-[#22d486]"]:hover { background: rgba(98, 201, 155, .08) !important; }
html.g3e-escuro .g3e .glass-card [class*="bg-gradient-to-r"] { background: rgba(32, 132, 93, .15) !important; border-color: #2f6f55 !important; }
html.g3e-escuro .g3e .glass-card [class*="bg-gradient-to-r"] p { color: #8fe0b8 !important; }
html.g3e-escuro .g3e .toggle-senha { color: #9ba7b5 !important; }
html.g3e-escuro .g3e .g3-seg-op { background: #0f141b; border-color: #2f3946; color: #e5eaf0; }
html.g3e-escuro .g3e .g3-seg-op:has(input:checked) { background: rgba(32, 132, 93, .18); border-color: #20845d; }
html.g3e-escuro .g3e .glass-card hr, html.g3e-escuro .g3e .glass-card .border-t { border-color: #29323e !important; }
@media (max-width: 900px) { .g3e-tema { top: 12px; right: 12px; width: 34px; height: 34px; } }
