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

/* RESET E BASE */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #fbfbfb;
}

/* FOOTER / RODAPÉ */
.footer-reds {
  background-color: #d13234;
  color: #ffffff;
  padding: 60px 0 0 0;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Logo Section */
.footer-logo-section {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1); /* Torna a logo branca */
}

/* Seções do Footer */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
}

/* Links de Navegação */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: opacity 0.3s ease, transform 0.2s ease;
  display: inline-block;
  position: relative; /* Necessário para posicionar o ::after */
}

/* Linha branca escondida inicialmente */
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* ou 0 se quiser colado ao texto */
  height: 2px;
  width: 0;
  background-color: white;
  transition: width 0.3s ease;
}

/* Ao passar o mouse */
.footer-link:hover {
  opacity: 0.8;
  transform: translateX(5px);
}

/* Mostrar a linha ao passar o mouse */
.footer-link:hover::after {
  width: 100%;
}

/* Informações de Contato */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-text {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

/* Redes Sociais */
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  text-align: left;
}

.social-link {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Torna os ícones brancos */
}

/* Copyright */
.footer-copyright {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* RESPONSIVO */
@media (max-width: 1200px) {
  .footer-container {
    gap: 40px;
    padding: 0 30px;
  }
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-logo-section {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .footer-reds {
    padding: 40px 0 0 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
    text-align: left;
  }
  
  .footer-logo-section {
    justify-content: flex-start;
  }
  
  .footer-logo {
    max-width: 150px;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
  
  .footer-link,
  .contact-text {
    font-size: 0.95rem;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 15px;
    gap: 25px;
  }
  
  .footer-logo {
    max-width: 120px;
  }
  
  .footer-title {
    font-size: 1rem;
  }
  
  .footer-link,
  .contact-text {
    font-size: 0.9rem;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .footer-copyright p {
    font-size: 0.8rem;
  }
}

/* Animações de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: fadeInUp 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Efeito hover nos links de navegação */
.footer-links li {
  position: relative;
  overflow: hidden;
}

.footer-links li::before {
  content: '';
  position: absolute;
  left: -100%;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: left 0.3s ease;
}

.footer-links li:hover::before {
  left: 0;
}

/* Efeito de pulso nos ícones sociais */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.social-link:hover .social-icon {
  animation: pulse 1.5s infinite;
  border-radius: 50%;
}

