/* 
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 */

/* ══════════════════════════════════════
   SCROLL STATE
   ══════════════════════════════════════ */

/* Background blanc */
.elementor-location-header .my-header.elementor-sticky--active {
    background-color: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Nav links */
.elementor-location-header .my-header.elementor-sticky--active
.elementor-nav-menu--main .elementor-item {
    color: #252F36 !important;
}

.elementor-location-header .my-header.elementor-sticky--active
.elementor-nav-menu--main .elementor-item:hover {
    color: #252F36 !important;
    opacity: 0.7;
}

/* Bouton outline — Interactive Maps */
.elementor-location-header .my-header.elementor-sticky--active
.elementor-button.elementor-size-sm:first-of-type,
.elementor-location-header .my-header.elementor-sticky--active
.elementor-widget:nth-child(1) .elementor-button {
    background: transparent !important;
    border: 1px solid #252F36 !important;
    color: #252F36 !important;
}

/* Bouton filled — Register Interest */
.elementor-location-header .my-header.elementor-sticky--active
.elementor-widget:nth-child(2) .elementor-button,
.elementor-location-header .my-header.elementor-sticky--active
.elementor-button-wrapper:last-child .elementor-button {
    background: #252F36 !important;
    border: 1px solid #252F36 !important;
    color: #ffffff !important;
}

/* Hover bouton Register Interest */
.elementor-location-header .my-header.elementor-sticky--active
.elementor-button-wrapper:last-child .elementor-button:hover {
    background: #1a1f24 !important;
    border-color: #1a1f24 !important;
}

/* Logo SVG → noir */
.elementor-location-header .my-header.elementor-sticky--active
svg path,
.elementor-location-header .my-header.elementor-sticky--active
svg rect,
.elementor-location-header .my-header.elementor-sticky--active
svg polygon,
.elementor-location-header .my-header.elementor-sticky--active
svg circle,
.elementor-location-header .my-header.elementor-sticky--active
svg g {
    fill: #252F36 !important;
    stroke: none !important;
}

/* Logo PNG → filtre noir */
.elementor-location-header .my-header.elementor-sticky--active
.elementor-widget-image img {
    filter: brightness(0) !important;
}

/* ══════════════
 * 
 * /* Force transparent avant que JS charge */
.elementor-location-header .my-header {
    background-color: transparent !important;
    background-image: none !important;
}