/* Styles d'accessibilité scoppés pour les modules additionnels */
.a11y-helpers .skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #0d3b66;
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
  z-index: 9999;
}

.a11y-helpers .skip-link:focus,
.a11y-helpers .skip-link:active {
  transform: translateY(0);
  outline: 3px solid #f4d35e;
  outline-offset: 4px;
}

.a11y-helpers :where(a, button, input, textarea, select, summary) {
  position: relative;
}

.a11y-helpers :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #f95738;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(249, 87, 56, 0.25);
  transition: outline 0.2s ease;
}

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

.a11y-helpers .sr-only-focusable:focus,
.a11y-helpers .sr-only-focusable:active {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}
