:root {
    --color-primary: #ff3b0a; /* Rouge-orangé vif (anciennement #0ea5e9) */
    --color-secondary: #cc2f08; /* Rouge foncé (anciennement #7c3aed) */
}

html {
    scroll-behavior: smooth;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(255,59,10,0.9) 0%, rgba(204,47,8,0.9) 100%);
}

.feature-card {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card-item {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pricing-card-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.4s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

.mobile-menu.open {
    max-height: 100vh;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parallax-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-reverse {
    animation: float-reverse 6s ease-in-out infinite;
}

.pulse-slow {
    animation: pulse-slow 8s infinite;
}

.popup-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    overflow-y: auto;
}

.popup-inner {
    background: white;
    border-radius: 1rem;
    max-width: 800px;
    margin: 5% auto;
    padding: 2rem;
    position: relative;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.wave {
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}
