/* ============================================
   FOOTER VIRTUA - CSS GLOBAL
   ============================================ */

/* ============================================
   VARIÁVEIS CSS
   ============================================ */
:root {
  --primary-color: #2A7DE1;
  --secondary-color: #6bdad5;
  --text-white: #FFFFFF;
  --text-light: rgba(255, 255, 255, 0.80);
  --border-color: rgba(42, 125, 225, 0.20);
  --container-max-width: 1250px;
  --spacing-xs: 10px;
  --spacing-sm: 15px;
  --spacing-md: 20px;
  --spacing-xl: 60px;
  --transition: all 0.3s ease;
  --font-family: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   FOOTER PRINCIPAL
   ============================================ */
.site-footer {
  background: #0A1016;
  padding: 40px 0;
  position: relative;
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  align-items: start;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

/* Parte 1: Logo e Texto */
.footer-about {
  /* Estilos específicos se necessário */
}

.footer-logo {
  width: 200px;
  height: 45px;
  object-fit: contain;
  margin-bottom: var(--spacing-md);
}

.footer-description {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 21px;
  color: var(--text-light);
  margin: 0;
}

/* Parte 2: Nossos Serviços */
.footer-services {
  /* Estilos específicos se necessário */
}

.footer-title {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
  color: var(--text-white);
  margin: 0 0 var(--spacing-md) 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Parte 3: Links Rápidos */
.footer-contact {
  /* Estilos específicos se necessário */
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-item:hover {
  opacity: 0.8;
}

.footer-contact-item:hover .footer-contact-text {
  color: #6bdad5;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-contact-text {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light);
  transition: var(--transition);
}

/* Parte 4: Redes Sociais */
.footer-social {
  /* Estilos específicos se necessário */
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: var(--transition);
}

.footer-social-link:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-cnpj {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 21px;
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   SEGUNDO FOOTER (FOOTER BOTTOM)
   ============================================ */
.footer-bottom {
  background: #080D16;
  padding: 20px 10px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  padding: 0 var(--spacing-md);
}

.footer-copyright {
  font-family: var(--font-family);
  font-size: 12px;
  line-height: 18px;
  color: var(--text-light);
  margin: 0;
}

.footer-partner-link {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.footer-partner-link:hover {
  opacity: 0.8;
}

.footer-partner-logo {
  width: 250px;
  height: 20px;
  object-fit: contain;
}

/* ============================================
   BOTÃO FIXO WHATSAPP
   ============================================ */
.whatsapp-fixed-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #4dc247;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-fixed-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(77, 194, 71, 0.4);
}

.whatsapp-fixed-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ============================================
   ESTILOS LEGACY (para compatibilidade)
   ============================================ */
/* Footer WhatsApp Button - Estilos antigos */
footer [data-halign="right"] {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

footer [data-halign="right"] a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

footer [data-halign="right"] a:hover {
  transform: scale(1.1);
}

footer [data-halign="right"] a i img {
  width: 30px;
  height: 30px;
}

/* ============================================
   RESPONSIVE - TABLET (2 colunas)
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
}

/* ============================================
   RESPONSIVE - MOBILE (1 coluna centralizada)
   ============================================ */
@media (max-width: 768px) {
  .site-footer {
    padding: 30px 0;
  }

  .footer-container {
    padding: 0 var(--spacing-sm);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    justify-items: center;
  }

  .footer-section {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  /* Todas as seções centralizadas */
  .footer-about {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto var(--spacing-md);
  }

  .footer-services,
  .footer-contact {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-social {
    text-align: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }

  .footer-partner-logo {
    width: 200px;
    height: 16px;
  }

  .whatsapp-fixed-button {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-fixed-icon {
    width: 28px;
    height: 28px;
  }
}

