.hero {
  background-image: url("/images/fond-compre.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  padding: 70px 7%;
  position: relative;
  text-align: center;
}

h1 {
  font-weight: bold;
  font-size: 3.5rem;
  line-height: 3.5rem;
}
.hero .btn--line {
  color: white;
}

.hero .inline {
  margin: 18px;
  display: flex;
  gap: 12px;
}

h2 {
  letter-spacing: -1px;
  font-size: 3rem;
  line-height: 3rem;
}
.hero h2 {
  font-size: 2rem;
  line-height: 2rem;
}

.presentation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
  padding: 5% 7%;
  background-color: white;
  gap: 24px;
}

.presentation-droite,
.presentation-gauche {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.presentation h2 {
  text-align: left;
  width: 100%;
  line-height: 2rem;
}
.img-presentation {
  width: 90%;
  height: 500px;
  overflow: hidden;
  border-radius: 18px;
}

.img-presentation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.presentation h2 {
  font-size: 3rem;
  margin-bottom: 18px;
  line-height: 3rem;
}

.plus {
  flex-direction: row;
  padding-top: 0;
}

@media screen and (max-width: 1250px) {
  .presentation {
    flex-direction: column;
    width: 100%;
  }
  .presentation-droite,
  .presentation-gauche {
    width: 100%;
  }
  .img-presentation {
    width: 100%;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 700px) {
  .img-presentation {
    width: 100%;
    margin-bottom: 24px;
    height: 300px;
  }
  .presentation h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 18px;
    line-height: 2.2rem;
  }
  .hero {
    background-attachment: scroll;
  }
  .hero h2 {
    font-size: 1.4rem;
    line-height: 1.5rem;
  }
}
