/* ============================================================
   REFONTE 2026 - Base
   Reset, typographie et utilitaires globaux
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--r26-font);
    font-size: var(--r26-fs-base);
    line-height: var(--r26-lh);
    color: var(--r26-text);
    background: var(--r26-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--r26-text-link); text-decoration: none; transition: var(--r26-transition-fast); }
a:hover { color: var(--r26-text-link-hover); }

/* --- Typographie --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--r26-font-display);
    font-weight: var(--r26-fw-bold);
    line-height: var(--r26-lh-heading);
    color: var(--r26-text);
    margin: 0 0 var(--r26-space-md);
}
h1 { font-size: var(--r26-fs-3xl); }
h2 { font-size: var(--r26-fs-2xl); }
h3 { font-size: var(--r26-fs-xl); }
h4 { font-size: var(--r26-fs-lg); }
p { margin: 0 0 var(--r26-space-md); }

/* --- Container --- */
.r26-container {
    max-width: var(--r26-max-width);
    margin: 0 auto;
    padding: 0 var(--r26-space-lg);
}

/* --- Section --- */
.r26-section {
    padding: var(--r26-space-2xl) 0;
}
.r26-section-title {
    font-size: var(--r26-fs-2xl);
    font-weight: var(--r26-fw-bold);
    color: var(--r26-primary);
    margin-bottom: var(--r26-space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.r26-section-title a {
    font-size: var(--r26-fs-sm);
    font-weight: var(--r26-fw-medium);
    color: var(--r26-secondary);
}
.r26-section-title a:hover { text-decoration: underline; }

/* --- Utilitaires --- */
.r26-text-center { text-align: center; }
.r26-text-muted { color: var(--r26-text-muted); }
.r26-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.r26-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r26-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
