@charset "UTF-8";
/* FONT FACE */
@font-face {
  font-family: "Goldplay Alt";
  src: url("../fonts/Goldplay/Goldplay Alt Regular.otf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Goldplay Alt";
  src: url("../fonts/Goldplay/Goldplay Alt Bold.otf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Goldplay Alt";
  src: url("../fonts/Goldplay/Goldplay Alt Black.otf") format("truetype");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Goldplay Alt";
  src: url("../fonts/Goldplay/Goldplay Alt Medium.otf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Goldplay Alt";
  src: url("../fonts/Goldplay/Goldplay Alt Light.otf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Goldplay Alt";
  src: url("../fonts/Goldplay/Goldplay Alt Italic.otf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-RegularItalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/gilroy/Gilroy-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}
/* VARIABLES */
/*--------------------------------------------------------------
HERO
--------------------------------------------------------------*/
.hero {
  text-align: left;
}
.hero .image {
  max-width: 10rem;
}
@media (min-width: 1170px) {
  .hero .image {
    max-width: 17rem;
  }
}

/*--------------------------------------------------------------
QUI SUIS-JE
--------------------------------------------------------------*/
.qui-suis-je {
  background-color: #C8542F;
  color: #F7F0EA;
  position: relative;
  z-index: 0;
  margin-top: 4rem;
  padding-top: 0;
}
.qui-suis-je__vague {
  position: absolute;
  top: -3.5rem;
  left: 0;
  width: 100%;
  height: 4rem;
  fill: #C8542F;
  z-index: -1;
}
@media (min-width: 1170px) {
  .qui-suis-je__vague {
    height: 6rem;
    top: -5.5rem;
  }
}
.qui-suis-je::after {
  content: "";
  position: absolute;
  top: -3rem;
  right: 5%;
  width: 6rem;
  height: 6rem;
  background: url("../img/fleur1-jaune.svg") no-repeat center/contain;
}
@media (min-width: 1170px) {
  .qui-suis-je::after {
    top: -4rem;
    right: 5%;
    width: 9rem;
    height: 9rem;
  }
}
.qui-suis-je .image {
  position: relative;
}
.qui-suis-je .image::before {
  content: "";
  position: absolute;
  bottom: -3.5rem;
  left: -3rem;
  width: 8rem;
  height: 8rem;
  background: url("../img/fleur2-bleue.svg") no-repeat center/contain;
}
@media (min-width: 1170px) {
  .qui-suis-je .image::before {
    bottom: -4.5rem;
    left: -5rem;
    width: 10rem;
    height: 10rem;
  }
}
.qui-suis-je .image::after {
  content: "";
  position: absolute;
  top: -3rem;
  right: -2rem;
  width: 6rem;
  height: 6rem;
  background: url("../img/petale-jaune.svg") no-repeat center/contain;
}
@media (min-width: 1170px) {
  .qui-suis-je .image::after {
    top: -3rem;
    right: -4rem;
    width: 7rem;
    height: 7rem;
  }
}
.qui-suis-je .btn {
  background-color: #F7F0EA;
  color: #4C5734;
  border-color: #F7F0EA;
}
.qui-suis-je .btn:hover {
  background-color: transparent;
  color: #F7F0EA;
}

/*--------------------------------------------------------------
MON UNIVERS
--------------------------------------------------------------*/
.univers {
  text-align: center;
  position: relative;
  z-index: 0;
}
.univers::before {
  content: "";
  position: absolute;
  top: 12rem;
  left: -2%;
  width: 5rem;
  height: 5rem;
  transform: scaleX(-1);
  background: url(../img/fleur2-jaune.svg) no-repeat center/contain;
  z-index: -1;
}
@media (min-width: 768px) {
  .univers::before {
    top: 10rem;
    left: 0;
    width: 6rem;
    height: 6rem;
  }
}
@media (min-width: 1170px) {
  .univers::before {
    left: 14%;
    width: 8rem;
    height: 8rem;
  }
}
@media (min-width: 1500px) {
  .univers::before {
    left: 21%;
    width: 9rem;
    height: 9rem;
  }
}
.univers__titre {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}
.univers__titre::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 0.6rem;
  background: url("../img/vague-jaune.svg") no-repeat center/contain;
}
.univers__texte {
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.univers__liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.univers__item {
  position: relative;
  width: calc(50% - 1rem);
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 1;
}
.univers__item a {
  display: block;
  position: relative;
}
.univers__item a::before, .univers__item a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.univers__item a::before {
  background: linear-gradient(to top, rgba(76, 87, 52, 0.85), transparent 60%);
}
.univers__item a::after {
  background: linear-gradient(to top, rgba(76, 87, 52, 0.9), rgba(76, 87, 52, 0.3) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.univers__item a:hover::after {
  opacity: 1;
}
.univers__item a:hover .univers__item-titre {
  margin-bottom: 0.5rem;
}
.univers__item a:hover .univers__item-description {
  max-height: 6rem;
  opacity: 1;
}
.univers__item-image {
  width: 100%;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.univers__item-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}
.univers__item-titre {
  color: #F7F0EA;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
  transition: margin-bottom 0.3s ease;
  text-align: center;
  padding-bottom: 0.5rem;
}
.univers__item-titre::after {
  content: none;
}
.univers__item-description {
  color: #F7F0EA;
  font-size: 0.875rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  text-align: center;
}
@media (min-width: 768px) {
  .univers__item {
    width: calc(33.333% - 1.334rem);
  }
}
@media (min-width: 1170px) {
  .univers__liste {
    gap: 3rem;
  }
  .univers__item {
    width: calc(25% - 1.875rem);
  }
}

/*--------------------------------------------------------------
TEMOIGNAGES
--------------------------------------------------------------*/
.temoignages {
  text-align: center;
}
.temoignages__titre {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}
.temoignages__titre::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 0.6rem;
  background: url("../img/vague-jaune.svg") no-repeat center/contain;
}
.temoignages__texte {
  max-width: 40rem;
  margin: 0 auto 1rem;
}
.temoignages__slider {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .temoignages__slider {
    padding: 0 3rem;
  }
}
.temoignages__viewport {
  overflow: hidden;
  transition: height 0.4s ease;
}
.temoignages__track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.4s ease;
}
.temoignages__slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background-color: #F7F0EA;
  border-radius: 1.5rem;
  padding: 1.25rem;
}
@media (min-width: 1024px) {
  .temoignages__slide {
    padding: 1rem;
  }
}
.temoignages__item-texte {
  font-style: italic;
  color: #52493F;
}
.temoignages__item-texte p {
  display: inline;
}
.temoignages__item-texte p:first-child::before {
  content: "« ";
}
.temoignages__item-texte p:last-child::after {
  content: " »";
}
.temoignages__item-nom {
  font-weight: 600;
  margin-bottom: 0;
  color: #C8542F;
}
.temoignages__item-poste {
  font-size: 0.875rem;
  margin-top: -0.5rem;
  color: #4C5734;
}
.temoignages__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background-color: #4C5734;
  color: #F7F0EA;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.temoignages__nav--prev {
  left: 0;
}
.temoignages__nav--next {
  right: 0;
}
.temoignages__nav:hover {
  background-color: #C8542F;
}
@media (min-width: 1024px) {
  .temoignages__nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
}
.temoignages__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.temoignages__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background-color: rgba(76, 87, 52, 0.3);
  cursor: pointer;
}
.temoignages__dot--active {
  background-color: #4C5734;
}
@media (min-width: 768px) {
  .temoignages__slider {
    padding: 0 4rem;
  }
}