/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #018c05;
}

/* --- Effet de fond de page (Parallaxe) --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('beach.jpg'); /* Assurez-vous que cette image existe */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.2;
}

/* En-tête */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 35px;
}

.navigation ul {
    list-style: none;
    display: flex;
}

.navigation ul li {
    margin-left: 20px;
}

.navigation ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 700;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.navigation ul li a:hover {
    color: #267e44;
}

/* Styles pour le menu déroulant */
.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
}

/* Contenu principal */
.main-content {
    width: 100%;
    margin: auto;
}

/* Section Carrousel (en haut) */
.carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 100px;
    height: 850px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
    height: 1600px;
}

.carousel-slide img {
    width: 100%;
    height: 1000px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%);
}

.carousel-caption .caption-logo {
    height: 70px;
    margin-bottom: 20px;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.carousel-caption p {
    font-size: 1.5rem;
    color: #fff;
}

/* Bordure inclinée du bas du carrousel */
.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background: #f4f4f4;
    transform: skewY(-3deg);
    transform-origin: bottom left;
    z-index: 10;
}

/* Boutons de navigation du carrousel principal */
.prev-button, .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 101;
    border-radius: 5px;
}

.prev-button { left: 20px; }
.next-button { right: 20px; }

.carousel-dots {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 101;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #267e44;
}

/* --- Nouvelle Section (American Cola) --- */
.product-info-section {
    position: relative;
    z-index: 3;
    background-color: transparent;
    margin-top: -100px;
}

/* Bloc blanc du haut (sans slider de logos) */
.info-top-block {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 150px 50px 400px 50px;
    z-index: 5;
    overflow: hidden;
    transform: skewY(-3deg);
    transform-origin: top left;
    margin-top: 0;
    padding-top: calc(150px + 30px);
    height: 700px;
}

/* Conteneur pour le logo et le texte unique (Appliqué aux deux pages) */
.text-and-logo-container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    z-index: 2;
    transform: skewY(3deg);
    align-items: center; 
    margin-top: 30px;
}

/* ------------------------------------------------------------------- */
/* Règle pour le logo unique (utilisé sur la page d'accueil) */
.single-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-logo img {
    max-width: 200px;
}

/* NOUVELLE RÈGLE : Conteneur pour les trois logos (utilisé sur la page Boissons) */
.multiple-logos-container {
    flex: 1;
    display: flex;
    /* Aligne les logos horizontalement à gauche du texte */
    justify-content: flex-start;
    align-items: center;
    margin-left: -200px;
   
    /* Ajoute un petit espace à gauche pour l'alignement */
    padding-left: -300px; 
    /* Met une hauteur fixe pour maintenir l'alignement vertical du texte */
    height: 300px; 
}

.multiple-logos-container .product-logo {
    /* Définit une largeur maximale pour chaque logo dans le conteneur */
    max-width: 100%; 
    height: auto;
    object-fit: contain;
    margin-right: 170px; /* Espace entre les logos */
    padding-right: 70px;
}
/* ------------------------------------------------------------------- */


.single-text-block {
    flex: 1;
    padding-left: 200px;
    /* Propriétés pour le centrage vertical */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Propriétés pour assurer que le contenu est aligné à gauche */
    align-items: flex-start;
    text-align: left;
}

.single-text-block h3 {
    font-size: 1.5rem;
    color: #267e44;
    margin-bottom: 5px;
    text-align: left;
}

.single-text-block p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

/* --- Bloc incliné unifié (Gris + Vert) - Page d'accueil --- */
.red-block-container {
    width: 100%;
    z-index: 4;
    overflow: hidden;
    color: #fff;
    transform: skewY(-3deg);
    transform-origin: top left;
    margin-top: -30px;
    background: linear-gradient(to right, #888888 0%, #888888 50%, #267e44 50%, #1b5c32 100%);
    height: 700px;
    position: relative;
    
}
/* --- NOUVELLE RÈGLE POUR LE BLOC PRODUIT ORANGE (PAGE BOISSONS) --- */
.orange-block-container {
    position: relative;
    width: 100%;
    z-index: 4;
    overflow: hidden;
    color: #fff;
    transform: skewY(-3deg);
    transform-origin: top left;
    margin-top: -250px;
    /* DÉGRADÉ ORANGE (remplace le dégradé vert/gris) */
    background: linear-gradient(to right, #FF8C00 0%, #FF8C00 50%, #FF4500 50%, #CC3700 100%);
    height: 700px;
}


/* Styles pour les sections à l'intérieur du conteneur incliné (Applicable à Red/Orange) */
.info-bottom-block {
    padding: 150px 50px 400px 50px;
    transform: skewY(3deg);
    transform-origin: top left;
    display: flex;
}

.split-slider-container {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    z-index: 2;
    overflow: hidden;
}

.slider-left-visuals, .slider-right-details {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}


.slider-right-details {
    padding-left: 0;
}

.slider-inner-visuals,
.slider-inner-details {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

/* Style de chaque élément du carrousel */
.slider-item {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 0;
    padding-left: 100;
}

/* Style pour le conteneur du texte */
.text-wrapper {
    max-width: 90%;
    margin: 0 auto;
    padding-left: 20px;
}

.slider-item img {
    max-height: 400px;
    object-fit: contain;
    margin-right: 0;
}

/* On supprime les lignes rouges car elles ne sont pas sur le modèle */
.slider-item::before, .slider-item::after {
    display: none;
}

/* --- Boutons de navigation des sliders (bas) --- */
.info-bottom-block .bottom-prev-button, .info-bottom-block .bottom-next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 5;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.info-bottom-block .bottom-prev-button:hover, .info-bottom-block .bottom-next-button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Ajustement pour positionner les boutons sur le conteneur */
.info-bottom-block .bottom-prev-button { right: 20px; }
.info-bottom-block .bottom-next-button { left: 20px; }

/* ======================================= */
/* RÈGLES D'ADAPTABILITÉ POUR LES TÉLÉPHONES ET TABLETTES */
/* ======================================= */

/* Les règles ci-dessous s'appliquent lorsque l'écran fait 768px de large ou moins */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 10px 20px;
    }

    .logo {
        margin-bottom: 10px;
    }

    .navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .navigation ul li {
        margin: 5px 0;
    }

    /* Ajustement des sections pour les mobiles */
    .carousel-section {
        margin-bottom: -50px;
    }

    .carousel-slide img {
        height: 500px;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-slide::after {
        height: 50px;
    }

    .prev-button, .next-button {
        display: none;
    }

    .info-top-block,
    .red-block-container,
    .orange-block-container,
    .location-section,
    .main-footer {
        transform: none;
        margin-top: 0;
        padding: 20px;
    }

    .info-bottom-block {
        flex-direction: column;
        padding: 20px;
        transform: none;
    }

    .split-slider-container {
        flex-direction: column;
        transform: none;
    }
    
    .slider-left-visuals, .slider-right-details {
        border-right: none;
    }
    
    .slider-item {
        padding-left: 0;
    }

    .slider-item img {
        max-height: 250px;
    }
    
    .bottom-prev-button, .bottom-next-button {
        display: none;
    }
    
    .main-footer .footer-content {
        flex-direction: column;
    }

    .footer-col {
        min-width: 100%;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Adaptabilité des logos sur la page Boissons */
    .multiple-logos-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        height: auto;
    }

    .multiple-logos-container .product-logo {
        max-width: 50%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* ======================================= */
/* RÈGLES SPÉCIFIQUES AUX AUTRES PAGES */
/* ======================================= */

.main-page {
    padding-top: -5px;
    align-content: center;
}

.page-header {
    background-color: #f4f4f4;
    padding: 50px 0;
    text-align: center;
    
}

.page-header h1 {
    font-size: 3rem;
    color: #267e44;
}

.page-header p {
    font-size: 1.2rem;
    color: #555;
    margin-top: 10px;
}

/* Styles pour les sections de service (pages Industrie, Distribution, Communication) */
.service-image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}

.service-image-item {
    flex: 1 1 calc(20% - 30px); /* 5 items par ligne */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-image-item:hover {
    transform: translateY(-5px);
}

.service-image-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-image-item h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #267e44;
}

.service-image-item p {
    padding: 0 15px 15px;
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 1200px) {
    .service-image-item {
        flex: 1 1 calc(33.333% - 30px); /* 3 items par ligne */
    }
}

@media (max-width: 768px) {
    .service-image-item {
        flex: 1 1 calc(50% - 30px); /* 2 items par ligne */
    }
}

/* Styles pour la page 'Nous Contacter' */
.contact-form-section {
    margin-top: -5px;
    padding: 50px;
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.contact-container form .form-group {
    margin-bottom: 20px;
}

.contact-container form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-container form input,
.contact-container form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-container .submit-button {
    background-color: #267e44;
    color: #fff;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.contact-container .submit-button:hover {
    background-color: #1b5c32;
}

.contact-buttons-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.contact-buttons-container {
    display: flex;
    gap: 20px;
    margin-bottom: 100px;
}

.contact-button {
    text-decoration: none;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.contact-button i {
    font-size: 1.5rem;
}

.contact-button.call-button {
    background-color: #007BFF;
}

.contact-button.email-button {
    background-color: #DC3545;
}

.contact-button:hover {
    transform: translateY(-5px);
}

.social-icons-container {
    display: flex;
    gap: 15px;
}

.social-icons-container a {
    color: #555;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-icons-container .whatsapp:hover { color: #25D366; }
.social-icons-container .facebook:hover { color: #1877F2; }
.social-icons-container .linkedin:hover { color: #0A66C2; }
.social-icons-container .twitter:hover { color: #1DA1F2; }
.social-icons-container .instagram:hover { color: #E4405F; }

/* ======================================= */
/* FOOTERS */
/* ======================================= */

/* Styles pour le footer de la page d'accueil */
.main-footer:not(.green-background) {
    position: relative;
    background-color: #424242;
    color: #fff;
    padding: 40px 50px;
    z-index: 5;
    margin-top: 100px;
    overflow: hidden;
}

.main-footer .footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.main-footer .footer-col {
    flex: 1;
    min-width: 180px;
    margin-bottom: 20px;
}

.main-footer .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.main-footer .footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: #fff;
}

.main-footer .footer-col ul {
    list-style: none;
}

.main-footer .footer-col ul li {
    margin-bottom: 10px;
}

.main-footer .footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-footer .footer-col ul li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.main-footer .footer-col.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.main-footer .footer-col.footer-logo p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.main-footer .social-icons {
    margin-top: 20px;
}

.main-footer .social-icons a {
    display: inline-block;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.main-footer .social-icons a:hover {
    transform: translateY(-3px);
}

/* Styles pour le footer des autres pages (vert) */
.main-footer.green-background {
    position: relative;
    background-color: #2b2b2b;
    color: #fff;
    padding: 100px 50px 30px;
    z-index: 5;
    transform: none;
    margin-top: -100px;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('etoiles.png'); /* Assurez-vous que cette image existe */
    background-size: cover;
    opacity: 0.1;
}

.footer-content-new {
    max-width: 900px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.footer-col-new {
    flex: 1;
    text-align: left;
    margin: 0 20px;
}

.footer-col-new h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    font-weight: bold;
}

.footer-col-new h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background-color: #fff;
}

.footer-col-new ul {
    list-style: none;
    
}

.footer-col-new ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.footer-col-new ul li i {
    font-size: 1rem;
    
}

.footer-col-new ul li span {
    font-size: 0.95rem;
}

.footer-col-new ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    
}

.footer-col-new ul li a:hover {
    color: #ddd;
}

.social-icons-col {
    text-align: left;
}

.social-icons-new {
    display: flex;
    justify-content: left;
    gap: 15px;
    margin-top: 20px;
   
}

.social-icons-new a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    
}

.social-icons-new a:hover {
    transform: translateY(-3px);
     text-align: left;
}

.footer-bottom-new {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.footer-logo-new img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-bottom-new p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ======================================= */
/* NOUVEAUX STYLES POUR LA PAGE NOS PRODUITS */
/* ======================================= */

.hero-product-image {
    width: 100%;
    max-height: 1500px; /* Ajustez la hauteur selon votre besoin */
    overflow: hidden;
    margin-bottom: 100px; /* Espace entre l'image et le titre */
    
}

.hero-product-image img {
    width: 100%;
    height: 200%;
    object-fit: cover; /* Recadre l'image pour remplir le conteneur */
    display: block;
}

.product-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px;
    max-width: 1800px;
    margin: auto;
    margin-bottom: 100px;
}

.product-item {
    flex: 1 1 calc(25% - 30px); /* 4 items par ligne */
    max-width: calc(25% - 30px); /* Pour éviter les dépassements sur de grands écrans */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Pour pousser le texte en bas */
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 400px; /* Hauteur fixe pour les images de produits */
    object-fit: cover;
    margin-bottom: 15px; /* Espace entre l'image et le titre */
}

.product-item h3 {
    font-size: 1.3rem;
    color: #D22B2B; /* Couleur du texte "Nos produits" sur votre image */
    text-align: center;
    padding-bottom: 15px; /* Espace sous le titre */
}

/* Media queries pour l'adaptabilité des produits */
@media (max-width: 992px) {
    .product-item {
        flex: 1 1 calc(33.333% - 30px); /* 3 items par ligne */
        max-width: calc(33.333% - 30px);
    }
}

@media (max-width: 768px) {
    .product-item {
        flex: 1 1 calc(50% - 30px); /* 2 items par ligne */
        max-width: calc(50% - 30px);
    }
    .hero-product-image {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .product-item {
        flex: 1 1 calc(100% - 30px); /* 1 item par ligne */
        max-width: calc(100% - 30px);
    }
}

/* ======================================= */
/* NOUVELLES RÈGLES POUR LE BLOC DE LOCALISATION */
/* ======================================= */
.location-section {
    position: relative;
    width: 100%;
    background-color: #f4f4f4;
    z-index: 3;
    overflow: hidden;
    /* La marge négative remonte la section sur la précédente */
    margin-top: -250px;
    margin-bottom: 100px; 
}

/* Le conteneur de la carte est redressé à l'intérieur de la section */
.location-section .map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    padding-top: 90px;
    padding-bottom: -50;
    /* La transformation pour un effet "tapis" */
    transform: skewY(-0deg);
}

.location-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* === Styles Dropdown inutilisés (à nettoyer si non utilisé) === */
.dropdown-menu.boissons-mega {
    width: 1000px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}
/* ... (autres styles de dropdown si existants) ... */

/* ======================================= */
/* RÈGLE POUR CENTRER L'ANCRE QUI SOMMES-NOUS DANS LA FENÊTRE */
/* ======================================= */

/* Ajoute une marge pour que le défilement vers l'ID soit centré 
   et ne soit pas caché sous l'en-tête "sticky" */
#qui-sommes-nous {
    scroll-margin-top: 100px; 
}



/* ======================================= */
/* --- NOUVELLE RÈGLE : ANIMATION SPLIT ON SCROLL --- */
/* ======================================= */

/* 1. Base Transition et État Initial (Caché/Rapproché) */
/* Cible tous les éléments à animer dans les deux blocs (Top Block et Bottom Block) */
.multiple-logos-container, 
.single-logo, 
.single-text-block, 
.slider-left-visuals, 
.slider-right-details {
    opacity: 0;
    /* Définit la transition pour une animation fluide */
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1.2s ease-in-out;
}

/* Éléments de gauche (Logos/Visuels) commencent poussés vers la droite (le centre) */
.multiple-logos-container, 
.single-logo {
    transform: translateX(100px);
}

.slider-left-visuals {
    transform: translateX(200px); /* Décalage plus grand pour le visuel produit */
}

/* Éléments de droite (Textes/Détails) commencent poussés vers la gauche (le centre) */
.single-text-block {
    transform: translateX(-100px);
}

.slider-right-details {
    transform: translateX(-200px); /* Décalage plus grand pour les détails produit */
}


/* 2. État Final (Séparé/Visible) - Déclenché par la classe .animate-split sur le parent */
.animate-split .multiple-logos-container,
.animate-split .single-logo,
.animate-split .single-text-block,
.animate-split .slider-left-visuals,
.animate-split .slider-right-details {
    opacity: 1;
    transform: translateX(0); /* Retour à la position originale (séparée) */
}




/* --- NOUVELLE RÈGLE POUR LE BLOC PRODUIT BLEU FONCÉ (PAGE DENTIFRICE) --- */
.blue-block-container {
    position: relative;
    width: 100%;
    z-index: 4;
    overflow: hidden;
    color: #ffffff;
    transform: skewY(-3deg);
    transform-origin: top left;
    margin-top: -250px;
    /* DÉGRADÉ BLEU FONCÉ */
    background: linear-gradient(to right, #001f3f 0%, #001f3f 50%, #000080 50%, #00004d 100%);
    height: 700px;
}
/* Le reste des styles de .info-bottom-block s'applique automatiquement */







/* --- Animation produits Nos Produits --- */
.product-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 50px auto;
    max-width: 1800px;
    position: relative;
    margin-top: -70px;
}

.product-grid-container .product-item {
    flex: 1 1 calc(40% - 50px); /* 4 par ligne */
    min-width: 400px;
    text-align: center;
    opacity: 0;
    transform: translate(0, 0);
    transition: all 0.8s ease-in-out;
    position: relative;
}

/* État avant animation : tous au centre (superposés) */
.product-grid-container:not(.animate-products) .product-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: -50px;
}

/* État animé : chacun reprend sa vraie place */
.product-grid-container.animate-products .product-item {
    position: relative;
    top: auto;
    left: auto;
    transform: translate(0, 0);
    opacity: 1;
}

/* Effet cascade (délai différent par produit) */
.product-grid-container.animate-products .product-item:nth-child(1) { transition-delay: 0.1s; }
.product-grid-container.animate-products .product-item:nth-child(2) { transition-delay: 0.2s; }
.product-grid-container.animate-products .product-item:nth-child(3) { transition-delay: 0.3s; }
.product-grid-container.animate-products .product-item:nth-child(4) { transition-delay: 0.4s; }
.product-grid-container.animate-products .product-item:nth-child(5) { transition-delay: 0.5s; }
.product-grid-container.animate-products .product-item:nth-child(6) { transition-delay: 0.6s; }
.product-grid-container.animate-products .product-item:nth-child(7) { transition-delay: 0.7s; }
.product-grid-container.animate-products .product-item:nth-child(8) { transition-delay: 0.8s; }




/* --- Animation spéciale uniquement sur la page Nos Produits --- */
.nos-produits-page .product-grid-container {
    position: relative;
}

.nos-produits-page .product-grid-container .product-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
    position: relative;
}

/* Quand la section s'anime */
.nos-produits-page .product-grid-container.animate-products .product-item {
    opacity: 1;
    transform: translateY(0);
}

/* Cascade */
.nos-produits-page .product-grid-container.animate-products .product-item:nth-child(1) { transition-delay: 0.1s; }
.nos-produits-page .product-grid-container.animate-products .product-item:nth-child(2) { transition-delay: 0.2s; }
.nos-produits-page .product-grid-container.animate-products .product-item:nth-child(3) { transition-delay: 0.3s; }
.nos-produits-page .product-grid-container.animate-products .product-item:nth-child(4) { transition-delay: 0.4s; }
.nos-produits-page .product-grid-container.animate-products .product-item:nth-child(5) { transition-delay: 0.5s; }
.nos-produits-page .product-grid-container.animate-products .product-item:nth-child(6) { transition-delay: 0.6s; }
.nos-produits-page .product-grid-container.animate-products .product-item:nth-child(7) { transition-delay: 0.7s; }
.nos-produits-page .product-grid-container.animate-products .product-item:nth-child(8) { transition-delay: 0.8s; }


/* Style du menu déroulant */
.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;      /* fond blanc */
    border: 1px solid #ddd;
    min-width: 100px;      /* largeur minimale propre */
}

/* Chaque item du dropdown */
.dropdown-menu li {
    border-bottom: 1px solid #ddd; /* ligne qui traverse tout le cadre */
     margin-right: 15px;
}

/* Supprimer la ligne après le dernier */
.dropdown-menu li:last-child {
    border-bottom: none;
}

/* Les liens prennent toute la largeur */
.dropdown-menu li a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: #333;
   
}
