/* Styles du header repris du « CSS additionnel » WordPress (chargés AVANT les styles des composants, comme sur le site actuel). */
/* style pour header */
    /* Reset and Base Snippet */
    .header-wrapper {
/* 			display:none !important; */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0px 0;
        z-index: 1000;
        display: flex;
        justify-content: center  ;
	
    }

    /* Floating Navbar */
    .navbar {
			
        width: 90%;
    
        background-color: #ffffff;
        border-radius: 0 0 20px 20px;
			margin:0px;
        padding: 20px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* LOGO */
    .logo {
        text-decoration: none;
        display: flex;
        align-items: center ;
        gap: 8px;
		margin:0px;
    }


    /* NAVIGATION LINKS */
    .nav-links {
        display: flex;
        list-style: none;
        gap: 32px;
        align-items: center  ;
    }

    .nav-link {
        text-decoration: none;
        color: #3f3f3f !important ;
        font-size: 16px;
        font-weight: 500;
        transition: color 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .nav-link:hover {
        color: #008CFC !important ;
    }

    /* Dropdown Icon */
    .caret {
        width: 12px;
        height: 12px;
        stroke: currentColor;
        transition: transform 0.2s ease;
    }

    /* DROPDOWN MENU */
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        top: calc(100% + 1px);
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        background-color: #ffffff;
        border-radius: 12px;
        padding: 10px 0;
        min-width: 200px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        border: 1px solid #f1f3f5;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    /* Highlight the parent link when sub-menu is hovered */
    .dropdown:hover > .nav-link {
        color: #008CFC !important ;
    }

    .dropdown:hover .caret {
        transform: rotate(180deg);
    }

    .dropdown-item {
        display: block;
        padding: 10px 24px;
        text-decoration: none;
        color: #3f3f3f !important ;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .dropdown-item:hover {
        color: #008CFC !important ;
    }

    /* BUTTONS */
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .btn {
        font-size: 20px ;
        font-weight: 600;
        text-decoration: none;
        padding: 14px 24px;
        border-radius: 50px;
        transition: all 0.2s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .btn-outline {
        color: #4361EE ;
        border: 1.5px solid #4361EE;
    }

    .btn-outline:hover {
        background-color: rgba(73, 99, 242, 0.05);
    }

    .btn-solid {
        background-color: #4361EE;
        color: #ffffff;
        /* border: 1.5px solid #4361EE; */
        /* box-shadow: 0 4px 15px rgba(73, 99, 242, 0.2); */
    }

    .btn-solid:hover {
        background-color: #1A37BC;
        /* transform: translateY(-1px); */
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: none !important; /* Will be flex on mobile */
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        width: 30px;
        height: 19px;
        background: transparent !important;
        background-image: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0;
        z-index: 2000;
        margin-left: auto;
        position: relative;
    }

    .mobile-menu-toggle span {
        display: block !important;
        height: 3px !important;
        background: #008CFC !important;
        background-color: #008CFC !important;
        border-radius: 10px;
        transition: all 0.3s ease;
        position: relative;
    }

    /* Reset potential WP overrides on spans */
    .mobile-menu-toggle span::before,
    .mobile-menu-toggle span::after {
        display: none !important;
    }

    /* Exact bar lengths to match the image: Top (Long), Middle (Longest), Bottom (Medium) */
    .mobile-menu-toggle span:nth-child(1) { width: 22px !important;align-self: flex-end; }
    .mobile-menu-toggle span:nth-child(2) { width: 30px !important; }
    .mobile-menu-toggle span:nth-child(3) { width: 22px !important;align-self: flex-start; }

    /* Open State for the Icon */
    .mobile-menu-toggle.active {
        justify-content: center !important;
    }
    .mobile-menu-toggle.active span {
        width: 30px !important;
        align-self: center !important;
    }
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(3px) rotate(45deg) !important; }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0 !important; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-3px) rotate(-45deg) !important; }

    /* Mobile Menu Overlay */
    .nav-links-mobile {
        position: fixed;
        top: 0;
        left: 50%;
        right: auto;
        width: calc(100% - 14px);
        max-width: 360px;
        height: auto;
        min-height: 366px;
        background-color: #ffffff !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        padding: 48px 14px 21px;
        gap: 8px;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 16px 34px rgba(0,0,0,0.18);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
        transform: translateX(-50%) translateY(-12px);
        z-index: 1500;
        list-style: none !important;
        margin: 0 !important;
        visibility: hidden; /* Hidden by default */
        opacity: 0;
    }

    .nav-links-mobile.active {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0);
    }

    .nav-links-mobile .nav-link {
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        padding: 14px 0 !important;
        border-bottom: 0;
        width: 100%;
        color: #3f3f3f !important;
        justify-content: center;
        text-align: center;
    }

    /* Responsive - ensure toggle visibility */
@media (max-width: 1100px) {
    .navbar { width: 92% !important;
			    padding: 20px 15px;
	 }
	.logo {
		width:110px;
	}
    .mobile-menu-toggle.active {
        position: fixed !important;
        top: 17px !important;
        right: 20px !important;
        z-index: 2001 !important;
    }

    .header-wrapper:has(.mobile-menu-toggle.active) .logo {
        position: fixed;
        top: 14px;
        left: 20px;
        z-index: 2001;
    }

    .nav-links, .nav-actions { display: none !important; }
    
    /* On cible l'ID pour être plus spécifique qu'Elementor */
    #mobile-toggle.mobile-menu-toggle { 
        display: flex !important; 
        visibility: visible !important;
        opacity: 1 !important;
        
        /* RESET DES STYLES ELEMENTOR KIT */
        background: transparent !important; /* Force la transparence */
        border: none !important;            /* Enlève les bordures de kit */
        box-shadow: none !important;        /* Enlève les ombres de bouton */
        padding: 0 !important;              /* Enlève le padding du kit */
        min-height: 0 !important;           /* Évite que le kit force une hauteur */
        width: 30px !important;
        height: 19px !important;
    }

    /* On s'assure que les barres sont bien visibles à l'intérieur */
    #mobile-toggle span {
        display: block !important;
        background-color: #008CFC !important; /* Ta couleur bleue */
        height: 3px !important;
    }

    .nav-links-mobile .btn {
        width: 100% !important;
        min-height: 36px !important;
        padding: 10px 18px !important;
        font-size: 12px !important;
        line-height: 1 !important;
        border-radius: 18px !important;
        margin-top: 0 !important;
    }

    .nav-links-mobile .btn-solid {
        margin-top: 5px !important;
    }

    .nav-links-mobile .btn-outline {
        margin-top: 0 !important;
    }
}
/* FIX BUTTON STYLE (override WP) */
.btn-outline, .nav-links-mobile .btn-outline, .nav-actions .btn-outline {
    color: #4361EE !important;
    border: 1.5px solid #4361EE !important;
    background-color: transparent !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.btn-solid, .nav-links-mobile .btn-solid, .nav-actions .btn-solid {
    background-color: #4361EE !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.btn-solid:hover, .nav-links-mobile .btn-solid:hover, .nav-actions .btn-solid:hover {
    background-color: #1A37BC !important;
}

.btn-outline:hover, .nav-links-mobile .btn-outline:hover, .nav-actions .btn-outline:hover {
    background-color: rgba(67, 97, 238, 0.05) !important;
}
/* Cacher les sous-menus mobiles par défaut */
.mobile-submenu {
    display: none; 
    list-style: none;
    padding-left: 20px !important;
    background: rgba(0, 0, 0, 0.02);
}

/* Classe qui sera ajoutée par JS pour montrer le menu */
.mobile-item.open .mobile-submenu {
    display: block;
}

/* Animation du petit "+" qui devient "-" */
.mobile-item.open .toggle-submenu {
    transform: rotate(45deg); /* Ou change le texte en "-" via JS */
    color: #3f3f3f;
}

.nav-link.sub-item {
    font-size: 15px !important;
    font-weight: 400 !important;
    padding: 8px 0 !important;
}

.wpcf7-spinner{
	display:none !important;
}



.dropdown-item{position:relative}/* repris d’ElementsKit (extension WordPress) qui stylait le menu déroulant */
