.tela-login {
  background: var(--fundo);
}

.login {
  display: grid;
  grid-template-columns: minmax(440px, 46%) 1fr;
  min-height: 100vh;
}

.login-marca {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(40px, 6vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(46, 46, 163, 0.95) 0%, rgba(46, 46, 163, 0) 70%),
    radial-gradient(80% 60% at 100% 100%, rgba(43, 181, 219, 0.22) 0%, rgba(43, 181, 219, 0) 70%),
    linear-gradient(160deg, #191970 0%, #12125a 55%, #0e0e47 100%);
  color: #fff;
  isolation: isolate;
}

.login-marca .vidro {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: -1;
}

.login-marca .v1 {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -180px;
}

.login-marca .v2 {
  width: 300px;
  height: 300px;
  top: -40px;
  right: -60px;
  background: rgba(255, 255, 255, 0.06);
}

.login-marca .v3 {
  width: 220px;
  height: 220px;
  bottom: -90px;
  left: -70px;
}

.marca-agua {
  position: absolute;
  right: -180px;
  bottom: -200px;
  width: 640px;
  height: 640px;
  opacity: 0.07;
  filter: grayscale(1) brightness(3);
  z-index: -1;
  animation: rodar 140s linear infinite;
}

@keyframes rodar {
  to {
    transform: rotate(360deg);
  }
}

.marca-conteudo {
  max-width: 460px;
}

.disco-logo {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.12), 0 24px 48px -16px rgba(0, 0, 0, 0.55);
}

.disco-logo img {
  width: 66px;
  height: 66px;
}

.disco-logo.p {
  width: 52px;
  height: 52px;
  box-shadow: 0 0 0 5px var(--mn-suave);
}

.disco-logo.p img {
  width: 36px;
  height: 36px;
}

.login-marca h1 {
  margin-top: 34px;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.login-marca .marca-conteudo > p {
  margin-top: 8px;
  color: #b9bce8;
  font-size: 18px;
  font-weight: 500;
}

.tracos {
  display: flex;
  gap: 8px;
  margin: 26px 0 40px;
}

.tracos i {
  width: 30px;
  height: 5px;
  border-radius: 9px;
  background: var(--ciano);
}

.tracos i:nth-child(2) {
  background: #4f9d48;
}

.tracos i:nth-child(3) {
  background: var(--amarelo);
}

.areas {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.areas li {
  display: grid;
  grid-template-columns: 14px 1fr;
  column-gap: 14px;
  align-items: baseline;
  opacity: 0;
  animation: subir 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.areas li::before {
  content: "";
  grid-row: span 2;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 3px;
  background: var(--ciano);
  box-shadow: 0 0 0 4px rgba(43, 181, 219, 0.18);
}

.areas li:nth-child(2) {
  animation-delay: 0.08s;
}

.areas li:nth-child(2)::before {
  background: var(--amarelo);
  box-shadow: 0 0 0 4px rgba(227, 190, 37, 0.18);
}

.areas li:nth-child(3) {
  animation-delay: 0.16s;
}

.areas li:nth-child(3)::before {
  background: #5fb557;
  box-shadow: 0 0 0 4px rgba(95, 181, 87, 0.2);
}

.areas li:nth-child(4) {
  animation-delay: 0.24s;
}

.areas b {
  font-size: 15.5px;
  font-weight: 800;
}

.areas span {
  grid-column: 2;
  color: #b9bce8;
  font-size: 14px;
}

@keyframes subir {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.marca-rodape {
  position: absolute;
  left: clamp(40px, 6vw, 96px);
  bottom: 30px;
  color: rgba(185, 188, 232, 0.7);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-form {
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background-color: var(--fundo);
  background-image: radial-gradient(rgba(25, 25, 112, 0.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

.cartao-login {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(430px, 100%);
  padding: 40px 38px 30px;
  border: 1px solid var(--borda);
  border-radius: 24px;
  background: var(--branco);
  box-shadow: var(--sombra-3);
  animation: subir 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cartao-login h2 {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cartao-login > .fraco {
  margin-top: -12px;
}

.topo-mobile {
  display: none;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.topo-mobile b {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.topo-mobile span {
  color: var(--fraco);
  font-size: 13px;
}

.olho {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: -6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--fraco);
}

.olho:hover {
  background: var(--fundo-2);
  color: var(--mn);
}

.caps {
  color: var(--alerta);
  font-weight: 700;
  font-size: 12.5px;
}

.cartao-login .btn-g {
  margin-top: 6px;
  letter-spacing: 0.12em;
}

.cartao-login .btn-g[disabled] {
  opacity: 0.75;
}

.restrito {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--fraco);
  font-size: 13px;
  font-weight: 600;
}

.restrito .icone {
  width: 17px;
  height: 17px;
}

.versao {
  margin-top: -10px;
  text-align: center;
  color: var(--fraco-2);
  font-size: 12px;
}

.sem-js {
  padding: 24px;
  text-align: center;
}

@media (max-width: 920px) {
  .login {
    grid-template-columns: 1fr;
  }

  .login-marca {
    display: none;
  }

  .topo-mobile {
    display: flex;
  }

  .cartao-login {
    padding: 30px 22px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marca-agua,
  .areas li,
  .cartao-login {
    animation: none;
    opacity: 1;
  }
}

.login {
  min-height: 100dvh;
}

.login-form {
  padding-top: calc(40px + env(safe-area-inset-top));
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

@media (pointer: coarse) {
  .cartao-login .entrada input {
    font-size: 16px;
  }
}
