/* FOOTER  */
.site-footer {
  background: linear-gradient(135deg, #1a2229 0%, #2f3a45 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(2.5rem, 4vw, 5rem) 1rem clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.site-footer .brand {
  padding-right: 1rem;
}

.site-footer .brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #4a6cf7 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(74, 108, 247, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-footer .brand-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(74, 108, 247, 0.3);
}

.site-footer h3 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.socials .social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.socials .social::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, #4a6cf7 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.socials .social i {
  position: relative;
  z-index: 1;
}

.socials .social:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: transparent;
}

.socials .social:hover::before {
  opacity: 1;
}

.socials .social:nth-child(1):hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.socials .social:nth-child(2):hover {
  background: linear-gradient(45deg, #1877f2, #0d5cb6);
}

.socials .social:nth-child(3):hover {
  background: linear-gradient(45deg, #ff0000, #cc0000);
}

/* Títulos das colunas */
.footer-col h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Links melhorados */
.footer-links,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
  transition: transform 0.2s ease;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  padding-left: 0;
}

.footer-links li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links li a:hover {
  color: #fff;
  padding-left: 12px;
}

.footer-links li a:hover::before {
  width: 8px;
}

/* Contato melhorado */
.contact-list li {
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.5;
  font-size: 0.95rem;
}

.contact-list i {
  color: var(--accent);
  width: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-list li:hover i {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Footer bottom melhorado */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.footer-bottom small {
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.footer-bottom-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.footer-bottom-links a:hover::after {
  width: 100%;
}

/* Responsividade melhorada */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .site-footer .brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 3.5rem;
    margin-top: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer .brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-bottom-links {
    width: 100%;
    justify-content: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .socials {
    justify-content: center;
  }

  .footer-col h4 {
    font-size: 1rem;
  }
}
