
/* ==========================================================================
   RESET NAVIGATEUR - Ecophot
   Normalise les comportements entre navigateurs
   ========================================================================== */

/* Reset universel */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* HTML et Body */
html {
    font-size: 16px; /* Base pour rem */
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--dark);
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Supprimer les styles de liste par défaut */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Images responsives par défaut */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Liens sans style par défaut */
a {
    text-decoration: none;
    color: inherit;
    background-color: transparent;
}

/* Boutons sans style par défaut */
button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

/* Formulaires normalisés */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Masquer les éléments cachés */
[hidden] {
    display: none;
}

/* Focus outline personnalisé */
:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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