/* Icônes réseaux sociaux — GitHub / LinkedIn
   Autonome : fonctionne sur le site (thème sombre) et sur les pages légales (clair/sombre). */

.social-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: inherit;
  border: 1px solid currentColor;
  opacity: .65;
  transition: opacity .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  display: block;
}

.social-links a:hover,
.social-links a:focus-visible {
  opacity: 1;
  color: #c010c8;
  border-color: #c010c8;
  transform: translateY(-2px);
}

.social-links a:focus-visible {
  outline: 2px solid #c010c8;
  outline-offset: 3px;
}

/* Léger ajustement sur fond clair pour garder un contraste suffisant */
html[data-theme="light"] .social-links a { opacity: .75; }