/* SavilTech — Footer premium: amarelo #FFD60A, animações modernas */

.footer--premium {
  --gold: #ffd60a;
  --gold-light: #ffeb3b;
  --gold-dark: #e6b800;
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border-top: 1px solid rgba(255, 214, 10, 0.2);
}

.footer--premium .footer-glow {
  width: min(900px, 100vw);
  height: 420px;
  top: -180px;
  background: radial-gradient(ellipse, rgba(255, 214, 10, 0.14) 0%, transparent 68%);
  animation: footerGlowPulse 8s ease-in-out infinite;
}

@keyframes footerGlowPulse {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.footer__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 214, 10, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 10, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.footer__top-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 214, 10, 0.2) 20%,
    #ffd60a 50%,
    rgba(255, 214, 10, 0.2) 80%,
    transparent 100%
  );
  box-shadow: 0 0 24px rgba(255, 214, 10, 0.5);
  animation: footerBeamShimmer 4s ease-in-out infinite;
}

@keyframes footerBeamShimmer {
  0%, 100% { opacity: 0.6; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.3); }
}

.footer--premium .footer-grid {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 80px) 0 clamp(40px, 5vw, 56px);
}

/* Marca */
.footer--premium .footer-logo-link {
  position: relative;
  display: inline-block;
}

.footer-logo-halo {
  position: absolute;
  inset: -16px -20px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.footer--premium .footer-logo-link:hover .footer-logo-halo {
  opacity: 1;
  animation: footerHaloPulse 2s ease-in-out infinite;
}

@keyframes footerHaloPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.footer--premium .footer-logo-link:hover .footer-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 24px rgba(255, 214, 10, 0.45)) !important;
}

.footer--premium .footer-desc strong {
  color: #ffd60a;
  font-weight: 700;
}

/* Títulos das colunas */
.footer--premium .footer-title {
  position: relative;
  display: inline-block;
  color: #ffffff;
  transition: color 0.3s ease, transform 0.35s ease;
}

.footer--premium .footer-col:hover .footer-title {
  color: #ffd60a;
  transform: translateX(4px);
}

.footer--premium .footer-divider {
  background: linear-gradient(90deg, #ffd60a, #ffeb3b, transparent) !important;
  box-shadow: 0 0 12px rgba(255, 214, 10, 0.35);
}

.footer--premium .footer-col:hover .footer-divider {
  width: 72px !important;
}

/* Contacto */
.footer--premium .footer-contact-icon {
  background: rgba(255, 214, 10, 0.1) !important;
  border: 1px solid rgba(255, 214, 10, 0.22);
  color: #ffd60a !important;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.footer--premium .footer-contact-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 6px 8px;
  margin: -6px -8px;
}

.footer--premium .footer-contact-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 214, 10, 0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  border-radius: inherit;
}

.footer--premium .footer-contact-item:hover::before {
  transform: translateX(0);
}

.footer--premium .footer-contact-item:hover {
  color: #ffd60a !important;
}

.footer--premium .footer-contact-item:hover .footer-contact-icon {
  background: linear-gradient(135deg, #ffd60a, #e6b800) !important;
  color: #0a0a0a !important;
  border-color: #ffd60a;
  box-shadow: 0 0 24px rgba(255, 214, 10, 0.4) !important;
}

/* Links rápidos */
.footer--premium .footer-links a {
  position: relative;
  padding: 4px 0;
  border-radius: 6px;
  transition: color 0.3s ease, padding-left 0.35s ease, background 0.3s ease;
}

.footer--premium .footer-links a i {
  color: #ffd60a !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer--premium .footer-links a:hover {
  color: #ffd60a !important;
  padding-left: 10px !important;
  background: rgba(255, 214, 10, 0.06);
}

.footer--premium .footer-links a:hover i {
  transform: translateX(6px) scale(1.2);
}

/* Redes sociais — amarelo (sem verde WhatsApp) */
.footer--premium .footer-socials .social-btn {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 10, 0.25);
  background: rgba(0, 0, 0, 0.5);
  color: #ffd60a;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.footer--premium .footer-socials .social-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.footer--premium .footer-socials .social-btn:hover {
  transform: translateY(-6px) scale(1.12) rotate(-6deg);
  border-color: #ffd60a;
  background: rgba(255, 214, 10, 0.15);
  color: #ffeb3b;
  box-shadow: 0 8px 28px rgba(255, 214, 10, 0.3);
}

.footer--premium .footer-socials .social-btn:hover::after {
  opacity: 1;
}

.footer--premium .footer-socials .social-btn--whatsapp:hover {
  background: rgba(255, 214, 10, 0.15) !important;
  color: #ffd60a !important;
  box-shadow: 0 8px 28px rgba(255, 214, 10, 0.3) !important;
}

/* Newsletter */
.footer--premium .footer-newsletter {
  position: relative;
  border-top: 1px solid rgba(255, 214, 10, 0.12);
  border-bottom: 1px solid rgba(255, 214, 10, 0.12);
  background: rgba(255, 214, 10, 0.03);
  overflow: hidden;
}

.footer-newsletter__glow {
  position: absolute;
  inset: -50% -20%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 214, 10, 0.1), transparent 55%);
  pointer-events: none;
  animation: footerNewsletterGlow 6s ease-in-out infinite alternate;
}

@keyframes footerNewsletterGlow {
  from { transform: translateX(-5%); opacity: 0.6; }
  to { transform: translateX(5%); opacity: 1; }
}

.footer--premium .newsletter-content {
  position: relative;
  z-index: 1;
}

.footer--premium .newsletter-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 214, 10, 0.1);
  border: 1px solid rgba(255, 214, 10, 0.3);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.footer--premium .footer-newsletter:hover .newsletter-icon-wrap {
  transform: scale(1.08) rotate(-8deg);
  box-shadow: 0 0 32px rgba(255, 214, 10, 0.25);
}

.footer--premium .newsletter-icon {
  color: #ffd60a !important;
  animation: footerPlaneFloat 3.5s ease-in-out infinite;
}

@keyframes footerPlaneFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-8deg); }
}

.footer--premium .footer-newsletter:hover .newsletter-icon {
  animation: none;
}

.footer--premium .newsletter-text h3 {
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer--premium .footer-newsletter:hover .newsletter-text h3 {
  color: #ffd60a;
}

.footer--premium .newsletter-input-wrap {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 214, 10, 0.2);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.footer--premium .newsletter-input-wrap:focus-within {
  border-color: #ffd60a !important;
  box-shadow: 0 0 28px rgba(255, 214, 10, 0.2) !important;
  transform: translateY(-2px);
}

.footer--premium .newsletter-input-wrap i {
  color: #ffd60a !important;
}

.footer--premium .newsletter-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd60a, #e6b800) !important;
  color: #0a0a0a !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
}

.newsletter-btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.footer--premium .newsletter-btn:hover .newsletter-btn__shine {
  transform: translateX(130%);
}

.footer--premium .newsletter-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 36px rgba(255, 214, 10, 0.45) !important;
  background: linear-gradient(135deg, #ffeb3b, #ffd60a) !important;
}

.footer--premium .newsletter-btn:hover i {
  transform: translateX(6px);
}

/* Rodapé inferior */
.footer--premium .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer--premium .footer-copyright {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
}

.footer--premium .footer-bottom-inner:hover .footer-copyright {
  color: rgba(255, 214, 10, 0.7);
}

.footer--premium .footer-legal a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer--premium .footer-legal a::after {
  background: #ffd60a !important;
  height: 2px;
  box-shadow: 0 0 8px rgba(255, 214, 10, 0.6);
}

.footer--premium .footer-legal a:hover {
  color: #ffd60a !important;
  transform: translateY(-2px);
}

.footer--premium .footer-legal-sep {
  color: rgba(255, 214, 10, 0.25);
}

/* Botão voltar ao topo */
.footer--premium ~ .back-to-top,
body:has(.footer--premium) .back-to-top {
  border-color: rgba(255, 214, 10, 0.4) !important;
  color: #ffd60a !important;
}

body:has(.footer--premium) .back-to-top-track {
  stroke: rgba(255, 214, 10, 0.15) !important;
}

body:has(.footer--premium) .back-to-top-bar {
  stroke: #ffd60a !important;
}

body:has(.footer--premium) .back-to-top:hover {
  background: linear-gradient(135deg, #ffd60a, #e6b800) !important;
  color: #0a0a0a !important;
  border-color: #ffd60a !important;
  box-shadow: 0 8px 32px rgba(255, 214, 10, 0.45) !important;
}

@media (max-width: 992px) {
  .footer--premium .footer-grid {
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer--premium .footer-glow,
  .footer__top-beam,
  .footer-newsletter__glow,
  .footer--premium .newsletter-icon,
  .footer-logo-halo {
    animation: none;
  }
}
