/* Reset et variables CSS */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #0a1929;
    --accent-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --text-light: #78909c;
    --background-light: #1a2332;
    --background-dark: #0a0f1a;
    --background-section: #0f1419;
    --border-color: #1e2a3a;
    --shadow-light: 0 2px 10px rgba(0, 212, 255, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 212, 255, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 212, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #00bcd4 100%);
    --gradient-elegant: linear-gradient(135deg, #00d4ff 0%, #00e676 50%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0f1a 0%, #0f1419 100%);
    --gradient-section: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    --gradient-cyan: linear-gradient(135deg, #00d4ff 0%, #00e676 50%, #00d4ff 100%);
    --gradient-teal: linear-gradient(135deg, #00bcd4 0%, #00d4ff 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-dark);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Particules d'événementiel - Teal/Cyan */
        radial-gradient(circle at 5% 10%, rgba(0, 212, 255, 0.08) 0%, transparent 15%),
        radial-gradient(circle at 95% 90%, rgba(0, 188, 212, 0.06) 0%, transparent 15%),
        radial-gradient(circle at 20% 80%, rgba(0, 230, 118, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.07) 0%, transparent 18%),
        radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.04) 0%, transparent 25%),
        /* Étoiles scintillantes cyan */
        radial-gradient(circle at 10% 50%, rgba(0, 212, 255, 0.4) 0%, transparent 3%),
        radial-gradient(circle at 90% 30%, rgba(0, 230, 118, 0.3) 0%, transparent 4%),
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.35) 0%, transparent 3%),
        radial-gradient(circle at 70% 80%, rgba(0, 188, 212, 0.25) 0%, transparent 5%);
    animation: globalEventParticles 25s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes globalEventParticles {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    20% { 
        transform: translateY(-15px) rotate(1deg) scale(1.02);
        opacity: 0.5;
    }
    40% { 
        transform: translateY(-30px) rotate(0deg) scale(1.05);
        opacity: 0.6;
    }
    60% { 
        transform: translateY(-20px) rotate(-1deg) scale(1.03);
        opacity: 0.4;
    }
    80% { 
        transform: translateY(-10px) rotate(0.5deg) scale(1.01);
        opacity: 0.5;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 188, 212, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(0, 188, 212, 0.04) 0%, transparent 40%);
    animation: backgroundFloat 15s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes backgroundFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-20px) rotate(1deg) scale(1.05);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-40px) rotate(0deg) scale(1.1);
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-20px) rotate(-1deg) scale(1.05);
        opacity: 0.5;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-cyan);
    animation: navbarGlow 3s ease-in-out infinite;
}

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

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

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--accent-color);
}

.logo-accent {
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.8) 0%, rgba(0, 212, 255, 0.1) 50%, rgba(0, 230, 118, 0.1) 100%);
    z-index: 2;
}


.hero-glass-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: var(--accent-color);
    max-width: 800px;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.hero-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero-main {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-sub {
    display: block;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(4);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-elegant);
    color: var(--accent-color);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--background-section);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Confettis cyan */
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.06) 0%, transparent 35%),
        /* Confettis vert */
        radial-gradient(circle at 40% 60%, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
        /* Étoiles cyan */
        radial-gradient(circle at 60% 20%, rgba(0, 212, 255, 0.3) 0%, transparent 8%),
        radial-gradient(circle at 30% 80%, rgba(0, 188, 212, 0.25) 0%, transparent 10%);
    animation: sectionEventParticles 18s ease-in-out infinite;
    z-index: -1;
}

@keyframes sectionEventParticles {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    33% { 
        transform: translateY(-25px) rotate(2deg) scale(1.08);
        opacity: 0.6;
    }
    66% { 
        transform: translateY(-15px) rotate(-1deg) scale(1.05);
        opacity: 0.5;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-dark);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 1rem;
}

.about-team-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

.about-team-image:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-heavy);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--background-dark);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Confettis cyan */
        radial-gradient(circle at 15% 85%, rgba(0, 212, 255, 0.06) 0%, transparent 25%),
        radial-gradient(circle at 85% 15%, rgba(0, 188, 212, 0.05) 0%, transparent 30%),
        /* Confettis vert */
        radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.04) 0%, transparent 35%),
        /* Étoiles scintillantes cyan */
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.4) 0%, transparent 6%),
        radial-gradient(circle at 75% 75%, rgba(0, 188, 212, 0.3) 0%, transparent 8%),
        radial-gradient(circle at 40% 60%, rgba(0, 230, 118, 0.35) 0%, transparent 5%);
    animation: servicesEventParticles 22s ease-in-out infinite;
    z-index: -1;
}

@keyframes servicesEventParticles {
    0%, 100% { 
        transform: translateX(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateX(15px) rotate(1deg) scale(1.05);
        opacity: 0.5;
    }
    50% { 
        transform: translateX(30px) rotate(0deg) scale(1.1);
        opacity: 0.6;
    }
    75% { 
        transform: translateX(20px) rotate(-1deg) scale(1.08);
        opacity: 0.4;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.service-card {
    background: var(--background-section);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 230, 118, 0.02) 0%, transparent 50%);
    animation: cardParticles 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes cardParticles {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-8px) rotate(180deg) scale(1.05);
        opacity: 0.3;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyan);
    opacity: 0.02;
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

/* Animation de rythme pour l'icône de volume */
.service-card:nth-child(1):hover .service-icon {
    animation: volumeRhythm 1.2s ease-in-out infinite;
}

@keyframes volumeRhythm {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(0.9);
    }
    75% {
        transform: scale(1.05);
    }
}

/* Effet d'ondes sonores pour l'icône de volume */
.service-card:nth-child(1):hover .service-icon {
    position: relative;
    overflow: visible;
}

.service-card:nth-child(1):hover .service-icon::before,
.service-card:nth-child(1):hover .service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: soundWaves 2s ease-out infinite;
}

.service-card:nth-child(1):hover .service-icon::after {
    animation-delay: 0.5s;
}

@keyframes soundWaves {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

/* Effet d'éclairage progressif pour la carte d'éclairage */
.service-card:nth-child(2) {
    position: relative;
    overflow: hidden;
    background: rgba(15, 20, 25, 0.3) !important;
    border: 1px solid rgba(30, 42, 58, 0.5) !important;
    transition: all 0.8s ease-in-out;
}

.service-card:nth-child(2) h3 {
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.8s ease-in-out;
}

.service-card:nth-child(2) p {
    color: rgba(176, 190, 197, 0.3);
    transition: all 0.8s ease-in-out;
}

.service-card:nth-child(2) .service-features li {
    color: rgba(176, 190, 197, 0.3);
    transition: all 0.8s ease-in-out;
}

.service-card:nth-child(2) .service-features li::before {
    color: rgba(0, 212, 255, 0.3);
    transition: all 0.8s ease-in-out;
}

.service-card:nth-child(2) .service-icon {
    position: relative;
    z-index: 3;
    transition: all 0.6s ease-in-out;
    background: rgba(0, 212, 255, 0.2) !important;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.service-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 230, 118, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.service-card:nth-child(2):hover::before {
    opacity: 1;
}

.service-card:nth-child(2)::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            transparent 0deg,
            rgba(0, 212, 255, 0.1) 45deg,
            rgba(0, 230, 118, 0.1) 90deg,
            rgba(0, 212, 255, 0.1) 135deg,
            transparent 180deg,
            transparent 360deg);
    opacity: 0;
    transform: rotate(0deg);
    transition: all 1.2s ease-in-out;
    z-index: 2;
    pointer-events: none;
}

.service-card:nth-child(2):hover::after {
    opacity: 1;
    transform: rotate(360deg);
}

/* Animation de l'icône d'ampoule */
.service-card:nth-child(2):hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 40px rgba(0, 212, 255, 0.4),
        0 0 60px rgba(0, 212, 255, 0.2);
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        var(--gradient-cyan) !important;
}

/* Effet de lueur sur le texte */
.service-card:nth-child(2):hover h3 {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transition: all 0.6s ease-in-out;
}

.service-card:nth-child(2):hover p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
    transition: all 0.6s ease-in-out;
}

/* Animation des puces de la liste */
.service-card:nth-child(2):hover .service-features li {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
    transition: all 0.4s ease-in-out;
}

.service-card:nth-child(2):hover .service-features li::before {
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
    transition: all 0.4s ease-in-out;
}

/* Effet d'illumination de la carte */
.service-card:nth-child(2):hover {
    background: var(--background-section) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.15);
}

/* Animation de rotation pour l'icône d'engrenage */
.service-card:nth-child(3):hover .service-icon i {
    animation: gearRotation 2s linear infinite;
}

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

/* Call-to-Action de la section services */
.services-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--background-section);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyan);
    opacity: 0.02;
    transition: left 0.8s ease;
}

.services-cta:hover::before {
    left: 0;
}

.services-cta h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.services-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Animation de serrage pour la clé à molette */
.service-card:nth-child(4):hover .service-icon i {
    animation: wrenchTightening 1.5s ease-in-out infinite;
    transform-origin: 80% 20%;
}

@keyframes wrenchTightening {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-15deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-dark);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--background-section);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 40%, rgba(236, 72, 153, 0.02) 0%, transparent 50%);
    animation: galleryFloat 28s ease-in-out infinite;
    z-index: -1;
}

@keyframes galleryFloat {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    33% { 
        transform: translateY(-15px) scale(1.02) rotate(0.5deg);
        opacity: 0.4;
    }
    66% { 
        transform: translateY(-25px) scale(0.98) rotate(-0.5deg);
        opacity: 0.5;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-grid-2x1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-grid-3x1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .gallery-grid-3x1 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-elegant);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 0.05;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

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

.gallery-image {
    height: 320px;
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-image .image-placeholder {
    height: 100%;
    font-size: 2.5rem;
    margin: 0;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--accent-color);
    padding: 2.5rem 2rem 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease-out;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-modal-content {
    background: var(--background-section);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-dark);
}

.gallery-modal-header h3 {
    color: var(--accent-color);
    margin: 0;
    font-size: 1.5rem;
}

.gallery-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.gallery-modal-close:hover {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: rotate(90deg);
}

.gallery-modal-body {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.gallery-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-modal-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-modal-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.gallery-modal-image {
    cursor: pointer;
    position: relative;
}

.gallery-modal-image::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-modal-item:hover .gallery-modal-image::after {
    opacity: 1;
}

.gallery-modal-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.gallery-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-modal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--accent-color);
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-modal-item:hover .gallery-modal-overlay {
    transform: translateY(0);
}

.gallery-modal-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.gallery-modal-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsive pour la galerie modale */
@media (max-width: 768px) {
    .gallery-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .gallery-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .gallery-modal-body {
        padding: 1.5rem;
    }
    
    .gallery-grid-modal {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-modal-image {
        height: 200px;
        font-size: 2rem;
    }
}

/* Image Viewer Modal */
.image-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-viewer-modal.active {
    display: flex;
    opacity: 1;
}

.image-viewer-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-viewer-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-viewer-container img:hover {
    transform: scale(1.02);
}

.image-viewer-info {
    margin-top: 1rem;
    text-align: center;
    color: var(--accent-color);
    max-width: 600px;
}

.image-viewer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.image-viewer-info p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.image-viewer-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.image-viewer-prev,
.image-viewer-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.image-viewer-prev {
    left: -70px;
}

.image-viewer-next {
    right: -70px;
}

.image-viewer-prev:hover,
.image-viewer-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .image-viewer-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .image-viewer-container img {
        max-height: 70vh;
    }
    
    .image-viewer-close {
        top: 10px;
        right: 10px;
    }
    
    .image-viewer-prev,
    .image-viewer-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .image-viewer-prev {
        left: 10px;
    }
    
    .image-viewer-next {
        right: 10px;
    }
    
    .image-viewer-info h3 {
        font-size: 1.2rem;
    }
    
    .image-viewer-info p {
        font-size: 0.9rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--background-section);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 230, 118, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.03) 0%, transparent 50%);
    animation: testimonialsFloat 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes testimonialsFloat {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-15px) scale(1.02) rotate(1deg);
        opacity: 0.5;
    }
}

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

.testimonial-card {
    background: var(--background-dark);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyan);
    opacity: 0.02;
    transition: left 0.6s ease;
}

.testimonial-card:hover::before {
    left: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

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

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

.author-info h4 {
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--background-dark);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 25%, rgba(236, 72, 153, 0.02) 0%, transparent 50%);
    animation: contactFloat 24s ease-in-out infinite;
    z-index: -1;
}

@keyframes contactFloat {
    0%, 100% { 
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-10px) translateX(10px) rotate(0.5deg);
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-20px) translateX(0) rotate(0deg);
        opacity: 0.5;
    }
    75% { 
        transform: translateY(-15px) translateX(-10px) rotate(-0.5deg);
        opacity: 0.4;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--background-section);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-dark);
    color: var(--accent-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

/* Styles hCaptcha */
.hcaptcha-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.h-captcha {
    transform: scale(0.9);
    transform-origin: center;
}

@media (max-width: 768px) {
    .h-captcha {
        transform: scale(0.8);
    }
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-dark);
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.contact-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.contact-details h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
}

.contact-social h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-cyan);
    color: var(--background-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--background-section);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(99, 102, 241, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.02) 0%, transparent 50%);
    animation: faqFloat 26s ease-in-out infinite;
    z-index: -1;
}

@keyframes faqFloat {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    40% { 
        transform: translateY(-12px) scale(1.01) rotate(0.3deg);
        opacity: 0.4;
    }
    80% { 
        transform: translateY(-18px) scale(0.99) rotate(-0.3deg);
        opacity: 0.5;
    }
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-section);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-cyan);
    opacity: 0.03;
    transition: left 0.4s ease;
}

.faq-question:hover::before {
    left: 0;
}

.faq-question:hover {
    background: var(--background-dark);
    transform: translateX(5px);
}

.faq-question h3 {
    margin: 0;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--accent-color);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 50%);
    animation: footerFloat 32s ease-in-out infinite;
    z-index: -1;
}

@keyframes footerFloat {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-25px) scale(1.02) rotate(1deg);
        opacity: 0.4;
    }
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section .social-links {
    margin-top: 1rem;
}

.footer-section .social-link {
    background: var(--gradient-cyan);
    color: var(--background-dark);
    box-shadow: 0 6px 18px rgba(0, 212, 255, 0.35);
}

.footer-section .social-link:hover {
    background: var(--gradient-cyan);
    box-shadow: 0 10px 28px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px) scale(1.08);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--accent-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 15px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
    font-size: 1.75rem;
    }



    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

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

/* Event Particles - Confettis et étoiles */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Confettis cyan */
        radial-gradient(circle at 15% 25%, rgba(0, 212, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 85% 75%, rgba(0, 188, 212, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 45% 55%, rgba(0, 230, 118, 0.2) 0%, transparent 30%),
        /* Confettis teal */
        radial-gradient(circle at 25% 75%, rgba(0, 188, 212, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 75% 25%, rgba(0, 212, 255, 0.2) 0%, transparent 25%),
        /* Étoiles scintillantes cyan */
        radial-gradient(circle at 60% 40%, rgba(0, 212, 255, 0.6) 0%, transparent 5%),
        radial-gradient(circle at 40% 60%, rgba(0, 230, 118, 0.4) 0%, transparent 8%),
        radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.5) 0%, transparent 6%);
    animation: eventParticles 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes eventParticles {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-30px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-60px) rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-30px) rotate(270deg) scale(1.1);
        opacity: 0.5;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility: reduce motion for users preferring less animation */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
    body::before,
    body::after,
    .hero::after,
    .services::before,
    .about::before,
    .testimonials::before,
    .faq::before,
    .contact::before {
        animation: none !important;
    }
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Legal Pages Styles */
.legal-page {
    padding: 8rem 0 4rem;
    background: var(--background-dark);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.legal-header h1 {
    color: var(--accent-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--background-section);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.legal-footer p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-links .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 6rem 0 2rem;
    }
    
    .legal-header h1 {
        font-size: 2.5rem;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
