/* ===== STYLES DE BASE COMMUNS ===== */
.bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.entete {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 2rem 0;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
  justify-content: center;
}

.element {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.content {
  max-width: 850px;
  color: white;
}

/* ===== THÈME 1: GRANDE IMAGE DE FOND ===== */
.bg.grande-img-bg {
  height: 42rem;
  background-image: var(--bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: 0;
  animation: fadeInBackground 1s ease-in forwards;
}

/* Animation du background */
@keyframes fadeInBackground {
  to {
    opacity: 1;
  }
}


.grande-img-bg .entete {
  padding: 4rem 0;
}

.grande-img-bg .element {
  min-height: 400px;
  text-align: center;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.entete__button {
  display: flex;
  justify-content: center;
  align-items: center;
  
 
  margin-top: -3rem;

  margin-bottom: 1rem;
  z-index: 100;
}

.entete__button_link {
  display: block;
  background-color: var(--primary-500);
  color: var(--black-900);
  padding: .5rem;
  width: 250px;
  text-align: center;
  font-size: clamp(1rem, 1.1875rem + 0.5vw, 1.5rem);

font-size: 27px;
font-weight: 900;
text-transform: uppercase;
  transition: all .4s;

  z-index: 100;
}

.entete__button_link:hover {
  
  background-color: var(--primary-200);
}

.grande-img-bg .intro.animate {
  animation: fadeInUpIntro 0.8s ease forwards;
}

@keyframes fadeInUpIntro {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}


/* ===== THÈME 3: BG-DUO (DEUX IMAGES DÉCALÉES) ===== */

.duo-img {
  display: flex;
  min-height: 25rem;
  background: 
  radial-gradient(ellipse at top, var(--black-800), transparent),
    radial-gradient(ellipse at bottom, var(--black-900) 80%, transparent);
  justify-content: center;
  align-items: center;

}

.duo-img .entete{
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.duo-img_container {
  max-width: 60rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.06rem;
}

.duo-img_images {
  flex: 1 1 55%;
  display: flex;
  gap: 1.06rem;
}



/* Positionnement des images bg-duo */

.duo-img .bg-duo_arrow{
  display: none;
}

.duo-img .img-1 {
  margin-top: 4rem;
  width: 17.5rem;
  height: 23.625rem;
  flex-shrink: 0;
}

.duo-img .img-2 {
  width: 17.5rem;
  height: 23.625rem;
  flex-shrink: 0;
}



.duo-img .content {
  text-align: left;
  color: #CAD8E2;
  font-size: 1.1875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75rem;
}

.duo-img .content .title-content {
  margin-bottom: 3rem;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {

  .bg {
    overflow: inherit;
  }

  .title-line strong {
  font-size: 6rem;
}
.bg.grande-img-bg {
  height: 300px;
}
.grande-img-bg .entete {
  padding: 1rem 0;
}

.title-content-h2 {
 font-size: 3rem;
}
 @keyframes glissement {
      0% {
        margin-top: 0;
        opacity: 0.6;
      }
      50% {
        margin-top: 1.5rem;
        opacity: 1;
      }
      100% {
        margin-top: 0;
        opacity: 0.6;
      }
    }


}

@media (max-width: 480px) {
  
}

/* ===== ANIMATIONS D'ENTRÉE ===== */

.entete {
  animation: fadeInUp 1s ease-out;
}