/* Transição elegante entre seções */
.section-divider {
  position: relative;
  height: 120px;
  margin-top: -60px;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.divider-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  /* Gradiente mais suave de transparente para o fundo escuro */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(8, 8, 16, 0.7) 60%,
    rgba(8, 8, 16, 1) 100%
  );
  /* Efeito avançado com vários layers de curvas */
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C150,90 350,0 500,100 C650,190 750,100 900,50 C1050,0 1150,60 1200,100 L1200,120 L0,120 Z' style='fill: black;'%3E%3C/path%3E%3C/svg%3E");
  mask-size: 100% 100%, 100% 50px;
  mask-position: bottom, bottom;
  mask-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C150,90 350,0 500,100 C650,190 750,100 900,50 C1050,0 1150,60 1200,100 L1200,120 L0,120 Z' style='fill: black;'%3E%3C/path%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%, 100% 50px;
  -webkit-mask-position: bottom, bottom;
  -webkit-mask-repeat: no-repeat;
}

/* Footer com partículas decorativas */
.footer-minimal {
  position: relative;
  background-color: #080810;
  padding: 80px 0 40px;
  overflow: hidden;
  margin-top: -60px;
  z-index: 5;
}

/* Partículas decorativas roxas */
.particles-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Resto do CSS mantido conforme a versão anterior */
:root {
  --whatsapp: #25d366;
  --instagram-1: #833ab4;
  --instagram-2: #e1306c;
  --linkedin: #0a66c2;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

/* Elemento visual central */
.footer-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  height: 200px;
  margin-top: 140px;
}

.visual-element {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Estilos para o logo */
.logo-footer-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--primary); /* Cor padrão é roxa */
  box-shadow: 0 0 30px rgba(84, 82, 254, 0.5);
  transition: var(--transition-smooth);
}

/* Logos - Sistema de alternância */
.logo-footer {
  width: 70%;
  height: 70%;
  object-fit: contain;
  transition: opacity var(--transition-smooth);
}

.purple-logo {
  opacity: 1; /* Visível por padrão */
  position: absolute;
}

.white-logo {
  opacity: 0; /* Oculto por padrão */
  position: absolute;
}

/* Efeito de hover - Troca de logo */
.logo-footer-container:hover {
  background-color: white; /* Muda para branco no hover */
}

.logo-footer-container:hover .purple-logo {
  opacity: 0; /* Esconde o logo roxo */
}

.logo-footer-container:hover .white-logo {
  opacity: 1; /* Mostra o logo branco */
}

.orbit-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(84, 82, 254, 0.3);
  box-shadow: 0 0 20px rgba(84, 82, 254, 0.1) inset;
  transition: transform 0.5s ease;
}

.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(84, 82, 254, 0.8);
}

.orbit-1 {
  width: 140px;
  height: 140px;
  animation: rotate 15s linear infinite;
}

.orbit-2 {
  width: 220px;
  height: 220px;
  animation: rotate 25s linear infinite reverse;
}

.orbit-3 {
  width: 300px;
  height: 300px;
  animation: rotate 35s linear infinite;
}

/* Redes sociais */
.social-minimal {
  display: flex;
  gap: 30px;
}

.social-icon {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.social-hover-effect {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-smooth),
    transform var(--transition-smooth);
  z-index: 0;
}

.social-icon i {
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

/* WhatsApp */
.whatsapp-effect {
  background: radial-gradient(circle, var(--whatsapp) 0%, transparent 70%);
}

.social-icon.whatsapp:hover {
  border-color: var(--whatsapp);
  transform: translateY(-5px) scale(1.1);
}

.social-icon.whatsapp:hover .social-hover-effect {
  opacity: 0.5;
  transform: scale(1.2);
}

.social-icon.whatsapp:hover i {
  color: var(--whatsapp);
  transform: scale(1.2);
}

/* Instagram */
.instagram-effect {
  background: radial-gradient(
    circle at 30% 107%,
    var(--instagram-1) 0%,
    var(--instagram-2) 50%,
    #fcaf45 100%
  );
}

.social-icon.instagram:hover {
  border-color: var(--instagram-2);
  transform: translateY(-5px) rotate(10deg);
}

.social-icon.instagram:hover .social-hover-effect {
  opacity: 0.5;
  transform: rotate(-10deg) scale(1.2);
}

.social-icon.instagram:hover i {
  color: var(--instagram-2);
  transform: scale(1.2);
}

/* LinkedIn */
.linkedin-effect {
  background: radial-gradient(circle, var(--linkedin) 0%, transparent 70%);
}

.social-icon.linkedin:hover {
  border-color: var(--linkedin);
  transform: translateY(-5px) scale(1.1);
}

.social-icon.linkedin:hover .social-hover-effect {
  opacity: 0.5;
  transform: scale(1.2);
}

.social-icon.linkedin:hover i {
  color: var(--linkedin);
  transform: scale(1.2);
}

/* Copyright */
.copyright-minimal {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-align: center;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.copyright-minimal:hover {
  color: rgba(255, 255, 255, 0.9);
}


@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Background elements */
.footer-minimal::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(84, 82, 254, 0.1) 0%,
    transparent 70%
  );
  filter: blur(80px);
  opacity: 0.5;
  z-index: 0;
}

/* Efeito de brilho ao fundo */
.footer-minimal::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(84, 82, 254, 0.3) 25%,
    rgba(84, 82, 254, 0.5) 50%,
    rgba(84, 82, 254, 0.3) 75%,
    transparent 100%
  );
}

/* Partículas flutuantes */
.particle {
  position: absolute;
  background-color: rgba(84, 82, 254, 0.5);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.3;
  z-index: 2;
}

/* Adicionando partículas tridimensionais avançadas */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-15px) translateX(10px);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-25px) translateX(0);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-15px) translateX(-10px);
    opacity: 0.5;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .section-divider {
    height: 80px;
    margin-top: -40px;
  }

  .footer-minimal {
    padding: 60px 0 30px;
    margin-top: -40px;
  }

  .footer-visual {
    height: 150px;
  }

  .orbit-1 {
    width: 120px;
    height: 120px;
  }

  .orbit-2 {
    width: 180px;
    height: 180px;
  }

  .orbit-3 {
    width: 240px;
    height: 240px;
  }

  .social-minimal {
    gap: 20px;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .section-divider {
    height: 60px;
    margin-top: -30px;
  }

  .footer-minimal {
    padding: 40px 0 30px;
    margin-top: -30px;
  }

  .footer-visual {
    height: 120px;
  }

  .logo-footer-container {
    width: 60px;
    height: 60px;
  }

  .orbit-1 {
    width: 90px;
    height: 90px;
  }

  .orbit-2 {
    width: 140px;
    height: 140px;
  }

  .orbit-3 {
    width: 190px;
    height: 190px;
  }

  .social-minimal {
    gap: 15px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
