/* =========================
   CONFIGURAÇÃO INICIAL
========================= */

body.locked {
  overflow: hidden;
}

/* =========================
   SITE BLOQUEADO
========================= */

.site-content {
  display: none;
}

.site-content.show {
  display: block;
}

/* =========================
   TELA EM CONSTRUÇÃO
========================= */

.construction-screen {
  position: fixed;

  inset: 0;

  width: 100%;
  min-height: 100vh;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #050607;

  color: var(--color-white);

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

/* ESCONDER */

.construction-screen.hide {
  opacity: 0;
  visibility: hidden;
}

/* =========================
   CONTEÚDO
========================= */

.construction-content {
  position: relative;

  z-index: 2;

  width: min(90%, 680px);

  text-align: center;
}

/* =========================
   LOGO
========================= */

.construction-logo {
  margin-bottom: 45px;
}

.construction-logo img {
  width: min(280px, 70vw);

  height: auto;

  display: block;

  margin: 0 auto;
}

/* =========================
   LABEL
========================= */

.construction-label {
  display: inline-block;

  margin-bottom: 20px;

  color: var(--color-red);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 5px;

  text-transform: uppercase;
}

/* =========================
   TÍTULO
========================= */

.construction-content h1 {
  margin: 0;

  font-size: clamp(42px, 6vw, 78px);

  font-weight: 800;

  line-height: 0.95;

  letter-spacing: -2px;

  text-transform: uppercase;
}

.construction-content h1 strong {
  color: var(--color-red);
}

/* =========================
   TEXTO
========================= */

.construction-content > p {
  max-width: 550px;

  margin: 30px auto 45px;

  color: #9b9b9b;

  font-size: 16px;

  line-height: 1.7;
}

/* =========================
   FORMULÁRIO
========================= */

.password-form {
  width: 100%;

  max-width: 520px;

  margin: 0 auto;

  text-align: left;
}

.password-form label {
  display: block;

  margin-bottom: 12px;

  color: var(--color-white);

  font-size: 13px;

  font-weight: 600;
}

/* INPUT */

.password-input {
  display: flex;

  border: 1px solid #333;

  background: #0b0c0e;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.password-input:focus-within {
  border-color: var(--color-red);

  box-shadow: 0 0 0 1px var(--color-red);
}

.password-input input {
  width: 100%;

  min-width: 0;

  padding: 18px 20px;

  border: none;

  outline: none;

  background: transparent;

  color: var(--color-white);

  font-family: inherit;

  font-size: 15px;
}

.password-input input::placeholder {
  color: #666;
}

/* BOTÃO */

.password-input button {
  border: none;

  padding: 0 25px;

  background: var(--color-red);

  color: var(--color-white);

  font-family: inherit;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1px;

  cursor: pointer;

  transition:
    background 0.3s ease,
    padding 0.3s ease;
}

.password-input button:hover {
  background: #c90000;
}

.password-input button span {
  margin-left: 8px;

  font-size: 16px;
}

/* =========================
   ERRO
========================= */

.password-error {
  display: none;

  margin-top: 12px;

  color: var(--color-red);

  font-size: 13px;
}

.password-error.show {
  display: block;
}

/* =========================
   FOOTER
========================= */

.construction-footer {
  position: absolute;

  bottom: 30px;

  left: 50%;

  transform: translateX(-50%);

  width: 100%;

  color: #555;

  font-size: 11px;

  letter-spacing: 1px;

  text-align: center;
}

/* =========================
   ELEMENTOS GEOMÉTRICOS
========================= */

.construction-shape {
  position: absolute;

  pointer-events: none;
}

/* QUADRADO VERMELHO */

.construction-shape-red {
  width: 45vw;

  height: 45vw;

  max-width: 650px;

  max-height: 650px;

  right: -15vw;

  bottom: -20vw;

  background: var(--color-red);

  opacity: 0.9;

  transform: rotate(35deg);

  animation: shapeRedMove 12s ease-in-out infinite alternate;
}

/* RETÂNGULO ESCURO */

.construction-shape-dark {
  width: 35vw;

  height: 120vh;

  left: -20vw;

  top: -20vh;

  background: #0d1014;

  transform: rotate(35deg);

  animation: shapeDarkMove 16s ease-in-out infinite alternate;
}

/* ANIMAÇÕES */

@keyframes shapeRedMove {
  from {
    transform: rotate(35deg) translate(0, 0);
  }

  to {
    transform: rotate(35deg) translate(-40px, -30px);
  }
}

@keyframes shapeDarkMove {
  from {
    transform: rotate(35deg) translate(0, 0);
  }

  to {
    transform: rotate(35deg) translate(40px, 20px);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .construction-content {
    width: 88%;
  }

  .construction-logo {
    margin-bottom: 35px;
  }

  .construction-content > p {
    font-size: 15px;

    margin: 25px auto 35px;
  }

  .password-input {
    flex-direction: column;

    background: transparent;

    border: none;

    box-shadow: none;
  }

  .password-input:focus-within {
    border: none;

    box-shadow: none;
  }

  .password-input input {
    border: 1px solid #333;

    background: #0b0c0e;
  }

  .password-input input:focus {
    border-color: var(--color-red);
  }

  .password-input button {
    width: 100%;

    min-height: 58px;

    margin-top: 10px;
  }

  .construction-shape-red {
    width: 70vw;

    height: 70vw;

    right: -30vw;

    bottom: -20vw;
  }

  .construction-shape-dark {
    width: 50vw;

    left: -35vw;
  }
}

@media (max-width: 480px) {
  .construction-logo img {
    width: 220px;
  }

  .construction-content h1 {
    font-size: 40px;

    letter-spacing: -1px;
  }

  .construction-footer {
    bottom: 20px;

    font-size: 10px;
  }
}
