/* ---------- GERAL ---------- */
body {
  margin: 0;
  background-image: url("img/fundo_login.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top center;
  background-size: cover;
  font-family: "Poppins", sans-serif;
  color: white;
  position: relative;
  min-height: 100vh;
  display: block;
}

.fundo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #080617;
  opacity: 0.46;
  z-index: -1;
}

/* ---------- CABEÇALHO ---------- */
header {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(19, 53, 118, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000; 
}
  
.logo {
  height: 60px;
  object-fit: contain;
}

/* ---------- SEÇÃO HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-bottom: 300px;
  z-index: 1;
  opacity: 0;
  animation: heroFadeIn 1s ease-out forwards;
  transform: translateY(0);
  min-height: calc(100vh - 80px - 300px);
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: 200px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 30px;
  max-width: 800px;
  font-weight: 700;
}

.btn-primary {
  background-color: #efb810;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #8b6e17;
}

.login-link {
  font-size: 0.9rem;
  font-weight: 500;
}

#login-linkp {
  display: inline;
  margin-right: 8px;
  opacity: 0.8;
}

.login-link a {
  color: white;
  padding: 6px 14px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
}

.login-link a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ---------- RODAPÉ ---------- */
.footer {
  background-color: #0b1b49;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 3;
}

.footer-top {
  margin-bottom: 15px;
}

.footer-logo {
  height: 50px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #b5ceff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffc107;
}

.footer-info {
  font-size: 0.8em;
  color: #d9e1ff;
  line-height: 1.6;
}

.footer-info a {
  color: #b5ceff;
  text-decoration: none;
  font-weight: 500;
}

.footer-info a:hover {
  color: #ffc107;
}

/* ---------- RESPONSIVIDADE ---------- */

/* Telas grandes (desktops e notebooks) */
@media (min-width: 1024px) {
  .hero {
    padding: 60px 20px;
    min-height: calc(100vh - 80px - 250px);
  }
  
  .hero-logo {
    width: 180px;
    margin-bottom: 25px;
  }
  
  .hero h1 {
    font-size: 1.4rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .footer {
    padding: 30px 15px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .footer-links a {
    font-size: 1em;
  }

  .footer-info {
    font-size: 0.85em;
  }

  .footer-logo {
    height: 35px;
  }

  .hero h1 {
    font-size: 1.3rem;
  }
  
  .hero-logo {
    width: 180px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .footer-links {
    gap: 10px;
  }

  .footer-info p {
    margin: 6px 0;
  }

  .footer-info {
    font-size: 0.8em;
  }

  .hero-logo {
    width: 160px;
  }
  
  .hero h1 {
    font-size: 1.2rem;
  }
}