/* Bouton Suivre / Abonné */

.follow-action {
  display: contents;
}

.follow-action__guest-hint {
  flex-basis: 100%;
  order: 10;
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.follow-action__guest-link {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.follow-action__guest-link:hover {
  color: var(--color-text);
}

.follow-btn {
  font-weight: 600;
  line-height: 1;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.artist-profile-hero__actions .follow-btn.artist-profile-hero__action {
  min-height: 44px;
}

.follow-btn--active {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-text);
}

.follow-btn--guest {
  pointer-events: none;
}

.follow-btn--loading {
  opacity: 0.72;
  cursor: wait;
}

.follow-btn--pulse {
  animation: follow-btn-pulse 0.42s ease;
}

@keyframes follow-btn-pulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.follow-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.follow-stats__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 4.5rem;
}

.follow-stats__item--link {
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  margin: -4px -8px;
  transition: background var(--transition), color var(--transition);
}

.follow-stats__item--link:hover {
  background: rgba(139, 0, 0, 0.12);
  color: var(--color-text);
}

.follow-stats__item--link:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.55);
  outline-offset: 2px;
}

.follow-stats__value {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.follow-stats__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: none;
}

.profile-hero-social {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

.profile-hero-social__stats {
  order: 1;
}

.profile-hero-social__actions {
  order: 2;
}

.profile-hero-social__extensions {
  order: 4;
}

@media (max-width: 768px) {
  .profile-hero-social__stats {
    order: 3;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .profile-hero-social__actions {
    order: 2;
    width: 100%;
  }

  .follow-action__guest-hint {
    order: 99;
  }

  .follow-btn,
  .artist-profile-hero__actions .follow-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
