/* Styles Existants */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8e8dc;
    color: #8b6e5c;
}

/* Cadre subtil pour toutes les sections */
.section-wrapper {
    border: 1px solid rgba(139, 110, 92, 0.2);
    margin-bottom: 20px;
    padding: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.section-wrapper:nth-child(odd) {
    background-color: #f3d9c6;
    color: #8b6e5c;
}

.section-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    max-width: 100%;
}

/* Images ajustées pour s'adapter à la taille du bloc */
.left img, .right img, .image-block img, .new-section img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.left img:hover, .right img:hover, .image-block img:hover, .new-section img:hover {
    transform: scale(1.05);
}

/* Texte centré */
.right, .left {
    text-align: center;
    flex: 1;
    max-width: 400px;
}

.right h1, .left h1 {
    font-family: 'The Seasons', serif;
    font-size: 2.2em;
    color: #8b6e5c;
    margin: 0;
    transition: color 0.3s ease;
}

.right h1:hover, .left h1:hover {
    color: #6f4e3b;
}

.right h2, .left h2 {
    font-family: 'Cardo', serif;
    font-size: 1.4em;
    font-style: italic;
    color: #8b6e5c;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.right h2:hover, .left h2:hover {
    color: #6f4e3b;
}

.right .logo, .left .logo {
    width: 250px; /* Augmentez la taille à 150px pour un effet moyen */
    height: 250px; /* Assurez-vous que la hauteur est égale à la largeur pour un cercle parfait */
    border-radius: 50%; /* Rend l'image circulaire */
    margin-top: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Ombre subtile */
}

.right .logo:hover, .left .logo:hover {
    transform: rotate(10deg);
}



/* Section texte */
.text-block, .new-section .text {
    text-align: center;
    font-family: 'Cardo', serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: #8b6e5c;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.text-block:hover, .new-section .text:hover {
    background-color: #f3d9c6;
    color: #6f4e3b;
}

.text-block h1, .new-section h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.text-block h1:hover, .new-section h2:hover {
    transform: scale(1.05);
}

.text-block p, .new-section p {
    font-size: 1em;
    margin-bottom: 10px;
}

/* Responsive Design pour mobiles */
@media screen and (max-width: 768px) {
    .section-wrapper {
        max-width: 100%;
        padding: 15px;
    }

    .container {
        flex-direction: column;
        gap: 15px;
    }

    .right .logo, .left .logo {
        width: 80px;
        height: 80px;
    }

    .right h1, .left h1 {
        font-size: 1.8em;
    }

    .right h2, .left h2, .text-block h1, .new-section h2 {
        font-size: 1.4em;
    }

    .text-block p, .new-section p {
        font-size: 0.9em;
    }
}

/* Spécifique à l'image 3 */
.container .left img[src="image/image3.jpeg"] {
    border-radius: 50%;
    overflow: hidden; /* Assure que l'image reste dans le cadre arrondi */
    border: none; /* Retire toute bordure indésirable */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optionnel : Ajoute une ombre subtile */
}


/* Nouvelle section : Pourquoi les artistes et sportifs */
.why-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 20px auto;
}

.why-section h3 {
    font-family: 'Cardo', serif;
    font-size: 1.5em;
    font-weight: bold;
    color: #8b6e5c;
}

.why-section p {
    font-family: 'Cardo', serif;
    font-size: 1.1em;
    color: #8b6e5c;
    line-height: 1.6;
}

/* Section Accompagnement personnalisé */
.accompagnement-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}

.accompagnement-section h4 {
    font-family: 'Cardo', serif;
    font-size: 1.5em;
    font-weight: bold;
    color: #8b6e5c;
}

.accompagnement-section p {
    font-family: 'Cardo', serif;
    font-size: 1.1em;
    color: #8b6e5c;
    line-height: 1.6;
}

.accompagnement-image {
    grid-column: 2;
    text-align: center;
}

.accompagnement-image img {
    max-width: 100%;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.temoignages-section {
    display: flex;
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 20px; /* Espace entre les éléments */
}

.temoignage-card {
    flex: 1; /* Permet aux cartes de s'adapter à l'espace disponible */
    max-width: 45%; /* Limite la largeur des cartes pour qu'elles ne soient pas trop grandes */
}


.temoignage-card:nth-child(even) {
    background-color: #f3d9c6;
}

.temoignage-card img {
    width: 100%;
    height: auto;
    border-radius: 15px; /* Arrondit les bords des photos */
}

.temoignage-card img[src="mus.jpg"] {
    border: none;
}

/* Responsive Design pour mobiles */
@media screen and (max-width: 768px) {
    .why-section, .accompagnement-section, .temoignages-section {
        grid-template-columns: 1fr;
    }

    .accompagnement-image {
        grid-column: 1;
    }
}

/* Ajouter un padding-top au body pour éviter que le header fixe ne recouvre le contenu */
body {
    padding-top: 80px; /* Ajuster cette valeur selon la hauteur réelle du header */
}

/* Styles pour la section Témoignages Clients */


.section-wrapper.even.temoignages-clients h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    color: #6f4e3b;
}

.section-wrapper.even.temoignages-clients .container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.section-wrapper.even.temoignages-clients .client-block {
    text-align: center;
    width: 220px; /* Ajustement de la largeur pour inclure le texte */
    background-color: transparent; /* Assure que le fond est transparent */
    padding: 0; /* Ajustez si nécessaire */
    margin: 0;  /* Ajustez si nécessaire */
}

.section-wrapper.even.temoignages-clients .testimonial-video {
    width: 200px;
    height: 200px;
    object-fit: cover; /* Pour s'assurer que la vidéo est bien cadrée */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
    background-color: transparent; /* Assure que le fond de la vidéo est transparent */
    border: none; /* Supprime toute bordure */
}

.section-wrapper.even.temoignages-clients .testimonial-video:hover {
    transform: scale(1.05);
}

.section-wrapper.even.temoignages-clients .client-block p {
    margin-top: 10px;
    font-style: italic;
    color: #6f4e3b;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-wrapper.even.temoignages-clients .client-block {
        width: 180px;
    }

    .section-wrapper.even.temoignages-clients .testimonial-video {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .section-wrapper.even.temoignages-clients .container {
        flex-direction: column;
        align-items: center;
    }

    .section-wrapper.even.temoignages-clients .client-block {
        width: 100%;
    }

    .section-wrapper.even.temoignages-clients .testimonial-video {
        width: 150px;
        height: 150px;
    }
}



/* Section Les Bienfaits de la Sophrologie */
.benefits-title {
    text-align: center;
    font-family: 'The Seasons', serif;
    color: #8b6e5c;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.benefit-block {
    text-align: center;
    padding: 10px;
    background-color: #f8e8dc;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 200px;
}

.benefit-block video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-block video:hover {
    transform: scale(1.05);
}

.benefit-block p {
    margin-top: 5px;
    font-family: 'Cardo', serif;
    color: #8b6e5c;
    font-size: 0.9em;
}

@media screen and (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Styles pour le Popup Newsletter et Ebook */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
    z-index: 1000;
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.newsletter-container, .ebook-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1001;
}

.newsletter-container h2, .ebook-container h2 {
    font-size: 1.8em;
    color: #8b6e5c;
    margin-bottom: 15px;
}

.newsletter-container form, .ebook-container form {
    display: flex;
    flex-direction: column;
}

.newsletter-container input[type="email"], .ebook-container input[type="email"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #8b6e5c;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
}

.newsletter-container button, .ebook-container button {
    padding: 10px;
    background-color: #8b6e5c;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-container button:hover, .ebook-container button:hover {
    background-color: #6f4e3b;
}

/* Ebook Download Link */
#downloadEbook {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #6f4e3b;
    text-decoration: underline;
}

/* Styles pour les Boutons de Fermeture */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    color: #8b6e5c;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #6f4e3b;
}

/* Section Contact Information */
.contact-section {
    background-color: #f8e8dc;
    padding: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info, .schedule-info {
    font-family: 'Cardo', serif;
    color: #8b6e5c;
    text-align: left;
    max-width: 250px;
}

.contact-info h2, .schedule-info h2 {
    font-family: 'The Seasons', serif;
    font-size: 1.8em;
    color: #8b6e5c;
    margin-bottom: 15px;
}

.contact-info ul, .schedule-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li, .schedule-info li {
    font-size: 1.1em;
    line-height: 1.5;
}

.logo-center img {
    max-width: 150px;
    border-radius: 10%;
}

.rdv-info {
    margin-top: 20px;
    font-family: 'Cardo', serif;
    font-size: 1.2em;
}

.rdv-info a {
    color: #6f4e3b;
    text-decoration: underline;
    font-weight: bold;
}

.rdv-info a:hover {
    color: #8b6e5c;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    font-size: 2em;
    color: #8b6e5c;
    margin: 0 10px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #6f4e3b;
}

/* Section Pricing Information */
.pricing-section {
    background-color: #f3d9c6;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Cardo', serif;
}

.pricing-section h2 {
    font-family: 'The Seasons', serif;
    font-size: 2em;
    color: #8b6e5c;
    margin-bottom: 30px;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #8b6e5c;
    text-align: left;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-list li {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-list li i {
    color: #6f4e3b;
}

.payment-link-container {
    text-align: center;
    margin-top: 20px;
}

.payment-link {
    color: #6f4e3b;
    font-weight: bold;
    text-decoration: none;
}

.payment-link:hover {
    color: #8b6e5c;
}

/* Section FAQ */
.faq-section {
    background-color: #f8e8dc;
    padding: 40px;
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    font-family: 'Cardo', serif;
    align-items: center;
}

.faq-left {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-right {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-right img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 1s ease;
}

.faq-section:hover .faq-right img {
    transform: scale(1.05);
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item button {
    font-family: 'Cardo', serif;
    font-size: 1.8em;
    color: #8b6e5c;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    outline: none;
    transition: color 0.3s ease;
}

.faq-item button:hover {
    color: #6f4e3b;
}

.faq-question {
    font-family: 'Cardo', serif;
    font-size: 1.8em;
    color: #8b6e5c;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    outline: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #6f4e3b;
}

.faq-answer {
    display: none;
    padding: 10px 0;
    font-size: 1.2em;
    color: #8b6e5c;
    line-height: 1.6;
    animation: fadeIn 0.5s ease;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.5s ease;
}

.faq-item button i {
    transition: transform 0.3s ease;
}

.faq-item.active button i {
    transform: rotate(45deg);
}

@keyframes slideDown {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Style pour la section Mentions légales */
.legal-section {
    background-color: #f3d9c6;
    color: #8b6e5c;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(139, 110, 92, 0.2);
    margin-top: 40px;
}

.legal-section p {
    font-family: 'Cardo', serif;
    font-size: 1em;
    line-height: 1.5;
    margin: 5px 0;
}

.legal-section a {
    color: #6f4e3b;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #8b6e5c;
}

/* Section Les Bienfaits de la Sophrologie */
.benefits-title {
    text-align: center;
    font-family: 'The Seasons', serif;
    color: #8b6e5c;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.benefit-block {
    text-align: center;
    padding: 10px;
    background-color: #f8e8dc;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 200px;
}

.benefit-block video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-block video:hover {
    transform: scale(1.05);
}

.benefit-block p {
    margin-top: 5px;
    font-family: 'Cardo', serif;
    color: #8b6e5c;
    font-size: 0.9em;
}

@media screen and (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Styles pour le Popup Ebook (positionné à droite) */
.ebook-popup {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    z-index: 1001;
    display: none;
}

.ebook-container p {
    font-size: 1em;
    color: #8b6e5c;
    margin-bottom: 15px;
}

#downloadEbook {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #6f4e3b;
    text-decoration: underline;
}

/* Styles pour les Boutons de Fermeture */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    color: #8b6e5c;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #6f4e3b;
}

/* Styles pour les Notifications Personnalisées */
.custom-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #8b6e5c;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1002;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
}

.custom-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-notification.success {
    background-color: #5cb85c;
}

.custom-notification.error {
    background-color: #d9534f;
}
/* Animation pour le Popup Ebook */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in {
    animation: slideInRight 0.5s forwards;
}
/* Styles pour les Notifications Personnalisées */
.custom-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #8b6e5c;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1002;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
}

.custom-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-notification.success {
    background-color: #5cb85c;
}

.custom-notification.error {
    background-color: #d9534f;
}
/* Contrôle de la Musique */
.music-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: rgba(111, 78, 59, 0.8);
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.music-control button.music-toggle {
    background-color: transparent;
    color: #ffffff;
    border: none;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.music-control button.music-toggle:hover {
    background-color: rgba(139, 110, 92, 0.9);
    transform: translateY(-2px);
}

.music-control button.music-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(111, 78, 59, 0.6);
}

.music-control input#volumeControl {
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: #d3d3d3;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.music-control input#volumeControl:hover {
    background: #c0c0c0;
}

#volumeControl::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

#volumeControl::-webkit-slider-thumb:hover {
    background: #f0f0f0;
    transform: scale(1.2);
}

#volumeControl::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
}

#volumeControl::-moz-range-thumb:hover {
    background: #f0f0f0;
    transform: scale(1.2);
}

#volumeControl::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #d3d3d3;
    border-radius: 2px;
}

#volumeControl::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #d3d3d3;
    border-radius: 2px;
}

/* Ajouter un padding-top au body pour éviter que le header fixe ne recouvre le contenu */
body {
    padding-top: 80px; /* Ajuster cette valeur selon la hauteur réelle du header */
}

/* Barre de Navigation (Header) */
header {
    width: 100%;
    background-color: #f3d9c6; /* Couleur de fond de la barre */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre portée */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Largeur maximale de la barre */
    margin: 0 auto;
    padding: 10px 20px;
}

.logo img {
    height: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
     /* Hauteur du logo */
}

nav {
    flex: 1;
    text-align: right;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #007BFF; /* Couleur au survol */
}

/* Hamburger Menu - Cacher sur Desktop */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333333;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 70px; /* Ajuster selon la hauteur de votre header */
        right: 0;
        width: 100%;
        background-color: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }

    .hamburger {
        display: flex;
    }

    /* Lorsque le menu est ouvert */
    nav.active {
        max-height: 400px; /* Ajuster selon le nombre de liens */
    }
}
/* Bannière des Cookies */
#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cookieConsent button {
    background: #f3d9c6;
    border: none;
    padding: 8px 15px;
    margin-left: 10px;
    color: #8b6e5c;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#cookieConsent button:hover {
    background: #e0c5b3;
}

.success-animation, .error-animation {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    border-radius: 5px;
    font-size: 1.2em;
    color: #fff;
    z-index: 1000;
    transition: opacity 1s ease-in-out;
}

.success-animation {
    background-color: #4caf50;
}

.error-animation {
    background-color: #f44336;
}

.fade-out {
    opacity: 0;
}
