/* Responsive Styles */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Tablettes et grands écrans mobiles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .service-cards,
    .pricing-cards,
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        width: 100%;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 101;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary-color);
        transition: transform 0.3s, opacity 0.3s;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--background-color);
        padding: 80px 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 20px 0;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .service-card,
    .pricing-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .service-card:last-child,
    .pricing-card:last-child {
        margin-bottom: 0;
    }
    
    .testimonial-cards {
        padding-bottom: 20px;
    }
    
    .testimonial-card {
        flex: 0 0 300px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup p {
        margin: 0 0 15px 0;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 50vh;
    }
    
    .testimonial-card {
        flex: 0 0 260px;
        padding: 20px;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
}
