/* ==========================================
   VARIABLES CSS - Thème Moderne Ultra
   ========================================== */
:root {
    /* Couleurs principales - Dégradés vibrants */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #8b5cf6;
    --secondary-color: #a78bfa;
    --secondary-dark: #7c3aed;
    
    /* Nouveau gradient moderne */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Couleurs neutres */
    --dark-bg: #0f0f1e;
    --dark-surface: #1a1a2e;
    --dark-elevated: #25254a;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* Couleurs claires */
    --light-bg: #f8fafc;
    --light-surface: #ffffff;
    --light-elevated: #f1f5f9;
    --light-text: #0f172a;
    --light-text-secondary: #475569;
    
    /* Couleurs d'accent modernes */
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    
    /* Ombres modernes avec profondeur */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 20px 40px -10px rgba(102, 126, 234, 0.4);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.5);
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-code: 'Fira Code', 'JetBrains Mono', 'Courier New', monospace;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Breakpoints */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
    
    /* Bordures modernes */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions fluides */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* ==========================================
   RESET ET BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--light-bg);
    background-image: 
        radial-gradient(at 0% 0%, rgba(102, 126, 234, 0.05) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.05) 0, transparent 50%);
    background-attachment: fixed;
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

/* Sélection de texte personnalisée */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Scrollbar moderne */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* ==========================================
   UTILITAIRES
   ========================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--text-primary);
}

/* ==========================================
   HEADER / NAVIGATION - Design Modern
   ========================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform var(--transition-normal);
}

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

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--light-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal);
}

.navbar-toggle:hover {
    transform: scale(1.1);
    background: rgba(102, 126, 234, 0.1);
}

.toggle-icon {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.navbar-toggle.active .toggle-icon:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active .toggle-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .toggle-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.navbar-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--light-text-secondary);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left var(--transition-normal);
    z-index: -1;
    border-radius: var(--radius-full);
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-link i {
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
}

.nav-link:hover i {
    transform: scale(1.2);
}

/* ==========================================
   HERO SECTION - Design Ultra Moderne
   ========================================== */
.hero {
    position: relative;
    padding: clamp(4rem, 10vw, 8rem) 0;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
    min-height: 650px;
    display: flex;
    align-items: center;
}

/* Effet de particules animées */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        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 50%);
    animation: heroGlow 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-greeting {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInDown 0.8s ease-out;
}

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

.hero-name {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    animation: slideInLeft 0.8s ease-out 0.2s both;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    animation: slideInLeft 0.8s ease-out 0.6s both;
    max-width: 600px;
}

.hero-description strong {
    font-weight: 700;
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease-out 0.8s both;
}

/* Hero Card avec Glassmorphism */
.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    animation: fadeIn 1s ease-out 1s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px 0 rgba(31, 38, 135, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}

.hero-card .card-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-card .card-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-card .stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-card .stat-label {
    font-size: 0.875rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Formes animées dans le background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: 5%;
    animation-delay: -5s;
}

.hero-shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: -100px;
    animation-delay: -10s;
}

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

/* ==========================================
   BUTTONS - Design Ultra Moderne
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0. 875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

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

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

.btn i {
    transition: transform var(--transition-normal);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

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

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
    z-index: -1;
}

.btn-outline:hover::after {
    width: 100%;
}

.btn-outline:hover {
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
    z-index: -1;
}

.btn-outline-light:hover::after {
    width: 100%;
}

.btn-outline-light:hover {
    color: var(--primary-color);
    border-color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* Effet de brillance sur les boutons */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::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.5s;
}

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

/* ==========================================
   SECTIONS
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--light-text);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--light-text-secondary);
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* ==========================================
   CARTES UNIFORMES - Design Moderne & Glassmorphism
   ========================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 40px -10px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.08);
}

/* Effet de brillance au hover */
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

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

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 20px 50px -10px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

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

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-description {
    font-size: 0.9375rem;
    color: var(--light-text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.card-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 1.25rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Variantes de cartes avec glassmorphism */
.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 20px 50px 0 rgba(31, 38, 135, 0.25),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
}

/* Cartes avec gradient border */
.card-gradient-border {
    position: relative;
    background: white;
    border: none;
}

.card-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--gradient-primary);
    -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 var(--transition-normal);
}

.card-gradient-border:hover::before {
    opacity: 1;
}

/* Anciennes classes pour compatibilité */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 40px -10px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

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

.expertise-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 20px 50px -10px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.2);
}

.expertise-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

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

.expertise-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

/* ==========================================
   TOOLS SECTION (Compatibilité)
   ========================================== */
/* ==========================================
   TOOLS SECTION (Compatibilité)
   ========================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.tool-card.featured {
    border: 2px solid var(--primary-color);
}

.tool-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(16, 124, 16, 0.3);
}

.tool-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--light-text);
}

.tool-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.tool-description {
    color: var(--light-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==========================================
   METHODOLOGY TIMELINE
   ========================================== */
.methodology-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 64px;
    width: 2px;
    height: calc(100% + var(--spacing-md));
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
}

.timeline-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: var(--spacing-xs);
}

.timeline-description {
    color: var(--light-text-secondary);
    line-height: 1.6;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-secondary);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-text {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 0.5rem;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.375rem 0.75rem;
    background-color: var(--dark-surface);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-surface);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--dark-surface);
    text-align: center;
    color: var(--text-muted);
}

.footer-tech {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.footer-tech .fa-heart {
    color: var(--primary-color);
}

/* ==========================================
   ALERTS
   ========================================== */
.alert {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    /* Grilles responsive - 2 colonnes sur tablet */
    .card-grid,
    .expertise-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-sm);
    }
    
    .navbar-menu.active {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-link {
        padding: var(--spacing-sm);
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    /* Toutes les grilles passent en 1 colonne sur mobile */
    .card-grid,
    .expertise-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
