/* =========================
   XEOLUX — CSS OPTIMISÉ v2.0
   Palette: Orange Néon Tech
   ========================= */

/* ===================================
   1. VARIABLES CSS CENTRALISÉES
   =================================== */
:root {
  /* Palette principale - Orange Néon Tech */
  --primary: #ff7a00;
  --primary-hover: #e56f00;
  --primary-strong: #c2410c;
  --secondary: #ffc700;
  --primary-rgb: 255, 122, 0;
  --secondary-rgb: 255, 199, 0;
  
  /* Backgrounds */
  --bg-base: #fafbfc;
  --bg-warm: #fef5f0;
  --bg-accent: #fff7ed;
  --surface: #ffffff;
  
  /* Texte */
  --text-primary: #1a202c;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  
  /* Borders & Shadows */
  --border-light: rgba(255, 122, 0, 0.12);
  --border-medium: rgba(255, 122, 0, 0.20);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(12, 25, 46, 0.12);
  --shadow-glow: 0 10px 34px rgba(255, 122, 0, 0.28);
  
  /* Espacements cohérents */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  
  /* Rayons de bordure cohérents */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Transitions standardisées */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  
  /* Typographie */
  --font-sans: "Inter", "Space Grotesk", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "Courier New", monospace;
}

/* Dark Mode */
:root[data-theme="dark"] {
  --bg-base: #0b1220;
  --bg-warm: #111a2d;
  --bg-accent: #0f1f35;
  --surface: #0f172a;
  --text-primary: #e5ecff;
  --text-secondary: #c1cee7;
  --text-tertiary: #94a3b8;
  --border-light: rgba(255, 122, 0, 0.15);
  --border-medium: rgba(255, 122, 0, 0.25);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 34px rgba(0, 0, 0, 0.4);
}

/* ===================================
   2. RESET & BASE
   =================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); margin-bottom: clamp(1.25rem, 3vw, 1.75rem); }
h2 { font-size: clamp(1.875rem, 4.5vw, 2.75rem); margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }
h3 { font-size: clamp(1.375rem, 3.25vw, 1.875rem); margin-bottom: clamp(0.875rem, 2vw, 1.25rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); margin-bottom: clamp(0.75rem, 1.5vw, 1rem); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.mb-4 { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.mb-5 { margin-bottom: clamp(3rem, 6vw, 4rem); }

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

p {
  margin: 0;
}

small {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-hover);
}

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

/* ===================================
   3. ACCESSIBILITÉ
   =================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

.skip-link:focus {
  position: fixed;
  left: var(--space-md);
  top: var(--space-md);
  width: auto;
  height: auto;
  padding: var(--space-sm) var(--space-md);
  background: var(--text-primary);
  color: var(--surface);
  font-weight: 600;
  border-radius: var(--radius-md);
  z-index: 10001;
  box-shadow: var(--shadow-lg);
}

/* Focus visible amélioré */
:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.5);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.5);
  outline-offset: 2px;
}

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

/* ===================================
   4. LOADER PREMIUM
   =================================== */
.xeo-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #1a0a00 0%, #2b1200 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.xeo-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.xeo-loader-spinner {
  width: 60px;
  height: 60px;
  position: relative;
}

.xeo-loader-spinner::before,
.xeo-loader-spinner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.xeo-loader-spinner::before {
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-right-color: var(--secondary);
  animation: spin 1s linear infinite;
}

.xeo-loader-spinner::after {
  width: 44px;
  height: 44px;
  border: 3px solid transparent;
  border-bottom-color: var(--secondary);
  border-left-color: var(--primary);
  top: 8px;
  left: 8px;
  animation: spin 0.7s linear infinite reverse;
}

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

.xeo-loader-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-top: var(--space-2xl);
  animation: glow 1.5s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    opacity: 0.7;
    text-shadow: 0 0 10px rgba(255, 199, 0, 0.3);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 122, 0, 0.6);
  }
}

/* ===================================
   5. LAYOUT & STRUCTURE
   =================================== */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 3rem);
}

.section {
  padding: clamp(4rem, 10vw, 8rem) clamp(2rem, 5vw, 3rem);
}

.section-light {
  background: var(--bg-warm);
  padding: clamp(4rem, 10vw, 8rem) clamp(2rem, 5vw, 3rem);
}

.section-warm {
  background: var(--bg-accent);
  padding: clamp(4rem, 10vw, 8rem) clamp(2rem, 5vw, 3rem);
}

.section-blue {
  background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-warm) 100%);
  padding: clamp(4rem, 10vw, 8rem) clamp(2rem, 5vw, 3rem);
}

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

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

/* Background subtil avec gradients */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 18% 24%, rgba(255, 199, 0, 0.08) 0%, transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(255, 122, 0, 0.06) 0%, transparent 32%),
    radial-gradient(circle at 70% 78%, rgba(255, 153, 0, 0.05) 0%, transparent 35%);
  z-index: -1;
  pointer-events: none;
}

/* ===================================
   6. NAVIGATION
   =================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg) 0;
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

:root[data-theme="dark"] nav {
  background: rgba(10, 16, 30, 0.95);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

/* Logo avec gradient orange */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform var(--transition-base);
}

.logo:hover {
  transform: scale(1.05);
}

/* Menu navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-2xl);
  align-items: center;
  margin: 0;
}

nav a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--transition-base);
}

nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: width var(--transition-base);
}

nav a:not(.btn):hover::after {
  width: 100%;
}

/* Menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: var(--space-xs);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: transform var(--transition-base);
}

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

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

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

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
    z-index: 101;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: var(--space-xl);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    opacity: 0;
  }

  :root[data-theme="dark"] nav ul {
    background: rgba(10, 14, 19, 0.98);
  }

  nav ul.active {
    max-height: 500px;
    opacity: 1;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  nav li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: var(--space-lg);
  }

  nav a:not(.btn)::after {
    display: none;
  }

  nav .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================
   7. HERO SECTION
   =================================== */
.hero {
  text-align: center;
  padding: clamp(5rem, 12vw, 10rem) clamp(1.5rem, 4vw, 2.5rem) clamp(4rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 199, 0, 0.14) 0%, transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 122, 0, 0.12) 0%, transparent 30%);
  z-index: -1;
}

.hero h1 {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 52rem;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================
   8. BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem var(--space-xl);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-base), 
              box-shadow var(--transition-base), 
              filter var(--transition-base);
  box-shadow: var(--shadow-glow);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 42px rgba(var(--primary-rgb), 0.4);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

/* ===================================
   9. CARDS - GLASS EFFECT
   =================================== */
.glass {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.92), 
    rgba(255, 255, 255, 0.88)
  );
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow), 
              box-shadow var(--transition-slow), 
              border-color var(--transition-slow);
}

.glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(12, 25, 46, 0.15);
  border-color: var(--border-medium);
}

:root[data-theme="dark"] .glass {
  background: rgba(15, 20, 25, 0.7);
  border-color: var(--border-light);
}

.glass i {
  font-size: 3.25rem;
  color: var(--primary);
  display: block;
  margin-top: 0;
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.glass h3 {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  font-size: clamp(1.35rem, 2.75vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
}

.glass p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: clamp(1rem, 1.75vw, 1.1rem);
  margin: 0;
  margin-top: 0.5rem;
}

/* ===================================
   10. GRIDS
   =================================== */
.grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.services-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: clamp(2rem, 4vw, 3rem);
}

.feature-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: clamp(2rem, 4vw, 3rem);
}

.blog-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ===================================
   11. BLOG CARDS
   =================================== */
.blog-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-slow), 
              box-shadow var(--transition-slow), 
              border-color var(--transition-slow);
  text-decoration: none;
  display: block;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

:root[data-theme="dark"] .blog-card {
  background: rgba(15, 20, 30, 0.8);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.blog-card-title {
  font-size: clamp(1.3rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: clamp(0.875rem, 2vw, 1.25rem);
  color: var(--text-primary);
  line-height: 1.3;
}

.blog-card-meta {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: clamp(0.975rem, 1.75vw, 1.05rem);
  line-height: 1.75;
}

/* ===================================
   12. STATS
   =================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.stat-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 500;
}

/* ===================================
   13. PROSE CONTENT
   =================================== */
.prose {
  max-width: 68ch;
  font-size: 1.075rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.prose h2 {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.prose h3 {
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
}

.prose p {
  margin: clamp(1rem, 2.5vw, 1.5rem) 0;
  line-height: 1.8;
}

.prose ul,
.prose ol {
  padding-left: var(--space-xl);
  margin: clamp(1.25rem, 3vw, 1.75rem) 0;
}

.prose li {
  margin: var(--space-md) 0;
  line-height: 1.7;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color var(--transition-base);
}

.prose a:hover {
  color: var(--primary-hover);
}

.prose strong {
  font-weight: 600;
  color: var(--text-primary);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255, 122, 0, 0.08);
  padding: 0.25em 0.5em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 122, 0, 0.15);
}

/* Classes utilitaires pour texte */
.text-muted {
  color: var(--text-secondary) !important;
}

.text-light {
  color: var(--text-tertiary) !important;
}

.link-plain {
  text-decoration: none !important;
  color: inherit !important;
}

.link-plain:hover {
  color: inherit !important;
}

/* ===================================
   14. PAGINATION
   =================================== */
.pagination {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: transform var(--transition-base), 
              box-shadow var(--transition-base),
              background var(--transition-base);
}

.pagination a {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.pagination a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  transform: translateY(-2px);
  border-color: transparent;
}

.pagination .current {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
}

/* ===================================
   15. FOOTER
   =================================== */
footer {
  background: linear-gradient(135deg, #2a0b00 0%, #120600 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

footer h3 {
  color: var(--secondary);
  font-size: clamp(1.075rem, 2vw, 1.2rem);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

footer ul {
  list-style: none;
}

footer li {
  margin: clamp(0.75rem, 1.5vw, 1rem) 0;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

footer a:hover {
  color: var(--secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 199, 0, 0.2);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
}

/* ===================================
   16. UTILITIES
   =================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }

/* ===================================
   17. ANIMATIONS
   =================================== */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================
   18. RESPONSIVE
   =================================== */
@media (max-width: 768px) {
  .container {
    padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2rem);
  }

  .section {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem);
  }

  .hero {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2rem) clamp(2.5rem, 5vw, 4rem);
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .btn {
    padding: 0.75rem var(--space-lg);
    font-size: 0.9rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container {
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.5rem);
  }

  .section {
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 1.5rem);
  }

  .hero {
    padding: clamp(2rem, 4vw, 3rem) 1rem clamp(1.75rem, 3vw, 2.5rem);
  }

  .logo {
    font-size: 1.25rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
}

/* ===================================
   19. CLASSES ADDITIONNELLES
   =================================== */

/* Icônes */
.icon-orange {
  color: var(--primary) !important;
}

.icon-2xl {
  font-size: 3rem !important;
}

.icon-block {
  display: block !important;
  margin-bottom: var(--space-lg) !important;
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
  margin: clamp(3rem, 6vw, 5rem) 0;
}

/* CTA Card */
.cta {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.92), 
    rgba(255, 251, 245, 0.88)
  );
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

:root[data-theme="dark"] .cta {
  background: linear-gradient(145deg, 
    rgba(15, 20, 30, 0.9), 
    rgba(10, 15, 25, 0.85)
  );
}

.cta h2 {
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
}

.cta p {
  font-size: clamp(1.05rem, 2.25vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  line-height: 1.6;
}

.flex-center-wrap {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  justify-content: center;
  flex-wrap: wrap;
}

.mr-1 {
  margin-right: 0.5rem;
}
