/* Responsive Styles */

/* Tablettes */
@media screen and (max-width: 992px) {
    /* Ajustements carrousel vidéo */
    .video-description {
        width: 90%;
        margin: 1rem auto 0;
    }
    
    .video-description h3 {
        font-size: 1.5rem;
    }
    
    .video-description p {
        font-size: 1rem;
    }
    
    .smartphone-frame {
        width: 260px;
        height: 520px;
    }
    .partners-grid {
        gap: 2rem;
    }
    
    .partners-row {
        gap: 2rem;
    }
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Mobiles */
@media screen and (max-width: 768px) {
    /* Ajustements carrousel vidéo */
    .video-container {
        margin: 0 -15px;
    }
    
    .video-description {
        width: 100%;
        padding: 0 15px;
    }
    
    .video-description h3 {
        font-size: 1.3rem;
    }
    
    .vertical-container {
        width: 80%;
        padding-bottom: 142.22%; /* Ratio 9:16 pour 80% de largeur */
        max-width: 300px;
        margin: 0 auto;
    }
    
    .carousel-navigation {
        padding: 0 10px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
    .partners-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 2rem;
        justify-items: center;
        max-width: 400px;
        margin: 0 auto;
    }
    

    .partners-grid > .partner-logo:last-child {
        grid-column: span 2;
        justify-self: center;
    }    

    .partners-row {
        display: contents;
    }
    
    .partner-logo {
        width: 100px;
        height: 100px;
        margin: 0;
    }
    
    .partner-logo img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background-color: var(--secondary-color);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .burger {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Petits mobiles */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
