/**
 * CSS Critique - Charge en priorite
 * Styles necessaires pour premier rendu et accessibilite
 */

/* Skip link pour accessibilite */
.skip-link:not(:focus):not(:focus-within) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Focus visible pour accessibilite clavier */
*:focus-visible {
    outline: 2px solid #4FD1C5;
    outline-offset: 2px;
}

/* Desactiver outline pour souris mais garder pour clavier */
*:focus:not(:focus-visible) {
    outline: none;
}
