@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 */
/*--------------------------------------------------------------
CATÉGORIE
--------------------------------------------------------------*/
.categorie {
  text-align: center;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
@media (min-width: 1170px) {
  .categorie {
    padding-top: 10rem;
  }
}
.categorie::before {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background-color: #C4DFE0;
  z-index: -1;
}
@media (min-width: 1170px) {
  .categorie::before {
    width: 20rem;
    height: 20rem;
    top: -6rem;
    right: -6rem;
  }
}
@media (min-width: 1170px) {
  .categorie::after {
    content: "";
    position: absolute;
    top: 8rem;
    right: 8rem;
    width: 7rem;
    height: 7rem;
    background: url(../img/fleur1-orange.svg) no-repeat center/contain;
    z-index: 1;
  }
}
.categorie__titre {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}
.categorie__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;
}
.categorie__texte {
  max-width: 40rem;
  margin: 0 auto 2rem;
}
@media (min-width: 1170px) {
  .categorie__texte {
    margin-bottom: 3rem;
  }
}
.categorie__liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.categorie__item {
  position: relative;
  width: calc(50% - 1rem);
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 1;
}
.categorie__item a {
  display: block;
  position: relative;
  height: 100%;
}
.categorie__item a::before, .categorie__item a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.categorie__item a::before {
  background: linear-gradient(to top, rgba(76, 87, 52, 0.85), transparent 60%);
}
.categorie__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;
}
.categorie__item a:hover::after {
  opacity: 1;
}
.categorie__item a:hover .categorie__item-titre {
  margin-bottom: 0.5rem;
}
.categorie__item a:hover .categorie__item-accroche {
  max-height: 6rem;
  opacity: 1;
}
.categorie {
  /* the_post_thumbnail() compose lui-meme l'attribut class : on cible la balise */
}
.categorie__item img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.categorie__item-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}
.categorie__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;
}
.categorie__item-titre::after {
  content: none;
}
.categorie__item-accroche {
  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) {
  .categorie__item {
    width: calc(33.333% - 1.334rem);
  }
}
@media (min-width: 1170px) {
  .categorie__liste {
    gap: 3rem;
  }
  .categorie__item {
    width: calc(25% - 1.875rem);
  }
}