:root {
  /* Dark Mode - Couleurs de base */
  --bg-primary: #0a0e27;
  --bg-secondary: #0f1422;
  --bg-tertiary: #151b2e;
  --surface: rgba(21, 27, 46, 0.6);
  --surface-hover: rgba(21, 27, 46, 0.8);
  --border: rgba(99, 102, 241, 0.15);
  --border-hover: rgba(99, 102, 241, 0.3);
  
  /* Accents Néon - Palette Bleue */
  --neon-indigo: #6366f1;
  --neon-blue: #3b82f6;
  --neon-sky: #0ea5e9;
  --neon-cyan: #06b6d4;
  
  /* Dégradés */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #6366f1 0%, #0ea5e9 50%, #06b6d4 100%);
  --gradient-indigo-cyan: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-blue-cyan: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  
  /* Texte */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  
  /* Glow Effects */
  --glow-indigo: 0 0 20px rgba(99, 102, 241, 0.4), 0 0 40px rgba(99, 102, 241, 0.2);
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
  --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.2);
  --glow-primary: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 60px rgba(99, 102, 241, 0.3);
  
  /* Layout */
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --max-width: 100%;
  --container-padding: 2rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
  
  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

/* JavaScript Detection */
.js-enabled noscript {
  display: none;
}

.noscript-message {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #dc2626;
  color: white;
  padding: 1rem;
  text-align: center;
  z-index: 10000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Classe utilitaire pour les éléments nécessitant JavaScript */
.no-js-only {
  display: block;
}

.js-enabled .no-js-only {
  display: none;
}

.js-only {
  display: none;
}

.js-enabled .js-only {
  display: block;
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .container {
    padding: 0 4rem;
  }
}

@media (min-width: 1920px) {
  .container {
    padding: 0 6rem;
  }
}

/* Fusion .section et .section-alt */
.section,
.section-alt {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--bg-secondary);
}

/* HEADER - Glassmorphism Dynamique */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(0px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

.header.scrolled {
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 14, 39, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.1);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.15) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header.scrolled::before {
  opacity: 1;
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.header.scrolled::after {
  opacity: 0.3;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  transition: height 0.3s ease;
}

.header.scrolled .header-inner {
  height: calc(var(--nav-height) - 4px);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-image {
  height: 35px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.logo:hover .logo-image {
  filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.6));
}

.header.scrolled .logo-image {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

/* NAVIGATION */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
}

@media (min-width: 1301px) {
  .nav {
    position: static;
    gap: 0.5rem;
  }
}

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  border-radius: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header.scrolled .nav a {
  color: var(--text-secondary);
  text-shadow: none;
}

@media (min-width: 1301px) {
  .nav a {
    color: var(--text-secondary);
    text-align: center;
  }
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.nav a:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav a:hover::before {
  opacity: 1;
}

.nav a:hover::after {
  width: 60%;
}

.header-cta {
  display: flex;
  align-items: center;
}

.header-cta .btn {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: filter 0.4s ease;
}

.header.scrolled .header-cta .btn {
  filter: none;
}

/* NAV TOGGLE (MOBILE) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: all var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header.scrolled .nav-toggle span {
  box-shadow: none;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--glow-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary), 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--neon-indigo);
  color: var(--neon-indigo);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.btn-outline > * {
  position: relative;
  z-index: 1;
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
  box-shadow: var(--glow-indigo);
  color: var(--text-primary);
  border-color: var(--neon-indigo);
}

.btn-outline:hover::before {
  opacity: 0.1;
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-full {
  width: 100%;
}

/* ANIMATIONS DE FOND */
.background-animations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.animated-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.8), 0 0 20px rgba(6, 182, 212, 0.4);
  opacity: 0;
  animation: particleFloat 20s infinite ease-in-out;
}

/* Positions et animations des particules (fusionnées) */
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 15s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 22s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 19s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; animation-duration: 21s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; animation-duration: 18s; }
.particle:nth-child(10) { left: 15%; animation-delay: 3.5s; animation-duration: 20s; }

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

.animated-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.animated-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(99, 102, 241, 0.5) 20%, 
    rgba(6, 182, 212, 0.8) 50%, 
    rgba(99, 102, 241, 0.5) 80%, 
    transparent 100%);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.6), 0 0 20px rgba(6, 182, 212, 0.4);
  opacity: 0.3;
}

.line-1 {
  width: 200px;
  top: 20%;
  left: -200px;
  transform: rotate(25deg);
  animation: lineMove1 25s infinite linear;
}

.line-2 {
  width: 300px;
  top: 60%;
  left: -300px;
  transform: rotate(-15deg);
  animation: lineMove2 30s infinite linear;
}

.line-3 {
  width: 250px;
  top: 80%;
  left: -250px;
  transform: rotate(45deg);
  animation: lineMove3 35s infinite linear;
}

@keyframes lineMove1 {
  0% { left: -200px; opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { left: 120%; opacity: 0; }
}

@keyframes lineMove2 {
  0% { left: -300px; opacity: 0; }
  15% { opacity: 0.3; }
  85% { opacity: 0.3; }
  100% { left: 120%; opacity: 0; }
}

@keyframes lineMove3 {
  0% { left: -250px; opacity: 0; }
  20% { opacity: 0.3; }
  80% { opacity: 0.3; }
  100% { left: 120%; opacity: 0; }
}

.animated-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(40px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.6) 0%, transparent 70%);
  top: 10%;
  left: 10%;
  animation: shapePulse1 8s infinite ease-in-out;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, transparent 70%);
  top: 60%;
  right: 10%;
  animation: shapePulse2 10s infinite ease-in-out;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  bottom: 20%;
  left: 50%;
  animation: shapePulse3 12s infinite ease-in-out;
}

@keyframes shapePulse1 {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.1; }
  50% { transform: scale(1.2) translate(30px, -30px); opacity: 0.15; }
}

@keyframes shapePulse2 {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.1; }
  50% { transform: scale(1.3) translate(-40px, 40px); opacity: 0.15; }
}

@keyframes shapePulse3 {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.1; }
  50% { transform: scale(1.25) translate(20px, -20px); opacity: 0.12; }
}

/* HERO */
.hero {
  padding: 0 0 15rem;
  padding-top: calc(var(--nav-height));
  
  position: relative;
  overflow: hidden;
  margin-top: 0;
  z-index: 1;
}

.hero-background-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-background-illustration svg {
  width: 100%;
  height: 100%;
  min-width: 1200px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-highlight {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw + 1.5rem, 3.8rem);
  line-height: 1.2;
  margin: 0 0 1.5rem;
  padding-bottom: 0.1em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow: visible;
}

.hero-subtitle {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 36rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.hero-meta span:not(:last-child)::after {
  content: "•";
  margin-left: 0.5rem;
  color: var(--neon-indigo);
}

/* HERO CARD */
.hero-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.hero-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--glow-indigo);
}

.hero-card h2 {
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
  background: var(--gradient-indigo-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.hero-card li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.hero-card-illustration {
  width: 100%;
  height: 120px;
  margin-bottom: 1.5rem;
  display: grid;
  place-items: center;
  opacity: 0.8;
}

.hero-card-illustration svg {
  width: 100%;
  height: 100%;
  max-width: 180px;
}

/* ============================================
   STATISTIQUES - À vérifier : section commentée dans HTML
   Conservé au cas où la section serait réactivée
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--glow-indigo);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--neon-indigo);
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.stat-icon svg {
  width: 30px;
  height: 30px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================
   TÉMOIGNAGES - À vérifier : section commentée dans HTML
   Conservé au cas où la section serait réactivée
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--neon-indigo);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--glow-indigo);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--glow-indigo);
}

.testimonial-avatar svg {
  width: 28px;
  height: 28px;
}

.testimonial-author {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.testimonial-rating {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating .star {
  color: var(--neon-cyan);
  font-size: 1.2rem;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
  font-style: italic;
}

/* SECTION HEADER */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw + 1rem, 2.5rem);
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0 auto;
  color: var(--text-secondary);
  max-width: 36rem;
  font-size: 1.05rem;
}

.section-header.left p {
  margin-left: 0;
  margin-right: 0;
}

/* GRID */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CARDS */
.card {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--glow-indigo);
}

.card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  opacity: 0.9;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  transform: translateY(-5px) scale(1.1);
  opacity: 1;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

/* Styles communs pour h3 et p des cards (fusionnés) */
.service-card h3,
.project-card h3,
.pricing-card h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 700;
}

.service-card p,
.project-card p,
.pricing-card p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card ul,
.project-card ul,
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-card li,
.project-card li,
.pricing-card li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: flex-start;
}

.service-card li::before,
.project-card li::before,
.pricing-card li::before {
  content: "→";
  color: var(--neon-cyan);
  margin-top: 0.1rem;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

/* PRICING */
.pricing-card {
  position: relative;
  padding-top: 2.5rem;
}

.pricing-card .btn {
  margin-top: 1.5rem;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.price {
  font-size: 1rem;
  font-weight: 500;
  margin: 0.5rem 0 0.3rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  justify-content: center;
  line-height: 1;
  flex-wrap: wrap;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-right: 0.25rem;
}

.price-amount {
  font-size: 4rem !important;
  font-weight: 800 !important;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pricing-card ul li .price-inline {
  align-items: baseline;
}

.pricing-card ul li .price-inline .price-amount {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--neon-cyan);
  -webkit-text-fill-color: var(--neon-cyan);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
  line-height: 1;
}

.pricing-card ul li .price-inline .price-currency {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: var(--neon-cyan);
  -webkit-text-fill-color: var(--neon-cyan);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 0 6px rgba(6, 182, 212, 0.3);
  line-height: 1;
}

.pricing-card ul li .price-inline::after {
  content: "";
  margin-left: 0.15rem;
}

.price-currency {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 0.1rem;
}

.price-period {
  font-size: 0.75rem !important;
  font-weight: 500;
  color: var(--text-secondary);
  -webkit-text-fill-color: var(--text-secondary);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  opacity: 0.7;
  margin-left: 0.2rem;
}

.price.price-devis {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  background: var(--gradient-indigo-cyan) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.price-note {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.price-commission {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-left: 0.5rem;
}

.pricing-featured {
  border-color: var(--neon-indigo);
  box-shadow: var(--shadow-card), var(--glow-primary);
  transform: translateY(-8px) scale(1.02);
  background: rgba(99, 102, 241, 0.05);
}

.pricing-featured::before {
  transform: scaleX(1);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  box-shadow: var(--glow-indigo);
}

#services-list li:nth-child(n+5) {
  display: none; /* cacher à partir du 5ème */
}

/* Bouton "Voir plus" discret dans la card sur devis */
#show-more {
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  margin: -1.5rem 0 0.75rem;
  color: var(--text-tertiary);
  border: none;
  background: transparent;
  opacity: 0.7;
  transition: all var(--transition);
}

#show-more:hover {
  opacity: 1;
  color: var(--neon-cyan);
  background: transparent;
}


/* WORKFLOW */
.workflow-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
}

.workflow-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  padding-left: 1rem;
}

.workflow-step::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: var(--gradient-primary) !important;
  opacity: 0.8 !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 0.4s ease !important;
  z-index: 1 !important;
  bottom: auto !important;
  width: auto !important;
}

.workflow-step:last-child::before {
  display: block !important;
}

.workflow-number {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  box-shadow: var(--glow-primary);
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}

.workflow-step:hover .workflow-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--glow-primary), 0 0 40px rgba(99, 102, 241, 0.5);
}

.workflow-content {
  flex: 1;
  padding-top: 0.5rem;
}

.workflow-content h3 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.workflow-content > p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.workflow-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.workflow-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-left: 0.5rem;
}

.workflow-content li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--gradient-indigo-cyan);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
  margin-top: 0.1rem;
}

/* COMPÉTENCES */
.skills-container:not(.carousel-container) {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: stretch;
}

.skills-category {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.skills-category:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--glow-indigo);
}

.skills-category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--text-primary);
  background: var(--gradient-indigo-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-category-title svg {
  width: 24px;
  height: 24px;
  color: var(--neon-indigo);
  flex-shrink: 0;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

/* Tablettes : passer la grille compétences à 2 colonnes */
@media (max-width: 1200px) {
  .skills-container:not(.carousel-container),
  .carousel-container.skills-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition);
  white-space: nowrap;
}

.skill-badge:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--neon-indigo);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* BADGES DE CONFIANCE */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.trust-badge:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--glow-indigo);
}

.trust-icon {
  width: 50px;
  height: 50px;
  color: var(--neon-indigo);
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.trust-icon svg {
  width: 28px;
  height: 28px;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-text strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-text span {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-block {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-block h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  background: var(--gradient-indigo-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-block p {
  margin: 0.3rem 0;
  color: var(--text-secondary);
}

.contact-block a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all var(--transition);
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

.contact-block a:hover {
  color: var(--neon-indigo);
  text-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.small {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.contact-form-card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(20px);
}

.contact-form-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* FORMULAIRES */
form {
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(15, 20, 34, 0.6);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--neon-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), var(--glow-indigo);
  background: rgba(15, 20, 34, 0.8);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--neon-cyan);
  text-align: center;
}

.form-status.success {
  color: var(--neon-cyan);
}

.form-status.error {
  color: var(--neon-sky);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
  background: var(--bg-secondary);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0.25rem 0;
  color: var(--text-secondary);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   CARROUSEL - Système Desktop/Mobile
   ============================================ */
.carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Desktop : comportement normal en grille */
.carousel-container {
  display: grid;
}

.carousel-container.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.carousel-container.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.carousel-container.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.carousel-container.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.carousel-container.trust-badges-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Workflow carousel desktop */
.carousel-container.workflow-container {
  display: flex;
  flex-direction: row;
  gap: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
  position: relative;
}

.carousel-container.workflow-container::-webkit-scrollbar {
  display: none;
}

.carousel-container.workflow-container > .workflow-step {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin: 0;
  box-sizing: border-box;
  flex-direction: row;
  gap: 3rem;
  padding: 2rem 3rem;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
  align-items: center;
  justify-content: center;
  text-align: left;
  height: auto;
  min-height: 300px;
}

.carousel-container.workflow-container > .workflow-step::before {
  display: none;
}

.carousel-container.workflow-container > .workflow-step .workflow-number {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  font-size: 2rem;
  margin-left: 5rem;
}

.carousel-container.workflow-container > .workflow-step .workflow-content {
  padding-top: 0;
  text-align: left;
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-container.workflow-container > .workflow-step .workflow-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.carousel-container.workflow-container > .workflow-step .workflow-content > p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.carousel-container.workflow-container > .workflow-step .workflow-content ul {
  text-align: left;
  gap: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.carousel-container.workflow-container > .workflow-step .workflow-content li {
  font-size: 1rem;
}

/* Desktop : carousel-container.skills-container reste en grid */
.carousel-container.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible;
  justify-items: stretch;
}

/* Contrôles du carrousel */
.carousel-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--neon-cyan);
  cursor: pointer;
  transition: all var(--transition);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.carousel-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--neon-indigo);
  box-shadow: var(--shadow-card), var(--glow-indigo);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

#workflow .carousel-wrapper {
  position: relative;
}

#workflow .carousel-btn {
  display: flex;
}

.carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0;
  position: relative;
  z-index: 5;
  width: 100%;
  flex-shrink: 0;
  order: 999;
}

#workflow .carousel-dots {
  display: flex;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--neon-indigo);
  width: 32px;
  border-radius: 5px;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

/* ============================================
   RESPONSIVE - Tablettes et mobiles
   ============================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .hero-content {
    order: 0;
  }

  .hero-highlight {
    order: 1;
  }

  .skills-container:not(.carousel-container) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .skills-category {
    padding: 1.5rem;
  }

  .stats-grid,
  .testimonials-grid,
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Menu burger jusqu'à 1300px - uniquement pour le header */
@media (max-width: 1300px) {
  .header-inner {
    justify-content: space-between;
    position: relative;
    z-index: 1;
  }

  .header {
    overflow: visible !important;
  }

  .nav {
    position: fixed !important;
    inset: 0 !important;
    top: var(--nav-height) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: var(--bg-primary) !important;
    backdrop-filter: blur(30px) !important;
    border-bottom: 1px solid var(--border) !important;
    flex-direction: column !important;
    padding: 2rem 1.5rem !important;
    gap: 0.75rem !important;
    transform: translateX(-100%) !important;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
    z-index: 101 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8) !important;
    overflow-y: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: calc(100vh - var(--nav-height)) !important;
  }

  .nav.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
  }

  .nav a {
    padding: 1rem 1.25rem !important;
    font-size: 1.1rem !important;
    width: 100% !important;
    text-align: left !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease !important;
    color: var(--text-primary) !important;
    background: transparent !important;
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    margin: 0 !important;
  }

  .nav a:hover {
    background: rgba(99, 102, 241, 0.15) !important;
    color: var(--text-primary) !important;
    transform: none !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
  }

  .nav a::before,
  .nav a::after {
    display: none !important;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Carrousels activés pour tous les écrans < 1300px */
  /* Masquer boutons carousel workflow */
  #workflow .carousel-btn {
    display: none !important;
  }

  .carousel-wrapper {
    padding: 0 0.25rem !important;
    display: flex;
    flex-direction: column;
  }

  #skills .carousel-wrapper {
    padding: 0 0.25rem !important;
  }

  .carousel-container {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    padding: 0;
    flex: 1;
    min-height: 0;
  }

  .carousel-container::-webkit-scrollbar {
    display: none;
  }

  .carousel-container > * {
    flex: 0 0 calc(100% - 0.5rem) !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    min-width: calc(100% - 0.5rem) !important;
    max-width: calc(100% - 0.5rem) !important;
    width: calc(100% - 0.5rem) !important;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0.25rem !important;
  }

  .carousel-dots {
    display: flex !important;
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    order: 999;
  }

  /* Workflow carousel */
  .carousel-container.workflow-container {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    touch-action: pan-x !important;
    gap: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .carousel-container.workflow-container::-webkit-scrollbar {
    display: none !important;
  }

  .carousel-container.workflow-container > .workflow-step,
  .workflow-step {
    flex: 0 0 calc(100% - 0.5rem) !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    min-width: calc(100% - 0.5rem) !important;
    max-width: calc(100% - 0.5rem) !important;
    width: calc(100% - 0.5rem) !important;
    box-sizing: border-box !important;
    margin: 0 0.25rem !important;
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 1.25rem !important;
    background: var(--surface) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-card) !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    align-items: center !important;
  }

  .workflow-step::before,
  .workflow-step::after {
    display: none !important;
  }

  .workflow-step:hover {
    transform: translateY(-2px) !important;
    border-color: var(--border-hover) !important;
    box-shadow: var(--shadow-card), var(--glow-indigo) !important;
  }

  .workflow-number {
    width: 3rem !important;
    height: 3rem !important;
    font-size: 1rem !important;
    margin: 0 auto 0.75rem !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--glow-indigo) !important;
    flex-shrink: 0 !important;
  }

  .workflow-number::before {
    display: none !important;
  }

  .workflow-step:hover .workflow-number {
    transform: scale(1.05) !important;
    box-shadow: var(--glow-primary) !important;
  }

  .workflow-content {
    padding-top: 0 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
    flex: 1 !important;
    width: 100% !important;
  }

  .workflow-content h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
    background: var(--gradient-text) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
  }

  .workflow-content > p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    color: var(--text-secondary) !important;
  }

  .workflow-content ul {
    gap: 0.4rem !important;
    margin-top: 0.75rem !important;
    display: grid !important;
    list-style: none !important;
    padding: 0 !important;
  }

  .workflow-content li {
    font-size: 0.85rem !important;
    padding: 0.4rem 0 !important;
    padding-left: 0.25rem !important;
    justify-content: flex-start !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }

  .workflow-content li::before {
    width: 1rem !important;
    height: 1rem !important;
    font-size: 0.6rem !important;
    margin-right: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  .workflow-content li::after {
    display: none !important;
  }

  .workflow-content li:hover {
    transform: translateX(2px) !important;
  }

  /* Section Skills - activer le carousel pour écrans < 1300px */
  .carousel-container.skills-container {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    touch-action: pan-x !important;
    gap: 0 !important;
    padding: 0 !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .carousel-container.skills-container::-webkit-scrollbar {
    display: none !important;
  }

  .carousel-container.skills-container > .skills-category {
    flex: 0 0 calc(100% - 0.5rem) !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    min-width: calc(100% - 0.5rem) !important;
    max-width: calc(100% - 0.5rem) !important;
    width: calc(100% - 0.5rem) !important;
    box-sizing: border-box !important;
    padding: 1.5rem !important;
    margin: 0 0.25rem !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }
}

/* Mobile - règles pour carrousels, grilles et layout */
@media (max-width: 768px) {
  /* Masquer boutons carousel workflow sur mobile */
  #workflow .carousel-btn {
    display: none !important;
  }

  /* Carrousels activés sur mobile */
  .carousel-wrapper {
    padding: 0 0.25rem !important;
    display: flex;
    flex-direction: column;
  }

  #skills .carousel-wrapper {
    padding: 0 0.25rem !important;
  }

  .carousel-container {
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    padding: 0;
    flex: 1;
    min-height: 0;
  }

  .carousel-container::-webkit-scrollbar {
    display: none;
  }

  .carousel-container > * {
    flex: 0 0 calc(100% - 0.5rem) !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    min-width: calc(100% - 0.5rem) !important;
    max-width: calc(100% - 0.5rem) !important;
    width: calc(100% - 0.5rem) !important;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0.25rem !important;
  }

  .carousel-dots {
    display: flex !important;
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    order: 999;
  }

  /* Workflow mobile */
  .carousel-container.workflow-container {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    touch-action: pan-x !important;
    gap: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .carousel-container.workflow-container::-webkit-scrollbar {
    display: none !important;
  }

  .carousel-container.workflow-container > .workflow-step,
  .workflow-step {
    flex: 0 0 calc(100% - 0.5rem) !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    min-width: calc(100% - 0.5rem) !important;
    max-width: calc(100% - 0.5rem) !important;
    width: calc(100% - 0.5rem) !important;
    box-sizing: border-box !important;
    margin: 0 0.25rem !important;
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 1.25rem !important;
    background: var(--surface) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-card) !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    align-items: center !important;
  }

  .workflow-step::before,
  .workflow-step::after {
    display: none !important;
  }

  .workflow-step:hover {
    transform: translateY(-2px) !important;
    border-color: var(--border-hover) !important;
    box-shadow: var(--shadow-card), var(--glow-indigo) !important;
  }

  .workflow-number {
    width: 3rem !important;
    height: 3rem !important;
    font-size: 1rem !important;
    margin: 0 auto 0.75rem !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--glow-indigo) !important;
    flex-shrink: 0 !important;
  }

  .workflow-number::before {
    display: none !important;
  }

  .workflow-step:hover .workflow-number {
    transform: scale(1.05) !important;
    box-shadow: var(--glow-primary) !important;
  }

  .workflow-content {
    padding-top: 0 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
    flex: 1 !important;
    width: 100% !important;
  }

  .workflow-content h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
    background: var(--gradient-text) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
  }

  .workflow-content > p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    color: var(--text-secondary) !important;
  }

  .workflow-content ul {
    gap: 0.4rem !important;
    margin-top: 0.75rem !important;
    display: grid !important;
    list-style: none !important;
    padding: 0 !important;
  }

  .workflow-content li {
    font-size: 0.85rem !important;
    padding: 0.4rem 0 !important;
    padding-left: 0.25rem !important;
    justify-content: flex-start !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }

  .workflow-content li::before {
    width: 1rem !important;
    height: 1rem !important;
    font-size: 0.6rem !important;
    margin-right: 0.5rem !important;
    flex-shrink: 0 !important;
  }

  .workflow-content li::after {
    display: none !important;
  }

  .workflow-content li:hover {
    transform: translateX(2px) !important;
  }

  /* Grilles mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .section-alt {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 2rem;
  }
}

/* Tablettes intermédiaires : compétences en grille 2 colonnes */
@media (max-width: 768px) and (min-width: 481px) {
  #skills {
    overflow-x: hidden !important;
  }

  #skills .container {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  #skills .carousel-wrapper {
    padding: 0 !important;
  }

  #skills .carousel-container.skills-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #skills .carousel-container.skills-container > .skills-category {
    flex: initial !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    margin: 0 !important;
    padding: 1.5rem !important;
  }

  #skills .carousel-dots {
    display: none !important;
  }

  #skills .skills-grid {
    width: 100% !important;
  }

  #skills .skill-badge {
    max-width: 100% !important;
    white-space: normal !important;
  }
}

/* Mobile petit écran */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    padding: 1.75rem 1.5rem;
  }

  .carousel-wrapper {
    padding: 0 0.25rem !important;
  }

  /* Mobile : carousel horizontal pour skills */
  .carousel-container.skills-container {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    touch-action: pan-x !important;
    gap: 0 !important;
    padding: 0 !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .carousel-container.skills-container::-webkit-scrollbar {
    display: none !important;
  }

  .carousel-container.skills-container > .skills-category {
    flex: 0 0 calc(100% - 0.5rem) !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    min-width: calc(100% - 0.5rem) !important;
    max-width: calc(100% - 0.5rem) !important;
    width: calc(100% - 0.5rem) !important;
    box-sizing: border-box !important;
    padding: 1.5rem !important;
    margin: 0 0.25rem !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }

  .skills-container:not(.carousel-container) {
    gap: 1.5rem;
  }

  .skills-category {
    padding: 1.5rem !important;
    min-height: auto !important;
  }

  .skills-category-title {
    font-size: 1.1rem !important;
    margin-bottom: 1.25rem !important;
    gap: 0.6rem !important;
  }

  .skills-category-title svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
  }

  .skills-grid {
    gap: 0.6rem !important;
    justify-content: flex-start !important;
  }

  .skill-badge {
    font-size: 0.8rem !important;
    padding: 0.45rem 0.9rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
  }

  .card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }
}

/* BOUTON WHATSAPP FLOTTANT */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4), 0 0 30px rgba(6, 182, 212, 0.3);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
  border: 2px solid rgba(99, 102, 241, 0.3);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 1) 0%, rgba(6, 182, 212, 1) 100%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover::before {
  opacity: 1;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6), 0 0 40px rgba(6, 182, 212, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: white;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
  transform: rotate(10deg) scale(1.1);
}

.whatsapp-text {
  position: absolute;
  right: 70px;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-text {
    right: 65px;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-text {
    display: none;
  }
}
