/* vyo.lol — base visual da marca (início, login, 404 e painel). O painel (app.css) importa este arquivo. */
:root {
  --bg: #09090b; --s1: #111114; --s2: #17171c; --s3: #1e1e25; --line: #24242c;
  --text: #f4f4f6; --mute: #8b8b98; --acc: #b6ff3b; --on-acc: #0b0b0f; --vio: #7c5cff;
  --danger: #ff4d5e; --ok: #3bff8f; --hb: #ffd23f; --r: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg, video { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
::selection { background: var(--acc); color: var(--on-acc); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ícones do sprite: <svg class="icon"><use href="/assets/icons.svg#i-home"/></svg> */
.icon { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -3px; stroke: currentColor; fill: none; }
.icon-lg { width: 22px; height: 22px; }

/* marca */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: var(--text); }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--acc); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 18px; height: 18px; }
.logo small { font-size: inherit; color: var(--mute); font-weight: 600; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--s2); color: var(--text);
  font: 600 14px/1 var(--font); padding: 11px 16px; border-radius: 11px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .1s, opacity .15s; white-space: nowrap; }
.btn:hover { background: var(--s3); border-color: #33333e; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-acc { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.btn-acc:hover { background: #c6ff63; border-color: #c6ff63; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--mute); }
.btn-ghost:hover { background: var(--s2); color: var(--text); border-color: var(--line); }
.btn-danger { background: rgba(255, 77, 94, .12); border-color: rgba(255, 77, 94, .35); color: #ff7b88; }
.btn-danger:hover { background: rgba(255, 77, 94, .2); border-color: var(--danger); }
.btn-hb { background: var(--hb); color: #1a1405; border-color: var(--hb); }
.btn-hb:hover { background: #ffdc63; border-color: #ffdc63; }
.btn-sm { padding: 7px 11px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 15px 22px; font-size: 16px; border-radius: 13px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 9px; }

/* formulários */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.label { font-size: 13px; font-weight: 600; color: #cfcfd8; }
.hint { font-size: 12px; color: var(--mute); }
.hint.is-ok { color: var(--ok); } .hint.is-bad { color: var(--danger); }
.input { width: 100%; background: var(--s1); border: 1px solid var(--line); color: var(--text); font: 14px/1.4 var(--font); padding: 11px 13px; border-radius: 11px; transition: border-color .15s, box-shadow .15s; }
.input::placeholder { color: #5d5d69; }
.input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(182, 255, 59, .12); }
textarea.input { resize: vertical; min-height: 84px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.input-group { display: flex; align-items: center; background: var(--s1); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.input-group:focus-within { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(182, 255, 59, .12); }
.input-group > span { padding: 0 4px 0 13px; color: var(--mute); font-weight: 600; white-space: nowrap; }
.input-group .input { border: 0; box-shadow: none; background: transparent; padding-left: 2px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--mute); cursor: pointer; }
.check input { accent-color: var(--acc); margin-top: 2px; }

/* interruptor: <label class="toggle"><input type="checkbox"><span></span></label> */
.toggle { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle span { position: absolute; inset: 0; background: var(--s3); border: 1px solid var(--line); border-radius: 99px; transition: background .2s, border-color .2s; pointer-events: none; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #6f6f7c; transition: transform .2s, background .2s; }
.toggle input:checked + span { background: var(--acc); border-color: var(--acc); }
.toggle input:checked + span::after { transform: translateX(18px); background: var(--on-acc); }
.toggle input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }

/* superfícies */
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card-2 { background: var(--s2); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: var(--s2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: #cfcfd8; white-space: nowrap; }
.chip-acc { background: rgba(182, 255, 59, .1); border-color: rgba(182, 255, 59, .3); color: var(--acc); }
.chip-vio { background: rgba(124, 92, 255, .14); border-color: rgba(124, 92, 255, .4); color: #b3a3ff; }
.chip-hb { background: rgba(255, 210, 63, .12); border-color: rgba(255, 210, 63, .35); color: var(--hb); }
.divider { height: 1px; background: var(--line); border: 0; margin: 18px 0; }
.alert { padding: 11px 13px; border-radius: 11px; font-size: 13px; border: 1px solid; display: none; margin-bottom: 14px; }
.alert.is-on { display: block; }
.alert-bad { background: rgba(255, 77, 94, .1); border-color: rgba(255, 77, 94, .35); color: #ff9aa4; }
.alert-ok { background: rgba(59, 255, 143, .08); border-color: rgba(59, 255, 143, .3); color: var(--ok); }
.mute { color: var(--mute); }
.acc { color: var(--acc); }

/* aviso no canto: <div class="toast is-on">texto</div> */
.toast-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { background: var(--s2); border: 1px solid var(--line); border-left: 3px solid var(--acc); color: var(--text); padding: 12px 15px; border-radius: 11px; box-shadow: var(--shadow);
  font-size: 14px; max-width: min(360px, calc(100vw - 32px)); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: auto; }
.toast.is-on { opacity: 1; transform: none; }
.toast.is-bad { border-left-color: var(--danger); }

/* layout geral das páginas de marca */
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(9, 9, 11, .78); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(36, 36, 44, .7); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.site-nav a:not(.btn) { color: var(--mute); text-decoration: none; font-weight: 500; font-size: 14px; padding: 8px 12px; border-radius: 9px; }
.site-nav a:not(.btn):hover { color: var(--text); background: var(--s1); }
.site-foot { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--mute); font-size: 13px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.site-foot a { color: var(--mute); text-decoration: none; } .site-foot a:hover { color: var(--text); }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-nav a.hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
