/* ==========================================================================
   STYLE_FINALISATION.CSS - VERSION MASTER V59 (CADRES QUI PRENNENT LA COULEUR)
   ========================================================================== */

/* ==========================================================================
   [1] SETTINGS & VARIABLES
   ========================================================================== */

:root {
    /* --- Couleurs --- */
    --main-color: #8A2BE2;
    --secondary-color: #00BFFF;
    --cyan-bright: #00E5FF;
    --blue-deep: #2979FF;

    /* --- Typographie --- */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;
    --display-font: 'Playfair Display', serif;
    
    /* --- Effets Visuels --- */
    --action-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--main-color) 100%);
    --cyan-gradient: linear-gradient(90deg, #00E5FF 0%, #2979FF 100%);
    
    /* --- Dimensions --- */
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-pill: 50px;
}

/* --- THEME DARK (Défaut) --- */
body.theme-dark {
    --c-bg: #050505;
    --c-surface: #101010;
    --c-text-primary: #ffffff;
    --c-text-secondary: #b0b0b0;
    --c-border: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(20, 20, 20, 0.85);
    --shadow-card: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- THEME LIGHT (Mode Jour) --- */
body.theme-light {
    --c-bg: #f8f9fa;
    --c-surface: #ffffff;
    --c-text-primary: #1a1a1a;
    --c-text-secondary: #555555;
    --c-border: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --shadow-card: 0 15px 40px rgba(0,0,0,0.06);
}

/* ==========================================================================
   [2] GLOBAL & RESET
   ========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    font-family: var(--body-font);
    background-color: var(--c-bg);
    color: var(--c-text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--main-color); border-radius: 5px; }

/* ==========================================================================
   [3] TYPOGRAPHIE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--c-text-primary);
    line-height: 1.25;
    opacity: 1 !important; visibility: visible !important;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    position: relative; display: inline-block; margin-bottom: 1.5rem;
    color: var(--c-text-primary);
}

.section-title::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: var(--action-gradient); margin-top: 0.5rem; border-radius: 2px;
}
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
#apropos .section-title::after { margin-left: 0; }

p.lead {
    font-size: 1.2rem; opacity: 0.9; max-width: 800px;
    margin-left: auto; margin-right: auto;
    color: var(--c-text-secondary);
}

/* ==========================================================================
   [4] COMPOSANTS UI
   ========================================================================== */

/* Navbar */
.navbar {
    background: var(--nav-bg); backdrop-filter: blur(15px);
    border: 1px solid var(--c-border); padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill); margin-top: 1rem;
    box-shadow: var(--shadow-card);
}
.navbar-brand { font-size: 1.3rem; color: var(--c-text-primary) !important; }
.nav-link { font-weight: 500; color: var(--c-text-secondary) !important; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--main-color) !important; }

.navbar-toggler {
    background: var(--action-gradient) !important; border: none !important;
    border-radius: 50% !important; width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center; padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); transition: transform 0.3s ease;
}
.navbar-toggler:hover { transform: scale(1.1); }
.navbar-toggler-icon { filter: invert(1) brightness(200%) !important; width: 1.2em; height: 1.2em; }

/* Logo */
.logo-container {
    width: 45px; height: 45px; border-radius: 12px;
    background: var(--action-gradient); display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem;
}
.logo-display { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-size: contain; background-repeat: no-repeat; background-position: center; }
body.theme-light .logo-display { filter: none; }

/* Boutons */
.btn-primary {
    background: var(--action-gradient); border: none; color: #fff !important;
    padding: 0.9rem 2.2rem; border-radius: var(--radius-pill); font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* Menu Mobile */
.offcanvas { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
body.theme-dark .offcanvas {
    background-color: rgba(15, 15, 20, 0.8) !important;
    backdrop-filter: blur(30px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.1); color: #ffffff;
}
body.theme-light .offcanvas {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(30px); color: #1a1a1a;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.offcanvas .btn-close { opacity: 1; }
body.theme-dark .offcanvas .btn-close { filter: invert(1); }

#mobile-nav-list .nav-link {
    font-size: 1.3rem; font-weight: 700; padding: 1.2rem 0;
    border-bottom: 1px solid var(--c-border);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s;
}
body.theme-dark #mobile-nav-list .nav-link { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.05); }
body.theme-light #mobile-nav-list .nav-link { color: #333; border-color: rgba(0,0,0,0.05); }
#mobile-nav-list .nav-link:hover {
    color: var(--main-color) !important;
    letter-spacing: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.1), transparent);
}

/* ==========================================================================
   [5] SECTIONS
   ========================================================================== */
section { padding: 100px 0; position: relative; }

#accueil { min-height: 100vh; display: flex; align-items: center; padding-top: 140px; }
.parallax-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -2; background-attachment: fixed;
}
body.theme-light .section-overlay { background: linear-gradient(to bottom, rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.95)); }
body.theme-dark .section-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.6), var(--c-bg)); }
.section-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; }

/* Footer */
#footer-final {
    background: var(--c-surface); border-top: 1px solid var(--c-border);
    padding-top: 6rem; padding-bottom: 120px;
}
.footer-catchphrase { font-family: var(--display-font); font-style: italic; font-size: 1.5rem; margin-bottom: 4rem; color: var(--c-text-secondary); }
#footer-final h5 {
    color: var(--c-text-primary); text-transform: uppercase; font-size: 1.2rem !important;
    font-weight: 800 !important; letter-spacing: 1px; margin-bottom: 2rem;
    border-left: 4px solid var(--main-color); padding-left: 15px;
}
@media (min-width: 992px) {
    #footer-col-contact, #footer-col-services, #footer-col-horaires { border-right: 1px solid var(--c-border) !important; padding-right: 2rem; }
    #footer-col-services, #footer-col-horaires, #footer-col-nav { padding-left: 2rem; }
}
.footer-list a, #footer-contact-list a { color: var(--c-text-secondary); text-decoration: none; transition: 0.2s; font-size: 1rem; display: block; margin-bottom: 0.8rem; }
.footer-list a:hover, #footer-contact-list a:hover { color: var(--main-color); padding-left: 5px; }
#footer-contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 1.2rem; color: var(--c-text-secondary); }
#footer-contact-list i { color: var(--main-color); font-size: 1.1rem; }
#footer-horaires-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--c-border); color: var(--c-text-secondary); font-size: 0.95rem; }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--c-border); text-align: center; font-size: 0.85rem; color: var(--c-text-secondary); }
.footer-legal a { color: var(--c-text-secondary); text-decoration: none; margin: 0 5px; }

/* ==========================================================================
   [6] MODULES ADMIN
   ========================================================================== */
#customization-panel {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
    background: var(--c-surface); padding: 1.2rem 0; border-top: 1px solid var(--c-border);
    transform: translateY(110%); transition: 0.4s; box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}
#customization-panel.is-open { transform: translateY(0); }
.customization-title { font-size: 1.1rem; font-weight: 800; color: var(--c-text-primary); margin-bottom: 0; }
.customization-subtitle { font-size: 0.9rem; color: var(--c-text-secondary); }
#color-palette-selector { display: flex; gap: 10px; align-items: center; justify-content: center; }
.palette-choice { width: 35px; height: 35px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: all 0.2s; box-shadow: 0 3px 8px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.palette-choice:hover { transform: scale(1.2); }
.palette-choice.active { border-color: var(--c-bg); box-shadow: 0 0 0 2px var(--c-text-primary), 0 5px 15px rgba(0,0,0,0.3); transform: scale(1.1); }
#theme-toggle-btn-commande { width: 45px; height: 45px; border-radius: 50%; background: var(--c-bg); border: 1px solid var(--c-border); color: var(--c-text-primary); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
#theme-toggle-btn-commande:hover { background: var(--c-border); transform: rotate(15deg); }
#proceed-to-studio-btn { background: var(--action-gradient) !important; color: #fff !important; border: none; padding: 0.8rem 2rem; border-radius: 50px; font-weight: 700; display: flex; align-items: center; gap: 10px; box-shadow: 0 5px 20px color-mix(in srgb, var(--main-color) 40%, transparent); transition: 0.3s; width: 100%; justify-content: center; }
#proceed-to-studio-btn:hover { transform: translateY(-3px); }
#palette-toggle-container { position: fixed; bottom: 30px; right: 30px; z-index: 1045; display: flex; flex-direction: column; align-items: center; gap: 15px; }

/* ==========================================================================
   [7] ANIMATIONS
   ========================================================================== */
[data-animation] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), transform 0.8s cubic-bezier(0.2, 1, 0.3, 1); }
[data-animation].is-visible { opacity: 1 !important; transform: translateY(0) !important; }
#hero-title-final { opacity: 0; animation: heroReveal 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards; animation-delay: 0.2s; }
@keyframes heroReveal { 0% { opacity: 0; transform: translateY(40px) scale(0.95); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

/* ==========================================================================
   [8] IMAGES & CADRES (DESIGN NÉON COLORÉ)
   ========================================================================== */
/* Hero */
#hero-title-final { font-size: clamp(3.5rem, 9vw, 6rem) !important; font-weight: 900 !important; text-transform: uppercase !important; line-height: 1.05 !important; letter-spacing: -0.02em !important; color: #ffffff !important; text-shadow: 0 4px 10px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.5) !important; margin-bottom: 1.5rem !important; display: block !important; }
#hero-subtitle-final { color: #f0f0f0 !important; }

/* Wrapper Image Hero */
#hero-image-final-wrapper {
    max-width: 500px !important; width: 100% !important; aspect-ratio: 3 / 4 !important;
    margin: 6rem auto 2rem auto !important; display: block !important;
    padding: 8px !important; 
    border-radius: 24px !important; 
    /* BORDURE QUI PREND LA COULEUR PRINCIPALE AVEC TRANSPARENCE */
    border: 2px solid color-mix(in srgb, var(--main-color) 50%, transparent) !important; 
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px);
    /* OMBRE QUI PREND LA COULEUR */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px color-mix(in srgb, var(--main-color) 30%, transparent) !important;
    animation: float 6s ease-in-out infinite; overflow: hidden !important;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Wrapper Image À Propos */
#apropos .image-frame {
    max-width: 480px !important; width: 100% !important; aspect-ratio: 3 / 4 !important;
    margin: 0 auto !important; display: block !important;
    padding: 8px !important; border-radius: 24px !important;
    /* BORDURE COLORÉE */
    border: 2px solid color-mix(in srgb, var(--main-color) 50%, transparent) !important;
    background: rgba(255, 255, 255, 0.03);
    /* LUEUR COLORÉE */
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px color-mix(in srgb, var(--main-color) 25%, transparent) !important;
}

/* Images internes */
#hero-image-final, #apropos-image-final {
    width: 100% !important; height: 100% !important; object-fit: cover !important; 
    border-radius: 16px !important; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Carrousel */
#carousel-final {
    /* BORDURE ET LUEUR COLORÉES */
    border: 2px solid color-mix(in srgb, var(--main-color) 40%, transparent) !important; 
    border-radius: 24px !important;
    padding: 10px !important; background: rgba(255, 255, 255, 0.02) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px color-mix(in srgb, var(--main-color) 20%, transparent) !important;
    overflow: hidden !important; margin-bottom: 3rem; 
}
#gallery-inner-final img { border-radius: 16px !important; }

/* Services */
#forfaits-list-final { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; width: 100%; }
.list-group-item { background: var(--c-surface) !important; border: 1px solid var(--c-border) !important; border-left: 4px solid var(--main-color) !important; border-radius: 12px !important; padding: 1.8rem !important; margin-bottom: 0 !important; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-card); }
.list-group-item span { font-weight: 600; font-size: 1.1rem; color: var(--c-text-primary); flex-grow: 1; }
.list-group-item strong { background: rgba(138, 43, 226, 0.1); color: var(--main-color); padding: 5px 12px; border-radius: 20px; font-size: 1.1rem; margin-right: 10px; }

/* Textes */
#about-subtitle-final { font-family: var(--heading-font) !important; font-weight: 800 !important; font-size: 1.6rem !important; color: var(--c-text-primary) !important; margin-bottom: 2rem !important; display: block !important; }
#about-text-final ul { list-style: none; padding-left: 0; margin-top: 1.5rem; }
#about-text-final li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1rem; font-size: 1.05rem; color: var(--c-text-secondary); }
#about-text-final li i { color: var(--main-color); margin-top: 3px; }

/* Témoignages */
.testimonial-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg) !important; padding: 2.5rem; box-shadow: var(--shadow-card); }
.testimonial-card p { color: var(--c-text-secondary) !important; font-size: 1.15rem; font-style: italic; position: relative; z-index: 2; }
.testimonial-card .fw-bold { color: var(--c-text-primary) !important; margin-top: 5px; }
.testimonial-card .bi-quote { color: var(--main-color); opacity: 0.4; font-size: 3rem; position: absolute; top: 15px; left: 15px; }

/* Stats & CTA */
#stats .section-title, #stats-subtitle-final, #stats .display-4, #stats .text-uppercase { color: #ffffff !important; }
#cta-between-map-footer h2, #cta-between-map-footer p { color: #ffffff !important; text-shadow: 0 2px 5px rgba(0,0,0,0.8) !important; }

/* ==========================================================================
   [9] CONTACT & FORMULAIRE & MAP (DESIGN PREMIUM)
   ========================================================================== */
#contact .card { background: rgba(15, 15, 20, 0.6) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: 24px !important; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important; padding: 3rem !important; overflow: hidden; }

/* Map Style Premium (Cadre coloré aussi) */
.map-wrapper {
    border-radius: 30px !important; overflow: hidden !important;
    /* BORDURE COLORÉE ICI AUSSI */
    border: 4px solid color-mix(in srgb, var(--main-color) 30%, transparent) !important; 
    background: #1a1a1a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px color-mix(in srgb, var(--main-color) 20%, transparent) !important;
    position: relative; transform: translateZ(0); transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.map-wrapper:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 40px color-mix(in srgb, var(--main-color) 40%, transparent) !important;
    border-color: var(--main-color) !important; /* Devient vif au survol */
}
.map-wrapper iframe {
    width: 100%; height: 450px; display: block;
    filter: grayscale(10%) contrast(1.1) brightness(0.9); transition: filter 0.5s ease;
}
.map-wrapper:hover iframe { filter: grayscale(0%) contrast(1) brightness(1); }

/* Bouton GPS */
#map-route-btn {
    background: var(--action-gradient) !important; color: #fff !important;
    border: none; border-radius: 50px; padding: 16px 40px !important; margin-top: -30px;
    position: relative; z-index: 10; font-weight: 800 !important; font-size: 1.1rem;
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
    display: inline-flex !important; align-items: center; justify-content: center; gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(138, 43, 226, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); min-width: 250px;
}
#map-route-btn:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 40px rgba(138, 43, 226, 0.6); }
#map-route-btn i { font-size: 1.4rem; }
#map-route-btn span:empty::after { content: "Lancer le GPS"; white-space: nowrap; }

/* Contact Infos & Form Inputs */
#contact-info-list-final a, #contact-info-list-final p { font-size: 1.2rem; display: flex; gap: 15px; text-decoration: none; }
#contact-info-list-final i { color: var(--main-color); font-size: 1.4rem; }
body.theme-dark #contact-title-final, body.theme-dark #contact-subtitle-final, body.theme-dark #contact-info-list-final a, body.theme-dark #contact-info-list-final p { color: #ffffff !important; }
body.theme-light #contact-title-final, body.theme-light #contact-subtitle-final, body.theme-light #contact-info-list-final a, body.theme-light #contact-info-list-final p { color: #1a1a1a !important; text-shadow: none !important; }
#form-title-final { color: #ffffff !important; font-weight: 800; letter-spacing: -0.5px; }

.form-floating > .form-control {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #ffffff !important; caret-color: #ffffff !important;
    font-weight: 500; height: calc(3.5rem + 2px); line-height: 1.25; transition: all 0.3s ease;
}
.form-floating > textarea.form-control { height: 150px !important; }
.form-floating > .form-control::placeholder { color: transparent !important; }
.form-floating > .form-control:focus::placeholder { color: transparent !important; }

.form-floating > .form-control:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.15) !important;
    color: #ffffff !important; caret-color: #ffffff !important;
}
.form-floating label { color: rgba(255, 255, 255, 0.6) !important; padding-left: 1rem; font-size: 0.95rem; transition: all 0.2s ease-in-out; z-index: 2; }
.form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--main-color) !important; opacity: 1 !important;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    background: transparent !important;
}
.form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after { background-color: transparent !important; }

input:-webkit-autofill, textarea:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #0b0b0f inset !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: white !important; color: #ffffff !important;
}

#contact-submit {
    width: 100%; padding: 1rem; font-size: 1.1rem; font-weight: 700; margin-top: 1rem;
    border-radius: 50px; background: var(--action-gradient) !important; border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
#contact-submit:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }

/* ==========================================================================
   [10] SECTION RASSURANCE & TOAST & BARRE
   ========================================================================== */
.futuristic-toast {
    background: rgba(20, 20, 30, 0.95) !important;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-left: 4px solid #00ff9d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-radius: 12px; overflow: hidden; max-width: 380px;
}
.futuristic-toast .toast-header { background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #fff; }
.futuristic-toast .icon-box { color: #00ff9d; font-size: 1.2rem; display: flex; align-items: center; }
.futuristic-toast.show { animation: slideInToast 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideInToast { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.btn-close-white { filter: invert(1) grayscale(100%) brightness(200%); }

#smart-controls { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1050; padding: 8px 12px; border-radius: 50px; background: rgba(15, 15, 20, 0.9); backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 10px 40px rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; gap: 12px; animation: slideUpControls 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes slideUpControls { from { transform: translate(-50%, 100px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.btn-action-back { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff !important; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; text-decoration: none; }
.btn-action-back:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); border-color: #fff; }
.btn-action-validate { background: var(--cyan-gradient) !important; color: #000 !important; border: none; border-radius: 50px; padding: 12px 30px; font-weight: 800; font-size: 1rem; display: flex; align-items: center; gap: 10px; box-shadow: 0 0 20px rgba(0, 229, 255, 0.4); transition: all 0.3s ease; }
.btn-action-validate:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 229, 255, 0.6); filter: brightness(1.1); }

/* ==========================================================================
   [12] PATCH MODE JOUR (CORRECTIFS CRITIQUES V58)
   ========================================================================== */

/* 1. Hero plus propre */
body.theme-light #hero-title-final { color: #0b1220 !important; text-shadow: none !important; }
body.theme-light #hero-subtitle-final { color: rgba(11, 18, 32, 0.82) !important; text-shadow: none !important; }

/* 2. Images (Cadres Lumineux en Mode Jour) */
body.theme-light #hero-image-final-wrapper, 
body.theme-light #apropos .image-frame,
body.theme-light #carousel-final {
    background: rgba(255, 255, 255, 0.6) !important; /* Fond laiteux */
    /* Bordure légèrement colorée */
    border: 2px solid color-mix(in srgb, var(--main-color) 20%, transparent) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1), /* Ombre douce */
        0 0 30px color-mix(in srgb, var(--main-color) 10%, transparent) !important; /* Lueur subtile colorée */
}

/* 3. Stats Visibles */
body.theme-light #stats .text-white { color: #1a1a1a !important; }
body.theme-light #stats .h2, body.theme-light #stats .display-4 { color: #1a1a1a !important; text-shadow: none !important; }
body.theme-light #stats p.text-white { color: #555 !important; }

/* 4. Contact Formulaire Clair (Verre Blanc) */
body.theme-light #contact .card {
    background: rgba(255, 255, 255, 0.8) !important; /* Blanc semi-transparent */
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light #form-title-final { color: #1a1a1a !important; }

/* 5. Inputs en Mode Jour */
body.theme-light .form-floating > .form-control {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #0b1220 !important;
    caret-color: #0b1220 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
body.theme-light .form-floating > .form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(138, 43, 226, 0.15) !important;
    color: #0b1220 !important;
}
body.theme-light .form-floating label { color: rgba(0, 0, 0, 0.5) !important; }
body.theme-light .form-floating > .form-control:focus ~ label, 
body.theme-light .form-floating > .form-control:not(:placeholder-shown) ~ label {
    background: transparent !important; color: var(--main-color) !important;
}

/* 6. Map & Infos en Mode Jour */
body.theme-light .map-wrapper {
    background: #fff;
    border: 4px solid color-mix(in srgb, var(--main-color) 20%, transparent) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 20px color-mix(in srgb, var(--main-color) 10%, transparent) !important;
}
body.theme-light .map-wrapper iframe { filter: none !important; } /* On retire le filtre gris */
body.theme-light #contact-info-list-final .text-white { color: #1a1a1a !important; }

/* 7. Footer Mode Jour */
body.theme-light #footer-final h5 { color: #1a1a1a !important; }
body.theme-light #footer-final li, body.theme-light #footer-final p, body.theme-light #footer-final span { color: #555 !important; }
body.theme-light #footer-final .text-white-50 { color: #555 !important; }

/* 8. Reset Autofill pour Mode Jour */
body.theme-light input:-webkit-autofill, body.theme-light textarea:-webkit-autofill {
    -webkit-text-fill-color: #0b1220 !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    color: #0b1220 !important;
}