/* Réduction des animations pour les utilisateurs qui le demandent */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .loading-spinner {
    animation: none !important;
  }
}

/* Skip link partagé (pages hors start) */
.okdak-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--okdak-accent, var(--okdak-accent));
  color: #09090b;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}

html[data-okdak-theme="light"] .okdak-skip-link,
body.light-theme .okdak-skip-link {
  background: var(--okdak-accent-muted);
  color: #fff;
}

.okdak-skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
