/**
 * BG Studio — Home transparent sticky header.
 * Enqueued only on the front page. Targets the Elementor header location.
 *
 * Structure réelle :
 * <header.elementor-location-header>
 *   <header.e-con.sticky-header.elementor-element-cf410ee>  ← bg solide à override
 *     <div.e-con.elementor-element-4861b1e2>                ← bg solide à override
 *       ...
 */

/* === État INITIAL : transparent overlay au-dessus du hero === */
body.home .elementor-location-header,
body.home .elementor-location-header > .e-con.sticky-header,
body.home .elementor-location-header .elementor-element-cf410ee,
body.home .elementor-location-header .elementor-element-4861b1e2,
body.home .elementor-location-header > .e-con.sticky-header > .e-con,
body.home .elementor-location-header > .e-con.sticky-header > .e-con > .e-con {
    background: transparent !important;
    background-color: transparent !important;
}

body.home .elementor-location-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Liens / icônes en clair sur le transparent */
body.home .elementor-location-header a,
body.home .elementor-location-header .e-n-menu-title-text,
body.home .elementor-location-header .e-n-menu-title-container > a,
body.home .elementor-location-header .menu-item > a,
body.home .elementor-location-header .elementor-button,
body.home .elementor-location-header .woocommerce-menu-cart .count,
body.home .elementor-location-header .elementor-icon,
body.home .elementor-location-header svg {
    color: #FAF5EF !important;
    fill: #FAF5EF !important;
}

/* === État STICKY (classe ajoutée par le JS) : brun foncé fixe === */
body.home .elementor-location-header.bgs-stuck {
    position: fixed;
    background: #3E332F !important;
    background-color: #3E332F !important;
    box-shadow: 0 2px 16px rgba(34, 28, 25, 0.25);
}
body.home .elementor-location-header.bgs-stuck > .e-con.sticky-header,
body.home .elementor-location-header.bgs-stuck .elementor-element-cf410ee,
body.home .elementor-location-header.bgs-stuck .elementor-element-4861b1e2 {
    background: #3E332F !important;
    background-color: #3E332F !important;
}
