/**
 * Design System — Base
 *
 * Reset minimal + styles globaux du body et des éléments HTML standard.
 * Ne contient AUCUN composant, AUCUN layout — uniquement le socle.
 */

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

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--color-text-strong);
    font-weight: 600;
    line-height: 1.25;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-primary);
}

button {
    font: inherit;
    cursor: pointer;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* Utilitaires de base (parcimonieux — éviter de virer vers Tailwind) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
