
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* CONFIGURAÇÕES GERAIS */

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

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #ffffff;
  color: #111111;
}

a {
  text-decoration: none;
  color: inherit;
}

input,
button {
  font-family: inherit;
}

.auth {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* BANNER SUPERIOR */

.auth-banner {
  width: 100%;
  height: auto;
  position: relative;
  background: #082657;
}

.auth-banner img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
}

/* TEXTO DO BANNER */

.auth-banner h1 {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: clamp(20px, 4vw, 55px);
  font-weight: 500;
  line-height: 1.15;
}

/* ÁREA DO LOGIN */

.auth-body {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 35px 30px 60px;
}

/* BOTÃO SSO CORPORATIVO */

.social-btn {
  width: 100%;
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  transition: 0.3s;
}

.social-btn:hover {
  background: #f5f5f5;
}

.sso-icon {
  font-size: 23px;
}

/* SEPARADOR */

.sep {
  text-align: center;
  color: #999999;
  font-size: 16px;
  font-weight: 700;
  margin: 48px 0 35px;
}

/* CAMPOS DE PREENCHIMENTO */

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 45px;
}

.field label {
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  padding-left: 10px;
}

.field input {
  width: 100%;
  height: 65px;
  padding: 0 18px;
  border: 1px solid #dddddd;
  border-radius: 14px;
  background: #f4f4f4;
  color: #222222;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.field input::placeholder {
  color: #aaaaaa;
  font-weight: 500;
}

.field input:focus {
  border-color: #507eaf;
  background: #ffffff;
}

/* SENHA */

.password-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.password-label a {
  font-size: 14px;
  font-weight: 600;
  color: #999999;
}

.password-label a:hover {
  color: #082657;
}

/* BOTÃO ACESSAR PORTAL */

.login-btn {
  width: 100%;
  height: 65px;
  background: #082657;
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 65px;
  transition: 0.3s;
}

.login-btn span {
  font-size: 32px;
  font-weight: 400;
  transition: 0.3s;
}

.login-btn:hover {
  background: #164780;
}

.login-btn:hover span {
  transform: translateX(5px);
}

/* RODAPÉ */

.login-footer {
  width: 100%;
  margin-top: auto;
  padding: 60px 20px 25px;
  text-align: center;
  color: #082657;
  font-size: 10px;
  font-weight: 600;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVIDADE */

@media (max-width: 600px) {

  .auth-banner h1 {
    left: 60%;
    font-size: clamp(15px, 5vw, 28px);
  }

  .auth-body {
    max-width: 350px;
    padding: 18px 20px 40px;
  }

  .social-btn {
    min-height: 46px;
    font-size: 12px;
    border-radius: 10px;
    gap: 12px;
  }

  .sso-icon {
    font-size: 18px;
  }

  .sep {
    font-size: 12px;
    margin: 32px 0 25px;
  }

  .field {
    margin-bottom: 35px;
    gap: 8px;
  }

  .field label {
    font-size: 11px;
    padding-left: 8px;
  }

  .field input {
    height: 46px;
    border-radius: 10px;
    font-size: 12px;
    padding: 0 12px;
  }

  .password-label a {
    font-size: 10px;
  }

  .login-btn {
    height: 46px;
    margin-top: 45px;
    font-size: 15px;
    border-radius: 10px;
  }

  .login-btn span {
    font-size: 25px;
  }

  .login-footer {
    padding: 40px 15px 20px;
    font-size: 8px;
  }

}
/* BOTÃO VOLTAR À PÁGINA INICIAL */

.voltar-home {
  position: fixed;
  top: 25px;
  left: 25px;

  width: 48px;
  height: 48px;

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

  background: #082657;
  color: white;

  border-radius: 50%;
  text-decoration: none;

  box-shadow: 0 4px 15px #00000020;

  z-index: 9999;
  transition: .3s ease;
}

.voltar-home:hover {
  background: #507eaf;
  transform: scale(1.1);
}

.voltar-home svg {
  width: 23px;
  height: 23px;
}