/* ====================== SECTION DÉBUT ====================== */

.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0 100px;
  margin-top: 120px;
  margin-bottom: 140px;
  height: auto;
  transition: grid-template-columns 0.5s ease;
}

.apropos-image-wrapper {
  order: 1;
  width: 90%;
  aspect-ratio: 7 / 6;
  overflow: hidden;
  transition: 0.3s ease;
  justify-self: right;
}

.apropos-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.apropos-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.apropos-btn {
  display: inline-block;
  text-decoration: none;
}

.apropos-content h2{
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-weight: 250;
  line-height: 36px;
  font-size: 40px;
  color: #222222;
  max-width: 600px;
}

.apropos-content p{
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;

  margin-top: 60px;
  font-weight: 350;
  line-height: 24px;
  font-size: 16px;
  color: rgb(160, 160, 160);
}

@media (max-width: 920px) {
  .apropos-grid {
    grid-template-columns: 1fr;
    margin: 0 16px;
    margin-top: 120px;
    gap: 20px;
  }

  .apropos-title {
    margin-top: 30px;
    order: 2;
  }
  .apropos-image-wrapper {
    width: 70%;
    order: 1;
    transition: 0.3s ease;
    justify-self: center;
  }

  .apropos-btn {
    order: 3;
  }

  .apropos-content {
    display: contents;
  }

  .apropos-content p{
    margin-top: 0px;
    max-width: 700px;
    justify-self: center;
  }

  .apropos-content h2{
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .apropos-image-wrapper {
    width: 100%;
    transition: 0.3s ease;
  }
}









/* ====================== SECTION OFFRES ====================== */

.separator {
    border: 0;
    border-top: 1px solid #9c9c9c;
    margin-top: 80px;
}



.offres-section {
  margin: 0px 100px -80px;
}

.offres-title {
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-weight: 250;
  line-height: 36px;
  font-size: 40px;
  color: #222222;

  text-align: left;
  margin-bottom: 60px;
}

.offres-card-mini-title {
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-weight: 250;
  line-height: 28px;
  font-size: 28px;
  color: #222222;

  text-align: left;
  margin: 10px 20px 0px 20px;
}

.offres-card-text {
  font-family: "DM Sans";
  font-variation-settings: "opsz" 30;
  font-weight: 350;
  line-height: 24px;
  font-size: 16px;
  color: rgb(160, 160, 160);

  text-align: left;
  margin-top: 0px;
  margin: 0px 20px 10px 20px;
}


.offres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  row-gap: 0;
  column-gap: 40px;
}

.offres-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-items: start;
  row-gap: 0;
  margin-bottom: 100px;
}

.offres-card-mini-title {
  margin-top: 10px;
}

.offres-card-text {
  margin-top: 6px;
}

.apropos-btn-wrapper {
  margin-top: 6px;
  margin-left: 20px
}

.offres-card-image-wrapper {
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 10px;
}

.offres-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 920px) {
  .offres-section {
    margin: 0px 20px -80px;
  }

  .offres-grid {
    grid-template-columns: 1fr;
  }

  .offres-card-mini-title {
    margin: 10px 0px 0px 0px;
  }

  .offres-card-text {
    margin: 30px 0px 10px 0px;
  }

  .apropos-btn-wrapper {
    margin-left: 0px
  }
}