/* 
Theme Name: Nexus Press
Theme URI: 
Description: Nexus Press is a child theme of Hello Elementor, created by Nogency
Author: Nogency
Author URI: 
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 */
html, body{
  font-size: 16px;
}

body{
  font-family: "Plus Jakarta Sans", Sans-serif;
  
}

.white-space-break-spaces h2,
.white-space-break-spaces h3,
.white-space-break-spaces h4,
.white-space-break-spaces h5,
.white-space-break-spaces h6{
  white-space: break-spaces;
}

.puced h2::after,
.puced h3::after,
.puced h4::after{
  content: "";
  display: inline-block;
  width: 40px;
  height: 22px;
  background-image: url('assets/img/puce_02.png');
  background-position: center;
  background-size: cover;
  margin-left: 20px;
}

.elementor-widget-text-editor > ul{
  padding: 0 0 0 16px;
  list-style: none;
}
.elementor-widget-text-editor > ul > li{
  position: relative;
}

.elementor-widget-text-editor > ul > li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--e-global-color-accent);
  border-radius: 50px;
  position: absolute;
  top: 8px;
  left: -18px;
}

/*.expertise {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 80px;
  box-sizing: border-box;
}*/

/************
 * HEADER *
************/
  .site-header{
    padding: 0;
  }
  .site-header .header-inner{
    max-width: 100%;
    padding: 20px;
    background-color: var(--e-global-color-primary);
  }
  .custom-logo{
    max-width: 200px;
    padding: 20px 0;
  }

  .site-navigation ul.menu{
    gap: 0 5px;
  }

  .site-navigation ul.menu li a{
    color: #fff;
    position: relative;
    text-decoration: none;
    font-weight: 600;
    padding-top: 3px;
    padding-bottom: 4px;
  }

  .site-navigation a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: var(--e-global-color-accent);
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }

  .site-navigation a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
  }
  .site-navigation li.menu-item:last-child a {
    background-color: #1d1d1b;
    display: flex;
    align-items: center;
    border-radius: 50px;
    z-index: 0;
  }
  .site-navigation li.menu-item:last-child a::before {
    height: 32px;
    border-radius: 50px;
    z-index: -1;
  }
  .site-navigation li.menu-item:last-child a::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--e-global-color-accent);
    border-radius: 50px;
    margin-left: 10px;
    transition: all .3s ease-in-out;
  }
  .site-navigation li.menu-item:last-child a:hover {
    background-color: #1d1d1b;
    display: flex;
    align-items: center;
    border-radius: 50px;
  }
  .site-navigation li.menu-item:last-child a:hover::after {
    background-color: #1d1d1b;
  }

  
  .site-navigation-toggle-holder .site-navigation-toggle-icon{
    color: #ffffff;
    width: 2rem;
  }
  .site-navigation-toggle-holder .site-navigation-toggle-icon::before {
    box-shadow: 0 .6rem 0 currentcolor;
    margin-block-end: 1rem;
  }
  .site-navigation-toggle-holder .site-navigation-toggle[aria-expanded="true"] .site-navigation-toggle-icon::before {
    transform: translateY(.55rem) rotate(45deg);
  }
  .site-navigation-toggle-holder .site-navigation-toggle[aria-expanded="true"] .site-navigation-toggle-icon::after {
    transform: translateY(-.55rem) rotate(-45deg);
  }


/**/

/* HERO - Text reveal */

.hero-page::before {
    content: "";
    position: absolute;
    inset: -10% 0;

    z-index: -1;

    background-image: var(--hero-bg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    transform: translateY(var(--hero-parallax, 0px));

    will-change: transform;
}

.hero-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;

}

.hero-parallax-bg {
    position: absolute;
    inset: -15% 0;

    z-index: -1;

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    pointer-events: none;
    will-change: transform;
}

.hero-page .elementor-heading-title {
    will-change: transform;
}



/*.hero-page h2::before,
.hero-page h2::after{
  content: '';
  display: inline-block;
  width: 20px;
  height: 30px;
  background-image: url('assets/img/puce_01.png');
  background-position: center;
  background-size: cover;
}
.hero-page h2::before{
  margin-left: -22px;
}
.hero-page h2::after{
  margin-left: 6px;
  transform: rotateY(180deg);
}*/

.expertises .expertise {
    position: relative;
    will-change: transform, opacity;
}

.expertise{
  position: relative;
  padding-bottom: 90px;
}
.expertise .number{
  position: absolute;
  bottom: 0;
  right: 0;
}

/* =====================================
   NOTRE IDENTITÉ - ANIMATIONS
===================================== */

.notre-identite {
    overflow: hidden;
}

/* Préparation des éléments animés */
.notre-identite .puced,
.notre-identite .elementor-element-46ff8be,
.notre-identite .elementor-element-ef4ed17 {
    will-change: transform, opacity;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .notre-identite .puced,
    .notre-identite .elementor-element-46ff8be,
    .notre-identite .elementor-element-ef4ed17 {
        opacity: 1 !important;
        transform: none !important;
    }
}
