* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/*-------------------------------------------------HERO-SECTION-----------------------------------------------*/
.video {
    background-size: cover;
    background-position: center;
    padding: 50px 0;
}
.espace-hero{
    padding: 5%;
}

.blur {
    background-color: rgba(0, 0, 0, 0.5); /* Noir avec opacité */
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;

}

.blur h1, .blur p {
    color: white;
}

.container-video {
    margin-top: 20px;
}

.container-video iframe {
    display: block;
    margin: 0 auto 20px auto; /* Ajoute un espace de 20px en bas de la vidéo */
    border-radius: 10px;
}

/*-----------------------------------------PRESENTATION-PROMO----------------------------------------------*/
.titre-promo {
    text-align: center;
    font-size: 3rem;
    background-color: black;
    color: white;
    padding: 1%;
}

.conteneur-promo a {
    display: flex;
    justify-content: center;
    background-color: black;
    padding: 2%;
}

.conteneur-promo img {
    height: auto;
    width: 25%;
}

/*-----------------------------------------PRESENTATION-PRODUIT----------------------------------------------*/
.presentation-produit {
    text-align: center;
    padding: 100px 5%;
    background-color: #000;
    color: #fff;
}

.presentation-produit h2 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
}

.intro-text {
    font-size: 1.5rem;
    color: #ddd;
    margin-bottom: 50px;
    font-style: italic;
}

.produit-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 90%;
    margin: 0 auto;
}

.produit {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 8px 20px rgba(255, 255, 255, 0.15);
    padding: 40px;
    width: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.produit:hover {
    transform: scale(1.02);
    box-shadow: 0px 12px 25px rgba(255, 255, 255, 0.25);
}

.produit img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    margin-right: 40px;
    object-fit: cover;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.texte {
    text-align: left;
    flex: 1;
}

.texte h3 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: bold;
}

.slogan {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

.texte ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.texte ul li {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.texte ul li:before {
    content: "✔";
    color: #000;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

/*-------------------------------------------------CATALOGUE--------------------------------------------------*/
.catalogue {
    background-color: white;
    color: black;
}

.container-catalogue {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4%;
    gap: 2%;
}

.container-catalogue img {
    max-width: 100%;
}

.container-catalogue a {
    transition: 1s;
}

.container-catalogue a:hover {
    scale: 1.05;
}

.catalogue h2 {
    text-align: center;
    font-size: 2.5rem;
    padding: 2%;
}

/*-----------------------------------------------BAS-DE-PAGE--------------------------------------------------*/
#scrollToBottomBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: block;
    background-color: #000000;
    color: white;
    border: none;
    padding: 20px 26px;
    font-size: 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s;
    box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #ffffff;
}

#scrollToBottomBtn:hover {
    background-color: #000000;
}
.fleche {
    background-color: #000000;
    color: white;
    border: none;
    padding: 22px 30px;
    font-size: 2.8rem;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s;
    box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #ffffff;
    position: fixed; /* Changé de absolute à fixed */
    bottom: 20px;
    right: 20px; /* Remplacé left par right pour la position à droite */
    /* transform: translateX(-50%); */ /* Plus nécessaire */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
}

/*-------------------------------------------------LE COIN DES AFFAIRES--------------------------------------------------*/
.coin-affaires {
    background-color: black;
    padding: 80px 5%;
    text-align: center;
}

.coin-affaires h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
}

.coin-affaires .intro-text {
    font-size: 1.3rem;
    color: #ddd;
    margin-bottom: 40px;
}

.container-affaires {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 90%;
    margin: 0 auto;
}

.affaire {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affaire:hover {
    transform: scale(1.03);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.affaire img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.texte-affaire {
    text-align: left;
}

.texte-affaire h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 10px;
}

.texte-affaire p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
}

.bouton-affaire {
    display: inline-block;
    background-color: #0994dc;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.bouton-affaire:hover {
    background-color: #077bb5;
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    .pergola {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    .pergola img {
        margin: 0 auto 10px auto;
        width: 80%;
    }
    .container-video iframe {
        order: -1;
        margin-bottom: 20px;
    }
    .container-video {
        flex-direction: column;
        text-align: center;
    }
    .container-video p {
        max-width: 100%;
        font-size: 1.4rem;
    }
    .container-affaires {
        flex-direction: column;
        align-items: center;
    }
    .affaire {
        width: 90%;
    }
    .presentation-produit {
        padding: 60px 5%;
    }

    .presentation-produit h2 {
        font-size: 2.5rem;
    }

    .intro-text {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    .produit {
        flex-direction: column;
        padding: 30px;
    }

    .produit img {
        width: 100%;
        max-width: 300px;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .texte {
        text-align: center;
    }

    .texte h3 {
        font-size: 1.8rem;
    }
    .video h1 {
        padding-top: 35%;
    }

    /* Ajout pour le catalogue en mobile */
    .container-catalogue {
        flex-direction: column;
        gap: 20px;
    }

    .container-catalogue a {
        width: 80%;
        margin: 0 auto;
    }

    .conteneur-promo img {
        width: 60%;
    }
}

@media (max-width: 563px) {
    .container-video iframe {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .presentation-produit {
        padding: 40px 5%;
    }

    .presentation-produit h2 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .produit {
        padding: 20px;
    }

    .produit img {
        max-width: 250px;
        margin-bottom: 20px;
    }

    .texte h3 {
        font-size: 1.5rem;
    }

    .slogan {
        font-size: 1rem;
    }

    .texte ul li {
        font-size: 1rem;
        padding-left: 20px;
    }

    .texte ul li:before {
        font-size: 1.1rem;
    }
    .video h1{
        padding-top: 50%;
    }

    /* Ajout pour le catalogue en petit mobile */
    .container-catalogue a {
        width: 95%;
    }

    .catalogue h2 {
        font-size: 2rem;
        padding: 4% 2%;
    }

    .conteneur-promo img {
        width: 90%;
    }
}