* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff8f3; /* light warm background */
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crew-carousel {
  width: 100%;
  max-width: 1200px;
  height: 450px;
  position: relative;
  perspective: 1000px;
  margin-top: 60px;
  overflow: hidden; /* Empêche tout débordement horizontal */
}

.crew-track {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.crew-card {
  position: absolute;
  width: 280px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.crew-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CARTE CENTRALE (ACTIVE) */
.crew-card.center {
  z-index: 10;
  transform: translateX(0) scale(1.1);
  opacity: 1;
  filter: grayscale(0%);
}

/* CARTES À GAUCHE */
.crew-card.left-1 {
  z-index: 9;
  transform: translateX(-160px) scale(0.9);
  opacity: 0.85;
  filter: grayscale(40%);
}

.crew-card.left-2 {
  z-index: 8;
  transform: translateX(-300px) scale(0.75);
  opacity: 0.65;
  filter: grayscale(80%);
}

.crew-card.left-3 {
  z-index: 7;
  transform: translateX(-420px) scale(0.6);
  opacity: 0.45;
  filter: grayscale(100%);
}

/* CARTES À DROITE */
.crew-card.right-1 {
  z-index: 9;
  transform: translateX(160px) scale(0.9);
  opacity: 0.85;
  filter: grayscale(40%);
}

.crew-card.right-2 {
  z-index: 8;
  transform: translateX(300px) scale(0.75);
  opacity: 0.65;
  filter: grayscale(80%);
}

.crew-card.right-3 {
  z-index: 7;
  transform: translateX(420px) scale(0.6);
  opacity: 0.45;
  filter: grayscale(100%);
}

.crew-card.right-4 {
  z-index: 6;
  transform: translateX(520px) scale(0.45);
  opacity: 0.25;
  filter: grayscale(100%);
}

/* INFO MEMBRE */
.crew-info {
  text-align: center;
  margin-top: 40px;
}

.crew-name {
  font-size: 2.5rem;
  color: #cc5500; /* deep orange */
  transition: opacity 0.3s ease;
}

.crew-role {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #aa4400;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
}

/* DOTS / INDICATEURS */
.crew-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.crew-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(204, 85, 0, 0.2); /* orange tint */
  cursor: pointer;
  transition: background 0.3s ease;
}

.crew-dot.active {
  background: #cc5500;
}

/* FLÈCHES DE NAVIGATION */
.crew-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(204, 85, 0, 0.7); /* orange base */
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s ease;
}

.crew-arrow:hover {
  background: rgba(170, 68, 0, 0.9); /* deeper orange hover */
}

.crew-left {
  left: 20px;
}

.crew-right {
  right: 20px;
}