/* ============================================
   RESET CSS
   Normalisation des styles par défaut
   ============================================ */

/* Reset de base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Éléments HTML5 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Liens */
a {
    text-decoration: none;
    color: inherit;
}

a:focus {
    outline: 2px solid var(--primary, #D4C5B9);
    outline-offset: 2px;
}

/* Listes */
ul,
ol {
    list-style: none;
}

/* Boutons */
button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: inherit;
}

button:focus {
    outline: 2px solid var(--primary, #D4C5B9);
    outline-offset: 2px;
}

/* Inputs */
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary, #D4C5B9);
    outline-offset: 2px;
}

/* Tableaux */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Éléments cachés pour l'accessibilité mais visibles pour les lecteurs d'écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip link pour l'accessibilité */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--dark, #1A1A2E);
    color: var(--white, #FFFFFF);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}



