/* Footer CSS - Estilos específicos para o footer */

/* Footer principal */
footer.bg-gray-900 {
  background-color: #111827 !important;
  color: white !important;
  padding: 4rem 0 !important;
}

/* Container do footer */
footer .max-w-7xl {
  max-width: 80rem !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

@media (min-width: 640px) {
  footer .max-w-7xl {
    padding: 0 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  footer .max-w-7xl {
    padding: 0 2rem !important;
  }
}

/* Grid do footer */
footer .grid {
  display: grid !important;
  gap: 2rem !important;
}

@media (min-width: 768px) {
  footer .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Logo e texto do footer */
footer .flex.items-center.gap-3 {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

footer .flex.items-center.gap-3 img {
  width: 2rem !important;
  height: 2rem !important;
}

footer .flex.items-center.gap-3 span {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: white !important;
}

/* Descrição do footer */
footer p.text-gray-400 {
  color: #9ca3af !important;
  margin-bottom: 1.5rem !important;
  max-width: 28rem !important;
  line-height: 1.625 !important;
}

/* Ícones sociais */
footer .flex.gap-4 {
  display: flex !important;
  gap: 1rem !important;
}

footer .social-icon {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

footer .social-icon:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

footer .social-icon i {
  height: 1.25rem !important;
  width: 1.25rem !important;
  color: white !important;
}

/* Seção de links */
footer .flex.flex-col.items-end {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
}

footer .flex.flex-col.items-end h4 {
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  color: white !important;
}

footer .flex.flex-col.items-end ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  color: #9ca3af !important;
  text-align: right !important;
}

footer .flex.flex-col.items-end ul li {
  list-style: none !important;
}

footer .footer-link {
  color: #9ca3af !important;
  transition: color 0.3s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

footer .footer-link:hover {
  color: #60a5fa !important;
}

/* Linha divisória e copyright */
footer .border-t {
  border-top: 1px solid #374151 !important;
  margin-top: 3rem !important;
  padding-top: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
}

@media (min-width: 768px) {
  footer .border-t {
    flex-direction: row !important;
  }
}

footer .border-t p {
  color: #9ca3af !important;
  margin: 0 !important;
}

footer .border-t .flex.items-center.gap-2 {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: #9ca3af !important;
  margin-top: 1rem !important;
}

@media (min-width: 768px) {
  footer .border-t .flex.items-center.gap-2 {
    margin-top: 0 !important;
  }
}

footer .border-t .flex.items-center.gap-2 i {
  height: 1rem !important;
  width: 1rem !important;
}

footer .border-t .flex.items-center.gap-2 span {
  font-size: 0.875rem !important;
}

/* Responsividade mobile */
@media (max-width: 767px) {
  footer.bg-gray-900 {
    padding: 2rem 0 !important;
  }
  
  footer .max-w-7xl {
    padding: 0 0.75rem !important;
  }
  
  footer .flex.items-center.gap-3 {
    margin-bottom: 1rem !important;
  }
  
  footer .flex.items-center.gap-3 img {
    width: 1.5rem !important;
    height: 1.5rem !important;
  }
  
  footer .flex.items-center.gap-3 span {
    font-size: 1.25rem !important;
  }
  
  footer p.text-gray-400 {
    margin-bottom: 1rem !important;
    font-size: 0.875rem !important;
  }
  
  footer .flex.gap-4 {
    gap: 0.75rem !important;
  }
  
  footer .social-icon {
    width: 2rem !important;
    height: 2rem !important;
  }
  
  footer .social-icon i {
    height: 1rem !important;
    width: 1rem !important;
  }
  
  footer .flex.flex-col.items-end h4 {
    margin-bottom: 1rem !important;
    font-size: 1rem !important;
  }
  
  footer .flex.flex-col.items-end ul {
    gap: 0.5rem !important;
  }
  
  footer .flex.flex-col.items-end ul li {
    font-size: 0.875rem !important;
  }
  
  footer .border-t {
    margin-top: 2rem !important;
    padding-top: 1.5rem !important;
  }
  
  footer .border-t p {
    font-size: 0.875rem !important;
    text-align: center !important;
  }
  
  footer .border-t .flex.items-center.gap-2 {
    margin-top: 0.75rem !important;
  }
  
  footer .border-t .flex.items-center.gap-2 span {
    font-size: 0.75rem !important;
  }
}

/* Animações e efeitos */
footer .social-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

footer .social-icon:hover {
  transform: translateY(-2px) scale(1.05) !important;
}

footer .footer-link {
  position: relative !important;
  transition: all 0.3s ease !important;
}

footer .footer-link::after {
  content: '' !important;
  position: absolute !important;
  width: 0 !important;
  height: 1px !important;
  bottom: -2px !important;
  left: 0 !important;
  background-color: #60a5fa !important;
  transition: width 0.3s ease !important;
}

footer .footer-link:hover::after {
  width: 100% !important;
}

/* Forçar consistência com regras ultra-específicas */
html body footer.bg-gray-900 {
  background-color: #111827 !important;
  color: white !important;
  padding: 4rem 0 !important;
}

html body footer .max-w-7xl {
  max-width: 80rem !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

html body footer .flex.items-center.gap-3 {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

html body footer .flex.items-center.gap-3 img {
  width: 2rem !important;
  height: 2rem !important;
}

html body footer .flex.items-center.gap-3 span {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: white !important;
}

html body footer .social-icon {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

html body footer .footer-link {
  color: #9ca3af !important;
  transition: color 0.3s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

html body footer .footer-link:hover {
  color: #60a5fa !important;
}
