/* Entrada do painel de gestão (dono). Mesmo desenho da maquete aprovada em 2026-09-28. */
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url('fontes/manrope-variavel.woff2') format('woff2'); }
:root {
  --tinta: #14213D; --tinta-2: #4A5875; --linha: #E3E8F2; --fundo: #F2F4F8;
  --verde: #10B981; --verde-2: #059669; --verde-claro: #6EE7B7; --verde-suave: #D1FAE5;
  --ambar-suave: #FEF3C7; --vermelho-suave: #FEE2E2; --mola: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: var(--tinta); font: 400 15px/1.5 'Manrope', system-ui, sans-serif; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--verde-2); outline-offset: 2px; }

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

/* Lado da marca */
.marca { background: var(--tinta); color: #fff; padding: 52px clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.marca::before { content: ''; position: absolute; right: -140px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.25), transparent 65%); animation: respira 7s ease-in-out infinite; }
.marca-logo { display: block; height: 76px; width: auto; margin: -16px 0 0 -18px; }
.selo-dono { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: rgba(110,231,183,.12); border: 1px solid rgba(110,231,183,.3); color: var(--verde-claro); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 800; }
.selo-dono svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.marca h1 { margin: 16px 0 8px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; max-width: 12em; }
.marca p { margin: 0; color: #C9D3E6; font-size: 17px; max-width: 28em; }
.vitrine { position: relative; z-index: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 22px; max-width: 460px; animation: sobe .8s .2s var(--mola) both; }
.vitrine-abas { display: flex; gap: 6px; flex-wrap: wrap; }
.vitrine-abas span { font-size: 13px; font-weight: 700; color: #C9D3E6; border-radius: 999px; padding: 4px 12px; background: rgba(255,255,255,.06); animation: aba 8s ease-in-out infinite; }
.vitrine-abas span:nth-child(2) { animation-delay: 2s; } .vitrine-abas span:nth-child(3) { animation-delay: 4s; } .vitrine-abas span:nth-child(4) { animation-delay: 6s; }
.barras { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 18px; }
.barras i { flex: 1; border-radius: 8px 8px 3px 3px; background: rgba(255,255,255,.16); transform-origin: bottom; animation: cresce 1.1s var(--mola) both; }
.barras i:nth-child(1) { height: 34%; animation-delay: .3s; } .barras i:nth-child(2) { height: 48%; animation-delay: .4s; } .barras i:nth-child(3) { height: 60%; animation-delay: .5s; }
.barras i:nth-child(4) { height: 72%; animation-delay: .6s; } .barras i:nth-child(5) { height: 84%; animation-delay: .7s; } .barras i:nth-child(6) { height: 100%; animation-delay: .8s; background: var(--verde); }
.miudo-marca { font-size: 13px; color: #9AA8C4; position: relative; z-index: 1; }

/* Lado dos passos */
.lado { display: grid; place-items: center; padding: 48px 24px; }
.caixa { width: min(400px, 100%); animation: sobe .6s var(--mola) both; }
.etapa-mini { display: flex; gap: 6px; margin-bottom: 22px; }
.etapa-mini i { height: 5px; flex: 1; border-radius: 3px; background: var(--linha); }
.etapa-mini i.ok { background: var(--verde); }
.caixa h2 { margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.caixa .suave { margin: 0 0 22px; color: var(--tinta-2); }
.campo { display: grid; gap: 6px; margin-bottom: 14px; }
.campo > span { font-weight: 700; font-size: 14px; }
.campo input { width: 100%; border: 1px solid var(--linha); border-radius: 12px; padding: 13px 14px; color: var(--tinta); transition: border-color .2s, box-shadow .2s; }
.campo input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
.senha { position: relative; }
.senha input { padding-right: 90px; }
.senha button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--tinta-2); font-weight: 700; font-size: 13px; cursor: pointer; padding: 6px; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border-radius: 14px; border: 2px solid var(--verde-2); background: var(--verde-2); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; margin-top: 6px; transition: background .2s, transform .15s; }
.botao:hover { background: #047857; }
.botao:active { transform: scale(.98); }
.botao:disabled { opacity: .7; cursor: default; }
.botao.carregando::after { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: gira .8s linear infinite; }
.botao.leve { background: none; color: var(--tinta); border-color: var(--tinta); }
.botao.leve:hover { background: var(--fundo); }
.dica { margin: 16px 0 0; font-size: 13px; color: var(--tinta-2); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.dica svg { width: 16px; height: 16px; stroke: var(--verde-2); fill: none; stroke-width: 2; flex: none; align-self: flex-start; margin-top: 2px; }
.link { background: none; border: 0; padding: 0; color: var(--tinta-2); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.msg { min-height: 22px; font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.msg.erro { color: #B91C1C; }
.msg.certo { color: var(--verde-2); }

/* Código de 6 números */
.celular-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--verde-suave); display: grid; place-items: center; margin-bottom: 16px; animation: balanca 2.6s ease-in-out infinite; }
.celular-ic svg { width: 30px; height: 30px; stroke: #065F46; fill: none; stroke-width: 2; }
.digitos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 4px 0 10px; }
.digitos input { width: 100%; aspect-ratio: 1 / 1.15; border: 2px solid var(--linha); border-radius: 14px; text-align: center; font-size: 26px; font-weight: 800; color: var(--tinta); transition: border-color .2s, transform .2s var(--mola), background .2s; }
.digitos input:focus { outline: none; border-color: var(--verde); transform: translateY(-3px); box-shadow: 0 10px 20px -14px rgba(5,150,105,.8); }
.digitos input.cheio { background: #F4FBF8; border-color: #A7E3CB; }
.digitos.erro input { border-color: #F87171; background: #FEF2F2; animation: treme .45s ease-in-out; }
.digitos.certo input { border-color: var(--verde); background: var(--verde-suave); animation: pula .5s var(--mola) both; }
.digitos.certo input:nth-child(2) { animation-delay: .04s; } .digitos.certo input:nth-child(3) { animation-delay: .08s; } .digitos.certo input:nth-child(4) { animation-delay: .12s; }
.digitos.certo input:nth-child(5) { animation-delay: .16s; } .digitos.certo input:nth-child(6) { animation-delay: .2s; }
.tempo { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--tinta-2); margin-bottom: 8px; }
.tempo svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.tempo circle { fill: none; stroke-width: 3; }
.tempo .fundo-t { stroke: var(--linha); }
.tempo .vai-t { stroke: var(--verde); stroke-linecap: round; }

/* Primeira vez */
.passos-conf { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; counter-reset: p; }
.passos-conf li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14px; counter-increment: p; }
.passos-conf li::before { content: counter(p); width: 26px; height: 26px; border-radius: 50%; background: var(--tinta); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.qr-linha { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.qr { width: 150px; height: 150px; border: 1px solid var(--linha); border-radius: 16px; padding: 6px; position: relative; overflow: hidden; }
.qr img { width: 100%; height: 100%; display: block; }
.qr::after { content: ''; position: absolute; left: 6px; right: 6px; height: 3px; top: 6px; background: linear-gradient(90deg, transparent, var(--verde), transparent); animation: varre 2.4s ease-in-out infinite; }
.chave-manual { background: var(--fundo); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--tinta-2); }
.chave-manual code { display: block; margin-top: 4px; font: 800 14px 'Manrope', sans-serif; letter-spacing: .08em; color: var(--tinta); word-break: break-all; user-select: all; }

/* Reserva */
.reserva { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--fundo); border-radius: 16px; padding: 14px; margin-bottom: 14px; }
.reserva code { font: 800 15px 'Manrope', sans-serif; letter-spacing: .06em; background: #fff; border-radius: 10px; padding: 8px 10px; text-align: center; animation: sobe .4s var(--mola) both; }
.aviso-amarelo { background: var(--ambar-suave); color: #92400E; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.duas-b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Travado */
.cadeado { width: 84px; height: 84px; border-radius: 24px; background: var(--vermelho-suave); display: grid; place-items: center; margin-bottom: 16px; animation: treme .5s ease-in-out both; }
.cadeado svg { width: 38px; height: 38px; stroke: #B91C1C; fill: none; stroke-width: 2; }
.contagem { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 4px 0 12px; }

@keyframes sobe { from { opacity: 0; transform: translateY(16px); } }
@keyframes cresce { from { transform: scaleY(0); } }
@keyframes respira { 50% { transform: scale(1.15); opacity: .7; } }
@keyframes aba { 0%, 20% { background: rgba(16,185,129,.22); color: #fff; } 25%, 100% { background: rgba(255,255,255,.06); color: #C9D3E6; } }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes treme { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes pula { 40% { transform: translateY(-8px); } }
@keyframes balanca { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-8deg); } 20% { transform: rotate(8deg); } 30% { transform: rotate(0); } }
@keyframes varre { 50% { top: calc(100% - 9px); } }

@media (max-width: 900px) {
  .acesso { grid-template-columns: 1fr; }
  .marca { padding: 32px 20px; }
  .marca h1 { font-size: 30px; }
  .vitrine { display: none; }
  .lado { padding: 32px 16px; }
  .qr-linha { grid-template-columns: 1fr; justify-items: start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
