/*!*******************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/carousel/style.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/* =========================
   Base (toutes variantes)
   ========================= */
.carousel-container {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 500px;
  overflow: hidden;
  /* Masquer le compteur */
}
.carousel-container .carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.carousel-container .carousel-track {
  display: flex;
  flex: 0 0 100%;
  height: 100%;
  will-change: transform;
}
.carousel-container .carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}
.carousel-container .carousel-media {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top;
  display: flex;
  align-items: flex-start;
  position: relative;
}
.carousel-container .carousel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(52, 87, 95, 0.8) 30%, rgba(52, 87, 95, 0) 100%);
  pointer-events: none;
  z-index: 1;
}
.carousel-container .carousel-caption {
  background: rgba(0, 0, 0, 0.747) !important;
  color: #fff;
  padding: 1.5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out, border-top 0.2s ease-in-out;
  transform-origin: center;
  transform: scale(1);
  border-top: 2px solid transparent;
}
.carousel-container .carousel-caption h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #fff;
}
.carousel-container .carousel-caption p {
  margin: 0;
  font-size: 1rem;
  padding-right: 10rem;
}
.carousel-container .carousel-caption a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.9rem;
}
.carousel-container .carousel-slide:hover .carousel-caption {
  transform: scale(1.03);
  background-color: rgba(0, 0, 0, 0.85);
  border-top: 2px solid #00aae7;
}
.carousel-container .carousel-navigation {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  pointer-events: none;
}
.carousel-container .carousel-navigation button {
  pointer-events: all;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: solid 1px #159eda;
  background: #f5fafc;
  color: black;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.carousel-container .carousel-navigation button:hover {
  background: #159eda;
  color: #fff;
}
.carousel-container .carousel-fullscreen {
  display: none;
}
.carousel-container .carousel-counter {
  display: none !important;
}

/* =========================
   Classic + vignettes
   ========================= */
.carousel-container.style-classic.has-thumbs {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 8px;
  align-items: stretch; /* CLEF : la colonne thumbs prend toute la hauteur */
  overflow: hidden; /* plus de débordement */
}
.carousel-container.style-classic.has-thumbs .carousel-thumbs-wrap {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* prend toute la hauteur du grid */
  background: rgba(0, 0, 0, 0.687);
  backdrop-filter: blur(2px);
  box-sizing: border-box;
  overflow: hidden;
}
.carousel-container.style-classic.has-thumbs .carousel-slides {
  z-index: 1;
}
.carousel-container.style-classic.has-thumbs.thumbs-right {
  grid-template-columns: 1fr 140px;
}
.carousel-container.style-classic.has-thumbs.thumbs-right .carousel-thumbs-wrap {
  grid-column: 2;
}
.carousel-container.style-classic.has-thumbs.thumbs-right .carousel-slides {
  grid-column: 1;
}
.carousel-container.style-classic.has-thumbs .thumbs-prev, .carousel-container.style-classic.has-thumbs .thumbs-next {
  height: 28px;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #e5f5fb;
  cursor: pointer;
  border-radius: 0;
  padding: 4px 0;
  flex-shrink: 0; /* ne pas comprimer les boutons */
  z-index: 2;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.carousel-container.style-classic.has-thumbs .thumbs-prev:hover, .carousel-container.style-classic.has-thumbs .thumbs-next:hover {
  background: rgba(0, 174, 231, 0.4);
}
.carousel-container.style-classic.has-thumbs p {
  margin: 0;
  font-size: 1rem;
  padding-right: 0;
}

/* ===== Thumbnails : occupent l'espace entre les 2 flèches ===== */
.carousel-container.style-classic.has-thumbs .carousel-thumbs {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* force les enfants à 100% largeur */
  row-gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  padding: 6px;
  box-sizing: border-box;
  /* cacher la scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-container.style-classic.has-thumbs .carousel-thumbs::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* ===== Chaque thumbnail ===== */
.carousel-container.style-classic.has-thumbs .carousel-thumb {
  display: block;
  width: 100% !important;
  min-width: 0;
  aspect-ratio: 3/2;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, box-shadow 0.2s, border-color 0.2s;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

.carousel-container.style-classic.has-thumbs .carousel-thumb.is-active {
  opacity: 1;
  border-color: #00aae7;
}

.carousel-container.style-classic.has-thumbs .carousel-thumb:hover {
  opacity: 0.9;
}

/* =========================
   BOOK
   ========================= */
.carousel-container.style-book {
  perspective: 1200px;
  overflow: visible;
  height: auto;
}
.carousel-container.style-book .carousel-slides {
  display: flex;
  gap: 12px;
  transform-style: preserve-3d;
  width: 100%;
}
.carousel-container.style-book .carousel-slide {
  display: block;
  flex: 0 0 50px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transform: rotateY(-16deg);
  transform-origin: left center;
  transition: transform 0.45s ease, flex-basis 0.45s ease, max-width 0.45s ease;
}
.carousel-container.style-book .carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.116), rgba(0, 0, 0, 0.55));
  z-index: 1;
}
.carousel-container.style-book .carousel-slide .carousel-tab {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  place-items: end;
  padding: 0 1.4rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.carousel-container.style-book .carousel-slide .carousel-tab__label,
.carousel-container.style-book .carousel-slide .carousel-tab > * {
  transform: rotate(-90deg);
  transform-origin: left;
  white-space: nowrap;
  line-height: 2;
}
.carousel-container.style-book .carousel-slide .carousel-card {
  display: none;
}
.carousel-container.style-book .carousel-slide.slide-before {
  transform: rotateY(-26deg);
}
.carousel-container.style-book .carousel-slide.slide-after {
  transform: rotateY(12deg);
}
.carousel-container.style-book .carousel-slide.slide-current {
  flex: 0 0 380px;
  max-width: 420px;
  transform: rotateY(0deg);
  z-index: 3;
  background-image: none;
}
.carousel-container.style-book .carousel-slide.slide-current .carousel-tab {
  display: none;
}
.carousel-container.style-book .carousel-slide.slide-current::before {
  display: none;
}
.carousel-container.style-book .carousel-slide.slide-current .carousel-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  background: transparent;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  position: relative;
}
.carousel-container.style-book .carousel-slide.slide-current .carousel-media {
  display: block !important;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.carousel-container.style-book .carousel-slide.slide-current .carousel-media::after {
  display: none !important;
}
.carousel-container.style-book .carousel-slide.slide-current .carousel-caption {
  position: absolute !important;
  left: 0;
  bottom: 0;
  width: 100%;
  margin: 0 !important;
  padding: 18px 20px !important;
  background: rgba(0, 0, 0, 0.747) !important;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.carousel-container.style-book .carousel-slide.slide-current .carousel-caption h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.3;
}
.carousel-container.style-book .carousel-slide.slide-current .carousel-caption p {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}
.carousel-container.style-book .carousel-slide.slide-current .carousel-caption .carousel-link {
  margin-top: 0.6rem;
  color: #fff;
  text-decoration: underline;
}
.carousel-container.style-book .carousel-navigation {
  display: none;
}
@media (max-width: 860px) {
  .carousel-container.style-book .carousel-slide {
    height: 400px;
  }
  .carousel-container.style-book .carousel-slide.slide-current {
    flex-basis: 400px;
  }
}

/* =========================
   Utilitaires globaux
   ========================= */
.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  flex: 0 0 100%;
  height: 100%;
  will-change: transform;
}

.carousel-slides > * {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
}

.carousel-container .carousel-caption {
  pointer-events: auto;
}

/* Lien cliquable sur tout le slide */
.carousel-slide .carousel-link {
  position: absolute;
  inset: 0;
  text-indent: -9999px;
}

/* Masquer toute scrollbar dans le carousel */
.carousel-container * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-container *::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 768px) {
  .carousel-container {
    height: 400px !important;
  }
  .carousel-container .carousel-slide {
    height: 400px !important;
    background: rgba(0, 0, 0, 0.747) !important;
  }
  .carousel-container .carousel-caption {
    position: relative;
    padding: 1rem;
  }
  .carousel-container .carousel-caption p {
    padding-right: 4rem;
  }
  .carousel-container .carousel-navigation {
    display: none !important;
    position: static;
    justify-content: center;
    margin-top: 1rem;
  }
  /* Masquer les vignettes sur mobile */
  .carousel-container.style-classic.has-thumbs {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .carousel-container.style-classic.has-thumbs .carousel-thumbs-wrap,
  .carousel-container.style-classic.has-thumbs .thumbs-prev,
  .carousel-container.style-classic.has-thumbs .thumbs-next {
    display: none !important;
  }
  .carousel-container.style-classic.has-thumbs .carousel-slides {
    grid-column: 1/-1 !important;
  }
}

/*# sourceMappingURL=style-index.css.map*/