#home-hero {
  position: relative;
  width: 100%;
  height: fit-content;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#home-hero .accroche-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 40vh;
  width: 100%;
  height: 100vh;
  z-index: 9;
  pointer-events: none;
}
#home-hero .accroche-wrapper .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
#home-hero #accroche {
  color: #fff;
  font-size: var(--size-24-35-35);
  font-weight: 300;
  line-height: 1.5em;
  letter-spacing: 0;
  text-align: center;
  margin: 0 auto;
  padding: 0;
  max-width: 1150px;
  pointer-events: none;
}
#home-hero #accroche strong {
  font-weight: 500;
}
#home-hero .hero-section-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
#home-hero .hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#home-hero .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #00000030 0%, #000000A5 40%, #00000091 100%),
    var(--bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
#home-hero .hero-section .hero-btn {
  position: absolute;
  bottom: 40vh;
  color: #fff;
  font-size: var(--size-16-25-25);
  font-weight: 500;
  line-height: 1em;
  letter-spacing: 0;
  text-align: center;
  margin: 0 auto;
  padding: 0.8em 1.2em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); /* 👈 flou possible */
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
#home-hero .hero-section .hero-btn svg {
  margin-left: 1em;
  width: var(--size-16-19-19);
  height: var(--size-16-19-19);
  transition: all 0.3s ease-in-out;
}
#home-hero .hero-section .hero-btn:hover svg {
  transform: translateX(10px);
}
#home-hero .hero-section .hero-arrow-down-animated {
  position: absolute;
  bottom: 5vh;
  color: #fff;
  cursor: pointer;
}
#home-hero .hero-section .hero-arrow-down-animated svg {
  color: #fff;
  width: 41px;
  height: 41px;
}
@media (max-width: 1550px) {
  #home-hero .hero-section .hero-btn {
    position: absolute;
    bottom: 35vh;
  }
    #home-hero .accroche-wrapper {
    padding-top: 35vh;
  }
}
@media (max-width: 992px) {
  #home-hero {
  }
  #home-hero .accroche-wrapper {
    padding-top: 28vh;
  }
}

#section-history .section-left {
  width: 26%
}
#section-history .section-right {
  width: 74%
}
#section-history .section-title {
  width: 90%;
  max-width: 380px;
  font-size: var(--size-20-23-23);
  line-height: 1.4em;
  text-align: left;
}
#section-history .section-title span {
  color: var(--theme-orange);
}
#section-history .section-double-underlined {
    margin: 2em 0 0.5em 0;
}
#section-history .section-hint {
  text-align: left;
  width: 90%;
  max-width: 303px;
}
#section-history .section-right .gites-video {
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
  object-position: 50% 50%;
}
@media (max-width: 992px) {
  #section-history .section-left {
    width: 100%;
    align-items: flex-start;
  }
  #section-history .section-right {
    width: 100%;
  }
  #section-history .section-title {
    width: 100%;
    max-width: 550px;
  }
  #section-history .section-hint {
    width: 100%;
    max-width: 500px;
  }
  #section-history .section-double-underlined {
    margin: 1em 0 0.5em 0;
  }
}

#page-home .missions-presentation  {
  margin-top: 4em;
}
@media (max-width: 992px) {
  #page-home .missions-presentation  {
    margin-top: 0;
  }
}

/* Animations Home */
body.lock-scroll {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: pan-y; /* Autorise le swipe vertical sur mobile */
}
body.lock-scroll-compensated {
  padding-right: var(--scrollbar-width, 17px);
}
#home-hero .hero-section .hero-btn {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 1s ease-out 1s;
}
#home-hero .hero-section.active .hero-btn {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.4s ease-out 0.6s, transform 0.4s ease-out 0.6s;
}
#home-hero #accroche {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.4s ease-out 0.2s, transform 0.4s ease-out 0.2s;
}
#home-hero #accroche.active {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 992px) {
  body.lock-scroll-compensated {
    padding-right: 0;
  }
}
