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

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

/* Copie du fichier activites.css pour la page laboratoire */

/* Reset CSS de base */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

html, body {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%) !important;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

body.dark-theme, .dark-theme html {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e6f1 100%) !important;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

* {
    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%);
}

/* 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%);
}

/* Styles spécifiques pour la section intro-section de laboratoire */

.intro-section {
    padding: 6rem 2rem 0rem 2rem;
    background: transparent !important;
    position: relative;
    overflow: hidden;
    margin-top: 72px; /* Hauteur de la navbar pour éviter le chevauchement */
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(222, 107, 112, 0.02) 0%, rgba(76, 104, 26, 0.02) 100%);
    opacity: 1;
    z-index: 1;
}

.intro-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.intro-title {
    font-size: 4rem;
    color: #323232;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

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

.intro-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 1rem;
}

.intro-description::before,
.intro-description::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, #de6b70, #4c681a);
    opacity: 0.5;
}

.intro-description::before {
    left: 0;
    top: 0;
}

.intro-description::after {
    right: 0;
    bottom: 0;
}

.intro-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.intro-button {
    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;
    white-space: nowrap;
    width: 200px;
    text-align: center;
    display: inline-block;
    font-weight: 400;
}

.intro-button::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;
}

.intro-button span {
    position: relative;
    z-index: 2;
    color: #323232;
    transition: color 0.3s ease;
}

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

.intro-button:hover::before {
    opacity: 0.1;
}

.intro-button:hover span {
    color: #4c681a;
}

/* Animation d'apparition */
.intro-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour le thème sombre */
.dark-theme .intro-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e6f1 100%);
}

.dark-theme .intro-title {
    color: #323232;
}

.dark-theme .intro-description {
    color: #666;
}

.dark-theme .intro-button {
    background-color: #BAD2E0;
    border: 1px solid #113356;
}

.dark-theme .intro-button:hover .button-content {
    color: #FF7D08;
}

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

.dark-theme .intro-description::after {
    background: linear-gradient(0deg, #42a5f5, #1976d2);
}

.dark-theme .intro-description::before {
    background: linear-gradient(0deg, #42a5f5, #1976d2);
}

.dark-theme .intro-button:hover span {
    color: #0A1F2E !important;
}
.dark-theme .intro-button:hover::before {
    background: linear-gradient(180deg, #90caf9 0%, #64b5f6 100%) !important;
    opacity: 0.25 !important;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
    .intro-title {
        font-size: 3rem;
    }

    .intro-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .intro-buttons {
        gap: 1rem;
    }

    .intro-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 2.5rem;
    }

    .intro-buttons {
        flex-direction: column;
        align-items: center;
    }

    .intro-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Styles du footer */
.footer {
    background-color: #DDD0C8 !important;
    padding: 3rem 0 1rem 0;
    margin-top: 2rem;
}

.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: #323232;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: 40px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 40px;
}

.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;
}

.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;
}

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

/* Footer responsive */
@media (max-width: 1209px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Footer thème sombre */
.dark-theme .footer {
    background-color: #BAD2E0 !important;
    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;
}

.dark-theme .footer-link:hover {
    color: #0A1F2E;
}

/* Bouton retour en haut de page */
.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;
    }
}

/* Icône calendrier */
.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 {
    font-size: 1.7rem !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .calendar-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 75px;
    }
}

/* Modal calendrier */
.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;
}
.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-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-main {
        flex-direction: column;
    }
    
    .calendar-grid,
    .calendar-events {
        min-width: 100%;
    }
    
    .date-inputs {
        flex-direction: column;
    }
    
    .date-button {
        width: 100%;
    }
}
.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;
}

/* --- Sections thématiques du laboratoire --- */
.lab-sections {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    margin: 4rem auto 0 auto;
    max-width: 100vw;
    padding: 0 1rem;
}

.lab-card {
    box-sizing: border-box;
    background: #fff;
    border-radius: 24px;
    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;
    width: 340px;
    min-width: 220px;
    max-width: 340px;
    flex: 1 1 220px;
    transition: transform 0.25s, box-shadow 0.25s;
    margin-bottom: 2rem;
    position: relative;
}
.lab-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(222, 107, 112, 0.18), 0 2px 8px rgba(76, 104, 26, 0.10);
}
.lab-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    background: #f5f5f5;
}
.lab-content {
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.lab-title {
    font-size: 1.6rem;
    color: #4c681a;
    margin-bottom: 1.1rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}
.lab-text {
    font-size: 1.08rem;
    color: #323232;
    text-align: center;
    line-height: 1.7;
    margin: 0;
}

/* Thème sombre */
.dark-theme .lab-card {
    background: #BAD2E0;
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.10), 0 1.5px 6px rgba(66, 165, 245, 0.08);
    border: 1px solid #00A9BA;
}
.dark-theme .lab-title {
    color: #113356;
}
.dark-theme .lab-text {
    color: #113356;
}

/* Responsive */
@media (max-width: 1250px) {
    .lab-sections {
        flex-wrap: wrap;
    }
    .lab-card {
        width: 45vw;
        min-width: 220px;
        max-width: 340px;
    }
}
@media (max-width: 800px) {
    .lab-sections {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .lab-card, .lab-content, .lab-title, .lab-text {
        display: block !important;
        color: #323232 !important;
        background: none !important;
        min-height: unset !important;
        overflow: visible !important;
        visibility: visible !important;
    }
    .lab-card {
        width: 95%;
        min-width: 0;
    }
}

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

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

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

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

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

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

/* === Boutons flottants harmonisés === */




/* Responsive pour les trois boutons flottants */
@media (max-width: 768px) {
    .calendar-icon,
    
    .calendar-icon i,
    
    .calendar-icon {
        right: 70px;
    }
    
}
@media (max-width: 480px) {
    .calendar-icon,
    
    .calendar-icon i,
    
    .calendar-icon {
        right: 60px;
    }
    
}

/* Position individuelle conservée */
.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;
}


/* Mode sombre pour le bouton audio */
.dark-theme 
.dark-theme 

/* Styles pour la modale musicale et le bouton Play/Pause */


@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 musicale */
.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme 

/* === Section Musicale === */
.music-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}


.music-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.music-header {
    text-align: center;
    margin-bottom: 4rem;
}

.music-title {
    font-size: 3.5rem;
    color: #323232;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

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

.music-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.music-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(222, 107, 112, 0.1);
}

.music-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(222, 107, 112, 0.2);
    border-color: rgba(222, 107, 112, 0.3);
}

.music-card.playing {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(76, 104, 26, 0.25);
    border-color: #4c681a;
}

.music-cover {
    height: 200px;
    background: linear-gradient(135deg, #de6b70 0%, #4c681a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.music-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.music-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #4c681a;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.music-card:hover .play-button {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.music-card:hover .music-background-image {
    opacity: 0.9;
    transform: scale(1.05);
}

.music-card.playing .play-button {
    background: #4c681a;
    color: white;
}

.music-card.playing .play-button i::before {
    content: '\f04c'; /* pause icon */
}

.music-wave {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-card.playing .music-wave {
    opacity: 1;
}

.wave {
    width: 4px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-delay: 0.2s;
}

.wave:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wave {
    0%, 100% { height: 20px; }
    50% { height: 40px; }
}

.music-info {
    padding: 2rem;
    text-align: center;
}

.music-name {
    font-size: 1.4rem;
    color: #323232;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.music-type {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.music-duration {
    display: inline-block;
    background: linear-gradient(135deg, #de6b70, #4c681a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.audio-player {
    display: none;
}

/* Mode sombre pour la section musicale */
.dark-theme .music-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e6f1 100%);
}

.dark-theme .music-card {
    background: #BAD2E0;
    border-color: rgba(17, 51, 86, 0.2);
}

.dark-theme .music-card:hover {
    border-color: rgba(17, 51, 86, 0.4);
    box-shadow: 0 20px 40px rgba(17, 51, 86, 0.2);
}

.dark-theme .music-card.playing {
    border-color: #113356;
    box-shadow: 0 15px 35px rgba(17, 51, 86, 0.25);
}

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

.dark-theme .music-background-image {
    opacity: 0.6;
}

.dark-theme .music-card:hover .music-background-image {
    opacity: 0.8;
}

.dark-theme .play-button {
    color: #1976d2;
}

.dark-theme .music-card:hover .play-button {
    background: white;
}

.dark-theme .music-card.playing .play-button {
    background: #1976d2;
    color: white;
}

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

.dark-theme .music-type {
    color: #113356;
    opacity: 0.8;
}

.dark-theme .music-duration {
    background: linear-gradient(135deg, #42a5f5, #1976d2);
}

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

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

.dark-theme .music-subtitle {
    color: #113356;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .music-section {
        padding: 4rem 1rem;
    }
    
    .music-title {
        font-size: 2.5rem;
    }
    
    .music-subtitle {
        font-size: 1.1rem;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .music-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .music-title {
        font-size: 2rem;
    }
    
    .music-cover {
        height: 160px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .music-info {
        padding: 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-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;
}

/* === Styles pour pricing-note === */
.pricing-note {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(222, 107, 112, 0.2);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

.pricing-note p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Mode sombre pour pricing-note */
.dark-theme .pricing-note {
    background: rgba(186, 210, 224, 0.8);
    border: 1px solid #00A9BA;
}

.dark-theme .pricing-note p {
    color: #113356;
}

