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

body {
    background: #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;
}

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

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

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

.travaux {

    background:
        radial-gradient(circle at 88% 12%, rgba(183,166,232,0.18) 0%, transparent 35%),
        radial-gradient(circle at 5% 90%, rgba(247,201,174,0.15) 0%, transparent 35%),
        radial-gradient(circle at 5% 8%, rgba(168,224,201,0.12) 0%, transparent 25%),
        #2E2740;
    min-height: 100vh;
    padding: 50px 20px 100px;
}

.titre {
    text-align: center;
    margin-bottom: 80px;
}

.petit-titre {
    color: #B7A6E8;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.titre h1 {
    color: #F2EEF9;
    font-size: 34px;
}

.ligne-titre {
    width: 50px;
    height: 3px;
    background: #F7C9AE;
    margin: 10px auto 20px;
    border-radius: 10px;
}

.introduction {
    color: #C9BEDE;
    font-size: 14px;
}

.timeline {
    max-width: 1000px;
    margin: auto;
}

.experience {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    min-height: 300px;
}

.contenu {
    padding: 10px 25px 60px;
}

.gauche .contenu {
    text-align: right;
}

.droite .contenu {
    text-align: left;
}

.periode {
    color: #B7A6E8;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.contenu h2 {
    color: #F2EEF9;
    font-size: 25px;
    margin: 10px 0 5px;
}

.type {
    color: #F7C9AE;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contenu p {
    color: #C9BEDE;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contenu .type {
    color: #F7C9AE;
}

.milieu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.numero {
    width: 65px;
    height: 65px;
    border: 2px solid #6C5E8A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F7C9AE;
    font-size: 20px;
    font-weight: bold;
    background: #2E2740;
}

.ligne {
    width: 2px;
    height: 100%;
    background: #453A5E;
}

.competences {
    margin-top: 20px;
}

.competences span {
    display: inline-block;
    border: 1px solid #6C5E8A;
    color: #B7A6E8;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 13px;
    margin: 4px;
}

.contenu {
    transition: 0.4s;
}

.contenu:hover {
    transform: translateY(-5px);
}

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

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

    .logo img {
        width: 150px;
    }

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

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

    .travaux {
        padding: 35px 20px 60px;
    }

    .titre {
        margin-bottom: 50px;
    }

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

    .experience {
        display: flex;
        gap: 20px;
        min-height: 0;
        margin-bottom: 50px;
    }

    .vide {
        display: none;
    }

    .droite {
        flex-direction: row;
    }

    .milieu {
        min-width: 55px;
    }

    .numero {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .ligne {
        height: 100%;
    }

    .contenu {
        padding: 5px 0 30px;
    }

    .gauche .contenu {
        order: 2;
        text-align: left;
    }

    .gauche .milieu {
        order: 1;
    }

    .contenu h2 {
        font-size: 21px;
    }

    .competences span {
        font-size: 12px;
    }

}
.bilan-experience {
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(36, 29, 51, 0.55);
    border-left: 2px solid #B7A6E8;
    border-radius: 0 10px 10px 0;
}

.bilan-experience strong {
    color: #F7C9AE;
}

.lien-stage {
    max-width: 800px;
    margin: 25px auto 0;
    padding: 25px;
    text-align: center;
    background: rgba(36, 29, 51, 0.65);
    border: 1px solid #453A5E;
    border-radius: 14px;
}

.lien-stage p {
    color: #C9BEDE;
    margin-bottom: 12px;
    line-height: 1.6;
}

.lien-stage a {
    display: inline-block;
    color: #F7C9AE;
    font-weight: bold;
    border-bottom: 1px solid #F7C9AE;
    padding-bottom: 4px;
}

.lien-stage a:hover {
    color: #B7A6E8;
    border-color: #B7A6E8;
}
