body {
  font-family: Arial, sans-serif;
  background: #050505;
  color: white;
  overflow-x: hidden;
  margin: 0;
}
/* ANIMATIONS PAGE */
body.fade-in {
  animation: pageFadeIn 0.8s ease;
}
body.fade-out {
  animation: pageFadeOut 0.5s ease forwards;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pageFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(15px); }
}
/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('noir.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
  animation: heroFade 1.6s ease;
  padding: 20px;
}
.hero-content h2 {
  font-size: 60px;
  margin: 0;
}
.hero-content p {
  font-size: 18px;
  opacity: 0.85;
  margin-top: 12px;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
/* INTRO */
.intro {
  padding: 120px 20px;
  text-align: center;
  max-width: 700px;
  margin: auto;
}
.intro h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.intro p {
  font-size: 18px;
  line-height: 1.7;
  color: #d0d0d0;
}
/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: black;
  color: #aaa;
}

/* ===== PREVIEW SECTIONS ===== */
.preview-section {
  padding: 90px 40px 60px;
  text-align: center;
}

.preview-intro {
  max-width: 760px;
  margin: 0 auto 55px;
}

.preview-intro .section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.preview-intro h2 {
  font-size: 2.4rem;
  margin: 0;
}

/* ===== MARQUEE PRESTATIONS (défilement infini) ===== */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  padding-top: 16px;
  margin-top: -16px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
  padding-bottom: 4px;
}

.prestation-card {
  flex: 0 0 auto;
  width: 260px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 32px 26px;
  text-decoration: none;
  color: white;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  backface-visibility: hidden;
}

.prestation-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.prestation-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}

.prestation-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.prestation-card p {
  color: #c7c7c7;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== COVERFLOW PORTFOLIO (roue 3D circulaire) ===== */
.coverflow {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  perspective-origin: 50% 70%;
}

.coverflow-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateX(-4deg);
  transform-style: preserve-3d;
}

.cf-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.9s ease, box-shadow 0.9s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  -webkit-box-reflect: below 4px linear-gradient(transparent 40%, rgba(255,255,255,0.15));
}

.cf-slide.is-active {
  box-shadow: 0 22px 40px rgba(0,0,0,0.45);
}

.cf-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverflow-arrow {
  position: relative;
  z-index: 20;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex-shrink: 0;
}

.coverflow-arrow:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.08);
}

.coverflow-prev { margin-right: 10px; }
.coverflow-next { margin-left: 10px; }

.coverflow-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px auto 10px;
  max-width: 500px;
}

.cf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: 0.3s;
}

.cf-dot.active {
  background: white;
  transform: scale(1.3);
}

.preview-cta {
  margin-top: 30px;
}

.cta-link {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.3s;
}

.cta-link:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ===== CTA FINAL ===== */
.final-cta-section {
  padding: 60px 40px 110px;
}

.final-cta-box {
  text-align: center;
  background: rgba(255,255,255,0.03);
  border-radius: 24px;
  padding: 60px 30px;
  max-width: 850px;
  margin: 0 auto;
}

.final-cta-box .section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.final-cta-box h2 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}

.final-cta-box p {
  max-width: 620px;
  margin: 0 auto 28px;
  color: #c7c7c7;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  padding: 15px 28px;
  background: white;
  color: black;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .preview-section,
  .final-cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 700px) {
  .coverflow {
    height: 400px;
  }

  .cf-slide {
    width: 110px;
    height: 150px;
  }

  .coverflow-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }

  .prestation-card {
    width: 220px;
    padding: 26px 20px;
  }
}