/* ========================================
   🎨 LVLIA - DESIGN SYSTEM PREMIUM V2.0
   Design révolutionnaire pour conversion maximale
   ======================================== */

/* 🌈 IMPORTATION TYPOGRAPHIES PREMIUM */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* 🎨 VARIABLES DE DESIGN SYSTEM */
:root {
  /* Couleurs principales - Palette naturelle premium */
  --brand-primary: #059669;
  --brand-secondary: #0F766E;
  --brand-gradient: linear-gradient(135deg, #059669 0%, #0F766E 100%);
  --brand-gradient-hover: linear-gradient(135deg, #047857 0%, #0d615a 100%);
  
  /* Couleurs étendues */
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-900: #064e3b;
  
  --teal-50: #f0fdfa;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  
  /* Couleurs neutres sophistiquées */
  --fg: #0f172a;
  --fg-secondary: #1e293b;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --bg: #fafaf9;
  --bg-secondary: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  
  /* Couleurs d'accent */
  --accent-gold: #f59e0b;
  --accent-amber: #fbbf24;
  --accent-orange: #fb923c;
  
  /* Ombres premium */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 30px 60px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 40px rgba(5, 150, 105, 0.3);
  --shadow-glow-hover: 0 0 60px rgba(5, 150, 105, 0.5);
  
  /* Rayons de bordure */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  
  /* Espacements */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 🌙 MODE SOMBRE MANUEL */
[data-theme="dark"] {
  --fg: #f8fafc;
  --fg-secondary: #e2e8f0;
  --muted: #94a3b8;
  --muted-light: #cbd5e1;
  --bg: #0f172a;
  --bg-secondary: #1e293b;
  --card: #1e293b;
  --line: #334155;
  --line-light: #475569;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* 🌙 MODE SOMBRE AUTO (prefers-color-scheme) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fg: #f8fafc;
    --fg-secondary: #e2e8f0;
    --muted: #94a3b8;
    --muted-light: #cbd5e1;
    --bg: #0f172a;
    --bg-secondary: #1e293b;
    --card: #1e293b;
    --line: #334155;
    --line-light: #475569;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.6);
  }
}

/* 🌙 TOGGLE THEME BUTTON */
.theme-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-gradient);
  border: 3px solid var(--card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(20deg);
  box-shadow: var(--shadow-xl);
}

.theme-toggle:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .theme-toggle {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
}

/* Effet de grain subtil sur le body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="3"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.03"/></svg>');
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

/* ========================================
   📐 LAYOUT
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section.alt {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg) 100%);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  max-width: 760px;
}

.section-head.center {
  text-align: center;
  margin: 0 auto var(--space-2xl);
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ========================================
   🎨 TYPOGRAPHIE
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.6s ease-out;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  margin: var(--space-md) 0;
  line-height: 1.7;
  color: var(--muted);
  font-size: 1rem;
}

strong {
  font-weight: 700;
  color: var(--fg);
}

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

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

/* ========================================
   🎯 HEADER PREMIUM
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all var(--transition-base);
  animation: slideDown 0.6s ease-out;
}

.site-header.scrolled {
  padding: var(--space-xs) var(--space-lg);
  box-shadow: var(--shadow-md);
}

/* Logo avec animation */
.logo {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-primary);
  text-decoration: none;
  transition: transform var(--transition-base);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
  border-radius: var(--radius-full);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo:hover::after {
  transform: scaleX(1);
}

/* Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  color: var(--brand-primary);
  font-size: 24px;
  line-height: 1;
  transition: transform var(--transition-base);
}

.mobile-menu-toggle:hover {
  transform: rotate(90deg);
}

.main-nav {
  display: flex;
  gap: var(--space-xs);
  flex: 1;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  color: var(--fg-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: all var(--transition-base);
  overflow: hidden;
}

.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--emerald-50);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: -1;
  border-radius: var(--radius-md);
}

.main-nav a:hover::before,
.main-nav a.active::before {
  transform: translateY(0);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-primary);
  transform: translateY(-2px);
}

/* ========================================
   🎯 BOUTONS PREMIUM
   ======================================== */
.btn {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 50px;
  line-height: 1.4;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  font-family: 'Inter', sans-serif;
}

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

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

.btn:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
}

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

/* Bouton outline */
.btn.outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  box-shadow: none;
}

.btn.outline:hover {
  background: var(--emerald-50);
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
}

/* Bouton secondaire */
.btn.secondary {
  background: var(--fg);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn.secondary:hover {
  background: var(--fg-secondary);
  transform: translateY(-2px);
}

/* ========================================
   🎨 HERO SECTION IMMERSIVE
   ======================================== */
.hero {
  background: linear-gradient(135deg, 
    rgba(5, 150, 105, 0.08) 0%, 
    rgba(15, 118, 110, 0.05) 50%,
    rgba(5, 150, 105, 0.03) 100%
  );
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
}

/* Effet de particules en arrière-plan */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.08) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}

.hero .container {
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin: 0 0 var(--space-lg);
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 720px;
  line-height: 1.7;
  animation: fadeInUp 1s ease-out;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease-out;
}

/* ========================================
   🎴 CARDS PREMIUM
   ======================================== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

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

.card a {
  text-decoration: none;
  color: inherit;
}

.card a:hover h2,
.card a:hover h3 {
  color: var(--brand-primary);
}

/* Card avec image */
.card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  transition: transform var(--transition-slow);
}

.card:hover img {
  transform: scale(1.05);
}

/* ========================================
   📊 GRILLES & LAYOUTS
   ======================================== */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* ========================================
   🎯 STATISTIQUES & BADGES
   ======================================== */
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(5, 150, 105, 0.1) 90deg,
    transparent 180deg
  );
  animation: rotate 10s linear infinite;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat:hover::before {
  opacity: 1;
}

.stat:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

.badge {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   🎴 PRODUCT CARDS
   ======================================== */
.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.05), rgba(15, 118, 110, 0.05));
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: var(--brand-primary);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover img {
  transform: scale(1.1);
}

.product-card .product-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex: 1;
}

.product-card h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--fg);
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Chips list */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  background: linear-gradient(135deg, var(--emerald-50), var(--teal-50));
  color: var(--brand-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-base);
  border: 1px solid var(--emerald-200);
}

.chip:hover {
  background: var(--brand-gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* ========================================
   ✓ LISTES À PUCES PREMIUM
   ======================================== */
.list-check {
  margin: 0;
  padding-left: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.list-check li {
  list-style: none;
  position: relative;
  padding-left: 32px;
  color: var(--muted);
  line-height: 1.7;
  transition: all var(--transition-base);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--brand-gradient);
  color: white;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
  transition: all var(--transition-base);
}

.list-check li:hover {
  color: var(--fg);
  transform: translateX(4px);
}

.list-check li:hover::before {
  transform: scale(1.2) rotate(360deg);
  box-shadow: var(--shadow-glow);
}

/* ========================================
   🎴 FEATURE CARDS
   ======================================== */
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--emerald-50), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover::before {
  opacity: 1;
}

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

.feature-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--fg);
  position: relative;
  z-index: 1;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.feature-card strong {
  color: var(--brand-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* ========================================
   🖼️ GALERIE IMMERSIVE
   ======================================== */
.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05) rotateZ(2deg);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-primary);
  z-index: 10;
}

/* ========================================
   📣 CTA BANNER PREMIUM
   ======================================== */
.cta-banner {
  background: var(--brand-gradient);
  color: #fff;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shine 3s ease-in-out infinite;
}

.cta-banner h2 {
  color: white;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-banner p {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

.cta-banner .btn {
  background: white;
  color: var(--brand-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn:hover {
  background: var(--emerald-50);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ========================================
   📝 FORMULAIRES PREMIUM
   ======================================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-weight: 600;
  color: var(--fg);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: var(--space-md);
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  min-height: 50px;
  transition: all var(--transition-base);
  background: var(--bg-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
  background: white;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ========================================
   📊 TABLEAUX
   ======================================== */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

table th,
table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--line);
}

table th {
  background: var(--brand-gradient);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

table tr {
  transition: background var(--transition-base);
}

table tr:hover {
  background: var(--emerald-50);
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

/* ========================================
   🦶 FOOTER PREMIUM
   ======================================== */
.site-footer {
  background: linear-gradient(135deg, #0b1020 0%, #1e293b 100%);
  color: #e5e7eb;
  margin-top: var(--space-3xl);
  padding: var(--space-3xl) 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-grid a {
  color: #e5e7eb;
  text-decoration: none;
  transition: all var(--transition-base);
  display: inline-block;
}

.footer-grid a:hover {
  color: var(--emerald-200);
  transform: translateX(4px);
}

.copyright {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.3);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   📱 PAGE HEADS
   ======================================== */
.page-head {
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-xl);
  background: linear-gradient(180deg, var(--bg-secondary), transparent);
}

.page-head h1 {
  margin-bottom: var(--space-sm);
}

.page-head p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 720px;
}

/* ========================================
   📱 BLOCKQUOTES
   ======================================== */
blockquote {
  border-left: 4px solid var(--brand-primary);
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--emerald-50), var(--teal-50));
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--fg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--brand-primary);
  opacity: 0.2;
  font-family: Georgia, serif;
}

/* ========================================
   ✨ ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

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

@keyframes shine {
  0% {
    transform: translate(-50%, -50%);
  }
  100% {
    transform: translate(50%, 50%);
  }
}

/* Animation au scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

/* ========================================
   🎯 ÉLÉMENTS SPÉCIFIQUES
   ======================================== */

/* Yield Highlight */
.yield-highlight {
  background: linear-gradient(135deg, var(--emerald-50), var(--teal-50));
  border: 2px solid var(--emerald-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-md);
}

.yield-highlight h3 {
  margin: 0;
  color: var(--brand-primary);
}

.yield-highlight ul {
  margin: 0;
  padding-left: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.yield-highlight li {
  color: var(--fg);
}

.yield-highlight .yield-total {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

/* Illustration */
.illustr img,
.ambiance img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.illustr img:hover,
.ambiance img:hover {
  transform: scale(1.02);
}

/* Article content */
article {
  max-width: 780px;
  margin: 0 auto;
}

article h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin: var(--space-md) 0 var(--space-lg);
}

article h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: var(--space-xl) 0 var(--space-md);
}

article p {
  margin: var(--space-md) 0;
}

/* ========================================
   📱 RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero .container {
    padding: var(--space-2xl) var(--space-lg);
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .gallery-grid img {
    height: 180px;
  }
  
  article h1 {
    font-size: 2rem;
  }
  
  article h2 {
    font-size: 1.75rem;
  }
  
  .page-head {
    padding: var(--space-xl) 0 var(--space-md);
  }
}

@media (max-width: 768px) {
  html,
  body {
    font-size: 16px;
  }
  
  .site-header {
    padding: 10px var(--space-md);
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-xs);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, box-shadow 0.4s ease;
    box-shadow: none;
  }
  
  .main-nav.active {
    max-height: 500px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav a {
    width: 100%;
    padding: var(--space-md);
    justify-content: center;
  }
  
  .site-header .btn {
    display: none;
  }
  
  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  table {
    font-size: 14px;
  }
  
  table th,
  table td {
    padding: var(--space-xs) 6px;
  }
  
  .cta-banner {
    padding: var(--space-xl);
  }
  
  .product-card img {
    height: 200px;
  }
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========================================
   🎯 STICKY CTA MOBILE
   ======================================== */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: var(--space-md);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  z-index: 999;
  border-top: 3px solid var(--brand-primary);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.sticky-cta-mobile .btn {
  width: 100%;
  text-align: center;
  margin: 0;
  font-size: 1rem;
  padding: var(--space-md) var(--space-lg);
  font-weight: 700;
}

@media (max-width: 768px) {
  .sticky-cta-mobile {
    display: block;
  }
}

/* ========================================
   🏅 BADGES RÉASSURANCE
   ======================================== */
.reassurance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  margin: var(--space-xl) 0;
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--bg-secondary), var(--emerald-50));
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  background: white;
  border: 2px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.badge-item:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--emerald-50);
}

.badge-icon {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .reassurance-badges {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
  }
  
  .badge-item {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   🎨 CLASSES UTILITAIRES
   ======================================== */
.text-center {
  text-align: center;
}

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

.glow {
  box-shadow: var(--shadow-glow);
}

.no-scroll {
  overflow: hidden;
}

/* ========================================
   🔥 ULTRA EFFECTS INTÉGRÉS
   Effets premium pour toutes les pages
   ======================================== */

/* Glassmorphism Premium */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Particules flottantes */
@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(30px, -50px);
    opacity: 1;
  }
}

.particle {
  animation: floatParticle var(--duration, 20s) ease-in-out infinite;
}

/* Morphing liquide */
@keyframes liquidMorph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

.liquid-shape {
  animation: liquidMorph 8s ease-in-out infinite;
}

/* Gradient animé */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-animated {
  background: linear-gradient(270deg, var(--brand-primary), var(--brand-secondary), var(--emerald-500));
  background-size: 400% 400%;
  animation: gradientMove 8s ease infinite;
}

/* Glow pulsant */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(5, 150, 105, 0.8), 0 0 60px rgba(5, 150, 105, 0.4);
  }
}

.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Hover lift 3D */
.hover-3d {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.hover-3d:hover {
  transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.3);
}

/* Effet magnetic */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Ripple infini */
@keyframes rippleEffect {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.ripple-container {
  position: relative;
  overflow: hidden;
}

.ripple-container::before,
.ripple-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid var(--brand-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleEffect 3s ease-out infinite;
}

.ripple-container::after {
  animation-delay: 1.5s;
}

/* Optimisation mobile */
@media (max-width: 768px) {
  /* Désactiver effets coûteux sur mobile */
  .hover-3d:hover {
    transform: translateY(-4px);
  }
  
  .particle {
    animation-duration: 30s; /* Plus lent sur mobile */
  }
  
  /* Réduire blur sur mobile pour performance */
  .glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Performance GPU */
.gpu-boost {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}
