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

/* ================================================
   Générale
   ================================================ */
.page-content {
  overflow-x: clip;
  overflow-y: visible;
} 
p {
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}
.elementor-widget-text-editor p:has(+ p) {
  margin-block-end: 20px !important;
}
.position-relative {
  position: relative !important;
}
.display-none {
  display: none !important;
}


/* ================================================
   Scroll Bar custom
   ================================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--e-global-color-primary);
  border: 0px none var(--e-global-color-accent);
  border-radius: 0px;
}
::-webkit-scrollbar-track {
  background: var(--e-global-color-accent);
  border: 0px none var(--e-global-color-accent);
  border-radius: 0px;
}

*, *::before, *::after {
  box-sizing: inherit;
}
*, *::before, *::after {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: border-box;
}


/* ================================================
   Header - Style & Animation
   ================================================ */
/* --- menu langue Mobile/Tablet --- */
.elementor-nav-menu--main .wpml-ls-item,
.header-wrap-btn,
.btn-menu {
  display: none !important;
}
@media( min-width:1024px ) {
  .menu-item-mobile {
      display: none !important;
  }
  .header-wrap-btn,
  .btn-menu {
	  display: flex !important;
  }
}
@media( max-width:1024px ) {
  .elementor-nav-menu--main .wpml-ls-item {
	  display: block !important;
  }
}
.menu-header .elementor-nav-menu .menu-item > a:hover {
  color: var(--e-global-color-accent) !important;
}
footer .menu-item-mobile {
	display: none !important;
}

.logo-site,
.header-wrap-btn {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.header--scrolled .logo-site,
.header--scrolled .header-wrap-btn {
  opacity: 0;
  pointer-events: none;
}
@media( min-width:1024px ) {
	.btn-menu {
		width: auto !important;
	}
	.btn-menu .elementor-widget-container {
		width: auto !important;
	}
	.btn-menu .elementor-button-wrapper {
		width: auto !important;
	}
	.btn-menu .elementor-button {
		width: auto !important;
		min-width: unset !important;
		padding: 10px 28px !important;
		display: inline-flex !important;
	}
	.menu-header {
		transition: transform 0.5s cubic-bezier(.4,0,.2,1);
		transform-origin: center center;
		overflow: hidden;
	}
	.header--scrolled .menu-header {
		transform: scaleX(0.11);
	}
	.menu-header .elementor-item {
		transition: opacity 0.15s ease;
		white-space: nowrap;
	}
	.header--scrolled .menu-header .elementor-item {
		opacity: 0;
		pointer-events: none;
	}
	.btn-menu {
		position: absolute !important;
		left: 50% !important;
		transform: translateX(-50%) scale(0.6) !important;
		opacity: 0 !important;
		pointer-events: none !important;
		transition: opacity 0.3s ease 0.2s,
			transform 0.4s cubic-bezier(.34,1.56,.64,1) 0.2s !important;
		z-index: 10 !important;
	}
	.header--scrolled .btn-menu {
		opacity: 1 !important;
		transform: translateX(-50%) scale(1.2) !important;
		pointer-events: all !important;
	}
	.wrap-menu:hover .menu-header {
		transform: scaleX(1) !important;
	}
	.wrap-menu:hover .menu-header .elementor-item {
		opacity: 1 !important;
		pointer-events: all !important;
		transition-delay: 0.15s;
	}
	.wrap-menu:hover .btn-menu {
		opacity: 0 !important;
		transform: translateX(-50%) scale(0.7) !important;
		pointer-events: none !important;
	}

	.elementor-sticky {
		z-index: 99999 !important;
	}

	.menu-header .elementor-menu-toggle {
		position: relative;
		z-index: 100001 !important;
	}

	.logo-site {
		position: relative;
		z-index: 100001 !important;
	}

	.menu-header .elementor-nav-menu--dropdown {
		position: fixed !important;
		top: 0px !important; 
		left: 0 !important;
		right: 0 !important;

		width: 100vw !important;
		height: calc(100dvh - 0px) !important;
		max-height: calc(100dvh - 0px) !important;
		--menu-height: calc(100dvh - 0px) !important;

		margin-top: 0 !important;
		z-index: 99998 !important;
		overflow-y: auto !important;

		background-color: var(--e-global-color-secondary);
	}

	.menu-header .elementor-nav-menu--dropdown .elementor-nav-menu {
		min-height: calc(100dvh - 0px);
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}


/* ================================================
   Style Accueil 
   ================================================ */
.text-path-style {
  text-transform: uppercase;
  font-size: 40px !important;
}

.text-a-propos .img-text-circle {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  vertical-align: middle;
  position: relative;
  border: 2px solid #f5f2ec;
  margin: 0 3px;
}

.title-indent {
  padding-left: -3em;
  text-indent: 3em;
}

.reveal-text .word {
  display: inline;
  opacity: 0.15;
  will-change: opacity;
}

.wrap-h-120 {
	height: 120px !important;
}

/* Descriptions */
.desc-valerie,
.desc-megan {
    opacity: 0.15 !important;
    transition: opacity 0.6s ease-out !important;
}

/* Images */
.img-megan,
.img-valerie {
    transition: transform 0.3s ease;
}

/* Hover et activation au scroll */
.img-megan:hover,
.img-valerie:hover,
.img-megan.scroll-active,
.img-valerie.scroll-active {
    transform: scale(1.05);
}

/* Megan */
#apropos:has(.img-megan:hover) .desc-megan,
#about:has(.img-megan:hover) .desc-megan,
#apropos:has(.img-megan.scroll-active) .desc-megan,
#about:has(.img-megan.scroll-active) .desc-megan {
    opacity: 1 !important;
}

/* Valérie */
#apropos:has(.img-valerie:hover) .desc-valerie,
#about:has(.img-valerie:hover) .desc-valerie,
#apropos:has(.img-valerie.scroll-active) .desc-valerie,
#about:has(.img-valerie.scroll-active) .desc-valerie {
    opacity: 1 !important;
}


/* ================================================
   Line decoration 
   ================================================ */
.line-deco > .e-con-inner > * {
  pointer-events: all;
}
.line-deco .e-con-inner > .e-con {
  flex: 1 1 0 !important;
  min-height: 100dvh !important;
}


/* ================================================
   Section service 
   ================================================ */
.title-service h2 {
  display: flex !important;
  align-items: center;
  gap: 20px;
}
.number-title {
  font-family: var(--e-global-typography-86ac7f8-font-family);
  font-size: var(--e-global-typography-secondary-font-size);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  padding-bottom: 1em;
}

/* -- (sticky) -- */
.services-sticky-section {
  position: relative;
  min-height: 200dvh;
  overflow: visible !important;
}
.services-sticky-section > .elementor-sticky {
  position: sticky !important;
  top: clamp(100px, 8vw, 200px) !important;
  background: #F3EFE9;
}
.services-sticky-section > .elementor-sticky:nth-child(1) {
  z-index: 1;
}
.services-sticky-section > .elementor-sticky:nth-child(2) {
  z-index: 2;
}
.services-sticky-section > .elementor-sticky:nth-child(3) {
  z-index: 3;
}
.services-sticky-section > .elementor-sticky:nth-child(4) {
  z-index: 4;
}