/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* 1) Header transparent au chargement */
.header-sticky,
.header-sticky .e-con-inner{
  background: transparent !important;
}

/* si un autre élément (menu / wrapper) met du blanc, on neutralise */
.header-sticky *{
  background-color: transparent;
}

/* 2) Quand Elementor active le sticky */
.header-sticky.elementor-sticky--active,
.header-sticky.elementor-sticky--active .e-con-inner{
  background: #fff !important;
}

/* on redonne un fond blanc aux éléments internes UNIQUEMENT quand sticky */
.header-sticky.elementor-sticky--active *{
  background-color: transparent; /* on évite les blocs blancs internes */
}

/* Optionnel : ombre au scroll */
.header-sticky.elementor-sticky--active{
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}