    html, body {
        margin: 0;
        padding: 0;
        height: 100%;
    }


    body {
        display: flex;
        flex-direction: column;
        font-family: Arial, sans-serif;
        background-image: url("ressources/img/background.png");
    }

    .directions{
        display: flex;
        gap: 50px;
    }

    .next {
        padding-top: 30px;
    }



    .wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: justify;
        width: 100%;
        margin-bottom: 40px;
        padding-top: 20px;
    }

    .menu {
        display: flex;
        justify-content: center;
        list-style: none;
        background-color: #333;
        padding: 10px 0;
        font-size: 1.4em;
    }

    .menu li {
        position: relative;
        padding: 10px 20px;
        margin: 0 15px;
    }

    .menu li a {
        text-decoration: none;
        color: white;
        display: block;
    }

    .menu li:hover {
        background-color: #434242;
    }

    .submenu {
        display: none;
        position: absolute;
        text-align: center;
        top: 100%;
        background-color: #444;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

    .menu-enfant:hover .submenu {
        display: block;
    }

    .submenu a {
        color: white;
        display: block;
    }

    .submenu a:hover {
        background-color: #007BFF;
    }

    .image-container {
        margin-top: 20px;
        text-align: center;
    }

    .pair {
        background-color: blanchedalmond;
    }

    .circular-image {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #000;
    }

    .titre {
        font-size: 1.5em;
        font-weight: bold;
        color: #333;
        text-align: center;
        margin: 20px 0;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    .illustrations {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 20px 60px;
        padding: 10px;
    }

    .illustrations img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .illustrations img:hover {
        transform: scale(1.2);
        z-index: 10;
        box-shadow: 0 16px 25px rgba(0, 0, 0, 0.4);
    }


    .paragraphe {
        display: block;
        margin: 0 90px;
        box-shadow: 0 10px 16px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
        padding: 20px;
        margin-bottom: 26px;
        line-height: 1.8;
        font-size: 1.1em;
    }

    .footer {
        background-color: #333;
        color: white;
        padding-bottom: 20px;
        padding-top: 20px;
        text-align: center;
        width: 100%;

    }

    #scrollTopBtn {
        width:150px;
        height: 35px; /* et non length */
        margin-bottom: 20px;
    }


    .footer a {
        color: white;
        text-decoration: none;
        margin: 0 10px;
    }

    .footer a:hover {
        color: gray;
    }

    .footer img {
        margin-left: 10px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: cover;
    }

    @media (max-width: 768px) {
        .menu {
            flex-direction: column;
            text-align: center;
        }

        .paragraphe {
            margin: 10px;
            padding: 0.8em;
        }

        embed {
            height: calc(100vh - 250px);
        }

        .footer {
            flex-direction: column;
            padding: 15px;
        }
    }

    .proj {
        display: block;
        background-color: white;
        margin: 0 50px;
        box-shadow: 0 10px 16px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
        padding: 30px;
        margin-bottom: 26px;
        margin-top: 26px;

    }

    .blockproj {
        display: flex;
    }
    .contact-section {
        text-align: center;
        padding: 2.5rem 1rem;
        background-color: #fdfdfd;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 16px;
        max-width: 650px;
        margin: auto;
        font-family: 'Segoe UI', sans-serif;
    }

    .contact-section h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin: 1.5rem 0 1rem;
        color: #222;
    }

    .contact-link,
    .info-link {
        display: inline-block;
        margin: 0.5rem 0.5rem;
        font-size: 1rem;
        text-decoration: none;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .contact-link.email {
        color: #0044cc;
        background-color: #eaf1ff;
    }

    .contact-link.email:hover {
        background-color: #d0e0ff;
    }

    .contact-link.linkedin {
        color: white;
        background-color: #0077b5;
    }


    .contact-link.linkedin:hover {
        background-color: #005f8d;
    }
    html {
        scroll-behavior: smooth;
    }


    .info-link.cv {
        background-color: #f3f3f3;
        color: #222;
    }

    .info-link.before {
        background-color: red;
        color: white;
        transition: background-color 0.3s, color 0.3s;
    }

    .info-link.before:hover {
        background-color: darkred;
        color: white;
    }
    .info-link.accueil {
        background-color: gray;
        color: white;
        transition: background-color 0.3s, color 0.3s;
    }

    .info-link.accueil:hover {
        background-color: darkgrey;
        color: white;
    }

    .info-link.next {
        background-color: green;
        color: #f3f3f3;
        transition: background-color 0.3s, color 0.3s;
    }

    .info-link.next:hover {
        background-color: darkgreen;
        color: green;
    }


    .info-link.cv:hover {
        background-color: #e0e0e0;
    }

    .info-link.github {
        background-color: #24292e;
        color: white;
    }

    .info-link.github:hover {
        background-color: #1b1f23;
    }

    .info-link.gitlab {
        background-color: #fc6d26;
        color: white;
    }

    .info-link.gitlab:hover {
        background-color: #e0530d;
    }
    .section-bloc {
        text-align: center;
        background-color: #ffffff;
        box-shadow: 0 10px 16px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19); /* comme .paragraphe */
        border-radius: 16px;
        max-width: calc(100% - 180px); /* 100% - (margin 90px gauche + droite) pour coller à la marge */
        margin: 0 90px 26px 90px; /* identique à .paragraphe (margin-bottom 26px) */
        font-family: 'Segoe UI', sans-serif;
        font-size: 1.1em; /* même taille que .paragraphe */
        line-height: 1.8; /* même interligne que .paragraphe */
        padding: 25px; /* identique */
        padding-right: 45px; /* identique */
        color: #444; /* tu peux garder cette couleur, elle est proche */;
    }

    /* Garde les styles internes, mais ajuste les paddings à 0 pour ne pas cumuler */
    .section-bloc p {
        padding: 0;
        font-size: 1.1em;
        line-height: 1.8;
        color: #444;
    }

    .section-bloc p + p {
        border-top: 1px solid #ddd;
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .section-bloc ul {
        list-style: none;
        padding: 0;
        margin: 1rem auto;
        max-width: 90%;
        text-align: left;
    }

    .section-bloc li {
        position: relative;
        padding-left: 1.5rem;
        margin: 0.5rem 0;
        font-size: 1.1em;
        color: #333;
        line-height: 1.8;
    }

    .section-bloc li::before {
        content: '✔';
        position: absolute;
        left: 0;
        color: #0077b5;
        font-size: 1rem;
    }

    .section-bloc h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
        color: #222;
    }

    .section-projet {
        background-color: white;
        padding: 30px;    margin: 20px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        width: 300px;
        transition: transform 0.2s;
    }

    .section-projet:hover {
        transform: translateY(-5px);
    }

    .section-projet h3 {
        font-weight: bold;
        margin-bottom: 10px;
    }

    .section-projet a {
        color: blue;
        text-decoration: underline;
    }
    #projets {
        display: flex;
        gap: 15px;             /* espace entre les blocs */
        padding: 20px;
        background-color: #f0f0f0;
        margin-bottom: 30px;   /* marge en dessous de la section projets */

    }

    .projet {
        background-color: white;
        border: 1px solid #ccc;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 15px;
        width: 300px;          /* largeur fixe pour mini bloc */
        transition: transform 0.3s ease;
    }

    .projet:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    }
    body {
        font-size: 18px;
        line-height: 1.6;
        font-family: Arial, sans-serif;
    }
    .bouton-style {
        display: inline-block;
        padding: 10px 15px;
        background-color: #0077b5;
        color: white;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
    }
    li.valide::before {
        content: "✔ ";
        color: green;
        font-weight: bold;
    }

    li.non-valide::before {
        content: "✖ ";
        color: red;
        font-weight: bold;
    }
    .competences-list {
        list-style: none;
        padding-left: 0;
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }

    .competences-list li {
        position: relative;
        padding-left: 30px; /* place pour le symbole */
        margin-bottom: 12px;
        font-size: 1.1em;
        line-height: 1.5;
        white-space: nowrap; /* empêche le retour à la ligne */
        overflow: visible; /* assure que le contenu est visible */
    }

    .competences-list li.valide::before {
        content: '✔';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        color: green;
        font-weight: bold;
        font-size: 1.2em;
    }

    .competences-list li.non-valide::before {
        content: '✖';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        color: red;
        font-weight: bold;
        font-size: 1.2em;
    }
    /* Styles pour les images "trace" qui accompagnent le texte */
    .trace {
        display: block;
        max-width: 400px;      /* Largeur max pour garder une taille raisonnable */
        width: 100%;           /* Adaptation à la largeur du conteneur */
        margin: 1.5rem auto;   /* Centrer avec marge verticale */
        border: 2px solid #444; /* Bordure sombre */
        border-radius: 8px;     /* Bords arrondis */
        box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Légère ombre portée */
    }

    /* Légende sous l'image */
    .trace-caption {
        text-align: center;
        font-style: italic;
        color: #666;
        margin-top: 0.3rem;
        font-size: 0.9rem;
        font-family: Arial, sans-serif;
    }
    img.trace {
        transition: transform 0.3s ease-in-out;
        display: inline-block;
    }

    img.trace:hover {
        transform: scale(2.5);
        z-index: 1;
    }
