/* ==========================================================================
    Typographie
    Police, titres, paragraphes, liens et texte en dégradé
   ========================================================================== */

/* ---------- Police ---------- */
/* Pridi hébergée sur le site : aucune requête vers Google Fonts */
@font-face {
    font-family: 'Pridi';
    src: url("../../fonts/pridi-400-H3DEzjn.woff2") format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pridi';
    src: url("../../fonts/pridi-500-hdosiYs.woff2") format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pridi';
    src: url("../../fonts/pridi-600-pTRhhHT.woff2") format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* ---------- Réinitialisation ---------- */
h1, h2, h3, p {
    margin: 0;
}


/* ---------- Titres ---------- */
h1 {
    font-size: var(--fs-h1);
    font-weight: 600;
    line-height: 1.15;
}

h2 {
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.2;
}

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


/* ---------- Paragraphes ---------- */
p {
    font-size: var(--fs-body);
    line-height: 1.55;
    color: var(--text-body);
}


/* ---------- Liens ---------- */
a {
    color: inherit;
    text-decoration: none;
}


/* ---------- Texte en dégradé ---------- */
/* Le dégradé est appliqué au fond, puis découpé à la forme des lettres */
.texte-degrade {
    background: linear-gradient(180deg, var(--bg-orb) 0%, var(--text-title) 50.96%, var(--bg-orb) 86.54%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ---------- Lien de retour ---------- */
.lien-retour {
    align-self: flex-start;
    font-size: var(--fs-small);
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.lien-retour:hover {
    color: var(--text-title);
}

.lien-retour:focus-visible {
    outline: 2px solid var(--text-title);
    outline-offset: 4px;
}
