* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    min-height: 100vh;
    color: #111;
    background: linear-gradient(to bottom right, #fff0f0, #d4f5e0);
    overflow-x: hidden;
}


/* ================== */
/* Navigation         */
/* ================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 15px;
}

.menu ul li a {
    text-decoration: none;
    color: #f5f5f5;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.menu ul li a:hover {
    color: #0072f5;
}

.logo {
    height: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 0 5px #080aa5);
}


.burger {
    display: block;
    font-size: 32px;
    cursor: pointer;
    color: white;
    padding: 10px 20px;
    z-index: 1001;
    display: none;

}

.logo-mobile {
    height: 70px;

    display: none;
    margin-top: 0px;
}

/* ================== */
/* Responsive Mobile   */
/* ================== */

@media (max-width: 600px) {

    header .menu {
        display: flex;
        justify-content: space-between;
        /* logo à gauche, burger à droite */
        align-items: center;
        /* centré verticalement */
        padding: 10px 20px;
    }


    .burger {

        display: block;
    }

    .menu ul {
        flex-wrap: wrap;
        gap: 20px;
        display: none;
    }

    .logo-mobile {
        display: block;

    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }

    /* Menu mobile ouvert */
    .menu ul.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        /* sous le header */
        left: 0;
        width: 100%;
        background-color: rgba(30, 30, 47, 0.95);
        padding: 20px 0;
        gap: 20px;
        text-align: center;
    }

    .gallery {
        width: 100%;
        aspect-ratio: 16 / 9;
        /* largeur : hauteur = 16:9 */
        max-height: 180px;
        /* hauteur maximale pour mobile */
        border-radius: 12px;
        overflow: hidden;
        position: relative;
    }

    .gallery img {
        width: 100%;
        /* l'image prend toute la largeur du parent */
        height: 100%;
        /* l'image prend toute la hauteur du parent */
        object-fit: cover;
        /* remplissage sans déformation */
        position: absolute;
        top: 0;
        left: 0;
    }

}





/* ================== */
/* Hero Section       */
/* ================== */
.hero {
    height: 100vh;
    background-image: url('img/heroDesktop4.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;

}


.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: #fff;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    padding-top: 0px;
}

.hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #f0eff1;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.7);
    max-width: 90%;
    margin: 0 auto 2rem auto;
}


.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #0072f5;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;

}

.btn-primary:hover {
    background-color: #005fcc;
}

.pub p {

    position: relative;
    top: 110px;

}


/* ================== */
/* Blocs / Gallery / Formulaire */
/* ================== */
.bloc {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: rgba(255, 255, 245, 0.6);
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.gallery {
    position: relative;
    /* pour superposer les images */
    width: 100%;
    max-width: 900px;
    /* ajuste selon ton design */
    height: 500px;
    /* ajuste selon tes images */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}


.gallery img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 12px;
}

.gallery img.active {
    opacity: 1;
}


.gallery img:hover {
    transform: scale(1.05);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea,
form fieldset {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
}

form button {
    padding: 12px 20px;
    background-color: #0072f5;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background-color: #005fcc;
}

.coordonnees {
    margin-top: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(30, 30, 47, 0.6);
    color: #f5f5f5;
}

/* ================== */
/* Animations Hero     */
/* ================== */
@keyframes fadeZoom {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* ================== */
/* Lightbox            */
/* ================== */
.lightbox {
    display: none;
    /* cachée par défaut */
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* overlay sombre */
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.lightbox img:hover {
    transform: scale(1.05);
}

/* Bouton fermer */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox .close:hover {
    color: #0072f5;
}

/* Flèches de navigation */
.lightbox .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    padding: 10px;
}

.lightbox .nav:hover {
    color: #0072f5;
}

.lightbox .left {
    left: 30px;
}

.lightbox .right {
    right: 30px;
}

/* Responsive */
@media (max-width: 600px) {
    .lightbox img {
        max-width: 95%;
        max-height: 70%;
    }

    .lightbox .close {
        font-size: 2rem;
        top: 15px;
        right: 20px;
    }

    .lightbox .nav {
        font-size: 2.5rem;
        padding: 5px;
    }

    .lightbox .left {
        left: 15px;
    }

    .lightbox .right {
        right: 15px;
    }
}

.yt-thumbnail img {
    width: 100%;
    /* s’adapte à la largeur du conteneur */
    max-width: 400px;
    /* taille max */
    border-radius: 12px;
    /* coins arrondis */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.yt-thumbnail img:hover {
    transform: scale(1.05);
    /* petit zoom au survol */
}

h2 {
    margin-top: 40px;
    margin-bottom: 10px;
}

/* ============================= */
/* Section Avis - MVNettoyage      */
/* ============================= */

#avis {
    background: linear-gradient(135deg, #f0f8ff, #d4f5e0);
    /* fond doux et lumineux */
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#avis h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #007bff;
    /* couleur bleue pour confiance et propreté */
    margin-bottom: 20px;
}

#avis p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 30px;
}

#avis .btn-primary {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

#avis .btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.4);
    transform: translateY(-3px);
}

/* ============================= */
/* Section Contact - MVNettoyage  */
/* ============================= */

#contact {
    background: linear-gradient(135deg, #f0f8ff, #d4f5e0);
    padding: 60px 20px;
    border-radius: 12px;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    font-family: 'Inter', sans-serif;
}

#contact h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.3rem;
    color: #007bff;
    margin-bottom: 25px;
    text-align: center;
}

#contact label {
    display: block;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #333;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact textarea,
#contact input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

#contact textarea {
    resize: vertical;
}

#contact fieldset {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

#contact legend {
    font-weight: 600;
    padding: 0 5px;
    color: #007bff;
}

#contact button {
    background-color: #007bff;
    color: #fff;
    font-weight: 600;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

#contact button:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 20px rgba(51, 86, 179, 0.4);
    transform: translateY(-3px);
}

#contact .coordonnees {
    margin-top: 30px;
    text-align: center;
    font-size: 1rem;
    color: #555;
}

#contact .coordonnees h3 {
    margin-bottom: 10px;
    color: #007bff;
    font-weight: 600;
}

/* ============================= */
/* Responsive - Mobile           */
/* ============================= */
@media (max-width: 768px) {
    #contact {
        padding: 40px 15px;
    }

    #contact h2 {
        font-size: 2rem;
    }

    #contact button {
        width: 100%;
        padding: 15px 0;
    }

    #contact fieldset {
        padding: 10px;
    }
}

/* Section Présentation */
.presentation {
    background: #f4f4f4;
    padding: 3rem 1rem;
    text-align: center;
}

.presentation .container {
    max-width: 900px;
    margin: 0 auto;
}

.intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.services {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.services li {
    font-size: 1.125rem;
    color: #555;
    margin: 0.5rem 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.services li::before {
    content: '✔';
    color: #4caf50;
    position: absolute;
    left: 0;
    top: 0;
}