/* ================================================
   FOOTER MODERNO - PADRÃO GLASSMORPHIC
   Alinhado com hero banner e header do projeto
   ================================================ */

/* RESET E BASE DO FOOTER */
.footer {
  /* Background com gradiente similar ao header */
  background: linear-gradient(
    135deg,
    rgba(15, 25, 55, 0.95) 0%,
    rgba(12, 20, 45, 0.98) 50%,
    rgba(18, 28, 60, 0.95) 100%
  ) !important;

  /* Glassmorphism effect */
  backdrop-filter: blur(20px) saturate(150%) !important;

  /* Borda superior com cor brand */
  border-top: 1px solid rgba(39, 195, 216, 0.3) !important;

  /* Sombras elevadas */
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;

  /* Espaçamento responsivo */
  padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px) 0 !important;

  /* Posicionamento */
  position: relative !important;
  overflow: hidden !important;

  /* Cor base do texto */
  color: rgba(255, 255, 255, 0.9) !important;
}

/* EFEITO DE BRILHO ANIMADO */
.footer::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -50% !important;
  width: 200% !important;
  height: 2px !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(39, 195, 216, 0.6) 25%,
    rgba(125, 245, 210, 0.8) 50%,
    rgba(39, 195, 216, 0.6) 75%,
    transparent 100%
  ) !important;
  animation: footerGlow 4s ease-in-out infinite alternate !important;
  z-index: 1 !important;
}

/* BUBBLES DECORATIVAS */
.footer::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.25) 6px, transparent 8px),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.22) 8px, transparent 10px),
    radial-gradient(circle at 45% 70%, rgba(255, 255, 255, 0.18) 4px, transparent 6px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.2) 7px, transparent 9px),
    radial-gradient(circle at 25% 80%, rgba(255, 255, 255, 0.16) 3px, transparent 5px),
    radial-gradient(circle at 90% 75%, rgba(255, 255, 255, 0.19) 5px, transparent 7px),
    radial-gradient(circle at 60% 15%, rgba(255, 255, 255, 0.21) 5.5px, transparent 7.5px),
    radial-gradient(circle at 35% 45%, rgba(255, 255, 255, 0.17) 3.5px, transparent 5.5px) !important;
  animation: footerBubbles 8s ease-in-out infinite !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* CONTAINER PRINCIPAL */
.footer__container {
  /* Grid responsivo */
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(30px, 5vw, 50px) !important;

  /* Posicionamento sobre os efeitos */
  position: relative !important;
  z-index: 2 !important;

  /* Container centralizado */
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 4vw, 40px) !important;
}

/* GRID RESPONSIVO */
@media (min-width: 768px) {
  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: clamp(40px, 6vw, 60px) !important;
  }
}

/* SEÇÃO DA MARCA */
.footer__brand {
  /* Layout */
  display: flex !important;
  align-items: flex-start !important;
  gap: clamp(16px, 3vw, 24px) !important;
  margin-bottom: clamp(20px, 4vw, 30px) !important;

  /* Posicionamento */
  position: relative !important;
  z-index: 3 !important;
}

/* LOGO CONTAINER */
.footer__logo {
  /* Sem container - logo livre */
  background: none !important;
  backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  /* Flexibilidade */
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  /* Transição suave */
  transition: all 0.3s ease !important;
}

.footer__logo:hover {
  transform: scale(1.05) !important;
}

/* TEXTOS DA MARCA */
.footer__brand h3 {
  color: white !important;
  font-size: clamp(18px, 3vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin: 0 0 8px 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: clamp(14px, 2.5vw, 16px) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* SEÇÕES DE LINKS */
.footer__section {
  position: relative !important;
  z-index: 3 !important;
}

.footer__section h3 {
  /* Título da seção */
  color: white !important;
  font-size: clamp(16px, 2.5vw, 20px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 0 clamp(16px, 3vw, 24px) 0 !important;

  /* Efeito de brilho */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;

  /* Destaque com brand color */
  position: relative !important;
}

.footer__section h3::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background: var(--brand, #27c3d8) !important;
  border-radius: 1px !important;
}

/* LISTA DE LINKS */
.footer__links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer__links li {
  margin-bottom: clamp(8px, 2vw, 12px) !important;
  position: relative !important;
}

.footer__links a {
  /* Estilo base dos links */
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: clamp(14px, 2vw, 16px) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;

  /* Layout flexível para ícones */
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  /* Transição suave */
  transition: all 0.3s ease !important;

  /* Padding para área de click */
  padding: 4px 0 !important;
}

.footer__links a:hover {
  color: var(--brand, #27c3d8) !important;
  transform: translateX(4px) !important;
  text-shadow: 0 0 8px rgba(39, 195, 216, 0.4) !important;
}

.footer__links a i {
  font-size: 12px !important;
  opacity: 0.8 !important;
  transition: all 0.3s ease !important;
}

.footer__links a:hover i {
  opacity: 1 !important;
  color: var(--brand, #27c3d8) !important;
}

/* TEXTOS SEM LINK (HORÁRIOS) */
.footer__links span {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: clamp(14px, 2vw, 16px) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 0 !important;
}

.footer__links span i {
  font-size: 12px !important;
  opacity: 0.6 !important;
}

/* SEÇÃO BOTTOM */
.footer__bottom {
  /* Layout */
  margin-top: clamp(40px, 6vw, 60px) !important;
  padding-top: clamp(20px, 4vw, 30px) !important;

  /* Borda superior glassmorphic */
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;

  /* Centralização */
  text-align: center !important;

  /* Posicionamento */
  position: relative !important;
  z-index: 3 !important;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: clamp(13px, 2vw, 15px) !important;
  line-height: 1.4 !important;
  margin: 0 0 8px 0 !important;
}

.footer__bottom a {
  color: var(--brand, #27c3d8) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.footer__bottom a:hover {
  color: var(--brand-2, #7df5d2) !important;
  text-shadow: 0 0 8px rgba(125, 245, 210, 0.4) !important;
}

/* PARTNER BADGE */
.footer__partner {
  /* Glassmorphic badge */
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;

  /* Styling */
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;

  /* Spacing */
  padding: 8px 16px !important;
  margin-top: 16px !important;

  /* Typography */
  color: white !important;
  font-size: clamp(12px, 2vw, 14px) !important;
  font-weight: 600 !important;

  /* Effects */
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;

  /* Transition */
  transition: all 0.3s ease !important;
}

.footer__partner:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* ANIMAÇÕES */
@keyframes footerGlow {
  0% { transform: translateX(-50%); opacity: 0.6; }
  100% { transform: translateX(50%); opacity: 1; }
}

@keyframes footerBubbles {
  0%, 100% { opacity: 0.8; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-10px); }
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 767px) {
  .footer {
    padding: 40px 0 20px 0 !important;
  }

  .footer__container {
    gap: 30px !important;
    padding: 0 20px !important;
  }

  .footer__brand {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .footer__section {
    text-align: center !important;
  }

  .footer__section h3::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .footer__bottom {
    margin-top: 30px !important;
    padding-top: 20px !important;
  }

  .footer__partner {
    margin-top: 12px !important;
  }
}

/* DEVELOPER CREDIT - BEM NO FINAL */
.footer__developer {
  /* Posicionamento separado */
  margin-top: clamp(16px, 3vw, 24px) !important;
  padding-top: clamp(12px, 2vw, 16px) !important;

  /* Borda superior sutil */
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;

  /* Centralização */
  text-align: center !important;

  /* Z-index para ficar sobre tudo */
  position: relative !important;
  z-index: 4 !important;
}

.footer__developer p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: clamp(11px, 1.8vw, 13px) !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  letter-spacing: 0.3px !important;
}

.footer__developer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  border-bottom: 1px solid transparent !important;
}

.footer__developer a:hover {
  color: var(--brand, #27c3d8) !important;
  border-bottom-color: var(--brand, #27c3d8) !important;
  text-shadow: 0 0 6px rgba(39, 195, 216, 0.3) !important;
}

/* RESPONSIVIDADE MOBILE PARA DEVELOPER */
@media (max-width: 767px) {
  .footer__developer {
    margin-top: 16px !important;
    padding-top: 12px !important;
  }

  .footer__developer p {
    font-size: 11px !important;
  }
}

/* MODO ESCURO ADICIONAL */
@media (prefers-color-scheme: dark) {
  .footer {
    border-top-color: rgba(39, 195, 216, 0.4) !important;
  }

  .footer__logo {
    background: none !important;
    border: none !important;
  }

  .footer__partner {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
  }
}