/*
Theme Name: Webiaprod-child
Description: Webiaprod child is a child theme of Generatepress
Author: Webiaprod
Author URI: https://www.webiaprod.fr/
Template: generatepress
Version: 1.0.1
Text Domain: Webiaprod
*/
/*MENU*/
/* 1. Le fond du header au scroll */
header .elementor-sticky--effects {
    background: #020923;
}

/* 2. ÉTAT INITIAL (Avant le scroll) */
/* On cible 'img' pour que ce soit l'image qui s'anime et non la boîte autour */
header .logo img {
/* STABILISATION */
    display: block; /* Empêche le comportement "texte" qui crée des décalages */
    transform: translateZ(0); /* Force l'accélération matérielle pour fluidifier */
    backface-visibility: hidden; /* Évite le clignotement ou le flou pendant l'anim */
    
    /* Animation */
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* 3. ÉTAT STICKY (Pendant le scroll) */
header .elementor-sticky--effects .logo img {
    max-width: 50px !important;
    /* On s'assure que les marges ne bougent pas si elles existent */
    margin-left: 0;
}

/*PARTICULES*/ 
/* 1. Configuration du Header */
#header {
    position: relative; /* Nécessaire pour contenir les particules */
    /* J'ai supprimé la ligne "background: transparent" qui posait problème */
}

/* 2. Positionnement du contenu (Logo, Texte, etc.) au premier plan */
#header .e-con-inner,
#header .elementor-widget,
#header .elementor-container {
    position: relative;
    z-index: 10; /* On s'assure que le contenu est bien DEVANT les particules */
}

/* 3. Réactivation des clics sur les éléments interactifs */
#header .elementor-widget-image,
#header .elementor-widget-button,
#header .elementor-widget-heading,
#header a {
    pointer-events: auto;
}

/* 4. Style pour le canvas des particules (généré par le script) */
canvas.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Positionne les particules juste au-dessus de votre fond actuel */
}

/*FORMULAIRE*/
.gform-theme--framework .gform-field-label--type-inline, legend.gfield_label.gform-field-label.gfield_label_before_complex {
    color: #ffffffc7 !important;
}
.gform-theme--foundation .gfield textarea.large{
	background-color: #102B4945;
	color: #FFFFFF6E;
}
.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
	background:var(--e-global-color-primary) !important;
	text-transform:uppercase !important;
	border-radius:0 !important;
	padding:20px !important;
	font-weight:700 !important;
}
