/* ===== FOOTER MODERNO ELEGANTE ===== */

/* Footer principal com gradiente e sombra */
.modern-footer {
  background: linear-gradient(135deg, #17396c 0%, #1e4a7a 100%);
  box-shadow: 0 -4px 20px rgba(23, 57, 108, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1000;
  margin-top: auto;
  padding: 1.5rem 0 0.75rem;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

/* Container do footer */
.modern-footer .container {
  padding: 0 1rem;
}

/* ===== LAYOUT HORIZONTAL COMPLETO ===== */

/* Seção principal do footer - Layout horizontal */
.footer-main {
  margin-bottom: 1rem;
}

/* Container horizontal principal */
.footer-horizontal {
  width: 100%;
  gap: 2rem;
}

/* Logos da empresa */
.footer-brand {
  flex-shrink: 0;
}

.footer-logos {
  display: flex;
  align-items: center;
}

.footer-logos img {
  transition: all 0.3s ease;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  height: 35px;
}

.footer-logos img:hover {
  transform: translateY(-1px);
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Contato horizontal com alinhamento perfeito */
.footer-contact-horizontal {
  flex: 1;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  display: flex;
}

.contact-item-horizontal {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 100%;
}

.contact-item-horizontal i {
  color: #79dd2f;
  width: 16px;
  text-align: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text {
  font-weight: 500;
  display: flex;
  align-items: center;
}

.contact-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.contact-link:hover {
  color: #79dd2f;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Redes sociais horizontais */
.footer-social-horizontal {
  flex-shrink: 0;
}

.footer-social-horizontal .social-links {
  display: flex;
  gap: 0.5rem;
}

.footer-social-horizontal .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-social-horizontal .social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.footer-social-horizontal .social-link:hover::before {
  left: 100%;
}

.footer-social-horizontal .social-link:hover {
  color: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Cores específicas para cada rede social horizontal */
.footer-social-horizontal .social-link.facebook:hover {
  background: rgba(24, 119, 242, 0.8);
  border-color: rgba(24, 119, 242, 0.5);
}

.footer-social-horizontal .social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  border-color: rgba(188, 24, 136, 0.5);
}

.footer-social-horizontal .social-link.youtube:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: rgba(255, 0, 0, 0.5);
}

.footer-social-horizontal .social-link.linkedin:hover {
  background: rgba(0, 119, 181, 0.8);
  border-color: rgba(0, 119, 181, 0.5);
}

/* Títulos das seções - mais compactos */
.footer-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-title i {
  color: #79dd2f;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Informações de contato - layout horizontal */
.footer-contact {
  text-align: left;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-item {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-item i {
  color: #79dd2f;
  width: 20px;
  text-align: center;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.contact-text {
  font-weight: 500;
  display: flex;
  align-items: center;
}

.contact-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.contact-link:hover {
  color: #79dd2f;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Redes sociais - layout horizontal compacto */
.footer-social {
  text-align: left;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

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

.social-link:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Cores específicas para cada rede social */
.social-link.facebook:hover {
  background: rgba(24, 119, 242, 0.8);
  border-color: rgba(24, 119, 242, 0.5);
}

.social-link.instagram:hover {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  border-color: rgba(188, 24, 136, 0.5);
}

.social-link.youtube:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: rgba(255, 0, 0, 0.5);
}

.social-link.linkedin:hover {
  background: rgba(0, 119, 181, 0.8);
  border-color: rgba(0, 119, 181, 0.5);
}

/* Divisor mais sutil */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  margin: 1rem 0 0.5rem;
}

/* Rodapé inferior mais compacto */
.footer-bottom {
  padding-top: 0.25rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-link:hover {
  color: #79dd2f;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Responsividade - Layout horizontal adaptativo */
@media (max-width: 991.98px) {
  .modern-footer {
    padding: 1rem 0 0.5rem;
  }

  .footer-main {
    margin-bottom: 0.75rem;
  }

  .footer-horizontal {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .footer-brand,
  .footer-contact-horizontal,
  .footer-social-horizontal {
    width: 100%;
    justify-content: center;
  }

  .footer-contact-horizontal {
    min-width: auto;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .footer-copyright {
    text-align: center;
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .modern-footer {
    padding: 0.75rem 0 0.5rem;
  }

  .footer-logos img {
    height: 30px;
  }

  .footer-contact-horizontal {
    gap: 0.75rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .contact-item-horizontal {
    font-size: 0.8rem;
  }

  .footer-social-horizontal .social-link {
    width: 32px;
    height: 32px;
  }

  .footer-social-horizontal .social-links {
    gap: 0.4rem;
  }
}

/* Efeito de scroll */
.modern-footer.scrolled {
  background: linear-gradient(
    135deg,
    rgba(23, 57, 108, 0.98) 0%,
    rgba(30, 74, 122, 0.98) 100%
  );
  backdrop-filter: blur(20px);
  box-shadow: 0 -6px 25px rgba(23, 57, 108, 0.25);
}
