/* =========================================
   FOOTER NOVO - CSS Exclusivo
   Zait.ag - Pulverizando Tecnologia
   Mantendo o padrão do Header Novo
   ========================================= */

/* =========================================
   VARIÁVEIS DE COR (Mesma Paleta do Header)
   ========================================= */
:root {
  /* Verdes */
  --footer-green-light: #B9CF38;
  --footer-green-medium: #727927;
  --footer-green-dark: #606721;
  --footer-green-accent: #BAD042;
  
  /* Escuros */
  --footer-dark-1: #2C2C2C;
  --footer-dark-2: #1A1A1A;
  --footer-dark-3: #100F0F;
  --footer-bg: #1e2126;
  --footer-bg-hover: #292929;
  
  /* Claros */
  --footer-light-1: #DFDFDF;
  --footer-light-2: #ABACAD;
  --footer-light-3: #676767;
  --footer-white: #ffffff;
  
  /* Transições */
  --footer-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --footer-transition-fast: all 0.2s ease;
  
  /* Sombras */
  --footer-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  
  /* Bordas */
  --footer-border-radius: 12px;
  --footer-border-radius-sm: 8px;
  --footer-border-color: rgba(255, 255, 255, 0.08);
}

/* =========================================
   BASE DO FOOTER
   ========================================= */
.footer-new {
  width: 100%;
  background: var(--header-dark-3);
  padding: 60px 0 0;
}

/* =========================================
   CONTAINER PRINCIPAL
   ========================================= */
.footer-new-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================================
   GRID LAYOUT
   ========================================= */
.footer-new-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--footer-border-color);
}

/* =========================================
   COLUNA DO LOGO E REDES SOCIAIS
   ========================================= */
.footer-new-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-new-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 8px;
}

.footer-new-logo svg {
  height: 50px;
  width: auto;
  display: block;
  transition: var(--footer-transition);
}

.footer-new-logo svg path {
  transition: fill 0.6s ease;
}

.footer-new-logo:hover svg path {
  fill: var(--footer-green-light);
}

.footer-new-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--footer-light-3);
  max-width: 320px;
  margin-bottom: 48px;
}

/* Redes Sociais */
.footer-new-social {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.footer-new-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--footer-border-color);
  border-radius: 50%;
  transition: var(--footer-transition);
}

.footer-new-social-link:hover {
  background: var(--footer-green-light);
  border-color: var(--footer-green-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(185, 207, 56, 0.3);
}

.footer-new-social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--footer-light-2);
  transition: var(--footer-transition);
}

.footer-new-social-link:hover svg {
  fill: var(--footer-dark-2);
}

/* =========================================
   COLUNAS DE LINKS
   ========================================= */
.footer-new-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-new-column-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--footer-white);
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

.footer-new-column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-new-column-link {
  font-size: 14px;
  color: var(--footer-light-2);
  text-decoration: none;
  transition: var(--footer-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-new-column-link:hover {
  color: var(--footer-green-light);
}

/* =========================================
   COLUNA DE CONTATO
   ========================================= */
.footer-new-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--footer-light-2);
  line-height: 1.6;
}

.footer-new-contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--footer-green-light);
}

.footer-new-contact-link {
  color: var(--footer-light-2);
  text-decoration: none;
  transition: var(--footer-transition-fast);
}

.footer-new-contact-link:hover {
  color: var(--footer-green-light);
}

/* =========================================
   RODAPÉ FINAL (Copyright + Links)
   ========================================= */
.footer-new-bottom {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-new-copyright {
  font-size: 13px;
  color: var(--footer-light-3);
}

.footer-new-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-new-bottom-link {
  font-size: 13px;
  color: var(--footer-light-3);
  text-decoration: none;
  transition: var(--footer-transition-fast);
}

.footer-new-bottom-link:hover {
  color: var(--footer-green-light);
}

/* =========================================
   BOTÃO WHATSAPP
   ========================================= */
.footer-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--footer-transition);
  text-decoration: none;
}

.footer-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.footer-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* Animação de pulso sutil */
@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6);
  }
}

.footer-whatsapp {
  animation: whatsappPulse 2s ease-in-out infinite;
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */

/* Desktop Grande (1400px+) */
@media (min-width: 1400px) {
  .footer-new-container {
    padding: 0 60px;
  }
}

/* Desktop Médio (1200px - 1399px) */
@media (max-width: 1399px) {
  .footer-new-container {
    padding: 0 30px;
  }
  
  .footer-new-grid {
    gap: 48px;
  }
}

/* Tablet/Desktop Pequeno (992px - 1199px) */
@media (max-width: 1199px) {
  .footer-new-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
  
  .footer-new-brand {
    grid-column: 1 / -1;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .footer-new-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile (abaixo de 768px) */
@media (max-width: 767px) {
  .footer-new {
    padding: 40px 0 0;
  }
  
  .footer-new-container {
    padding: 0 20px;
  }
  
  .footer-new-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  
  .footer-new-brand {
    text-align: center;
    align-items: center;
  }
  
  .footer-new-description {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-new-social {
    justify-content: center;
  }
  
  .footer-new-bottom {
    flex-direction: column;
    text-align: center;
    padding: 24px 0;
  }
  
  .footer-new-bottom-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
  
  .footer-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* Mobile Pequeno (abaixo de 480px) */
@media (max-width: 479px) {
  .footer-new-container {
    padding: 0 16px;
  }
  
  .footer-new-logo svg {
    height: 32px;
  }
  
  .footer-new-social-link {
    width: 40px;
    height: 40px;
  }
  
  .footer-new-social-link svg {
    width: 18px;
    height: 18px;
  }
}

/* =========================================
   UTILIDADES
   ========================================= */
.footer-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus states para acessibilidade */
.footer-new-logo:focus,
.footer-new-social-link:focus,
.footer-new-column-link:focus,
.footer-new-contact-link:focus,
.footer-new-bottom-link:focus,
.footer-whatsapp:focus {
  outline: none;
}

/* Print styles - ajustes para impressão */
@media print {
  .footer-whatsapp {
    display: none !important;
  }
  
  .footer-new {
    border-top: 2px solid #000;
  }
  
  .footer-new-social,
  .footer-new-column-link::before {
    display: none;
  }
}
