/* =========================
   RÉSEAUX SOCIAUX FOOTER
   ========================= */

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}

.social-button {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #a23cff;

  border: 2px solid #a23cff;

  background: rgba(162, 60, 255, 0.08);

  box-shadow:
    0 0 8px rgba(162, 60, 255, 0.5),
    0 0 18px rgba(162, 60, 255, 0.25);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.social-button svg {
  width: 24px;
  height: 24px;
}

.social-button:hover {
  transform: translateY(-3px) scale(1.07);

  color: #ffffff;

  background: #a23cff;

  box-shadow:
    0 0 12px rgba(162, 60, 255, 0.8),
    0 0 28px rgba(162, 60, 255, 0.55);
}

.social-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* Effet uniquement sur ordinateur avec souris */
@media (hover: hover) and (pointer: fine) {
  .social-button:hover {
    transform: translateY(-3px) scale(1.07);
    color: #ffffff;
    background: #a23cff;

    box-shadow:
      0 0 12px rgba(162, 60, 255, 0.8),
      0 0 28px rgba(162, 60, 255, 0.55);
  }
}

/* Sur téléphone : aucun fond au toucher */
@media (hover: none) and (pointer: coarse) {
  .social-button,
  .social-button:hover,
  .social-button:active,
  .social-button:focus {
    background: transparent;
    color: #a23cff;
    transform: none;
  }

  .social-button {
    -webkit-tap-highlight-color: transparent;
  }
}