/**
 * RESET CSS
 * =========
 * Neutralise les différences entre navigateurs.
 * Approche moderne et minimale.
 */

/* Google Fonts - Inter (modern, clean font) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Box-sizing global */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset marges et paddings */
* {
    margin: 0;
    padding: 0;
}

/* HTML et Body */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Images et médias */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Formulaires */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Boutons */
button {
    cursor: pointer;
    background: none;
    border: none;
}

/* Liens */
a {
    color: inherit;
    text-decoration: none;
}

/* Listes */
ul,
ol {
    list-style: none;
}

/* Tableaux */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

p {
    overflow-wrap: break-word;
}

/* Accessibilité focus visible */
:focus-visible {
    outline: 2px solid var(--color-focus, #4299e1);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}
