/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0
*/

/* ==========================================================================
   GLOBAL STYLES & RESET
========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #F6F8FA;
  color: #162139;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100vw;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
========================================================================== */
h1 {
  font-family: 'tt-commons-pro', sans-serif;
  font-size: 8rem; /* 128px */
  font-weight: 700;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
}

h2 {
  font-family: 'helvetica-neue-lt-pro', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
}

h3, .subtitle {
  font-family: 'proxima-nova', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  justify-content: center;
  text-align: center;
}

p, body {
  font-family: 'proxima-nova', sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    text-align: center;
  }
  h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    text-align: center;
  }
  h3, .subtitle {
    font-size: 1.15rem;
    line-height: 1.2;
    text-align: center;
  }
  h4 {
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
  }
  p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* ==========================================================================
   HEADER / NAVBAR
========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: transparent;
  padding: 2rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  will-change: background, box-shadow, padding;
}

.header-mobile {
  transition: transform 0.3s cubic-bezier(.77,0,.18,1), background 0.3s;
  will-change: transform, background;
}

.header-mobile.visible {
  background: rgba(22, 33, 57, 0.85); /* ou la couleur/fond de ton choix */
  box-shadow: 0 2px 16px 0 rgba(22,33,57,0.07);
  backdrop-filter: blur(6px);
  transition: background 0.3s, box-shadow 0.3s;
}

.header.condensed {
  background: rgba(22, 33, 57, 0.85);
  box-shadow: 0 2px 16px 0 rgba(22,33,57,0.07);
  padding: 0.7rem 0;
  backdrop-filter: blur(6px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
.main-nav .elementor-nav-menu {
  display: flex;
  gap: 2rem;
}
.main-nav .elementor-nav-menu a {
  color: #F6F8FA;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s;
}
.main-nav .elementor-nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, #68C6DF 0%, #BDDCB6 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
  border-radius: 2px;
}
.main-nav .elementor-nav-menu a:hover::after {
  transform: scaleX(1);
}