/* =========================================
   TYPOGRAPHIE
   By Sanjo — @font-face des polices de la maquette (écart avec le socle). Fichiers .woff2 locaux, licences OFL
   à côté des fichiers dans assets/fonts/ : jamais de Google Fonts en ligne (socle D-014).
   ========================================= */

@font-face {
    font-family: "Playfair Display";
    src: url("../../fonts/playfair-display-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../../fonts/playfair-display-latin-400-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Jost variable : 400 (texte) et 500 (boutons, surtitres) */
@font-face {
    font-family: "Jost";
    src: url("../../fonts/jost-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Great Vibes";
    src: url("../../fonts/great-vibes-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-base);
    font-weight: var(--weight-regular);
    color: var(--color-text);
    background-color: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--weight-heading);
    line-height: var(--leading-tight);
    color: var(--color-text);
    text-wrap: balance;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4, h5, h6 { font-size: var(--text-lg); }

p {
    max-width: var(--text-max);
}

a {
    color: var(--color-link);
    transition: color var(--transition-fast);
}

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

:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

small {
    font-size: var(--text-sm);
}

strong { font-weight: var(--weight-bold); }

/* Petits textes réutilisables */
.eyebrow {
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--color-accent);
}

.lead {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
}

.price {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: var(--color-text);
}

/* Texte réservé aux lecteurs d'écran */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
