/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0.0
Description: Child theme for Hello Elementor
Author: EWD
*/



/* Vos CSS personnalisés en dessous */
div#top-header {
    border: 1px solid #DCDCDC;
    padding: 4px;
    width: max-content;
    margin-right: 0;
    justify-content: space-between;
    gap: 48px;
    align-items: center;
    border-radius: 4px;
    background: #fffdf4;
    width: 100%;
}
div#top-header > .elementor-element {
    padding: 0;
    max-width: max-content !important;
    align-items: center;
    width: 100%;
}
div#top-header > #top-header-2.elementor-element {
    max-width: 100% !important;
}
div#top-header-logo img {
    width: 98px;
}
div#top-header {
    padding-right: 12px;
}
a#bouton-top-header svg {
    min-width: 33px;
}
a#bouton-top-header span.elementor-button-content-wrapper {
    align-items: center;
}
div#top-header-icone img {
    width: 14px;
}
div#footer-2 {
    padding: 48px 0 0 0;
}
.custom-select-language.form-control, .custom-select-language {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none;
    background-color: transparent !important;
    border: 1px solid #fff !important;
    cursor: pointer;
    padding: 0 !important;
    color: #fff !important;
    height: auto !important;
    text-indent: 0 !important;
    box-shadow: none !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 100% !important;
    letter-spacing: 0px !important;
    width: 100%  !important;
    max-width: 100% !important;
    border-radius: 4px !important;
    padding-top: 20px !important;
    padding-right: 24px !important;
    padding-bottom: 20px !important;
    padding-left: 24px !important;
    border-width: 1px;
}
footer .custom-select-wrapper-language {
    width: 100%;
    max-width: 193px;
    position: relative;
    display: flex;
    gap: 0;
}
.nice-select .nice-select-dropdown {
    margin-top: 4px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, .11);
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform-origin: 50% 0;
    transform: scale(0.75) translateY(19px);
    transition: all .2s 
cubic-bezier(0.5, 0, 0, 1.25), opacity .15s 
ease-out;
    z-index: 9;
    opacity: 0;
}
.nice-select .nice-select-dropdown {
    box-shadow: none !important;
    border: 1px solid #DBE2EA !important;
    width: 100%;
    top: -90px !important;
}
div#footer-2-1 {
    max-width: 193px;
}
div#footer-2-2 > div {
    width: max-content !important;
}
div#footer-2-2-text p {
    margin: 00;
    font-weight: 400;
    font-size: 17px;
    line-height: 19px;
    letter-spacing: 0;
    color: #FFFFFF80;
}
body.home footer .nice-select:after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(2%) saturate(7464%) hue-rotate(305deg) brightness(101%) contrast(108%);
}
footer .nice-select:after {
    right: 24px !important;
}
.nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: "";
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    transform-origin: 66% 66%;
    transform: rotate(45deg);
    transition: all .15s 
ease-in-out;
    width: 5px;
}
.nice-select:after {
    width: 10px !important;
    height: 5px !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(/wp-content/uploads/2025/11/Vector-4.svg) !important;
    border: none !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    right: -13px !important;
    transform: rotate(0deg) translate(0%, -50%) !important;
    top: 50% !important;
    margin-top: 0 !important;
}
.nice-select .list {
    border-radius: 5px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0;
    max-height: 210px;
    overflow-y: auto;
}
.nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    transition: all .2s;
}
footer select.custom-select-language.form-control {
    display: none;
}
.nice-select .option {
    color: #202020;
    padding: 0 15px !important;
    width: 100%;
    max-width: 100%;
}
div#footer-2-1-socials, div#footer-2-1-socials span.elementor-grid-item {
    display: flex;
}
.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal {
    display: none;
}
.otgs-development-site-front-end {
    display: none;
}
div#footer > div {
    gap: 48px;
}
div#footer > div {
    padding: 0;
}
#footer {
    background: linear-gradient(180deg, #0C0C0C 0%, #242424 100%) !important;
    padding-top: 170px;
    padding-bottom: 64px;
}
div#footer-1 {
    padding: 0;
}
div#footer-1-1 {
    max-width: 414px;
    width: 100%;
}
div#footer-1-1 > * {
    max-width: 193px;
    width: 100%;
}
div#footer-1-1-logo img {
    width: 95px;
}
div#footer-1 .elementor-element, div#footer-2 .elementor-element {
    padding: 0 !important;
    width: 100%;
}
div#footer-1-1-text p {
    margin: 00;
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    line-height: 19px;
    letter-spacing: 0;
}
.ehf-header #masthead {
    margin-top: 8px;
    position: fixed;
    top: auto;
    left: auto;
    right: 12px;
}
main#content {
    padding-top: 78px;
    padding-bottom: 84px;
    border-radius: 0 0 50px 50px;
    margin-bottom: -47px;
    z-index: 2;
    position: relative;
    background: #fffdf4;
}
footer {
    z-index: 1;
    position: relative;
}


/* ============================================
   NOVA HEADER MENU ANIMATION - CSS
   ============================================ */

/* Menu container - Optimisé pour l'animation width */
#top-header-2 {
	/* will-change: width, opacity !important; */
	/* backface-visibility: hidden !important; */
	/* transform: translateZ(0) !important; */
	/* transition: none !important; */
	white-space: nowrap !important;
	/* overflow: hidden !important; */
	/* display: block !important; */
	/* animation: none !important; */
    transition: width 0.1s;
}



/* Icon container - Clickable */
div#top-header-icone {
	cursor: pointer !important;
	user-select: none !important;
	transition: none !important;
	animation: none !important;
}

div#top-header-icone:hover {
	opacity: 0.8 !important;
	transition: none !important;
}

div#top-header-icone:active {
	opacity: 0.6 !important;
	transition: none !important;
}

/* Icon image - Rotation optimisée */
div#top-header-icone img {
	will-change: transform !important;
	backface-visibility: hidden !important;
	/* transform: translateZ(0) !important; */
	/* transform-origin: center center !important; */
	display: block !important;
	/* transition: none !important; */
	/* animation: none !important; */
}

/* Header container - Zone de hover */
#top-header {
	position: relative;
}

@media (max-width: 1199px) {
	div#top-header {
		gap: 30px;
	}

}

@media (max-width: 991px) {
  
    div#footer-2 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    div#footer-2-2 > div {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }
	.ehf-header #masthead {
		left: auto;
		right: initial;
		width: 100%;
		max-width: 100%;
	}
	div#top-header-3 {
		display: none;
	}
	div#top-header-4 {
		display: none;
	}
	div#top-header > #top-header-2.elementor-element {
		width: auto !important;
		overflow: visible !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
    div#top-header {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
        padding: 10px;
        width: calc(100% - 40px);
    }
}

/* Responsive - Désactiver sur mobile */
@media (max-width: 768px) {
	#top-header-2 {
		/* Sur mobile, toujours visible */
		width: auto !important;
		opacity: 1 !important;
	}
	
	#top-header-3 {
		/* Cacher l'icône toggle sur mobile */
		display: none !important;
	}
}

/* Performance - Reduced motion */
@media (prefers-reduced-motion: reduce) {
	#top-header-2,
	#top-header-3 img {
		transition: none !important;
	}
}

.nova-scroll-hero-text > p {
    font-family: Rethink Sans;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
}
main#content {
    padding-top: 78px;
}