@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}
body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: #1e1e1e;
  color: #fff;
}

.satoshi {
  font-family: "Satoshi", sans-serif;
}

.slide-content {
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translateY(30px);
  opacity: 0;
}

.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

/* Animations au scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Effet de flottement */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  /* background: #00B085; */
  border: 1px solid white;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}

/* Masquer scrollbar sur Chrome, Safari et Edge */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Masquer scrollbar sur Firefox */
.hide-scrollbar {
  scrollbar-width: none;
}

/* Masquer scrollbar sur IE et autres */
.hide-scrollbar {
  -ms-overflow-style: none;
}

/* Tab */
.tab {
  padding-bottom: 0.5rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  color: #aaa;
  transition: all 0.3s ease;
}

.tab:hover {
  color: #fff;
}

.active-tab {
  position: relative;
  color: white;
}

.active-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #00b085 0%, #004a38 90%);
}

/* Animation d'apparition */
.card {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.4s ease forwards;
}

.card img {
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 300px;
}
.title {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.desc {
  font-size: 0.875rem;
  color: #bbb;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}