/* ============================================================
   FLORENCE.CSS — Styles de secours & correctifs locaux
   Chargé APRÈS tous les CSS d'origine pour surcharger Elementor
   ============================================================ */
        /* Menu mobile — Fond noir opaque et texte blanc */
        /* Conteneur principal du menu mobile */
        @media (max-width: 1024px) {
            #ekit-megamenu-menu {
                position: fixed !important; 
                top: 0 !important; 
                left: -100% !important;
                width: 300px !important; 
                max-width: 85vw !important; 
                height: 100vh !important;
                background-color: #000000 !important;
                background: #000000 !important;
                transition: left .3s ease !important;
                z-index: 100000 !important; 
                overflow-y: auto !important; 
                padding: 20px !important;
                box-shadow: 2px 0 20px rgba(0,0,0,.5) !important;
                color: #ffffff !important;
                
                /* Force le menu à s'organiser en colonne, en plaçant le premier élément tout en haut */
                display: flex !important;
                flex-direction: column !important;
            }
            
            #ekit-megamenu-menu.is-open { 
                left: 0 !important; 
            }

            /* Le panneau (Logo + Croix) forcé à passer en première position absolue */
            .elementskit-nav-identity-panel {
                order: -1 !important; /* Force l'affichage tout en haut */
                display: flex !important; 
                flex-direction: row !important;
                align-items: center !important;
                justify-content: space-between !important; 
                margin-bottom: 25px !important;
                padding-bottom: 15px !important;
                border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
                width: 100% !important;
                box-sizing: border-box !important;
                flex-shrink: 0 !important;
            }

            .elementskit-nav-identity-panel img {
                max-width: 130px !important;
                height: auto !important;
                display: block !important;
            }
            
            .elementskit-nav-identity-panel .elementskit-menu-close {
                background: rgba(255, 255, 255, 0.1) !important; 
                border: 0 !important; 
                border-radius: 50% !important;
                width: 36px !important;
                height: 36px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                font-size: 1.1rem !important;
                cursor: pointer !important; 
                color: #ff0000 !important;
            }

            /* Force tous les liens du menu en dessous */
            #ekit-megamenu-menu ul#menu-menu {
                order: 1 !important;
                list-style: none !important;
                padding: 0 !important;
                margin: 0 !important;
            }

            #ekit-megamenu-menu .ekit-menu-nav-link,
            #ekit-megamenu-menu a,
            #ekit-megamenu-menu span,
            #ekit-megamenu-menu li {
                color: #ffffff !important;
                background-color: transparent !important;
            }
        }

        /* Remplacement propre du bouton hamburger par une icône SVG nette */
        .elementskit-menu-hamburger {
            background: transparent !important;
            background-color: transparent !important;
            border: none !important;
            cursor: pointer;
            padding: 8px !important;
            display: flex !important;
            align-items: center;
            justify-content: center;
        }

        /* Cache l'ancienne icône défaillante qui fait un carré */
        .elementskit-menu-hamburger i,
        .elementskit-menu-hamburger .ekit-menu-icon {
            display: none !important;
        }

        /* Dessine l'icône de menu (3 lignes horizontales) */
        .elementskit-menu-hamburger::after {
            content: "";
            display: block;
            width: 26px;
            height: 20px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round'%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
        }

/* ====================================================
   FALLBACK HEADER COMPLET (ekit-widget-styles manquant)
   Desktop uniquement (≥ 1025px)
   ==================================================== */
@media (min-width: 1025px) {

    /* 1. Container racine : logo | (menu + infos + bouton) */
    header.elementor-66 .elementor-element-686bd10 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 30px !important;
        padding: 12px 30px !important;
        width: 100%;
    }

    /* 2. Côté droit */
    header.elementor-66 .elementor-element-0ee9eba {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 24px !important;
    }

    /* 3. Menu + (infos + bouton) */
    header.elementor-66 .elementor-element-11e55a7 {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 28px !important;
    }

    /* 4. Container du menu */
    header.elementor-66 .elementor-element-0790703 {
        display: flex !important;
        align-items: center !important;
        padding-top: 25px !important;    /* 👈 à ajuster */
    }

    /* 5. Container email + tél + bouton */
    header.elementor-66 .elementor-element-8d345af {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 22px !important;
    }

    /* 6. Container email + tél */
    header.elementor-66 .elementor-element-7cf8d80 {
        display: flex !important;
        align-items: center !important;
    }

    /* 7. UL du menu : horizontal */
    .elementskit-menu-container {
        width: auto !important;
    }
    .elementskit-navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0 !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .elementskit-navbar-nav > li {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 8. Liens du menu */
    .ekit-menu-nav-link {
        display: inline-block !important;
        padding: 8px 14px !important;
        text-decoration: none !important;
        color: inherit !important;
        font-family: inherit !important;
        font-size: 20px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        transition: opacity .2s !important;
        white-space: nowrap;
    }
    .ekit-menu-nav-link:hover {
        opacity: .7;
    }

    /* 9. Hamburger + panel mobile cachés en desktop */
    .elementskit-menu-hamburger { display: none !important; }
    .elementskit-nav-identity-panel { display: none !important; }

    /* 10. Email + téléphone alignés horizontalement */
    .ekit-header-info {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 18px !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .ekit-header-info li a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        text-decoration: none !important;
        color: inherit !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        white-space: nowrap;
    }
    .ekit-header-info li a i,
    .ekit-header-info li a svg {
        font-size: 16px !important;
        flex-shrink: 0;
        margin: 0 !important;
    }

    /* 11. Bouton "Faire une demande" */
    header.elementor-66 .elementor-element-bb58114 .elementor-button {
        white-space: nowrap;
    }

    /* Masque l'ancienne icône téléphone */
        .ekit-header-info li a .icon-phone1,
        .ekit-header-info li a .icon-phone,
        .ekit-header-info li a i[class*="phone"] {
            display: none !important;
        }

        /* Affiche un combiné contour rouge à la place */
        .ekit-header-info li a[href^="tel:"]::before {
            content: "";
            display: inline-block;
            width: 18px;
            height: 18px;
            margin-right: 6px;
            vertical-align: middle;
            flex-shrink: 0;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e63946' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.37 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        /* Masque l'ancienne icône mail */
        .ekit-header-info li a .icon-contact,
        .ekit-header-info li a i[class*="contact"] {
            display: none !important;
        }

        /* Affiche une enveloppe contour rouge à la place */
        .ekit-header-info li a[href^="mailto:"]::before {
            content: "";
            display: inline-block;
            width: 18px;
            height: 18px;
            margin-right: 6px;
            vertical-align: middle;
            flex-shrink: 0;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e63946' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='5' width='19' height='14' rx='1.5' ry='1.5'/><polyline points='3 6 12 13 21 6'/></svg>");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        /* ============ ICÔNE QUOTE — CONTOUR NOIR (même méthode mail/tél) ============ */

        /* ============ ICÔNE QUOTE — VRAI CARACTÈRE EN CONTOUR ============ */

        /* Cache l'ancienne icône */
        #content .elementor-element-ad3edb2 .elementor-icon i {
            display: none !important;
        }

        /* Le conteneur : un vrai guillemet caractère, en contour */
        #content .elementor-element-ad3edb2 .elementor-icon {
            display: inline-block !important;
            background: transparent !important;
            border: 0 !important;
            padding: 0 !important;
            margin: 0 auto !important;
            width: auto !important;
            height: auto !important;
            overflow: visible !important;
            font-family: Georgia, 'Times New Roman', 'Liberation Serif', serif !important;
            font-size: 96px !important;
            font-weight: 700 !important;
            line-height: 0.6 !important;
            color: transparent !important;
            -webkit-text-stroke: 2px #000000 !important;
            text-stroke: 2px #000000 !important;
        }

        /* Le caractère lui-même */
        #content .elementor-element-ad3edb2 .elementor-icon::before {
            content: "\201C" !important;
            color: transparent !important;
            -webkit-text-stroke: 2px #000000 !important;
            display: inline-block !important;
        }

        /* Centre dans la section */
        #content .elementor-element-ad3edb2 .elementor-icon-wrapper {
            text-align: center !important;
            display: block !important;
        } 
}