/* Hotel das Lojas - telas de acesso: formulario a esquerda, visual a direita */
:root {
  --noite: #0b1c26; --petroleo: #124f6b; --magenta: #d61fd6; --magenta-esc: #a514a6; --ciano: #23b5d3;
  --grad: linear-gradient(120deg, #d61fd6 0%, #8b3bf0 55%, #23b5d3 100%);
  --texto: #22364a; --sub: #6b7f93; --borda: #dbe3eb; --fundo: #f6f8fb;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body.hdl-acesso { font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texto); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--petroleo); }
a:hover { color: var(--magenta-esc); }

.acesso { display: grid; grid-template-columns: minmax(420px, 1fr) 1.15fr; min-height: 100vh; }

/* Lado do formulario */
.acesso-form { display: flex; align-items: center; justify-content: center; padding: 40px 28px; background: #fff; }
.acesso-form-in { width: 100%; max-width: 400px; display: flex; flex-direction: column; min-height: calc(100vh - 80px); }
.acesso-logo { display: inline-block; margin-bottom: auto; }
.acesso-logo img { width: 180px; height: auto; display: block; }
.acesso-cab { margin: 56px 0 26px; }
.acesso-cab h1 { font-family: "Poppins", "Inter", sans-serif; font-size: 30px; line-height: 1.2; color: var(--noite); margin: 0 0 8px; letter-spacing: -.01em; }
.acesso-cab p { margin: 0; color: var(--sub); font-size: 15px; line-height: 1.5; }

.acesso-msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; border: 1px solid; }
.acesso-msg i { font-size: 18px; margin-top: 1px; }
.acesso-msg.erro { background: #fdf0f1; border-color: #f3c2c7; color: #b42333; }
.acesso-msg.ok { background: #effaf4; border-color: #bfe8d2; color: #0f7a47; }
.acesso-msg.info { background: #f2f7fb; border-color: #d3e3ee; color: var(--petroleo); }

.campo { margin-bottom: 16px; }
.campo label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 13.5px; color: var(--noite); margin-bottom: 7px; }
.campo label a { font-weight: 500; font-size: 13px; text-decoration: none; }
.campo-caixa { position: relative; display: flex; align-items: center; }
.campo-caixa > i { position: absolute; left: 15px; color: #8aa0b0; font-size: 17px; pointer-events: none; }
.campo-caixa input { width: 100%; height: 50px; padding: 0 46px 0 44px; border: 1.5px solid var(--borda); border-radius: 12px; background: #fff; font: 15px "Inter", sans-serif; color: var(--texto); transition: border .15s, box-shadow .15s; }
.campo-caixa input::placeholder { color: #a3b3c1; }
.campo-caixa input:focus { outline: 0; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(214, 31, 214, .12); }
.campo-caixa:focus-within > i { color: var(--magenta); }
.ver-senha { position: absolute; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: #8aa0b0; cursor: pointer; display: grid; place-items: center; font-size: 17px; }
.ver-senha:hover, .ver-senha.ativo { color: var(--magenta-esc); background: #f8eefc; }

.acesso-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 22px; font-size: 14px; }
.lembrar { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: var(--texto); user-select: none; }
.lembrar input { width: 18px; height: 18px; accent-color: var(--magenta); margin: 0; }

.botao-principal { width: 100%; height: 52px; border: 0; border-radius: 12px; background: var(--magenta); color: #fff; font: 600 15.5px "Inter", sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  box-shadow: 0 12px 26px rgba(214, 31, 214, .3); transition: background .15s, transform .15s, box-shadow .15s; }
.botao-principal:hover { background: var(--magenta-esc); transform: translateY(-1px); box-shadow: 0 16px 30px rgba(214, 31, 214, .34); }
.botao-principal:focus-visible { outline: 3px solid rgba(214, 31, 214, .35); outline-offset: 2px; }

.acesso-ou { display: flex; align-items: center; gap: 12px; margin: 26px 0 18px; color: #9aabb9; font-size: 13px; }
.acesso-ou::before, .acesso-ou::after { content: ""; flex: 1; height: 1px; background: #e7edf3; }
.acesso-criar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #e7edf3; background: var(--fundo); text-decoration: none; color: var(--texto); }
.acesso-criar strong { display: block; color: var(--noite); font-size: 14.5px; }
.acesso-criar small { color: var(--sub); font-size: 13px; }
.acesso-criar i { color: var(--magenta); font-size: 18px; }
.acesso-criar:hover { border-color: #ecc4f4; background: #fdf6fe; color: var(--texto); }
.acesso-voltar { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; text-decoration: none; font-weight: 500; }

.acesso-rodape { margin: auto 0 0; padding-top: 40px; font-size: 12.5px; color: #9aabb9; }
.acesso-rodape a { color: #7f93a3; text-decoration: none; }

/* Lado do visual */
.acesso-visual { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 48px;
  background: radial-gradient(700px 420px at 85% 0%, rgba(214, 31, 214, .45), transparent 60%),
              radial-gradient(640px 420px at 0% 100%, rgba(35, 181, 211, .35), transparent 60%),
              linear-gradient(140deg, #0b1c26 0%, #0f3346 55%, #124f6b 100%); color: #cfe0ea; }
.acesso-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.acesso-visual-in { position: relative; width: 100%; max-width: 560px; }
.acesso-selo { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: #f3d4f7; }
.acesso-selo i { color: #ff9bff; }
.acesso-visual h2 { font-family: "Poppins", sans-serif; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; color: #fff; margin: 20px 0 14px; letter-spacing: -.02em; }
.acesso-visual h2 span { background: linear-gradient(120deg, #ff8bff 0%, #b98cff 50%, #5fe0f5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acesso-visual > .acesso-visual-in > p { font-size: 16.5px; line-height: 1.6; max-width: 30em; margin: 0 0 30px; }

.mock { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .4); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transform-origin: left center; }
.mock-barra { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f6; }
.mock-barra i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock-barra i:nth-child(2) { background: #febc2e; } .mock-barra i:nth-child(3) { background: #28c840; }
.mock-barra em { font-style: normal; font-size: 11px; color: #7b8d9c; margin-left: 10px; }
.mock-corpo { display: grid; grid-template-columns: 52px 1fr; }
.mock-lado { background: #0b1c26; padding: 14px 10px; display: grid; gap: 10px; align-content: start; }
.mock-lado b { height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.mock-lado b.on { background: linear-gradient(120deg, #d61fd6, #8b3bf0); }
.mock-main { padding: 16px; background: #f5f8fb; display: grid; gap: 12px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { background: #fff; border: 1px solid #e5ebf1; border-radius: 10px; padding: 10px; display: grid; }
.mock-cards small { font-size: 10.5px; color: #7b8d9c; }
.mock-cards strong { font-family: "Poppins", sans-serif; font-size: 15px; color: #0b1c26; }
.mock-cards em { font-style: normal; font-size: 10.5px; color: #0f8a50; font-weight: 600; }
.mock-grafico { height: 92px; background: #fff; border: 1px solid #e5ebf1; border-radius: 10px; padding: 10px 12px; display: flex; align-items: flex-end; gap: 7px; }
.mock-grafico span { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #d61fd6, #8b3bf0); opacity: .85; }
.mock-grafico span:nth-child(even) { background: linear-gradient(180deg, #23b5d3, #124f6b); }
.mock-linhas { display: grid; gap: 7px; }
.mock-linhas div { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e5ebf1; border-radius: 9px; padding: 8px 10px; }
.mock-linhas i { width: 22px; height: 22px; border-radius: 6px; background: #f0e3fb; }
.mock-linhas span { flex: 1; height: 7px; border-radius: 4px; background: #e4eaf0; }
.mock-linhas b { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: #e3f8ee; color: #0f7a47; }
.mock-linhas b.am { background: #fff3dc; color: #a35f00; }

.acesso-toast { position: absolute; right: -18px; top: 60%; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--texto); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); animation: flutua 6s ease-in-out infinite; }
.acesso-toast i { font-size: 26px; color: #0f8a50; }
.acesso-toast span { display: grid; line-height: 1.3; }
.acesso-toast strong { font-size: 13.5px; color: var(--noite); }
.acesso-toast small { font-size: 12px; color: var(--sub); }
@keyframes flutua { 50% { transform: translateY(-8px); } }

.acesso-lista { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #dbe8f0; }
.acesso-lista li { display: inline-flex; align-items: center; gap: 8px; }
.acesso-lista i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #7ff0b0; font-size: 12px; }

@media (max-width: 1080px) {
  .acesso { grid-template-columns: 1fr; }
  .acesso-visual { display: none; }
  .acesso-form { background: radial-gradient(500px 260px at 100% 0%, rgba(214, 31, 214, .08), transparent 70%), #fff; }
}
@media (max-width: 480px) {
  .acesso-form { padding: 28px 20px; }
  .acesso-form-in { min-height: calc(100vh - 56px); }
  .acesso-cab { margin: 40px 0 22px; }
  .acesso-cab h1 { font-size: 26px; }
  .acesso-linha { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .acesso-toast { animation: none; } .botao-principal { transition: none; } }
