/**
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: 102px !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; }

/* Bouton BLACK FRIDAY : fond noir + base dorée */
.uael-nav-menu .elementor-repeater-item-293343c > a.uael-menu-item.elementor-button {
    position: relative;
    overflow: hidden;
    background: #000;
    color: #f7e1a3;
    border-radius: 0px; /* style pilule moderne */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Légère mise en avant au survol */
.uael-nav-menu .elementor-repeater-item-293343c > a.uael-menu-item.elementor-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(255, 215, 140, 0.4);
}

/* Halo doré discret dans le fond */
.uael-nav-menu .elementor-repeater-item-293343c > a.uael-menu-item.elementor-button::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 30% 10%, rgba(255, 230, 170, 0.25), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 140, 0.2), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

/* Lucioles dorées animées – 10 points lumineux */
.uael-nav-menu .elementor-repeater-item-293343c > a.uael-menu-item.elementor-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(255, 230, 180, 0.95) 0, rgba(255, 230, 180, 0) 55%)  8%  22% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255, 215, 140, 0.95) 0, rgba(255, 215, 140, 0) 55%) 22%  32% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255, 240, 210, 0.95) 0, rgba(255, 240, 210, 0) 55%) 40%  18% / 5px 5px no-repeat,
        radial-gradient(circle, rgba(255, 220, 150, 0.95) 0, rgba(255, 220, 150, 0) 55%) 60%  26% / 8px 8px no-repeat,
        radial-gradient(circle, rgba(255, 235, 190, 0.95) 0, rgba(255, 235, 190, 0) 55%) 80%  36% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255, 225, 170, 0.95) 0, rgba(255, 225, 170, 0) 55%) 16%  72% / 7px 7px no-repeat,
        radial-gradient(circle, rgba(255, 235, 200, 0.95) 0, rgba(255, 235, 200, 0) 55%) 34%  82% / 5px 5px no-repeat,
        radial-gradient(circle, rgba(255, 215, 160, 0.95) 0, rgba(255, 215, 160, 0) 55%) 56%  66% / 9px 9px no-repeat,
        radial-gradient(circle, rgba(255, 230, 190, 0.95) 0, rgba(255, 230, 190, 0) 55%) 76%  76% / 6px 6px no-repeat,
        radial-gradient(circle, rgba(255, 240, 210, 0.95) 0, rgba(255, 240, 210, 0) 55%) 90%  56% / 4px 4px no-repeat;
    mix-blend-mode: screen;
    opacity: 0.9;
    filter: blur(0.3px);
    animation:
        fireflies-move 7s linear infinite alternate,
        fireflies-twinkle 2.4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

/* Animation de déplacement des 10 lucioles */
@keyframes fireflies-move {
    0% {
        background-position:
            8%  22%,
            22% 32%,
            40% 18%,
            60% 26%,
            80% 36%,
            16% 72%,
            34% 82%,
            56% 66%,
            76% 76%,
            90% 56%;
    }
    50% {
        background-position:
            12% 34%,
            26% 20%,
            44% 30%,
            64% 18%,
            84% 42%,
            12% 86%,
            30% 90%,
            52% 78%,
            72% 64%,
            88% 80%;
    }
    100% {
        background-position:
            6%  28%,
            24% 40%,
            42% 22%,
            58% 32%,
            78% 46%,
            18% 78%,
            38% 88%,
            60% 70%,
            82% 60%,
            95% 72%;
    }
}

/* Scintillement des lucioles */
@keyframes fireflies-twinkle {
    0% {
        opacity: 0.3;
        filter: blur(0.5px);
    }
    50% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 0.4;
        filter: blur(0.8px);
    }
}




