/* -------------
    TYPOGRAPHIE
    h1–h6
------------- */

h1 {
    color: var(--gray-700);
    font-family: var(--font-secondary);
    font-size: var(--fz-h1);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 36px;
}

h2 {
    color: var(--color-brand);
    font-size: var(--fz-h2);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
}

h3 {
    color: var(--color-brand);
    font-size: var(--fz-h3);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
}

h4 {
    color: var(--white);
    font-size: var(--fz-h4);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 24px;
}

h5 {
    color: var(--color-brand);
    font-size: var(--fz-h5);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
}

h6 {
    color: var(--color-brand);
    font-size: var(--fz-h6);
    font-weight: 800;
    line-height: 1;
}

p:not(:last-child) {
    margin-bottom: 10px;
}

*:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-link);
    text-decoration: none;    
    font-weight: 700;
    text-decoration: underline;

    &:hover {
        color: var(--color-brand);
    }
}

/* Titres visuels sans valeur sémantique (formats TinyMCE « Comme un Hn ») */
.like-h1,
.like-h2,
.like-h3 {
    display: block;
    font-weight: 700;
    line-height: 1.1;
}

.like-h1 {
    color: var(--gray-600);
    font-family: var(--font-secondary);
    font-size: var(--fz-h1);
}

.like-h2 {
    color: var(--color-brand);
    font-size: var(--fz-h2);
}

.like-h3 {
    color: var(--color-brand);
    font-size: var(--fz-h3);
}
