* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffffff 0%, #faf4f8 45%, #f4ebfc 100%);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* EFEITOS FUNDO */

body::before {
  content: "";
  position: fixed;
  width: 350px;
  height: 350px;
  background: rgba(189, 117, 240, 0.12);
  border-radius: 50%;
  top: -120px;
  left: -120px;
  z-index: -1;
  filter: blur(10px);
}

body::after {
  content: "";
  position: fixed;
  width: 280px;
  height: 280px;
  background: rgba(189, 117, 240, 0.08);
  border-radius: 50%;
  bottom: -100px;
  right: -80px;
  z-index: -1;
  filter: blur(10px);
}

/* HEADER */

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  animation: fadeTop 0.7s ease;
}

.videoLogo {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 0.4rem;
  box-shadow:
    0 15px 35px rgba(189, 117, 240, 0.25),
    0 5px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.videoLogo:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow:
    0 20px 45px rgba(189, 117, 240, 0.35),
    0 10px 20px rgba(0, 0, 0, 0.1);
}

.h1Sis {
  font-family: "Chela One", system-ui;
  font-size: 3rem;
  color: #bd75f0ff;
  margin-top: 1rem;
  text-shadow: 0 8px 25px rgba(189, 117, 240, 0.2);
  letter-spacing: 1px;
}

.h3INFI {
  font-family: "Inter", sans-serif;
  color: #6b7280;
  font-size: 1rem;
  margin-top: 0.6rem;
  font-weight: 500;
}

/* MAIN */

.main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  min-height: 55vh;
  padding: 1rem;
}

/* CONTAINER LOGIN */

.containerlogin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #ececf1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 2rem;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.06),
    0 10px 25px rgba(189, 117, 240, 0.12);
  width: 100%;
  padding: 2.5rem;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.7s ease;
}

.containerlogin::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(189, 117, 240, 0.08);
  border-radius: 50%;
  top: -70px;
  right: -70px;
}

.divh4h5 {
  z-index: 1;
}

.h4Log {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
}

.h5Entre {
  padding-top: 0.5rem;
  font-family: "Inter", sans-serif;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* FORM */

.form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 1;
}

.form label {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 0.4rem;
}

.form input {
  height: 3.2rem;
  border: 2px solid #ececf1;
  border-radius: 1rem;
  padding: 0 1rem;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  background: #ffffffff;
  transition:
    border 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.form input::placeholder {
  color: #9ca3af;
}

.form input:focus {
  color: black;
  background: #ffffffff;
  border: 2px solid #bd75f0ff;
  box-shadow: 0 0 0 5px rgba(189, 117, 240, 0.15);
  transform: translateY(-2px);
}

/* BOTÃO */

.btEntrar {
  font-family: "Inter", sans-serif;
  color: white;
  background: linear-gradient(135deg, #bd75f0ff 0%, #9b4fd4ff 100%);
  font-size: 1rem;
  font-weight: 700;
  height: 3.2rem;
  border: none;
  border-radius: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 12px 25px rgba(189, 117, 240, 0.25);
}

.btEntrar:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 35px rgba(189, 117, 240, 0.35);
}

.btEntrar:active {
  transform: scale(0.98);
}

/* MESSAGE LOGIN */

.messageLogin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid #ececf1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1.2rem;
  padding: 1rem 2rem;
  margin: 1rem auto;
  width: fit-content;
  max-width: 90%;
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.05),
    0 5px 15px rgba(189, 117, 240, 0.08);
}

.messageLogin.ativo {
  opacity: 1;
  transform: translateY(0);
}

.h1MessageCerto {
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #16a34a;
}

.h1MessageErrado {
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #dc2626;
}

/* FOOTER */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: auto;
  padding: 1.5rem;
  text-align: center;
}

/* ANIMAÇÕES */

@keyframes fadeTop {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */

@media (max-width: 768px) {
  .h1Sis {
    font-size: 2.4rem;
  }

  .containerlogin {
    padding: 2rem;
  }
}

@media (max-width: 500px) {
  .header {
    margin-top: 1rem;
  }

  .videoLogo {
    width: 9rem;
    height: 9rem;
  }

  .h1Sis {
    font-size: 2rem;
    line-height: 1.2;
  }

  .h3INFI {
    font-size: 0.9rem;
  }

  .main {
    padding: 1rem;
  }

  .containerlogin {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .h4Log {
    font-size: 1.6rem;
  }

  .form input,
  .btEntrar {
    height: 3rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 1rem;
  }
}
