/* ==========================================================
   NOIR MATIÈRE
   MISE EN PAGE DES PAGES INJECTÉES
   ========================================================== */


/* ==========================================================
   CONTENEUR GÉNÉRAL
   ========================================================== */

#page-container {

    width: 100%;

    box-sizing: border-box;

    /*
     * IMPORTANT :
     * aucune hauteur n'est réservée lorsque
     * le conteneur est vide.
     */

    min-height: 0;

    height: auto;

}


/* ==========================================================
   CONTENEUR VIDE
   ========================================================== */

#page-container:empty {

    display: none;

}


/* ==========================================================
   CONTENEUR AVEC UNE PAGE
   ========================================================== */

#page-container:not(:empty) {

    display: block;

}


/* ==========================================================
   PAGE
   ========================================================== */

#page-container > .page {

    position: relative;

    width: 100%;

    min-height: 100vh;

    box-sizing: border-box;

    padding:
        110px
        6vw
        120px;

}


/* ==========================================================
   CADRE PRINCIPAL
   ========================================================== */

#page-container > .page > .page-content {

    position: relative;

    width: min(
        1180px,
        100%
    );

    min-height: 70vh;

    margin: 0 auto;

    padding:
        70px
        70px
        80px;

    box-sizing: border-box;

    background:
        rgba(
            0,
            0,
            0,
            .72
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .18
        );

    box-shadow:
        0 30px 100px
        rgba(
            0,
            0,
            0,
            .65
        );

}


/* ==========================================================
   LIGNE DÉCORATIVE SUPÉRIEURE
   ========================================================== */

#page-container > .page > .page-content::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(
                255,
                255,
                255,
                .55
            ),
            transparent
        );

}


/* ==========================================================
   KICKER
   ========================================================== */

#page-container .page-kicker {

    margin:
        0
        0
        24px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 400;

    letter-spacing: .42em;

    text-transform: uppercase;

    color:
        rgba(
            255,
            255,
            255,
            .45
        );

}


/* ==========================================================
   TITRES
   ========================================================== */

#page-container h1 {

    margin:
        0
        0
        25px;

    font-family:
        "Times New Roman",
        Georgia,
        serif;

    font-size:
        clamp(
            42px,
            6vw,
            82px
        );

    font-weight: 400;

    line-height: 1;

    letter-spacing: .08em;

    color: #ffffff;

}


/* ==========================================================
   SOUS-TITRES
   ========================================================== */

#page-container h2 {

    margin:
        55px
        0
        20px;

    font-family:
        "Times New Roman",
        Georgia,
        serif;

    font-size:
        clamp(
            25px,
            3vw,
            42px
        );

    font-weight: 400;

    line-height: 1.15;

    letter-spacing: .06em;

    color: #ffffff;

}


/* ==========================================================
   PETITS TITRES
   ========================================================== */

#page-container h3 {

    margin:
        35px
        0
        15px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;

    font-weight: 400;

    letter-spacing: .28em;

    text-transform: uppercase;

    color:
        rgba(
            255,
            255,
            255,
            .75
        );

}


/* ==========================================================
   TEXTE
   ========================================================== */

#page-container p {

    max-width: 760px;

    margin:
        0
        0
        24px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(
            14px,
            1.25vw,
            17px
        );

    line-height: 1.9;

    letter-spacing: .05em;

    color:
        rgba(
            255,
            255,
            255,
            .68
        );

}


/* ==========================================================
   TEXTE IMPORTANT
   ========================================================== */

#page-container strong {

    color: #ffffff;

    font-weight: 400;

}


/* ==========================================================
   LIENS
   ========================================================== */

#page-container a {

    color: #ffffff;

    text-decoration: none;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            .3
        );

    transition:
        border-color .3s ease,
        opacity .3s ease;

}


#page-container a:hover {

    opacity: .65;

    border-color:
        rgba(
            255,
            255,
            255,
            .8
        );

}


/* ==========================================================
   LISTES
   ========================================================== */

#page-container ul,
#page-container ol {

    margin:
        25px
        0
        35px;

    padding-left: 25px;

}


#page-container li {

    margin-bottom: 12px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    line-height: 1.8;

    color:
        rgba(
            255,
            255,
            255,
            .65
        );

}


/* ==========================================================
   SÉPARATEUR
   ========================================================== */

#page-container hr {

    width: 100%;

    height: 1px;

    margin:
        55px
        0;

    border: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(
                255,
                255,
                255,
                .18
            ),
            transparent
        );

}


/* ==========================================================
   BLOCS / CARTES
   ========================================================== */

#page-container .page-card {

    padding: 30px;

    margin-bottom: 25px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .12
        );

    background:
        rgba(
            255,
            255,
            255,
            .025
        );

    box-sizing: border-box;

    transition:
        border-color .3s ease,
        background .3s ease;

}


#page-container .page-card:hover {

    border-color:
        rgba(
            255,
            255,
            255,
            .3
        );

    background:
        rgba(
            255,
            255,
            255,
            .045
        );

}


/* ==========================================================
   GRILLE
   ========================================================== */

#page-container .page-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 25px;

    margin-top: 45px;

}


/* ==========================================================
   BOUTONS
   ========================================================== */

#page-container button {

    padding:
        13px
        28px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .35
        );

    background: transparent;

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    letter-spacing: .25em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;

}


#page-container button:hover {

    background: #ffffff;

    color: #000000;

    border-color: #ffffff;

}


/* ==========================================================
   IMAGES
   ========================================================== */

#page-container img {

    display: block;

    max-width: 100%;

    height: auto;

}


#page-container .page-image {

    width: 100%;

    margin:
        40px
        0;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .12
        );

}


/* ==========================================================
   MÉTA / PETIT TEXTE
   ========================================================== */

#page-container .page-meta {

    margin-bottom: 35px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    letter-spacing: .3em;

    text-transform: uppercase;

    color:
        rgba(
            255,
            255,
            255,
            .42
        );

}


/* ==========================================================
   ÉTAT DE CHARGEMENT
   ========================================================== */

#page-container.page-loading {

    opacity: .35;

    transition:
        opacity .25s ease;

}


#page-container:not(.page-loading):not(:empty) {

    opacity: 1;

    transition:
        opacity .4s ease;

}


/* ==========================================================
   MOBILE — TITRE
   ========================================================== */

@media (max-width: 700px) {

    #page-container h1 {

        width: 100%;

        margin:
            0
            0
            25px;

        text-align: center;

        font-size:
            clamp(
                34px,
                11vw,
                60px
            );

        line-height: 1;

        letter-spacing: .04em;

        box-sizing: border-box;

        overflow-wrap: normal;

    }

}

/* ==========================================================
   TRÈS PETITS ÉCRANS
   ========================================================== */

@media (max-width: 420px) {

    #page-container > .page {
        padding:
            55px
            10px
            65px;
    }

    #page-container > .page > .page-content {

        padding:
            45px
            16px
            50px;

    }

    #page-container h1 {

        width: 100%;

        text-align: center;

        font-size: 34px;

        letter-spacing: .025em;

        line-height: 1;

    }

}


/* ==========================================================
   FIN
   ========================================================== */