body {
    background-image: url("sunset.jpg");
    background-size: cover;
    margin: 0;
}

.home-button {
    position: absolute;
    top: 100px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-home {
    background-color: black;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-home:hover {
    background-color: white;
    color: black;
    border-color: black;
}

/* Menu principal */
.menu {
    display: flex;
    justify-content: left;
    background-color: white;
    border-bottom: 7px solid black;
    padding: 10px 0;
}

.menu div p {
    margin-left: 30px;
}

/* Logo */
.logosite img {
    width: 20%;
    margin-left: 35vw;
    margin-top: 7px;
    margin-bottom: 7px;
}

/* Section principale */
.main {
    display: flex;
    flex: 1;
    gap: 10px;
    padding-bottom: 3%;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Section Services */
.services {
    background-color: black;
    border: 2px solid white;
    border-radius: 8px;
    padding: 20px 300px 20px 200px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin: 20px;
    flex: 1;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}

/* Titres de la section services */
.services h1,
.services h2,
.services h3 {
    color: white;
}

.services p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.services a {
    color: #ff9800;
    text-decoration: none;
}

.services a:hover {
    text-decoration: underline;
}

.services ul {
    padding-left: 20px;
}

.services li {
    margin-bottom: 10px;
}

p {
    font-family: Arial, Helvetica, sans-serif;
}

/* Pied de page */
#pdp {
    background-color: black;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    border-top: 2px solid;
    border-color: white;
}

#pdp p {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 3vw;
}

.pdcETcdu {
    display: flex;
    justify-content: right;
    margin-left: 20vw;
}

.pdcETcdu p {
    margin-right: 3vw;
}

.copyR {
    margin-right: 25vw;
    margin-left: 7vw;
}

/* Police de caractères pour le pied de page */
#pdp span p {
    font-size: small;
    margin-left: 10px;
}

/* S'assurer que le body et html prennent toute la hauteur de la page */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Assure que le contenu occupe l'espace restant */
.main {
    flex: 1;
}

/* Pied de page */
#pdp {
    background-color: black;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    border-top: 2px solid;
    border-color: white;
    margin-top: auto;
}

/* ----------- Responsivité ----------- */

/* Mobile */
@media screen and (max-width: 1000px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }

    .logosite img {
        width: 50%;
        margin-left: 0;
    }

    .services {
        padding: 20px 40px;
        margin-left: 0;
    }

    .home-button {
        top: 60px;
        right: 10px;
    }

    .services p {
        font-size: 1rem;
    }

    .menu div p {
        margin-left: 15px;
    }

    #pdp p {
        font-size: 0.8rem;
        margin-right: 0;
    }
}

/* Très petits écrans */
@media screen and (max-width: 480px) {
    .logosite img {
        width: 70%;
    }

    .services {
        padding: 20px 15px;
        margin-left: 0;
    }

    .menu {
        padding: 5px 0;
    }

    .home-button {
        top: 30px;
        right: 10px;
    }

    .btn-home {
        padding: 8px 16px;
    }

    .services p {
        font-size: 0.9rem;
    }

    .services ul {
        padding-left: 10px;
    }

    #pdp p {
        font-size: 0.7rem;
    }
}
