
/* ===== Police Lobster ===== */
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, li, span, div, button {
    font-family: 'Lobster', cursive !important;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1d2d63;
    padding: 10px 20px;
    color: white;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
}

.nav-links li {
    position: relative;
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 18px;
}

/* ===== Dropdown Modernisé ===== */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 180px;
    z-index: 999;
    animation: dropdownFade 0.3s ease;
    list-style: none;
    padding: 0;
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    color: #333;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: #4564f0;
    color: #f0dd38;
}

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

/* Animation fluide */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-image {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
}

.products {
    display: flex; /* Utilise Flexbox pour le conteneur */
    flex-wrap: wrap; /* Permet aux cartes de se réorganiser sur plusieurs lignes */
    justify-content: center; /* Centre les cartes horizontalement */
    gap: 20px; /* Espace entre les cartes */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Centrer le conteneur sur la page */
}


.product-card {
    border: 1px solid #ffffff;
    padding: 20px; /* Augmenter le padding pour donner plus de place à la carte */
    text-align: center;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Ombre plus prononcée pour un effet moderne */
    width: 280px; /* Augmenter la largeur de la carte */
    height: 350px; /* Augmenter la hauteur de la carte */
    margin: 20px; /* Ajout d'un peu d'espace autour de chaque carte */
    transition: transform 0.3s ease; /* Ajout d'une animation sur hover */
    border-radius: 30px;
}

.product-card img {
    width: 100%; /* Les images prennent toute la largeur de la carte */
    height: auto;
    max-width: 250px; /* Ajustement de la largeur de l'image à 200px */
    margin-bottom: 15px;
    border-radius: 15px;
}

.product-card h3 {
    font-size: 20px; /* Agrandir le titre */
    margin-bottom: 15px;
}

.product-card p {
    font-size: 16px; /* Agrandir la description */
    color: #555;
}

.product-card button {
    background: #333;
    color: rgb(30, 40, 131);
    padding: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    margin-top: auto;
    border-radius: 30px;
}

.product-card button:hover {
    background: #555;
}

/* Effet de survol sur la carte */
.product-card:hover {
    transform: translateY(-10px); /* Légère élévation au survol */
}


/* Styles du slider */
.image-slider {
    margin: 40px auto;
    width: 80%;
    overflow: hidden;
    display: flex;
    justify-content: center;  /* Centre le slider horizontalement */
}

.slider-container {
    width: 100%;
    display: flex;
    justify-content: center;  /* Assure que les images sont centrées dans le conteneur */
}

.slider {
    display: flex;
    transition: transform 1s ease;
    justify-content: center;  /* Centre les images dans la ligne */
}

.slider img {
    width: 300px; /* Largeur agrandie à 300px */
    height: 200px; /* Hauteur agrandie à 200px */
    margin-right: 20px;
    object-fit: cover; /* Assure que l'image couvre l'espace tout en préservant le ratio */
}



/* Responsivité */
@media (max-width: 1200px) {
    .products {
        grid-template-columns: repeat(4, 1fr); /* 4 colonnes pour les grands écrans */
    }
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes pour les tablettes */
    }

    .nav-links {
        gap: 100px; /* Réduction de l'espacement pour les petits écrans */
    }

    .product-card img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .products {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes pour les petits écrans */
    }

    .nav-links {
        gap: 50px; /* Espacement réduit */
    }

    .product-card img {
        max-width: 100px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .product-card p {
        font-size: 12px;
    }

    .product-card button {
        font-size: 12px;
    }
}
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #333;
}
.call-button {
    margin-bottom: 30px;
    background-color: #283ba7; /* Vert pour signaler un appel */
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.call-button:hover {
    background-color: #4674d6; /* Un vert plus foncé au survol */
}
.abonnement-card {
    background-color: #1d2d63; /* Bleu foncé */
    color: white;
    border: 2px solid #2843b7;
    padding: 25px;
    text-align: left;
}

.abonnement-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.abonnement-card .abonnement-details {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.abonnement-card .price {
    font-size: 18px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 15px;
}

.abonnement-card button {
    background-color: white;
    color: #1d2d63;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.abonnement-card button:hover {
    background-color: #ffcc00;
    color: #1d2d63;
}
.abonnement-button {
    display: inline-block;
    background: #ffffff;
    color: rgb(46, 46, 46);
    padding: 12px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.abonnement-button:hover {
    background: #ffc401;
}
/* Style pour la card L'essentiel */
/* Style pour la card L'essentiel */
.essentiel-card {
    background-color: #3397b6; /* Jaune clair */
    border: 2px solid #FFCA28;  /* Bordure jaune un peu plus foncée */
    padding: 20px;
    padding-bottom: 40px; /* Ajout de l'espace en bas pour ne pas que le bouton chevauche l'encadré */
    position: relative;
    transition: transform 0.3s ease;
}

.essentiel-card:hover {
    transform: translateY(-10px); /* Ajoute un léger effet de survol */
}

/* Style pour l'encadré Populaire */
.populaire-badge {
    position: absolute;
    bottom: -10px; /* Décalage par rapport au bas de la card pour éviter le chevauchement */
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF9800;  /* Orange pour l'encadré */
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 5px;
}
.footer {
    background-color: #1d2d63;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-links a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none; /* Enlève le soulignement */
}



/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        margin-left: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }

    body {
        padding: 10px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .container, .content, main, section {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
}



/* ===== Menu Burger ===== */
.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #1d2d63;
    }

    .nav-links.active {
        display: flex;
    }
}



@media (max-width: 768px) {
    .product-card img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        padding: 10px 0;
    }
}



@media (max-width: 768px) {
    .nav-links li {
        padding: 4px 0;
        margin: 0;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 16px;
    }
}



@media (max-width: 768px) {
    .navbar h1, .navbar .logo {
        text-align: center;
        width: 100%;
        justify-content: center;
        display: flex;
    }
}



@media (max-width: 768px) {
    .nav-links a {
        font-size: 20px; /* Agrandissement de la taille du texte */
    }
}



@media (max-width: 768px) {
    .nav-links li {
        padding: 2px 0;
        margin: 0;
    }

    .nav-links a {
        padding: 6px 10px;
    }
}



@media (max-width: 480px) {
    .nav-links li {
        padding: 1px 0;
        margin: 0;
    }

    .nav-links a {
        padding: 4px 8px;
        font-size: 18px;
    }
}



@media (max-width: 768px) {
    .nav-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        width: 100%;
    }
}



@media (max-width: 768px) {
    .nav-links {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center !important;
    }

    .nav-links a {
        display: inline-block;
        width: 100%;
    }
}



@media (max-width: 768px) {
    nav, .navbar, .nav-links {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

    .nav-links li {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 2px 0 !important;
    }

    .nav-links a {
        width: auto !important;
        text-align: center !important;
        display: block !important;
        margin: 0 auto !important;
    }
}



@media (max-width: 768px) {
    .nav-links {
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 0 !important;
    }

    .nav-links li {
        width: 100% !important;
        padding: 2px 0 !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .nav-links a {
        padding: 6px 10px !important;
        font-size: 18px !important;
        display: inline-block;
        text-align: center;
    }

    .dropdown {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .dropdown-content {
        position: relative !important;
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #fff;
        z-index: 1;
        margin-top: 5px;
    }

    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: flex !important;
    }
}



@media (max-width: 768px) {
    .order-button {
        margin-bottom: 20px !important;
    }

    .banner-image {
        margin-top: 20px !important;
    }
}


.product-card h3,
.product-card p {
  font-size: 15px;
  margin: 6px 0;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  text-align: center;
}


.product-card h3,
.product-card p {
  margin-top: -6px;
}

  
  