/* =====================================================
   TechServ Pro – Main Stylesheet
   Inspired by PIKU template design language
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #dbeafe;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0f172a;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --light: #f8fafc;
  --white: #ffffff;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-md: 0 8px 16px -2px rgba(0,0,0,.12);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.12), 0 4px 10px -2px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 40px -10px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all .3s ease;
  --transition-fast: all .15s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; background: #ffffff; }

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: transparent;
  overflow-x: hidden;
  line-height: 1.65;
}



/* Sections semi-transparentes pour laisser passer les particules */
section, .section {
  background: rgba(255,255,255,0.82) !important;
}
section.bg-light, .section.bg-light, .services-section, .testimonials-section, .contact-section {
  background: rgba(248,250,252,0.82) !important;
}
/* Hero reste opaque (fond sombre) */
#hero {
  background: transparent !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
}

a { text-decoration: none; color: var(--primary); transition: var(--transition-fast); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

.section { padding: 100px 0; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }
.preloader-icon {
  font-size: 3rem;
  color: var(--primary);
  animation: pulseIcon 1s ease infinite;
  margin-bottom: 1rem;
}
@keyframes pulseIcon {
  0%,100% { transform: scale(1); opacity:1; }
  50% { transform: scale(1.1); opacity:.7; }
}
.preloader-bar {
  width: 200px; height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 4px; overflow: hidden; margin: 0 auto;
}
.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar { from { width:0; } to { width:100%; } }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  font-size: .83rem;
  padding: 8px 0;
}
.topbar span { font-size: .83rem; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.7);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .78rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lang-btn.active, .lang-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- Navbar ---------- */
#mainNav {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  padding: 14px 0;
  transition: var(--transition);
  z-index: 1000;
}
#mainNav.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}
.brand-name span { color: var(--primary); }

.nav-link {
  font-weight: 500;
  color: var(--gray-700) !important;
  padding: 6px 12px !important;
  border-radius: 8px;
  transition: var(--transition-fast);
  font-size: .92rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}

.nav-cta {
  padding: 8px 20px !important;
  font-size: .9rem !important;
  border-radius: 8px !important;
}

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: .01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,.4);
  color: #fff;
}
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: #fff;
}

/* ---------- Section Shared ---------- */
.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .75rem;
}
.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #1e3a5f 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.25) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(124,58,237,.2) 0%, transparent 50%);
}
.hero-particles {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 3; }

.hero-badge {
  background: rgba(37,99,235,.3);
  border: 1px solid rgba(37,99,235,.5);
  color: #93c5fd;
  font-size: .85rem;
  padding: 6px 16px;
  border-radius: 20px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: rgba(255,255,255,.75);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  white-space: nowrap;
}


.hero-btn-main {
  font-size: 1rem;
  padding: 14px 32px;
}

.hero-stats { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; }
.stat-item {
  display: flex; flex-direction: column;
  color: #fff;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}

/* Hero Illustration */
.hero-illustration {
  position: relative;
  width: 480px; height: 480px;
}
.hero-laptop {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  width: 220px; height: 220px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}
.hcard {
  position: absolute;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.hcard i { font-size: 1.2rem; }
.hcard-1 { top: 10%; left: -10%; animation: float1 3s ease-in-out infinite; }
.hcard-2 { bottom: 20%; right: -5%; animation: float2 3.5s ease-in-out infinite; }
.hcard-3 { top: 30%; right: 5%; animation: float1 4s ease-in-out infinite .5s; }
.hcard-1 i { color: #34d399; }
.hcard-2 i { color: #fbbf24; }
.hcard-3 i { color: #f59e0b; }

.floating { animation: float1 4s ease-in-out infinite; }
@keyframes float1 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ---------- Trusted – Marquee infini ---------- */
.trusted-section {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 16px 0 20px;
}
.trusted-header { text-align: center; margin-bottom: 16px; overflow: hidden; }
.trusted-label {
  color: var(--gray-400, #9ca3af);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
}


/* Conteneur overflow caché */
.trusted-marquee {
  position: relative;
  overflow: hidden;
  height: 50px;            /* hauteur stable = hauteur d'un badge */
}

/* Masques dégradés pour effet "fondu" sur les bords */
.tm-fade {
  position: absolute; top: 0; bottom: 0; width: 90px;
  z-index: 2; pointer-events: none;
}
.tm-fade-left  { left:  0; background: linear-gradient(to right, white 0%, transparent 100%); }
.tm-fade-right { right: 0; background: linear-gradient(to left,  white 0%, transparent 100%); }

/* Piste défilante */
.tm-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  will-change: transform;
  animation: tm-scroll 30s linear infinite;
}

/* Pause au survol */
.trusted-marquee:hover .tm-track {
  animation-play-state: paused;
}

/* Boucle : -50% = exactement la largeur des 10 premiers logos */
@keyframes tm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Badge logo */
.trusted-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 40px;
  font-size: .83rem;
  font-weight: 700;
  color: var(--gray-500);
  white-space: nowrap;
  cursor: default;
  user-select: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: border-color .25s, color .25s, box-shadow .25s, transform .25s;
}
.trusted-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(37,99,235,.15);
  transform: translateY(-2px);
}
.trusted-logo i {
  font-size: 1rem;
  color: var(--primary);
  transition: transform .25s;
}
.trusted-logo:hover i { transform: scale(1.2); }

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sc-color, var(--primary)), transparent);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37,99,235,.15);
}
.service-card:hover::before { height: 4px; }

.sc-icon {
  width: 60px; height: 60px;
  background: color-mix(in srgb, var(--sc-color, var(--primary)) 12%, transparent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--sc-color, var(--primary));
  margin-bottom: 1rem;
  transition: var(--transition);
}
.service-card:hover .sc-icon {
  background: var(--sc-color, var(--primary));
  color: #fff;
  transform: scale(1.1);
}

.sc-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.sc-desc {
  font-size: .88rem;
  color: var(--gray-500);
  flex: 1;
  margin-bottom: 1rem;
}
.sc-list {
  list-style: none; padding: 0; margin: 0 0 1rem;
}
.sc-list li {
  font-size: .83rem;
  color: var(--gray-500);
  padding: 3px 0;
}
.sc-list li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 700;
}
.sc-link {
  color: var(--primary);
  font-weight: 600;
  font-size: .88rem;
  display: flex; align-items: center; gap: 6px;
  margin-top: auto;
}
.sc-link:hover { gap: 10px; }

/* ---------- Why Us ---------- */
.why-section { background: var(--white); }

.why-visual {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
}
.why-icon-main {
  font-size: 7rem;
  color: var(--primary);
  background: var(--primary-light);
  width: 220px; height: 220px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.why-circle {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(37,99,235,.25);
  animation: spinSlow linear infinite;
}
.why-c1 { width: 320px; height: 320px; animation-duration: 25s; }
.why-c2 { width: 420px; height: 420px; animation-duration: 40s; animation-direction: reverse; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.why-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 3;
  font-size: .9rem;
  display: flex; align-items: center; gap: 6px;
}
.why-badge-1 { top: 10%; right: 10%; animation: float2 4s ease-in-out infinite .3s; }
.why-badge-2 { bottom: 15%; left: 5%; animation: float2 4s ease-in-out infinite 1s; }
.why-badge-3 { top: 38%; left: 0%; animation: float2 4s ease-in-out infinite .7s; }
.why-badge-4 { top: 38%; right: 0%; animation: float2 4s ease-in-out infinite 1.4s; }

.why-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  transition: var(--transition-fast);
}
.why-item:hover { background: var(--light); }
.wi-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: color-mix(in srgb, var(--wi-color, var(--primary)) 12%, transparent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--wi-color, var(--primary));
  transition: var(--transition);
}
.why-item:hover .wi-icon {
  background: var(--wi-color, var(--primary));
  color: #fff;
}
.wi-text h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.wi-text p { font-size: .83rem; color: var(--gray-500); margin: 0; }

/* ---------- Steps ---------- */
.step-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: .5rem;
}
.step-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  height: 60px; width: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p { font-size: .88rem; color: var(--gray-500); margin: 0; }

/* ---------- Pricing ---------- */
.pricing-section { background: var(--white); }
.pricing-card {
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-100);
  padding: 40px 32px;
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); }
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, #eff6ff 0%, #f5f3ff 100%);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }

.pc-badge {
  position: absolute; top: 20px; right: -30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: 5px 40px;
  transform: rotate(35deg);
  letter-spacing: .05em;
}

.pc-header { margin-bottom: 2rem; }
.pc-name { font-size: .85rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; }
.pc-price {
  display: flex; align-items: flex-start; gap: 2px;
  margin-top: .5rem;
}
.pc-price sup { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-top: 8px; }
.pc-price span { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; color: var(--dark); line-height: 1; }
.pc-price sub { font-size: .85rem; color: var(--gray-500); margin-top: auto; padding-bottom: 8px; }

.pc-features { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.pc-features li { padding: 8px 0; font-size: .9rem; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--gray-100); }
.pc-features li:last-child { border-bottom: none; }
.pc-features li i.fa-check { color: var(--success); }
.pc-features li.disabled { color: var(--gray-300); }
.pc-features li.disabled i { color: var(--gray-300); }

/* ---------- Booking ---------- */
.booking-section { background: var(--light); }

.booking-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.form-section-title {
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  margin-bottom: .5rem;
}

.form-control, .form-select {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .9rem;
  transition: var(--transition-fast);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-label { font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-700); }

.price-summary {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.ps-row {
  display: flex; justify-content: space-between;
  font-size: .9rem;
  padding: 5px 0;
  color: var(--gray-700);
  border-bottom: 1px solid rgba(37,99,235,.1);
}
.ps-row:last-of-type { border-bottom: none; }
.ps-total {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  margin-top: 6px;
  padding-top: 10px;
  border-top: 2px solid var(--primary-light) !important;
  border-bottom: none !important;
}
.ps-note { font-size: .78rem; color: var(--gray-500); margin: 8px 0 0; }

.btn-book { padding: 14px; font-size: 1rem; }

/* Booking Info Sidebar */
.booking-info { display: flex; flex-direction: column; gap: 1rem; }
.bi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex; align-items: flex-start; gap: 14px;
}
.bi-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}
.bi-card h5 { font-size: .95rem; margin-bottom: 4px; }
.bi-card p { font-size: .83rem; color: var(--gray-500); margin: 0; }

.bi-tracker {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--light); }
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  height: 100%;
  transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tc-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; letter-spacing: 2px; }
.tc-text { font-size: .9rem; color: var(--gray-700); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}
.tc-author strong { display: block; font-size: .9rem; }
.tc-author span { font-size: .78rem; color: var(--gray-500); }

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 50%;
  top: auto; bottom: -60px;
  opacity: 1;
}
#testimonialsCarousel .carousel-control-prev { left: calc(50% - 56px); }
#testimonialsCarousel .carousel-control-next { right: calc(50% - 56px); }
#testimonialsCarousel { padding-bottom: 80px; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.cta-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: .75rem; position: relative; }
.cta-subtitle { color: rgba(255,255,255,.8); font-size: 1.05rem; position: relative; }

/* ---------- Contact ---------- */
.contact-section { background: var(--light); }

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.ci-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem;
}
.ci-item h5 { font-size: .9rem; margin-bottom: 4px; }
.ci-item p { font-size: .83rem; color: var(--gray-500); margin: 0; }

.ci-social { display: flex; gap: 10px; }
.ci-social-btn {
  width: 40px; height: 40px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  transition: var(--transition-fast);
}
.ci-social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.65); }

.footer-top { padding: 70px 0 50px; }

.footer .brand-name { color: #fff; }
.footer .brand-name span { color: #60a5fa; }

.footer-desc { font-size: .88rem; max-width: 300px; line-height: 1.7; }

.footer-social { display: flex; gap: 10px; margin-top: 1.25rem; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition-fast);
  font-size: .9rem;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-heading { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1.25rem; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .88rem; transition: var(--transition-fast); }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,.55);
}
.footer-contact-list li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 18px 0;
  font-size: .83rem;
}
.footer-bottom p { color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.4); transition: var(--transition-fast); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Récupération de Données – type de support ---------- */
.recovery-type-btn { flex: 1; min-width: 80px; }
.recovery-type-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 8px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  transition: border-color .2s, background .2s, transform .15s;
  cursor: pointer;
  min-height: 64px;
}
.recovery-type-btn input:checked + .recovery-type-inner {
  border-color: #8b5cf6;
  background: rgba(139,92,246,.08);
  transform: translateY(-2px);
  box-shadow: 0 3px 12px rgba(139,92,246,.2);
}
.recovery-type-inner:hover { border-color: #a78bfa; background: rgba(139,92,246,.04); }

/* ---------- Scroll Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 44px; height: 44px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: var(--transition);
  opacity: 0; visibility: hidden;
  font-size: .9rem;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }

/* ---------- Tracking Result ---------- */
.tracking-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-inprogress { background: #ede9fe; color: #5b21b6; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* ---------- Modal ---------- */
.modal-content { border-radius: var(--radius-xl); border: none; box-shadow: var(--shadow-xl); }
.modal-header { padding: 24px 28px 12px; }
.modal-body { padding: 16px 28px; }
.modal-footer { padding: 12px 28px 24px; }

.booking-success-icon {
  font-size: 4rem;
  color: var(--success);
  animation: bounceIn .5s ease;
}
@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.booking-ref {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  margin: 12px 0;
}
.booking-detail-table { font-size: .88rem; }
.booking-detail-table td { padding: 6px 12px; }
.booking-detail-table td:first-child { font-weight: 600; color: var(--gray-700); }

/* ---------- Toast ---------- */
.toast-container { z-index: 9999 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .hero-section { padding: 80px 0 40px; min-height: auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .booking-form-card { padding: 24px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 1.5rem; }
  .step-card { padding: 24px 20px; }
  .contact-form { padding: 24px; }
  .booking-form-card { padding: 20px; }
  .whatsapp-float { bottom: 18px; right: 18px; width: 50px; height: 50px; font-size: 1.4rem; }
  .scroll-top { bottom: 18px; left: 18px; }
  .cta-section { padding: 56px 0; }
}

@media (max-width: 576px) {
  .hero-stats .stat-item { flex: 1 1 auto; }
  .why-visual { min-height: 280px; }
  .why-icon-main { width: 140px; height: 140px; font-size: 4rem; }
  .why-c1 { width: 200px; height: 200px; }
  .why-c2 { width: 270px; height: 270px; }
}

/* ══════════════════════════════════════════════════════
   PRICING – FCFA
   ══════════════════════════════════════════════════════ */
.pc-price-fcfa {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px;
  margin-top: .6rem;
}
.pcf-amount {
  font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 800;
  color: var(--dark); line-height: 1;
}
.pcf-currency {
  font-size: 1rem; font-weight: 700;
  color: var(--primary); align-self: flex-end; padding-bottom: 2px;
}
.pcf-period {
  font-size: .82rem; color: var(--gray-500);
  align-self: flex-end; padding-bottom: 2px;
}

/* ══════════════════════════════════════════════════════
   WIZARD STEP INDICATOR
   ══════════════════════════════════════════════════════ */
.wizard-indicator {
  display: flex; align-items: center;
  margin-bottom: 2rem;
  padding: 20px 24px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}
.wi-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 0 0 auto;
  cursor: default;
}
.wi-bubble {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.wi-label {
  font-size: .72rem; font-weight: 600;
  color: var(--gray-300);
  text-align: center;
  white-space: nowrap;
  transition: var(--transition);
}

/* Active step */
.wi-item.active .wi-bubble {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
  transform: scale(1.1);
}
.wi-item.active .wi-label { color: var(--primary); }

/* Done step */
.wi-item.done .wi-bubble {
  background: var(--success);
  border-color: transparent;
  color: #fff;
}
.wi-item.done .wi-bubble::after {
  content: '✓';
  position: absolute;
  font-size: .85rem; font-weight: 900;
}
.wi-item.done .wi-bubble i { display: none; }
.wi-item.done .wi-label { color: var(--success); }

/* Connector line */
.wi-line {
  flex: 1;
  height: 2px;
  background: var(--gray-300);
  margin: 0 6px;
  margin-bottom: 22px;
  transition: background .4s ease;
  border-radius: 2px;
}
.wi-line.done { background: var(--success); }

/* ══════════════════════════════════════════════════════
   WIZARD PANELS
   ══════════════════════════════════════════════════════ */
.wz-panel { display: none; }
.wz-panel.active { display: block; animation: panelIn .35s ease both; }
.wz-panel.wz-enter { animation: panelIn .35s ease both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.wz-panel-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid var(--gray-100);
}
.wz-panel-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.wz-panel-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 2px; }
.wz-panel-sub   { font-size: .85rem; color: var(--gray-500); margin: 0; }

/* ══════════════════════════════════════════════════════
   SERVICE PICKER (grid de cartes)
   ══════════════════════════════════════════════════════ */
.svc-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 1.25rem;
}
@media (max-width: 680px) { .svc-picker { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .svc-picker { grid-template-columns: repeat(2, 1fr); } }

.sp-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 14px 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.sp-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--sp, var(--primary)), transparent);
  opacity: 0; transition: opacity .3s;
}
.sp-card:hover { border-color: var(--sp, var(--primary)); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sp-card:hover::before { opacity: .06; }
.sp-card.selected {
  border-color: var(--sp, var(--primary));
  background: color-mix(in srgb, var(--sp, var(--primary)) 7%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sp, var(--primary)) 20%, transparent);
}
.sp-card.selected::after {
  content: '✓';
  position: absolute; top: 5px; right: 8px;
  font-size: .75rem; font-weight: 900;
  color: var(--sp, var(--primary));
}

.sp-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--sp, var(--primary)) 12%, white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--sp, var(--primary));
  margin: 0 auto 8px;
  transition: var(--transition);
}
.sp-card.selected .sp-icon,
.sp-card:hover .sp-icon {
  background: var(--sp, var(--primary));
  color: #fff;
}
.sp-name { font-size: .8rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.sp-from { font-size: .7rem; color: var(--gray-500); margin-top: 3px; }

/* ══════════════════════════════════════════════════════
   QUANTITY CONTROL
   ══════════════════════════════════════════════════════ */
.qty-control {
  display: flex; align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.qty-btn {
  width: 40px; height: 42px;
  background: var(--light);
  border: none;
  color: var(--gray-700); font-size: .9rem;
  cursor: pointer; transition: var(--transition-fast);
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input {
  flex: 1; border: none; text-align: center;
  font-weight: 700; font-size: 1rem;
  color: var(--dark); background: transparent;
  outline: none; min-width: 0;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ══════════════════════════════════════════════════════
   URGENCY PICKER
   ══════════════════════════════════════════════════════ */
.urgency-picker {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.urgency-opt { cursor: pointer; }
.urgency-opt input { display: none; }
.uo-inner {
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  transition: var(--transition);
  background: var(--white);
}
.urgency-opt:hover .uo-inner { border-color: var(--primary); }
.urgency-opt.selected .uo-inner {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(37,99,235,.15);
}
.uo-icon { font-size: 1.3rem; margin-bottom: 6px; color: var(--primary); }
.uo-label { font-weight: 700; font-size: .88rem; color: var(--dark); }
.uo-sub   { font-size: .72rem; color: var(--gray-500); margin-top: 2px; }
.uo-price { font-size: .78rem; font-weight: 700; color: var(--primary); margin-top: 4px; }

/* ══════════════════════════════════════════════════════
   PRICE PREVIEW
   ══════════════════════════════════════════════════════ */
.price-preview {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin-top: 1rem;
}
.pp-label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.pp-price {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 800;
  color: var(--primary); white-space: nowrap;
}
.pp-note { width: 100%; font-size: .75rem; color: var(--gray-500); }

/* ══════════════════════════════════════════════════════
   WIZARD NAV
   ══════════════════════════════════════════════════════ */
.wz-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0 0;
  margin-top: 20px;
  border-top: 1.5px solid var(--gray-100);
  gap: 12px;
}
.wz-counter {
  font-size: .88rem; font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}
.wz-slash { margin: 0 2px; }

/* ══════════════════════════════════════════════════════
   INPUT WITH ICON
   ══════════════════════════════════════════════════════ */
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap > i {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--gray-500); font-size: .85rem; pointer-events: none;
}
.input-icon-wrap .form-control {
  padding-left: 34px;
}

/* ══════════════════════════════════════════════════════
   RECAP (étape 4)
   ══════════════════════════════════════════════════════ */
.recap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 1.25rem;
}
@media (max-width: 680px) { .recap-grid { grid-template-columns: 1fr; } }

.recap-section {
  background: var(--light);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--gray-100);
}
.rs-title {
  font-size: .78rem; font-weight: 700;
  color: var(--primary); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 6px;
}
.rs-row {
  display: flex; flex-direction: column;
  font-size: .82rem; margin-bottom: 8px;
}
.rs-row span { color: var(--gray-500); font-size: .75rem; }
.rs-row strong { color: var(--dark); margin-top: 1px; word-break: break-word; }

.recap-total {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.rt-row {
  display: flex; justify-content: space-between;
  font-size: .9rem; padding: 5px 0;
  border-bottom: 1px solid rgba(37,99,235,.1);
  color: var(--gray-700);
}
.rt-row:last-of-type { border-bottom: none; }
.rt-total {
  font-weight: 800; font-size: 1.05rem;
  color: var(--primary);
  margin-top: 6px; padding-top: 10px;
  border-top: 2px solid var(--primary-light) !important;
  border-bottom: none !important;
}
.rt-note { font-size: .75rem; color: var(--gray-500); margin: 8px 0 0; }

.recap-notice {
  background: #eff6ff;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--primary);
  margin-top: 1rem;
  display: flex; align-items: center;
}

/* ══════════════════════════════════════════════════════
   TRACKING CARD
   ══════════════════════════════════════════════════════ */
.tracking-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.trk-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px; gap: 8px;
}
.trk-ref  { font-family: monospace; font-weight: 700; color: var(--primary); font-size: .95rem; }
.trk-svc  { font-size: .78rem; color: var(--gray-500); margin-top: 2px; }
.trk-body { display: flex; flex-direction: column; gap: 6px; }
.trk-info { font-size: .83rem; display: flex; align-items: flex-start; gap: 8px; }
.trk-info i { width: 14px; flex-shrink: 0; margin-top: 2px; }

.tracking-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.status-pending    { background: #fef3c7; color: #92400e; }
.status-confirmed  { background: #dbeafe; color: #1e40af; }
.status-inprogress { background: #ede9fe; color: #5b21b6; }
.status-completed  { background: #d1fae5; color: #065f46; }
.status-cancelled  { background: #fee2e2; color: #991b1b; }

/* ══════════════════════════════════════════════════════
   PROFILE PICKER (étape 1 du wizard)
   ══════════════════════════════════════════════════════ */
.profile-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: .5rem;
}
@media (max-width: 540px) {
  .profile-picker { grid-template-columns: 1fr; }
}

/* Radio natif caché – le label/card entier est cliquable */
.prof-radio { display: none; }

/* Carte de profil */
.prof-card {
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.prof-card:hover { transform: translateY(-4px); }

.prof-card-inner {
  border: 2.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 22px 22px;
  background: var(--white);
  text-align: center;
  transition: border-color .3s, background .3s, box-shadow .3s;
  height: 100%;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
}

/* Coche sélection (masquée par défaut) */
.prof-check {
  position: absolute; top: 12px; right: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  opacity: 0; transform: scale(0);
  transition: opacity .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.prof-check.visible { opacity: 1; transform: scale(1); }
.prof-card.selected .prof-check { opacity: 1; transform: scale(1); }

/* Icône centrale */
.prof-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--pc,#2563eb) 12%, white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--pc, #2563eb);
  margin-bottom: 16px;
  transition: background .3s, color .3s, box-shadow .3s;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--pc,#2563eb) 20%, transparent);
}

.prof-title {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 800;
  color: var(--dark); margin-bottom: 4px;
}
.prof-subtitle {
  font-size: .82rem; color: var(--gray-500);
  margin-bottom: 16px; line-height: 1.4;
}

/* Liste des avantages */
.prof-features {
  list-style: none; padding: 0; margin: 0 0 18px;
  text-align: left; width: 100%;
}
.prof-features li {
  display: flex; align-items: center; gap: 9px;
  font-size: .83rem; color: var(--gray-700);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
}
.prof-features li:last-child { border-bottom: none; }
.prof-features li i {
  width: 18px; text-align: center;
  color: var(--gray-400); font-size: .8rem;
  transition: color .25s;
}

/* Badge prix */
.prof-price-tag {
  background: color-mix(in srgb, var(--pc,#2563eb) 10%, white);
  color: var(--pc, #2563eb);
  border: 1px solid color-mix(in srgb, var(--pc,#2563eb) 25%, white);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: .8rem; font-weight: 600;
  margin-top: auto;
  transition: background .3s;
}

/* ─── États hover & selected ─── */
.prof-card:hover .prof-card-inner {
  border-color: var(--pc, var(--primary));
  box-shadow: 0 8px 30px color-mix(in srgb, var(--pc,#2563eb) 20%, transparent);
}
.prof-card:hover .prof-icon-wrap {
  background: var(--pc, var(--primary));
  color: #fff;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--pc,#2563eb) 40%, transparent);
}
.prof-card:hover .prof-features li i { color: var(--pc, var(--primary)); }

/* Particulier hover */
.prof-card[data-profile="particulier"]:hover .prof-card-inner { border-color: #2563eb; }
.prof-card[data-profile="particulier"]:hover .prof-icon-wrap  { background:#2563eb; }

/* Entreprise hover */
.prof-card[data-profile="entreprise"]:hover .prof-card-inner { border-color: #7c3aed; }
.prof-card[data-profile="entreprise"]:hover .prof-icon-wrap  { background:#7c3aed; }

/* Sélection Particulier */
.prof-card[data-profile="particulier"].selected .prof-card-inner {
  border-color: #2563eb;
  background: linear-gradient(160deg, #eff6ff 0%, #f5f3ff 100%);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12), 0 12px 32px rgba(37,99,235,.18);
}
.prof-card[data-profile="particulier"].selected .prof-icon-wrap {
  background: #2563eb; color: #fff;
}
.prof-card[data-profile="particulier"].selected .prof-features li i { color: #2563eb; }

/* Sélection Entreprise */
.prof-card[data-profile="entreprise"].selected .prof-card-inner {
  border-color: #7c3aed;
  background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 100%);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12), 0 12px 32px rgba(124,58,237,.18);
}
.prof-card[data-profile="entreprise"].selected .prof-icon-wrap {
  background: #7c3aed; color: #fff;
}
.prof-card[data-profile="entreprise"].selected .prof-features li i { color: #7c3aed; }

/* Animation secouer si pas de sélection */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}
.prof-card.shake { animation: shake .5s ease; }

/* ══════════════════════════════════════════════════════
   BANNIÈRE DE PROFIL SÉLECTIONNÉ (étape 2)
   ══════════════════════════════════════════════════════ */
.profile-banner { margin-bottom: 16px; }
.pb-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--pb-color, #93c5fd);
  font-size: .88rem; font-weight: 600;
  color: var(--pb-color, #2563eb);
}
.pb-inner i { font-size: 1rem; }
.pb-inner span { flex: 1; }
.pb-change {
  background: none; border: 1.5px solid currentColor;
  border-radius: 20px; padding: 3px 12px;
  font-size: .75rem; font-weight: 700;
  color: inherit; cursor: pointer;
  transition: background .2s, color .2s;
}
.pb-change:hover { background: var(--pb-color); color: #fff; }

/* Service caché (filtrage profil) */
.sp-card.sp-hidden {
  display: none;
}

/* Séparateur section coordonnées */
.form-section-label {
  font-size: .82rem; font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 4px 0;
}

/* Badge profil dans recap */
.rs-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .78rem; font-weight: 700;
  border: 1px solid transparent;
}

/* ══════════════════════════════════════════════════════
   REVIEWS – AVIS CLIENTS
   ══════════════════════════════════════════════════════ */

/* ── Barre de stats globale ─────────────────────────── */
.reviews-global-bar {
  display: flex; align-items: center; gap: 32px;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.rgb-score {
  display: flex; flex-direction: column; align-items: center;
  min-width: 90px; flex-shrink: 0;
}
.rgb-avg {
  font-family: var(--font-heading);
  font-size: 3.2rem; font-weight: 800;
  color: var(--dark); line-height: 1;
}
.rgb-stars { color: #f59e0b; font-size: 1.1rem; margin: 4px 0; letter-spacing: 1px; }
.rgb-count { font-size: .82rem; color: var(--gray-500); font-weight: 600; }
.rgb-bars  { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 200px; }

.rgb-bar-row { display: flex; align-items: center; gap: 10px; }
.rgb-bar-label {
  width: 34px; flex-shrink: 0;
  font-size: .8rem; font-weight: 700;
  color: var(--gray-600); text-align: right;
}
.rgb-bar-label i { color: #f59e0b; font-size: .7rem; }
.rgb-bar-track {
  flex: 1; height: 8px;
  background: var(--gray-100);
  border-radius: 20px; overflow: hidden;
}
.rgb-bar-fill {
  height: 100%; border-radius: 20px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  transition: width .8s ease;
}
.rgb-bar-pct { width: 36px; font-size: .75rem; color: var(--gray-500); text-align: right; }

/* ── Grille des avis ─────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

/* Carte d'un avis */
.review-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: var(--transition);
  display: flex; flex-direction: column; gap: 12px;
}
.review-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Animation d'entrée */
@keyframes rvIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rv-anim { animation: rvIn .4s ease both; }

.rv-header { display: flex; align-items: center; gap: 12px; }
.rv-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem; color: #fff;
}
.rv-meta    { flex: 1; min-width: 0; }
.rv-name    { font-weight: 700; font-size: .9rem; color: var(--dark); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rv-sub     { font-size: .77rem; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-verified { font-size: .68rem; font-weight: 600; color: var(--success); display: inline-flex; align-items: center; gap: 3px; }
.rv-stars   { color: #f59e0b; font-size: .85rem; white-space: nowrap; flex-shrink: 0; }
.rv-comment { font-size: .88rem; color: var(--gray-700); line-height: 1.65; margin: 0; flex: 1; font-style: italic; }
.rv-date    { font-size: .74rem; color: var(--gray-400); }
.rv-date i  { color: var(--gray-300); }

/* ── Pagination ─────────────────────────────────────── */
.rv-pages   { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.rv-page-btn {
  width: 38px; height: 38px;
  border-radius: 50%; border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-700);
  font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: var(--transition-fast);
}
.rv-page-btn:hover       { border-color: var(--primary); color: var(--primary); }
.rv-page-btn.active      { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Séparateur ─────────────────────────────────────── */
.review-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 2.5rem 0 2rem;
}
.review-divider::before,
.review-divider::after {
  content: ''; flex: 1; height: 1.5px; background: var(--gray-100);
}
.review-divider span {
  font-size: .8rem; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: .1em;
  white-space: nowrap; padding: 0 4px;
}

/* ══════════════════════════════════════════════════════
   FORMULAIRE D'AVIS (review-form-card)
   ══════════════════════════════════════════════════════ */
.review-form-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Toggle button */
.rfc-toggle {
  width: 100%; background: none; border: none;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left;
  transition: background .2s;
}
.rfc-toggle:hover { background: var(--light); }
.rfct-left { display: flex; align-items: center; gap: 14px; }
.rfct-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
.rfct-title { font-weight: 700; font-size: 1rem; color: var(--dark); }
.rfct-sub   { font-size: .82rem; color: var(--gray-500); margin-top: 2px; }
.rfct-arrow { color: var(--gray-400); transition: transform .3s; }
.rfct-arrow.rotated { transform: rotate(180deg); }

/* Corps */
.rfc-body { padding: 0 24px 24px; border-top: 1.5px solid var(--gray-100); }

/* Label section */
.rfc-label { font-weight: 700; font-size: .88rem; color: var(--dark); margin: 0; }

/* ── Étoiles interactives ─────────────────────────── */
.rfc-rating-section { padding: 20px 0 4px; text-align: center; }

.star-picker {
  display: inline-flex; gap: 6px; margin: 10px 0 6px;
}
.sp-star {
  background: none; border: none; padding: 4px;
  font-size: 2rem; color: var(--gray-200);
  cursor: pointer; transition: color .15s, transform .15s;
  line-height: 1;
}
.sp-star:hover,
.sp-star.active { color: #f59e0b; }
.sp-star:hover  { transform: scale(1.15); }
.sp-star.active { transform: scale(1.08); }

.star-picker.sp-error .sp-star { animation: shake .4s ease; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  75%      { transform: translateX(5px); }
}

.sp-hint { font-size: .82rem; color: var(--gray-400); min-height: 1.2em; transition: color .2s; }
.sp-hint-active { color: #f59e0b; font-weight: 600; }
.sp-hint-error  { color: var(--danger); font-weight: 600; }

/* Notice modération */
.rfc-notice {
  background: #eff6ff;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .82rem; color: var(--primary);
  display: flex; align-items: center;
}

/* Succès */
.rfc-success {
  padding: 40px 24px;
  text-align: center;
}
.rfc-success-icon {
  font-size: 3rem; color: var(--success);
  margin-bottom: 12px;
  animation: popIn .4s ease both;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.rfc-success h5 { font-weight: 700; margin-bottom: 8px; }
.rfc-success p  { color: var(--gray-500); font-size: .9rem; margin-bottom: 16px; }

/* ── Avis admin dans dashboard ─────────────────────── */
.rv-admin-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  transition: var(--transition);
}
.rv-admin-card:hover { box-shadow: var(--shadow-md); }
.rv-admin-card.status-pending  { border-left: 4px solid #f59e0b; }
.rv-admin-card.status-approved { border-left: 4px solid var(--success); }
.rv-admin-card.status-rejected { border-left: 4px solid var(--danger); opacity: .7; }

.rva-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rva-info   .rva-name { font-weight: 700; font-size: .92rem; }
.rva-info   .rva-sub  { font-size: .77rem; color: var(--gray-500); }
.rva-stars  { color: #f59e0b; font-size: .85rem; }
.rva-comment { font-size: .86rem; color: var(--gray-700); font-style: italic; line-height: 1.55; }
.rva-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.rva-date   { font-size: .75rem; color: var(--gray-400); }
.rva-actions { display: flex; gap: 6px; }

.rv-status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .72rem; font-weight: 700;
}
.rv-status-pending  { background: #fef3c7; color: #92400e; }
.rv-status-approved { background: #d1fae5; color: #065f46; }
.rv-status-rejected { background: #fee2e2; color: #991b1b; }
.rv-status-default  { background: var(--primary-light); color: var(--primary-dark); }

/* ══════════════════════════════════════════════════════
   ACCÈS ADMIN DISCRET
   ══════════════════════════════════════════════════════ */

/* Petit point dans le footer — quasi invisible */
.admin-secret-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  transition: background .3s, border-color .3s, box-shadow .3s;
  flex-shrink: 0;
  position: relative;
}
/* Au survol prolongé : légère lueur bleue */
.admin-secret-dot:hover {
  background: rgba(37,99,235,.35);
  border-color: rgba(37,99,235,.6);
  box-shadow: 0 0 8px rgba(37,99,235,.5);
}
/* Après 3 clics : pulse visible */
.admin-secret-dot.unlocking {
  animation: dotPulse .5s ease 3;
}
@keyframes dotPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 rgba(37,99,235,0); }
  50%      { transform: scale(1.8); box-shadow: 0 0 12px rgba(37,99,235,.7); }
}

/* ── Overlay du portail admin ── */
.admin-portal-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(15,23,42,.75);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.admin-portal-overlay.open {
  opacity: 1; visibility: visible;
}

/* Boîte centrale */
.admin-portal-box {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  width: 100%; max-width: 380px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  position: relative;
  transform: translateY(30px) scale(.95);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.admin-portal-overlay.open .admin-portal-box {
  transform: translateY(0) scale(1);
}

.apb-close {
  position: absolute; top: 14px; right: 16px;
  background: var(--gray-100); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: .85rem; cursor: pointer; color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.apb-close:hover { background: var(--danger); color: #fff; }

.apb-icon {
  width: 70px; height: 70px; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff; margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.apb-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.apb-sub   { color: var(--gray-500); font-size: .88rem; margin-bottom: 22px; }
.apb-hint  { font-size: .76rem; color: var(--gray-400); }
.apb-hint kbd {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 5px; padding: 2px 6px;
  font-size: .75rem; font-family: monospace; color: var(--dark);
}

/* ---------- Utility ---------- */
.bg-light { background: var(--light) !important; }

/* ============================================================
   FORMULAIRE CONTACT – SÉLECTION SUJET EN 2 ÉTAPES
   ============================================================ */
.cf-cat-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-cat-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all .22s ease;
  position: relative;
  overflow: hidden;
}
.cf-cat-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-light), #f5f3ff);
  opacity: 0;
  transition: opacity .22s;
}
.cf-cat-btn:hover {
  border-color: var(--primary);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(37,99,235,.13);
}
.cf-cat-btn:hover::before { opacity: 1; }
.cf-cat-btn:hover .cf-cat-arrow { transform: translateX(4px); color: var(--primary); }

.cf-cat-icon {
  font-size: 1.5rem;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.cf-cat-label {
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-900);
  flex: 1;
  position: relative; z-index: 1;
}
.cf-cat-arrow {
  font-size: .75rem;
  color: var(--gray-400);
  transition: transform .22s, color .22s;
  position: relative; z-index: 1;
}

/* Step 2 header */
.cf-step2-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cf-back-btn {
  background: none;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: .8rem;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.cf-back-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.cf-cat-active-label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 20px;
  padding: 4px 12px;
}

/* Animation apparition step 2 */
@keyframes cfSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
#cf-step2:not(.d-none) {
  animation: cfSlideIn .25s ease both;
}

/* ============================================================
   DATE & CRÉNEAU – PICKER CUSTOM
   ============================================================ */

/* Wrapper deux colonnes */
.dt-picker-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .dt-picker-wrap { grid-template-columns: 1fr; }
}

.dt-block-label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-500);
  margin-bottom: 10px;
}

/* ── CALENDRIER ── */
.cal-card {
  background: linear-gradient(145deg, #0f172a, #1e1b4b);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(37,99,235,.25), 0 4px 20px rgba(0,0,0,.3);
  position: relative;
  overflow: hidden;
  user-select: none;
}
.cal-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(124,58,237,.5) 0%, transparent 70%);
  pointer-events: none;
}
.cal-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(6,182,212,.35) 0%, transparent 70%);
  pointer-events: none;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cal-nav-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  color: #fff;
  font-size: .8rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
  backdrop-filter: blur(4px);
}
.cal-nav-btn:hover { background: rgba(255,255,255,.2); transform: scale(1.1); }

.cal-month-year {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  text-transform: capitalize;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}
.cal-weekdays span {
  font-size: .68rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 0;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
  position: relative;
}
.cal-day:hover:not(.cal-day--disabled):not(.cal-day--empty) {
  background: rgba(255,255,255,.12);
  color: #fff;
  transform: scale(1.12);
}
.cal-day--empty { cursor: default; }
.cal-day--disabled {
  color: rgba(255,255,255,.18);
  cursor: not-allowed;
}
.cal-day--today {
  color: #38bdf8;
  font-weight: 700;
}
.cal-day--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: #38bdf8;
  border-radius: 50%;
}
.cal-day--selected {
  background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(124,58,237,.55);
  transform: scale(1.15) !important;
}
.cal-day--selected::after { display: none; }

.cal-selected-display {
  margin-top: 14px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  min-height: 20px;
  transition: color .3s;
}
.cal-selected-display.has-date {
  color: #a5b4fc;
  font-weight: 600;
}

/* ── CRÉNEAUX HORAIRES ── */
.slots-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slot-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
  position: relative;
  overflow: hidden;
}
.slot-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--slot-a), var(--slot-b));
  opacity: 0;
  transition: opacity .25s;
  z-index: 0;
}
.slot-card:hover { transform: translateX(4px); box-shadow: 0 8px 24px rgba(37,99,235,.12); border-color: var(--gray-300); }
.slot-card:hover::before { opacity: .05; }

/* Couleurs par période */
.slot-card[data-period="matin"]  { --slot-a:#f59e0b; --slot-b:#fbbf24; }
.slot-card[data-period="aprem"]  { --slot-a:#2563eb; --slot-b:#7c3aed; }
.slot-card[data-period="soir"]   { --slot-a:#7c3aed; --slot-b:#0f172a; }

.slot-card.selected {
  border-color: #7c3aed;
  background: linear-gradient(135deg, #f5f3ff, #eff6ff);
  box-shadow: 0 6px 24px rgba(124,58,237,.22);
  transform: translateX(6px);
}
.slot-card.selected::before { opacity: .08; }

.slot-sun {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--slot-a), var(--slot-b));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  position: relative; z-index: 1;
  transition: transform .2s;
}
.slot-card:hover .slot-sun, .slot-card.selected .slot-sun { transform: rotate(-8deg) scale(1.1); }

.slot-time {
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-900);
  position: relative; z-index: 1;
  flex: 1;
}
.slot-label {
  font-size: .75rem;
  color: var(--gray-500);
  position: relative; z-index: 1;
  margin-top: 1px;
}
.slot-time-wrap { flex: 1; position: relative; z-index: 1; }

.slot-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  color: transparent;
  background: transparent;
  transition: all .2s;
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.slot-card.selected .slot-check {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
  box-shadow: 0 2px 8px rgba(124,58,237,.4);
}

.slot-error {
  font-size: .82rem;
  color: #dc2626;
  margin-top: 6px;
  padding: 8px 12px;
  background: #fef2f2;
  border-radius: 8px;
  border-left: 3px solid #dc2626;
}

@keyframes calPulse {
  0%   { box-shadow: 0 20px 60px rgba(37,99,235,.25), 0 4px 20px rgba(0,0,0,.3); }
  50%  { box-shadow: 0 20px 60px rgba(124,58,237,.5), 0 4px 30px rgba(0,0,0,.4); }
  100% { box-shadow: 0 20px 60px rgba(37,99,235,.25), 0 4px 20px rgba(0,0,0,.3); }
}
.cal-card.cal-pulse { animation: calPulse .4s ease; }

/* Layout interne slot */
.slot-card { align-items: center; }
.slot-time-wrap { display: flex; flex-direction: column; flex: 1; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════
   MULTI-SERVICE : carte active-panel + sous-service panel + panier
   ══════════════════════════════════════════════════════ */

/* Carte catégorie active (panneau ouvert) */
.sp-card.active-panel {
  border-color: var(--sp, var(--primary));
  background: color-mix(in srgb, var(--sp, var(--primary)) 8%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sp, var(--primary)) 25%, transparent);
}
.sp-card.active-panel::after {
  content: '▼';
  position: absolute; top: 5px; right: 8px;
  font-size: .7rem;
  color: var(--sp, var(--primary));
}

/* Panneau sous-service */
.sub-svc-panel {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sub-svc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.1rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.sub-svc-cat-name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-900);
  display: flex; align-items: center; gap: .5rem;
}
.sub-svc-close {
  background: none; border: none; cursor: pointer;
  color: var(--gray-400); font-size: 1rem;
  padding: 4px 8px; border-radius: 6px;
  transition: var(--transition);
}
.sub-svc-close:hover { background: var(--gray-100); color: var(--gray-700); }

/* Liste des sous-services */
.sub-svc-list {
  display: flex; flex-direction: column;
  max-height: 280px; overflow-y: auto;
}
.sub-svc-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1.1rem;
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
  transition: background .15s;
}
.sub-svc-item:last-child { border-bottom: none; }
.sub-svc-item:hover { background: var(--gray-50); }
.sub-svc-item.selected {
  background: color-mix(in srgb, var(--primary) 7%, white);
  border-left: 3px solid var(--primary);
}
.ssi-info { flex: 1; }
.ssi-name  { font-size: .9rem; font-weight: 500; color: var(--gray-900); }
.ssi-price { font-size: .78rem; color: var(--gray-500); margin-top: 2px; }
.ssi-check {
  width: 22px; height: 22px;
  border-radius: 50%; border: 2px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: transparent;
  transition: var(--transition);
}
.sub-svc-item.selected .ssi-check {
  background: var(--primary); border-color: var(--primary);
  color: #fff;
}

/* Badge tarif dégressif sur le nom du sous-service */
.ssi-vol-badge {
  display: inline-block;
  margin-left: .4rem;
  font-size: .68rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: middle;
}

/* Bandeau info remise volume dans le panneau sous-service */
.vol-discount-info {
  display: none;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: .45rem .85rem;
  margin-bottom: .5rem;
}

/* Badge dégressif dans le panier */
.ci-vol-badge {
  display: inline-block;
  margin-left: .35rem;
  font-size: .65rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: middle;
}

/* Footer sous-service panel */
.sub-svc-footer {
  display: flex; align-items: flex-end; gap: 1rem;
  padding: .9rem 1.1rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.sub-svc-qty { flex: 1; min-width: 160px; }
.btn-add-cart {
  white-space: nowrap;
  border-radius: 10px;
  font-size: .88rem;
  padding: .55rem 1.1rem;
}

/* Panier */
.service-cart {
  background: var(--white);
  border: 1.5px solid var(--primary);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(37,99,235,.08);
}
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem;
  background: color-mix(in srgb, var(--primary) 6%, white);
  border-bottom: 1px solid var(--gray-100);
}
.cart-title { margin: 0; font-size: .92rem; font-weight: 700; color: var(--primary); }
.cart-count { font-size: .78rem; color: var(--gray-500); background: var(--gray-100); padding: 2px 9px; border-radius: 20px; }

/* Item panier */
.cart-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item:last-child { border-bottom: none; }
.ci-icon {
  width: 36px; height: 36px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.ci-info { flex: 1; min-width: 0; }
.ci-label { font-size: .88rem; font-weight: 600; color: var(--gray-900); }
.ci-cat   { font-size: .76rem; color: var(--gray-500); margin-top: 1px; }
.ci-price { font-size: .88rem; font-weight: 700; color: var(--gray-800); white-space: nowrap; }
.ci-remove {
  background: none; border: none; cursor: pointer;
  color: var(--gray-300); font-size: .82rem;
  padding: 5px; border-radius: 6px; transition: var(--transition);
}
.ci-remove:hover { color: #dc2626; background: #fef2f2; }

/* Total panier */
.cart-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 1rem;
  background: var(--primary);
}
.cart-total-label  { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); }
.cart-total-amount { font-size: 1.05rem; font-weight: 700; color: #fff; }
.cart-note {
  font-size: .75rem; color: var(--gray-400);
  padding: .4rem 1rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

/* ═══════════════════════════════════════════════════════
   Photo Drop Zones – panneau détails appareil
   ═══════════════════════════════════════════════════════ */
.photo-drop-zone {
  position: relative;
  border: 2px dashed var(--gray-300);
  border-radius: 12px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fff;
  overflow: hidden;
}
.photo-drop-zone:hover,
.photo-drop-zone.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
}
.pdz-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--gray-500);
  padding: 16px;
  text-align: center;
  pointer-events: none;
}
.pdz-placeholder i {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 2px;
}
.pdz-placeholder span { font-size: .82rem; font-weight: 500; }
.pdz-placeholder small { font-size: .73rem; color: var(--gray-400); }

.pdz-preview {
  position: relative;
  width: 100%;
  height: 110px;
}
.pdz-preview img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.pdz-remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: none;
  color: #fff;
  font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 2;
}
.pdz-remove:hover { background: #ef4444; }
.pdz-uploading {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
