/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    overflow-x: hidden;

    font-family: Arial, Helvetica, sans-serif;

    color: #eeeeeb;

    background: #080808;
}


/* =========================================
   ARRIÈRE-PLAN
========================================= */

.background {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background-image: url("Image/fond.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    z-index: -3;
}


.overlay {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.55) 0%,
            rgba(5, 5, 5, 0.40) 50%,
            rgba(5, 5, 5, 0.28) 100%
        );

    z-index: -2;
}

/* =========================================
   LOGO ROTATIF EN ARRIÈRE-PLAN
========================================= */

.rotating-logo-background {
    position: fixed;
    top: 50%;
    left: 50%;

    width: 650px;
    height: 650px;

    transform: translate(-50%, -50%);

    z-index: -1;

    pointer-events: none;

    opacity: 0.08;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: rotate-logo 35s linear infinite;
}

.rotating-logo-background img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

/* ROTATION */

@keyframes rotate-logo {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 700px) {

    .rotating-logo-background {
        width: 420px;
        height: 420px;

        opacity: 0.06;
    }

}


/* =========================================
   HEADER
========================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 78px;

    padding: 0 6.5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 9999;

    background: rgba(8, 8, 8, 0.82);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);
}


/* =========================================
   LOGO
========================================= */

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;
}


.brand img {
    width: 36px;
    height: 36px;

    object-fit: contain;
}


.brand-text {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.brand-text h2 {
    color: #eeeeeb;

    font-size: 16px;

    font-weight: 800;

    letter-spacing: 1px;
}


.brand-text span {
    color: #b38b25;

    font-family: monospace;

    font-size: 8px;

    font-weight: bold;

    letter-spacing: 1.2px;
}


/* =========================================
   MENU
========================================= */

.navigation {
    display: flex;

    align-items: center;

    gap: 32px;
}


.navigation a {
    position: relative;

    color: #858281;

    text-decoration: none;

    font-family: monospace;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;

    transition: 0.3s ease;
}


.navigation a:hover {
    color: #eeeeeb;
}


/* LIEN ACTIF */

.navigation a.active {
    color: #c51c1c;
}


.navigation a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -17px;

    height: 2px;

    background: #c99a2d;
}


/* =========================================
   BOUTON POSTULER
========================================= */

.navigation .postuler {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 108px;

    height: 37px;

    padding: 0 20px;

    border-radius: 25px;

    color: white;

    background: linear-gradient(
        180deg,
        #d21d1d,
        #b30e0e
    );

    border: 1px solid #e52a25;
}


.navigation .postuler:hover {
    color: white;

    transform: translateY(-1px);
}


.navigation .postuler::after {
    display: none;
}


/* =========================================
   PAGE SÉLECTION
========================================= */

.selection-page {

    width: 100%;

    max-width: 1115px;

    margin: 0 auto;

    padding: 160px 0 90px;
}


/* =========================================
   INTRODUCTION
========================================= */

.selection-intro {

    width: 850px;

    max-width: 100%;

    margin-bottom: 48px;
}


.section-number {

    margin-bottom: 13px;

    color: #c99a2d;

    font-family: monospace;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;
}


.selection-intro h1 {

    color: #f1eee9;

    font-size: 48px;

    line-height: 1.02;

    letter-spacing: -2px;

    font-weight: 800;
}


.selection-intro p {

    margin-top: 22px;

    color: #969391;

    font-size: 17px;

    line-height: 1.6;
}


/* =========================================
   CONTENU
========================================= */

.selection-content {

    width: 100%;

    display: grid;

    grid-template-columns: 1.05fr 1fr;

    gap: 44px;

    align-items: center;
}


/* =========================================
   IMAGE
========================================= */

.selection-image {

    width: 100%;

    height: 390px;

    border: 1px solid rgba(255, 255, 255, 0.16);

    overflow: hidden;

    background: #080808;
}


.selection-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* =========================================
   ÉTAPES
========================================= */

.selection-steps {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 25px;
}


.selection-step {

    display: grid;

    grid-template-columns: 38px 1fr;

    gap: 0;

    align-items: start;
}


.step-number {

    color: #e01919;

    font-family: monospace;

    font-size: 12px;

    font-weight: bold;

    padding-top: 2px;
}


.step-text h2 {

    color: #eeeeeb;

    font-size: 15px;

    line-height: 1.3;

    font-weight: 700;
}


.step-text p {

    margin-top: 6px;

    color: #858281;

    font-size: 14px;

    line-height: 1.45;
}


/* =========================================
   BOUTON
========================================= */

.selection-action {

    margin-top: 48px;
}


.selection-action a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 51px;

    padding: 0 30px;

    border-radius: 28px;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    background: linear-gradient(
        180deg,
        #d21d1d,
        #b30e0e
    );

    border: 1px solid #e52a25;

    box-shadow:
        0 8px 25px rgba(190, 20, 20, 0.22);

    transition: 0.3s ease;
}


.selection-action a:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(220, 30, 25, 0.35);
}


/* =========================================
   PIED DE PAGE
========================================= */

.site-footer {

    width: 100%;

    min-height: 340px;

    margin-top: 100px;

    padding: 55px 25px 45px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(5, 5, 5, 0.25);
}


/* LOGO FOOTER */

.footer-logo img {

    width: 105px;
    height: 105px;

    object-fit: contain;

    display: block;

    filter:
        drop-shadow(
            0 0 12px
            rgba(180, 20, 20, 0.25)
        );
}


/* LOSANGES */

.footer-symbols {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 17px;
}


.footer-symbols span {

    color: #c99a2d;

    font-size: 8px;
}


/* TEXTE */

.footer-text {

    margin-top: 22px;

    color: #858281;

    font-size: 13px;

    line-height: 1.55;

    font-weight: 400;
}


/* NAVIGATION FOOTER */

.footer-navigation {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    margin-top: 25px;
}


.footer-navigation a {

    text-decoration: none;

    color: #5f5c5a;

    font-family: monospace;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1.4px;

    transition: 0.3s ease;
}


.footer-navigation a:hover {

    color: #c99a2d;
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1000px) {

    .header {

        padding: 0 4%;
    }


    .navigation {

        gap: 20px;
    }


    .selection-page {

        padding-left: 5%;

        padding-right: 5%;
    }


    .selection-content {

        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .header {

        height: 70px;

        padding: 0 20px;
    }


    .brand img {

        width: 32px;

        height: 32px;
    }


    .brand-text h2 {

        font-size: 14px;
    }


    .brand-text span {

        font-size: 7px;
    }


    .navigation {

        display: none;
    }


    .selection-page {

        width: auto;

        margin-left: 25px;

        margin-right: 25px;

        padding-top: 120px;

        padding-bottom: 60px;
    }


    .selection-intro {

        width: 100%;

        text-align: center;

        margin-bottom: 40px;
    }


    .section-number {

        font-size: 11px;
    }


    .selection-intro h1 {

        font-size: 36px;

        line-height: 1.05;

        letter-spacing: -1.5px;
    }


    .selection-intro p {

        font-size: 14px;

        line-height: 1.6;
    }


    .desktop-break {

        display: none;
    }


    /* CONTENU */

    .selection-content {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    /* IMAGE */

    .selection-image {

        width: 100%;

        height: 300px;
    }


    /* ÉTAPES */

    .selection-steps {

        gap: 25px;
    }


    .selection-step {

        grid-template-columns: 40px 1fr;
    }


    .step-text h2 {

        font-size: 15px;
    }


    .step-text p {

        font-size: 13px;
    }


    /* BOUTON */

    .selection-action {

        display: flex;

        justify-content: center;

        margin-top: 40px;
    }


    /* FOOTER */

    .site-footer {

        min-height: 380px;

        margin-top: 80px;

        padding: 50px 20px 40px;
    }


    .footer-logo img {

        width: 90px;

        height: 90px;
    }


    .footer-text {

        max-width: 350px;

        font-size: 12px;
    }


    .footer-text br {

        display: none;
    }


    .footer-navigation {

        flex-wrap: wrap;

        gap: 18px 25px;

        max-width: 350px;
    }

}


/* =========================================
   PETIT MOBILE
========================================= */

@media (max-width: 450px) {

    .selection-page {

        margin-left: 18px;

        margin-right: 18px;
    }


    .selection-intro h1 {

        font-size: 32px;
    }


    .selection-image {

        height: 270px;
    }

}


/* =========================================
   GALERIE — SÉLECTION
========================================= */

.selection-gallery {

    width: 100%;

    max-width: 1115px;

    margin: 52px auto 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


/* =========================================
   CARTE IMAGE
========================================= */

.gallery-card {

    position: relative;

    width: 100%;

    height: 360px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.14);

    background: #080808;
}


/* =========================================
   IMAGE
========================================= */

.gallery-card img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;
}


/* =========================================
   LÉGENDE
========================================= */

.gallery-caption {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    min-height: 42px;

    padding: 0 16px;

    display: flex;

    align-items: center;

    background: rgba(5, 5, 5, 0.90);

    border-top: 1px solid rgba(255, 255, 255, 0.10);

    color: #c99a2d;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 1.1px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .selection-gallery {

        width: auto;

        margin-left: 25px;

        margin-right: 25px;

        grid-template-columns: 1fr;

        gap: 12px;
    }


    .gallery-card {

        height: 300px;
    }


    .gallery-caption {

        font-size: 9px;

        letter-spacing: 0.8px;

        min-height: 42px;
    }

}