/* FOOTER MODERNO E APRIMORADO */
.footer-enhanced {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #000;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.footer-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #049cec, #2ecc71, #e74c3c, #f39c12);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer-primary {
  padding: 60px 0 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Desktop: 3 colunas originais */
  gap: 40px;
  align-items: start;
}

.footer-column h5 {
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #049cec;
  border-radius: 2px;
}

/* Coluna Sobre */
.footer-about .logo-footer {
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-about p {
  line-height: 1.6;
  margin-bottom: 25px;
  color: #2c3e50;
  font-weight: 500;
}

.contact-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  padding: 12px;
  background: rgba(4, 156, 236, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(4, 156, 236, 0.2);
}

.contact-highlight:hover {
  background: rgba(4, 156, 236, 0.15);
  transform: translateX(5px);
  border-color: rgba(4, 156, 236, 0.3);
}

.contact-highlight i {
  color: #049cec;
  font-size: 1.1rem;
}

.contact-highlight a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
}

/* Links sociais */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(4, 156, 236, 0.1);
  border-radius: 50%;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(4, 156, 236, 0.2);
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(4, 156, 236, 0.2), transparent);
  transition: left 0.5s ease;
}

.social-links a:hover::before {
  left: 100%;
}

.social-links a:hover {
  background: #049cec;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(4, 156, 236, 0.4);
  border-color: #049cec;
}

/* Listas de links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
  font-weight: 500;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: #049cec;
  border-radius: 2px;
  transition: height 0.3s ease;
}

.footer-links a:hover {
  color: #049cec;
  transform: translateX(10px);
}

.footer-links a:hover::before {
  height: 20px;
}

.footer-links a:hover i {
  color: #049cec;
  transform: scale(1.1);
}

.footer-links i {
  color: #7f8c8d;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 16px;
  text-align: center;
}

/* FOOTER SECONDARY */
.footer-secondary {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 12px 0;
  position: relative;
}

.copyright-minimal {
  text-align: center;
  padding: 8px 0;
}

.copyright-minimal p {
  margin: 0;
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* RESPONSIVIDADE */

/* Tablets e telas médias */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 30px;
  }
}

/* Mobile médio (menor que 768px) */
@media (max-width: 768px) {
  .footer-primary {
    padding: 40px 0 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas lado a lado */
    gap: 20px;
  }

  .footer-column:first-child {
    grid-column: 1 / -1; /* primeira coluna ocupa toda largura */
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-about .logo-footer {
    margin: 0 auto 20px auto;
  }

  .footer-secondary {
    padding: 10px 0;
  }

  .copyright-minimal p {
    font-size: 0.8rem;
  }
}

/* iPhones / Mobile pequeno (menor que 480px) */
@media (max-width: 480px) {
  .footer-primary {
    padding: 30px 0 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr); /* DUAS colunas lado a lado */
    gap: 15px;
  }

  /* Removido qualquer regra de first-child para permitir duas colunas */
  .footer-column {
    grid-column: auto;
    text-align: left; /* ou center, se preferir */
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-secondary {
    padding: 8px 0;
  }

  .copyright-minimal p {
    font-size: 0.75rem;
  }
}

/* Container para alinhamento */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
