/* FONT FACE */
@font-face {
  font-family: "TanPearl";
  src: url("../fonts/tan-pearl.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "LeagueSpartan";
  src: url("../fonts/League_Spartan/LeagueSpartan-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "LeagueSpartan";
  src: url("../fonts/League_Spartan/LeagueSpartan-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "LeagueSpartan";
  src: url("../fonts/League_Spartan/LeagueSpartan-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "LeagueSpartan";
  src: url("../fonts/League_Spartan/LeagueSpartan-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "LeagueSpartan";
  src: url("../fonts/League_Spartan/LeagueSpartan-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
/* VARIABLES */
/**********
* ACCUEIL *
**********/
.hero {
  background-color: #598693;
  color: #fff;
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.hero__titre {
  color: #FFE9C0;
}
.hero__image {
  position: relative;
  z-index: 2;
  max-width: 400px;
}
.hero__image img {
  width: 100%;
  height: 100%;
}
.hero__image .before,
.hero__image .after {
  position: absolute;
  height: auto;
}
.hero__image .before {
  top: -4rem;
  right: -4rem;
  z-index: -1;
  width: 10rem;
}
@media (min-width: 1024px) {
  .hero__image .before {
    width: 15rem;
  }
}
.hero__image .after {
  bottom: -3rem;
  left: -3rem;
  width: 5rem;
}
@media (min-width: 1024px) {
  .hero__image .after {
    width: 8rem;
  }
}
@media (min-width: 1024px) {
  .hero {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
  .hero__image {
    width: 40%;
    position: relative;
    top: 13rem;
    margin-top: -15rem;
  }
}
@media (min-width: 1188px) {
  .hero {
    padding-top: 12rem;
  }
}

.hero__vague {
  background-color: #598693;
  height: 60px;
  margin-top: -2px;
  clip-path: polygon(100% 0%, 0% 0%, 0% 82%, 2% 81.77%, 4% 81.1%, 6% 79.99%, 8% 78.47%, 10% 76.58%, 12% 74.36%, 14% 71.85%, 16% 69.13%, 18% 66.24%, 20% 63.26%, 22% 60.24%, 24% 57.27%, 26% 54.4%, 28% 51.71%, 30% 49.25%, 32% 47.08%, 34% 45.25%, 36% 43.8%, 38% 42.76%, 40% 42.16%, 42% 42.01%, 44% 42.31%, 46% 43.06%, 48% 44.24%, 50% 45.82%, 52% 47.77%, 54% 50.04%, 56% 52.59%, 58% 55.34%, 60% 58.25%, 62% 61.25%, 64% 64.26%, 66% 67.22%, 68% 70.06%, 70% 72.72%, 72% 75.13%, 74% 77.25%, 76% 79.02%, 78% 80.4%, 80% 81.37%, 82% 81.9%, 84% 81.97%, 86% 81.6%, 88% 80.77%, 90% 79.53%, 92% 77.88%, 94% 75.87%, 96% 73.55%, 98% 70.97%, 100% 68.18%);
}

@media (min-width: 1024px) {
  .a-propos {
    align-items: flex-end;
    padding-top: 5rem;
  }
}

.cours-vague {
  background-color: #598693;
  height: 60px;
  margin-bottom: -2px;
  clip-path: polygon(100% 100%, 0% 100%, 0% 82%, 2% 81.77%, 4% 81.1%, 6% 79.99%, 8% 78.47%, 10% 76.58%, 12% 74.36%, 14% 71.85%, 16% 69.13%, 18% 66.24%, 20% 63.26%, 22% 60.24%, 24% 57.27%, 26% 54.4%, 28% 51.71%, 30% 49.25%, 32% 47.08%, 34% 45.25%, 36% 43.8%, 38% 42.76%, 40% 42.16%, 42% 42.01%, 44% 42.31%, 46% 43.06%, 48% 44.24%, 50% 45.82%, 52% 47.77%, 54% 50.04%, 56% 52.59%, 58% 55.34%, 60% 58.25%, 62% 61.25%, 64% 64.26%, 66% 67.22%, 68% 70.06%, 70% 72.72%, 72% 75.13%, 74% 77.25%, 76% 79.02%, 78% 80.4%, 80% 81.37%, 82% 81.9%, 84% 81.97%, 86% 81.6%, 88% 80.77%, 90% 79.53%, 92% 77.88%, 94% 75.87%, 96% 73.55%, 98% 70.97%, 100% 68.18%);
}

.cours-vague2 {
  background-color: #598693;
  height: 60px;
  margin-top: -2px;
  clip-path: polygon(100% 0%, 0% 0%, 0% 82%, 2% 81.77%, 4% 81.1%, 6% 79.99%, 8% 78.47%, 10% 76.58%, 12% 74.36%, 14% 71.85%, 16% 69.13%, 18% 66.24%, 20% 63.26%, 22% 60.24%, 24% 57.27%, 26% 54.4%, 28% 51.71%, 30% 49.25%, 32% 47.08%, 34% 45.25%, 36% 43.8%, 38% 42.76%, 40% 42.16%, 42% 42.01%, 44% 42.31%, 46% 43.06%, 48% 44.24%, 50% 45.82%, 52% 47.77%, 54% 50.04%, 56% 52.59%, 58% 55.34%, 60% 58.25%, 62% 61.25%, 64% 64.26%, 66% 67.22%, 68% 70.06%, 70% 72.72%, 72% 75.13%, 74% 77.25%, 76% 79.02%, 78% 80.4%, 80% 81.37%, 82% 81.9%, 84% 81.97%, 86% 81.6%, 88% 80.77%, 90% 79.53%, 92% 77.88%, 94% 75.87%, 96% 73.55%, 98% 70.97%, 100% 68.18%);
}

.les-cours {
  background-color: #598693;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.les-cours .after {
  position: absolute;
  top: -3rem;
  right: 5%;
  width: 5rem;
  transform: rotate(90deg) scaleX(-1);
}
@media (min-width: 1024px) {
  .les-cours .after {
    width: 8rem;
    right: 10%;
  }
}
.les-cours__titre {
  text-align: center;
  color: #FFE9C0;
}
.les-cours .liste-cours {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  justify-content: center;
}
.les-cours .liste-cours .cours {
  flex: 1;
  transition: transform 0.3s ease-in-out;
}
.les-cours .liste-cours .cours:hover {
  transform: scale(1.05);
}
.les-cours .liste-cours .cours article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-align: center;
}
.les-cours .liste-cours .cours__titre {
  color: #fff;
}

.events {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}
.events .before {
  position: absolute;
  top: 2rem;
  left: 3%;
  width: 3rem;
}
@media (min-width: 1024px) {
  .events .before {
    width: 5rem;
    left: 8%;
  }
}
.events .liste-events {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  justify-content: center;
  align-items: stretch;
  margin: 1.5rem 0;
}
.events .liste-events .event {
  flex: 1;
  transition: transform 0.3s ease-in-out;
  min-width: 300px;
  max-width: 450px;
  text-align: initial;
}
.events .liste-events .event:hover {
  transform: scale(1.05);
}
.events .liste-events .event figure {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.events .liste-events .event__image {
  position: relative;
  width: 100%;
  height: 200px;
  right: 1rem;
  top: 2rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.events .liste-events .event__texte {
  color: #fff;
  background-color: #B56D4C;
  padding: 2rem;
  padding-top: 3rem;
  flex: 1;
}
.events .liste-events .event__titre {
  margin-bottom: 1rem;
  color: #fff;
}

.blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
  background-color: #FFE9C0;
}
.blog-vague {
  background-color: #FFE9C0;
  height: 60px;
  margin-bottom: -2px;
  clip-path: polygon(100% 100%, 0% 100%, 0% 82%, 2% 81.77%, 4% 81.1%, 6% 79.99%, 8% 78.47%, 10% 76.58%, 12% 74.36%, 14% 71.85%, 16% 69.13%, 18% 66.24%, 20% 63.26%, 22% 60.24%, 24% 57.27%, 26% 54.4%, 28% 51.71%, 30% 49.25%, 32% 47.08%, 34% 45.25%, 36% 43.8%, 38% 42.76%, 40% 42.16%, 42% 42.01%, 44% 42.31%, 46% 43.06%, 48% 44.24%, 50% 45.82%, 52% 47.77%, 54% 50.04%, 56% 52.59%, 58% 55.34%, 60% 58.25%, 62% 61.25%, 64% 64.26%, 66% 67.22%, 68% 70.06%, 70% 72.72%, 72% 75.13%, 74% 77.25%, 76% 79.02%, 78% 80.4%, 80% 81.37%, 82% 81.9%, 84% 81.97%, 86% 81.6%, 88% 80.77%, 90% 79.53%, 92% 77.88%, 94% 75.87%, 96% 73.55%, 98% 70.97%, 100% 68.18%);
}
.blog-vague2 {
  background-color: #FFE9C0;
  height: 60px;
  margin-top: -2px;
  clip-path: polygon(100% 0%, 0% 0%, 0% 82%, 2% 81.77%, 4% 81.1%, 6% 79.99%, 8% 78.47%, 10% 76.58%, 12% 74.36%, 14% 71.85%, 16% 69.13%, 18% 66.24%, 20% 63.26%, 22% 60.24%, 24% 57.27%, 26% 54.4%, 28% 51.71%, 30% 49.25%, 32% 47.08%, 34% 45.25%, 36% 43.8%, 38% 42.76%, 40% 42.16%, 42% 42.01%, 44% 42.31%, 46% 43.06%, 48% 44.24%, 50% 45.82%, 52% 47.77%, 54% 50.04%, 56% 52.59%, 58% 55.34%, 60% 58.25%, 62% 61.25%, 64% 64.26%, 66% 67.22%, 68% 70.06%, 70% 72.72%, 72% 75.13%, 74% 77.25%, 76% 79.02%, 78% 80.4%, 80% 81.37%, 82% 81.9%, 84% 81.97%, 86% 81.6%, 88% 80.77%, 90% 79.53%, 92% 77.88%, 94% 75.87%, 96% 73.55%, 98% 70.97%, 100% 68.18%);
}
.blog__titre {
  color: #B56D4C;
}
.blog .before {
  position: absolute;
  top: -3rem;
  right: 3%;
  width: 5rem;
}
@media (min-width: 1024px) {
  .blog .before {
    width: 8rem;
    right: 8%;
  }
}
.blog .liste-blog {
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  justify-content: center;
  align-items: stretch;
  margin: 1.5rem 0;
}
.blog .liste-blog .article {
  flex: 1;
  transition: transform 0.3s ease-in-out;
  min-width: 300px;
  max-width: 450px;
  text-align: initial;
}
.blog .liste-blog .article:hover {
  transform: scale(1.05);
}
.blog .liste-blog .article figure {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog .liste-blog .article__image {
  position: relative;
  width: 100%;
  height: 200px;
  right: 1rem;
  top: 2rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.blog .liste-blog .article__texte {
  color: #fff;
  background-color: #598693;
  padding: 2rem;
  padding-top: 3rem;
  flex: 1;
}
.blog .liste-blog .article__titre {
  margin-bottom: 1rem;
  color: #fff;
}

.temoignages {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}
.temoignages .before {
  position: absolute;
  top: 2rem;
  left: 3%;
  width: 3rem;
}
@media (min-width: 1024px) {
  .temoignages .before {
    width: 5rem;
    left: 8%;
  }
}
.temoignages__container {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 1rem;
}
.temoignages__slider {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.temoignages__slide {
  min-width: 100%;
  padding: 0 3rem;
  box-sizing: border-box;
  text-align: center;
}
.temoignages__slide .temoignage__auteur {
  color: #B56D4C;
  font-size: 1.125rem;
  margin-top: 1rem;
}
.temoignages__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #B56D4C;
  background-color: transparent;
  transition: all 0.3s ease;
}
.temoignages__arrow::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  transform: translateX(-30%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 2px solid #B56D4C;
  background-color: #fff;
  z-index: -1;
}
.temoignages__arrow--prev {
  left: 1rem;
}
.temoignages__arrow--next {
  right: 1rem;
}
.temoignages__arrow:hover {
  color: #fff;
}
.temoignages__arrow:hover::before {
  background-color: #B56D4C;
}