/* ==========================================================================
   RESET CSS - Normalisation du comportement des navigateurs
   ========================================================================== */

/* Box-sizing pour tous les éléments */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Suppression des marges et paddings par défaut */
* {
    margin: 0;
    padding: 0;
}

/* Configuration du HTML */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Configuration du body */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Suppression du style par défaut des listes */
ul, ol {
    list-style: none;
}

/* Styles des liens */
a {
    text-decoration: none;
    color: inherit;
}

/* Images responsive par défaut */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

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

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Paragraphes */
p {
    margin-bottom: 1rem;
}

/* Suppression du outline par défaut (accessibilité à gérer autrement) */
:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Désactivation de l'outline pour les clics souris */
:focus:not(:focus-visible) {
    outline: none;
}