 /* Animation bouton */
@keyframes fadeInBtn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes popupShow {
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; transform: scale(0.95); }
}

button.btn-vacauto::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  transition: all 0.5s ease;
  z-index: -1;
}
/* Animation au survol */
button.btn-vacauto:hover {
  background: #b32222;           /* rouge plus foncé */
  transform: translateY(-3px);   /* léger effet "lift" */
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
button.btn-vacauto:hover::before {
  left: 100%;                    /* effet balayage lumineux */
}

button.btn-vacauto1 {
  position: relative;
  background: linear-gradient(90deg, #050505 0%, #0a0a0a 50%, #111111 100%);
  color: #ffffff;
  border: 1px solid #e50914;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 28px;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Effet de balayage lumineux */
button.btn-vacauto1::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.05); /* reflet léger et classe */
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  z-index: 0;
}

/* Animation au survol */
button.btn-vacauto1:hover::before {
  left: 100%; /* effet lumineux glissant */
}

/* Variation subtile au survol */
button.btn-vacauto1:hover {
  background: linear-gradient(90deg, #0a0a0a 0%, #141414 50%, #1c1c1c 100%);
  border-color: #b32222; /* rouge assombri */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}







div.car-card:nth-child(1),
div.car-card-bientot:nth-child(1),
div.car-card-vendu:nth-child(1) {
  animation-delay: 0.2s;
}
div.car-card:nth-child(2),
div.car-card-bientot:nth-child(2),
div.car-card-vendu:nth-child(2) {
  animation-delay: 0.4s;
}
div.car-card:nth-child(3),
div.car-card-bientot:nth-child(3),
div.car-card-vendu:nth-child(3) {
  animation-delay: 0.6s;
}
div.car-card:hover,
div.car-card-bientot:hover,
div.car-card-vendu:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}
div.service-card:hover,
div.service-card-bientot:hover,
div.service-card-vendu:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.5); /* ombre plus marquée */
}
/* Apparition en cascade */
div.service-card:nth-child(1),
div.service-card-bientot:nth-child(1),
div.service-card-vendu:nth-child(1) {
  animation-delay: 0.2s;
}
div.service-card:nth-child(2),
div.service-card-bientot:nth-child(2),
div.service-card-vendu:nth-child(2) {
  animation-delay: 0.4s;
}
div.service-card:nth-child(3),
div.service-card-bientot:nth-child(3),
div.service-card-vendu:nth-child(3) {
  animation-delay: 0.6s;
}

button.btn-toggle:hover {
  background-color: #c72f2a;
}