/* Responsive Design */

/* Tablettes */
@media screen and (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .commands-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
    }

    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        padding: 120px 20px 80px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .bot-illustration {
        width: 250px;
        height: 250px;
    }

    .bot-illustration img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .bot-illustration i {
        font-size: 100px;
    }

    .features-showcase,
    .contact-image-wrapper {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 30px;
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .command-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .commands-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Petits mobiles */
@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .feature-card {
        padding: 25px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .command-header h3 {
        font-size: 1.1rem;
    }

    /* Modal responsive */
    .modal-content {
        margin: 10px;
        border-radius: 15px;
    }

    .modal-header {
        padding: 30px 20px;
        border-radius: 15px 15px 0 0;
    }

    .modal-header i {
        font-size: 3rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 25px 20px;
    }

    .modal-intro {
        font-size: 1rem;
    }

    .modal-feature {
        flex-direction: column;
        gap: 15px;
    }

    .modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .modal-text h3 {
        font-size: 1.2rem;
    }

    .modal-quote {
        padding: 20px;
    }

    .modal-quote p {
        font-size: 1rem;
        padding-left: 30px;
    }

    .modal-close {
        right: 15px;
        top: 15px;
        font-size: 28px;
    }
}