/**
 * Garante que o footer do blog fique visualmente idêntico ao do site raiz.
 * Carregado por último para anular CSS legado (blog/css/css.css) e estilos inline de páginas.
 */

footer.footer-section.footer-modern,
footer.footer-modern {
  background: #0b0f14 !important;
  color: #e2e8f0 !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin-top: 0 !important;
  font-size: inherit !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

footer.footer-section.footer-modern::before,
footer.footer-modern::before {
  display: none !important;
  content: none !important;
}

footer.footer-modern a {
  text-decoration: none !important;
}

footer.footer-modern .footer-bg {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
}

footer.footer-modern .footer-grid {
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  mask-image: linear-gradient(180deg, black 30%, transparent 100%);
}

footer.footer-modern .footer-glow {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(100px) !important;
  opacity: 0.3 !important;
}

footer.footer-modern .footer-glow-1 {
  width: 400px !important;
  height: 400px !important;
  background: #475569 !important;
  top: -20% !important;
  right: -10% !important;
}

footer.footer-modern .footer-glow-2 {
  width: 300px !important;
  height: 300px !important;
  background: #64748b !important;
  bottom: -10% !important;
  left: -5% !important;
  opacity: 0.2 !important;
}

/* CTA */
footer.footer-modern .footer-cta-band {
  position: relative !important;
  z-index: 2 !important;
  padding: 0 0 3rem !important;
  margin-top: -1px !important;
  background: transparent !important;
}

footer.footer-modern .footer-cta-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  padding: 2.5rem 2.75rem !important;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25) !important;
}

footer.footer-modern .footer-cta-eyebrow {
  display: inline-block !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: #94a3b8 !important;
  margin-bottom: 0.5rem !important;
}

footer.footer-modern .footer-cta-text h3,
footer.footer-modern h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
  text-transform: none !important;
  font-family: inherit !important;
}

footer.footer-modern .footer-cta-text p {
  font-size: 0.9rem !important;
  color: #64748b !important;
  margin: 0 !important;
  max-width: 480px !important;
}

footer.footer-modern .footer-cta-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
}

footer.footer-modern .footer-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.85rem 1.5rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  border: 0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer.footer-modern .footer-cta-btn-primary {
  color: #0f172a !important;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1) !important;
}

footer.footer-modern .footer-cta-btn-primary:hover {
  color: #0f172a !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(148, 163, 184, 0.35) !important;
}

footer.footer-modern .footer-cta-btn-whatsapp {
  color: #fff !important;
  background: #22c55e !important;
}

footer.footer-modern .footer-cta-btn-whatsapp:hover {
  color: #fff !important;
  background: #16a34a !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35) !important;
}

/* Main */
footer.footer-modern .footer-main {
  position: relative !important;
  z-index: 2 !important;
  padding: 3rem 0 2.5rem !important;
  background: transparent !important;
}

footer.footer-modern .footer-links-secondary {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

footer.footer-modern .footer-brand-link {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  text-decoration: none !important;
  margin-bottom: 1.25rem !important;
}

footer.footer-modern .footer-brand-name {
  display: block !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  line-height: 1.2 !important;
}

footer.footer-modern .footer-brand-tagline {
  display: block !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  margin-top: 0.15rem !important;
}

footer.footer-modern .footer-brand-desc {
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  line-height: 1.7 !important;
  margin-bottom: 1.25rem !important;
}

footer.footer-modern .footer-trust-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

footer.footer-modern .footer-trust-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
}

footer.footer-modern .footer-trust-badge i {
  color: #94a3b8 !important;
}

footer.footer-modern .footer-social-modern {
  display: flex !important;
  gap: 0.65rem !important;
}

footer.footer-modern .footer-social-btn {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  text-decoration: none !important;
}

footer.footer-modern .footer-social-btn:hover {
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

footer.footer-modern .footer-social-btn:first-child:hover {
  color: #22c55e !important;
}

footer.footer-modern .footer-col-title,
footer.footer-modern h6.footer-col-title {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #64748b !important;
  margin-bottom: 1.25rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-align: left !important;
  font-family: inherit !important;
}

footer.footer-modern .footer-nav-modern {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer.footer-modern .footer-nav-modern li {
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
}

footer.footer-modern .footer-nav-modern a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  color: #94a3b8 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer.footer-modern .footer-nav-modern a:hover {
  color: #f8fafc !important;
}

footer.footer-modern .footer-nav-dot {
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: #475569 !important;
  flex-shrink: 0 !important;
}

footer.footer-modern .footer-contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  padding: 0.75rem 0 !important;
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

footer.footer-modern .footer-contact-item:last-child {
  border-bottom: 0 !important;
}

footer.footer-modern .footer-contact-icon {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
}

footer.footer-modern .footer-contact-whatsapp .footer-contact-icon {
  color: #22c55e !important;
  background: rgba(34, 197, 94, 0.12) !important;
}

footer.footer-modern .footer-contact-info small {
  display: block !important;
  font-size: 0.7rem !important;
  color: #64748b !important;
  margin-bottom: 0.15rem !important;
}

footer.footer-modern .footer-contact-info strong {
  display: block !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
}

footer.footer-modern .footer-contact-detail {
  display: block !important;
  font-size: 0.75rem !important;
  color: #64748b !important;
  margin-top: 0.15rem !important;
}

footer.footer-modern .footer-contact-arrow {
  margin-left: auto !important;
  color: #475569 !important;
}

/* Bottom */
footer.footer-modern .footer-bottom {
  position: relative !important;
  z-index: 2 !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 1.25rem 0 !important;
}

footer.footer-modern .footer-bottom-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

footer.footer-modern .footer-copyright-modern {
  font-size: 0.85rem !important;
  color: #64748b !important;
  margin: 0 !important;
}

footer.footer-modern .footer-copyright-modern strong {
  color: #94a3b8 !important;
  font-weight: 600 !important;
}

footer.footer-modern .footer-meta-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 999px !important;
}

footer.footer-modern .footer-back-top {
  position: fixed !important;
  bottom: 100px !important;
  right: 24px !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #f8fafc !important;
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  z-index: 998 !important;
}

@media (max-width: 991.98px) {
  footer.footer-modern .footer-cta-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1.75rem !important;
  }
}
