/* Reset et Variables Web 3.0 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Décalage des ancres pour la navbar fixe */
[id] {
    scroll-margin-top: 100px;
}

:root {
    /* Couleurs primaires - Palette vibrante */
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-light: #5ce1ff;
    --secondary: #ff6b35;
    --accent: #ff006e;
    --accent-orange: #ff9500;
    
    /* Couleurs de fond */
    --dark: #0a0a0f;
    --dark-light: #15151f;
    --dark-card: #1a1a2e;
    --dark-elevated: #1f1f35;
    
    /* Nuances de gris */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Couleurs texte */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    
    /* Gradients modernes - Vibrantes et énergiques */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff006e 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #ff6b35 100%);
    --gradient-accent: linear-gradient(135deg, #ff006e 0%, #ff9500 100%);
    --gradient-cosmic: linear-gradient(135deg, #00d4ff 0%, #ff006e 50%, #ff9500 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6b35 0%, #ffd93d 100%);
    --gradient-ocean: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Ombres modernes */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.4);
    
    /* Animations */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 769px) {
    body {
        cursor: none;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilitaires */
.gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   SPLASH SCREEN OVERLAY
   ===================================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-screen .splash-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.splash-screen .splash-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.splash-screen .splash-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-secondary);
    top: -150px;
    left: -150px;
    animation: floatSplash 8s ease-in-out infinite;
}

.splash-screen .splash-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    bottom: -100px;
    right: -100px;
    animation: floatSplash 8s ease-in-out infinite reverse;
}

@keyframes floatSplash {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.splash-screen .splash-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-screen .splash-logo {
    height: 350px;
    width: auto;
    max-width: 90vw;
    filter: drop-shadow(0 0 60px rgba(0, 212, 255, 0.5)) drop-shadow(0 0 120px rgba(255, 107, 53, 0.3));
    animation: logoFloat 4s ease-in-out infinite;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

.splash-screen .splash-logo.shrinking {
    animation: none;
}

.splash-screen .splash-scroll-indicator {
    position: absolute;
    bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-secondary);
    z-index: 10;
    animation: fadeInUp 1s ease 0.5s both;
}

.splash-screen .splash-scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}

.splash-screen .scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.splash-screen .scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { 
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% { 
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

@media (max-width: 768px) {
    .splash-screen .splash-logo {
        height: 180px !important;
        max-width: 85vw;
    }
    
    .splash-scroll-indicator {
        bottom: 3rem;
    }
}

/* Curseur personnalisé - petit point + étoile qui suit */
.custom-cursor {
    position: fixed;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    z-index: 99999;
    transition: transform var(--transition-fast);
    opacity: 1;
    box-shadow: 0 0 10px var(--primary);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    width: 80px;
    height: 80px;
    background-image: url('img/etoile-club-marketing.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 99998;
    transition: all var(--transition-base);
    opacity: 0.8;
    filter: drop-shadow(0 0 8px var(--primary)) drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
    transform: translate(-50%, -50%);
}

body:hover .custom-cursor {
    opacity: 1;
}

a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--secondary)) drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
}

/* Navigation ultra-moderne */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.08) 0%,
        rgba(10, 10, 15, 0.95) 30%,
        rgba(10, 10, 15, 0.98) 70%,
        rgba(255, 107, 53, 0.08) 100%
    );
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

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

.logo {
    height: 180px !important;
    width: auto;
    max-width: 85vw;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.6)) drop-shadow(0 0 60px rgba(0, 212, 255, 0.3));
    transform: scale(1);
}

.navbar.scrolled .logo {
    height: 110px !important;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transform: scale(1);
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-menu a {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--gradient-secondary);
    transition: transform var(--transition-base);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary);
}

.nav-menu a:hover {
    color: var(--primary);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.nav-menu a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* Hero Section Web 3.0 avec particules */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    padding: 0 2rem 4rem;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

#particles-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: float 25s infinite ease-in-out;
    will-change: transform;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-secondary);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-accent);
    bottom: -200px;
    right: -200px;
    animation-delay: -8s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: 40%;
    right: 15%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg); 
    }
    33% { 
        transform: translate(80px, -80px) scale(1.15) rotate(120deg); 
    }
    66% { 
        transform: translate(-80px, 80px) scale(0.85) rotate(240deg); 
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1200px;
    padding: 10rem 2rem 2rem;
    position: relative;
    transition: transform var(--transition-slow) var(--ease-out-cubic);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -3px;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title .line:first-child {
    animation-delay: 0.4s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.6s;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    font-weight: 300;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5rem;
    margin-bottom: 6rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Boutons modernes */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: none;
}

@media (max-width: 768px) {
    .btn-primary, .btn-secondary {
        cursor: pointer;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary svg {
    transition: transform var(--transition-base);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 1;
    animation: fadeIn 1s ease 1.5s both;
    z-index: 5;
    text-align: center;
    width: auto;
}

.scroll-indicator span {
    display: block;
    width: 100%;
    text-align: center;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    /* animation: scrollLine 2s infinite ease-in-out; */
    margin: 0 auto;
    position: relative;
}

@keyframes scrollLine {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(20px);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn {
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--white);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-5px) scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--gray);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInBounce 1s ease 1.5s forwards, bounceVertical 2s infinite 2.5s;
}

@keyframes fadeInBounce {
    to { opacity: 1; }
}

@keyframes bounceVertical {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

/* Sections avec alignement alterné */
.section-header-left, .section-header-right, .section-header-centered {
    max-width: 1400px;
    margin: 0 auto 5rem;
    padding: 0 3rem;
}

.section-header-right {
    text-align: right;
}

.section-header-centered {
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gray);
    font-weight: 300;
}

/* Services avec Scroll Horizontal Automatique */
.services-horizontal {
    background: var(--dark-light);
    position: relative;
    height: 400vh; /* 4 cartes = 4 écrans de scroll */
}

.horizontal-container {
    position: relative;
    height: 100%;
}

.sticky-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--dark-light);
    z-index: 10;
}

.sticky-wrapper.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.sticky-wrapper.is-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
}

.section-header-sticky {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    width: 100%;
    padding: 0 2rem;
}

.section-header-sticky .section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff 0%, #ff6b35 50%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}

.section-header-sticky .section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.horizontal-scroll-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.service-card-modern {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: var(--dark-light);
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 7rem 2rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 0;
}

.service-card-modern.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.service-card-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.3), 
        rgba(255, 107, 53, 0.3),
        rgba(255, 0, 110, 0.3));
    -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.6s ease;
}

.service-card-modern .card-content {
    max-width: 600px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.service-card-modern .card-glow {
    display: none;
}

.service-card-modern::before,
.service-card-modern::after {
    display: none;
}

.service-card-modern:hover {
    transform: none;
}

.service-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: center;
}

.card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
        rgba(0, 212, 255, 0.4) 0%, 
        rgba(255, 107, 53, 0.2) 30%,
        transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    animation: glowPulse 3s ease-in-out infinite;
}

.service-card-modern:hover .card-glow {
    opacity: 1;
    transform: scale(1.1) rotate(45deg);
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.9), 
        rgba(255, 107, 53, 0.9));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 
        0 20px 50px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.9), 
        rgba(255, 0, 110, 0.9));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-icon svg {
    width: 45px;
    height: 45px;
    color: var(--white);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.service-card-modern:hover .service-icon {
    transform: rotateY(360deg) scale(1.15);
    box-shadow: 
        0 25px 60px rgba(0, 212, 255, 0.6),
        0 10px 25px rgba(255, 107, 53, 0.5);
}

.service-card-modern:hover .service-icon::before {
    opacity: 1;
}

.service-card-modern h3 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, 
        #00d4ff 0%, 
        #ff6b35 50%, 
        #ff006e 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.4));
    text-align: center;
}

.service-card-modern p {
    color: var(--gray);
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    text-align: center;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.service-card-modern p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: auto;
}

.service-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.service-tags {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: center;
}

.service-tags span {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.15), 
        rgba(255, 107, 53, 0.15));
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 25px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #00d4ff;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-tags span::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(135deg, #00d4ff, #ff6b35);
    -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;
}

.service-card-modern:hover .service-tags span {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.3), 
        rgba(255, 107, 53, 0.3));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.5),
        0 5px 15px rgba(255, 107, 53, 0.4);
}

.service-card-modern:hover .service-tags span::before {
    opacity: 1;
}

.scroll-hint {
    text-align: center;
    margin-top: 3rem;
    color: var(--gray);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Ancienne section services - on garde pour compatibilité */
.horizontal-scroll-wrapper {
    display: flex;
    gap: 3rem;
    padding: 0 3rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

/* Règle supprimée - conflit avec le scroll horizontal */

.service-card-modern[data-direction="left"] {
    transform: translateX(-100px) translateY(100px);
}

.service-card-modern[data-direction="right"] {
    transform: translateX(100px) translateY(100px);
}

.service-card-modern.animate {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.service-card-modern:hover .card-glow {
    opacity: 1;
}

.service-card-modern:hover {
    transform: translateY(-20px) scale(1.03);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.3);
}

.service-card-modern:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

.service-card-modern h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.service-card-modern p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-card-modern:hover .service-tags span {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

/* Portfolio Section */
.portfolio-section {
    min-height: 100vh;
    padding: 2rem 3rem 5rem;
    background: var(--dark);
    position: relative;
}

.portfolio-main-header {
    margin: 0 !important;
    text-align: center !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem !important;
}

.portfolio-main-header .section-tag {
    font-size: 1.3rem !important;
    margin: 0 !important;
    margin-bottom: 0.5rem !important;
    padding: 0.6rem 2rem !important;
    display: inline-block !important;
}

.portfolio-main-header h2,
.portfolio-main-header h2.section-title-large,
h2.section-title-large,
.section-title-large {
    font-size: clamp(5rem, 15vw, 12rem) !important;
    font-weight: 900 !important;
    background: var(--gradient-2) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin: 0 !important;
    margin-top: 0.3rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
    line-height: 1 !important;
    letter-spacing: -3px !important;
}

.portfolio-main-header p,
.portfolio-main-header p.section-subtitle,
.portfolio-main-header .section-subtitle {
    font-size: 1.6rem !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
    margin-top: 0.3rem !important;
    margin-bottom: 1rem !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.portfolio-category {
    font-size: 2rem;
    color: var(--text-primary);
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    text-align: center;
}

.portfolio-category-header {
    text-align: left;
    margin: 2rem 0 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-category-header h3 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.portfolio-category-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.portfolio-section .section-header-right {
    margin: 0.5rem 0;
}

.portfolio-section .section-header-right h3 {
    font-size: 2.5rem;
    margin: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(80px);
}

.portfolio-item[data-direction="left"] {
    transform: translateX(-80px) translateY(80px);
}

.portfolio-item[data-direction="right"] {
    transform: translateX(80px) translateY(80px);
}

.portfolio-item.animate {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.2);
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-image-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.portfolio-item:hover .portfolio-image-placeholder::before {
    left: 100%;
}

.placeholder-content {
    text-align: center;
    color: var(--gray);
}

.placeholder-content svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.placeholder-content p {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

.portfolio-info .portfolio-type {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info .portfolio-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.portfolio-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
    color: var(--secondary);
    transform: translateX(5px);
}

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

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

.app-download-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.app-card:hover .app-download-link {
    color: var(--secondary);
    transform: translateX(5px);
}

/* Apps Section */
.apps-section {
    min-height: 100vh;
    padding: 10rem 3rem;
    background: var(--dark-light);
    position: relative;
}

.apps-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-card[data-direction="left"] {
    transform: translateX(-80px) translateY(80px);
}

.app-card[data-direction="right"] {
    transform: translateX(80px) translateY(80px);
}

.app-card.animate {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.app-mockup {
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
}

.app-card:hover .app-mockup {
    transform: scale(1.05) rotateY(5deg);
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--dark-card);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    border: 8px solid #1a1a1a;
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #0a0a0f;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--dark);
    border-radius: 30px;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--gray);
}

.app-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.app-placeholder p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.app-info h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.app-info p,
.app-info .app-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.app-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.app-badges span {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

/* Stats Section */
.stats {
    background: var(--dark);
    padding: 8rem 3rem;
    min-height: auto;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--dark-card);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.8);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item.animate {
    opacity: 1;
    transform: scale(1);
}

.stat-item:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary);
    transform: scale(1.05) translateY(-10px);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: var(--dark-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    max-width: 900px;
    padding: 3rem;
    z-index: 10;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.cta-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -2px;
}

.cta-content p {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Moderne */
.footer-modern {
    background: var(--dark);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-secondary);
    opacity: 0.3;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 0 0 280px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex: 1;
    justify-content: flex-end;
}

.footer-brand a {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.footer-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.3));
    transition: all var(--transition-base);
}

.footer-logo:hover {
    filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.5));
    transform: scale(1.05);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    position: relative;
}

.social-link svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
}

.social-link:hover {
    border-color: transparent;
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Instagram - dégradé coloré */
.social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

/* Facebook - bleu */
.social-link[aria-label="Facebook"]:hover {
    background: #1877F2;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

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

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

.footer-column a,
.footer-address {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-address {
    margin-top: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

/* Section Technologies */
.tech-section {
    padding: 8rem 2rem;
    background: var(--dark);
    position: relative;
}

.section-header-center {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header-center.portfolio-main-header {
    margin: 0 !important;
    padding: 0 !important;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.tech-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.tech-card:hover {
    transform: translateY(-8px);
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.tech-icon {
    font-size: 3rem;
    filter: grayscale(0.3);
    transition: all var(--transition-base);
}

.tech-card:hover .tech-icon {
    filter: grayscale(0);
    transform: scale(1.2) rotateY(360deg);
}

.tech-card span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Section Testimonials */
.testimonials-section {
    padding: 8rem 2rem;
    background: var(--dark-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    top: -200px;
    right: -200px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 3rem;
    border-radius: 24px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.glass-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* CTA Moderne */
.cta-modern {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    padding: 8rem 2rem;
}

.cta-bg-effects {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.cta-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-secondary);
    top: -200px;
    left: -100px;
}

.cta-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    bottom: -150px;
    right: -100px;
}

.cta-modern .cta-content {
    text-align: center;
    max-width: 1000px;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.cta-modern .cta-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.cta-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.2;
}

.cta-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 300;
}

.cta-modern .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-features {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-feature svg {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-main {
        flex-wrap: wrap;
        gap: 3rem;
    }
    
    .footer-brand {
        flex: 0 0 100%;
    }
    
    .footer-links {
        flex: 1;
        justify-content: space-between;
        gap: 2rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-card {
        aspect-ratio: 1 / 1;
        padding: 1.5rem 1rem;
        min-height: 140px;
        display: flex;
        justify-content: center;
    }
    
    .tech-icon {
        font-size: 2.5rem;
    }
    
    .tech-card span {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stats .stat-number {
        font-size: 2rem;
    }
    
    .cta-features {
        gap: 1.5rem;
    }
}

/* Footer */
/* Footer */
.footer {
    background: var(--dark);
    padding: 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer p {
    color: var(--gray);
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

/* Section 3D Draggable Card */
.drag-section {
    padding: 10rem 2rem;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.drag-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 4s infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.15; }
}

.drag-container {
    max-width: 600px;
    margin: 5rem auto;
    perspective: 1500px;
    position: relative;
}

.drag-card {
    width: 100%;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    user-select: none;
}

@media (min-width: 769px) {
    .drag-card {
        cursor: none;
    }
}

@media (max-width: 768px) {
    .drag-card {
        cursor: grab;
    }
    .drag-card:active {
        cursor: grabbing;
    }
}

.drag-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.drag-card.flipped .drag-card-inner {
    transform: rotateY(180deg);
}

.drag-card-front,
.drag-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 30px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.drag-card-front {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.drag-card-back {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    transform: rotateY(180deg);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.drag-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float-icon 3s infinite ease-in-out;
}

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

.drag-card-front h3,
.drag-card-back h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.drag-card-front p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.drag-card-back ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    width: 100%;
}

.drag-card-back li {
    font-size: 1.1rem;
    padding: 0.6rem 0;
    color: var(--text-primary);
    text-align: left;
    line-height: 1.4;
}

.drag-hint {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

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

/* Section Vertical Slider */
.vertical-slider-section {
    position: relative;
    height: 800vh; /* Hauteur très étendue - beaucoup moins sensible */
    background: var(--dark-light);
    overflow: visible;
    padding: 0;
}

.vertical-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.vertical-slider-container.fixed {
    position: fixed !important;
    top: 0 !important;
}

.vertical-slider-container.bottom {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
}

.slider-content {
    position: absolute;
    top: 10rem; /* Plus de marge pour éviter d'être coupé par la navbar */
    left: 4rem;
    z-index: 10;
}

.slider-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.slider-counter {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.current-slide {
    color: var(--primary);
    font-size: 2rem;
}

.divider {
    margin: 0 0.5rem;
}

.vertical-slides {
    width: 100%;
    height: 100vh;
    position: relative;
}

.v-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%) scale(0.9); /* Vient de la droite avec zoom */
    transition: all 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.v-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
    animation: slideReveal 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.v-slide.prev {
    opacity: 0;
    transform: translateX(-100%) scale(0.9); /* Sort vers la gauche avec zoom */
    z-index: 1;
}

@keyframes slideReveal {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateX(-5%) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.v-slide-content {
    max-width: 800px;
    padding: 4rem;
    text-align: center;
    position: relative;
    z-index: 3;
    margin-top: 15vh; /* Descendre le contenu */
}

.v-slide.active .v-slide-content {
    animation: contentFadeIn 1s cubic-bezier(0.76, 0, 0.24, 1) 0.3s both;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-number {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.v-slide.active .slide-number {
    animation: numberScale 0.8s cubic-bezier(0.76, 0, 0.24, 1) 0.2s both;
}

@keyframes numberScale {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.v-slide-content h3 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.v-slide-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.slide-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--text-primary);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.slide-link:hover {
    background: var(--text-primary);
    color: var(--dark);
    transform: scale(1.05);
}

.slider-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 3rem;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out infinite;
}

.slider-scroll-indicator span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.slider-scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    animation: bounceArrow 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes bounceArrow {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(10px);
    }
}

.slider-nav {
    position: absolute;
    right: 4rem;
    bottom: 4rem; /* En bas au lieu du milieu */
    display: flex;
    flex-direction: row; /* Horizontal au lieu de vertical */
    gap: 1rem;
    z-index: 10;
}

.slider-btn {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .drag-card {
        height: 380px;
    }
    
    .drag-card-front,
    .drag-card-back {
        padding: 2rem 1.5rem;
    }
    
    .drag-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .drag-card-front h3,
    .drag-card-back h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .drag-card-front p {
        font-size: 0.95rem;
    }
    
    .drag-card-back li {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
    
    .drag-card-back ul {
        margin-top: 1rem;
    }
    
    .slider-content {
        left: 2rem;
        top: 4rem;
    }
    
    .slider-nav {
        right: 2rem;
        flex-direction: row;
        bottom: 2rem;
        top: auto;
        transform: none;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-showcase {
        grid-template-columns: 1fr;
    }
    
    .service-card-horizontal {
        min-width: 380px;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: default !important;
    }
    
    body * {
        cursor: auto !important;
    }
    
    a, button, .btn-primary, .btn-secondary {
        cursor: pointer !important;
    }
    
    .custom-cursor, .cursor-follower {
        display: none !important;
    }
    
    .nav-container {
        padding: 0 2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
    
    .section-header-left, .section-header-right, .section-header-centered {
        padding: 0 2rem;
        text-align: center;
    }
    
    .section-header-sticky {
        position: relative !important;
        top: auto !important;
        left: 0 !important;
        transform: none !important;
        margin-bottom: 3rem !important;
        padding: 2rem 2rem 2rem 2rem !important;
        z-index: 50 !important;
        background: linear-gradient(180deg, rgba(10, 10, 20, 1) 0%, rgba(10, 10, 20, 0.98) 60%, rgba(10, 10, 20, 0.9) 80%, rgba(10, 10, 20, 0) 100%) !important;
        width: 100% !important;
    }
    
    .section-header-sticky .section-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem) !important;
        margin-bottom: 0.8rem !important;
    }
    
    .section-header-sticky .section-subtitle {
        font-size: clamp(0.95rem, 1.3vw, 1.2rem) !important;
        margin-bottom: 1rem !important;
    }
    
    .horizontal-scroll-content {
        padding: 0 2rem;
        margin-top: 2rem;
    }
    
    .service-card-horizontal {
        min-width: 320px;
        max-width: 320px;
        height: auto;
        padding: 2rem;
    }
    
    .service-card-horizontal h3 {
        font-size: 1.8rem;
    }
    
    .horizontal-scroll-wrapper {
        flex-direction: column;
        padding: 0 2rem;
    }
    
    .service-card-modern {
        min-width: 100%;
        z-index: 1 !important;
        padding: 12rem 2rem 2rem !important;
        justify-content: flex-start !important;
    }
    
    .service-card-modern.active {
        z-index: 1 !important;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
        border-radius: 18px;
    }
    
    .service-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .service-card-modern h3 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .service-card-modern p {
        font-size: clamp(1rem, 1.5vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .portfolio-section, .apps-section {
        padding: 6rem 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-item {
        min-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        height: 120px !important;
        max-width: 60vw;
    }
    
    .navbar.scrolled .logo {
        height: 70px !important;
        max-width: 55vw;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
    
    .portfolio-main-header h2,
    .portfolio-main-header h2.section-title-large,
    h2.section-title-large,
    .section-title-large {
        font-size: clamp(2.5rem, 10vw, 5rem) !important;
        letter-spacing: -1.5px !important;
    }
    
    .portfolio-main-header p,
    .portfolio-main-header p.section-subtitle,
    .portfolio-main-header .section-subtitle {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 100px !important;
        max-width: 55vw;
    }
    
    .navbar.scrolled .logo {
        height: 60px !important;
        max-width: 50vw;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .apps-showcase {
        gap: 3rem;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .service-card-horizontal {
        min-width: 280px;
        max-width: 280px;
    }
}

/* =====================================================
   SECTION MANIFESTE
   ===================================================== */
.manifesto-section {
    padding: 8rem 2rem;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.manifesto-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.manifesto-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.manifesto-quote {
    text-align: center;
    position: relative;
}

.quote-mark {
    font-size: 10rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 0.5;
    display: block;
    margin-bottom: -2rem;
}

.manifesto-quote blockquote {
    border: none;
    padding: 0;
    margin: 0;
}

.manifesto-quote blockquote p {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.manifesto-quote blockquote p:last-child {
    margin-bottom: 0;
}

.manifesto-quote blockquote strong {
    color: var(--text-primary);
    font-weight: 600;
}

.manifesto-author {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.author-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.author-title {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .manifesto-section {
        padding: 5rem 1.5rem;
    }
    
    .quote-mark {
        font-size: 6rem;
    }
    
    .manifesto-quote blockquote p {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

/* =====================================================
   MODAL CONTACT
   ===================================================== */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-light) 100%);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--glass-bg);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: rgba(255, 107, 53, 0.2);
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-header h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Service Selector - Grille de sélection */
.service-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.service-option {
    cursor: pointer;
}

.service-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-option input:checked + .service-card {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 
        0 0 0 4px rgba(0, 212, 255, 0.1),
        0 10px 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
}

.service-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

.service-card .service-icon {
    font-size: 2rem;
    line-height: 1;
}

.service-card .service-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 14px;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.btn-submit svg {
    transition: transform var(--transition-base);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-card .service-icon {
        font-size: 1.5rem;
    }
    
    .service-card .service-name {
        font-size: 0.75rem;
    }
}