@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 */
.confiance__liste {
  padding: 0;
  margin: 0;
  list-style: none;
}

/*--------------------------------------------------------------
HERO
--------------------------------------------------------------*/
.hero {
  text-align: left;
  position: relative;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  bottom: -2rem;
  right: 5%;
  width: 5rem;
  height: 5rem;
  background: url("../img/fleur1-jaune.svg") no-repeat center/contain;
  z-index: -1;
}
@media (min-width: 768px) {
  .hero::before {
    right: 8%;
    width: 7rem;
    height: 7rem;
  }
}
@media (min-width: 1170px) {
  .hero::before {
    bottom: -4rem;
    width: 8rem;
    height: 8rem;
  }
}
.hero__titre {
  position: relative;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}
.hero__titre::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 0.6rem;
  background: url("../img/vague-jaune.svg") no-repeat center/contain;
}
.hero .image {
  max-width: 10rem;
}
@media (min-width: 1170px) {
  .hero .image {
    max-width: 17rem;
  }
}

/*--------------------------------------------------------------
ILS M'ONT FAIT CONFIANCE
--------------------------------------------------------------*/
.confiance {
  background-color: #C4DFE0;
  text-align: center;
  overflow: hidden;
}
.confiance__titre {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.confiance__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;
}
.confiance__bandeau {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  animation: defilement-logos 30s linear infinite;
}
.confiance__bandeau:hover {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .confiance__bandeau {
    animation: none;
  }
}
.confiance__liste {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
}
@media (min-width: 1170px) {
  .confiance__liste {
    gap: 5rem;
    padding-right: 5rem;
  }
}
.confiance__item {
  flex: none;
}
.confiance__logo {
  display: block;
  width: auto;
  max-height: 2.5rem;
}
@media (min-width: 1170px) {
  .confiance__logo {
    max-height: 3.5rem;
  }
}

@keyframes defilement-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/*--------------------------------------------------------------
MES RÉALISATIONS
--------------------------------------------------------------*/
.realisations {
  text-align: center;
  position: relative;
  z-index: 0;
}
.realisations::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) {
  .realisations::before {
    top: 10rem;
    left: 0;
    width: 6rem;
    height: 6rem;
  }
}
@media (min-width: 1170px) {
  .realisations::before {
    left: 14%;
    width: 8rem;
    height: 8rem;
  }
}
@media (min-width: 1500px) {
  .realisations::before {
    left: 21%;
    width: 9rem;
    height: 9rem;
  }
}
.realisations__titre {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}
.realisations__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;
}
.realisations__texte {
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.realisations__liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.realisations__item {
  position: relative;
  width: calc(50% - 1rem);
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 1;
}
.realisations__item a {
  display: block;
  position: relative;
}
.realisations__item a::before, .realisations__item a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.realisations__item a::before {
  background: linear-gradient(to top, rgba(76, 87, 52, 0.85), transparent 60%);
}
.realisations__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;
}
.realisations__item a:hover::after {
  opacity: 1;
}
.realisations__item a:hover .realisations__item-titre {
  margin-bottom: 0.5rem;
}
.realisations__item a:hover .realisations__item-description {
  max-height: 6rem;
  opacity: 1;
}
.realisations__item-image {
  width: 100%;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.realisations__item-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}
.realisations__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;
}
.realisations__item-titre::after {
  content: none;
}
.realisations__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) {
  .realisations__item {
    width: calc(33.333% - 1.334rem);
  }
}
@media (min-width: 1170px) {
  .realisations__liste {
    gap: 3rem;
  }
  .realisations__item {
    width: calc(25% - 1.875rem);
  }
}