/* ============================================================
   LA SOLUTION — STYLE PRINCIPAL
   Couleurs: #8138e3 (violet), #fecb05 (jaune), blanc, noir
   ============================================================ */

:root {
  --violet: #8138e3;
  --violet-dark: #6a2bc4;
  --violet-light: #a06ef0;
  --jaune: #fecb05;
  --jaune-dark: #e5b600;
  --noir: #0a0a0a;
  --noir-light: #1a1a2e;
  --blanc: #ffffff;
  --gris: #f5f5f7;
  --gris-dark: #888;
  --transition: cubic-bezier(0.23, 1, 0.32, 1);

  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-nav-scrolled: rgba(10, 10, 10, 0.9);
  --bg-mobile-menu: rgba(10, 10, 10, 0.98);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(129, 56, 227, 0.4);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-faint: rgba(255, 255, 255, 0.4);
  --shadow-card: rgba(129, 56, 227, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.15);
  --border-faint: rgba(255, 255, 255, 0.05);
  --border-divider: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
  --bg-primary: #f8f7fc;
  --bg-secondary: #eeeaf5;
  --bg-card: rgba(129, 56, 227, 0.04);
  --bg-card-hover: rgba(129, 56, 227, 0.08);
  --bg-nav-scrolled: rgba(248, 247, 252, 0.92);
  --bg-mobile-menu: rgba(248, 247, 252, 0.98);
  --border-card: rgba(129, 56, 227, 0.12);
  --border-card-hover: rgba(129, 56, 227, 0.35);
  --text-primary: #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.7);
  --text-muted: rgba(26, 26, 46, 0.5);
  --text-faint: rgba(26, 26, 46, 0.35);
  --shadow-card: rgba(129, 56, 227, 0.12);
  --border-subtle: rgba(129, 56, 227, 0.15);
  --border-faint: rgba(26, 26, 46, 0.06);
  --border-divider: rgba(26, 26, 46, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
  transition:
    background 0.6s ease,
    color 0.6s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

::selection {
  background: var(--violet);
  color: var(--blanc);
}

::-webkit-scrollbar {
  display: none;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--jaune));
  z-index: 10001;
  transition: width 0.1s linear;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

button,
input,
textarea,
select {
  cursor: none;
}

/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  overflow: hidden;
}

.page-transition .pt-slice {
  flex: 1;
  background: var(--violet-dark);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

[data-theme="light"] .page-transition .pt-slice {
  background: var(--jaune);
}

.page-transition .pt-slice:nth-child(2) {
  transition-delay: 0.06s;
}
.page-transition .pt-slice:nth-child(3) {
  transition-delay: 0.12s;
}
.page-transition .pt-slice:nth-child(4) {
  transition-delay: 0.18s;
}
.page-transition .pt-slice:nth-child(5) {
  transition-delay: 0.24s;
}

.page-transition.leaving .pt-slice {
  transform: scaleY(1);
  pointer-events: all;
}

.page-transition.entering .pt-slice {
  transform: scaleY(1);
  transform-origin: top;
}

.page-transition.entering.done .pt-slice {
  transform: scaleY(0);
}

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-tunnel {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tunnel-ring {
  position: absolute;
  border: 2px solid var(--violet);
  border-radius: 50%;
  animation: tunnelPulse 2.5s ease-in-out infinite;
}

.tunnel-ring:nth-child(1) {
  width: 30px;
  height: 30px;
  animation-delay: 0s;
}
.tunnel-ring:nth-child(2) {
  width: 55px;
  height: 55px;
  animation-delay: 0.15s;
}
.tunnel-ring:nth-child(3) {
  width: 80px;
  height: 80px;
  animation-delay: 0.3s;
}
.tunnel-ring:nth-child(4) {
  width: 105px;
  height: 105px;
  animation-delay: 0.45s;
}
.tunnel-ring:nth-child(5) {
  width: 130px;
  height: 130px;
  animation-delay: 0.6s;
}
.tunnel-ring:nth-child(6) {
  width: 155px;
  height: 155px;
  animation-delay: 0.75s;
}
.tunnel-ring:nth-child(7) {
  width: 180px;
  height: 180px;
  animation-delay: 0.9s;
}
.tunnel-ring:nth-child(8) {
  width: 200px;
  height: 200px;
  animation-delay: 1.05s;
}

@keyframes tunnelPulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.2;
    border-color: var(--violet);
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
    border-color: var(--jaune);
  }
}

.loader-logo {
  margin-top: 40px;
  height: 90px;
  width: auto;
  animation: loaderLogoPulse 1.5s ease-in-out infinite alternate;
}

@keyframes loaderLogoPulse {
  from {
    filter: brightness(0.8) drop-shadow(0 0 10px rgba(129, 56, 227, 0.3));
  }
  to {
    filter: brightness(1.2) drop-shadow(0 0 25px rgba(254, 203, 5, 0.4));
  }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--jaune);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  backface-visibility: hidden;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--violet);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  backface-visibility: hidden;
  transition:
    width 0.2s ease,
    height 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--jaune);
  background: rgba(254, 203, 5, 0.1);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  transition: all 0.5s var(--transition);
}

#navbar.scrolled {
  padding: 12px 60px;
  background: var(--bg-nav-scrolled);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(129, 56, 227, 0.2);
  transition:
    all 0.5s var(--transition),
    background 0.6s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(9px);
}

.logo-la {
  color: var(--jaune);
}

.logo-solution {
  color: var(--text-primary);
  transition: color 0.6s ease;
}

.logo-light {
  display: none;
}
.logo-dark {
  display: block;
}
[data-theme="light"] .logo-light {
  display: block;
}
[data-theme="light"] .logo-dark {
  display: none;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--jaune);
  transition: width 0.4s var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--jaune);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-cta {
  padding: 10px 28px;
  background: var(--violet);
  color: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--violet);
}

.nav-cta:hover {
  background: transparent;
  color: var(--violet);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(129, 56, 227, 0.3);
}

/* ─── THEME TOGGLE ────────────────────────────── */
.theme-toggle {
  position: relative;
  background: none;
  border: none;
  padding: 0;
  width: 58px;
  height: 30px;
  flex-shrink: 0;
}

.toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(135deg, #1a1a2e, #2d1b69);
  transition: background 0.6s ease;
  overflow: hidden;
}

[data-theme="light"] .toggle-track {
  background: linear-gradient(135deg, #87ceeb, #e0f0ff);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    background 0.6s ease,
    box-shadow 0.6s ease;
  z-index: 2;
  box-shadow: 0 0 8px rgba(254, 203, 5, 0.4);
}

[data-theme="light"] .toggle-thumb {
  transform: translateX(28px);
  background: #fecb05;
  box-shadow: 0 0 12px rgba(254, 203, 5, 0.6);
}

.toggle-icon-dark,
.toggle-icon-light {
  position: absolute;
  font-size: 0.7rem;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.toggle-icon-dark {
  color: var(--jaune);
  opacity: 1;
  transform: rotate(0deg);
}

.toggle-icon-light {
  color: #fff;
  opacity: 0;
  transform: rotate(-90deg);
}

[data-theme="light"] .toggle-icon-dark {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="light"] .toggle-icon-light {
  opacity: 1;
  transform: rotate(0deg);
}

.toggle-stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.toggle-stars span:nth-child(1) {
  top: 7px;
  right: 10px;
}
.toggle-stars span:nth-child(2) {
  top: 14px;
  right: 18px;
  width: 2px;
  height: 2px;
}
.toggle-stars span:nth-child(3) {
  top: 20px;
  right: 8px;
  width: 2px;
  height: 2px;
}

[data-theme="light"] .toggle-stars span {
  opacity: 0;
  transform: scale(0);
}

.toggle-cloud span {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transform: translateX(-10px);
}

.toggle-cloud span:nth-child(1) {
  width: 14px;
  height: 10px;
  border-radius: 10px;
  bottom: 5px;
  left: 8px;
}

.toggle-cloud span:nth-child(2) {
  width: 10px;
  height: 8px;
  border-radius: 8px;
  bottom: 8px;
  left: 16px;
}

[data-theme="light"] .toggle-cloud span {
  opacity: 0.8;
  transform: translateX(0);
}

.theme-toggle-mobile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  background: rgba(129, 56, 227, 0.15);
  border: 1px solid rgba(129, 56, 227, 0.3);
  border-radius: 50px;
  color: var(--text-primary);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 20px;
  transition: all 0.4s ease;
}

.theme-toggle-mobile:hover {
  background: rgba(129, 56, 227, 0.3);
}

.theme-toggle-mobile .toggle-icon-dark {
  position: static;
  color: var(--jaune);
  opacity: 1;
  transform: none;
  font-size: 1rem;
  transition: opacity 0.4s ease;
}

.theme-toggle-mobile .toggle-icon-light {
  position: static;
  color: var(--jaune);
  opacity: 0;
  width: 0;
  overflow: hidden;
  transform: none;
  font-size: 1rem;
  transition:
    opacity 0.4s ease,
    width 0.4s ease;
}

[data-theme="light"] .theme-toggle-mobile .toggle-icon-dark {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

[data-theme="light"] .theme-toggle-mobile .toggle-icon-light {
  opacity: 1;
  width: auto;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: none;
  z-index: 1001;
}

.burger span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-mobile-menu);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateX(100%);
  transition: transform 0.5s var(--transition);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-link {
  font-size: 2rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.mobile-menu.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-menu.active .mobile-link:nth-child(2) {
  transition-delay: 0.2s;
}
.mobile-menu.active .mobile-link:nth-child(3) {
  transition-delay: 0.3s;
}
.mobile-menu.active .mobile-link:nth-child(4) {
  transition-delay: 0.4s;
}
.mobile-menu.active .mobile-link:nth-child(5) {
  transition-delay: 0.5s;
}
.mobile-menu.active .mobile-link:nth-child(6) {
  transition-delay: 0.6s;
}

.mobile-link:hover {
  color: var(--jaune);
}

/* ============================================================
   HERO SECTION — SPECTACULAR
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 60px 80px;
  background: var(--bg-primary);
}

/* Animated mesh gradient */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  filter: blur(100px);
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.mesh-blob.blob-1 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  top: -20%;
  right: -15%;
  opacity: 0.45;
  animation: meshFloat1 14s ease-in-out infinite;
}

.mesh-blob.blob-2 {
  width: 45vw;
  height: 45vw;
  max-width: 550px;
  max-height: 550px;
  background: radial-gradient(circle, var(--jaune) 0%, transparent 70%);
  bottom: -15%;
  left: -10%;
  opacity: 0.3;
  animation: meshFloat2 12s ease-in-out infinite;
}

.mesh-blob.blob-3 {
  width: 35vw;
  height: 35vw;
  max-width: 400px;
  max-height: 400px;
  background: radial-gradient(circle, var(--violet-light) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  opacity: 0.25;
  animation: meshFloat3 16s ease-in-out infinite;
}

.mesh-blob.blob-4 {
  width: 25vw;
  height: 25vw;
  max-width: 300px;
  max-height: 300px;
  background: radial-gradient(circle, var(--jaune) 0%, transparent 70%);
  top: 15%;
  left: 10%;
  opacity: 0.15;
  animation: meshFloat4 18s ease-in-out infinite;
}

@keyframes meshFloat1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(-60px, 40px) scale(1.15) rotate(5deg);
  }
  50% {
    transform: translate(40px, -50px) scale(0.9) rotate(-3deg);
  }
  75% {
    transform: translate(-30px, -20px) scale(1.1) rotate(2deg);
  }
}

@keyframes meshFloat2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(50px, -40px) scale(1.1) rotate(-4deg);
  }
  50% {
    transform: translate(-40px, 30px) scale(0.95) rotate(6deg);
  }
  75% {
    transform: translate(20px, 50px) scale(1.05) rotate(-2deg);
  }
}

@keyframes meshFloat3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(60px, -60px) scale(1.2);
  }
  66% {
    transform: translate(-50px, 40px) scale(0.85);
  }
}

@keyframes meshFloat4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 60px) scale(1.3);
  }
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(129, 56, 227, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 56, 227, 0.18) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    black 20%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    black 20%,
    transparent 80%
  );
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}

.particle-glow {
  box-shadow: 0 0 6px 2px currentColor;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1);
  }
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  opacity: 0.15;
}

.shape-ring {
  width: 120px;
  height: 120px;
  border: 2px solid var(--violet-light);
  border-radius: 50%;
  top: 18%;
  right: 12%;
  animation:
    shapeFloat 20s ease-in-out infinite,
    shapeSpin 30s linear infinite;
}

.shape-cross {
  width: 30px;
  height: 30px;
  bottom: 25%;
  left: 8%;
  animation: shapeFloat 16s ease-in-out infinite reverse;
}

.shape-cross::before,
.shape-cross::after {
  content: "";
  position: absolute;
  background: var(--jaune);
  border-radius: 2px;
}

.shape-cross::before {
  width: 100%;
  height: 3px;
  top: 50%;
  transform: translateY(-50%);
}

.shape-cross::after {
  width: 3px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.shape-dot-cluster {
  top: 70%;
  right: 8%;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 8px;
  animation: shapeFloat 22s ease-in-out infinite;
}

.shape-dot-cluster span {
  width: 4px;
  height: 4px;
  background: var(--violet-light);
  border-radius: 50%;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 34px solid var(--jaune);
  top: 75%;
  left: 18%;
  opacity: 0.1;
  animation:
    shapeFloat 18s ease-in-out infinite,
    shapeSpin 25s linear infinite reverse;
}

.shape-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--violet-light),
    transparent
  );
  top: 30%;
  left: 5%;
  animation: shapeFloat 14s ease-in-out infinite;
  transform: rotate(-30deg);
}

@keyframes shapeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}

@keyframes shapeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Light beams */
.hero-light-beam {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-light-beam.beam-1 {
  width: 300px;
  height: 120vh;
  top: -30%;
  left: 20%;
  background: linear-gradient(
    180deg,
    rgba(129, 56, 227, 0.06),
    transparent 60%
  );
  transform: rotate(-15deg);
  animation: beamPulse 6s ease-in-out infinite;
}

.hero-light-beam.beam-2 {
  width: 200px;
  height: 120vh;
  top: -30%;
  right: 25%;
  background: linear-gradient(180deg, rgba(254, 203, 5, 0.04), transparent 50%);
  transform: rotate(10deg);
  animation: beamPulse 8s ease-in-out infinite 2s;
}

@keyframes beamPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Hero content with parallax mouse tracking */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 950px;
  transition: transform 0.3s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  border: 1px solid rgba(129, 56, 227, 0.35);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--violet-light);
  margin-bottom: 35px;
  backdrop-filter: blur(20px);
  background: rgba(129, 56, 227, 0.06);
  animation: badgeShimmer 4s ease-in-out infinite;
}

@keyframes badgeShimmer {
  0%,
  100% {
    border-color: rgba(129, 56, 227, 0.35);
    box-shadow: 0 0 0 0 rgba(129, 56, 227, 0);
  }
  50% {
    border-color: rgba(129, 56, 227, 0.6);
    box-shadow: 0 0 20px rgba(129, 56, 227, 0.1);
  }
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--jaune);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--jaune);
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px var(--jaune);
  }
  50% {
    transform: scale(1.5);
    opacity: 0.6;
    box-shadow: 0 0 16px var(--jaune);
  }
}

.hero-title {
  font-family: "Poppins", sans-serif;
  margin-bottom: 30px;
}

.title-line {
  display: block;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.title-highlight {
  position: relative;
  display: inline-block;
}

.title-glow {
  background: linear-gradient(
    135deg,
    var(--violet),
    var(--jaune),
    var(--violet)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
  position: relative;
  filter: drop-shadow(0 0 30px rgba(129, 56, 227, 0.3));
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.title-highlight::after {
  display: none;
}

.text-scatter {
  cursor: none;
}

.text-scatter .scatter-letter {
  display: inline-block;
  will-change: transform;
}
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 65px;
  transition: color 0.6s ease;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 65px;
}

.btn-glow {
  box-shadow:
    0 0 20px rgba(129, 56, 227, 0.3),
    0 8px 30px rgba(129, 56, 227, 0.2);
  animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
  0%,
  100% {
    box-shadow:
      0 0 20px rgba(129, 56, 227, 0.3),
      0 8px 30px rgba(129, 56, 227, 0.2);
  }
  50% {
    box-shadow:
      0 0 40px rgba(129, 56, 227, 0.5),
      0 12px 50px rgba(129, 56, 227, 0.35);
  }
}

/* Bottom fade */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  z-index: 3;
  pointer-events: none;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  font-family: "Poppins", sans-serif;
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  border: 2px solid var(--violet);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(129, 56, 227, 0.4);
  background: var(--violet-dark);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-subtle);
  transition:
    all 0.4s var(--transition),
    border-color 0.6s ease;
}

.btn-outline:hover {
  border-color: var(--jaune);
  color: var(--jaune);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(254, 203, 5, 0.15);
}

/* STATS */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  color: var(--jaune);
}

.stat-plus,
.stat-percent {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jaune);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border-subtle);
  transition: background 0.6s ease;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-faint);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--jaune);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ============================================================
   SECTION SEAMLESS TRANSITIONS
   ============================================================ */

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.section {
  position: relative;
  padding: 100px 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--jaune);
  margin-bottom: 15px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.highlight {
  background: linear-gradient(135deg, var(--violet), var(--jaune));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SERVICES SECTION — HORIZONTAL SCROLL
   ============================================================ */
.services-section {
  background: var(--bg-primary);
  padding-top: 60px;
  padding-bottom: 120px;
  transition: background 0.6s ease;
  position: relative;
}

.services-horizontal-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
}

.services-horizontal-track {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: nowrap;
}

.service-card {
  position: relative;
  width: calc(25% - 19px);
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 50px 40px;
  overflow: hidden;
  transition:
    all 0.5s var(--transition),
    background 0.6s ease,
    border-color 0.6s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 30px 80px var(--shadow-card);
}

.card-bg-shape {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.05;
  transition: all 0.5s ease;
}

.service-card:hover .card-bg-shape {
  opacity: 0.12;
  transform: scale(1.5);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 30px;
  transition: all 0.4s ease;
}

.service-card:nth-child(even) .card-icon {
  background: linear-gradient(135deg, var(--jaune), var(--jaune-dark));
  color: var(--noir);
}

.service-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 30px rgba(129, 56, 227, 0.3);
}

.card-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 25px;
  transition: color 0.6s ease;
}

.card-features {
  list-style: none;
  margin-bottom: 30px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-faint);
  transition:
    color 0.6s ease,
    border-color 0.6s ease;
}

.card-features li i {
  color: var(--jaune);
  font-size: 0.75rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--violet-light);
  transition: all 0.3s ease;
}

.card-link:hover {
  color: var(--jaune);
  gap: 14px;
}

/* ============================================================
   À PROPOS SECTION
   ============================================================ */
.apropos-section {
  background: var(--bg-secondary);
  padding: 140px 60px 120px;
  transition: background 0.6s ease;
  position: relative;
}

.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto 100px;
  align-items: start;
}

.apropos-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 20px;
  transition: color 0.6s ease;
}

.apropos-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.apropos-citation {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin: 35px 0 40px;
  padding: 25px 0;
}

.citation-bar {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, var(--violet), var(--jaune));
  border-radius: 4px;
}

.apropos-citation blockquote {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-primary);
  transition: color 0.6s ease;
}

/* Parcours badges */
.parcours-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.parcours-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.4s ease;
}

.parcours-badge i {
  color: var(--jaune);
  font-size: 0.85rem;
}

.parcours-badge:hover {
  border-color: var(--violet);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Colonne droite */
.apropos-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
}

.apropos-why {
  margin-bottom: 40px;
}

.apropos-expertises {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.expertise-block {
  display: flex;
  gap: 22px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.expertise-block:hover {
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  transform: translateX(5px);
  box-shadow: 0 15px 40px var(--shadow-card);
}

.expertise-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transition: all 0.4s ease;
}

.expertise-icon-alt {
  background: linear-gradient(135deg, var(--jaune), var(--jaune-dark));
  color: var(--noir);
}

.expertise-block:hover .expertise-icon {
  transform: scale(1.1) rotate(-5deg);
}

.expertise-content h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.expertise-content p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
  transition: color 0.6s ease;
}

.expertise-content ul {
  list-style: none;
  margin-top: 14px;
}

.expertise-content ul li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: color 0.6s ease;
}

.expertise-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--jaune);
  border-radius: 50%;
}

.expertise-content ul li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Valeurs */
.apropos-valeurs {
  max-width: 1100px;
  margin: 0 auto 80px;
  text-align: center;
}

.apropos-valeurs-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 50px;
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.valeur-card {
  padding: 45px 35px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
}

.valeur-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-card-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 50px var(--shadow-card);
}

.valeur-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--jaune));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 22px;
  transition: all 0.4s ease;
}

.valeur-card:hover .valeur-icon {
  transform: scale(1.15) rotate(-8deg);
}

.valeur-card h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.valeur-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  transition: color 0.6s ease;
}

/* Signature */
.apropos-signature {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.signature-quote {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
  transition: color 0.6s ease;
}

.signature-quote strong {
  background: linear-gradient(135deg, var(--violet), var(--jaune));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.signature-location {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.6s ease;
}

.signature-location i {
  color: var(--jaune);
  margin-right: 6px;
}

/* Seamless section connectors */
.services-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--bg-secondary));
  pointer-events: none;
  z-index: 2;
}

.apropos-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
  z-index: 2;
}

.temoignages-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--bg-primary), transparent);
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   MÉTHODE SECTION
   ============================================================ */
.methode-section {
  background: var(--bg-primary);
  padding: 120px 60px;
  transition: background 0.6s ease;
  position: relative;
}

.methode-timeline {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border-card);
  transform: translateX(-50%);
  border-radius: 3px;
  z-index: 1;
}

.timeline-progress {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--violet), var(--jaune));
  transition: height 0.15s ease-out;
  border-radius: 3px;
}

.methode-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 60px;
  min-height: 140px;
}

.methode-step .step-number {
  grid-column: 1;
  text-align: right;
  padding-right: 30px;
}

.methode-step .step-dot {
  grid-column: 2;
  justify-self: center;
  align-self: start;
  margin-top: 8px;
}

.methode-step .step-content {
  grid-column: 3;
  padding-left: 30px;
}

.methode-step:nth-child(odd) .step-number {
  grid-column: 3;
  text-align: left;
  padding-left: 30px;
  padding-right: 0;
  order: 2;
}

.methode-step:nth-child(odd) .step-dot {
  grid-column: 2;
  order: 1;
}

.methode-step:nth-child(odd) .step-content {
  grid-column: 1;
  text-align: right;
  padding-right: 30px;
  padding-left: 0;
  order: 0;
}

.methode-step:nth-child(odd) .step-icon {
  margin-left: auto;
}

.step-number {
  font-family: "Poppins", sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--violet), var(--jaune));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  transition:
    opacity 0.5s ease,
    filter 0.5s ease;
}

.methode-step.lit .step-number {
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(129, 56, 227, 0.4));
}

.step-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--border-card);
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 0 4px var(--bg-primary);
}

.methode-step.lit .step-dot {
  background: var(--jaune);
  border-color: var(--jaune);
  box-shadow:
    0 0 0 5px var(--bg-primary),
    0 0 20px rgba(254, 203, 5, 0.5);
  transform: scale(1.3);
}

.step-content {
  max-width: 380px;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  transition: all 0.5s ease;
}

.methode-step.lit .step-icon {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  box-shadow: 0 8px 25px rgba(129, 56, 227, 0.35);
  transform: scale(1.05);
}

.methode-step:hover .step-icon {
  transform: scale(1.1);
  background: var(--jaune);
  border-color: var(--jaune);
  color: var(--noir);
  box-shadow: 0 10px 30px rgba(254, 203, 5, 0.3);
}

.step-content h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
  transition: color 0.5s ease;
}

.methode-step.lit .step-content h3 {
  color: var(--jaune);
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  transition: color 0.6s ease;
}

/* ============================================================
   PARALLAX QUOTE
   ============================================================ */
.parallax-quote {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  transition: background 0.6s ease;
}

.parallax-img-left,
.parallax-img-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}

.parallax-img-left {
  left: 0;
  clip-path: inset(0 0 0 0);
}

.parallax-img-right {
  right: 0;
  clip-path: inset(0 0 0 0);
}

.parallax-img-left img,
.parallax-img-right img {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  object-fit: cover;
}

.parallax-img-left img {
  left: 0;
}

.parallax-img-right img {
  right: 0;
  left: auto;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

.quote-icon {
  font-size: 3rem;
  color: var(--jaune);
  margin-bottom: 30px;
  opacity: 0.5;
}

.parallax-content blockquote {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-primary);
  transition: color 0.6s ease;
}

[data-theme="light"] .parallax-content blockquote {
  color: #fff;
}

.parallax-content blockquote strong {
  color: var(--jaune);
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.temoignages-section {
  background: var(--bg-primary);
  padding: 120px 60px;
  overflow: hidden;
  transition: background 0.6s ease;
  position: relative;
}

.testimonials-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s var(--transition);
}

.testimonial-card {
  flex-shrink: 0;
  width: calc(33.333% - 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 40px;
  transition:
    all 0.4s ease,
    background 0.6s ease,
    border-color 0.6s ease;
}

.testimonial-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars i {
  color: var(--jaune);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-style: italic;
  transition: color 0.6s ease;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--jaune));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--violet-light);
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.test-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.test-nav-btn:hover {
  border-color: var(--violet);
  background: var(--violet);
  transform: scale(1.1);
}

.test-dots {
  display: flex;
  gap: 8px;
}

.test-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-subtle);
  transition: all 0.3s ease;
  cursor: none;
}

.test-dot.active {
  background: var(--jaune);
  transform: scale(1.3);
}

/* ============================================================
   WAVE TRANSITION
   ============================================================ */
/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--violet);
  padding: 100px 60px 120px;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--violet));
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info .section-tag {
  color: var(--jaune);
}

.contact-info .section-title {
  color: #fff;
}

.contact-info .highlight {
  background: linear-gradient(135deg, var(--jaune), var(--blanc));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-description {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 20px 0 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--jaune);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: var(--jaune);
  color: var(--noir);
  transform: rotate(-5deg) scale(1.1);
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.contact-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-socials {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--jaune);
  border-color: var(--jaune);
  color: var(--noir);
  transform: translateY(-3px);
}

/* FORM */
.contact-form-wrapper {
  position: relative;
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 50px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-group {
  position: relative;
  margin-bottom: 35px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px 0 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.95rem;
  font-family: "Poppins", sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-group label {
  position: absolute;
  top: 18px;
  left: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: -2px;
  font-size: 0.75rem;
  color: var(--jaune);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--jaune);
  transition: width 0.4s var(--transition);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
  width: 100%;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 1rem;
  border: 2px solid var(--jaune);
  background: var(--jaune);
  color: var(--noir);
  font-weight: 700;
}

.btn-submit:hover {
  background: transparent;
  color: var(--jaune);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(254, 203, 5, 0.3);
}

.form-success {
  position: absolute;
  inset: 0;
  background: rgba(129, 56, 227, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.form-success.visible {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  font-size: 4rem;
  color: var(--jaune);
  margin-bottom: 20px;
  animation: successPop 0.5s ease;
}

@keyframes successPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.form-success h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.form-success p {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-primary);
  padding: 80px 60px 30px;
  border-top: 1px solid var(--border-faint);
  transition:
    background 0.6s ease,
    border-color 0.6s ease;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 0.6s ease;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 45px;
  width: auto;
}

.footer-links-group h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--jaune);
}

.footer-links-group a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: all 0.3s ease;
}

.footer-links-group a:hover {
  color: var(--text-primary);
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border-divider);
  padding-top: 30px;
  text-align: center;
  transition: border-color 0.6s ease;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-faint);
  transition: color 0.6s ease;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: all 0.8s var(--transition);
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(60px);
}

.reveal-left {
  transform: translateX(-80px);
}

.reveal-right {
  transform: translateX(80px);
}

.reveal-scale {
  transform: scale(0.8);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.scroll-reveal {
  will-change: transform, opacity;
}

/* ============================================================
   LIGHT MODE OVERRIDES
   ============================================================ */
[data-theme="light"] body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="light"] #loader {
  background: var(--bg-primary);
}

[data-theme="light"] .hero-badge {
  background: rgba(129, 56, 227, 0.06);
  border-color: rgba(129, 56, 227, 0.25);
}

[data-theme="light"] .mesh-blob {
  opacity: 0.15;
}

[data-theme="light"] .hero-grid-overlay {
  background-image:
    linear-gradient(rgba(129, 56, 227, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 56, 227, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .title-line:not(.title-highlight) {
  color: var(--text-primary);
}

[data-theme="light"] .title-glow {
  filter: drop-shadow(0 0 20px rgba(129, 56, 227, 0.2));
}

[data-theme="light"] .btn-glow {
  box-shadow:
    0 0 15px rgba(129, 56, 227, 0.2),
    0 8px 25px rgba(129, 56, 227, 0.15);
}

[data-theme="light"] #navbar.scrolled {
  border-bottom: 1px solid rgba(129, 56, 227, 0.12);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .cursor-dot {
  background: var(--violet);
}

[data-theme="light"] .cursor-ring {
  border-color: var(--violet-light);
}

[data-theme="light"] .hero-light-beam.beam-1 {
  background: linear-gradient(
    180deg,
    rgba(129, 56, 227, 0.04),
    transparent 60%
  );
}

[data-theme="light"] .hero-light-beam.beam-2 {
  background: linear-gradient(180deg, rgba(254, 203, 5, 0.03), transparent 50%);
}

[data-theme="light"] .hero-shape {
  opacity: 0.08;
}

[data-theme="light"] .parallax-quote {
  background: var(--bg-primary);
}

[data-theme="light"] .parallax-overlay {
  background: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .section {
    padding: 80px 40px;
  }
  .hero-section {
    padding: 100px 40px 60px;
  }
  #navbar {
    padding: 15px 30px;
  }
  #navbar.scrolled {
    padding: 12px 30px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .theme-toggle-wrapper {
    gap: 10px;
  }
  .theme-toggle-wrapper .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .testimonial-card {
    width: calc(50% - 15px);
  }

  .methode-timeline {
    padding: 0;
  }
  .timeline-line {
    display: none;
  }
  .methode-step,
  .methode-step:nth-child(odd) {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 12px;
  }
  .methode-step .step-number,
  .methode-step:nth-child(odd) .step-number {
    text-align: left;
    padding: 0;
    order: 0;
  }
  .methode-step .step-dot,
  .methode-step:nth-child(odd) .step-dot {
    display: none;
  }
  .methode-step .step-content,
  .methode-step:nth-child(odd) .step-content {
    text-align: left;
    padding: 0;
    order: 1;
    max-width: 100%;
  }
  .methode-step:nth-child(odd) .step-icon {
    margin-left: 0;
  }

  .services-horizontal-track {
    flex-wrap: wrap;
  }
  .service-card {
    width: calc(50% - 15px);
  }

  .apropos-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .valeurs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .apropos-section {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
  .hero-section {
    padding: 100px 20px 60px;
  }
  #navbar {
    padding: 15px 20px;
  }

  .hero-stats {
    gap: 20px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-divider {
    height: 30px;
  }
  .hero-shapes {
    display: none;
  }
  .hero-light-beam {
    display: none;
  }

  .service-card {
    width: 100%;
  }

  .testimonial-card {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form {
    padding: 35px 25px;
  }
  .contact-section {
    padding: 80px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer {
    padding: 50px 20px 20px;
  }

  .step-number {
    font-size: 3rem;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .apropos-section {
    padding: 60px 20px;
  }
  .apropos-grid {
    gap: 40px;
  }
  .valeurs-grid {
    grid-template-columns: 1fr;
  }
  .expertise-block {
    flex-direction: column;
    gap: 16px;
    padding: 25px;
  }
  .parcours-badge {
    font-size: 0.75rem;
    padding: 8px 14px;
  }
  .apropos-valeurs {
    margin-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .title-line {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .hero-grid-overlay {
    display: none;
  }
}
