@font-face {
    font-family: 'BebasNeue';
    src: url(/font/BebasNeue-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CormorantGaramond';
    src: url(/font/CormorantGaramond-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CormorantGaramond';
    src: url(/font/CormorantGaramond-Bold.woff2) format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CormorantGaramond';
    src: url(/font/CormorantGaramond-BoldItalic.woff2) format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'CormorantGaramond';
    src: url(/font/CormorantGaramond-Italic.woff2) format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'CormorantSC';
    src: url(/font/CormorantSC-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CormorantSC';
    src: url(/font/CormorantSC-Bold.woff2) format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url(/font/PlayfairDisplay-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url(/font/PlayfairDisplay-Bold.woff2) format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url(/font/PlayfairDisplay-Italic.woff2) format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url(/font/PlayfairDisplay-BoldItalic.woff2) format('woff2');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url(/font/PlayfairDisplaySC-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-variant: small-caps;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url(/font/PlayfairDisplaySC-Bold.woff2) format('woff2');
    font-weight: bold;
    font-style: normal;
    font-variant: small-caps;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url(/font/PlayfairDisplaySC-BoldItalic.woff2) format('woff2');
    font-weight: bold;
    font-style: italic;
    font-variant: small-caps;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url(/font/PlayfairDisplaySC-Italic.woff2) format('woff2');
    font-weight: normal;
    font-style: italic;
    font-variant: small-caps;
}

@font-face {
    font-family: 'Montserrat';
    src: url(/font/Montserrat-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(/font/Montserrat-Bold.woff2) format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url(/font/Montserrat-Italic.woff2) format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url(/font/Montserrat-BoldItalic.woff2) format('woff2');
    font-weight: bold;
    font-style: italic;
}

body {
    color: white;
    font-family: 'Montserrat';
    font-weight: normal;
    font-variant-caps: normal;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.visuallyHidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Couche image de fond – dimensionnée sur le viewport + plage parallax */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Plus haute que le viewport pour couvrir toute la plage de déplacement parallax */
    height: calc(100vh + var(--parallax-travel, 0px));
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transform: translateY(var(--parallax-offset, 0px));
    z-index: -2;
}

/* Couche overlay (assombrissement) */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, .4) 25%, rgba(0, 0, 0, .4) 75%, rgba(0, 0, 0, 0.0) 100%);
    /* padding: 20px 0 40px 0; */
    margin: 0 auto 0 auto;
    padding: 0 50px 75px 50px;
    max-width: 800px;
    height: 100%;
}

.container .large {
    max-width: 850px;
}

section {
    display: block;
    padding-bottom: 20px;
    padding-top: 20px;
}

.border {
    border-top: 0.1em solid white;
}

h1 {
    font-family: 'CormorantSC';
    font-weight: normal;
    font-size: 4rem;
    line-height: 4rem;
    margin-bottom: 40px;
    padding: 0 75px;
}

h2 {
    font-family: 'PlayfairDisplay';
    font-weight: normal;
    font-variant: small-caps;
    font-size: 2.5rem;
    line-height: 2rem;
    padding: 0 75px;
    margin: 10px 0;
}

h3 {
    font-family: 'PlayfairDisplay';
    font-weight: normal;
    font-variant: small-caps;
    font-size: 2rem;
    line-height: 2rem;
    padding: 0 75px;
    margin: 20px 0;
}

h4 {
    font-family: 'Montserrat';
    font-weight: normal;
    font-size: 1.5rem;
    line-height: 1.5rem;
    text-align: left;
    padding: 0 75px;
    margin: .75em 0;
}

h5 {
    font-family: 'Montserrat';
    font-weight: normal;
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
    margin: 0 0 10px 0;
    padding: 0 75px;
}

h6 {

    font-family: 'Montserrat';
    font-weight: normal;
    font-style: italic;
    font-size: 1.5rem;
    text-indent: 1.5rem;
    text-align: justify;
    margin: .75em 2em;
    padding: 0 75px;
}

p {
    text-align: justify;
    text-indent: 1.5rem;
    font-size: 1rem;
    margin: .75em 0;
    padding: 0 75px;
}

p:first-of-type {
    margin-top: 0;

}

a {
    color: white;
    text-decoration: none;
}

/*Tablette*/
@media (max-width: 991px) {
    h1 {
        font-size: 3.5rem;
        line-height: 3.5rem;
        margin-bottom: 20px;
    }

    h5 {
        margin-bottom: 0;
    }

    p {
        padding: 0 50px;
    }
}

/*Tel paysage*/
@media (max-width: 767px) {
    h1 {
        font-size: 2.5rem;
        line-height: 2.5rem;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 1.8rem;
    }

    h3 {
        font-size: 1.8rem;
        line-height: 1.8rem;
    }

    h5 {
        font-size: 1.2rem;
        line-height: 1.2rem;
        margin-bottom: 0;
    }

    h6 {
        font-size: 1.2rem;
        line-height: 1.2rem;
        text-indent: 1em;
        margin: .75em 1.25em;
    }

    p {
        padding: 0 25px;
    }

    ;

    .container {
        padding: 0 5vw;
    }

}

/*Tel portrait*/
@media (max-width: 479px) {

    p {
        padding: 0;

    }
}