/* ===== NPB DETAILING - Design System ===== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Purple palette */
  --purple-50:  #f3e8ff;
  --purple-100: #e9d5ff;
  --purple-200: #d8b4fe;
  --purple-300: #c084fc;
  --purple-400: #a855f7;
  --purple-500: #9333ea;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;

  /* Neutrals */
  --black:     #000000;
  --dark-900:  #0a0a0a;
  --dark-800:  #111111;
  --dark-700:  #1a1a1a;
  --dark-600:  #222222;
  --dark-500:  #2a2a2a;
  --white:     #ffffff;
  --white-90:  rgba(255, 255, 255, 0.9);
  --white-70:  rgba(255, 255, 255, 0.7);
  --white-50:  rgba(255, 255, 255, 0.5);
  --white-30:  rgba(255, 255, 255, 0.3);
  --white-10:  rgba(255, 255, 255, 0.1);
  --white-05:  rgba(255, 255, 255, 0.05);

  /* Gradients */
  --gradient-purple: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  --gradient-purple-soft: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(168, 85, 247, 0.05));
  --gradient-glow: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.25) 0%, transparent 70%);
  --gradient-hero: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.95) 100%);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg-hover: rgba(255, 255, 255, 0.07);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 10vw, 140px);
  --container-max: 1280px;
  --container-padding: clamp(20px, 4vw, 40px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-medium: 0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-600) var(--dark-800);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white-90);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark-800);
}
::-webkit-scrollbar-thumb {
  background: var(--purple-600);
  border-radius: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border: 3px solid var(--white-10);
  border-top-color: var(--purple-400);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--white-50);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Cursor Glow (desktop) ---------- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
  will-change: left, top;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition-medium), padding var(--transition-medium),
              backdrop-filter var(--transition-medium), border-color var(--transition-medium);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast);
}

.nav-logo:hover img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-70);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-purple);
  border-radius: 1px;
  transition: width var(--transition-medium);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  padding: 10px 24px;
  background: var(--gradient-purple);
  border-radius: 100px;
  color: var(--white) !important;
  letter-spacing: 1px !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.5) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-medium), opacity var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero Premium Interactive Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 6s ease-out;
  will-change: opacity, transform;
}

.hero-bg-layer.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%),
              linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 24px;
}

.hero-premium-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white-80);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-massive-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--white);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.animated-purple-text {
  background: linear-gradient(
    to right, 
    var(--purple-700) 20%, 
    var(--purple-500) 40%, 
    var(--purple-400) 50%, 
    var(--purple-500) 60%, 
    var(--purple-700) 80%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine-purple 3s linear infinite;
}

@keyframes shine-purple {
  to {
    background-position: 200% center;
  }
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.2vw, 1.25rem);
  color: var(--white-80);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-interactive-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interactive-card {
  display: flex;
  align-items: center;
  padding: 24px;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.interactive-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.interactive-card:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(147, 51, 234, 0.4);
  transform: translateX(-10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(147, 51, 234, 0.2);
}

.interactive-card:hover::before {
  transform: translateX(100%);
}

.ic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(147, 51, 234, 0.1);
  color: var(--purple-400);
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.interactive-card:hover .ic-icon {
  background: var(--purple-500);
  color: #fff;
  transform: scale(1.1);
}

.ic-text h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.ic-text p {
  color: var(--white-50);
  font-size: 0.85rem;
  margin: 0;
}

.ic-arrow {
  margin-left: auto;
  color: var(--white-30);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.interactive-card:hover .ic-arrow {
  color: var(--purple-400);
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .hero-premium-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-left {
    align-items: center;
    text-align: center;
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white-50);
}

.scroll-line-container {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.scroll-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--purple-light);
  animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ---------- Scrollytelling & Parallax (Modern Web Guidance) ---------- */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .hero-bg-container {
    animation: hero-parallax linear both;
    animation-timeline: scroll();
    animation-range: 0vh 100vh;
  }
  
  .hero-content {
    animation: hero-fade-out linear both;
    animation-timeline: scroll();
    animation-range: 0vh 70vh;
  }

  .hero-scroll-indicator {
    animation: scroll-indicator-fade linear both;
    animation-timeline: scroll();
    animation-range: 0vh 30vh;
  }
  
  @keyframes hero-parallax {
    from { transform: translateY(0); }
    to { transform: translateY(35%); }
  }
  
  @keyframes hero-fade-out {
    from { 
      opacity: 1; 
      transform: translateY(0) scale(1); 
    }
    to { 
      opacity: 0; 
      transform: translateY(-80px) scale(0.95); 
    }
  }

  @keyframes scroll-indicator-fade {
    from { opacity: 1; }
    to { opacity: 0; }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-bg-container,
    .hero-content,
    .hero-scroll-indicator {
      animation: none !important;
      transform: none !important;
      opacity: 1 !important;
    }
  }
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-purple);
  border: none;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 30px rgba(147, 51, 234, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(147, 51, 234, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  border: 1px solid var(--white-30);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: var(--white-10);
  border-color: var(--white-50);
  transform: translateY(-3px);
}


@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.3; height: 24px; }
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 16px;
  position: relative;
  padding: 0 24px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--purple-600);
}

.section-tag::before { left: 0; }
.section-tag::after  { right: 0; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
}

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

.section-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--white-50);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Stats Section (Excellence en Chiffres) ---------- */
.stats-section {
  padding: 80px 0;
  position: relative;
  border-bottom: 1px solid var(--glass-border);
}

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(147, 51, 234, 0.4);
  background: rgba(147, 51, 234, 0.03);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.15);
}

.stat-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: radial-gradient(circle at center top, rgba(147, 51, 234, 0.15) 0%, rgba(147, 51, 234, 0) 70%);
  pointer-events: none;
}

.stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--purple-400);
  transition: all 0.4s var(--ease-out-expo);
}

.stat-card:hover .stat-card-icon {
  background: var(--purple-600);
  border-color: var(--purple-500);
  color: var(--white);
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.4);
  transform: scale(1.05);
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card .stat-number .accent {
  color: var(--purple-400);
}

.stat-card .stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-90);
  margin-bottom: 12px;
}

.stat-card .stat-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--white-50);
}

@media (max-width: 1024px) {
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .stats-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stats-section {
    padding: 60px 0;
  }
}

/* ---------- Services Section ---------- */
.services {
  padding: var(--section-padding) 0;
  position: relative;
}

.services-glow {
  display: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 32px;
  overflow: hidden;
  transition: transform var(--transition-medium), background var(--transition-medium),
              border-color var(--transition-medium), box-shadow var(--transition-medium);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-purple);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--glass-bg-hover);
  border-color: rgba(147, 51, 234, 0.2);
  box-shadow: 0 20px 60px rgba(147, 51, 234, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.15);
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: transform var(--transition-medium), background var(--transition-medium);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(147, 51, 234, 0.2);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--white-50);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple-300);
}

.service-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--white-30);
}

/* ---------- Showcase (Image Grid) ---------- */
.showcase {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.showcase-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.showcase-item:hover img {
  transform: scale(1.08);
}

.showcase-item .showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
}

.showcase-overlay h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.showcase-overlay p {
  font-size: 0.8rem;
  color: var(--white-50);
}

/* ---------- Process Section ---------- */
.process {
  padding: var(--section-padding) 0;
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--purple-600), transparent);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark-700);
  border: 2px solid var(--purple-600);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--purple-400);
  position: relative;
  z-index: 1;
  transition: all var(--transition-medium);
}

.process-step:hover .step-num {
  background: var(--purple-600);
  color: var(--white);
  box-shadow: 0 0 40px rgba(147, 51, 234, 0.4);
  transform: scale(1.1);
}

.process-step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--white-50);
  line-height: 1.6;
}

/* ---------- About / Split Section ---------- */
.about {
  padding: var(--section-padding) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  pointer-events: none;
}

.about-image .about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge .badge-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-purple);
  border-radius: 12px;
  font-size: 1.3rem;
}

.about-badge .badge-text {
  display: flex;
  flex-direction: column;
}

.about-badge .badge-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.about-badge .badge-text span {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-50);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content .section-tag {
  text-align: left;
  padding: 0 0 0 24px;
}
.about-content .section-tag::before { display: none; }

.about-content .section-title {
  text-align: left;
}

.about-content p {
  font-size: 1rem;
  color: var(--white-50);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-70);
  transition: all var(--transition-fast);
}

.about-feature:hover {
  border-color: rgba(147, 51, 234, 0.3);
  background: rgba(147, 51, 234, 0.05);
}

.about-feature .feature-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(147, 51, 234, 0.15);
  border-radius: 8px;
  color: var(--purple-400);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  min-width: 240px;
  max-width: 240px;
  min-height: 350px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 24px;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  border-color: rgba(147, 51, 234, 0.25);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--purple-400);
  font-size: 0.85rem;
}

.testimonial-card blockquote {
  font-size: 0.93rem;
  color: var(--white-70);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.testimonial-info strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  color: var(--white);
}

.testimonial-info span {
  font-size: 0.75rem;
  color: var(--white-30);
}

/* ---------- CTA Section ---------- */
.cta {
  padding: var(--section-padding) 0;
}

.cta-box {
  position: relative;
  background: var(--dark-700);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box .section-title {
  position: relative;
}

.cta-box .section-desc {
  position: relative;
  margin-bottom: 36px;
}

.cta-box .btn-primary {
  position: relative;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--white-50);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--white-50);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col a:hover {
  color: var(--purple-400);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--white-30);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--white-50);
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: rgba(147, 51, 234, 0.15);
  border-color: rgba(147, 51, 234, 0.3);
  color: var(--purple-400);
  transform: translateY(-2px);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.12s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.19s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.26s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.33s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ---------- Modern Native Scroll-Driven Reveal (MWG) ---------- */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .reveal {
    animation: scrub-reveal both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
    transition: none;
  }
  /* Empêcher le JS de casser l'animation native */
  .reveal.visible { opacity: 0; transform: translateY(40px); animation: scrub-reveal both; }
  
  @keyframes scrub-reveal {
    to { opacity: 1; transform: translateY(0); }
  }

  .reveal-left {
    animation: scrub-reveal-left both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
    transition: none;
  }
  .reveal-left.visible { opacity: 0; transform: translateX(-60px); animation: scrub-reveal-left both; }
  
  @keyframes scrub-reveal-left {
    to { opacity: 1; transform: translateX(0); }
  }

  .reveal-right {
    animation: scrub-reveal-right both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
    transition: none;
  }
  .reveal-right.visible { opacity: 0; transform: translateX(60px); animation: scrub-reveal-right both; }
  
  @keyframes scrub-reveal-right {
    to { opacity: 1; transform: translateX(0); }
  }

  .reveal-scale {
    animation: scrub-reveal-scale both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
    transition: none;
  }
  .reveal-scale.visible { opacity: 0; transform: scale(0.9); animation: scrub-reveal-scale both; }
  
  @keyframes scrub-reveal-scale {
    to { opacity: 1; transform: scale(1); }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale,
    .reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }

  @media (max-width: 850px) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale,
    .reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
      animation: none !important;
      animation-timeline: none !important;
      transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo) !important;
    }
    
    .reveal-left { opacity: 0; transform: translateX(-20px) !important; }
    .reveal-right { opacity: 0; transform: translateX(20px) !important; }
    .reveal-scale { opacity: 0; transform: scale(0.95) !important; }
    .reveal { opacity: 0; transform: translateY(20px) !important; }
    
    .reveal-left.visible,
    .reveal-right.visible,
    .reveal-scale.visible,
    .reveal.visible {
      opacity: 1 !important;
      transform: none !important;
    }
  }
}

/* Page Load Appearance Animations (triggered when body has .loaded class) */
.animate-fade-in {
  opacity: 0;
  will-change: opacity;
}

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.95);
  will-change: opacity, transform;
}

.animate-slide-down {
  opacity: 0;
  transform: translateY(-20px);
  will-change: opacity, transform;
}

body.loaded .animate-fade-in {
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.loaded .animate-fade-in-up {
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.loaded .animate-scale-in {
  animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.loaded .animate-slide-down {
  animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger delays for appearance */
.delay-1 { animation-delay: 0.1s !important; }
.delay-2 { animation-delay: 0.2s !important; }
.delay-3 { animation-delay: 0.3s !important; }
.delay-4 { animation-delay: 0.4s !important; }
.delay-5 { animation-delay: 0.5s !important; }

/* ---------- Particles ---------- */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--purple-400);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 850px) {
  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95) translateY(-10px);
    transition: opacity 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
    border-left: none;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .nav-links a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(15px);
    transition: color var(--transition-fast);
  }

  .nav-links.open a {
    animation: mobileLinkFadeIn 0.5s var(--ease-out-expo) forwards;
  }

  .nav-links.open a:nth-child(1) { animation-delay: 0.1s; }
  .nav-links.open a:nth-child(2) { animation-delay: 0.16s; }
  .nav-links.open a:nth-child(3) { animation-delay: 0.22s; }
  .nav-links.open a:nth-child(4) { animation-delay: 0.28s; }
  .nav-links.open a:nth-child(5) { animation-delay: 0.34s; }

  @keyframes mobileLinkFadeIn {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links .nav-cta {
    font-size: 1.15rem !important;
    padding: 14px 44px;
  }

  .nav-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 210px;
    max-width: 210px;
    min-height: 370px;
    padding: 24px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cursor-glow {
    display: none;
  }

  .hero h1 {
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    min-width: 200px;
    max-width: 200px;
    min-height: 380px;
    padding: 20px 16px;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg img {
    animation: none;
    transform: scale(1);
  }
}

/* ==========================================================================
   Nouveaux Modules CSS (Sections d'accueil additionnelles et Sous-pages)
   ========================================================================== */

/* ---------- Before/After Slider ---------- */
.comparison-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.slider-wrapper {
  --position: 50%;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(147, 51, 234, 0.15);
  user-select: none;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slider-img.img-before {
  filter: contrast(0.85) brightness(0.9) saturate(0.8) blur(0.5px);
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  z-index: 2;
}

.slider-img.img-after {
  z-index: 1;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: var(--purple-400);
  cursor: ew-resize;
  z-index: 10;
  transform: translateX(-50%);
}

.slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  background: var(--purple-600);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.6);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.slider-handle:hover::after {
  background: var(--purple-400);
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-handle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  color: var(--white);
  z-index: 11;
  pointer-events: none;
}

.slider-label {
  position: absolute;
  bottom: 24px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.label-before {
  left: 24px;
  right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.label-after {
  right: 24px;
  left: auto;
  color: var(--purple-300);
}

/* ---------- Estimateur de Prix interactif ---------- */
.estimator-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.est-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.est-selector {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.est-step {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.est-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: radial-gradient(ellipse at 50% 0%, rgba(147, 51, 234, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.est-step-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.est-step-label::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--gradient-purple);
  border-radius: 2px;
}

/* Étape 1 : Véhicules */
.est-sizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.est-size {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.est-size:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(147, 51, 234, 0.3);
}

.est-size.active {
  background: rgba(147, 51, 234, 0.12);
  border-color: var(--purple-500);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
  transform: translateY(-2px);
}

.est-size-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 4px;
}

.est-size-ex {
  font-size: 0.7rem;
  color: var(--white-50);
}

/* Étape 2 : Prestations */
.est-group {
  margin-bottom: 24px;
}

.est-group:last-child {
  margin-bottom: 0;
}

.est-group-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.est-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.est-svc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: 12px;
  user-select: none;
}

.est-svc:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(147, 51, 234, 0.2);
}

.est-svc.active {
  background: rgba(147, 51, 234, 0.08);
  border-color: var(--purple-500);
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.15);
}

.est-svc-check {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.est-svc.active .est-svc-check {
  border-color: var(--purple-500);
  background: var(--purple-500);
}

.est-svc-check::after {
  content: '✓';
  color: var(--white);
  font-size: 0.7rem;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.est-svc.active .est-svc-check::after {
  opacity: 1;
  transform: scale(1);
}

.est-svc-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--white);
  margin-right: auto;
}

.est-svc-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple-300);
  white-space: nowrap;
}

.est-svc.active .est-svc-price {
  color: var(--white);
}

/* Bundle Info Banner */
.est-bundle-hint {
  display: none;
  background: rgba(147, 51, 234, 0.08);
  border: 1px dashed rgba(147, 51, 234, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--purple-300);
  align-items: center;
  gap: 8px;
}

.est-bundle-hint.visible {
  display: flex;
  animation: fadeIn 0.4s var(--ease-out-expo) forwards;
}

/* Colonne droite : récapitulatif */
.est-recap {
  position: sticky;
  top: 100px;
}

.est-recap-inner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-top: 3px solid var(--purple-600);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.est-recap-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: radial-gradient(ellipse at 50% 0%, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.est-recap-head {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.est-recap-head h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 4px;
}

.est-recap-head span {
  font-size: 0.75rem;
  color: var(--white-50);
  display: block;
}

.est-recap-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  min-height: 80px;
}

.est-recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  animation: rowFadeIn 0.3s var(--ease-out-expo) forwards;
}

@keyframes rowFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.est-recap-row span:first-child {
  color: var(--white-50);
}

.est-recap-row span:last-child {
  color: var(--white);
  font-weight: 600;
}

.est-recap-bundle {
  border-left: 2px solid var(--purple-500);
  padding-left: 8px;
}

.est-recap-bundle span:first-child {
  color: var(--purple-300);
}

.est-recap-savings {
  font-size: 0.72rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: -6px;
  margin-left: 10px;
  font-weight: 600;
}

.est-recap-empty {
  color: var(--white-30);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px 0;
  font-style: italic;
}

.est-recap-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.est-total-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.est-total-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--purple-400);
  text-shadow: 0 0 10px rgba(147, 51, 234, 0.2);
}

.est-recap-cta {
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Responsiveness for Estimator */
@media (max-width: 1024px) {
  .est-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .est-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .est-recap {
    position: static;
  }
}

@media (max-width: 640px) {
  .est-sizes {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .est-services {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .est-step {
    padding: 20px;
  }
}

/* ---------- Partenaires (Marques de prestige) ---------- */
.partners-section {
  padding: 60px 0;
  background: var(--dark-900);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.partners-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-30);
  margin-bottom: 32px;
}

.partners-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  opacity: 0.6;
}

.partner-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 2px;
  color: var(--white-50);
  transition: all var(--transition-fast);
  cursor: default;
}

.partner-logo:hover {
  color: var(--purple-400);
  opacity: 1;
}

/* ---------- FAQ Section ---------- */
.faq-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.faq-item:hover {
  border-color: rgba(147, 51, 234, 0.2);
}

.faq-item.active {
  background: rgba(147, 51, 234, 0.04);
  border-color: var(--purple-500);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.08), 0 0 20px rgba(147, 51, 234, 0.05);
}

.faq-question {
  padding: 24px 32px;
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  color: var(--white);
}

.faq-question h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  transition: color var(--transition-fast);
}

.faq-item:hover .faq-question h4 {
  color: var(--purple-300);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1rem;
  color: var(--white-50);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(135deg);
  background: var(--purple-600);
  color: var(--white);
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 32px 28px 32px;
  font-size: 0.9rem;
  color: var(--white-50);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease 0.08s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

/* ---------- Subpage Styling ---------- */

/* Subpage Hero */
.sub-hero {
  position: relative;
  padding: clamp(140px, 15vh, 200px) 0 clamp(60px, 8vh, 100px);
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}

.sub-hero-glow {
  display: none;
}

.sub-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
}

.sub-hero p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--white-50);
  max-width: 600px;
  margin: 0 auto;
}

/* Detailed Services Tables */
.pricing-section {
  padding: var(--section-padding) 0;
}

.pricing-table-container {
  margin-bottom: 60px;
}

.pricing-table-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.pricing-table-title h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
}

.pricing-table-title p {
  font-size: 0.85rem;
  color: var(--white-50);
}

.pricing-table-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--purple-300);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-tier {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.pricing-tier.featured {
  border-color: var(--purple-500);
  background: rgba(147, 51, 234, 0.02);
  box-shadow: 0 10px 40px rgba(147, 51, 234, 0.08);
}

.pricing-tier.featured::after {
  content: 'Recommandé';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-purple);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 36px;
  transform: rotate(45deg);
}

.tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 0.8rem;
  color: var(--white-50);
  margin-bottom: 24px;
}

.tier-price-box {
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.tier-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--white);
}

.tier-duration {
  font-size: 0.75rem;
  color: var(--white-30);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.tier-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--white-70);
}

.tier-feature svg {
  width: 16px;
  height: 16px;
  color: var(--purple-400);
  flex-shrink: 0;
}

.tier-feature.disabled {
  color: var(--white-30);
  text-decoration: line-through;
}

.tier-feature.disabled svg {
  color: var(--white-30);
}

.pricing-tier .btn-outline,
.pricing-tier .btn-primary {
  width: 100%;
  justify-content: center;
}

@media (max-width: 950px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--white-70);
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--white-10);
  color: var(--white);
}

.filter-btn.active {
  background: var(--gradient-purple);
  border-color: transparent;
  color: var(--white);
}

/* Premium Form Elements */
.contact-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-info-panel h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(147, 51, 234, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-detail-text p {
  font-size: 0.85rem;
  color: var(--white-50);
}

.contact-form-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--white-70);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group select {
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 14px 48px 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--purple-500);
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.2);
}

.form-group select option {
  background: #0a0a0a;
  color: var(--white);
}

.form-group select.select-placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

.form-group select option[disabled] {
  color: rgba(255, 255, 255, 0.3) !important;
}

.contact-form-panel .btn-primary {
  width: 100%;
  justify-content: center;
}

@media (max-width: 850px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 580px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* ====== Etape par Etape (Multi-step Booking Form) ====== */
.booking-steps-indicator {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--glass-border);
  padding: 16px 20px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.step-indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-indicator-item .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white-10);
  background: var(--dark-700);
  color: var(--white-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-medium);
}

.step-indicator-item .step-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-medium);
}

.step-indicator-item.active .step-num {
  border-color: var(--purple-500);
  background: rgba(147, 51, 234, 0.15);
  color: var(--white);
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
}

.step-indicator-item.active .step-text {
  color: var(--purple-400);
}

.step-indicator-item.completed .step-num {
  background: var(--purple-500);
  border-color: var(--purple-500);
  color: var(--white);
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.2);
}

.step-indicator-item.completed .step-text {
  color: var(--white-90);
}

.step-indicator-line {
  height: 2px;
  background: var(--white-10);
  flex-grow: 1;
  position: relative;
  top: 15px;
  transition: all var(--transition-medium);
}

.step-indicator-line.active {
  background: var(--purple-600);
  box-shadow: 0 0 8px rgba(147, 51, 234, 0.4);
}

.booking-step-pane {
  display: none;
}

.booking-step-pane.active {
  display: block;
  animation: paneFadeIn 0.5s var(--ease-out-expo) forwards;
}

@keyframes paneFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 6px;
}

.step-subtitle {
  font-size: 0.85rem;
  color: var(--white-50);
  margin-bottom: 24px;
}

/* Prestations grid in step 3 */
.prestations-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.prestation-check-card {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.prestation-check-card.full-width {
  grid-column: span 2;
}

.prestation-check-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(147, 51, 234, 0.2);
}

.prestation-check-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple-500);
  cursor: pointer;
  flex-shrink: 0;
}

.prestation-check-card label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  flex-grow: 1;
}

.prestation-check-card .prestation-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
}

.prestation-check-card .prestation-card-price {
  font-size: 0.7rem;
  color: var(--purple-400);
  margin-top: 1px;
}

.prestation-check-card.checked {
  background: rgba(147, 51, 234, 0.1);
  border-color: var(--purple-500);
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.15);
}

.booking-step-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.booking-step-buttons button {
  flex: 1;
  justify-content: center;
}

.booking-step-buttons #prevStepBtn {
  flex: 0 0 100px;
}

@media (max-width: 580px) {
  .prestations-checkbox-grid {
    grid-template-columns: 1fr;
  }
  .booking-steps-indicator {
    padding: 12px 10px;
    margin-bottom: 24px;
  }
  .step-indicator-item .step-text {
    display: none; /* Hide texts on small mobiles, show only numbers */
  }
  .step-indicator-line {
    top: 15px;
  }
  .prestation-check-card.full-width {
    grid-column: span 1;
  }
}

/* ====== Modal de Réservation ====== */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-out-expo);
  padding: 20px;
}

.booking-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.booking-modal-content {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 32px 32px;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(147, 51, 234, 0.15);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease-out-expo);
  max-height: 90vh;
  overflow-y: auto;
}

.booking-modal.active .booking-modal-content {
  transform: scale(1);
}

.booking-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white-50);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.booking-modal-close:hover {
  color: var(--white);
}

@media (max-width: 580px) {
  .booking-modal-content {
    padding: 30px 16px 20px;
  }
}

/* ---------- Page Services : Sélecteur de Taille de Véhicule ---------- */
.pricing-size-selector {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px 30px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.pricing-size-selector::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(147, 51, 234, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-size-selector .selector-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  white-space: nowrap;
}

.pricing-size-selector .selector-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  flex-grow: 1;
  max-width: 650px;
}

.pricing-size-selector .size-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.pricing-size-selector .size-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(147, 51, 234, 0.3);
}

.pricing-size-selector .size-btn.active {
  background: rgba(147, 51, 234, 0.12);
  border-color: var(--purple-500);
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.2);
  transform: translateY(-2px);
}

.pricing-size-selector .btn-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 2px;
}

.pricing-size-selector .btn-desc {
  font-size: 0.65rem;
  color: var(--white-50);
}

@media (max-width: 850px) {
  .pricing-size-selector {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    margin-bottom: 32px;
  }
  
  .pricing-size-selector .selector-label {
    text-align: center;
  }
  
  .pricing-size-selector .selector-buttons {
    max-width: none;
  }
}

@media (max-width: 580px) {
  .pricing-size-selector .selector-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ====== Custom media queries for booking form responsiveness ====== */
@media (max-width: 768px) {
  .contact-info-panel,
  .contact-form-panel {
    padding: 30px 24px;
  }
  
  .booking-steps-indicator {
    padding: 12px 14px;
    margin-bottom: 28px;
  }
}

@media (max-width: 580px) {
  .contact-info-panel,
  .contact-form-panel {
    padding: 24px 16px;
    border-radius: 16px;
  }
  
  .contact-detail-item {
    gap: 12px;
  }
  
  .contact-detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  .booking-steps-indicator {
    padding: 10px 8px;
    margin-bottom: 20px;
    gap: 4px;
  }
  
  .step-indicator-item .step-num {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
  
  .step-indicator-line {
    top: 13px !important; /* Centered in a 28px circle container (14px center) */
  }
}


