.footer {
  background: linear-gradient(
    135deg,
    rgba(23, 30, 41, 0.96) 0%,
    rgba(45, 24, 16, 0.94) 50%,
    rgba(35, 40, 48, 0.96) 100%
  );
  border-top: 2px solid #FFD700;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #FFD700 20%,
    #8B4513 50%,
    #FFD700 80%,
    transparent 100%
  );
  opacity: 0.6;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  width: 50px;
  height: 50px;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.4));
  flex-direction: row;
}
.footer-logo:hover {
  transform: scale(1.05) rotate(3deg);
  filter: drop-shadow(4px 4px 8px rgba(171, 134, 75, 0.5));
}
.footer-brand-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: #e2d3b2;
  letter-spacing: 1px;
}
.footer-brand-text p {
  font-size: 0.85rem;
  color: #e2d3b2;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
}
.footer-copyright {
  color: #e2d3b2;
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
  line-height: 1.4;
}
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.5rem;
}
.footer-squirrel {
  font-size: 2.5rem;
  opacity: 0.7;
  animation: gentleFloat 4s ease-in-out infinite;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}
@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(-1deg);
  }
  50% {
    transform: translateY(-6px) rotate(1deg);
  }
}
.footer-tagline {
  font-size: 0.9rem;
  color: #be995b;
  text-align: center;
  font-weight: 600;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}
.footer-links-row {
  display: flex;
  gap: 1rem;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a48c5f;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  background: rgba(45, 24, 16, 0.4);
  border: 1px solid rgba(171, 134, 75, 0.2);
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
}
.footer-link:hover {
  color: #ffd36b;
  background: rgba(35, 24, 16, 0.7);
  border-color: #ffd36b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(171, 134, 75, 0.3);
}
.footer-link-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}
.footer-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

/* ================================== 
   COULEURS PERSONNALISÉES PAR BOUTON
   ================================== */

/* GitHub - Violet */
.footer-link-github:hover {
  color: #8B5CF6;
  border-color: #8B5CF6;
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.footer-link-github:hover .footer-link-icon {
  filter: drop-shadow(2px 2px 4px rgba(139, 92, 246, 0.5));
}

/* Facebook - Bleu */
.footer-link-facebook:hover {
  color: #1877F2;
  border-color: #1877F2;
  background: rgba(24, 119, 242, 0.1);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
  transform: translateY(-2px);
}

.footer-link-facebook:hover .footer-link-icon {
  filter: drop-shadow(2px 2px 4px rgba(24, 119, 242, 0.5));
}

/* CGV - Rose */
.footer-link-cgv:hover {
  color: #EC4899;
  border-color: #EC4899;
  background: rgba(236, 72, 153, 0.1);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
  transform: translateY(-2px);
}

.footer-link-cgv:hover .footer-link-icon {
  filter: drop-shadow(2px 2px 4px rgba(236, 72, 153, 0.5));
}

/* CGU - Orange */
.footer-link-cgu:hover {
  color: #F97316;
  border-color: #F97316;
  background: rgba(249, 115, 22, 0.1);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
  transform: translateY(-2px);
}

.footer-link-cgu:hover .footer-link-icon {
  filter: drop-shadow(2px 2px 4px rgba(249, 115, 22, 0.5));
}

/* Partenaire - Vert clair */
.footer-link-partenaire:hover {
  color: #10B981;
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.footer-link-partenaire:hover .footer-link-icon {
  filter: drop-shadow(2px 2px 4px rgba(16, 185, 129, 0.5));
}

/* À propos - Jaune */
.footer-link-apropos:hover,
.footer-link-about:hover {
  color: #FCD34D;
  border-color: #FCD34D;
  background: rgba(252, 211, 77, 0.1);
  box-shadow: 0 4px 12px rgba(252, 211, 77, 0.4);
  transform: translateY(-2px);
}

.footer-link-apropos:hover .footer-link-icon,
.footer-link-about:hover .footer-link-icon {
  filter: drop-shadow(2px 2px 4px rgba(252, 211, 77, 0.5));
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .footer-left,
  .footer-right {
    align-items: center;
  }
  .footer-center {
    order: -1;
    padding: 0;
  }
  .footer-links-row {
    justify-content: center;
  }
  .footer-social {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
  }
  .footer-content {
    padding: 0 1.5rem;
    gap: 2rem;
  }
  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .footer-brand-text h3 {
    font-size: 1.2rem;
  }
  .footer-squirrel {
    font-size: 2rem;
  }
  .footer-links-row {
    gap: 0.8rem;
  }
  .footer-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .footer-content {
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .footer-links-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-link {
    justify-content: center;
  }
  .footer-social {
    flex-direction: row;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}