.elementor-kit-11{--e-global-color-primary:#1B1B1B;--e-global-color-secondary:#FFFFFF;--e-global-color-text:#5E5E5E;--e-global-typography-primary-font-family:"Lexend";--e-global-typography-primary-font-size:128px;--e-global-typography-primary-font-weight:500;--e-global-typography-secondary-font-family:"Lexend";--e-global-typography-secondary-font-size:48px;--e-global-typography-secondary-font-weight:500;--e-global-typography-text-font-family:"Lexend";--e-global-typography-text-font-size:14px;--e-global-typography-text-font-weight:300;--e-global-typography-e3cbfb3-font-family:"Lexend";--e-global-typography-e3cbfb3-font-size:20px;color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );}.elementor-kit-11 e-page-transition{background-color:#FFBC7D;}.elementor-kit-11 h1{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );}.elementor-kit-11 h2{color:var( --e-global-color-primary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-kit-11 h3{color:var( --e-global-color-primary );font-family:"Lexend", Sans-serif;font-size:20px;font-weight:400;}.elementor-kit-11 button,.elementor-kit-11 input[type="button"],.elementor-kit-11 input[type="submit"],.elementor-kit-11 .elementor-button{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );}.elementor-kit-11 img{border-radius:48px 48px 48px 48px;}.elementor-kit-11 label{color:var( --e-global-color-primary );font-family:"Lexend", Sans-serif;font-size:14px;font-weight:400;}.elementor-kit-11 input:not([type="button"]):not([type="submit"]),.elementor-kit-11 textarea,.elementor-kit-11 .elementor-field-textual{font-family:"Lexend", Sans-serif;font-size:16px;font-weight:400;color:var( --e-global-color-text );accent-color:var( --e-global-color-primary );background-color:#E2E2E2;border-style:none;border-radius:6px 6px 6px 6px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-kit-11{font-size:var( --e-global-typography-text-font-size );}.elementor-kit-11 h1{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-11 h2{font-size:var( --e-global-typography-secondary-font-size );}.elementor-kit-11 button,.elementor-kit-11 input[type="button"],.elementor-kit-11 input[type="submit"],.elementor-kit-11 .elementor-button{font-size:var( --e-global-typography-text-font-size );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-11{font-size:var( --e-global-typography-text-font-size );}.elementor-kit-11 h1{font-size:var( --e-global-typography-primary-font-size );}.elementor-kit-11 h2{font-size:var( --e-global-typography-secondary-font-size );}.elementor-kit-11 button,.elementor-kit-11 input[type="button"],.elementor-kit-11 input[type="submit"],.elementor-kit-11 .elementor-button{font-size:var( --e-global-typography-text-font-size );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */<style>
/* HEADER PAR DÉFAUT */
.custom-header{
    background: transparent;
    transition: all 0.35s ease;
}
/* TITRE PAR DÉFAUT */
.custom-header .header-title{
    color: #1B1B1B;
    transition: all 0.35s ease;
}
/* HEADER AU SCROLL */
.custom-header.scrolled{
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* TITRE AU SCROLL */
.custom-header.scrolled .header-title{
    color: #1B1B1B;
}
/* ITEMS MENU PAR DÉFAUT */
.custom-header .elementor-nav-menu .elementor-item{
    color: #1B1B1B !important;
    transition: all 0.35s ease;
}
/* ITEM ACTIF PAR DÉFAUT */
.custom-header .elementor-nav-menu .elementor-item.elementor-item-active{
    color: #1B1B1B !important;
}
/* ITEMS MENU AU SCROLL */
.custom-header.scrolled .elementor-nav-menu .elementor-item{
    color: #1B1B1B !important;
}
/* ITEM ACTIF AU SCROLL */
.custom-header.scrolled .elementor-nav-menu .elementor-item.elementor-item-active{
    color: #5E5E5E !important;
}
/* LOGO - transition douce */
.custom-header img[class*="logo"],
.custom-header .elementor-site-logo img,
.custom-header .site-logo img {
    transition: opacity 0.35s ease;
}
/* TEXTE HOVER */
.texte-hover .texte-cache {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), 
              max-height 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.texte-hover:hover .texte-cache {
  opacity: 1;
  max-height: 400px;
  transform: translateY(0);
}
.texte-hover .titre-visible {
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.texte-hover:hover .titre-visible {
  transform: translateY(-8px);
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
</style>

<script>
document.addEventListener('DOMContentLoaded', function () {
    const logoWhite = 'https://etsneveu-mobilier.fr/wp-content/uploads/2026/05/ets-neveu-logo-white-tsp.png';
    const logoColor = 'https://etsneveu-mobilier.fr/wp-content/uploads/2026/05/ets-neveu-logo-tsp.png';

    const header = document.querySelector('.custom-header');

    function findLogo() {
        if (!header) return null;
        // Cible toutes les variantes possibles de logo Elementor
        return header.querySelector([
            '.elementor-site-logo img',
            '.site-logo img',
            '.elementor-widget-site-logo img',
            '.elementor-widget-theme-site-logo img',
            'a[href] img'
        ].join(', '));
    }

    function updateLogo() {
        const logo = findLogo();
        if (!logo) return;

        const isScrolled = header.classList.contains('scrolled');
        logo.src = isScrolled ? logoColor : logoWhite;
    }

    // Observer les changements de classe .scrolled sur le header
    if (header) {
        const observer = new MutationObserver(updateLogo);
        observer.observe(header, { attributes: true, attributeFilter: ['class'] });
        updateLogo();
    }

    // Filet de sécurité - retry si le logo n'est pas encore dans le DOM
    let attempts = 0;
    const retry = setInterval(function () {
        attempts++;
        if (findLogo()) {
            updateLogo();
            clearInterval(retry);
        }
        if (attempts >= 10) clearInterval(retry);
    }, 300);
});
</script>/* End custom CSS */