/*===============================
  NEOPUSH - DESIGN ULTRA-MODERNE
  Design Premium avec Glassmorphism & Animations
================================*/

/*===============================
  1. RESET & VARIABLES MODERNES
================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette de couleurs tendance 2024 */
  --primary: #6366f1;           /* Indigo moderne */
  --secondary: #8b5cf6;         /* Violet vibrant */
  --accent: #ec4899;            /* Rose électrique */
  --success: #10b981;           /* Vert émeraude */
  --warning: #f59e0b;           /* Orange doré */
  
  /* Gradients Professionnels */
  --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
  
  /* Nouveaux gradients subtils */
  --gradient-overlay: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  
  /* Couleurs neutres */
  --dark: #0f172a;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-accent: #f1f5f9;
  
  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Ombres modernes */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* Classes utilitaires pour appliquer les gradients */
.gradient-1 { background: var(--gradient-1) !important; }
.gradient-2 { background: var(--gradient-2) !important; }
.gradient-3 { background: var(--gradient-3) !important; }
.gradient-4 { background: var(--gradient-4) !important; }
.gradient-5 { background: var(--gradient-5) !important; }
.gradient-6 { background: var(--gradient-6) !important; }

body {
  font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

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

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

/*===============================
  2. NAVBAR MODERNE (Glassmorphism Ultra)
================================*/
.custom-navbar {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.2rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  position: relative;
}

.custom-navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.custom-navbar.scrolled {
  background: rgba(15, 23, 42, 0.97);
  padding: 0.8rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.logo {
  height: 45px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.4));
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0.75rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: #fff !important;
  transform: translateY(-2px);
}

/* CTA Button dans la navbar */
.cta-btn {
  background: var(--gradient-main);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/*===============================
  3. HERO SECTION - ULTRA MODERNE
================================*/
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
}

/* Particules animées en arrière-plan */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  animation: particlesMove 20s ease-in-out infinite;
}

@keyframes particlesMove {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero .container {
  z-index: 2;
}

/* Badge animé au-dessus du titre */
.hero-badge {
  animation: fadeInDown 0.8s ease-out;
}

.badge-glow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
  50% { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); }
}

/* Titre Hero avec animation */
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.2s both;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #e8e8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  /* Fallback pour navigateurs qui ne supportent pas le text-fill */
  color: #fff;
}

.gradient-text-2 {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out 0.4s both;
  max-width: 800px;
  margin: 0 auto;
}

/* Boutons CTA Hero */
.hero-cta-group {
  animation: fadeInUp 1s ease-out 0.6s both;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Bouton CTA générique utilisé hors hero */
.btn-hero {
  background: var(--gradient-main);
  color: #fff !important;
  border: none;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.8rem 1.75rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(102, 126, 234, 0.5);
  color: #fff !important;
}

.btn-hero-primary {
  background: var(--gradient-main);
  color: #fff !important;
  border: none;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 10px 28px rgba(102, 126, 234, 0.45);
  font-size: 1.1rem;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.6);
  color: #fff !important;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  font-size: 1.1rem;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  color: #fff;
}

/* Stats dans le Hero */
.hero-stats {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/*===============================
  4. SECTIONS BADGES & TITRES
================================*/
.section-badge {
  animation: fadeIn 0.6s ease-out;
}

.badge-modern {
  display: inline-block;
  background: var(--gradient-main);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

/*===============================
  5. SERVICES - CARDS ULTRA-MODERNES
================================*/
.services-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
  animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.card-modern {
  background: #fff;
  border: 1px solid rgba(102, 126, 234, 0.1);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  overflow: visible;
  position: relative;
  z-index: 1;
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: var(--gradient-main);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.card-modern:hover::after {
  opacity: 0.5;
}

.card-modern:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(102, 126, 234, 0.25);
  border-color: transparent;
}

/* Titres et textes des cartes - contraste amélioré */
.card-modern h5 {
  color: #1e293b !important;
  font-weight: 700 !important;
}

.card-modern .text-muted {
  color: #64748b !important;
  font-weight: 500;
}

/* Icônes services avec gradients */
.service-icon-modern .icon-wrapper {
  width: 75px;
  height: 75px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2.25rem;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon-modern .icon-wrapper i {
  color: #fff;
}

.card-modern:hover .icon-wrapper {
  transform: rotate(5deg) scale(1.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Liste de features */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.feature-list li {
  padding: 0.5rem 0;
  color: #2d3748 !important;
  font-size: 0.95rem;
  font-weight: 500;
}

.feature-list i {
  color: var(--success);
  font-size: 1rem;
}

/*===============================
  6. PRICING - CARTES PREMIUM
================================*/
.pricing-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  position: relative;
}

.pricing-card-modern {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  overflow: hidden;
  position: relative;
}

.pricing-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary);
}

/* Carte populaire */
.popular-card {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  transform: scale(1.05);
}

.popular-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.best-ribbon-modern {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gradient-2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 3rem;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Icônes pricing */
.icon-circle-pricing {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.pricing-card-modern:hover .icon-circle-pricing {
  transform: rotate(-5deg) scale(1.1);
}

/* Prix box */
.price-box {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 1rem;
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  color: var(--text-dark);
}

/* Boutons pricing avec effet shimmer */
.btn-pricing {
  background: var(--gradient-main);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.btn-pricing:hover::before {
  left: 100%;
}

.btn-pricing:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
  color: #fff;
}

.btn-pricing-popular {
  background: var(--gradient-2);
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.btn-pricing-popular:hover {
  box-shadow: 0 8px 25px rgba(245, 87, 108, 0.5);
}

/*===============================
  7. WHY US SECTION (ex-SaaS)
================================*/
.why-us-section {
  background: #fff;
  overflow: hidden;
}

/* Badge pour service featured */
.featured-service {
  position: relative;
  border: 2px solid var(--primary) !important;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2) !important;
  background: #fff;
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--gradient-2);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
  white-space: nowrap;
}

/* Icônes circulaires pour la section Why Us */
.icon-circle-feature {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: var(--transition);
}

.feature-item:hover .icon-circle-feature {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.saas-section {
  background: #fff;
  overflow: hidden;
}

.saas-visual {
  perspective: 1000px;
}

.saas-card-demo {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  border: 2px solid rgba(102, 126, 234, 0.15);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.saas-card-demo::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: var(--gradient-main);
  opacity: 0.1;
  z-index: -1;
  filter: blur(20px);
}

.demo-header .demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
}

.demo-header .demo-dot:nth-child(1) { background: #ff5f56; }
.demo-header .demo-dot:nth-child(2) { background: #ffbd2e; }
.demo-header .demo-dot:nth-child(3) { background: #27c93f; }

.stats-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-mini {
  flex: 1;
  min-width: 150px;
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.stat-mini:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-mini-icon {
  font-size: 2rem;
}

.chart-demo {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 120px;
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 12px;
}

.chart-bar {
  flex: 1;
  background: var(--gradient-main);
  border-radius: 8px 8px 0 0;
  animation: growBar 2s ease-out;
}

@keyframes growBar {
  from { height: 0; }
}

/* Floating icons */
.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 1;
}

.floating-1 {
  top: 10%;
  right: -20px;
  animation: float 3s ease-in-out infinite;
}

.floating-2 {
  bottom: 30%;
  left: -30px;
  background: var(--gradient-3);
  animation: float 4s ease-in-out infinite 1s;
}

.floating-3 {
  bottom: 10%;
  right: 10%;
  background: var(--gradient-5);
  animation: float 5s ease-in-out infinite 2s;
}

/*===============================
  8. ABOUT - SECTION MODERNE
================================*/
.about-section {
  background: #fff;
}

.stats-box-modern {
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
  border: 2px solid rgba(102, 126, 234, 0.1);
  border-radius: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.stats-box-modern:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.stats-icon {
  font-size: 2.5rem;
}

/*===============================
  9. PORTFOLIO
================================*/
.portfolio-section {
  background: #fff;
}

.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.portfolio-img {
  position: relative;
  width: 100%;
  height: 220px;
  background: var(--bg-light);
}

.portfolio-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.portfolio-overlay {
  padding: 1rem 1.1rem 1.25rem;
  background: #fff;
}

/* Placeholders en cours d'import */
.portfolio-card.loading .portfolio-img {
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0 0; }
  100% { background-position: -200% 0; }
}

.badge-tech {
  background: var(--bg-light);
  color: #334155;
  border: 1px solid rgba(102, 126, 234, 0.15);
}

/*===============================
  10. CONTACT - SECTION
================================*/
.contact-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.contact-section .form-control {
  border-radius: 12px;
  border: 2px solid rgba(102, 126, 234, 0.1);
  padding: 0.8rem 1rem;
  transition: var(--transition);
}

.contact-section .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.contact-section label i {
  color: var(--primary);
}

/*===============================
  11. FADE-IN ANIMATIONS
================================*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animations d'entrée */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*===============================
  12. FOOTER
================================*/
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/*===============================
  13. RESPONSIVE
================================*/
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    padding: 5rem 1rem 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 320px;
  }
  
  .section-title {
    font-size: 1.75rem;
    padding: 0 1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .popular-card {
    transform: scale(1);
  }
  
  .popular-card:hover {
    transform: translateY(-10px) scale(1);
  }
  
  .card-modern:hover {
    transform: translateY(-8px) scale(1);
  }
  
  .floating-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .saas-card-demo {
    padding: 1.5rem;
  }
  
  .services-section::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .stat-item {
    padding: 1rem 0.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
}

/*===============================
  14. UTILITIES
================================*/
/* Scrollbar personnalisée */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-main);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Selection */
::selection {
  background: var(--primary);
  color: #fff;
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
