* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* Hero */
.hero {
    background: url('https://res.cloudinary.com/dpiveidbu/image/upload/v1745055473/bg_mmueey.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #393cfa;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}
.btn:active {
    background-color: #272aeeee;
    transform: scale(0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* Les Marques */
.marques-content button {
    border: none;
    background: none;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-style: italic;
}
.marques button:hover {
    transform: scale(1.1);
}
.marques {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.39);
    padding: 7px 0;
    margin-top: 10px;
  }
  
  .marques-content {
    display: inline-flex;
    gap: 20px;
    white-space: nowrap;
  }
  .marques-track {
    display: flex;
    width: fit-content;
    animation: scroll 10s linear infinite;
  }
  
  .marques-content {
    display: flex;
    gap: 20px;
  }
  
  .marques-content button {
    background: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
  }
  
  /* Animation fluide */
  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  

/* Section Bio */
.bio {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}
.images {
    display: flex;
}
.images img {
    max-height: 300px;
    max-width: 250px;
    border-radius: 15px;
}
img.img1 {
    margin-top: 70px;
}
img.img2 {
    margin-left: -50px;
}
img.img3 {
    margin-top: 170px;
    margin-left: -180px;
}
.texte {
    padding: 10px;
    max-width: 600px;
    font-size: 25px;
}
.texte h2 {
    margin: 10px 0 20px 0;
}
.bio p {
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .images {
        margin-left: -20px;
    }
    .images img {
        height: 200px;
        width: 150px;
        border-radius: 15px;
    }
    img.img1 {
        margin-top: 70px;
    }
    img.img2 {
        margin-left: -50px;
    }
    img.img3 {
        margin-top: 170px;
        margin-left: -180px;
    }
    .texte {
        font-size: 20px;
    }
    .btn {
        font-size: 14px;
    }
    .newsletter button[type="submit"] {
        padding: 6px;
    }
}


/* Sections Produits  */
.products {
    text-align: center;
    padding: 20px 50px;
}
.products button.more-btn {
    cursor: pointer;
    border: none;
    display: inline-block;
    padding: 10px 22px;
    margin-top: 20px;
    margin-bottom: 10px;
    background: #272aeeee;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}
.products button.more-btn:active {
    transform: scale(0.9);
}
.product-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    overflow-x: auto;         /* Active le scroll horizontal */
    padding: 10px 0 10px 10px;      /* Un petit espace pour que le scroll ne soit pas coupé */
    scrollbar-width: thin;    /* Scroll discret (Firefox) */
    -webkit-overflow-scrolling: touch; /* Scroll fluide sur mobile */
    justify-content: flex-start;
}
.product-grid::-webkit-scrollbar {
    height: 8px;
    display: none;
}

.product-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.product {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 180px;
    height: 250px;
    flex: 0 0 auto;
    overflow: hidden;
}

.product img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7); /* Assombrit l'image (0.7 = 70% de luminosité) */
    transition: filter 0.3s; /* Transition fluide au hover */
}

/* Overlay sombre supplémentaire (optionnel) */
.product::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Couche sombre semi-transparente */
    z-index: 1;
}

.product p {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    padding: 20px;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-weight: bold; /* Texte en gras */
    font-size: 1.1em; /* Taille de police légèrement augmentée */
}

.products h2 {
    color: black;
    margin-bottom: 20px;
}

/* Effet Hover */
.product:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}
.product:active {
    transform: scale(1);
}
.product:hover img {
    filter: brightness(0.9); /* L'image s'assombrit encore plus au survol */
}

/* Hero 2 */
.hero2 {
    height: 350px;
    background: url('https://res.cloudinary.com/dpiveidbu/image/upload/v1745055472/promo_jqrsgv.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero2 h2 {
    font-size: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8)
}

/* Newsletter */
.newsletter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
}
.newsletter-popup {
    color: #fff;
  }
  
.newsletter h2 {
    color: #3033d6ee;
    font-size: 20px;
  }
  
.newsletter p {
    font-size: 12px;
    margin: 10px 0px;
    color: #ccc;
  }
  
.newsletter form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
  }
  
.newsletter input[type="email"] {
    padding: 10px 7px;
    border: none;
    width: 100%;
    font-size: 14px;
  }
  
.newsletter button[type="submit"] {
    border: none;
    background-color: #3033d6ee;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
.newsletter button[type="submit"]:hover {
    background-color: #3182ce;
  }
.newsletter button[type="submit"]:active {
    transform: scale(0.9);
}

@media (max-width: 768px) {
    .newsletter {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

/* Présentation */
.presentation {
    max-width: 800px;
    margin: 50px auto 50px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.presentation h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.presentation p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.presentation span {
    font-weight: bold;
    color: #272aeeee;
}
