/**
Theme Name: Astra Child
Author: SARL CYBERFR
Author URI: https://cyberfr.net
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* 0) Le header ne doit pas couper le méga-menu */
/* Le header devient le référentiel du positionnement *//* Le header et le nav laissent déborder le panneau */

.uael-nav-menu li.menu-item { position: inherit !important }
.site-main-nav .e-con-inner { position: relative !important}

.swiper { z-index: revert !important; }
.swiper-wrapper { z-index: revert !important; }

/* Sous-menu UAEL ancré au NAV (plus de décalage à gauche) */
.site-main-nav .nav-mega .sub-menu.parent-has-template {
  position: absolute !important;   /* relatif à .site-main-nav */
  display:inline-table !important;
  top: 72px !important;            /* juste sous la barre rouge */
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;      /* on enlève le centrer/translate */
  background: #fff;
  box-sizing: border-box;
  border: 0;
  padding: 0;                      /* évite un décalage propre à certains thèmes */

}

.site-main-nav .nav-mega .sub-menu.parent-has-template .menu-item.saved-content.child.elementor-repeater { 
    display: inline-table;
    width: 1370px;
}


/* Le template Elementor à l'intérieur doit s'étirer */
.site-main-nav .nav-mega .sub-menu.parent-has-template > .menu-item.saved-content > .elementor {
  width: 100%;
  max-width: none;
}
/* Si ton template interne est "boxed", on centre et borne le contenu */
.site-main-nav .nav-mega .sub-menu.parent-has-template .e-con-boxed .e-con-inner {
  max-width: 1240px;               /* adapte à ta grille */
  margin: 0 auto;
  padding: 0 20px;
}
.sub-menu.parent-has-template { top: 50PX !important }
/* Sécurité : rien ne coupe le panneau dans l'entête */
.elementor-location-header .e-con { overflow: visible; }






/* Assure que le menu peut recevoir les lucioles */
.uael-nav-menu__layout-horizontal {
    position: relative;
    overflow: visible !important;
    z-index: 2;
}
.uael-nav-menu__layout-horizontal::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    /* 24 lucioles brillantes réparties */
    background:
        radial-gradient(circle, rgba(255,255,240,1) 0, transparent 60%) 5% 8% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255,240,200,1) 0, transparent 60%) 12% 18% / 8px 8px no-repeat,
        radial-gradient(circle, rgba(255,220,150,1) 0, transparent 60%) 20% 6% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255,250,230,1) 0, transparent 60%) 28% 22% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255,225,150,1) 0, transparent 60%) 35% 10% / 9px 9px no-repeat,
        radial-gradient(circle, rgba(255,240,210,1) 0, transparent 60%) 45% 4% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255,235,180,1) 0, transparent 60%) 52% 18% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255,250,230,1) 0, transparent 60%) 60% 2% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255,240,210,1) 0, transparent 60%) 68% 14% / 8px 8px no-repeat,
        radial-gradient(circle, rgba(255,225,160,1) 0, transparent 60%) 75% 6% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255,250,240,1) 0, transparent 60%) 84% 20% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255,240,190,1) 0, transparent 60%) 92% 10% / 7px 7px no-repeat;

    opacity: 1;
    filter: blur(0.4px);
    animation:
        fireflies-move-1 10s infinite alternate ease-in-out,
        fireflies-twinkle-1 2.5s infinite ease-in-out;
}

.uael-nav-menu__layout-horizontal::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    /* 24 lucioles supplémentaires */
    background:
        radial-gradient(circle, rgba(255,255,230,1) 0, transparent 60%) 6% 70% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255,240,200,1) 0, transparent 60%) 14% 82% / 8px 8px no-repeat,
        radial-gradient(circle, rgba(255,230,180,1) 0, transparent 60%) 22% 62% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255,215,150,1) 0, transparent 60%) 30% 90% / 9px 9px no-repeat,
        radial-gradient(circle, rgba(255,250,230,1) 0, transparent 60%) 38% 72% / 5px 5px no-repeat,
        radial-gradient(circle, rgba(255,240,210,1) 0, transparent 60%) 45% 96% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255,230,170,1) 0, transparent 60%) 55% 78% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255,245,210,1) 0, transparent 60%) 66% 92% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255,230,180,1) 0, transparent 60%) 78% 68% / 8px 8px no-repeat,
        radial-gradient(circle, rgba(255,240,200,1) 0, transparent 60%) 88% 88% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255,250,240,1) 0, transparent 60%) 94% 60% / 7px 7px no-repeat;

    opacity: 1;
    filter: blur(0.4px);
    animation:
        fireflies-move-2 14s infinite alternate ease-in-out,
        fireflies-twinkle-2 3.2s infinite ease-in-out;
}
.uael-nav-menu__layout-horizontal .firefly-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    /* 10 lucioles de premier plan */
    background:
        radial-gradient(circle, rgba(255,255,240,1) 0, transparent 60%) 20% 32% / 10px 10px no-repeat,
        radial-gradient(circle, rgba(255,250,220,1) 0, transparent 60%) 45% 65% / 9px 9px no-repeat,
        radial-gradient(circle, rgba(255,240,200,1) 0, transparent 60%) 70% 40% / 8px 8px no-repeat,
        radial-gradient(circle, rgba(255,230,170,1) 0, transparent 60%) 88% 72% / 10px 10px no-repeat;

    opacity: 1;
    animation:
        fireflies-move-3 18s infinite alternate ease-in-out,
        fireflies-twinkle-3 2.8s infinite ease-in-out;
}

.uael-nav-menu__layout-horizontal {
    /* création automatique du 3e calque */
}
.uael-nav-menu__layout-horizontal::before,
.uael-nav-menu__layout-horizontal::after {
    display:block;
}
@keyframes fireflies-move-1 {
    0% { transform: translate(0,0); }
    50% { transform: translate(12px, -8px); }
    100% { transform: translate(-10px, 6px); }
}
@keyframes fireflies-move-2 {
    0% { transform: translate(0,0); }
    40% { transform: translate(-6px, 10px); }
    100% { transform: translate(8px, -4px); }
}
@keyframes fireflies-move-3 {
    0% { transform: translate(0,0); }
    30% { transform: translate(10px, 4px); }
    70% { transform: translate(-14px, -6px); }
    100% { transform: translate(6px, 12px); }
}

@keyframes fireflies-twinkle-1 {
    0% { opacity:.3; }
    50% { opacity:1; }
    100% { opacity:.4; }
}
@keyframes fireflies-twinkle-2 {
    0% { opacity:.4; }
    50% { opacity:.9; }
    100% { opacity:.5; }
}
@keyframes fireflies-twinkle-3 {
    0% { opacity:.2; }
    50% { opacity:1; }
    100% { opacity:.3; }
}


/* Style par défaut */
.uael-nav-menu .elementor-repeater-item-ff6f1fe > a.uael-menu-item.elementor-button {
    background: #BD9529;
    color: #fff8e6;
}


