/* ============================================================
   PANNEAU SOCIAL FLOTTANT — couleur teal comme sélecteur de langue
   ============================================================ */
.social-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  animation: socialFadeIn 0.5s ease 0.8s forwards;
  pointer-events: all;
}

@keyframes socialFadeIn {
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

.social-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgb(2, 104, 111);
  color: rgba(255, 255, 255, 0.85);
  border-left: none;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  pointer-events: all;
}
.social-float-btn:first-child {
  border-radius: 6px 0 0 0;
}
.social-float-btn:last-child {
  border-radius: 0 0 0 6px;
  border-bottom: none;
}
.social-float-btn:hover {
  background: rgb(3, 130, 138);
  color: #fff;
  transform: translateX(-5px);
  z-index: 1;
}

/* Tooltip */
.social-float-btn::before {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgb(2, 104, 111);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.social-float-btn:hover::before { opacity: 1; }

@media (max-width: 768px) {
  .social-float { display: none; }
}