
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root{
    --default-font: "Plus Jakarta Sans", sans-serif;
    --accent-font: "Lora", serif;
}

body {
  font:var(--default-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1em;
  color: var(--text-color);
  background: #EFE7DA;
  scroll-behavior: smooth;
}
.clip-shape-1 {
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.clip-shape-2 {
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.clip-shape-3 {
  clip-path: polygon(0 0, 75% 0, 100% 100%, 25% 100%);
  transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.clip-shape-1:hover,.clip-shape-3:hover {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.clip-shape-2 {
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.clip-shape-2:hover {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 30%,
    100% 70%,
    100% 100%,
    0 100%,
    0 70%,
    0 30%
  );
}
 


/* Loader */

.loader-wrapper {
  position: fixed;
  inset: 0;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.custom-loader {
  --r1: 154%;
  --r2: 68.5%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(
      var(--r1) var(--r2) at top,
      #0000 79.5%,
      #a58850 80%
    ),
    radial-gradient(var(--r1) var(--r2) at bottom, #a58850 79.5%, #0000 80%),
    radial-gradient(var(--r1) var(--r2) at top, #0000 79.5%, #a58850 80%),
    #dff6d8;
  background-size: 50.5% 220%;
  background-position: -100% 0%, 0% 0%, 100% 0%;
  background-repeat: no-repeat;
  animation: p9 4s infinite linear;
}

@keyframes p9 {
  33% {
    background-position: 0% 33%, 100% 33%, 200% 33%;
  }

  66% {
    background-position: -100% 66%, 0% 66%, 100% 66%;
  }

  100% {
    background-position: 0% 100%, 100% 100%, 200% 100%;
  }
}


/* Swiper Customization */
  /*Swiper slider*/

    .swiper {
        width: 100%;
        height: auto;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-slide {
        width: 90%;
    }

    @media (min-width: 768px) {
        .swiper-slide {
            width: 25%;
        }
    }

    /* Pour que toutes les cards aient la même hauteur */
    .swiper-slide > div {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .swiper-slide .text-gray-600 {
        flex-grow: 1;
    }