/* =============================================================================
   PORTFOLIO MODERNE - STYLE PRINCIPAL
   ============================================================================= */

/* Variables CSS */
:root {
  /* Couleurs principales */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  
  /* Couleurs de texte */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  
  /* Couleurs de fond */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  /* Couleurs de bordure */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  /* Dégradés */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-text: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  
  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Utilitaires */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.gradient-text {
  color: #000000;
  font-weight: 800;
  font-size: 1.1em;
  position: relative;
  display: inline-block;
}



/* =============================================================================
   HEADER & NAVIGATION
   ============================================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
  display: block;
}

.logo-img:hover {
  transform: scale(1.05);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  gap: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 90% 60% at 20% -10%, rgba(99, 102, 241, 0.12), transparent),
    radial-gradient(ellipse 90% 60% at 80% -10%, rgba(139, 92, 246, 0.15), transparent),
    radial-gradient(ellipse 100% 70% at 50% 100%, rgba(6, 182, 212, 0.1), transparent),
    linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: 
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.08'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(90deg, rgba(99, 102, 241, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(139, 92, 246, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 25s linear infinite;
  opacity: 0.3;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 15s ease-in-out infinite;
  opacity: 0.7;
}

.hero-orb-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0.08) 40%, transparent 70%);
  top: 15%;
  left: -8%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0.12) 40%, transparent 70%);
  bottom: 15%;
  right: -5%;
  animation-delay: -8s;
}

.hero-orb-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(6, 182, 212, 0.08) 40%, transparent 70%);
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

.hero-orb-4 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, rgba(236, 72, 153, 0.07) 40%, transparent 70%);
  top: 75%;
  left: 15%;
  animation-delay: -5s;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(99, 102, 241, 0.6);
  border-radius: 50%;
  animation: particleFloat 10s infinite ease-in-out;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.particle:nth-child(1) {
  width: 3px;
  height: 3px;
  top: 25%;
  left: 12%;
  animation-delay: 0s;
  background: rgba(99, 102, 241, 0.7);
}

.particle:nth-child(2) {
  width: 4px;
  height: 4px;
  top: 55%;
  left: 25%;
  animation-delay: -2.5s;
  background: rgba(139, 92, 246, 0.6);
}

.particle:nth-child(3) {
  width: 2px;
  height: 2px;
  top: 35%;
  left: 75%;
  animation-delay: -5s;
  background: rgba(6, 182, 212, 0.7);
}

.particle:nth-child(4) {
  width: 4px;
  height: 4px;
  top: 75%;
  left: 85%;
  animation-delay: -7.5s;
  background: rgba(236, 72, 153, 0.6);
}

.particle:nth-child(5) {
  width: 3px;
  height: 3px;
  top: 45%;
  left: 88%;
  animation-delay: -1.5s;
  background: rgba(139, 92, 246, 0.7);
}

.particle:nth-child(6) {
  width: 2px;
  height: 2px;
  top: 65%;
  left: 55%;
  animation-delay: -4s;
  background: rgba(99, 102, 241, 0.5);
}

.particle:nth-child(7) {
  width: 4px;
  height: 4px;
  top: 15%;
  left: 45%;
  animation-delay: -6s;
  background: rgba(6, 182, 212, 0.6);
}

.particle:nth-child(8) {
  width: 3px;
  height: 3px;
  top: 85%;
  left: 35%;
  animation-delay: -8.5s;
  background: rgba(236, 72, 153, 0.7);
}

@keyframes float {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg) scale(1); 
  }
  25% { 
    transform: translate(30px, -40px) rotate(90deg) scale(1.1); 
  }
  50% { 
    transform: translate(-20px, 30px) rotate(180deg) scale(0.9); 
  }
  75% { 
    transform: translate(-40px, -20px) rotate(270deg) scale(1.05); 
  }
}

@keyframes gridMove {
  0% { 
    transform: translate(0, 0); 
  }
  100% { 
    transform: translate(50px, 50px); 
  }
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-20px) rotate(90deg);
    opacity: 1;
  }
  50% { 
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.9;
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: var(--space-lg);
  max-width: 480px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  width: fit-content;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin: var(--space-sm) 0;
  color: #1e293b;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 450px;
}

.hero-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: var(--space-sm) 0;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
  color: white;
  border: 1px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 8px 25px rgba(99, 102, 241, 0.25),
    0 0 0 1px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(99, 102, 241, 1), rgba(139, 92, 246, 1));
  box-shadow: 
    0 12px 40px rgba(99, 102, 241, 0.35),
    0 0 0 1px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* =============================================================================
   CODE WINDOW
   ============================================================================= */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.code-window {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(99, 102, 241, 0.1);
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(20px);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.code-window:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm);
  background: rgba(99, 102, 241, 0.05);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.window-controls {
  display: flex;
  gap: var(--space-xs);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.window-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.code-content {
  padding: var(--space-md);
  background: #ffffff;
  color: #e2e8f0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
}

/* Syntax highlighting */
.token.keyword { color: #f472b6; }
.token.variable { color: #60a5fa; }
.token.property { color: #34d399; }
.token.string { color: #fbbf24; }
.token.number { color: #a78bfa; }
.token.boolean { color: #f87171; }
.token.punctuation { color: #94a3b8; }
.token.operator { color: #fb7185; }
.token.comment { color: #64748b; font-style: italic; }
.token.function { color: #38bdf8; }

/* =============================================================================
   SECTIONS
   ============================================================================= */

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* =============================================================================
   PROJETS EN VEDETTE
   ============================================================================= */

.featured-projects {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(30px) saturate(1.5);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  height: 550px;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-24px) scale(1.02);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.12),
    0 16px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card.featured {
  border: 2px solid rgba(99, 102, 241, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9));
}



.project-image,
.project-screenshot {
  position: relative;
  height: 320px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  border-radius: 24px;
  margin: 24px 24px 0 24px;
}

.project-preview {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 16px 32px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.preview-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 10;
}

.url-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
}

.url-indicator i {
  width: 12px;
  height: 12px;
}

.preview-content {
  width: 100%;
  height: 100%;
  position: relative;
  padding-top: 32px;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.8;
}

.content-layer {
  position: relative;
  height: 100%;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Real Screenshot Styles - Vraies captures d'écran */
.project-screenshot-real {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.project-screenshot-real:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.browser-mockup {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.browser-header {
  height: 32px;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 2;
}

.browser-controls {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.browser-url {
  flex: 1;
  margin-left: 16px;
  background: #ffffff;
  border-radius: 4px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #666;
  border: 1px solid #ddd;
}

.browser-url i {
  width: 10px;
  height: 10px;
  color: #10b981;
}

.browser-url span {
  color: #333;
  font-weight: 500;
  font-size: 10px;
}

.site-screenshot {
  width: 100%;
  height: calc(100% - 32px);
  position: relative;
  overflow: hidden;
}

.live-site-iframe {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: white;
  transition: all 0.3s ease;
  transform-origin: top left;
  pointer-events: auto;
}

/* Effet zoom au hover sur l'iframe */
.project-screenshot-real:hover .live-site-iframe {
  transform: scale(1.02);
}

/* Désactiver les interactions avec l'iframe sauf au hover pour éviter les conflits */
.live-site-iframe {
  pointer-events: none;
}

.project-screenshot-real:hover .live-site-iframe {
  pointer-events: auto;
}

/* Loading state pour les iframes */
.live-site-iframe {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.live-site-iframe:before {
  content: "Chargement du site...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #64748b;
  font-size: 14px;
  z-index: 1;
}



.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.project-screenshot-real:hover .project-overlay {
  opacity: 1;
}

.project-link {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}



/* Chacoach Site Exact Copy */
.chacoach-exact {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  height: calc(100% - 40px);
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
}

.cc-real-header {
  background: transparent;
  padding: 20px 40px;
}

.cc-real-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cc-real-logo img {
  height: 30px;
}

.cc-real-menu {
  display: flex;
  gap: 24px;
}

.cc-nav-item {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.cc-nav-item:hover {
  opacity: 0.8;
}

.cc-real-main {
  color: white;
}

.cc-real-hero {
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cc-hero-content {
  text-align: left;
}

.cc-real-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cc-real-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cc-real-cta {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 16px 32px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.cc-real-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.cc-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cat-illustration {
  font-size: 120px;
  animation: float 3s ease-in-out infinite;
}

.cc-missions-section {
  padding: 60px 40px;
  background: rgba(0, 0, 0, 0.1);
}

.cc-missions-section h2 {
  font-size: 32px;
  color: white;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

.cc-missions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.cc-mission-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cc-mission-card .mission-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.cc-mission-card h3 {
  font-size: 24px;
  color: white;
  margin-bottom: 16px;
  font-weight: 600;
}

.cc-mission-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cc-mission-card ul {
  list-style: none;
  padding: 0;
}

.cc-mission-card li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-size: 14px;
}

/* Hover Overlay for Screenshots */
.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.project-screenshot:hover .hover-overlay {
  opacity: 1;
}

.visit-site {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  transition: all 0.3s ease;
}

.visit-site:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Astral Groove Site Exact Copy */
.astralgroove-exact {
  background: radial-gradient(ellipse at center, #1a0f2e 0%, #0f0817 100%);
  height: calc(100% - 40px);
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
  position: relative;
}

.ag-real-header {
  background: transparent;
  padding: 20px 40px;
  position: relative;
}

.ag-real-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ag-real-logo img {
  height: 30px;
}

.ag-space-elements {
  display: flex;
  gap: 20px;
  align-items: center;
}

.planet, .rocket {
  font-size: 20px;
  animation: orbit 8s linear infinite;
}

.planet-1 {
  animation-delay: 0s;
}

.planet-2 {
  animation-delay: 2s;
}

.rocket {
  animation: rocketMove 6s ease-in-out infinite;
}

.ag-real-main {
  color: white;
  position: relative;
}

.ag-real-hero {
  padding: 80px 40px;
  text-align: center;
  position: relative;
  background: 
    radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 50%);
}

.ag-hero-content {
  position: relative;
  z-index: 2;
}

.ag-real-title {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
  background: linear-gradient(45deg, #ff69b4, #8a2be2, #4169e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
  animation: glow 3s ease-in-out infinite alternate;
}

.ag-real-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.ag-real-cta {
  background: linear-gradient(45deg, #ff69b4, #8a2be2);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
  transition: all 0.3s ease;
}

.ag-real-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.6);
}

.ag-stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  animation: twinkle 2s ease-in-out infinite;
}

.star-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.star-2 {
  top: 30%;
  right: 20%;
  animation-delay: 0.7s;
}

.star-3 {
  bottom: 40%;
  left: 70%;
  animation-delay: 1.4s;
}

.ag-prog-section {
  padding: 60px 40px;
  background: rgba(0, 0, 0, 0.3);
}

.ag-prog-section h2 {
  font-size: 32px;
  color: white;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.ag-artists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.ag-artist-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-avatar {
  font-size: 40px;
  margin-bottom: 15px;
  animation: pulse 2s ease-in-out infinite;
}

.ag-artist-card h3 {
  font-size: 20px;
  color: #ff69b4;
  margin-bottom: 8px;
  font-weight: 600;
}

.ag-artist-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.artist-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.ag-info-section {
  padding: 40px;
  text-align: center;
}

.ag-price-card {
  background: rgba(138, 43, 226, 0.2);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid rgba(138, 43, 226, 0.4);
  display: inline-block;
  backdrop-filter: blur(10px);
}

.price {
  font-size: 36px;
  color: #ff69b4;
  font-weight: 700;
  margin-bottom: 10px;
}

.ag-price-card p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Animations for Astral Groove */
@keyframes orbit {
  0% { transform: rotate(0deg) translateX(10px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(10px) rotate(-360deg); }
}

@keyframes rocketMove {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

@keyframes glow {
  from { text-shadow: 0 0 20px rgba(255, 105, 180, 0.5); }
  to { text-shadow: 0 0 30px rgba(255, 105, 180, 0.8), 0 0 40px rgba(138, 43, 226, 0.3); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Animations for cat */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}



/* Animations */
@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(30deg); }
}

@keyframes textGlow {
  0%, 100% { 
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1);
  }
  50% { 
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
  }
}

@keyframes expandLine {
  0% { width: 0%; }
  50% { width: 60%; }
  100% { width: 0%; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0.9; transform: translateY(0); }
}

@keyframes floatButton {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

@keyframes floatDot {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-8px) scale(1.2);
    opacity: 1;
  }
}

@keyframes slideInDown {
  0% { transform: translateY(-10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes logoAppear {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes titleSlide {
  0% { transform: translateX(-20px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes subtitleFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes cardSlideUp {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

@keyframes progressExpand {
  0% { width: 0%; }
  70% { width: 75%; }
  100% { width: 0%; }
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
  border-radius: 20px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: var(--space-sm);
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-link:hover {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: white;
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.4);
}

.project-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(99, 102, 241, 0.3);
  z-index: 4;
  transition: all 0.3s ease;
}

.project-card:hover .project-badge {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.project-content {
  padding: 0 30px 30px 30px;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.2;
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1rem;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.project-tech span {
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.project-tech span:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* =============================================================================
   SECTION À PROPOS
   ============================================================================= */

.about-preview {
  padding: var(--space-2xl) 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.skill-circles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
}

.skill-circle {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) calc(var(--progress) * 1%), var(--border-light) 0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-circle::before {
  content: '';
  position: absolute;
  inset: 10px;
  background: var(--bg-primary);
  border-radius: 50%;
}

.skill-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.skill-content i {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.skill-content span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.cta-section {
  padding: var(--space-2xl) 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: 1rem;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-outline {
  border-color: white;
  color: white;
}

.cta-section .btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.footer {
  background: var(--bg-tertiary);
  padding: var(--space-2xl) 0 var(--space-md);
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-info p {
  color: var(--text-secondary);
  max-width: 300px;
}

.footer-subtitle {
  font-size: 0.9rem;
  color: var(--primary) !important;
  font-weight: 500;
  margin-top: var(--space-xs) !important;
}

.tech-item {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 2px 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copyright p {
  color: var(--text-secondary);
  margin: 0;
}

.footer-made-with {
  font-size: 0.85rem;
  color: var(--text-muted) !important;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-primary);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  border-color: var(--primary);
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
    max-width: 600px;
  }
  
  .code-window {
    transform: none;
    max-width: 400px;
  }
  
  .code-window:hover {
    transform: scale(1.05);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  /* Navigation mobile */
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .contact-btn {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Hero responsive */
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }
  
  /* Hero background responsive */
  .hero-orb-1, .hero-orb-2, .hero-orb-3, .hero-orb-4 {
    filter: blur(40px);
    opacity: 0.5;
  }
  
  .hero-orb-1 {
    width: 200px;
    height: 200px;
  }
  
  .hero-orb-2 {
    width: 150px;
    height: 150px;
  }
  
  .particle {
    display: none;
  }
  
  /* Projects responsive */
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card.featured {
    grid-row: span 1;
  }
  
  /* Stats responsive */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  /* CTA responsive */
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
    gap: var(--space-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  
  .footer-copyright {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

/* =============================================================================
   ABOUT PAGE STYLES
   ============================================================================= */

/* About Hero Section */
.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  margin-top: 80px;
}

.about-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: var(--space-md) 0;
}

.about-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
}

.about-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-container {
  position: relative;
  width: 250px;
  height: 250px;
}

.avatar-placeholder {
  width: 200px;
  height: 200px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  position: relative;
  z-index: 2;
  margin: 25px;
  box-shadow: var(--shadow-xl);
}

.avatar-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid var(--primary);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Journey Section */
.journey-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  margin-right: var(--space-xl);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: var(--space-xl);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  background: var(--bg-secondary);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1;
  max-width: 350px;
}

.timeline-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.timeline-content h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Skills Section */
.skills-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.skill-category {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.category-header i {
  color: var(--primary);
  font-size: 1.5rem;
}

.category-header h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.skill-name {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-primary);
  width: var(--progress);
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

/* Values Section */
.values-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.value-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: white;
  font-size: 1.5rem;
}

.value-card h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  padding: var(--space-2xl) 0;
  background: var(--gradient-primary);
  color: white;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.stat-description {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* About Page Responsive */
@media (max-width: 1024px) {
  .about-hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }
  
  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
    text-align: left;
  }
  
  .timeline-marker {
    left: 20px;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .avatar-container {
    width: 200px;
    height: 200px;
  }
  
  .avatar-placeholder {
    width: 150px;
    height: 150px;
    margin: 25px;
  }
}

@media (max-width: 480px) {
  .about-hero {
    min-height: 60vh;
    padding: var(--space-xl) 0;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   PROJECTS PAGE STYLES
   ============================================================================= */

/* Projects Hero Section */
.projects-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  margin-top: 80px;
}

.projects-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.projects-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: var(--space-md) 0;
}

.projects-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.projects-stats {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Main Projects Section */
.main-projects {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.main-projects-grid {
  display: flex;
  justify-content: center;
}

.main-project-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  max-width: 900px;
  width: 100%;
}

.main-project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Other Projects Section */
.other-projects {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.project-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Project Image Container */
.project-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.main-project-card .project-image-container {
  height: 300px;
}

.project-image {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-preview {
  width: 90%;
  max-width: 300px;
}

.browser-mockup {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-light);
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-medium);
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27ca3f; }

.browser-url {
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ===== MODERN PROJECT CARDS ===== */
.projects-showcase {
  margin-top: 8rem;
}

.modern-projects-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.modern-projects-grid:not(.secondary) {
  grid-template-columns: 1fr;
}

.modern-projects-grid.secondary {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.modern-projects-grid.unified {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 450px));
  gap: 3rem 2rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.modern-project-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 100%;
  max-width: 450px;
  z-index: 10;
}

.modern-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-primary);
  z-index: 50;
}

/* Style featured supprimé pour uniformité */

/* Project Visual */
.project-visual {
  position: relative;
}

.project-preview-modern {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 0.5rem;
  min-height: 300px;
}

.modern-project-card.compact .project-preview-modern {
  min-height: 280px;
  padding: 0.5rem;
}

.browser-frame {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  gap: 1rem;
}

.browser-controls {
  display: flex;
  gap: 0.5rem;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #f59e0b; }
.control-dot.green { background: #10b981; }

.address-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  font-size: 0.875rem;
}

.security-icon {
  color: #10b981;
  width: 14px;
  height: 14px;
}

.url-text {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Browser actions supprimées pour uniformité */

.browser-viewport {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  width: 100%;
}

.modern-project-card.compact .browser-viewport {
  height: 200px;
  width: 100%;
  position: relative;
}

.browser-viewport iframe {
  width: 500%;
  height: 1100px;
  border: none;
  transform: scale(0.2);
  transform-origin: center top;
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -250%;
}

.modern-project-card.compact .browser-viewport iframe {
  width: 500%;
  height: 1000px;
  transform: scale(0.2);
  transform-origin: center top;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -250%;
}

/* Project Overlay */
.project-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-project-card:hover .project-overlay-modern {
  opacity: 1;
  visibility: visible;
}

.overlay-content {
  text-align: center;
}

.project-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: none;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.875rem;
  cursor: pointer;
}

.action-btn.primary {
  background: var(--accent-primary);
  color: white;
}

.action-btn.primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.modern-project-card.compact .action-btn {
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  justify-content: center;
}

.modern-project-card.compact .action-btn span {
  display: none;
}

/* Project Badge */
.project-badge-modern {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-primary);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 2;
}

.project-badge-modern.current {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.project-badge-modern i {
  width: 14px;
  height: 14px;
}

/* Project Info */
.project-info {
  padding: 1.5rem;
  min-height: 180px;
}

.project-info.compact {
  padding: 1.25rem;
  min-height: 160px;
}

.project-meta {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-secondary);
}

.project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.project-title h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.project-title h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.project-type {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.project-status.online {
  color: #10b981;
}

.project-status.current {
  color: var(--accent-primary);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s infinite;
}

.status-indicator.current {
  background: var(--accent-primary);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.project-summary {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  min-height: 3em;
}

.project-details {
  display: grid;
  gap: 1.5rem;
}

/* Tech Stack Modern */
.tech-stack-modern {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.tech-stack-modern.compact {
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.stack-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-chip {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
  transition: all 0.2s;
}

.tech-chip.html {
  background: rgba(227, 79, 38, 0.1);
  color: #e34f26;
  border-color: rgba(227, 79, 38, 0.2);
}

.tech-chip.css {
  background: rgba(21, 114, 182, 0.1);
  color: #1572b6;
  border-color: rgba(21, 114, 182, 0.2);
}

.tech-chip.js {
  background: rgba(240, 219, 79, 0.1);
  color: #f0db4f;
  border-color: rgba(240, 219, 79, 0.2);
}

.tech-chip.design {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-primary);
  border-color: rgba(124, 58, 237, 0.2);
}

/* Project Highlights */
.project-highlights {
  display: grid;
  gap: 0.75rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-secondary);
}

.highlight-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.highlight-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.highlight-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.highlight-desc {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 1024px) {
  .modern-projects-grid.unified {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .projects-showcase {
    margin-top: 6rem;
  }
  
  .modern-projects-grid.secondary,
  .modern-projects-grid.unified {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.5rem;
  }
  
  .modern-project-card {
    max-width: 100%;
  }
  
  .project-preview-modern {
    padding: 0.5rem;
    min-height: 220px;
  }
  
  .modern-project-card.compact .project-preview-modern {
    min-height: 200px;
  }
  
  .browser-viewport {
    height: 160px;
  }
  
  .modern-project-card.compact .browser-viewport {
    height: 140px;
  }
  
  .browser-viewport iframe {
    width: 500%;
    height: 800px;
    transform: scale(0.2);
    transform-origin: center top;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -250%;
  }
  
  .modern-project-card.compact .browser-viewport iframe {
    width: 500%;
    height: 700px;
    transform: scale(0.2);
    transform-origin: center top;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -250%;
  }
  
  .project-info {
    padding: 1.25rem;
    min-height: 150px;
  }
  
  .project-info.compact {
    padding: 1rem;
    min-height: 130px;
  }
  
  .project-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.gradient-bg {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
}

.gradient-bg.secondary {
  background: var(--gradient-secondary);
}

.gradient-bg.tertiary {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.gradient-bg.quaternary {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay,
.main-project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: var(--space-sm);
}

.project-link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 4px var(--space-sm);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Project Content */
.project-content {
  padding: var(--space-lg);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  gap: var(--space-sm);
}

.project-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px var(--space-xs);
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.project-status.current {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.tech-tag {
  padding: 4px var(--space-xs);
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.feature-item i {
  color: var(--primary);
  font-size: 1rem;
}

/* Technologies Section */
.technologies-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.tech-category {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.tech-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tech-category h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.tech-category h3 i {
  color: var(--primary);
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 80px;
}

.tech-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
}

.tech-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Process Section */
.process-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.process-step {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-number {
  position: absolute;
  top: -15px;
  left: var(--space-md);
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-content {
  margin-top: var(--space-sm);
}

.step-content h3 {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.step-content h3 i {
  color: var(--primary);
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Projects Page Responsive */
@media (max-width: 1024px) {
  .projects-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .tech-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-hero {
    min-height: 60vh;
    padding: var(--space-xl) 0;
  }
  
  .projects-title {
    font-size: 2.5rem;
  }
  
  .projects-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
  
  .tech-categories {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .project-content {
    padding: var(--space-md);
  }
  
  .project-image-container {
    height: 200px;
  }
  
  .main-project-card .project-image-container {
    height: 220px;
  }
  
  .browser-content {
    height: 40px;
  }
}

/* =============================================================================
   CONTACT PAGE STYLES
   ============================================================================= */

/* Contact Hero Section */
.contact-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  margin-top: 80px;
}

.contact-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: var(--space-md) 0;
}

.contact-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.contact-quick-stats {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-form-container {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.form-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group label i {
  color: var(--primary);
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  box-shadow: var(--shadow-md);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Contact Info Sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-card,
.cv-card,
.availability-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-card h3,
.cv-card h3,
.availability-card h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.contact-method:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.method-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.method-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.method-value {
  color: var(--text-primary);
  font-weight: 500;
}

.method-arrow {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* CV Card */
.cv-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.cv-header i {
  color: var(--primary);
  font-size: 1.5rem;
}

.cv-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.cv-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-secondary);
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.cv-download-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Availability Card */
.availability-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-sm);
}

.availability-status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px var(--space-sm);
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s infinite;
}

.availability-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.availability-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.availability-item i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-primary);
}

.faq-question h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 var(--space-md) var(--space-md);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .contact-info {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 60vh;
    padding: var(--space-xl) 0;
  }
  
  .contact-title {
    font-size: 2.5rem;
  }
  
  .contact-quick-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-form-container {
    padding: var(--space-lg);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: var(--space-md);
  }
  
  .form-header h2 {
    font-size: 1.5rem;
  }
  
  .contact-card,
  .cv-card,
  .availability-card {
    padding: var(--space-md);
  }
}

/* ============================================================================= 
   OVERLAY MODERNE POUR APERÇUS DE SITES
   ============================================================================= */

/* Overlay principal */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 24px;
  z-index: 10;
}

.project-screenshot-real:hover .project-overlay {
  opacity: 1;
  visibility: visible;
}

/* Contenu de l'overlay */
.overlay-content {
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 280px;
  animation: overlaySlideIn 0.5s ease-out 0.2s both;
}

/* Badge "Site en direct" */
.overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.overlay-badge i {
  width: 16px;
  height: 16px;
  color: #10b981;
}

/* Bouton principal moderne */
.project-link-modern {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  min-width: 200px;
}

.project-link-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.project-link-modern:hover::before {
  left: 100%;
}

.project-link-modern:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 48px rgba(99, 102, 241, 0.4);
}

.link-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.link-content i {
  width: 20px;
  height: 20px;
}

.link-arrow {
  display: flex;
  align-items: center;
  padding: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.link-arrow i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.project-link-modern:hover .link-arrow {
  background: rgba(255, 255, 255, 0.2);
}

.project-link-modern:hover .link-arrow i {
  transform: translateX(2px);
}

/* Info supplémentaire */
.overlay-info {
  opacity: 0.8;
  font-size: 14px;
  line-height: 1.4;
}

.overlay-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Animation d'entrée */
@keyframes overlaySlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive pour les overlays */
@media (max-width: 768px) {
  .overlay-content {
    padding: 1.5rem;
    max-width: 240px;
  }
  
  .project-link-modern {
    padding: 12px 20px;
    font-size: 14px;
    min-width: 180px;
  }
  
  .overlay-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* =============================================================================
   ABOUT HERO SECTION - DESIGN SOBRE
   ============================================================================= */

.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.about-hero-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: 60vh;
}

.about-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Titre simple */
.about-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
}

/* Description simple */
.about-description .main-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

/* Actions simples */
.about-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-primary.about-cta {
  background: var(--primary);
  color: white;
}

.btn-primary.about-cta:hover {
  background: var(--primary-dark);
}

.btn-secondary.about-cta {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary.about-cta:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Carte de profil simple */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card-simple {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  max-width: 280px;
  width: 100%;
}

.profile-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: var(--space-sm) 0 var(--space-xs) 0;
  color: var(--text-primary);
}

.profile-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Avatar avec photo */
.avatar-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--primary);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



/* Responsive pour about hero */
@media (max-width: 1024px) {
  .about-hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .about-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 70vh;
  }
  
  .about-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .about-cta {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .profile-card-simple {
    max-width: 100%;
  }
}

/* =============================================================================
   JOURNEY SECTION - NOUVEAU DESIGN
   ============================================================================= */

.journey-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.section-badge i {
  color: var(--primary);
}

.journey-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* Stats du parcours */
.journey-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Timeline moderne */
.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  z-index: 1;
}

.timeline-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.timeline-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.timeline-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
}

.timeline-icon.discovery {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.timeline-icon.learning {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.timeline-icon.creation {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.timeline-period {
  text-align: center;
}

.period-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.period-date {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.card-content {
  flex: 1;
}

.card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.card-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tech-tag {
  padding: 4px 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.timeline-card.active .tech-tag {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Section "Et maintenant ?" */
.journey-next {
  margin-top: var(--space-xl);
}

.next-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  color: white;
  position: relative;
  overflow: hidden;
}

.next-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) skewX(-25deg); }
  100% { transform: translateX(200%) skewX(-25deg); }
}

.next-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.next-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.next-content p {
  opacity: 0.9;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.next-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.next-cta:hover {
  background: rgba(255,255,255,0.3);
  transform: translateX(4px);
}

/* Responsive pour journey section */
@media (max-width: 1024px) {
  .journey-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .timeline-card {
    flex-direction: column;
    text-align: center;
  }
  
  .journey-timeline::before {
    display: none;
  }
  
  .next-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .stat-card {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-card {
    padding: var(--space-lg);
  }
  
  .timeline-icon {
    width: 56px;
    height: 56px;
  }
}

/* =============================================================================
   SKILLS SECTION MODERNE
   ============================================================================= */

.skills-section-modern {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.skills-showcase-compact {
  margin-bottom: var(--space-xl);
}

.main-skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  position: relative;
}

.skill-card.solid {
  border-color: var(--success);
}

.skill-card.learning {
  border-color: var(--primary);
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.skill-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  color: white;
  background: var(--bg-primary);
}

.skill-icon.html {
  background: linear-gradient(135deg, #e34c26, #f06529);
}

.skill-icon.css {
  background: linear-gradient(135deg, #1572b6, #33a9dc);
}

.skill-icon.js {
  background: linear-gradient(135deg, #f7df1e, #f0db4f);
  color: #323330;
}

.skill-icon.python {
  background: linear-gradient(135deg, #3776ab, #4b8bbe);
}

.skill-icon.sql {
  background: linear-gradient(135deg, #00758f, #336791);
}

.skill-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.skill-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.skill-level {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.skill-level.expert {
  background: var(--success);
  color: white;
}

.skill-level.intermediate {
  background: var(--primary);
  color: white;
}

/* Responsive pour skills compacts */
@media (max-width: 1024px) {
  .main-skills {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .main-skills {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  .skill-card {
    padding: var(--space-lg);
  }
}

/* =============================================================================
   TECHNOLOGIES MODERN SECTION
   ============================================================================= */

.tech-modern-section {
  padding: 5rem 0;
  background: var(--bg-primary);
  position: relative;
}

.tech-modern-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-primary), transparent);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section-badge i {
  width: 16px;
  height: 16px;
}

.tech-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-modern-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tech-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.tech-modern-card:hover::before {
  transform: scaleX(1);
}

.tech-modern-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-primary);
}

.tech-modern-card.frontend::before {
  background: linear-gradient(90deg, #e34f26, #1572b6);
}

.tech-modern-card.backend::before {
  background: linear-gradient(90deg, #3776ab, #336791);
}

.tech-modern-card.tools::before {
  background: linear-gradient(90deg, #f1502f, #007acc);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tech-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.tech-card-icon i {
  width: 24px;
  height: 24px;
}

.tech-card-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.tech-card-subtitle {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
}

.tech-modern-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-modern-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-secondary);
  transition: all 0.2s;
}

.tech-modern-item:hover {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  transform: translateX(4px);
}

.tech-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tech-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.tech-modern-item.html .tech-item-icon {
  background: rgba(227, 79, 38, 0.1);
  color: #e34f26;
}

.tech-modern-item.css .tech-item-icon {
  background: rgba(21, 114, 182, 0.1);
  color: #1572b6;
}

.tech-modern-item.js .tech-item-icon {
  background: rgba(240, 219, 79, 0.1);
  color: #f7df1e;
}

.tech-modern-item.python .tech-item-icon {
  background: rgba(55, 118, 171, 0.1);
  color: #3776ab;
}

.tech-modern-item.sql .tech-item-icon {
  background: rgba(51, 103, 145, 0.1);
  color: #336791;
}

.tech-modern-item.git .tech-item-icon {
  background: rgba(241, 80, 47, 0.1);
  color: #f1502f;
}

.tech-modern-item.vscode .tech-item-icon {
  background: rgba(0, 122, 204, 0.1);
  color: #007acc;
}

.tech-item-content {
  flex: 1;
}

.tech-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.tech-level {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .tech-modern-section {
    padding: 3rem 0;
  }
  
  .tech-modern-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tech-modern-card {
    padding: 1.5rem;
  }
  
  .tech-card-header {
    margin-bottom: 1.5rem;
  }
  
  .tech-modern-item {
    padding: 0.875rem;
  }
}

/* =============================================================================
   LEARNING PROCESS SECTION
   ============================================================================= */

.learning-process-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(124, 58, 237, 0.02) 100%);
  position: relative;
}

.learning-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.learning-step {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.learning-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.learning-step:hover::before {
  transform: scaleX(1);
}

.learning-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-primary);
}

.learning-step.discover::before {
  background: linear-gradient(90deg, #10b981, #06b6d4);
}

.learning-step.practice::before {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.learning-step.project::before {
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.learning-step.share::before {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-primary);
  transition: all 0.3s;
}

.learning-step:hover .step-icon {
  transform: scale(1.05);
  background: var(--accent-primary);
  color: white;
}

.step-icon i {
  width: 28px;
  height: 28px;
}

.learning-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.learning-step p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.step-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.step-tools span {
  padding: 0.375rem 0.75rem;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s;
}

.step-tools span:hover {
  background: var(--accent-primary);
  color: white;
}

/* Learning Stats */
.learning-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-primary);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-primary);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.stat-icon i {
  width: 24px;
  height: 24px;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .learning-process-section {
    padding: 3rem 0;
  }
  
  .learning-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .learning-step {
    padding: 1.5rem 1rem;
  }
  
  .step-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }
  
  .step-icon i {
    width: 24px;
    height: 24px;
  }
  
  .learning-step h3 {
    font-size: 1.125rem;
  }
  
  .learning-step p {
    font-size: 0.875rem;
  }
  
  .learning-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .learning-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-skills {
    grid-template-columns: 1fr;
  }
}
