/**
 * JC COACHING - ATHLETIC MODERN V4
 * Style: Noir/Blanc/Bleu Néon #00D4FF
 * Inspiré: Nike Training, Peloton, Whoop
 */

/* ============================================
   1. IMPORTS & VARIABLES
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Couleurs principales - Bleu Néon */
  --color-primary: #00B4D8;
  --color-primary-dark: #0096C7;
  --color-primary-light: #00D4FF;
  --color-primary-glow: rgba(0, 212, 255, 0.5);
  --color-primary-neon: #00D4FF;
  --color-primary-text: #0077B6; /* Plus foncé pour lisibilité texte */

  /* Noir & Blanc */
  --color-black: #0a0a0a;
  --color-dark: #1a1a1a;
  --color-gray-dark: #2d2d2d;
  --color-gray: #888888;
  --color-gray-light: #b0b0b0;
  --color-white: #ffffff;
  --color-off-white: #f5f5f5;

  /* Alias pour anciennes variables (compatibilité) */
  --color-cream: #f5f5f5;
  --color-cream-dark: #eeeeee;
  --color-copper: var(--color-primary);
  --border-color: #e0e0e0;
  --border-width: 1px;

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;
  --text-hero: clamp(2.5rem, 8vw, 5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1400px;
  --container-narrow: 900px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px var(--color-primary-glow);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1, .h1 { font-size: var(--text-5xl); }
h2, .h2 { font-size: var(--text-4xl); }
h3, .h3 { font-size: var(--text-3xl); }
h4, .h4 { font-size: var(--text-2xl); }
h5, .h5 { font-size: var(--text-xl); }
h6, .h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-animate {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

/* ============================================
   4. ANIMATIONS @KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--color-primary-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--color-primary-glow), 0 0 60px var(--color-primary-glow);
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes lineExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ============================================
   5. SCROLL REVEAL CLASSES
   ============================================ */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
  transform: translateY(60px);
}

.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-scale {
  transform: scale(0.85);
}

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-main);
  font-size: var(--text-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Primary Button - Orange filled */
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--color-primary-glow);
}

/* Secondary Button - Outline */
.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-3px);
}

/* Dark Button */
.btn-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Outline Dark */
.btn-outline-dark {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-outline-dark:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-lg);
}

/* Magnetic Button */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon in button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

/* ============================================
   7. HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition-base);
  overflow: visible;
}

/* Quand le menu mobile est ouvert, le header doit laisser passer */
.site-header:has(.main-nav.active) {
  overflow: visible;
  height: auto;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled .site-logo {
  color: var(--color-black);
}

/* Nav scrolled - Desktop uniquement */
@media (min-width: 769px) {
  .site-header.scrolled .nav-link {
    color: var(--color-black);
  }

  .site-header.scrolled .nav-link:hover,
  .site-header.scrolled .nav-link.active {
    color: var(--color-primary);
  }
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.site-logo {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-logo span {
  color: var(--color-primary);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  margin-top: var(--space-md);
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--color-black);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.nav-dropdown-link:hover {
  background: var(--color-off-white);
  color: var(--color-primary);
  padding-left: var(--space-xl);
}

/* Header CTA */
.header-cta .btn {
  padding: var(--space-sm) var(--space-lg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.site-header.scrolled .mobile-menu-toggle span {
  background: var(--color-black);
}

/* Croix toujours blanche quand menu ouvert (même après scroll) */
.site-header.scrolled .mobile-menu-toggle.active span,
.mobile-menu-toggle.active span {
  background: var(--color-white) !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   8. HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
}

/* Hero Background Pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 100px,
      rgba(255, 87, 34, 0.03) 100px,
      rgba(255, 87, 34, 0.03) 101px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 100px,
      rgba(255, 87, 34, 0.03) 100px,
      rgba(255, 87, 34, 0.03) 101px
    );
  pointer-events: none;
}

/* Hero Decorations */
.hero-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border: 2px solid rgba(255, 87, 34, 0.2);
  border-radius: 50%;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: 5%;
  right: 5%;
  animation: float 10s ease-in-out infinite;
}

.hero-shape-2 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 15%;
  animation: float 6s ease-in-out infinite;
}

/* Diagonal lines */
.hero-line {
  position: absolute;
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
}

.hero-line-1 {
  top: 20%;
  right: 20%;
  transform: rotate(45deg);
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-line-2 {
  bottom: 30%;
  left: 10%;
  transform: rotate(-30deg);
  animation: fadeInUp 1s ease 0.7s both;
}

/* Hero Content */
.hero-container {
  max-width: var(--container-narrow);
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 87, 34, 0.15);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease both;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-gray-light);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-gray);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: fadeInUp 1s ease 1s both;
}

.hero-scroll-icon {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-gray);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: float 1.5s ease-in-out infinite;
}

/* Cacher le scroll indicator sur mobile */
@media (max-width: 768px) {
  .hero-scroll {
    display: none;
  }
}

/* ============================================
   9. STATS SECTION
   ============================================ */
.stats-section {
  padding: var(--space-4xl) var(--space-xl);
  background: var(--color-white);
}

.stats-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-off-white);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-number sup {
  font-size: 0.5em;
  vertical-align: super;
}

.stat-label {
  font-size: var(--text-lg);
  color: var(--color-gray);
  font-weight: 500;
}

/* ============================================
   10. CARDS & GRID
   ============================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}

/* Service Card (Dark bg) */
.service-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  border-color: var(--color-primary);
  box-shadow: 0 20px 60px rgba(255, 87, 34, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.service-card h3 {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--color-gray-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: var(--space-md);
}

/* Blog Card */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--space-xl);
}

.blog-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-gray);
}

.blog-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.blog-card:hover h3 {
  color: var(--color-primary);
}

.blog-card p {
  color: var(--color-gray);
  line-height: 1.7;
}

/* ============================================
   11. SECTIONS
   ============================================ */
.section {
  padding: var(--space-5xl) var(--space-xl);
}

.section-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section-gray {
  background: var(--color-off-white);
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section-label {
  display: inline-block;
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-gray);
  line-height: 1.7;
}

.section-dark .section-description {
  color: var(--color-gray-light);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

/* ============================================
   12. SMART RABBIT SECTION
   ============================================ */
.smart-rabbit-section {
  padding: var(--space-5xl) var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.smart-rabbit-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 12s ease-in-out infinite;
}

.smart-rabbit-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.smart-rabbit-container {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.smart-rabbit-section h2 {
  font-size: var(--text-4xl);
  font-weight: 900;
  margin-bottom: var(--space-lg);
}

.smart-rabbit-section p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
  line-height: 1.7;
}

.smart-rabbit-section .btn-secondary {
  border-color: var(--color-white);
  color: var(--color-white);
}

.smart-rabbit-section .btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* ============================================
   13. CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--space-5xl) var(--space-xl);
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
}

.cta-container {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.cta-section h2 {
  font-size: var(--text-4xl);
  font-weight: 900;
  margin-bottom: var(--space-lg);
}

.cta-section p {
  font-size: var(--text-xl);
  color: var(--color-gray-light);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   14. FOOTER
   ============================================ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-4xl) var(--space-xl) var(--space-2xl);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer-brand h3 span {
  color: var(--color-primary);
}

.footer-brand p {
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-column h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* ============================================
   15. FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  color: var(--color-gray);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-base);
  border: 2px solid var(--color-off-white);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ============================================
   16. CUSTOM CURSOR
   ============================================ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}

.cursor-inner {
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.custom-cursor.cursor-hover .cursor-inner {
  width: 60px;
  height: 60px;
  margin: -10px 0 0 -10px;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
}

/* ============================================
   17. LOADING & SKELETON
   ============================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-off-white) 25%,
    #e8e8e8 50%,
    var(--color-off-white) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 1em;
  margin-bottom: var(--space-sm);
}

.skeleton-title {
  height: 2em;
  width: 60%;
  margin-bottom: var(--space-md);
}

.skeleton-image {
  height: 200px;
  margin-bottom: var(--space-md);
}

/* ============================================
   18. UTILITIES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.text-black { color: var(--color-black); }
.text-gray { color: var(--color-gray); }

.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mt-4 { margin-top: var(--space-3xl); }
.mt-5 { margin-top: var(--space-4xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mb-4 { margin-bottom: var(--space-3xl); }
.mb-5 { margin-bottom: var(--space-4xl); }

.py-1 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-2 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-3 { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.py-4 { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.py-5 { padding-top: var(--space-4xl); padding-bottom: var(--space-4xl); }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-1 { gap: var(--space-md); }
.gap-2 { gap: var(--space-xl); }
.gap-3 { gap: var(--space-2xl); }

/* ============================================
   19. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .stats-container {
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
    --text-hero: clamp(2rem, 10vw, 3rem);
  }

  .section {
    padding: var(--space-3xl) var(--space-lg);
  }

  /* Header Mobile */
  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--color-black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 9999;
    padding: var(--space-md);
    overflow: hidden;
  }

  .main-nav.active {
    display: flex !important;
  }

  .main-nav .nav-link {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-white) !important;
    padding: 6px var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    color: var(--color-primary) !important;
  }

  .main-nav .nav-link::after {
    display: none;
  }

  .main-nav .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-nav .nav-dropdown > .nav-link {
    margin-bottom: 0;
  }

  .main-nav .nav-dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    text-align: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    padding: 0;
    min-width: auto;
  }

  .main-nav .nav-dropdown-link {
    color: var(--color-gray-light) !important;
    font-size: var(--text-xs);
    padding: 4px var(--space-md);
    display: block;
  }

  .main-nav .nav-dropdown-link:hover {
    color: var(--color-primary) !important;
    background: transparent;
  }

  .header-cta {
    display: block;
    margin-top: var(--space-sm);
  }

  .header-cta .btn {
    display: inline-flex;
    font-size: var(--text-xs);
    padding: 8px var(--space-lg);
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 10000;
  }

  /* Bouton burger blanc quand menu ouvert */
  .mobile-menu-toggle.active span {
    background: var(--color-white) !important;
  }

  /* Hero Mobile */
  .hero {
    padding: calc(var(--header-height) + var(--space-2xl)) var(--space-lg) var(--space-2xl);
    min-height: auto;
    overflow: hidden;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-decorations {
    display: none;
  }

  /* Empêcher débordement sections */
  .section,
  .hero,
  .wheel-container {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Stats Mobile */
  .stats-container {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .stat-item {
    padding: var(--space-xl);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }

  /* Services Mobile */
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Service Card Mobile */
  .service-card {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
  }

  .service-card-image {
    height: 200px;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
  }

  .service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
  }

  .service-card p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
    line-height: 1.6;
  }

  .service-link {
    font-size: var(--text-xs);
  }

  /* Bento Grid Mobile - pages À propos et Services */
  .bento-item-large[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-xl) !important;
  }

  .bento-item-large[style*="grid-template-columns: 1fr 1fr"] > div[style*="order: 2"] {
    order: 1 !important;
  }

  .bento-item-large[style*="grid-template-columns: 1fr 1fr"] > div[style*="order: 1"] {
    order: 2 !important;
  }

  /* Images dans les bento items */
  .bento-item-large img {
    height: 250px !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: var(--radius-md);
  }

  /* Bento grid général */
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }

  .bento-item-small,
  .bento-item-medium {
    padding: var(--space-lg);
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lg {
    padding: var(--space-md) var(--space-xl);
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   20. SERVICE CARD IMAGES
   ============================================ */
.service-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

/* ============================================
   21. CARROUSEL 3D WHEEL SIGNATURE
   ============================================ */
.wheel-container {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: 1500px;
  margin: var(--space-2xl) 0;
}

.wheel-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.5;
  animation: glowPulse 3s ease-in-out infinite;
}

.wheel-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.wheel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 380px;
  margin-left: -140px;
  margin-top: -190px;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  text-decoration: none;
}

.wheel-card-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, var(--color-dark) 0%, var(--color-black) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.wheel-card.active .wheel-card-inner {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
              0 0 40px var(--color-primary-glow);
}

.wheel-card-inner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.wheel-card-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  color: var(--color-white);
}

.wheel-card-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  width: fit-content;
}

.wheel-card-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  color: var(--color-white);
}

.wheel-card-content p {
  font-size: var(--text-sm);
  color: var(--color-gray-light);
  line-height: 1.5;
  margin-bottom: auto;
  flex: 1;
}

.wheel-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-sm);
}

.wheel-card-footer span {
  font-size: var(--text-xs);
  color: var(--color-gray);
}

.wheel-card-arrow {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.wheel-card:hover .wheel-card-arrow {
  transform: translateX(5px);
  box-shadow: var(--shadow-glow);
}

/* Navigation flèches */
.wheel-nav {
  display: none;
}

.wheel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.5);
}

.wheel-arrow:hover {
  background: var(--color-primary-light);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6);
}

.wheel-prev {
  left: 20px;
}

.wheel-next {
  right: 20px;
}

.wheel-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-main);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray);
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

/* Wheel responsive */
@media (max-width: 768px) {
  .wheel-container {
    height: 450px;
  }

  .wheel-card {
    width: 260px;
    height: 360px;
    margin-left: -130px;
    margin-top: -180px;
  }

  .wheel-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .wheel-prev {
    left: 10px;
  }

  .wheel-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .wheel-container {
    height: 420px;
  }

  .wheel-card {
    width: 240px;
    height: 340px;
    margin-left: -120px;
    margin-top: -170px;
  }

  .wheel-arrow {
    width: 44px;
    height: 44px;
  }

  .wheel-prev {
    left: 5px;
  }

  .wheel-next {
    right: 5px;
  }
}


/* ============================================
   PAGE HERO (pour pages internes)
   ============================================ */
.page-hero {
  background: var(--color-black);
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, var(--color-primary-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

.page-hero-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.page-hero h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-hero p {
  font-size: var(--text-lg);
  color: var(--color-gray-light);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.page-hero-meta span {
  color: var(--color-gray-light);
  font-size: var(--text-sm);
}

/* Alias pour page-header (compatibilité) */
.page-header {
  background: var(--color-black);
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, var(--color-primary-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

.page-header-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.page-header h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */
.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
}

.legal-intro {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-gray-dark);
  padding: var(--space-2xl);
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  margin-bottom: var(--space-3xl);
}

.legal-section {
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.legal-section h2::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: var(--color-primary);
  border-radius: 2px;
}

.legal-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-dark);
  margin: var(--space-xl) 0 var(--space-md);
}

.legal-section p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-md);
}

.legal-section ul {
  list-style: none;
  margin: var(--space-lg) 0;
  padding-left: var(--space-lg);
}

.legal-section li {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-lg);
}

.legal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.legal-section strong {
  color: var(--color-black);
  font-weight: 600;
}

.legal-update {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  margin-top: var(--space-3xl);
}

.legal-update p {
  color: var(--color-gray);
  font-size: var(--text-sm);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: var(--space-3xl);
}

/* ============================================
   ARTICLE PAGES (Blog Single Post)
   ============================================ */

/* Article Header */
.article-header {
  background: var(--color-black);
  color: var(--color-white);
  padding: calc(var(--header-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
}

.article-header-container {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-gray-light);
  font-size: var(--text-sm);
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: var(--transition-fast);
}

.back-link:hover {
  color: var(--color-primary);
}

.article-category {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-black);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.article-header h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  color: var(--color-gray-light);
  font-size: var(--text-sm);
}

.article-meta span {
  display: flex;
  align-items: center;
}

/* Article Image */
.article-image {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-xl);
}

.article-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Article Content */
.article-content {
  padding: var(--space-3xl) var(--space-xl);
}

.article-container {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

/* Typography within articles */
.article-content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-black);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.article-content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-black);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.article-content h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-black);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.article-content p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-lg);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content li {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-sm);
}

.article-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-lg);
  margin: var(--space-2xl) 0;
  font-style: italic;
  color: var(--color-gray);
}

.article-content a {
  color: var(--color-primary-text);
  text-decoration: underline;
}

.article-content a:hover {
  color: var(--color-primary);
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
}

.article-content strong {
  color: var(--color-black);
  font-weight: 600;
}

/* Affiliate Box */
.affiliate-box {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-3xl) 0;
}

.affiliate-box h3 {
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.affiliate-box ul {
  margin-bottom: var(--space-md);
}

.affiliate-disclosure {
  font-size: var(--text-xs);
  color: var(--color-gray);
  font-style: italic;
  margin-bottom: 0;
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-off-white);
}

.article-tags .tag {
  background: var(--color-off-white);
  color: var(--color-gray-dark);
  font-size: var(--text-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

/* Mobile Responsive - Article Pages */
@media (max-width: 768px) {
  .article-header {
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-md) var(--space-2xl);
  }

  .article-header h1 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
  }

  .article-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .article-image {
    padding: var(--space-md);
  }

  .article-image img {
    max-height: 250px;
  }

  .article-content {
    padding: var(--space-xl) var(--space-md);
  }

  .article-content h2 {
    font-size: var(--text-xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
  }

  .article-content h3 {
    font-size: var(--text-lg);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
  }

  .article-content p {
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-md);
  }

  .article-content ul,
  .article-content ol {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
  }

  .article-content li {
    margin-bottom: var(--space-xs);
  }

  .affiliate-box {
    padding: var(--space-lg);
    margin: var(--space-2xl) 0;
  }
}

