@keyframes skeleton-pulse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.animate-pulse {
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  background: linear-gradient(90deg, #e6e6e6 25%, #f0f0f0 50%, #e6e6e6 75%);
  background-size: 200% 100%;
}

.slide-second,
.slide-second-skeleton,
.skeleton-second {
  transform: translateX(25%);
  z-index: 10;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
}

.carousel-viewport .rounded-xl {
  border-radius: 16px;
}

.carousel-chevrons-bottom .carousel-nav {
  pointer-events: auto;
  cursor: pointer;
}

@media (max-width: 767px) {
  .slide-first,
  .skeleton-first {
    width: 18rem !important;
  }
  .slide-second,
  .slide-second-skeleton,
  .skeleton-second {
    width: 14rem !important;
  }
  .carousel-chevrons-bottom {
    bottom: 12px;
  }
  .carousel-chevrons-bottom .carousel-nav {
    width: 36px;
    height: 36px;
  }
  .carousel-chevrons-bottom .carousel-nav svg {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .slide-first,
  .skeleton-first {
    width: 20rem !important;
  }
  .slide-second,
  .slide-second-skeleton,
  .skeleton-second {
    width: 16rem !important;
  }
}

@media (min-width: 1024px) {
  .slide-first,
  .skeleton-first {
    width: 22rem !important;
  }
  .slide-second,
  .slide-second-skeleton,
  .skeleton-second {
    width: 18rem !important;
  }
}

@media (max-width: 640px) {
  .carousel-slides-container {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .carousel-viewport {
    min-height: 300px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .carousel-viewport {
    min-height: 400px;
  }
}
@media (min-width: 1024px) {
  .carousel-viewport {
    min-height: 500px;
  }
}

.carousel-slides-container {
  gap: 16px !important;
}

.homepage-swiper,
.homepage-swiper .swiper-wrapper,
.homepage-swiper .swiper-slide {
  height: 100%;
}

.carousel-card {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.carousel-card img.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-card .skeleton-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
}

.categories-marquee-section {
  position: relative;
}
.marquee {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  padding: 1rem 0;
  will-change: transform;
}

.marquee-track[data-animate="true"] {
  animation: marquee linear infinite;
  animation-duration: var(--marquee-duration, 20s);
  animation-timing-function: linear;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee:focus-within .marquee-track,
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track[data-animate="true"] {
    animation: none !important;
  }
}

.category-card {
  min-width: 14rem;
  border-radius: 1rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.category-card:focus,
.category-card:hover {
  transform: translateY(-6px);
  transition: transform 0.25s ease;
  z-index: 5;
}
#categoriesMarquee {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#categoriesMarquee::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
  .category-card {
    min-width: 12rem;
    min-height: 140px;
  }
}

.alliance-image-wrapper {
  position: absolute;
  top: -122px;
  left: 24px;
  width: 320px;
  height: 320px;
  z-index: 40;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .alliance-image-wrapper {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    margin-bottom: 16px;
    border-radius: 12px;
    z-index: 20;
  }
}

.alliance-swiper {
  width: 100%;
  height: 360px;
  position: relative;
  z-index: 10;
}

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

@media (max-width: 1023px) {
  .alliance-image-wrapper {
    display: block;
  }
  .alliance-swiper {
    height: 300px;
  }
  .fini-card {
    padding: 2.5rem;
  }
}

.carousel-slide {
  position: relative;
  overflow: hidden;
}

.carousel-slide.slide-first {
  z-index: 20;
}

.testimonial-card {
  position: absolute;
  left: 1rem;
  bottom: 1.1rem;
  background: rgba(242, 244, 246, 0.95);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(8, 15, 20, 0.06);
  max-width: calc(100% - 2rem);
  width: min(54%, 360px);
  pointer-events: none;
}

.testimonial-card .testimonial-text {
  margin: 0;
  color: #1f2937;
  font-size: 0.9rem;
  line-height: 1.25;
}
.testimonial-card .testimonial-author {
  display: block;
  margin-top: 0.35rem;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.88rem;
}

.carousel-slide.slide-second {
  transform: translateX(30%);
  z-index: 10;
}

.carousel-card img.carousel-img,
.carousel-slide .object-cover {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.homepage-swiper,
.homepage-swiper .swiper-wrapper,
.homepage-swiper .swiper-slide {
  height: 100%;
}

.homepage-swiper .swiper-slide {
  margin-right: 16px;
}

.carousel-chevrons-bottom {
  z-index: 40;
  pointer-events: none;
}
.carousel-chevrons-bottom .carousel-nav {
  pointer-events: auto;
}

@media (max-width: 767px) {
  .carousel-slide.slide-second {
    transform: translateX(18%);
  }
  .testimonial-card {
    left: 0.75rem;
    bottom: 0.9rem;
    width: 65%;
    font-size: 0.88rem;
  }
}

:root {
  --carousel-first-width: 420px;
  --carousel-other-width: 420px;
  --carousel-gap: 20px;
}

.carousel-slide.slide-first,
.homepage-swiper .swiper-slide.slide-first {
  width: var(--carousel-first-width) !important;
  z-index: 15;
}

.carousel-slide.slide-second,
.homepage-swiper .swiper-slide.slide-second,
.carousel-item,
.homepage-swiper .swiper-slide.carousel-item {
  width: var(--carousel-other-width) !important;
  z-index: 10;
}

.homepage-swiper .swiper-wrapper {
  gap: var(--carousel-gap);
}

.carousel-viewport .testimonial-card {
  z-index: 9999 !important;
  pointer-events: none;
}

.homepage-swiper .swiper-slide {
  z-index: 10;
}

@media (max-width: 767px) {
  :root {
    --carousel-gap: 12px;
  }

  .carousel-viewport .testimonial-card {
    max-width: 70% !important;
  }
}

.carousel-slots {
  display: flex;
  align-items: stretch;
  height: 100%;
  position: relative;
  gap: var(--carousel-gap, 20px);
}

.carousel-slot {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.slot-first {
  width: var(--carousel-first-width, 420px) !important;
  flex: 0 0 auto;
}
.slot-second {
  width: var(--carousel-other-width, 420px) !important;
  flex: 0 0 auto;
}

.carousel-viewport {
  overflow: hidden;
}

.slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition:
    opacity 0.45s cubic-bezier(0.22, 0.9, 0.35, 1),
    transform 0.45s cubic-bezier(0.22, 0.9, 0.35, 1);
  opacity: 1;
  transform: scale(1);
}

.slot-img.fade-out {
  opacity: 0;
  transform: scale(0.995);
}

.carousel-viewport .testimonial-card {
  z-index: 9999 !important;
  pointer-events: none;
}

.carousel-slots {
  display: flex;
  align-items: stretch;
  height: 100%;
  position: relative;
  gap: var(--carousel-gap, 20px);
}

.carousel-slot {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.slot-first {
  width: var(--carousel-first-width, 420px) !important;
  flex: 0 0 auto;
}
.slot-first .slot-layer {
  position: absolute;
  inset: 0 0 0 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.9, 0.35, 1),
    transform 0.6s cubic-bezier(0.22, 0.9, 0.35, 1);
  will-change: opacity, transform;
  opacity: 1;
  transform: translateZ(0);
}

.slot-first .slot-layer-bottom {
  z-index: 8;
}
.slot-first .slot-layer-top {
  z-index: 9;
}

.slot-second {
  width: var(--carousel-other-width, 420px) !important;
  flex: 0 0 auto;
}
.slot-second .slot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slot-layer-top.fade-out {
  opacity: 0;
  transform: scale(0.998);
}

.carousel-viewport .testimonial-card {
  z-index: 9999 !important;
  pointer-events: none;
}

@media (max-width: 767px) {
  :root {
    --carousel-gap: 12px;
  }
  .carousel-viewport .testimonial-card {
    max-width: 70% !important;
  }
}

.homepage-carousel-wrapper {
  position: relative;
  padding-bottom: 48px;
}

.carousel-chevrons-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  z-index: 60;
  pointer-events: none;
}

.carousel-chevrons-bottom .carousel-nav {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--turquoise, #008b80);
  color: #fff;
  box-shadow: 0 6px 18px rgba(3, 102, 97, 0.12);
  transition:
    background 0.18s ease,
    transform 0.12s ease;
}

.carousel-chevrons-bottom .carousel-nav:hover,
.carousel-chevrons-bottom .carousel-nav:focus {
  background: #006561;
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 767px) {
  .homepage-carousel-wrapper {
    padding-bottom: 42px;
  }
  .carousel-chevrons-bottom {
    bottom: 6px;
    gap: 8px;
  }
  .carousel-chevrons-bottom .carousel-nav {
    width: 36px;
    height: 36px;
  }
  .carousel-chevrons-bottom .carousel-nav svg {
    width: 18px;
    height: 18px;
  }
}

#firstSection,
.first-section {
  position: relative;
  z-index: 0;

  overflow: hidden;
}

#firstSection::before,
.first-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image: url("../../images/pattes.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;

  opacity: 0.12;
  mix-blend-mode: multiply;
  z-index: 0;
}

#firstSection > *,
.first-section > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  #firstSection::before,
  .first-section::before {
    opacity: 0.08;
    background-position: top center;
    background-size: 100% 100%;
  }
}

.section-pricing-jetons {
  border-radius: 0 0 25px 25px;
  background: radial-gradient(
    109.55% 187.65% at 130.07% 184.13%,
    rgba(114, 9, 183, 0.3) 37.51%,
    rgba(39, 158, 255, 0.3) 74.57%,
    rgba(255, 255, 255, 0) 100%
  );
}
