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

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

/* Reset CSS de base */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 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%);
}

/* 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 à la page méthode - la navbar est gérée par navbar.css */

.method-main {
    min-height: 100vh;
}

.hero-section {
    /* background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%); */
    background: transparent;
    padding: 4rem 2rem;
    position: relative;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #323232;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

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

.hero-subtitle h2 {
    color: #323232;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-subtitle p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-subtitles-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.hero-subtitle {
    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;
}

/* Section des principes */
.principles-section {
    padding: 4rem 2rem;
    /* background-color: #f5f5f5; */
    background: transparent;
}

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

.principles-title {
    text-align: center;
    font-size: 2.5rem;
    color: #323232;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

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

/* Cartes des principes */
.principle-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.principle-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

/* Section des outils */
.tools-section {
    padding: 4rem 2rem;
    /* background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%); */
    background: transparent;
}

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

.tools-title {
    text-align: center;
    font-size: 2.5rem;
    color: #323232;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

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

.tools-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-style: italic;
}

.tools-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: stretch;
}
.tools-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;

}
.tools-images .tool-image {
    width: 200px;
    height: 192.19px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

/* Contenu textuel des outils */
.tools-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tool-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.tool-item.visible {
    opacity: 1;
    transform: translateX(0);
    max-width: 65%;
    flex: 1 1 0;
    position: relative;
}

.tool-item.visible::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2rem;
    bottom: 2rem;
    width: 8px;
    border-radius: 8px;
    background: linear-gradient(to bottom, #de6b70, #4c681a);
    z-index: 2;
}

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

.tool-item.visible:hover,
.tool-item.hovered {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-item h3 {
    color: #323232;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

/* Section média des outils */
.tools-media {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.media-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.media-item.visible {
    opacity: 1;
    transform: translateX(0);
}

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

.tool-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tool-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-caption {
    padding: 1rem;
    text-align: center;
    color: #323232;
    font-weight: 500;
    background: white;
}

.video-container {
    position: relative;
}

.tool-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease;
}

.tool-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-caption {
    padding: 1rem;
    text-align: center;
    color: #323232;
    font-weight: 500;
    background: white;
    border-radius: 0 0 15px 15px;
}

/* Footer */
.footer {
    background-color: #DDD0C8;
    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: #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;
}

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

/* === Ajout pour le bouton de retour en haut === */
.back-to-top {
    position: fixed;
    bottom: 100px;
    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;
    }
}

/* Styles du thème sombre - uniquement pour les éléments spécifiques à cette page */
.dark-theme {
    color: #F1D797;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e6f1 100%);
}

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

/* Icône du calendrier flottante */
.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;
}
.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;
}

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

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

/* Media queries pour la responsivité */
@media (max-width: 1024px) {
    .tools-content {
        flex-direction: column;
    }
    .tools-images {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        align-items: flex-start;
        margin-top: 2rem;
    }
    .tools-images .tool-image {
        width: 120px;
        height: 80px;
    }
    
    .hero-subtitles-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .principles-title,
    .tools-title {
        font-size: 2rem;
    }
    
    .principle-card,
    .tool-item {
        padding: 1.5rem;
    }
    
    .principle-content h3 {
        font-size: 1.5rem;
    }
    
    .tool-item h3 {
        font-size: 1.3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .artiste-mini-nav {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section,
    .principles-section,
    .tools-section {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .principles-title,
    .tools-title {
        font-size: 1.8rem;
    }
    
    .principle-card,
    .tool-item {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .artiste-mini-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}

/* === Styles manquants pour le mode sombre === */
.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 .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 .calendar-day.other-month {
    color: #999;
    background-color: #f0f0f0;
}

/* --- Scrollbar mode sombre unique et prioritaire --- */
body.dark-theme::-webkit-scrollbar-thumb, .dark-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #42a5f5 0%, #1976d2 100%) !important;
    border-radius: 10px !important;
    border: 3px solid #f5f5f5 !important;
}
body.dark-theme::-webkit-scrollbar-thumb:hover, .dark-theme ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1976d2 0%, #1565c0 100%) !important;
}

/* === Styles importés de artiste.css pour la section méthode === */
.artiste-title {
    text-align: center;
    font-size: 64px;
    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-description {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 1rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    position: relative;
    padding: 0 1rem;
    margin-bottom: 4rem;
}

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

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

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

.artiste-mini-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 0;
}

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

/* Scroll fluide pour les ancres de la mini-nav (comme artiste) */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.artiste-section {
    padding: 6rem 2rem 0rem 2rem;
    margin-top: 72px;
    background: transparent;
}

.dark-theme .mini-nav-link {
    background-color: #BAD2E0;
    border: 1px solid #113356;
}

.dark-theme .mini-nav-link:hover::before {
    background: linear-gradient(180deg, #90caf9 0%, #64b5f6 100%);
    opacity: 0.25;
}

.dark-theme .mini-nav-link:hover span {
    color: #0A1F2E !important;
}

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

.dark-theme .artiste-title::after,
.dark-theme .principles-title::after,
.dark-theme .tools-title::after {
    background: linear-gradient(90deg, #42a5f5, #1976d2) !important;
}

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

.tools-images .tool-image:hover,
.tools-images .tool-image.hovered {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.clamp-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(-20px) scale(1.05);
    }
    80% {
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tool-row {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.6s, transform 0.6s;
}

.tool-row.bounce-in {
    animation: bounce-in 0.9s cubic-bezier(.68,-0.55,.27,1.55) forwards;
    opacity: 1;
    transform: none;
}

.tools-text .tool-row {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 2rem;
}
.tool-image {
    width: 250px;
    height: 250px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    align-self: center;
}
@media (max-width: 900px) {
    .tool-item, .tool-item.visible, .tool-item p {
        color: #222 !important;
        font-size: 1.05rem !important;
        background: #fff !important;
        opacity: 1 !important;
        transform: none !important;
        overflow: visible !important;
        display: block !important;
        text-align: left !important;
        box-sizing: border-box !important;
        padding: 1rem !important;
    }
    .clamp-3-lines {
        -webkit-line-clamp: unset !important;
        display: block !important;
        overflow: visible !important;
        white-space: normal !important;
    }
    .tool-item.visible {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }
    .tools-text .tool-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    .tool-image {
        width: 90vw !important;
        max-width: 220px !important;
        height: 90vw !important;
        max-height: 220px !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        margin: 0 auto 1.5rem auto !important;
        display: block !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.07) !important;
        background: #eee !important;
    }
}

@media (max-width: 900px) {
    .tool-item.visible {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }
    .tools-text .tool-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .tool-image {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
        display: block !important;
    }
}

.tool-item.visible {
    position: relative;
    overflow: hidden;
}

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

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

.dark-theme .read-more-btn {
    color: #1976d2 !important;
}
.dark-theme .read-more-btn:hover {
    color: #42a5f5 !important;
}

.dark-theme .principle-card.visible {
    border: 1px solid #00A9BA;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

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

.principle-content h3, .tool-item h3 {
    color: #4c681a;
}

.dark-theme .principle-content h3, .dark-theme .tool-item h3 {
    color: #113356 !important;
}

/* 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 .principle-content p, .dark-theme .tool-item p {
    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 === */





@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) {
    
    
    
}

/* 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 

/* --- Mode sombre pour le bouton Play/Pause et la modale musicale --- */
.dark-theme 

.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme 
.dark-theme 

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

