/* Explain: General page styling, typography, and element base styles. */
* {
    box-sizing: border-box;
}

html {
    background-color: var(--background-color);
    font-size: 106.25%; /* Base généreuse pour un confort de lecture 50+ */
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-strong);
}

/* Interlignage aéré et lisible */
p {
    line-height: 1.85;
}

/* Citations / sous-titres d'introduction */
em,
.italic {
    font-style: italic;
}

/* Titres sur les bannières bleu marine */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}