* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a1a2e;
  overflow-x: hidden;
  color: #fff;
}

.scroll-section {
  height: 200vh;
  position: relative;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Cartes */
.cards-container {
  position: relative;
  width: 100%;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
}

.card {
  position: absolute;
  width: 420px;
  max-width: 90%;
  min-height: 450px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-number {
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #7ce2cc 0%, #667eea 100%);
  -webkit-background-clip: text;   /* Safari, Chrome */
  background-clip: text;           /* Standard */
  -webkit-text-fill-color: transparent;
  color: transparent;              /* Fallback standard */
  margin-bottom: 15px;
}


.card-title {
  font-size: 2rem;
  color: #1a1a2e;
  margin-bottom: 20px;
  font-weight: 800;
}

.card-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* États */
.card.prev {
  transform: translateX(-600px) rotateY(20deg) scale(0.8);
  opacity: 0;
  z-index: 1;
}
.card.current {
  transform: translateX(0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 10;
}
.card.next {
  transform: translateX(600px) rotateY(-20deg) scale(0.8);
  opacity: 0;
  z-index: 1;
}

/* CTA */
.cta-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.3s;
}
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cta-btn {
  background: linear-gradient(135deg, #667eea, #7ce2cc);
  color: #fff;
  font-size: 1.2rem;
  padding: 14px 30px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
  transition: transform 0.3s ease;
}
.cta-btn:hover {
  transform: scale(1.05);
}

/* Indicateurs */
.progress-indicator {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #aaa;
  transition: all 0.3s;
  cursor: pointer;
}
.progress-dot.active {
  background: #7ce2cc;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    min-height: 400px;
    padding: 30px 20px;
  }

  .card-title {
    font-size: 1.6rem;
  }

  .card-description {
    font-size: 0.95rem;
  }

  .cta-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .nav-btn {
    font-size: 1.2rem;
    padding: 10px 14px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}
