/* =========================================
   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;
}


/* =========================================
   FOND
========================================= */

.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(20, 5, 7, 0.60),
            rgba(5, 5, 5, 0.38),
            rgba(15, 12, 5, 0.45)
        );

    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;
}

@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: 66px;

    padding: 0 6.5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 1000;

    background: rgba(9, 7, 8, 0.92);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(8px);
}


/* =========================================
   BRAND
========================================= */

.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: #b58a24;

    font-family: monospace;

    font-size: 8px;

    letter-spacing: 1px;
}


/* =========================================
   NAVIGATION
========================================= */

.navigation {

    display: flex;

    align-items: center;

    gap: 32px;
}


.navigation a {

    position: relative;

    color: #888584;

    text-decoration: none;

    font-family: monospace;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;
}


.navigation a:hover {

    color: #eee;
}


.navigation .active {

    color: #c91c1c;
}


.navigation .active::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -16px;

    height: 2px;

    background: #b98c25;
}


/* =========================================
   POSTULER
========================================= */

.navigation .postuler {

    min-width: 108px;

    height: 37px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 25px;

    color: #fff;

    background: #c81818;

    border: 1px solid #e52b27;
}


.navigation .postuler::after {

    display: none;
}


/* =========================================
   PAGE
========================================= */

.candidature-page {

    width: calc(100% - 236px);

    max-width: 1118px;

    margin: 0 auto;

    padding-top: 151px;

    padding-bottom: 80px;
}


/* =========================================
   INTRO
========================================= */

.intro {

    width: 850px;

    max-width: 100%;

    margin-bottom: 57px;
}


.small-title {

    margin-bottom: 12px;

    color: #c99a2d;

    font-family: monospace;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 1px;
}


.intro h1 {

    color: #f1eee9;

    font-size: 48px;

    line-height: 1.03;

    letter-spacing: -2px;

    font-weight: 800;
}


.intro p {

    margin-top: 18px;

    color: #999695;

    font-size: 17px;

    line-height: 1.55;
}


/* =========================================
   STEPS
========================================= */

.steps {

    display: flex;

    align-items: center;

    margin-bottom: 40px;
}


.step {

    height: 32px;

    padding: 0 13px;

    display: flex;

    align-items: center;

    gap: 7px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 20px;

    color: #555454;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 1px;
}


.step span {

    color: #555454;
}


.step.active {

    color: #d09d2c;

    border-color: #c99a2d;
}


.step.active span {

    color: #c99a2d;
}


.step-line {

    width: 32px;

    height: 1px;

    margin: 0 12px;

    background: rgba(255,255,255,0.15);
}


/* =========================================
   GRILLE PRINCIPALE
========================================= */

.main-grid {

    width: 100%;

    display: grid;

    grid-template-columns: 658px 426px;

    gap: 32px;

    align-items: start;
}


/* =========================================
   FORMULAIRE
========================================= */

.form-container {

    width: 100%;

    min-height: 900px;

    padding: 42px 40px;

    border: 1px solid rgba(255,255,255,0.14);

    border-radius: 5px;

    background: rgba(10,10,10,0.35);
}


.form-section-title {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 31px;
}


.form-section-title span {

    color: #c99a2d;

    font-family: monospace;

    font-size: 11px;

    letter-spacing: 1.1px;

    white-space: nowrap;
}


.form-section-title div {

    flex: 1;

    height: 1px;

    background: rgba(255,255,255,0.15);
}


/* =========================================
   CHAMPS
========================================= */

.two-columns {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}


.field {

    margin-bottom: 28px;
}


.field.full {

    width: 100%;
}


.field label {

    display: block;

    margin-bottom: 12px;

    color: #777473;

    font-family: monospace;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1.2px;
}


.field input,
.field textarea {

    width: 100%;

    border: 0;

    border-bottom: 1px solid rgba(255,255,255,0.17);

    outline: none;

    background: transparent;

    color: #eee;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
}


.field input {

    height: 42px;

    padding: 0 0 10px;
}


.field textarea {

    min-height: 115px;

    padding: 8px 0;

    resize: vertical;

    line-height: 1.5;
}


.field input::placeholder,
.field textarea::placeholder {

    color: #555352;
}


.field input:focus,
.field textarea:focus {

    border-bottom-color: #c99a2d;
}

/* =========================================
   NOUVEAUX CHAMPS CANDIDATURE
========================================= */

.field select {

    width: 100%;

    height: 42px;

    padding: 0 0 10px;

    border: 0;

    border-bottom: 1px solid rgba(255,255,255,0.17);

    outline: none;

    background: transparent;

    color: #eee;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    cursor: pointer;
}


.field select:focus {

    border-bottom-color: #c99a2d;
}


.field select option {

    background: #111;

    color: #eee;
}




.radio-option {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #858281;

    font-size: 14px;

    cursor: pointer;
}


.radio-option input {

    width: 16px;

    height: 16px;

    margin: 0;

    accent-color: #c99a2d;

    cursor: pointer;
}


.radio-option span {

    color: #858281;
}


/* =========================================
   AIDE SOUS LES CHAMPS
========================================= */

.field-help {

    display: block;

    margin-top: 8px;

    color: #666361;

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 0.5px;
}



/* =========================================
   COMPTEUR
========================================= */

.textarea-info {

    display: flex;

    justify-content: space-between;

    margin-top: 9px;

    color: #777473;

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 1px;
}


/* =========================================
   ENGAGEMENTS
========================================= */

.engagements-title {

    margin-top: 37px;

    margin-bottom: 26px;
}


.check-line {

    width: 100%;

    min-height: 57px;

    margin-bottom: 13px;

    padding: 15px 16px;

    display: flex;

    align-items: flex-start;

    gap: 12px;

    border: 1px solid rgba(255,255,255,0.10);

    color: #858281;

    font-size: 14px;

    line-height: 1.55;

    cursor: pointer;
}


.check-line input {

    width: 14px;

    height: 14px;

    margin-top: 4px;

    flex-shrink: 0;

    accent-color: #c99a2d;
}


/* =========================================
   BAS DU FORMULAIRE
========================================= */

.form-bottom {

    margin-top: 40px;

    padding-top: 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px solid rgba(255,255,255,0.15);
}


.form-bottom > span {

    color: #777473;

    font-family: monospace;

    font-size: 10px;

    letter-spacing: 1px;
}


.continue-button {

    min-width: 166px;

    height: 56px;

    padding: 0 25px;

    border-radius: 30px;

    border: 1px solid #e52a25;

    background: #ca1818;

    color: #fff;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 10px 25px rgba(190,20,20,0.25);

    transition: 0.3s ease;
}


.continue-button:hover {

    transform: translateY(-2px);

    background: #dc1d1d;
}


/* =========================================
   COLONNE DROITE
========================================= */

.right-column {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 16px;
}


/* =========================================
   BLOCS DROITE
========================================= */

.info-card {

    width: 100%;

    padding: 26px 25px;

    border: 1px solid rgba(255,255,255,0.14);

    border-radius: 5px;

    background: rgba(12,12,12,0.32);
}


.info-card h3 {

    margin-bottom: 20px;

    color: #c99a2d;

    font-family: monospace;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1.2px;
}


.info-card ul {

    list-style: none;
}


.info-card li {

    position: relative;

    margin-bottom: 16px;

    padding-left: 24px;

    color: #858281;

    font-size: 14px;

    line-height: 1.45;
}


.info-card li:last-child {

    margin-bottom: 0;
}


.info-card li::before {

    content: "◆";

    position: absolute;

    left: 0;

    top: 3px;

    color: #c99a2d;

    font-size: 8px;
}


.info-card p {

    color: #858281;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {

    width: 100%;

    min-height: 340px;

    margin-top: 40px;

    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);
}


.footer-logo img {

    width: 105px;

    height: 105px;

    object-fit: contain;
}


.footer-symbols {

    display: flex;

    gap: 25px;

    margin-top: 17px;
}


.footer-symbols span {

    color: #c99a2d;

    font-size: 8px;
}


.footer-text {

    margin-top: 22px;

    color: #858281;

    font-size: 13px;

    line-height: 1.55;
}


.footer-navigation {

    display: flex;

    gap: 28px;

    margin-top: 25px;
}


.footer-navigation a {

    color: #5f5c5a;

    text-decoration: none;

    font-family: monospace;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1.4px;
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1150px) {

    .candidature-page {

        width: calc(100% - 80px);
    }


    .main-grid {

        grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .header {

        height: 70px;

        padding: 0 20px;
    }


    .navigation {

        display: none;
    }


    .candidature-page {

        width: auto;

        margin-left: 25px;

        margin-right: 25px;

        padding-top: 115px;
    }


    .intro {

        text-align: center;
    }


    .intro h1 {

        font-size: 35px;

        letter-spacing: -1.5px;
    }


    .intro p {

        font-size: 14px;
    }


    .steps {

        justify-content: center;

        flex-wrap: wrap;

        gap: 8px;
    }


    .step-line {

        display: none;
    }


    .main-grid {

        display: flex;

        flex-direction: column;

        gap: 20px;
    }


    .form-container {

        min-height: auto;

        padding: 30px 20px;
    }


    .two-columns {

        grid-template-columns: 1fr;

        gap: 0;
    }


    .right-column {

        order: 2;
    }


    .form-bottom {

        flex-direction: column;

        gap: 22px;

        text-align: center;
    }


    .continue-button {

        width: 100%;
    }


    .site-footer {

        margin-top: 70px;
    }


    .footer-navigation {

        flex-wrap: wrap;

        justify-content: center;

        gap: 18px 25px;

        max-width: 350px;
    }

}