@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  --primary-pink: #ec4899;
  --primary-purple: #a855f7;
  --dark-purple-bg: #0d0614;
  --purple-card: #170b26;
  --pink-purple-gradient: linear-gradient(135deg, #f43f5e 0%, #d946ef 50%, #8b5cf6 100%);
  --glow-pink: radial-gradient(circle at 50% 0%, rgba(217, 70, 239, 0.22) 0%, transparent 70%);
  --card-border-purple: rgba(217, 70, 239, 0.2);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e1b4b;
  background-color: #fdf4ff;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', serif;
}

.pink-purple-gradient-bg {
  background: var(--pink-purple-gradient);
}

.pink-purple-text {
  background: var(--pink-purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-nav-purple {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dark-purple-card {
  background: rgba(23, 11, 38, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border-purple);
}

.purple-shadow {
  box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.12), 0 20px 25px -5px rgba(236, 72, 153, 0.05);
}

details > summary::-webkit-details-marker {
  display: none;
}
details[open] summary svg {
  transform: rotate(180deg);
}

/* Swiper / Slider Custom Styles */
.hero-slider-container {
  position: relative;
  overflow: hidden;
  height: 640px;
}
@media (min-width: 1024px) {
  .hero-slider-container {
    height: 720px;
  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1.2s ease-out;
  transform: scale(1.04);
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 6, 20, 0.93) 0%, rgba(23, 11, 38, 0.84) 50%, rgba(13, 6, 20, 0.68) 100%);
}
.slider-indicator {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}
.slider-indicator.active {
  width: 32px;
  background: #d946ef;
}

/* Slider Avant / Après Interactif */
.ba-container {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(168, 85, 247, 0.15), 0 8px 10px -6px rgba(236, 72, 153, 0.1);
}
.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.ba-before {
  z-index: 1;
}
.ba-after {
  z-index: 2;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #d946ef;
}
.ba-after .ba-after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #c026d3;
  border: 3px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
  z-index: 10;
  pointer-events: none;
  cursor: ew-resize;
  font-size: 14px;
}
.ba-slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  margin: 0;
}

/* Carrousel d'interventions horizontal */
.cards-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.5rem;
}
.cards-slider::-webkit-scrollbar {
  height: 6px;
}
.cards-slider::-webkit-scrollbar-track {
  background: #f3e8ff;
  border-radius: 10px;
}
.cards-slider::-webkit-scrollbar-thumb {
  background: #c026d3;
  border-radius: 10px;
}
.card-slide-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .card-slide-item {
    flex: 0 0 360px;
  }
}