/* ===== Reset CSS Optimisé ===== */

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

/* HTML & Body */
html, body {
    width: 100%;
    min-height: 100%;
    font-size: 100%;
    font-weight: normal;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

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

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

/* Images & Media */
img, picture, video, canvas, svg, iframe {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Forms */
button, input, select, textarea {
    font: inherit;
    border: none;
    background: none;
    outline: none;
    appearance: none;
}

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    overflow-wrap: break-word;
}

/* Paragraphs & text */
p, li {
    overflow-wrap: break-word;
}

/* Horizontal rules */
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 1em 0;
}

/* Blockquote */
blockquote {
    quotes: none;
}

/* Optional: remove all animations/transitions for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

