@font-face {
  font-family: "Poppins";
  src: url("/visionlab-assets/fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121512;
  --ink-2: #1c221c;
  --line: #2c342c;
  --paper: #e6e2d4;
  --paper-2: #f3f0e6;
  --text: #171a16;
  --muted: #5c655c;
  --on: #1f7a45;
  --off: #c84b2f;
  --focus: #1f4d34;
  --yomite: #00b0f0;
  --sans: Aptos, "Segoe UI", sans-serif;
  --title: "Poppins", Aptos, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--ink);
}

a { color: inherit; }

.login {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
}
.brand {
  position: relative;
  color: var(--paper);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(230, 226, 212, 0.06), transparent 42%),
    var(--ink);
}
.brand::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(230, 226, 212, 0.16);
  border-radius: 50%;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
}
.brand::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(230, 226, 212, 0.22);
  border-radius: 50%;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
}
.brand-top, .brand-foot { position: relative; z-index: 1; }
.mark {
  display: block;
  width: 42px;
  height: 42px;
  margin-top: 28px;
  color: var(--paper);
}
.yomite-logo {
  display: inline-block;
  color: var(--yomite);
  font-family: var(--title);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.word {
  margin: 28px 0 0;
  font-family: var(--title);
  font-size: 42px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.product {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(230, 226, 212, 0.78);
}
.word span { display: block; }
.brand-foot {
  font-size: 14px;
  letter-spacing: 0.01em;
  color: rgba(230, 226, 212, 0.62);
}

.panel {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}
.card { width: min(380px, 100%); }
.card h1 {
  margin: 0 0 8px;
  font-family: var(--title);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lede { margin: 0 0 28px; color: var(--muted); line-height: 1.45; }
label {
  display: block;
  margin: 14px 0 6px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}
input, select {
  width: 100%;
  height: 46px;
  border: 1px solid #c9c3b2;
  background: var(--paper-2);
  color: var(--text);
  padding: 0 12px;
  font: 16px var(--sans);
  border-radius: 2px;
}
input:focus, select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
button, .btn {
  margin-top: 22px;
  width: 100%;
  height: 46px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: 700 15px var(--title);
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 2px;
}
button:hover, .btn:hover { background: #000; }
.erro {
  margin: 0 0 8px;
  color: var(--off);
  font-size: 14px;
}

.gate {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 16px 48px;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 75, 47, 0.16), transparent 36%),
    var(--ink);
}
.gate-box { width: min(520px, 100%); }
.lamp {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--off);
  box-shadow: 0 0 16px var(--off);
  margin-bottom: 18px;
}
.gate .yomite-logo { margin-bottom: 22px; }
.gate h1 {
  margin: 0;
  font-family: var(--title);
  font-size: 40px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.gate .product { margin-top: 10px; }
.gate .detail {
  margin: 14px 0 0;
  color: rgba(230, 226, 212, 0.74);
  line-height: 1.5;
  max-width: 46ch;
}
.gate form { margin-top: 28px; }
.gate label { color: rgba(230, 226, 212, 0.55); }
.gate input, .gate select {
  background: var(--ink-2);
  color: var(--paper);
  border-color: var(--line);
}
.gate button { background: var(--paper); color: var(--ink); }
.gate button:hover { background: #fff; }
.who {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: rgba(230, 226, 212, 0.5);
}
.who a { text-decoration: none; border-bottom: 1px solid rgba(230, 226, 212, 0.35); }

@media (max-width: 800px) {
  .login { grid-template-columns: 1fr; }
  .brand { min-height: 240px; }
  .word { font-size: 34px; }
}
