/* Media Queries pour Responsive Design */
@media (max-width: 992px) {
    .presentation-content {
        flex-direction: column;
        padding: 40px 30px;
    }

    .profile-image,
    .profile-text {
        flex: 0 0 100%;
        transform: translateX(0);
    }

    .profile-image {
        margin-bottom: 30px;
        animation: fadeIn 1s forwards 0.3s;
        opacity: 0;
    }
    
    .profile-text {
        animation: fadeIn 1s forwards 0.6s;
        opacity: 0;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .image-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--background-color);
        box-shadow: var(--shadow);
        transition: 0.4s;
        z-index: 1000;
    }

    nav.active {
        left: 0;
        box-shadow: var(--shadow-strong);
    }

    nav ul {
        flex-direction: column;
        padding: 30px;
    }

    nav ul li {
        margin: 15px 0;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    nav.active ul li:nth-child(1) { transition-delay: 0.1s; }
    nav.active ul li:nth-child(2) { transition-delay: 0.2s; }
    nav.active ul li:nth-child(3) { transition-delay: 0.3s; }
    nav.active ul li:nth-child(4) { transition-delay: 0.4s; }
    nav.active ul li:nth-child(5) { transition-delay: 0.5s; }

    nav.active ul li {
        opacity: 1;
        transform: translateX(0);
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(74, 111, 165, 0.1);
        transition: var(--transition);
        z-index: 1010;
    }

    .menu-toggle:hover {
        background-color: rgba(74, 111, 165, 0.2);
        color: var(--accent-color);
    }

    .menu-toggle.active {
        color: var(--accent-color);
        transform: rotate(90deg);
    }

    .parallax-section {
        height: auto;
        min-height: 100vh;
    }

    .presentation-content {
        padding: 30px 20px;
    }

    .profile-text h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    #travaux h2,
    #services h2,
    #avantages h2,
    #contact h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .image-container {
        height: 250px;
    }

    .travaux-grid,
    .services-grid,
    .avantages-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}