   :root {
            --burgundy: #631919;
            --burgundy-light: #6b2a1e;
            --burgundy-dark: #6D1229;
            --cream: #FFFCF7;
            --light-gray: #F8F9FA;
            --medium-gray: #6C757D;
            --dark-gray: #343A40;
            --white: #FFFFFF;
            --shadow: 0 2px 20px rgba(139, 21, 56, 0.1);
            --shadow-hover: 0 8px 30px rgba(139, 21, 56, 0.15);
            --gold: #e08114;
            --blue: #4fc3f7;
        }

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

        html {
            scroll-behavior: smooth;
            scroll-snap-type: y mandatory;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--dark-gray);
            overflow-x: hidden;
            position: relative;
        }

        /* Arrière-plan animé du body */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 10%, rgba(99, 25, 25, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(224, 129, 20, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(79, 195, 247, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 60% 70%, rgba(99, 25, 25, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 90% 90%, rgba(224, 129, 20, 0.03) 0%, transparent 50%);
            animation: backgroundPulse 15s ease-in-out infinite alternate;
            z-index: -2;
        }

        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 200%;
            height: 200%;
            background: 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23631919" opacity="0.1"/><circle cx="80" cy="30" r="0.5" fill="%23e08114" opacity="0.1"/><circle cx="50" cy="70" r="0.8" fill="%234fc3f7" opacity="0.1"/><circle cx="10" cy="90" r="0.6" fill="%23631919" opacity="0.08"/></svg>') repeat;
            animation: floatingDots 30s linear infinite;
            z-index: -1;
            pointer-events: none;
        }

        @keyframes backgroundPulse {
            0% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.05) rotate(1deg); }
            100% { transform: scale(1) rotate(0deg); }
        }

        @keyframes floatingDots {
            0% { transform: translateX(0) translateY(0); }
            33% { transform: translateX(-20px) translateY(-10px); }
            66% { transform: translateX(10px) translateY(-20px); }
            100% { transform: translateX(0) translateY(0); }
        }

        /* Navbar et footer conservés identiques */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--blue));
            z-index: 1001;
            transition: width 0.1s ease;
        }

        .navbar {
            position: fixed;
            top: -80px;
            left: 0;
            right: 0;
            width: 100%;                      
            background: #efe7db0a;
            backdrop-filter: blur(8px);
            z-index: 100;
            transition: top 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
            animation: slideDown 0.5s forwards;
        }

        .navbar-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 90%;                     
            max-width: 90%;              
            margin: 0 auto;                  
            padding: 1rem 0;                 
        }

        .navbar.scrolled {
            top: 0;
            background: #ffffffe7;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        }

        .navbar.scrolled .navbar-container {
            padding: 0.8rem 0;               
        }

        @keyframes slideDown {
            0% {
                top: -80px;
            }
            100% {
                top: 0;     
            }
        }

        .navbar .logo,
        .navbar .nav-links li a {
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .navbar.scrolled .logo,
        .navbar.scrolled .nav-links li a {
            color: #000000 !important;
        }

        .navbar.scrolled .nav-links li a:hover {
            color: #1d1d1c86 !important;
            transform: scale(1.1); 
        }

        .navbar.scrolled .nav-toggle span {
            display: block;
            height: 3px;
            background: #0a0a0a;
            border-radius: 2px;
        }

        .navbar.scrolled .nav-toggle i {
            font-size: 2rem;
            color: #080808;
            transition: color 0.3s ease;
        }

        .navbar.scrolled .btn {
            background: #efe7db;
            color: #3f3f3a;
            padding: 0.55rem 1.3rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.3s ease, color 0.3s ease;
            margin-top: 0;        
            align-self: center;    
        }

        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: #631418;
            text-decoration: none;
            letter-spacing: 1px;
            user-select: none;
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 2rem;
        }

        .nav-links li a {
            color: #3f3f3a;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: color 0.3s ease;
            position: relative;
        }

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

        .nav-links li a:hover::after {
            width: 100%;
        }

        .nav-links li a:hover {
            color: #cfc6b9;
        }

        .nav-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 24px;
            height: 20px;
            background: none;
            border: none;
            cursor: pointer;
            z-index: 9999;
            margin-top: -20px;
            position: relative; 
            margin-left: auto; 
        }

        .nav-toggle span {
            display: block;
            height: 3px;
            background: #3f3f3a;
            border-radius: 2px;
        }

        .nav-toggle i {
            font-size: 2rem;
            color: #3f3f3a;
            transition: color 0.3s ease;
        }

        .nav-toggle i.fa-times {
            display: none;
        }

        .nav-links.open ~ .nav-toggle i.fa-bars {
            display: none;
        }

        .nav-links.open ~ .nav-toggle i.fa-times {
            display: block;
        }

        .btn-primary {
            background: #631919;
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 2px 20px rgba(139, 21, 56, 0.1);
            position: relative;
            overflow: hidden;
        }

        .btn-primary::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: left 0.5s ease;
        }

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

        .btn-primary:hover {
            background: #6D1229;
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(139, 21, 56, 0.15);
        }

        /* Hero Section avec animations enrichies */
        .hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            justify-items: start;
            gap: 4rem;
            padding: 8rem 5% 4rem;
            min-height: 90vh;
            background: var(--white);
            scroll-snap-align: start;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 100%;
            height: 200%;
            background: conic-gradient(from 45deg, rgba(99, 25, 25, 0.05), rgba(224, 129, 20, 0.05), rgba(79, 195, 247, 0.05), rgba(99, 25, 25, 0.05));
            animation: heroRotate 25s linear infinite;
            z-index: 0;
        }

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

        .hero-content {
            justify-self: start;
            opacity: 0;
            transform: translateX(-50px);
            animation: slideInLeft 1s ease-out 0.5s forwards;
            position: relative;
            z-index: 2;
        }

        @keyframes slideInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero-image {
            justify-self: end;
            opacity: 0;
            transform: translateX(50px);
            animation: slideInRight 1s ease-out 0.7s forwards;
            position: relative;
            z-index: 2;
        }

        @keyframes slideInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero img {
            width: 100%;
            max-width: 550px;
            border-radius: 10px;
            object-fit: cover;
            margin: 0;
            transition: transform 0.3s ease;
            animation: heroImageFloat 6s ease-in-out infinite alternate;
        }

        @keyframes heroImageFloat {
            0% { transform: translateY(0px) scale(1); }
            100% { transform: translateY(-20px) scale(1.02); }
        }

        .hero img:hover {
            animation-play-state: paused;
            transform: scale(1.08) rotate(2deg);
        }

        .hero-content h1 {
            font-size: 3.2rem;
            font-weight: 700;
            color: var(--dark-gray);
            line-height: 1.1;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .hero-content .highlight {
            color: var(--burgundy);
            position: relative;
            display: inline-block;
            animation: textGlow 3s ease-in-out infinite alternate;
        }

        @keyframes textGlow {
            0% { text-shadow: 0 0 5px rgba(99, 25, 25, 0.3); }
            100% { text-shadow: 0 0 20px rgba(99, 25, 25, 0.6), 0 0 30px rgba(99, 25, 25, 0.4); }
        }

        .hero-content .highlight::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--burgundy), var(--gold));
            opacity: 0.3;
            animation: highlightExpand 2s ease-out 1.5s forwards;
        }

        @keyframes highlightExpand {
            to { width: 100%; }
        }

        .hero-content p {
            font-size: 1.2rem;
            color: var(--medium-gray);
            margin-bottom: 2.5rem;
            line-height: 1.6;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 1s forwards, textWave 4s ease-in-out 2s infinite;
        }

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

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

        /* Sections avec animations au scroll */
        .scroll-animate {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

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

        .scroll-animate-left {
            opacity: 0;
            transform: translateX(-100px) rotate(-5deg);
            transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .scroll-animate-left.animate {
            opacity: 1;
            transform: translateX(0) rotate(0deg);
        }

        .scroll-animate-right {
            opacity: 0;
            transform: translateX(100px) rotate(5deg);
            transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

        .scroll-animate-right.animate {
            opacity: 1;
            transform: translateX(0) rotate(0deg);
        }

        .scroll-animate-scale {
            opacity: 0;
            transform: scale(0.5) rotate(180deg);
            transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .scroll-animate-scale.animate {
            opacity: 1;
            transform: scale(1) rotate(0deg);
        }

        .services-overview {
            padding: 6rem 5%;
            background: var(--white);
            scroll-snap-align: start;
            position: relative;
            overflow: hidden;
        }

        .services-overview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                linear-gradient(45deg, transparent 30%, rgba(99, 25, 25, 0.03) 50%, transparent 70%),
                linear-gradient(-45deg, transparent 30%, rgba(224, 129, 20, 0.03) 50%, transparent 70%);
            animation: servicesBg 20s ease-in-out infinite alternate;
            z-index: 0;
        }

        @keyframes servicesBg {
            0% { transform: translateX(-50px) translateY(-25px); }
            100% { transform: translateX(50px) translateY(25px); }
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
            position: relative;
            z-index: 2;
        }

        .section-header h2 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--dark-gray);
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
            position: relative;
        }

        .section-header h2::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(99, 25, 25, 0.1), transparent);
            animation: titleHalo 2s ease-out forwards;
            z-index: -1;
        }

        @keyframes titleHalo {
            to {
                width: 200px;
                height: 200px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--medium-gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
            max-width: 100%;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .service-preview {
            background: var(--white);
            padding: 3rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .service-preview::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(from 90deg, transparent, rgba(255,255,255,0.8), transparent);
            opacity: 0;
            transition: all 0.6s ease;
            animation: serviceRotate 10s linear infinite;
        }

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

        .service-preview:hover::before {
            opacity: 1;
        }

        .service-preview:hover {
            transform: translateY(-20px) rotate(2deg);
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
        }

        .service-preview.aide {
            background: linear-gradient(135deg, #fff5f5, #ffffff);
            border-color: var(--burgundy);
        }

        .service-preview.locations {
            background: linear-gradient(135deg, #fff8f0, #ffffff);
            border-color: var(--gold);
        }

        .service-preview.piscine {
            background: linear-gradient(135deg, #f0fbff, #ffffff);
            border-color: var(--blue);
        }

        .service-icon {
            font-size: 4rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            animation: iconBounce 3s ease-in-out infinite;
        }

        @keyframes iconBounce {
            0%, 100% { transform: translateY(0px) scale(1); }
            50% { transform: translateY(-10px) scale(1.1); }
        }

        .service-preview:hover .service-icon {
            animation-play-state: paused;
            transform: scale(1.3) rotateY(360deg);
        }

        .service-preview.aide .service-icon {
            color: var(--burgundy);
        }

        .service-preview.locations .service-icon {
            color: var(--gold);
        }

        .service-preview.piscine .service-icon {
            color: var(--blue);
        }

        .service-preview h3 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--dark-gray);
            position: relative;
            z-index: 2;
            animation: titlePulse 4s ease-in-out infinite;
        }

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

        .service-preview p {
            font-size: 1.1rem;
            color: var(--medium-gray);
            margin-bottom: 2.5rem;
            line-height: 1.7;
            position: relative;
            z-index: 2;
        }

        .service-btn {
            display: inline-block;
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            z-index: 2;
            border: 2px solid;
            overflow: hidden;
        }

        .service-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: -1;
        }

        .service-btn:hover::before {
            width: 300px;
            height: 300px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .service-btn:hover {
            transform: scale(1.1) rotate(-2deg);
        }

        .service-preview.aide .service-btn {
            background: var(--burgundy);
            color: var(--white);
            border-color: var(--burgundy);
        }

        .service-preview.aide .service-btn:hover {
            background: transparent;
            color: var(--burgundy);
        }

        .service-preview.locations .service-btn {
            background: var(--gold);
            color: var(--white);
            border-color: var(--gold);
        }

        .service-preview.locations .service-btn:hover {
            background: transparent;
            color: var(--gold);
        }

        .service-preview.piscine .service-btn {
            background: var(--blue);
            color: var(--white);
            border-color: var(--blue);
        }

        .service-preview.piscine .service-btn:hover {
            background: transparent;
            color: var(--blue);
        }


        /* Option 1: Animation de remplissage/vidage avec effet d'eau */
.service-preview.piscine {
    background: linear-gradient(135deg, #f0fbff, #ffffff);
    border-color: var(--blue);
    position: relative;
    overflow: hidden;
}

.service-preview.piscine::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(
        to top,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(59, 130, 246, 0.2) 30%,
        rgba(59, 130, 246, 0.1) 60%,
        rgba(59, 130, 246, 0.05) 100%
    );
    transition: height 3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    border-radius: 0 0 20px 20px;
    animation: waterFill 6s ease-in-out infinite;
}

@keyframes waterFill {
    0% { height: 0%; }
    50% { height: 70%; }
    100% { height: 0%; }
}

/* Effet de vagues sur l'eau */
.service-preview.piscine::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 200%;
    height: 60px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 130, 246, 0.4),
        transparent
    );
    animation: wave 4s linear infinite, waterLevel 6s ease-in-out infinite;
    z-index: 2;
    border-radius: 50%;
}

@keyframes wave {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes waterLevel {
    0% { bottom: -60px; opacity: 0; }
    25% { opacity: 1; }
    50% { bottom: calc(70% - 60px); opacity: 1; }
    75% { opacity: 1; }
    100% { bottom: -60px; opacity: 0; }
}

/* Assurer que le contenu reste au-dessus */
.service-preview.piscine .service-icon,
.service-preview.piscine h3,
.service-preview.piscine p,
.service-preview.piscine .service-btn {
    position: relative;
    z-index: 3;
}

/* Animation au hover - Remplissage rapide */
.service-preview.piscine:hover::after {
    animation-play-state: paused;
    height: 80%;
    transition: height 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-preview.piscine:hover::before {
    animation-play-state: paused;
    bottom: calc(80% - 60px);
    transition: bottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Option 2: Animation avec bulles d'eau */
.service-preview.piscine .bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.6);
    animation: bubble-float 4s infinite ease-in-out;
    z-index: 2;
}

.service-preview.piscine .bubble:nth-child(1) {
    width: 10px;
    height: 10px;
    left: 20%;
    animation-delay: 0s;
}

.service-preview.piscine .bubble:nth-child(2) {
    width: 15px;
    height: 15px;
    left: 70%;
    animation-delay: 1s;
}

.service-preview.piscine .bubble:nth-child(3) {
    width: 8px;
    height: 8px;
    left: 50%;
    animation-delay: 2s;
}

@keyframes bubble-float {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0px) scale(0);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateX(20px) scale(0.5);
    }
}

/* Option 3: Animation de gouttes qui tombent */
.service-preview.piscine .water-drop {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    animation: drop-fall 3s infinite linear;
    z-index: 2;
}

.service-preview.piscine .water-drop:nth-child(1) {
    left: 30%;
    animation-delay: 0s;
}

.service-preview.piscine .water-drop:nth-child(2) {
    left: 60%;
    animation-delay: 1s;
}

.service-preview.piscine .water-drop:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
}

@keyframes drop-fall {
    0% {
        top: -10px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Version complète avec tous les effets combinés */
.service-preview.piscine.full-animation {
    position: relative;
    overflow: hidden;
}

.service-preview.piscine.full-animation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%),
        linear-gradient(to top, #2563eb 0%, #38bdf8 50%, #7dd3fc 100%);
    animation: poolFill 8s ease-in-out infinite, waterMove 6s linear infinite;
    z-index: 1;
    border-radius: 0 0 20px 20px;
    opacity: 0.8;
    background-size: 200% 200%;
}

@keyframes poolFill {
    0% { 
        height: 0%; 
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% { 
        height: 75%; 
        opacity: 0.8;
    }
    90% {
        opacity: 0.7;
    }
    100% { 
        height: 0%; 
        opacity: 0;
    }
}
        .company-story {
            background: var(--light-gray);
            padding: 6rem 5%;
            scroll-snap-align: start;
            position: relative;
            overflow: hidden;
        }

        .company-story::before {
            content: '';
            position: absolute;
            top: 0;
            left: -50%;
            width: 200%;
            height: 100%;
            background: 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23631919" opacity="0.1"/></svg>'),
                linear-gradient(45deg, rgba(99, 25, 25, 0.05) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(224, 129, 20, 0.05) 25%, transparent 25%);
            background-size: 50px 50px, 100px 100px, 100px 100px;
            animation: storyDrift 25s linear infinite, storyPulse 8s ease-in-out infinite alternate;
        }

        @keyframes storyDrift {
            0% { transform: translateX(0) translateY(0); }
            100% { transform: translateX(50px) translateY(-25px); }
        }

        @keyframes storyPulse {
            0% { opacity: 0.3; }
            100% { opacity: 0.7; }
        }

        .company-story::after {
            content: '';
            position: absolute;
            top: 20%;
            right: 10%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(79, 195, 247, 0.1), transparent);
            border-radius: 50%;
            animation: floatingCircle 12s ease-in-out infinite alternate;
        }

        @keyframes floatingCircle {
            0% { transform: translateY(0px) translateX(0px) scale(1); }
            50% { transform: translateY(-30px) translateX(20px) scale(1.2); }
            100% { transform: translateY(0px) translateX(0px) scale(1); }
        }

        .story-content {
            max-width: 100%;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .story-content h2 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--dark-gray);
            margin-bottom: 2rem;
            position: relative;
            animation: titleWobble 5s ease-in-out infinite;
        }

        @keyframes titleWobble {
            0%, 100% { transform: rotate(0deg) scale(1); }
            25% { transform: rotate(1deg) scale(1.02); }
            75% { transform: rotate(-1deg) scale(1.02); }
        }

        .story-highlight {
            color: var(--burgundy);
            font-weight: 700;
            position: relative;
            animation: highlightGlow 3s ease-in-out infinite alternate;
        }

        @keyframes highlightGlow {
            0% { text-shadow: 0 0 5px rgba(99, 25, 25, 0.5); }
            100% { text-shadow: 0 0 15px rgba(99, 25, 25, 0.8), 0 0 25px rgba(99, 25, 25, 0.6); }
        }

        .story-content p {
            font-size: 1.2rem;
            color: var(--medium-gray);
            line-height: 1.8;
            margin-bottom: 2rem;
            animation: textSway 6s ease-in-out infinite alternate;
        }

        @keyframes textSway {
            0% { transform: translateX(0px); }
            100% { transform: translateX(5px); }
        }

        .story-values {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 4rem 0;
            position: relative;
            z-index: 2;
        }

        .value-item {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: var(--shadow);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
        }

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

        .value-item:hover::before {
            top: 100%;
        }

        .value-item:hover {
            transform: translateY(-15px) rotate(3deg) scale(1.05);
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
        }

        .value-item i {
            font-size: 2.5rem;
            color: var(--burgundy);
            margin-bottom: 1rem;
            animation: iconSpin 8s linear infinite;
            transition: all 0.4s ease;
        }

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

        .value-item:hover i {
            animation-play-state: paused;
            transform: scale(1.3) rotate(180deg);
            color: var(--gold);
        }

        .value-item h4 {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark-gray);
            animation: titleBounce 4s ease-in-out infinite;
        }

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

        .value-item p {
            font-size: 1rem;
            color: var(--medium-gray);
            line-height: 1.6;
        }

        .contact-cta {
            background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
            color: var(--white);
            padding: 6rem 5%;
            text-align: center;
            scroll-snap-align: start;
            position: relative;
            overflow: hidden;
        }

        .contact-cta::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: 
                radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px),
                conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
            background-size: 50px 50px, 200px 200px;
            animation: ctaTwinkle 15s linear infinite, ctaRotate 30s linear infinite;
        }

        @keyframes ctaTwinkle {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 0.1; transform: scale(1.1); }
        }

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

        .contact-cta::after {
            content: '';
            position: absolute;
            bottom: 10%;
            left: 20%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(224, 129, 20, 0.2), transparent);
            border-radius: 50%;
            animation: ctaFloating 10s ease-in-out infinite alternate;
        }

        @keyframes ctaFloating {
            0% { transform: translateY(0px) translateX(0px); }
            100% { transform: translateY(-40px) translateX(30px); }
        }

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

        .cta-content h2 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            animation: ctaTitlePulse 4s ease-in-out infinite;
        }

        @keyframes ctaTitlePulse {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.05) rotate(1deg); }
        }

        .cta-content p {
            font-size: 1.2rem;
            margin-bottom: 3rem;
            opacity: 0.9;
            animation: ctaTextFloat 6s ease-in-out infinite alternate;
        }

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

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

        .btn-white {
            background: var(--white);
            color: var(--burgundy);
            padding: 1.2rem 2.5rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border: 2px solid var(--white);
            position: relative;
            overflow: hidden;
            animation: buttonBreathe 5s ease-in-out infinite;
        }

        @keyframes buttonBreathe {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.03); }
        }

        .btn-white::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--burgundy);
            border-radius: 50%;
            transition: all 0.5s ease;
            z-index: -1;
        }

        .btn-white:hover::before {
            width: 300px;
            height: 300px;
            transform: translate(-50%, -50%);
        }

        .btn-white:hover {
            background: transparent;
            color: var(--white);
            transform: translateY(-5px) rotate(-3deg) scale(1.1);
            animation-play-state: paused;
        }

        .btn-outline {
            background: transparent;
            color: var(--white);
            padding: 1.2rem 2.5rem;
            border: 2px solid var(--white);
            border-radius: 12px;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            position: relative;
            overflow: hidden;
            animation: buttonBreathe 5s ease-in-out infinite reverse;
        }

        .btn-outline::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: var(--white);
            border-radius: 50%;
            transition: all 0.5s ease;
            z-index: -1;
        }

        .btn-outline:hover::before {
            width: 300px;
            height: 300px;
            transform: translate(-50%, -50%);
        }

        .btn-outline:hover {
            background: var(--white);
            color: var(--burgundy);
            transform: translateY(-5px) rotate(3deg) scale(1.1);
            animation-play-state: paused;
        }

        /* Footer conservé identique */
        .footer {
            background: var(--dark-gray);
            color: var(--white);
            padding: 3rem 5% 2rem;
            text-align: center;
        }

        .footer p {
            opacity: 0.8;
            margin-bottom: 1rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-links a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s ease;
            position: relative;
        }

        .footer-links a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--white);
            transition: width 0.3s ease;
        }

        .footer-links a:hover::after {
            width: 100%;
        }

        .footer-links a:hover {
            opacity: 1;
        }

        /* Animations pour éléments qui apparaissent au scroll */
        .animate-on-scroll {
            animation-delay: 0.2s;
        }

        .animate-on-scroll:nth-child(2) {
            animation-delay: 0.4s;
        }

        .animate-on-scroll:nth-child(3) {
            animation-delay: 0.6s;
        }

        /* Responsive breakpoints identiques */
        @media (max-width: 1200px) {
            .navbar {
                padding: 1rem 5%;
            }

            .logo {
                font-size: 1.4rem;
            }
            .nav-links li a {
                color: #242322;
                font-size: 1.4rem;
                padding: 1rem 0; 
                font-weight: 600;
                text-decoration: none;
                transition: color 0.3s ease;
            }
            .nav-links li a:hover {
                color: #1f1e1cbd;
            }

            .navbar.scrolled .nav-links {
                background: #ebebe8;
            }

            .navbar.scrolled .nav-links li a {
                color: #e7dbd0;
            }
            .navbar.scrolled .nav-links li a:hover {
                color: #e7dbd0b6;
            }

            .btn-primary {
                display: none;
            }

            .nav-toggle {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .hero {
                grid-template-columns: 1fr;
                text-align: center;
                padding: 6rem 4% 3rem;
                gap: 3rem;
                margin-top: 25%;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .hero-actions {
                justify-content: center;
                flex-wrap: wrap;
            }

            .hero-image i {
                font-size: 8rem;
            }

            .section-header h2 {
                font-size: 2.2rem;
            }

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

            .service-preview {
                padding: 2rem;
            }

            .story-content h2,
            .cta-content h2 {
                font-size: 2.2rem;
            }

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

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

        @media (max-width: 1060px) {
            .navbar {
                padding: 0.8rem 4%;
            }

            .logo {
                font-size: 1.3rem;
            }
            .nav-links li a {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 800px) {
            .nav-links {
                position: fixed;
                top: 0;
                right: 0;
                height: 100vh;
                width: 100vw;
                background: #ffffffe7;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 2rem;
                transform: translateX(100%);
                transition: transform 0.3s ease;
                border-radius: 0;
                z-index: 9999;
                gap: 10px;
                overflow-y: auto;
                margin: 0 auto;
            }

            .nav-links.open,
            .navbar.scrolled .nav-links.open {
                transform: translateX(0);
            }

            .nav-links li {
                margin-bottom: 1.5rem;
                list-style: none;
            }

            .nav-links li a {
                color: #242322;
                font-size: 1.4rem;
                padding: 1rem 0; 
                font-weight: 600;
                text-decoration: none;
                transition: color 0.3s ease;
            }
            .nav-links li a:hover {
                color: #1f1e1cbd;
            }

            .navbar.scrolled .nav-links {
                background: #ebebe8;
            }

            .navbar.scrolled .nav-links li a {
                color: #e7dbd0;
            }
            .navbar.scrolled .nav-links li a:hover {
                color: #e7dbd0b6;
            }

            .btn-primary {
                display: none;
            }

            .nav-toggle {
                display: block;
            }
        }

        html, body {
            overflow-x: hidden;
            max-width: 100%;
        }

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