/* R2 — refonte design (skill design-sites-julien).
 *
 * Redéfinit h1-h6 avec les tokens R1 (app/styles/tokens.css) et la police
 * de titres Bricolage Grotesque (--bricolage-grotesque, app/layout.tsx).
 * Remplace les tailles fixes en px du thème acheté (120/100/80/60/28/24,
 * public/css/style.css L126-182) par une échelle en rem/clamp().
 *
 * Chargé après /css/style.css (voir le commentaire dans app/layout.tsx au
 * point d'inclusion) pour l'emporter sur la cascade sans !important.
 *
 * --fs-h1/--fs-h2/--fs-h3 viennent de R1. --fs-h4/--fs-h5/--fs-h6 ne sont
 * pas fournis par R1, mais ont été validés par Julien (lisibles,
 * décroissants, clamp() léger) et promus en tokens dans
 * app/styles/tokens.css, au même titre que h1-h3.
 */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--bricolage-grotesque), var(--instrument-sans), system-ui, -apple-system, sans-serif;
}

h1,
.h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

h2,
.h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

h3,
.h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.2;
}

h4,
.h4 {
    font-size: var(--fs-h4);
    font-weight: 600;
    line-height: 1.25;
}

h5,
.h5 {
    font-size: var(--fs-h5);
    font-weight: 600;
    line-height: 1.3;
}

h6,
.h6 {
    font-size: var(--fs-h6);
    font-weight: 500;
    line-height: 1.35;
}
