/* Telas de acesso (login, código, senha) no visual do site: foto da marca à esquerda, formulário à direita.
   Espaçamento do formulário: rótulo › campo 8px, entre campos 20px, título › texto 8px, texto › campos 24px, antes e depois do botão 24px. */
:root { --ink: #23244f; --texto: #1d1e33; --paper: #f7f7fa; --line: #d6d7e3; --muted: #5d5e75; --erro: #b42318; --ok: #1f7a4a; --warn: #8a5a00; color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body.acesso { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(400px, 1fr); background: var(--paper); color: var(--texto); font: 15px/1.5 "DM Sans", Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.acesso a { color: var(--texto); }
/* Os produtos ficam no lado direito da foto: o recorte segue a direita para mostrar todos os frascos. */
.acesso-visual { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #e9e4dc; }
.acesso-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 94% 55%; }
.acesso-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .34)); }
.acesso-visual .texto { position: absolute; z-index: 1; left: 7%; right: 7%; bottom: 8%; color: #fff; }
.acesso-visual .eyebrow { color: #fff; margin-bottom: 16px; }
.acesso-visual h2 { font-size: clamp(30px, 3vw, 48px); line-height: 1.08; font-weight: 400; letter-spacing: -1.6px; margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .22); }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 2.4px; text-transform: uppercase; margin: 0 0 8px; color: var(--muted); }
.acesso-lado { display: flex; flex-direction: column; padding: 28px 40px 32px; min-height: 100vh; }
.acesso-voltar { align-self: flex-start; font-size: 14px; text-decoration: none; }
.acesso-voltar:hover { text-decoration: underline; }
.acesso-form { margin: auto; width: 100%; max-width: 400px; padding: 32px 0; }
.acesso-logo { display: block; width: 150px; height: auto; margin: 0 0 40px; }
.acesso-form h1 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.6px; margin: 0 0 8px; color: var(--texto); }
.acesso-form .intro { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.acesso-form form { display: grid; gap: 20px; }
.acesso-form label, .acesso-form .campo { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.acesso-form input:not([type=checkbox]) { width: 100%; height: 44px; font: inherit; font-size: 15px; font-weight: 400; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--texto); background: #fff; }
.acesso-form input::placeholder { color: #9a9bab; }
.acesso-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(35, 36, 79, .14); }
.campo-senha { position: relative; }
.campo-senha input { padding-right: 80px !important; }
.campo-senha button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.campo-senha button:hover { background: #f0f0f5; }
.acesso-opcoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: -8px; font-size: 14px; }
.acesso-opcoes label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.acesso-opcoes input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.acesso-opcoes a { text-underline-offset: 3px; }
.acesso-botao { width: 100%; height: 46px; margin-top: 4px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: 500 15px "DM Sans", Arial, sans-serif; cursor: pointer; }
.acesso-botao:hover { background: #17183a; }
.acesso-separador { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--muted); font-size: 13px; }
.acesso-separador::before, .acesso-separador::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.acesso-secundario { display: flex; align-items: center; justify-content: center; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; font-size: 15px; font-weight: 500; }
.acesso-secundario:hover { border-color: var(--ink); }
.acesso-cadastro { margin-top: 14px; padding: 14px 16px; border-radius: 8px; background: #fff7e0; border: 1px solid #f1d58a; text-align: center; font-size: 15px; }
.acesso-cadastro a { font-weight: 700; text-underline-offset: 3px; }
.acesso-links { display: flex; justify-content: center; margin-top: 24px; font-size: 14px; }
.acesso-links a { text-underline-offset: 3px; }
.acesso-nota { margin: 32px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); white-space: pre-line; text-align: center; }
.acesso .flash { padding: 10px 12px; border-radius: 8px; font-size: 14px; border: 1px solid currentColor; }
.acesso .flash-erro { color: var(--erro); background: #fdecea; }
.acesso .flash-ok { color: var(--ok); background: #e7f5ec; }
.acesso .flash-warn { color: var(--warn); background: #fdf3dd; }
.acesso .muted { color: var(--muted); }
.acesso :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 900px) {
  body.acesso { grid-template-columns: 1fr; }
  .acesso-visual { position: relative; height: auto; aspect-ratio: 16 / 9; max-height: 42vh; width: 100%; }
  .acesso-visual img { object-position: 70% 60%; }
  .acesso-visual h2 { font-size: 28px; letter-spacing: -1px; }
  .acesso-lado { min-height: 0; padding: 20px 20px 32px; }
  .acesso-form { padding: 24px 0 0; }
  .acesso-logo { width: 130px; margin-bottom: 28px; }
}
