/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;

    overflow: hidden;
}

body {
    background: #111;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   AFFICHE — tient toujours dans 100dvh
========================================= */

.poster {
    position: relative;

    width: 100%;
    max-width: none;

    height: 100dvh;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #111;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =========================================
   IMAGE DE FOND
========================================= */

.background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(to bottom,
            rgba(10, 10, 10, 0.05),
            rgba(10, 10, 10, 0.08)),
        url("images/background.png.png");

    background-size: cover;
    background-position: center top;

    z-index: 0;
}


/* =========================================
   CONTENU — répartition flex, jamais de débordement
========================================= */

.content {
    position: relative;

    z-index: 2;

    width: 58%;

    margin-left: 39%;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    padding: 2vh 0;
}


/* =========================================
   LOGO
========================================= */

.logo-container {
    width: 100%;

    display: flex;
    justify-content: center;
}

.logo {
    width: 16vw;
    max-width: 310px;
    min-width: 90px;

    height: auto;

    object-fit: contain;
}


/* =========================================
   GRAND TITRE
========================================= */

.hero-title {
    text-align: center;
}

.title-white {
    color: #f2f2f2;

    font-size: clamp(9px, 2.2vh, 27px);

    line-height: 1.35;

    font-weight: 300;

    letter-spacing: 1px;
}

.hero-title h1 {
    margin-top: 1vh;

    color: #d9a858;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(20px, 4.5vh, 58px);

    line-height: 1.05;

    font-weight: 400;

    letter-spacing: 1px;
}


/* =========================================
   FEATURES
========================================= */

.features {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    width: 100%;
}

.feature {
    min-height: auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    text-align: center;

    padding: 0 8px;

    border-right: 1px solid rgba(213, 169, 91, 0.45);
}

.feature:last-child {
    border-right: none;
}

.feature img {
    width: clamp(16px, 3vh, 40px);
    height: clamp(16px, 3vh, 40px);
    object-fit: contain;
    margin-bottom: 1vh;
}

.feature span {
    color: #eee;

    font-size: clamp(8px, 1.3vh, 14px);

    line-height: 1.3;

    font-weight: 350;
}


/* =========================================
   EXCEPTION
========================================= */

.exception {
    text-align: center;
}

.exception h2 {
    color: #d9a858;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(20px, 5vh, 60px);

    font-weight: 400;

    letter-spacing: 1px;
}

.exception p {
    color: #f2f2f2;

    font-size: clamp(10px, 2.2vh, 28px);

    margin-top: 1vh;

    letter-spacing: 1px;
}

.separator {
    width: clamp(80px, 20vw, 270px);

    height: 1px;

    background: #d9a858;

    margin: 2vh auto 1.5vh;
}

.exception span {
    color: #d9a858;

    font-size: clamp(9px, 1.7vh, 22px);

    font-weight: 300;
}


/* =========================================
   CRÉDIT
========================================= */

.credit {
    position: absolute;

    z-index: 6;

    bottom: 1.5vh;
    right: 15px;

    color: #ffffff;

    font-size: clamp(8px, 1vh, 13px);
    letter-spacing: 0.5px;
    font-weight: 400;

    text-decoration: none;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.credit:hover {
    color: #d9a858;
}


/* =========================================
   TABLETTES — ajustement de la largeur/colonnes uniquement
   (la hauteur est déjà gérée par .poster / .content)
========================================= */

@media (max-width: 900px) {

    .content {
        width: 57%;

        margin-left: 40%;
    }
}


/* =========================================
   MOBILE — ajustement de la largeur/colonnes uniquement
========================================= */

@media (max-width: 600px) {

    .content {
        width: 61%;

        margin-left: 37%;
    }

    .logo {
        width: 22vw;
        max-width: 140px;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);

        row-gap: 1vh;
    }
}