
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&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;
}

button,
input {
  font-family: inherit;
}

/* =========================
   PÁGINA PRINCIPAL
========================= */

.auth {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
}

/* =========================
   BOTÃO VOLTAR AO INÍCIO
========================= */

.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;
}

/* =========================
   BANNER SUPERIOR
   IMAGEM SEM CORTES
========================= */

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

.auth-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
}

/* TEXTO SOBRE O BANNER */

.auth-banner h1 {
  position: absolute;
  top: 50%;
  left: 59%;
  transform: translateY(-50%);

  color: #ffffff;
  font-size: clamp(25px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* =========================
   ÁREA CENTRAL DO LOGIN
========================= */

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

/* BOTÃO DO GOOGLE */

.google-btn {
  width: 100%;
  min-height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;

  border: 1px solid #e0e0e0;
  border-radius: 14px;

  background: #ffffff;
  color: #111111;

  font-size: 17px;
  font-weight: 700;

  transition: .3s;
}

.google-btn:hover {
  background: #f5f5f5;
  border-color: #b8b8b8;
}

.google-btn svg {
  flex-shrink: 0;
}

/* SEPARADOR */

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

/* =========================
   CAMPOS DO FORMULÁRIO
========================= */

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

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

.field input {
  width: 100%;
  height: 65px;
  padding: 0 18px;

  background: #f4f4f4;
  border: 1px solid #dcdcdc;
  border-radius: 14px;

  color: #222222;
  font-size: 15px;
  font-weight: 500;

  outline: none;
  transition: .3s;
}

.field input::placeholder {
  color: #aaaaaa;
}

.field input:focus {
  border-color: #507eaf;
  background: #ffffff;
  box-shadow: 0 0 0 3px #507eaf15;
}

/* SENHA E RECUPERAÇÃO */

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

.password-label a {
  color: #999999;
  font-size: 15px;
  font-weight: 600;
  transition: color .3s ease;
}

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

/* =========================
   BOTÃO ENTRAR
========================= */

.login-btn {
  width: 100%;
  height: 65px;

  border: none;
  border-radius: 14px;

  background: #082657;
  color: #ffffff;

  font-size: 20px;
  font-weight: 700;
  cursor: pointer;

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

  gap: 12px;
  margin-top: 65px;

  transition: .3s;
}

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

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

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

/* =========================
   CRIAR CONTA
========================= */

.create-account {
  margin-top: 45px;
  text-align: center;
  color: #999999;
  font-size: 14px;
  font-weight: 600;
}

.create-account a {
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
}

/* =========================
   RODAPÉ STORMEX
========================= */

.login-footer {
  width: 85%;
  max-width: 1100px;

  margin: 10px auto 0;
  padding: 15px 0 30px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  font-family: 'Montserrat', Arial, sans-serif;
  color: #082657;

  background: #ffffff;
  border: none;

  position: relative;
  z-index: 10;
}

.footer-social,
.footer-contact {
  width: auto;
  text-align: center;
}

/* TÍTULO DAS REDES SOCIAIS */

.footer-social p {
  font-size: 11px;
  font-weight: 500;
  color: #082657;
  margin: 0 0 15px;
}

/* =========================
   ÍCONES DAS REDES SOCIAIS
========================= */

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  position: relative;
  z-index: 11;

  pointer-events: auto;
}

/* ÁREA CLICÁVEL DOS ÍCONES */

.social-icons a {
  width: 36px;
  height: 36px;

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

  position: relative;

  color: #082657;
  text-decoration: none;

  cursor: pointer;
  pointer-events: auto;

  transition: transform .3s ease, color .3s ease;
}

/* TAMANHO DOS ÍCONES */

.social-icons svg {
  display: block;
  width: 17px;
  height: 17px;

  flex-shrink: 0;
  pointer-events: none;
}

/* ANIMAÇÃO DOS ÍCONES */

.social-icons a:hover {
  transform: translateY(-3px);
  color: #507eaf;
}

.social-icons a:focus-visible {
  outline: 2px solid #507eaf;
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================
   TELEFONE
========================= */

.footer-contact p {
  color: #082657;
  font-size: 10px;
  font-weight: 500;
  margin: 0 0 5px;
}

.footer-contact a {
  color: #082657;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: color .3s ease;
}

.footer-contact a:hover {
  color: #507eaf;
}

/* =========================
   RESPONSIVIDADE DO RODAPÉ
========================= */

@media (max-width: 750px) {

  .login-footer {
    width: 90%;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0 25px;
  }

  .footer-social,
  .footer-contact {
    width: auto;
  }

  .footer-social p {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .social-icons {
    gap: 15px;
  }

}

/* =========================
   RESPONSIVIDADE DO LOGIN
========================= */

@media (max-width: 600px) {

  /* BOTÃO VOLTAR */

  .voltar-home {
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
  }

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

  /* BANNER */

  .auth-banner {
    height: auto;
  }

  .auth-banner h1 {
    left: 59%;
    font-size: clamp(14px, 4vw, 25px);
  }

  /* ÁREA DE LOGIN */

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

  .google-btn {
    min-height: 48px;
    font-size: 13px;
    gap: 25px;
    border-radius: 10px;
  }

  .google-btn svg {
    width: 17px;
    height: 17px;
  }

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

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

  .field label {
    font-size: 13px;
    padding-left: 12px;
  }

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

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

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

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

  .create-account {
    margin-top: 32px;
    font-size: 11px;
  }

  /* RODAPÉ */

  .login-footer {
    width: 90%;
    gap: 15px;
    padding: 10px 0 20px;
  }

  .footer-social p {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .footer-contact p,
  .footer-contact a {
    font-size: 10px;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
  }

  .social-icons svg {
    width: 15px;
    height: 15px;
  }

}

/* =========================
   ACESSIBILIDADE
========================= */

@media (prefers-reduced-motion: reduce) {

  .voltar-home,
  .social-icons a,
  .login-btn,
  .login-btn span,
  .google-btn,
  .field input,
  .password-label a,
  .footer-contact a {
    transition: none;
  }

  .voltar-home:hover,
  .social-icons a:hover,
  .login-btn:hover span {
    transform: none;
  }

}
