html, body {
    background-color: #000000;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    color: #ffffff;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

/* ==========================================================
   IMAGE DE FOND (Placée AU-DESSUS du fond noir)
   ========================================================== */
.background-parallax {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 0 !important; /* Placé au-dessus du fond du body */
    overflow: hidden !important;
    pointer-events: none !important;
}

.background-parallax img {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: auto !important;
    min-height: 100vh !important;
    object-fit: cover !important;
    z-index: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.under-construction {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    z-index: 10 !important; /* Passe au-dessus de l'image */
}

.under-construction p {
    margin: 0;
    flex: 1;
}

.drapeau-langues {
    display: flex;
    align-items: center;
}

.drapeau-langues img {
    width: 32px;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

.drapeau-langues img:hover {
    transform: scale(1.15);
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 400px;
    width: 90%;
    max-width: 1000px;
    margin: 50px 0;
    z-index: 2 !important; /* Passe au-dessus de l'image */
}

.card {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.card img {
    border-radius: 15px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 2px;
}

.card .name {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 0 0;
}

.card .position {
    font-size: 16px;
    color: #cccccc;
    margin-top: 2px;
    margin-bottom: 15px;
}

.card .description {
    font-size: 14px;
    color: #dddddd;
    line-height: 1.5;
    text-align: left;
}

.card .description p {
    margin: 0 0 12px 0;
}

.card .description ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

.card .description li {
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.connect {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.connect h2 {
    font-size: 18px;
    margin-bottom: 25px;
    white-space: normal;
}

.connect a {
    display: inline-block;
    margin: 0 25px;
}

.connect img {
    width: 140px;
    height: 140px;
    transition: transform 0.3s ease;
}

.connect img:hover {
    transform: scale(1.15);
}

/* ==========================================================
   VERSION MOBILE (Écrans <= 768px)
   ========================================================== */
@media screen and (max-width: 768px) {
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .background-parallax img {
        width: auto !important;
        min-width: 100vw !important;
        height: 100vh !important;
        object-fit: cover !important;
    }

    .wrapper {
        width: 92% !important;
        max-width: 100% !important;
        gap: 20px !important;
        margin: 15px auto !important;
        box-sizing: border-box !important;
    }

    .card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 12px !important;
        box-sizing: border-box !important;
    }

    .connect {
        width: 150px !important;
        height: 150px !important;
        margin: 0 auto !important;
        padding: 8px 10px 10px 10px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
        white-space: normal !important;

        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: auto 1fr 1fr !important;
        gap: 8px !important;
        justify-items: center !important;
        align-items: center !important;
    }

    .connect h2 {
        grid-column: span 2 !important;
        font-size: 13px !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        align-self: start !important;
    }

    .connect a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .connect img {
        width: 21px !important;
        height: 21px !important;
        max-width: 21px !important;
        max-height: 21px !important;
        object-fit: contain !important;
    }
}