/* FONT FACE */
@font-face {
  font-family: "Grand Hotel";
  src: url("../fonts/Grand_Hotel/GrandHotel-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Delius";
  src: url("../fonts/Delius/Delius-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand/Quicksand-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand/Quicksand-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand/Quicksand-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand/Quicksand-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand/Quicksand-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
/* VARIABLES */
/*--------------------------------------------------------------
HERO
--------------------------------------------------------------*/
.hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 0;
}
.hero__image {
  width: 100vw;
  max-width: none;
  -o-object-position: bottom right;
     object-position: bottom right;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
  mask-image: linear-gradient(to bottom, transparent, #000 30%);
}
@media (min-width: 1188px) {
  .hero {
    min-height: 100vh;
    padding-top: 9rem;
    padding-bottom: 4rem;
  }
  .hero .container {
    position: relative;
    z-index: 1;
  }
  .hero__image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40%);
    mask-image: linear-gradient(to right, transparent, #000 40%);
  }
}

.hero__surtitre {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__titre {
  margin: 0;
}

.hero__accroche {
  margin-top: 2rem;
  font-size: 1.25rem;
  line-height: 1.4;
}
@media (min-width: 1188px) {
  .hero__accroche {
    font-size: 1.5rem;
  }
}

.hero__texte {
  margin-top: 1rem;
}

/*--------------------------------------------------------------
RESSOURCES
--------------------------------------------------------------*/
.ressources {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .ressources {
    flex-direction: row;
    gap: 0;
  }
}

.ressource {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .ressource {
    flex: 1;
    padding: 0 2rem;
  }
  .ressource + .ressource {
    border-left: 1px solid rgba(222.9625, 100.6375, 54.0375, 0.3);
  }
}
@media (min-width: 1500px) {
  .ressource {
    padding: 0 3rem;
  }
}

.ressource__picto {
  width: 6rem;
  height: 6rem;
  padding: 1.25rem;
  border-radius: 50%;
  background: #FAE7DF;
  -o-object-fit: contain;
     object-fit: contain;
}

.ressource__titre {
  margin: 0;
}
.ressource__titre::after {
  content: "";
  display: block;
  width: 3rem;
  margin: 1.25rem auto 0;
  border-top: 1px solid rgb(222.9625, 100.6375, 54.0375);
}

.ressource__texte {
  max-width: 22rem;
}

.ressource__image {
  max-width: 20rem;
  aspect-ratio: 5/4;
  border-radius: 58% 42% 55% 45%/48% 55% 45% 52%;
}

.ressource__bouton {
  margin-top: auto;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgb(222.9625, 100.6375, 54.0375);
}

/*--------------------------------------------------------------
CTA
--------------------------------------------------------------*/
.cta {
  position: relative;
  gap: 1rem;
}
.cta .btn {
  margin-top: 0.5rem;
}
@media (min-width: 1188px) {
  .cta {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .cta::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 1rem;
    bottom: 1rem;
    width: 9rem;
    aspect-ratio: 187/225;
    background: url("../img/feuille-secondary.svg") no-repeat center/contain;
    transform: scaleX(-1);
    pointer-events: none;
  }
}
@media (min-width: 1188px) and (min-width: 1500px) {
  .cta::before {
    width: 12rem;
  }
}