/* Responsive CSS pour Ornaviseltru.com */

/* Tablettes (jusqu'à 1024px) */
@media screen and (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablettes (jusqu'à 768px) */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Menu mobile */
    .main-nav .nav-list {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav .nav-list.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    .nav-link.cta {
        display: inline-block;
        margin-top: 1rem;
    }
}

/* Mobiles (jusqu'à 480px) */
@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-section {
        height: auto;
        padding: 8rem 0 4rem;
    }
    
    .audit-form {
        padding: 1.5rem;
    }
    
    .policy-container {
        padding: 2rem 1.5rem;
    }
}
