* {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-size: cover;
    box-sizing: border-box;
}

body {
    background-color: #2E2740;
    color: #F2EEF9;
}

a {
    text-decoration: none;
}

.navbar {
    background: #241D33;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #453A5E;
    margin: 0;
}

.navbar nav a.active {
    color: #F7C9AE;
}

.logo img {
    width: 170px;
    height: auto;
    display: block;
}

.navbar nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #F2EEF9;
    font-weight: bold;
}

.navbar nav a:hover {
    background: linear-gradient(45deg, #B7A6E8, #F7C9AE);
    padding: 10px 5px;
    border-radius: 20px;
    font-weight: bold;
    color: #2E2740;
    transition: all 0.7s ease;
}

.stage {
    width: 85%;
    max-width: 1300px;
    margin: auto;
    padding: 80px 0;
}

.titre {
    margin-bottom: 80px;
}

.titre p,
.type {
    color: #F7C9AE;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: bold;
}

.titre h1 {
    font-size: 48px;
    margin-top: 10px;
}

.ligne-titre {
    width: 70px;
    height: 3px;
    background-color: #F7C9AE;
    margin-top: 20px;
}

.presentation {
    max-width: 850px;
    margin-bottom: 100px;
}

.presentation h2,
.bilan h2 {
    font-size: 32px;
    margin: 15px 0 25px;
}

.presentation p:not(.type),
.bilan p:not(.type) {
    line-height: 1.8;
    color: #d9d3e3;
    margin-bottom: 15px;
}

.partie {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 100px 0;
}

.partie.inverse {
    flex-direction: row-reverse;
}

.texte {
    width: 40%;
}

.numero-partie {
    color: #F7C9AE;
    font-size: 45px;
    font-weight: bold;
    opacity: 0.7;
}

.texte h2 {
    font-size: 28px;
    margin: 10px 0 20px;
}

.texte p:not(.numero-partie) {
    color: #d9d3e3;
    line-height: 1.7;
    margin-bottom: 15px;
}

.image-stage {
    width: 60%;
}

.image-stage img {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 1px solid #453A5E;
}

.bilan {
    margin-top: 120px;
    padding: 50px;
    background-color: #241D33;
    border: 1px solid #453A5E;
    border-radius: 8px;
}

.retour {
    display: inline-block;
    margin-top: 25px;
    padding: 13px 25px;
    border: 1px solid #F7C9AE;
    color: #F7C9AE;
    text-decoration: none;
    transition: 0.3s;
}

.retour:hover {
    background-color: #F7C9AE;
    color: #241D33;
}

@media screen and (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .logo img {
        width: 150px;
    }

    .navbar nav {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navbar nav a {
        margin: 10px 0;
    }

    .stage {
        width: 90%;
        padding-top: 50px;
    }

    .titre h1 {
        font-size: 36px;
    }

    .partie,
    .partie.inverse {
        flex-direction: column;
        gap: 30px;
        margin: 70px 0;
    }

    .texte,
    .image-stage {
        width: 100%;
    }

    .bilan {
        padding: 30px;
    }
}