@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/* Variables CSS */
:root {
    --primary-color: #de6b70;
    --primary-color-dark: #c55a5f;
    --primary-color-rgb: 222, 107, 112;
    --text-color: #323232;
    --background-color: #ffffff;
    --input-background: #ffffff;
    --border-color: #dddddd;
    --disabled-color: #cccccc;
    --dark-background: #1a1a1a;
    --dark-input-background: #2d2d2d;
    --dark-border-color: #404040;
}

/* Reset CSS de base */

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    overflow-x: hidden; /* Empêche le défilement horizontal */
    width: 100%;
}

* {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Personnalisation de la barre de défilement */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    border-radius: 10px;
    border: 3px solid #f5f5f5;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c55a5f 0%, #3a4f14 100%);
}

/* Style de la barre de navigation principale */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: #DDD0C8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: backdrop-filter 0.3s ease;
}

/* Effet de flou au scroll */
.navbar-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(221, 208, 200, 0.8);
}

/* Style du lien du logo */

.logo-link {
    text-decoration: none;
}

/* Dimensions du logo */

.img-logo {
    height: 50px;
    width: auto;
}

/* Conteneur des liens de navigation */

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Style des liens de navigation */

.nav-link {
    text-decoration: none;
    color: #323232;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
}

.nav-link:hover {
    color: #4c681a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Configuration du menu déroulant */

.dropdown {
    position: relative;
    display: inline-block;
}

/* Style du contenu du menu déroulant */

.dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #DDD0C8;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 1000;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
}

/* Affichage du menu au survol (uniquement en desktop) */
@media (min-width: 950px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Style des liens dans le menu déroulant */

.dropdown-link {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #323232;
    font-size: 19.2px;
    transition: color 0.3s ease;
    position: relative;
}

.dropdown-link:hover {
    color: #4c681a;
}

.dropdown-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    transition: width 0.3s ease;
}

.dropdown-link:hover::after {
    width: 100%;
}

/* Style de l'icône de flèche */
.fa-arrow-down {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

/* Animation de la flèche du menu déroulant (uniquement en desktop) */
@media (min-width: 950px) {
    .dropdown:hover .fa-arrow-down {
        transform: rotate(180deg);
    }
}

/* Style de la section héro */
.hero-section {
    height: 70vh;
    background-color: #fadde0;
    background-image: url('../img/oiseau.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 72px; /* Hauteur de la navbar pour éviter le chevauchement */
}

.hero-section h1 {
    color: white;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-bottom: 2rem;
}

.hero-philosophy {
    color: white;
    font-size: 1.4rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 3rem auto 0;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    opacity: 0.9;
}

/* Style de la section personne */
.personne-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
    margin-top: 2rem;
    position: relative;
}

.personne-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.personne-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.personne-image {
    flex: 0.5;
    max-width: 300px;
}

.personne-image img {
    width: 100%;
    height: 332px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.personne-content {
    flex: 1.3;
}

.personne-content h2 {
    color: #323232;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.personne-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.personne-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.personne-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #de6b70 0%, #c55a5f 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(222, 107, 112, 0.3);
}

.personne-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}

@media (max-width: 768px) {
    .personne-container {
        flex-direction: column;
    }
    
    .personne-image {
        max-width: 100%;
    }
}

/* Style de la section artiste */
.artiste-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.artiste-container {
    max-width: 1200px;
    margin: 0 auto;
}

.artiste-title {
    text-align: center;
    font-size: 3rem;
    color: #323232;
    margin-bottom: 4rem;
    position: relative;
}

.artiste-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.artiste-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.artiste-category {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.artiste-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #de6b70, #4c681a);
}

.artiste-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.artiste-category h3 {
    color: #323232;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.artiste-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #de6b70;
}

.artiste-category p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .artiste-section {
        padding: 4rem 1rem;
    }

    .artiste-title {
        font-size: 2.5rem;
    }

    .artiste-category {
        padding: 2rem;
    }

    .artiste-category h3 {
        font-size: 1.8rem;
    }

    .artiste-category p {
        font-size: 1rem;
    }
}

/* Style de la section artiste moderne */
.artiste-section {
    padding: 4rem 2rem;
    background-color: #f5eeef;
    margin-top: 2rem;
    position: relative;
}

.artiste-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.artiste-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.artiste-image {
    flex: 0.7;
    max-width: 400px;
}

.artiste-image img {
    width: 100%;
    height: 332px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.artiste-content {
    flex: 1.3;
}

.artiste-content h2 {
    color: #323232;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.artiste-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.artiste-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.artiste-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #4c681a 0%, #3a4f14 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 104, 26, 0.3);
}

.artiste-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 104, 26, 0.4);
}

@media (max-width: 768px) {
    .artiste-container {
        flex-direction: column;
    }
    
    .artiste-image {
        max-width: 100%;
    }
}

/* Style du footer */
.footer {
    background-color: #DDD0C8;
    padding: 3rem 0 1rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-section h3 {
    color: #4c681a;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: 40px;
    font-weight: 600;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 40px; /* Hauteur fixe égale à celle des autres titres */
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-section p,
.footer-section .social-links,
.footer-section .footer-link {
    margin-top: 1rem;
}

.footer-section p {
    color: #323232;
    margin: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #323232;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4c681a;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(50, 50, 50, 0.1);
}

.footer-bottom p {
    color: #323232;
    font-size: 0.9rem;
}

.footer-link {
    display: block;
    color: #323232;
    text-decoration: none;
    margin: 0.5rem 0;
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #4c681a;
}

/* Style du bouton burger */
.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4c681a;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.burger-menu:hover {
    color: #4c681a;
}

.dark-theme .burger-menu {
    color: #113356;
}

.dark-theme .burger-menu:hover {
    color: #113356;
}

/* Media query pour la responsivité */
@media (max-width: 949px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Media queries pour la navbar responsive */
@media (max-width: 1209px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #DDD0C8;
        padding: 2rem;
        flex-direction: column;
        align-items: flex-start;
        height: calc(100vh - 72px);
        overflow-y: auto;
    }

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

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.4rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        background-color: transparent;
        box-shadow: none;
        margin-left: 1rem;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown.active .fa-arrow-down {
        transform: rotate(180deg);
    }

    .dropdown-link {
        padding: 0.5rem 0;
    }
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-logo-container h3 {
    margin: 0;
}

/* Style de la section about */
.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #fff4e6 0%, #fff8ef 100%);
    margin-top: 2rem;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.about-title {
    text-align: center;
    font-size: 3rem;
    color: #323232;
    margin-bottom: 4rem;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid #de6b70;
    border-radius: 15px;
    z-index: 0;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: #323232;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #de6b70;
}

.about-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-button,
.methode-button,
.submit-button,
.slide-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(222, 107, 112, 0.3);
    position: relative;
    overflow: hidden;
    width: fit-content;
    align-self: center;
}

.about-button::before,
.methode-button::before,
.submit-button::before,
.slide-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.about-button:hover,
.methode-button:hover,
.submit-button:hover,
.slide-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}

.about-button:hover::before,
.methode-button:hover::before,
.submit-button:hover::before,
.slide-button:hover::before {
    left: 100%;
}

.about-button i,
.methode-button i,
.submit-button i,
.slide-button i {
    transition: transform 0.3s ease;
}

.about-button:hover i,
.methode-button:hover i,
.submit-button:hover i,
.slide-button:hover i {
    transform: translateX(5px);
}

/* Ajustements pour le thème sombre */
.dark-theme .about-button,
.dark-theme .methode-button,
.dark-theme .submit-button,
.dark-theme .slide-button {
    background: linear-gradient(135deg, #A80000 0%, #FF7D08 100%);
    box-shadow: 0 5px 15px rgba(168, 0, 0, 0.3);
}

.dark-theme .about-button:hover,
.dark-theme .methode-button:hover,
.dark-theme .submit-button:hover,
.dark-theme .slide-button:hover {
    box-shadow: 0 8px 20px rgba(168, 0, 0, 0.4);
}

.dark-theme .about-button::before,
.dark-theme .methode-button::before,
.dark-theme .submit-button::before,
.dark-theme .slide-button::before {
    background: linear-gradient(90deg, transparent, rgba(241, 215, 151, 0.2), transparent);
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        width: 100%;
    }
    
    .about-image::before {
        display: none;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
}

/* Style de la section enseignant */
.enseignant-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
    margin-top: 2rem;
    position: relative;
}

.enseignant-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.enseignant-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.enseignant-image {
    flex: 0.7;
    max-width: 400px;
}

.enseignant-image img {
    width: 100%;
    height: 332px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.enseignant-content {
    flex: 1.3;
}

.enseignant-content h2 {
    color: #323232;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.enseignant-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.enseignant-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.enseignant-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #de6b70 0%, #c55a5f 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(222, 107, 112, 0.3);
}

.enseignant-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}

@media (max-width: 768px) {
    .enseignant-container {
        flex-direction: column;
    }
    
    .enseignant-image {
        max-width: 100%;
    }
}

/* Style de la section entreprise */
.entreprise-section {
    padding: 4rem 2rem;
    background-color: #f5eeef;
    margin-top: 2rem;
    position: relative;
}

.entreprise-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.entreprise-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.entreprise-image {
    flex: 0.7;
    max-width: 400px;
}

.entreprise-image img {
    width: 100%;
    height: 332px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.entreprise-content {
    flex: 1.3;
}

.entreprise-content h2 {
    color: #323232;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.entreprise-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.entreprise-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.entreprise-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #4c681a 0%, #3a4f14 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 104, 26, 0.3);
}

.entreprise-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 104, 26, 0.4);
}

@media (max-width: 768px) {
    .entreprise-container {
        flex-direction: column;
    }
    
    .entreprise-image {
        max-width: 100%;
    }
}

/* Style de la section méthode */
.methode-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
    margin-top: 2rem;
    position: relative;
}

.methode-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.methode-title {
    text-align: center;
    font-size: 3rem;
    color: #323232;
    margin-bottom: 4rem;
    position: relative;
}

.methode-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.methode-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.methode-block {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.methode-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #de6b70, #4c681a);
}

.methode-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.methode-block h3 {
    color: #323232;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.methode-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #de6b70;
}

.methode-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.methode-details {
    color: #4c681a;
    font-size: 1rem;
    font-style: italic;
    margin-top: 1rem;
}

.methode-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(222, 107, 112, 0.3);
    position: relative;
    overflow: hidden;
}

.methode-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.methode-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}

.methode-button:hover::before {
    left: 100%;
}

/* Ajustements pour le thème sombre */
.dark-theme .methode-button {
    background: linear-gradient(135deg, #A80000 0%, #FF7D08 100%);
    box-shadow: 0 5px 15px rgba(168, 0, 0, 0.3);
}

.dark-theme .methode-button:hover {
    box-shadow: 0 8px 20px rgba(168, 0, 0, 0.4);
}

.dark-theme .methode-button::before {
    background: linear-gradient(90deg, transparent, rgba(241, 215, 151, 0.2), transparent);
}

@media (max-width: 1024px) {
    .methode-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .methode-container {
        grid-template-columns: 1fr;
    }
    
    .methode-title {
        font-size: 2.5rem;
    }
    
    .methode-block {
        padding: 1.5rem;
    }
}

.artiste-mini-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mini-nav-link {
    text-decoration: none;
    color: #323232;
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mini-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.mini-nav-link span {
    position: relative;
    z-index: 2;
    color: #323232;
    transition: color 0.3s ease;
}

.mini-nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mini-nav-link:hover::before {
    opacity: 0.1;
}

.mini-nav-link:hover span {
    color: #4c681a;
}

/* Ajustement du scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Style de la section présentation */
.presentation-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
}

/* Style pour la vidéo YouTube */
.presentation-section iframe {
    width: 100%;
    max-width: 1218px;
    height: 400px;
    margin: 0 auto 4rem auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
    border: none;
    outline: none;
}

.presentation-section iframe:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Conteneur pour la vidéo avec indicateur de chargement */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1218px;
    margin: 0 auto 4rem auto;
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    margin: 0;
    background-color: #000;
    position: relative;
    z-index: 2;
}

/* Indicateur de chargement */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    z-index: 1;
}

/* Fallback pour la vidéo */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border-radius: 15px;
}

/* Mode sombre pour le fallback vidéo */
.dark-theme .video-fallback {
    background: linear-gradient(135deg, #0a2342 0%, #1976d2 100%);
}

.video-placeholder {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 500px;
}

.video-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.video-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-link i {
    font-size: 1.2rem;
}

/* Responsive pour la vidéo */
@media (max-width: 1024px) {
    .video-container {
        margin-bottom: 3rem;
    }
    
    .video-container iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .video-container {
        margin-bottom: 2rem;
        border-radius: 10px;
    }
    
    .video-container iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .video-container {
        margin-bottom: 1.5rem;
    }
    
    .video-container iframe {
        height: 200px;
    }
}

.presentation-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.presentation-block {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.presentation-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #de6b70, #4c681a);
}

.presentation-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.presentation-block h2 {
    color: #323232;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.presentation-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #de6b70;
}

.presentation-block p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1024px) {
    .presentation-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .presentation-container {
        grid-template-columns: 1fr;
    }
    
    .presentation-block {
        padding: 2rem;
    }
    
    .presentation-block h2 {
        font-size: 1.8rem;
    }
    
    .presentation-block p {
        font-size: 1rem;
    }
}

/* Style de la section contact */
.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
    margin-top: 2rem;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    color: #323232;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.contact-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #de6b70;
    background: rgba(222, 107, 112, 0.1);
    padding: 1rem;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    color: #323232;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: transparent;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #de6b70;
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.9rem;
    color: #de6b70;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #de6b70 0%, #c55a5f 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-item i {
        font-size: 1.2rem;
        padding: 0.8rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 0.5rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
    }
}

/* Style de la section méthode active */
.methode-active-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
    margin-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.methode-active-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.methode-active-container {
    max-width: 1200px;
    margin: 0 auto;
}

.methode-active-title {
    text-align: center;
    font-size: 3rem;
    color: #323232;
    margin-bottom: 2rem;
    position: relative;
}

.methode-active-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.methode-active-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
}

.methode-active-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.methode-active-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(222, 107, 112, 0.1);
    line-height: 1;
}

.methode-active-card h3 {
    color: #323232;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.methode-active-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.card-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.highlight {
    color: #de6b70;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.methode-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.methode-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.methode-list li i {
    color: #4c681a;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.card-footer {
    color: #666;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accompagnement-block {
    margin-bottom: 1.5rem;
}

.accompagnement-block h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.accompagnement-block p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .methode-active-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .methode-active-section {
        padding: 2rem 0.5rem;
    }
    .methode-active-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .methode-active-card {
        padding: 1.2rem;
    }
}

.methode-image-container {
    margin-top: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
}

.methode-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Style du bouton En savoir plus pour la section méthode active */
.methode-active-button-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.methode-active-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(222, 107, 112, 0.3);
    position: relative;
    overflow: hidden;
}

.methode-active-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.methode-active-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}

.methode-active-button:hover::before {
    left: 100%;
}

.methode-active-button i {
    transition: transform 0.3s ease;
}

.methode-active-button:hover i {
    transform: translateX(5px);
}

/* Ajustements pour le thème sombre */
.dark-theme .methode-active-button {
    background: linear-gradient(135deg, #A80000 0%, #FF7D08 100%);
    box-shadow: 0 5px 15px rgba(168, 0, 0, 0.3);
}

.dark-theme .methode-active-button:hover {
    box-shadow: 0 8px 20px rgba(168, 0, 0, 0.4);
}

.dark-theme .methode-active-button::before {
    background: linear-gradient(90deg, transparent, rgba(241, 215, 151, 0.2), transparent);
}

/* Suppression des anciennes classes */
.accompagnement-image,
.methode-image {
    display: none;
}

/* Style du contenu principal */
main {
    padding-top: 100px;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Styles du carrousel */
.carousel-section {
    position: relative;
    margin-top: 2rem;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

.carousel-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    box-sizing: border-box;
}

.carousel-container::before {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    will-change: transform;
    padding: 0 4rem;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: calc(33.333% - 1.33rem);
    background: #DDD0C8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    transform: scale(0.9);
    opacity: 0.7;
    display: flex;
    flex-direction: column;
}

.carousel-slide.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.carousel-slide.active .slide-content {
    transform: translateY(-5px);
}

.carousel-slide.active .slide-content h2::after {
    width: 100px;
}

.carousel-slide.active .slide-image img {
    transform: scale(1.05);
}

/* Désactiver l'effet de la diapositive active lors du survol d'une autre diapositive */
.carousel-track:hover .carousel-slide.active:not(:hover) {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.carousel-track:hover .carousel-slide.active:not(:hover) .slide-content {
    transform: none;
}

.carousel-track:hover .carousel-slide.active:not(:hover) .slide-content h2::after {
    width: 60px;
}

.carousel-track:hover .carousel-slide.active:not(:hover) .slide-image img {
    transform: none;
}

.carousel-slide:hover {
    transform: translateY(-5px) scale(1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    opacity: 1;
    z-index: 3;
}

/* Conserver l'effet de la diapositive active lors de son survol */
.carousel-slide.active:hover {
    transform: translateY(-5px) scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    opacity: 1;
    z-index: 3;
}

.slide-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease;
    flex: 1;
}

.slide-content h2 {
    color: #323232;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-bottom: 1rem;
}

.slide-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    transition: width 0.3s ease;
}

.slide-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.slide-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    margin: 0;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Style du bouton Découvrir */
.slide-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(222, 107, 112, 0.3);
    margin-top: auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: fit-content;
    align-self: center;
}

.slide-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.slide-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}

.slide-button:hover::before {
    left: 100%;
}

/* Styles des flèches de navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #DDD0C8;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #323232;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
}

.carousel-arrow:hover {
    background: #c55a5f;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.carousel-arrow-left {
    left: 1rem;
}

.carousel-arrow-right {
    right: 1rem;
}

/* Media queries pour la responsivité du carrousel */
@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
    
    .carousel-container {
        padding: 3rem 0;
    }

    .carousel-track {
        padding: 0 4rem;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 calc(100% - 2rem);
        min-width: calc(100% - 2rem);
    }
    
    .carousel-container {
        padding: 2rem 0;
    }

    .carousel-track {
        padding: 0 3rem;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h2 {
        font-size: 1.75rem;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .carousel-arrow-left {
        left: 0.5rem;
    }
    
    .carousel-arrow-right {
        right: 0.5rem;
    }

    .carousel-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 1.5rem 0;
    }

    .carousel-track {
        padding: 0 2.5rem;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slide-image {
        height: 180px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .carousel-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
}

/* Ajustements pour les très petits écrans */
@media (max-width: 360px) {
    .carousel-track {
        padding: 0 2rem;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .slide-content {
        padding: 1rem;
    }

    .slide-image {
        height: 150px;
    }
}

/* Styles du carrousel */
.carousel-title {
    text-align: center;
    font-size: 3rem;
    color: #323232;
    margin-bottom: 4rem;
    position: relative;
    padding-top: 2rem;
}

.carousel-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #de6b70, #4c681a);
    border-radius: 2px;
}

/* Style du bouton de retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #444;
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Style du bouton de thème */
.theme-switch {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.theme-checkbox {
    --toggle-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 4.25em;
    height: 2.125em;
    background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
    background: -o-linear-gradient(left, #efefef 50%, #2a2a2a 50%) no-repeat;
    background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
    background-size: 205%;
    background-position: 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    border-radius: 99em;
    position: relative;
    cursor: pointer;
    font-size: var(--toggle-size);
}

.theme-checkbox::before {
    content: "";
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    top: 0.313em;
    left: 0.313em;
    background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
    background: -o-linear-gradient(left, #efefef 50%, #2a2a2a 50%) no-repeat;
    background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
    background-size: 205%;
    background-position: 100%;
    border-radius: 50%;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

.theme-checkbox:checked::before {
    left: calc(100% - 1.5em - 0.313em);
    background-position: 0;
}

.theme-checkbox:checked {
    background-position: 100%;
}

/* Ajustement pour le mode mobile */
@media (max-width: 949px) {
    .theme-switch {
        margin: 1rem 0;
    }
}

/* Styles pour le thème sombre */
/* .dark-theme {
    color: #F1D797;
} */

/* Navbar en mode sombre */
.dark-theme .navbar {
    background-color: #BAD2E0;
}

.dark-theme .navbar-blur {
    background-color: rgba(186, 210, 224, 0.8);
}

.dark-theme .nav-link,
.dark-theme .dropdown-link {
    color: #113356;
}

.dark-theme .nav-link:hover,
.dark-theme .dropdown-link:hover {
    color: #0A1F2E;
}

.dark-theme .dropdown-content {
    background-color: #BAD2E0;
    border: none;
}

/* H1 et hero-philosophy en blanc */
.dark-theme .hero-section h1 {
    color: #ffffff;
}

.dark-theme .hero-philosophy {
    color: #ffffff;
}

/* Backgrounds des sections avec dégradé bleu clair */
.dark-theme .personne-section,
.dark-theme .artiste-section,
.dark-theme .about-section,
.dark-theme .about-section.visible,
.dark-theme .presentation-section,
.dark-theme .contact-section,
.dark-theme .methode-active-section,
.dark-theme .carousel-container,
.dark-theme .methode-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e6f1 100%);
}

/* Carousel-slide avec background bleu */
.dark-theme .carousel-slide {
    background-color: #BAD2E0;
    color: #113356;
    border: 1px solid #00A9BA;
}

/* Texte dans slide-content */
.dark-theme .slide-content, 
.dark-theme .slide-content p, 
.dark-theme .slide-content h2, 
.dark-theme .slide-content a {
    color: #113356;
}

/* Footer avec background bleu */
.dark-theme .footer {
    background-color: #BAD2E0;
    border-top: none;
}

.dark-theme .footer-section h3 {
    color: #4c681a;
}

.dark-theme .footer-section p,
.dark-theme .footer-link {
    color: #323232;
}

.dark-theme .footer-bottom p {
    color: #323232;
}

.dark-theme .social-links a {
    color: #323232;
}
.dark-theme .social-links a:hover {
    color: #0A1F2E;
}

/* Backgrounds blancs pour les blocs */
.dark-theme .presentation-block,
.dark-theme .methode-active-card,
.dark-theme .methode-block,
.dark-theme .contact-info,
.dark-theme .contact-form {
    background-color: white;
    color: #323232;
    border: none;
}

.dark-theme .presentation-block h2,
.dark-theme .methode-active-card h2,
.dark-theme .methode-block h2,
.dark-theme .contact-info h2 {
    color: #323232;
}

.dark-theme .presentation-block p,
.dark-theme .methode-active-card p,
.dark-theme .methode-block p,
.dark-theme .contact-info p,
.dark-theme .contact-item p {
    color: #666;
}

/* Formulaires */
.dark-theme .form-group input,
.dark-theme .form-group textarea {
    background-color: white;
    border-color: #e0e0e0;
    color: #323232;
}

.dark-theme .form-group label {
    background-color: white;
    color: #666;
}

/* Boutons */
.dark-theme .submit-button,
.dark-theme .methode-button,
.dark-theme .slide-button,
.dark-theme .about-button {
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    color: white;
}

.dark-theme .submit-button:hover,
.dark-theme .methode-button:hover,
.dark-theme .slide-button:hover,
.dark-theme .about-button:hover {
    background: linear-gradient(135deg, #4c681a 0%, #de6b70 100%);
}

/* Autres éléments */
.dark-theme .carousel-arrow {
    background-color: #BAD2E0;
    border: 1px solid #113356;
    color: #113356;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dark-theme .carousel-arrow:hover {
    background-color: #1976d2;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.dark-theme .back-to-top {
    background-color: #333;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-theme .back-to-top:hover {
    background-color: #444;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* === Début des styles calendrier importés de activites.css === */
.calendar-icon {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}
.calendar-icon:hover {
    transform: translateY(-5px);
    background-color: #444;
}
.calendar-icon i {
    color: white;
    font-size: 24px;
}
.calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}
.calendar-modal.active {
    display: flex;
}
.calendar-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}
.calendar-title {
    font-size: 1.5rem;
    color: #323232;
    margin: 0;
}
.calendar-nav {
    background: none;
    border: none;
    color: #323232;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}
.calendar-nav:hover {
    color: #4c681a;
}
.calendar-close {
    background: none;
    border: none;
    color: #323232;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.calendar-close:hover {
    color: #de6b70;
    transform: translateY(-50%) rotate(90deg);
}
.calendar-main {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.calendar-grid {
    flex: 1;
    min-width: 300px;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}
.calendar-weekdays div {
    text-align: center;
    font-weight: bold;
    color: #323232;
    padding: 5px;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    background-color: #f8f8f8;
    margin: 2px;
    border: 1px solid transparent;
    color: #000000;
}
.calendar-day:hover {
    background-color: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.calendar-day.today {
    background: #DDD0C8;
    color: #323232;
    font-weight: bold;
    border: 2px solid #de6b70;
}
.calendar-day.selected {
    background: #de6b70;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(222, 107, 112, 0.3);
    border: 1px solid #de6b70;
}
.calendar-day.other-month {
    color: #ccc;
    background-color: #f5f5f5;
}
.calendar-day.has-events {
    position: relative;
    border: 1px solid #4c681a;
    background-color: rgba(76, 104, 26, 0.05);
}
.calendar-day.has-events:hover {
    border-color: #de6b70;
    background-color: rgba(222, 107, 112, 0.05);
}
.calendar-day.selected.has-events {
    border-color: white;
    background-color: #de6b70;
}
.calendar-day.today.has-events {
    border-color: #de6b70;
    background-color: #DDD0C8;
}
.calendar-day.has-events::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #4c681a;
    border-radius: 50%;
    box-shadow: 
        -8px 0 0 #4c681a,
        8px 0 0 #4c681a;
}
.calendar-day.has-events:hover::after {
    background: #de6b70;
    box-shadow: 
        -8px 0 0 #de6b70,
        8px 0 0 #de6b70;
}
.calendar-day.selected.has-events::after {
    background: white;
    box-shadow: 
        -8px 0 0 white,
        8px 0 0 white;
}
.calendar-events {
    flex: 1;
    min-width: 300px;
    background-color: #f8f8f8;
    border-radius: 15px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e8e8e8;
}
.calendar-events h3 {
    font-size: 1.2rem;
    color: #323232;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #de6b70, #4c681a) 1;
}
.event-item {
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
}
.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.event-item .event-title {
    font-weight: bold;
    color: #323232;
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.event-item .event-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #de6b70;
    border-radius: 50%;
}
.event-item .event-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}
.no-events {
    color: #666;
    text-align: center;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}
.quick-date-selector {
    background-color: #f8f8f8;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e8e8e8;
}
.quick-date-selector h3 {
    font-size: 1.2rem;
    color: #323232;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #de6b70, #4c681a) 1;
}
.date-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
}
.date-picker {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    color: #323232;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.date-picker:focus {
    outline: none;
    border-color: #de6b70;
    box-shadow: 0 0 0 3px rgba(222, 107, 112, 0.1);
}
.date-button {
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.date-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}
.date-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 107, 112, 0.4);
}
.date-button:hover::before {
    left: 100%;
}
@media (max-width: 768px) {
    .calendar-icon {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 75px;
    }
    .calendar-icon i {
        font-size: 20px !important;
    }
    .calendar-container {
        width: 95%;
        padding: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .calendar-title {
        font-size: 1.2rem;
    }
    .calendar-header {
        margin-bottom: 15px;
    }
    .calendar-main {
        flex-direction: column;
    }
    .calendar-grid,
    .calendar-events {
        min-width: 100%;
    }
    .calendar-grid {
        margin-bottom: 15px;
    }
    .calendar-events {
        max-height: 300px;
    }
    .calendar-weekdays div {
        font-size: 0.85rem;
        padding: 3px;
    }
    .calendar-day {
        font-size: 0.8rem;
    }
    .date-inputs {
        flex-direction: column;
    }
    .date-button {
        width: 100%;
    }
    .quick-date-selector {
        padding: 15px;
    }
    .quick-date-selector h3 {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .calendar-container {
        width: 92%;
        padding: 18px;
    }
    .calendar-main {
        gap: 15px;
    }
    .calendar-grid,
    .calendar-events {
        min-width: 0;
    }
}

.calendar-day.multi-day-event {
    background-color: rgba(76, 104, 26, 0.05);
    border: 1px solid #4c681a;
}
.calendar-day.multi-day-event:hover {
    background-color: rgba(222, 107, 112, 0.05);
    border-color: #de6b70;
}
.calendar-day.selected.multi-day-event {
    border-color: white;
    background-color: #de6b70;
}
.event-duration {
    font-size: 0.85rem;
    color: #666;
    margin-left: 8px;
    font-weight: normal;
    background-color: rgba(76, 104, 26, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}
.event-start-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}
/* === Fin des styles calendrier importés de activites.css === */

.dark-theme .about-section,
.dark-theme .about-section.visible {
    background: linear-gradient(135deg, #0a2342 0%, #1976d2 100%) ;
    box-shadow: 0 0 40px 0 rgba(25, 118, 210, 0.25);
}

.dark-theme .about-title,
.dark-theme .about-content h2 {
    color: #F1D797;
}

.dark-theme .about-title::after,
.dark-theme .about-content h2::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .about-content p {
    color: #e3f2fd;
}

.dark-theme .about-image::before {
    border: 2px solid #42a5f5;
}

.dark-theme .about-button {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

.dark-theme .about-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%) !important;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4);
}

.dark-theme .about-button::before {
    background: linear-gradient(90deg, transparent, rgba(66, 165, 245, 0.2), transparent);
}

.methode-active-section.visible::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

/* === Début des overrides pour les backgrounds des sections visibles === */
.about-section.visible::before,
.methode-active-section.visible::before,
.carousel-section.visible::before,
.methode-section.visible::before,
.contact-section.visible::before {
    background: linear-gradient(90deg, #de6b70, #4c681a);
}

.dark-theme .about-section.visible::before,
.dark-theme .methode-active-section.visible::before,
.dark-theme .carousel-section.visible::before,
.dark-theme .methode-section.visible::before,
.dark-theme .contact-section.visible::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
/* === Fin des overrides pour les backgrounds des sections visibles === */

/* === Boutons principaux en mode sombre (hors .about-button) === */
.dark-theme .personne-button,
.dark-theme .artiste-button,
.dark-theme .enseignant-button,
.dark-theme .date-button,
.dark-theme .slide-button,
.dark-theme .methode-button,
.dark-theme .methode-active-button,
.dark-theme .submit-button {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3) !important;
}

.dark-theme .personne-button:hover,
.dark-theme .artiste-button:hover,
.dark-theme .enseignant-button:hover,
.dark-theme .date-button:hover,
.dark-theme .slide-button:hover,
.dark-theme .methode-button:hover,
.dark-theme .methode-active-button:hover,
.dark-theme .submit-button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%) !important;
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4) !important;
}

.dark-theme .nav-link:hover::after, .dark-theme .dropdown-link:hover::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
.dark-theme .nav-link::after,
.dark-theme .dropdown-link::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

/* === Dégradés bleus pour le mode sombre sur les éléments demandés === */
.dark-theme .presentation-block::before {
    background: linear-gradient(0deg, #42a5f5, #1976d2);
}
.dark-theme .methode-block::before {
    background: linear-gradient(0deg, #42a5f5, #1976d2);
}
.dark-theme .methode-title::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
.dark-theme .methode-active-title::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
.dark-theme .carousel-title::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
.dark-theme .methode-block h3::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
.dark-theme .presentation-block h2::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
.dark-theme .methode-active-card h3::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
/* === Fin des dégradés bleus pour le mode sombre === */

/* === Dégradé bleu pour les titres h2 en mode sombre dans contact-info et slide-content === */
.dark-theme .contact-info h2::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
.dark-theme .slide-content h2::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .contact-item i {
    color: #1976d2 !important;
}

.dark-theme .form-group label {
    color: #42a5f5 !important;
}

.dark-theme .social-links a:hover,
.dark-theme .footer-link:hover {
    color: #0A1F2E;
}

.dark-theme .hero-section {
    background-image: url('../img/ocean.jpg');
}

.dark-theme .card-number {
    color: rgba(186, 210, 224, 0.3) !important;
}

.dark-theme .card-number {
    color: rgba(186, 210, 224, 0.3) !important;
}

/* === Styles du calendrier en mode sombre === */
.dark-theme .calendar-day {
    color: #000000;
}

.dark-theme .calendar-day.today {
    background: #1976d2;
    color: white;
    font-weight: bold;
    border: 2px solid #42a5f5;
}

.dark-theme .calendar-day.selected {
    background: #1976d2;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    border: 1px solid #42a5f5;
}

.dark-theme .calendar-day.selected.has-events {
    border-color: white;
    background-color: #1976d2;
}

.dark-theme .calendar-day.today.has-events {
    border-color: #42a5f5;
    background-color: #1976d2;
}

.dark-theme .calendar-day.selected.has-events::after {
    background: white;
    box-shadow: 
        -8px 0 0 white,
        8px 0 0 white;
}

.dark-theme .calendar-day.selected.multi-day-event {
    border-color: white;
    background-color: #1976d2;
}

.dark-theme .calendar-day.other-month {
    color: #999;
    background-color: #f0f0f0;
}

/* === Styles des titres h3 du calendrier en mode sombre === */
.dark-theme .calendar-events h3 {
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

.dark-theme .quick-date-selector h3 {
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

.dark-theme .back-to-top:hover {
    background-color: #444;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Personnalisation de la barre de défilement pour le mode sombre */
.dark-theme ::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.dark-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #42a5f5 0%, #1976d2 100%);
    border-radius: 10px;
    border: 3px solid #f5f5f5;
}

.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%);
}

/* Personnalisation de la barre de défilement pour le mode sombre - approche alternative */
body.dark-theme::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

body.dark-theme::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #42a5f5 0%, #1976d2 100%);
    border-radius: 10px;
    border: 3px solid #f5f5f5;
}

body.dark-theme::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%);
}

/* === Styles pour les barres de séparation en mode sombre === */
.dark-theme .about-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .methode-active-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .carousel-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .methode-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .contact-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .personne-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .artiste-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .enseignant-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}

.dark-theme .entreprise-section::before {
    background: linear-gradient(90deg, #42a5f5, #1976d2);
}
/* === Fin des styles pour les barres de séparation en mode sombre === */


@media (min-width: 1210px) {
    .carousel-slide {
        flex: 0 0 calc(33.333% - 1.33rem);
        min-width: calc(33.333% - 1.33rem);
    }
    
    .carousel-container {
        padding: 3rem 0;
    }

    .carousel-track {
        padding: 0 4rem;
    }
}

@media (max-width: 1209px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
    
    .carousel-container {
        padding: 3rem 0;
    }

    .carousel-track {
        padding: 0 4rem;
    }
}

@media (max-width: 1209px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
    
    .carousel-container {
        padding: 3rem 0;
    }

    .carousel-track {
        padding: 0 4rem;
    }
}

@media (max-width: 1209px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
    
    .carousel-container {
        padding: 3rem 0;
    }

    .carousel-track {
        padding: 0 4rem;
    }
}

.presentation-block h2, 
.methode-active-card h3,
.slide-content h2,
.methode-block h3,
.contact-item h3 {
    color: #4c681a;
}

.dark-theme .presentation-block h2, 
.dark-theme .methode-active-card h3,
.dark-theme .slide-content h2,
.dark-theme .methode-block h3,
.dark-theme .contact-item h3 {
    color: #113356;
}

/* Couleur explicite pour les titres de section du footer */
.footer-section h3 {
    color: #4c681a !important;
}
.dark-theme .footer-section h3 {
    color: #113356 !important;
}

.dark-theme .presentation-block p,
.dark-theme .methode-list,
.dark-theme .methode-active-card p,
.dark-theme .accompagnement-block h4,
.dark-theme .slide-content p,
.dark-theme .methode-block p,
.dark-theme .contact-info p {
    color: #113356;
}

.dark-theme .methode-list li {
    color: #113356;
}

.dark-theme .nav-links.active {
    background-color: #BAD2E0 !important;
}

/* Ajout : nav-links active en mode sombre */
.dark-theme .nav-links.active {
    background-color: #BAD2E0 !important;
}

/* === Harmonisation des boutons flottants === */
.calendar-icon,


/* Position individuelle conservée */
.calendar-icon {
    bottom: 30px;
    right: 90px;
    cursor: pointer;
}

.back-to-top {
    bottom: 100px;
    right: 30px;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Icônes centrées et taille uniforme */
.calendar-icon i {
    font-size: 1.7rem !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Hover (hors couleur) */
.calendar-icon:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-icon {
        right: 70px;
    }
}
@media (max-width: 480px) {
    .calendar-icon {
        right: 60px;
    }
}





.back-to-top,
.back-to-top.visible {
    right: 30px !important;
    bottom: 100px !important;
    z-index: 1100 !important;
}

.calendar-icon {
    right: 30px !important;
    bottom: 100px !important;
    z-index: 1000;
}
.back-to-top,
.back-to-top.visible {
    right: 30px !important;
    bottom: 170px !important;
    z-index: 1100 !important;
}

.card-footer img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

/* Bloc média pour la nouvelle section méthode active */
.media-block {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.media-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.media-video {
    max-width: 350px;
    width: 100%;
    border-radius: 12px;
    border-radius: 0 0 0 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
    .media-block {
        flex-direction: column;
        gap: 1.5rem;
    }
    .media-img, .media-video {
        max-width: 100%;
    }
}

/* Grille média moderne */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 2.5rem 0;
    justify-items: center;
    align-items: stretch;
}
.media-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(76, 104, 26, 0.10), 0 1.5px 6px rgba(222, 107, 112, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    position: relative;
    padding-bottom: 0;
}
.media-card .media-caption {
    padding: 1.1rem 1rem 1.3rem 1rem;
}
.media-card:not(:has(.media-caption)) {
    padding-bottom: 0;
}
.media-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 48px rgba(76, 104, 26, 0.18), 0 3px 12px rgba(222, 107, 112, 0.12);
    z-index: 2;
}
.media-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: filter 0.3s;
    background: #f5f5f5;
}
.media-card:hover .media-img {
    filter: brightness(1.08) saturate(1.1);
}
.media-caption {
    padding: 1.1rem 1rem 1.3rem 1rem;
    font-size: 1.08rem;
    color: #4c681a;
    text-align: center;
    background: none;
    font-weight: 500;
    letter-spacing: 0.01em;
}
@media (max-width: 1100px) {
    .media-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 700px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
    .media-img, .media-video {
        height: 180px;
    }
}

.media-card:not(:has(.media-caption)) {
    background: transparent;
    box-shadow: none;
}

/* === Modale de sélection de musique === */


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}







@media (max-width: 500px) {
    
    
    
}
/* Mode sombre pour la modale musique */
.dark-theme .music-modal {
    background-color: #BAD2E0;
}

.dark-theme .music-modal .modal-content {
    background-color: #E8F4F8;
    border: 1px solid #B8D4E3;
}

.dark-theme .music-modal .modal-title {
    color: #113356;
}

.dark-theme .music-modal .modal-close {
    color: #113356;
}

.dark-theme .music-modal .music-item {
    background-color: #F0F4F7;
    border: 1px solid #B8D4E3;
}

.dark-theme .music-modal .music-item:hover {
    background-color: #E8F4F8;
}

@media (max-width: 850px) {
    .carousel-slide {
        flex: 0 0 92vw;
        min-width: 92vw;
        max-width: 92vw;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
        align-items: stretch;
    }
    .carousel-container,
    .carousel-track {
        width: 100vw;
        max-width: 100vw;
        padding: 0;
        gap: 0;
    }
    .carousel-container {
        padding-bottom: 40px;
    }
    .slide-content {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .slide-image {
        height: 160px;
    }
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: 55%;
    }
    .carousel-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* === Styles du calendrier en mode sombre === */
.dark-theme .calendar-container {
    background-color: #BAD2E0;
    border: 1px solid #00A9BA;
}

.dark-theme .calendar-title {
    color: #113356;
}

.dark-theme .calendar-nav {
    color: #113356;
}

.dark-theme .calendar-nav:hover {
    color: #1976d2;
}

.dark-theme .calendar-close {
    color: #113356;
}

.dark-theme .calendar-close:hover {
    color: #de6b70;
}

.dark-theme .calendar-weekdays div {
    color: #113356;
    font-weight: bold;
}

.dark-theme .calendar-day {
    color: #113356;
    background-color: #E8F4F8;
    border: 1px solid #B8D4E3;
}

.dark-theme .calendar-day:hover {
    background-color: #D4E6F1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(17, 51, 86, 0.2);
}

.dark-theme .calendar-day.today {
    background: #42a5f5;
    color: white;
    font-weight: bold;
    border: 2px solid #1976d2;
}

.dark-theme .calendar-day.selected {
    background: #1976d2;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
    border: 1px solid #42a5f5;
}

.dark-theme .calendar-day.other-month {
    color: #8A9BA8;
    background-color: #F0F4F7;
}

.dark-theme .calendar-day.has-events {
    border: 1px solid #1976d2;
    background-color: rgba(25, 118, 210, 0.08);
}

.dark-theme .calendar-day.has-events:hover {
    border-color: #42a5f5;
    background-color: rgba(66, 165, 245, 0.1);
}

.dark-theme .calendar-day.selected.has-events {
    border-color: white;
    background-color: #1976d2;
}

.dark-theme .calendar-day.today.has-events {
    border-color: #1976d2;
    background-color: #42a5f5;
}

.dark-theme .calendar-day.has-events::after {
    background: #1976d2;
    box-shadow: 
        -8px 0 0 #1976d2,
        8px 0 0 #1976d2;
}

.dark-theme .calendar-day.has-events:hover::after {
    background: #42a5f5;
    box-shadow: 
        -8px 0 0 #42a5f5,
        8px 0 0 #42a5f5;
}

.dark-theme .calendar-day.selected.has-events::after {
    background: white;
    box-shadow: 
        -8px 0 0 white,
        8px 0 0 white;
}

.dark-theme .calendar-day.multi-day-event {
    background-color: rgba(25, 118, 210, 0.08);
    border: 1px solid #1976d2;
}

.dark-theme .calendar-day.multi-day-event:hover {
    background-color: rgba(66, 165, 245, 0.1);
    border-color: #42a5f5;
}

.dark-theme .calendar-day.selected.multi-day-event {
    border-color: white;
    background-color: #1976d2;
}

.dark-theme .calendar-events {
    background-color: #E8F4F8;
    border: 1px solid #B8D4E3;
}

.dark-theme .calendar-events h3 {
    color: #113356;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

.dark-theme .event-item {
    background-color: #F0F4F7;
    border: 1px solid #B8D4E3;
}

.dark-theme .event-item:hover {
    background-color: #E8F4F8;
    box-shadow: 0 6px 16px rgba(17, 51, 86, 0.15);
}

.dark-theme .event-item .event-title {
    color: #113356;
}

.dark-theme .event-item .event-title::before {
    background: #1976d2;
}

.dark-theme .event-item .event-description {
    color: #4A5A6B;
}

.dark-theme .no-events {
    color: #4A5A6B;
    background-color: #F0F4F7;
    border: 1px solid #B8D4E3;
}

.dark-theme .quick-date-selector {
    background-color: #E8F4F8;
    border: 1px solid #B8D4E3;
}

.dark-theme .quick-date-selector h3 {
    color: #113356;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #42a5f5, #1976d2) 1;
}

.dark-theme .date-picker {
    background-color: #F0F4F7;
    border: 1px solid #B8D4E3;
    color: #113356;
}

.dark-theme .date-picker:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.dark-theme .date-button {
    background: linear-gradient(135deg, #42a5f5 0%, #1976d2 100%);
    color: white;
}

.dark-theme .date-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.4);
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
}

.dark-theme .event-duration {
    background-color: rgba(25, 118, 210, 0.15);
    color: #113356;
}

.dark-theme .event-start-date {
    color: #4A5A6B;
}





