:root {
    --gradient-linear: linear-gradient(135deg, #8E44AD 0%, #FF8C69 100%);
    --violet-deep: #8E44AD;
    --orange-vif: #FF8C69;
    --fond-soft: #FDFEFE;
    --fond-gris: #F4F7F6;
    --texte-sombre: #2D3142;
    --gold: #D4AF37;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--fond-gris); }
::-webkit-scrollbar-thumb { background: var(--gradient-linear); border-radius: 10px; }
@media (pointer: fine) {
    body { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z" fill="%238E44AD"/></svg>'), auto; }
    a, button, .play-button, .hamburger, .nav-arrow, summary, .gallery-item img, .star-rating i { cursor: pointer; }
}

#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--fond-soft); z-index: 999999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.6s ease; }
.music-note-loader { font-size: 3rem; color: var(--violet-deep); animation: bounceNote 1s infinite alternate; }
@keyframes bounceNote { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--fond-soft); color: var(--texte-sombre); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 25px; }
.section { padding: 100px 0; position: relative; }

h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; text-align: center; margin-bottom: 50px; background: var(--gradient-linear); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

#scroll-progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; z-index: 1003; background: transparent; }
#scroll-bar { height: 100%; background: var(--gradient-linear); width: 0%; transition: width 0.1s ease-out; }

.promo-banner { background: var(--gradient-linear); color: white; text-align: center; padding: 8px 45px 8px 20px; font-weight: 600; font-size: 0.9rem; position: fixed; top: 0; width: 100%; z-index: 1002; transition: 0.3s; display: flex; justify-content: center; align-items: center; }
.close-promo { 
    position: absolute; 
    right: 5px; 
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer; 
    font-size: 1.4rem; 
    padding: 15px; /* C'est ça qui crée une grande zone cliquable invisible ! */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-header { height: 70px; background: transparent; position: fixed; top: 36px; width: 100%; z-index: 1001; display: flex; align-items: center; transition: all 0.4s ease; }
.main-header.scrolled { background: rgba(255, 255, 255, 0.8) !important; backdrop-filter: blur(15px) !important; -webkit-backdrop-filter: blur(15px); height: 65px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); top: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: white; text-decoration: none; transition: 0.3s; z-index: 1005; }
.main-header.scrolled .logo { background: var(--gradient-linear); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hamburger { display: none; cursor: pointer; color: white; font-size: 1.5rem; z-index: 1005; transition: 0.3s; }
.main-header.scrolled .hamburger { color: var(--violet-deep); }

.nav-menu { display: flex; align-items: center; gap: 25px; }
.nav-link { text-decoration: none; color: white; font-weight: 500; font-size: 0.9rem; transition: 0.3s; opacity: 0.9; }
.main-header.scrolled .nav-link { color: var(--texte-sombre); }
.nav-link:hover { opacity: 1; color: var(--orange-vif) !important; }

.nav-btn { padding: 8px 22px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: 0.3s; border: 1px solid white; color: white; }
.main-header.scrolled .nav-btn { color: var(--violet-deep); border: 1px solid var(--violet-deep); }

.lang-btn { text-decoration:none; background: rgba(255,255,255,0.2); border: 1px solid white; color: white; font-weight: bold; padding: 5px 12px; border-radius: 20px; transition: 0.3s; }
.main-header.scrolled .lang-btn { color: var(--violet-deep); border-color: var(--violet-deep); background: transparent; }
.lang-btn:hover { background: var(--gradient-linear); color: white; border-color: transparent; }

.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--gradient-linear); color: white; }
.hero .container { position: relative; z-index: 20; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 10vw, 6rem); text-transform: uppercase; letter-spacing: 6px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero p { font-size: 1.1rem; letter-spacing: 3px; opacity: 0.9; margin-bottom: 30px; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 10;}
.hero-wave svg { position: relative; display: block; width: calc(100% + 1.3px); height: 45px; }
.hero-wave path { fill: var(--fond-soft); }

.btn-main, .btn-price, .review-form button { display: inline-block; padding: 18px 45px; background: var(--gradient-linear); color: white; text-decoration: none; border-radius: 100px; font-weight: 700; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 2px solid white; box-shadow: 0 10px 25px rgba(0,0,0,0.15); cursor: pointer; }
.btn-main:hover, .btn-price:hover, .review-form button:hover { transform: scale(1.05) translateY(-3px); box-shadow: 0 15px 30px rgba(142, 68, 173, 0.2); }

.about-flex { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; background: white; padding: 40px; border-radius: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid #eee; overflow: hidden; margin-top: 20px;}
.about-image-container { flex: 1; min-width: 300px; height: 450px; border-radius: 30px; overflow: hidden; position: relative; border: 8px solid #f9f6ff; }
.about-image-parallax { width: 100%; height: 140%; background-image: url('images/photo-herbe.jpeg'); background-size: cover; background-position: center; position: absolute; top: -20%; will-change: transform; }
.about-text { flex: 1.5; min-width: 300px; }
.about-text h3 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--violet-deep); margin-bottom: 20px; }
.highlight { color: var(--orange-vif); font-weight: 600; }

.custom-audio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 25px; }
.audio-card-custom { background: #fff; padding: 15px; border-radius: 20px; display: flex; align-items: center; gap: 15px; border: 1px solid #eee; box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: all 0.4s ease; }
.audio-card-custom.is-sticky { position: fixed; bottom: 20px; left: 20px; z-index: 1000; width: 300px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); border: 2px solid var(--violet-deep); }
.play-button { width: 50px; height: 50px; background: var(--gradient-linear); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; cursor: pointer; transition: 0.3s; flex-shrink: 0; }
.play-button.playing { background: var(--orange-vif); animation: pulse 1.5s infinite; }
.audio-info strong { display: block; font-size: 0.9rem; color: var(--violet-deep); }
.audio-info span { font-size: 0.75rem; opacity: 0.6; }

.equalizer { display: flex; align-items: flex-end; gap: 4px; height: 20px; margin-left: auto; opacity: 0; transition: 0.3s; }
.audio-card-custom.is-sticky .equalizer { opacity: 1; }
.bar { width: 5px; height: 5px; background: var(--violet-deep); border-radius: 3px; transition: 0.2s; }
.play-button.playing ~ .equalizer .bar { animation: eq-bounce 0.5s infinite alternate ease-in-out; background: var(--orange-vif); }
.play-button.playing ~ .equalizer .bar:nth-child(1) { animation-delay: 0s; }
.play-button.playing ~ .equalizer .bar:nth-child(2) { animation-delay: 0.2s; }
.play-button.playing ~ .equalizer .bar:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq-bounce { 0% { height: 5px; } 100% { height: 20px; } }

.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.video-card { background: white; padding: 15px; border-radius: 30px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); border: 1px solid #eee; }
.iframe-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 20px; }
.iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 20px; height: 300px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }

.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); z-index: 999999; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s ease; backdrop-filter: blur(5px); }
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90%; max-height: 85vh; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); object-fit: contain; }
.close-lb { position: absolute; top: 20px; right: 30px; color: white; font-size: 3rem; cursor: pointer; transition: 0.3s; line-height: 1; }
.close-lb:hover { color: var(--orange-vif); transform: scale(1.1); }
.nav-lb { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: 0.3s; backdrop-filter: blur(5px); }
.nav-lb:hover { background: var(--gradient-linear); transform: translateY(-50%) scale(1.1); }
.prev-lb { left: 20px; }
.next-lb { right: 20px; }
@media (max-width: 768px) { .nav-lb { display: none; } }

.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

.guestbook-section { background-color: var(--fond-gris); border-radius: 50px; padding: 80px 0;}
.guestbook-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.review-form, .reviews-list { background: rgba(255, 255, 255, 0.7) !important; backdrop-filter: blur(10px); padding: 30px; border-radius: 30px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border: 1px solid rgba(255, 255, 255, 0.4) !important; }
.review-form input, .review-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 2px solid #f0f0f0; border-radius: 12px; font-family: inherit; background: rgba(255, 255, 255, 0.5); }
.star-rating { margin-bottom: 15px; font-size: 1.5rem; display: flex; gap: 5px; color: #ccc; }
.star-rating i.active { color: var(--orange-vif) !important; } 
.reviews-list { display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; }
.guestbook-nav { display: flex; justify-content: center; gap: 20px; margin-top: 20px; align-items: center; }
.nav-arrow { background: var(--violet-deep); color: white; border: none; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; opacity: 0.7; transition: 0.3s; }

.faq-container { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; padding-bottom: 60px;}
details { background: white; padding: 20px; border-radius: 20px; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
summary { font-weight: 600; font-size: 1.1rem; color: var(--violet-deep); list-style: none; outline: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; font-weight: 400; transition: transform 0.3s; color: var(--orange-vif); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 15px; padding-top: 15px; border-top: 1px dashed #eee; color: var(--texte-sombre); font-size: 0.95rem; }

.pricing-section-wrapper { position: relative; background: var(--fond-gris); padding-top: 100px; padding-bottom: 100px; margin-top: 0; border-radius: 0 0 50px 50px; }
.pricing-wave { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 10; }
.pricing-wave svg { position: relative; display: block; width: calc(100% + 1.3px); height: 45px; }
.pricing-wave path { fill: var(--fond-soft); } 

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; position: relative; z-index: 1; }
.price-card { background: rgba(255, 255, 255, 0.7) !important; backdrop-filter: blur(10px); padding: 45px; border-radius: 40px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.4) !important; box-shadow: 0 10px 25px rgba(0,0,0,0.06); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.price-card:hover { transform: translateY(-20px); box-shadow: 0 30px 60px rgba(142, 68, 173, 0.18); border-color: var(--violet-deep); }
.price-card h3 { color: var(--violet-deep); font-size: 1.6rem; margin-bottom: 5px; }
.price-detail { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.5s ease; font-size: 0.95rem; color: var(--texte-sombre); }
.price-card:hover .price-detail { max-height: 250px; opacity: 1; margin-top: 15px; padding-top: 15px; border-top: 1px dashed #eee; }
.amount { font-family: 'Playfair Display'; font-size: 2.8rem; color: var(--orange-vif); margin: 5px 0; display: block; font-weight: 700; }
.starting-at { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; }
.btn-price { margin-top: 20px; padding: 12px 25px; border: none; }

.payment-info-box { text-align: center; margin-top: 40px; padding: 20px; background: rgba(142, 68, 173, 0.05); border-radius: 20px; border: 1px dashed var(--violet-deep); }
.fa-check-circle { color: var(--orange-vif) !important; }

#contact-form-section form { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

footer { background: #1a1c25; color: white; padding: 80px 20px 40px; border-radius: 60px 60px 0 0; text-align: center; margin-top: 50px; }
.contact-details a { color: white; text-decoration: none; display: block; margin: 15px 0; font-size: 1.1rem; }
.social-icons { display: flex; justify-content: center; gap: 35px; margin: 40px 0; font-size: 2.2rem; }
.social-icons a { color: white; transition: 0.3s; }
.social-icons a:hover { color: var(--orange-vif); transform: scale(1.2); }
.mentions-legales { margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); text-align: left; font-size: 0.8rem; opacity: 0.7; max-width: 1000px; margin: 0 auto; line-height: 1.6; }

.floating-buttons { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 999; }
#back-to-top { width: 50px; height: 50px; background: var(--gradient-linear); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; opacity: 0; visibility: hidden; }
#back-to-top.show { opacity: 1; visibility: visible; }

#cookie-banner { position: fixed; bottom: -100px; left: 0; width: 100%; background: white; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); padding: 15px 20px; display: flex; justify-content: center; align-items: center; gap: 20px; z-index: 10000; transition: bottom 0.5s ease; border-top: 2px solid var(--violet-deep); }
#cookie-banner.show { bottom: 0; }
#cookie-banner button { background: var(--gradient-linear); color: white; border: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

@media (max-width: 900px) {
    .hamburger { display: block; }
    .nav-menu { position: fixed; top: 0; right: -100%; height: 100vh; width: 85%; background: white; flex-direction: column; justify-content: center; transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0); box-shadow: -10px 0 30px rgba(0,0,0,0.1); padding: 40px; gap: 35px; }
    .nav-menu.active { right: 0; }
    .nav-link { color: var(--texte-sombre) !important; font-size: 1.3rem; font-weight: 600; }
    .nav-btn { color: white !important; background: var(--gradient-linear); border: none; font-size: 1.1rem; width: 100%; text-align: center; }
    .lang-btn { color: var(--texte-sombre) !important; border-color: var(--texte-sombre); width: 100px; margin: 0 auto; text-align: center; }
    .hamburger.active i::before { content: "\f00d"; } 
    .video-grid { grid-template-columns: 1fr; }
    #contact-form-section form { display: flex !important; flex-direction: column !important; }
    #contact-form-section form > div { width: 100% !important; }
    .price-detail { max-height: 500px; opacity: 1; margin-top: 15px; padding-top: 15px; border-top: 1px dashed #eee; }
    .gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 15px; padding-bottom: 20px; -webkit-overflow-scrolling: touch; }
    .gallery-item { flex: 0 0 85%; scroll-snap-align: center; height: 250px; }
    .audio-card-custom.is-sticky { width: calc(100% - 40px); bottom: 100px; }
    .hero-wave svg { height: 30px; }
    .hero { height: 100vh; }
}

/* --- NOUVEAUTÉS : DARK MODE & FILTRES --- */

/* 1. Couleurs du Dark Mode - Thème "Nuit Prune" élégant */
/* --- COULEURS DARK MODE LUXUEUX (Nuit Prune & Or) --- */
[data-theme="dark"] {
    --fond-soft: #14081c; 
    --fond-gris: #1d0c2b; 
    --texte-sombre: #f0e6f5; 
    --violet-deep: #b766d6;
    --gold: #F6E0A4; /* Or brillant pour ressortir dans la nuit */
    --gradient-linear: linear-gradient(135deg, #6C3483 0%, #B766D6 100%); /* Le titre devient prune */
}

/* Touches de DORÉ magiques en mode sombre */
[data-theme="dark"] .star-rating i, 
[data-theme="dark"] #theme-toggle, 
[data-theme="dark"] .play-button.playing {
    color: var(--gold) !important;
}

[data-theme="dark"] .bar {
    background: var(--gold) !important;
}

[data-theme="dark"] .btn-main {
    background: linear-gradient(135deg, #B766D6 0%, #F6E0A4 100%); /* Bouton dégradé Violet/Or */
    color: #14081c; /* Texte foncé pour rester lisible sur le bouton doré */
}

/* 2. Correction des fonds et bordures pour les cartes */
[data-theme="dark"] .about-flex, 
[data-theme="dark"] .review-form, 
[data-theme="dark"] details,
[data-theme="dark"] .timeline-content {
    background: rgba(255, 255, 255, 0.03); 
    border-color: rgba(255, 255, 255, 0.08); 
    box-shadow: none;
    color: var(--texte-sombre);
}

[data-theme="dark"] .audio-card-custom, 
[data-theme="dark"] .price-card, 
[data-theme="dark"] .form-container {
    background: rgba(255, 255, 255, 0.02) !important; 
    border-color: rgba(183, 102, 214, 0.3) !important; /* Bordure violette subtile */
    color: var(--texte-sombre);
}

/* 3. Correction des textes (Formulaires, paragraphes clairs) */
[data-theme="dark"] input, 
[data-theme="dark"] textarea, 
[data-theme="dark"] select { 
    background: rgba(255, 255, 255, 0.05) !important; 
    color: white; 
    border-color: rgba(255, 255, 255, 0.1) !important; 
}

[data-theme="dark"] .price-detail,
[data-theme="dark"] .timeline-content p,
[data-theme="dark"] details p {
    color: rgba(255, 255, 255, 0.7); /* Gris clair pour ne pas agresser les yeux */
}

[data-theme="dark"] .main-header.scrolled { 
    background: rgba(20, 8, 28, 0.9) !important; 
}

/* 4. Le bouton Lune / Soleil beaucoup plus facile à cliquer */
#theme-toggle {
    padding: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 5px;
    transition: 0.3s;
}
#theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1); /* Petit effet de survol très chic */
}
@media (max-width: 900px) {
    #theme-toggle { margin: 20px auto; width: 60px; height: 60px; font-size: 1.8rem; }
}

/* 5. Transitions fluides */
body { transition: background-color 0.4s, color 0.4s; }
.about-flex, .audio-card-custom, .price-card, .review-form, details, .timeline-content { transition: background-color 0.4s, border-color 0.4s, color 0.4s; }

/* 6. Boutons des filtres de la galerie */
.filter-btn { padding: 8px 20px; border-radius: 30px; border: 2px solid var(--violet-deep); background: transparent; color: var(--texte-sombre); font-weight: 600; cursor: pointer; transition: 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--violet-deep); color: white; }
.gallery-item.hide { display: none; }

/* --- CORRECTION LISIBILITÉ DES TEXTES --- */
/* 1. On force une couleur bien foncée sur fond blanc (Mode Clair) SANS VOILE */
body, 
p, 
.price-detail, 
details p, 
.timeline-content p, 
.audio-info span,
.starting-at {
    color: #2D3142 !important; 
    opacity: 1 !important; /* <-- C'est ici qu'on enlève le voile transparent ! */
}

/* 2. On s'assure que les champs du formulaire sont bien foncés */
input, textarea, select {
    color: #2D3142 !important;
}

/* 3. Mais on remet tout en clair quand on clique sur la Lune (Mode Sombre) */
[data-theme="dark"] body,
[data-theme="dark"] p, 
[data-theme="dark"] .price-detail, 
[data-theme="dark"] details p, 
[data-theme="dark"] .timeline-content p, 
[data-theme="dark"] .audio-info span,
[data-theme="dark"] .starting-at {
    color: #f0e6f5 !important; 
    opacity: 0.9 !important;
}

[data-theme="dark"] input, 
[data-theme="dark"] textarea, 
[data-theme="dark"] select {
    color: #ffffff !important;
}
/* --- CORRECTION DU FOND "COMMENT ÇA SE PASSE ?" --- */
/* On force les boîtes blanches à devenir sombres en Mode Nuit */
[data-theme="dark"] #timeline div[style*="background: white"] {
    background-color: rgba(255, 255, 255, 0.03) !important; 
    border-color: rgba(183, 102, 214, 0.3) !important; 
}

/* On s'assure que le texte est bien lisible */
[data-theme="dark"] #timeline p {
    color: #f0e6f5 !important; 
}

/* Touche de luxe : les titres des étapes deviennent dorés en mode sombre */
[data-theme="dark"] #timeline h3 {
    color: var(--gold) !important; 
}
/* --- BEAUTY PATCH : FORMULAIRE & LIVRE D'OR --- */

/* 1. Design moderne et doux pour les champs de texte */
input, textarea, select {
    background-color: #f7f5fa !important; /* Un gris-violet très clair et chic */
    border: 2px solid transparent !important;
    border-radius: 15px !important;
    padding: 16px 20px !important;
    font-size: 1rem;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

/* Effet "Glow" élégant quand on clique dans un champ pour écrire */
input:focus, textarea:focus, select:focus {
    border-color: var(--violet-deep) !important;
    background-color: #ffffff !important;
    outline: none;
    box-shadow: 0 0 15px rgba(142, 68, 173, 0.15) !important;
    transform: translateY(-2px);
}

/* 2. Embellissement des grandes boîtes blanches (Conteneurs) */
.form-container, .review-form, .reviews-list, #contact-form-section > div {
    background: #ffffff !important;
    border: none !important;
    border-radius: 40px !important;
    box-shadow: 0 20px 50px rgba(142, 68, 173, 0.08) !important; /* Ombre teintée violette */
    padding: 40px !important;
}

/* 3. Esthétique de l'avis affiché (Livre d'or) */
.review-card-item {
    text-align: center;
    padding: 10px 20px;
}
.review-card-item p {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
    margin: 25px 0;
    color: var(--texte-sombre);
}

/* 4. Adaptation parfaite pour le Mode Sombre Luxueux (Or & Prune) */
[data-theme="dark"] input, 
[data-theme="dark"] textarea, 
[data-theme="dark"] select {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

[data-theme="dark"] input:focus, 
[data-theme="dark"] textarea:focus, 
[data-theme="dark"] select:focus {
    border-color: var(--gold) !important; /* Bordure dorée au clic */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2) !important; /* Lueur dorée */
    background-color: rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .form-container, 
[data-theme="dark"] .review-form, 
[data-theme="dark"] .reviews-list,
[data-theme="dark"] #contact-form-section > div {
    background: rgba(255, 255, 255, 0.02) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(183, 102, 214, 0.2) !important;
}
/* --- CORRECTION DU BLOC CONTACT (FOOTER) --- */
/* On protège le pied de page pour que le texte reste blanc sur son fond sombre */
footer p, 
footer a, 
footer strong, 
footer h4,
footer i {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

/* On garde le bel effet orange quand on survole les liens ou les icônes */
footer a:hover, 
footer a:hover i {
    color: var(--orange-vif) !important;
    opacity: 1 !important;
}
/* --- CORRECTION ZONE DE CLIC DU MENU --- */
/* On agrandit la zone invisible autour des mots pour faciliter le clic */
.nav-link {
    padding: 15px 10px !important; 
    display: inline-block !important; /* S'assure que la hauteur invisible fonctionne bien */
}

/* Sur mobile, on rend la zone de clic encore plus grande */
@media (max-width: 900px) {
    .nav-link {
        padding: 15px 30px !important;
        width: 100%; /* Le clic fonctionne sur toute la largeur de l'écran */
    }
}
/* --- FORMAT VIDÉO VERTICAL (YOUTUBE SHORTS) --- */
.short-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.77%; /* C'est le ratio exact d'un écran de téléphone (9:16) */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
}
.short-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* --- CORRECTION CADRAGE PHOTO BIO (MICRO COUPE) --- */

/* 1. On donne plus de hauteur à la "boîte" pour voir le micro en entier */
.about-image-container {
    height: 600px !important; /* On passe de 450px à 600px pour plus d'espace vertical */
}

/* 2. On ajuste le focus de l'image (alignement vers le bas) */
.about-image-parallax {
    background-position: center bottom !important; /* Force l'affichage du bas de l'image (où se trouve le micro) */
}
/* --- NOUVEAU CORRECTIF CADRAGE PHOTO BIO (FORMAT MOYEN + MICRO VISIBLE) --- */

/* 1. On donne une hauteur moyenne et fixe au cadre (format "carré adouci") */
.about-image-container {
    height: 480px !important; /* Format "juste milieu", moins envahissant */
    max-height: 480px !important; /* Sécurité pour mobile */
}

/* 2. On force l'alignement pour que le MICRO soit toujours visible */
.about-image-parallax {
    background-position: center bottom !important; /* Force l'affichage du bas de l'image (le micro) */
    background-size: cover !important; /* S'assure que la photo remplit bien la boîte sans se déformer */
}
/* --- CORRECTIONS MOBILE --- */
/* Centrage parfait des images */
.gallery-item img {
    object-fit: cover !important;
    object-position: center center !important;
}
.about-image-parallax {
    background-position: center center !important;
}

/* Réapparition du bouton Langue sur téléphone */
@media (max-width: 768px) {
    .nav-menu .lang-btn {
        display: inline-block !important;
        margin-top: 15px;
    }
}
/* Centrage sur le HAUT de l'image (pour voir les visages) */
.gallery-item img {
    object-fit: cover !important;
    object-position: top center !important;
}
.about-image-parallax {
    background-position: top center !important;
}
/* --- NOUVELLE CLASSE POUR PHOTO TROP HAUTE --- */
/* Pour recentrer parfaitement la photo (si top center était trop agressif) */
.gallery-item.frame-center img {
    object-position: center center !important;
}
/* ========================================= */
/* 🚨 CORRECTIONS DEFINITIVES MOBILE 🚨 */
/* ========================================= */
@media (min-width: 769px) {
    /* Sur PC : on cache le petit bouton EN du téléphone */
    .lang-btn-mobile { display: none !important; }
    .hamburger { display: none !important; }
}

@media (max-width: 768px) {
    /* Sur téléphone : on cache le bouton EN du menu PC */
    .lang-btn-desktop { display: none !important; }
    .hamburger { display: block !important; }
    
    /* Cadrage photo : on vise vers le haut (20% en partant du haut) pour avoir les visages */
    .gallery-item img {
        object-fit: cover !important;
        object-position: center 20% !important; 
    }
}