/* Style général du corps */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
body {
    background-color: var(--couleur-fond);
    color: var(--couleur-texte);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Style pour l'en-tête */
#main-header {
    background-color: var(--couleur-fond);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#main-header.scrolled {
    transform: translateY(-100%);
}

/* Style pour le menu de navigation */
.navbar {
    background-color: var(--couleur-fond);
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--couleur-texte);
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: var(--couleur-accent);
}

/* Style pour le lien "Connexion" et l'icône panier */
.navbar-nav.ms-auto .nav-link {
    color: var(--couleur-texte);
    padding: 0.5rem 1rem;
}

.navbar-nav.ms-auto .bi-cart {
    font-size: 1.2rem;
    margin-right: 5px;
    color: var(--couleur-texte);
}

/* Style pour le bouton de connexion */
.navbar-nav.ms-auto .nav-link.connexion {
    border: 1px solid var(--couleur-secondaire);
    border-radius: 5px;
    padding: 0.3rem 1rem;
}

.navbar-nav.ms-auto .nav-link.connexion:hover {
    background-color: var(--couleur-secondaire);
    color: white;
}

/* Style pour le pied de page */
footer {
    background-color: var(--fonNoir);
    color: white;
}

footer a {
    color: var(--couleur-accent);
}

footer a:hover {
    text-decoration: underline;
}

/* */
.containerVert {
	background-color: var(--fondVert);
	/* linear-gradient(135deg, var(--fondVert) 0%, var(--VertClair) 100%); */
	padding: 0 5rem;
 }

.containerRose {
	background-color: var(--fondRose);
	padding: 0 5rem;
 }

.containerBleu {
	background-color: var(--fondBleu);
	padding: 0 5rem;
 }

.containerCreme {
	background-color: var(--fondCreme);
	padding: 0 5rem;
 }

.containerVertClair {
	background-color: var(--vertClair);
	padding: 0 5rem;
 }
 
.containerBase {
	background-color: var(--fondBlanc);
	padding: 0 5rem;
 }
  
/* Style pour la section centrale */
.section-centrale {
   /* padding: 5rem 0; */
    color: white;
}

.section-centrale h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.section-centrale p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Style pour les boutons */

.btn-creme {
	background-color: var(--fondCreme);
}

.btn-gris {
	background-color: var(--fondGris);
}

.btn-custom-primary {
    background-color: var(--fondCreme);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    border: none;
}

.btn-custom-primary:hover {
    background-color: #4E342E; /* Une teinte plus foncée du marron */
}

.btn-custom-outline {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    background-color: transparent;
}

.btn-custom-outline:hover {
    background-color: white;
    color: var(--couleur-primaire);
}

/* Style pour l'image */
.img-fluid.rounded {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style pour la section des types d'utilisation */
.utilisation-item {
    transition: transform 0.3s ease;
    padding: 10px;
}

.utilisation-item:hover {
    transform: translateY(-10px);
}

.utilisation-item img {
    border: 2px solid #8BC34A;
    transition: border-color 0.3s ease;
}

.utilisation-item:hover img {
    border-color: #FFC107;
}

.utilisation-item p {
    color: #5D4037;
    font-size: 1rem;
}

/* Style pour la section de citation */
.citation-container {
    border-left: 4px solid #8BC34A;
}

.citation-container blockquote {
    margin: 0;
    padding: 0 20px;
}

.citation-container p {
    font-size: 1.5rem;
    line-height: 1.6;
}

.citation-container footer {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Style pour la section expérience client */
.experience-client {
    border-left: 4px solid #FFC107;
}

.experience-client img {
    border: 3px solid #FFC107;
}

.experience-client p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
    
/* Style pour les boites Tirelires et le défilement des images  position: relative; ==================================*/
.scrolling-container {
    width: 100%;
        overflow-x: hidden; /* Cache la barre de défilement horizontale si nécessaire */
        overflow-y: hidden; /* Cache la barre de défilement verticale */
        position: relative; /* Nécessaire pour contenir correctement le contenu absolu */
        height: 100px; /* Définissez une hauteur fixe pour le conteneur */
        margin-top: 2em;
        margin-bottom: 2em;
}

.scrolling-content {
	overflow: hidden;
    display: flex;
    white-space: nowrap;
    position: absolute;
    animation: scroll-left 15s linear infinite;
}

.scrolling-image {
    margin-right: 200px; /* Espacement entre les images */
    height: 100px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Ajustez cette valeur en fonction du nombre d'images dupliquées */
    }
}

/* Conteneur pour Where to buy ======================================= */ 
.logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

/* Animation au survol */
.logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.logo-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.05);
}

.logo-etapes i {
        transition: transform 0.3s ease-in-out;
        color : var(--fondVert); 
    }

.logo-etapes:hover i {
        transform: translateX(-10px);
    }

/* Animation d'apparition progressive */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.col-lg-3 {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.col-lg-3:nth-child(1) {
    animation-delay: 0.2s;
}

.col-lg-3:nth-child(2) {
    animation-delay: 0.4s;
}

.col-lg-3:nth-child(3) {
    animation-delay: 0.6s;
}

.col-lg-3:nth-child(4) {
    animation-delay: 0.8s;
}

    .cta-button {
        display: inline-block;
        padding: 12px 30px;
        margin-top: 30px;
        background-color: #8BC34A;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .cta-button:hover {
        background-color: #7CB342;
        transform: translateY(-3px);
    }
