/* ===================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   =================================== */

/* ===== TABLETTES (max-width: 968px) ===== */
@media (max-width: 968px) {

    /* Navigation */
    .nav-container {
        padding: 3.5rem 2.5rem;
        flex-wrap: wrap;
        position: relative;
    }

    .logo-img {
        height: auto;
        width: 100px;
        min-width: 70px;
    }

    .logo,
    .theme-toggle {
        flex: none;
    }

    .logo-icon {
        order: 1;
    }

    .desktop-buttons {
        display: none;
    }

    .mobile-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-buttons .theme-toggle,
    .mobile-buttons .language-toggle {
        padding: 0.75rem;
    }

    .mobile-buttons .theme-icon,
    .mobile-buttons .language-icon {
        width: 40px;
        height: 40px;
    }

    .nav-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }

    .nav-menu {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        background-color: var(--white);
        text-align: center;
        transition: max-height 0.3s ease;
        gap: 0;
        transform: none;
        position: static;
        left: auto;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1.5rem 0;
    }

    .nav-link {
        font-size: 1.125rem;
        padding: 0.5rem 1rem;
        display: block;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1rem;
        min-height: auto;
        margin-top: 150px;
    }

    .hero-image {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-illustration {
        font-size: 10rem;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .single-feature-icon {
        height: 2.5rem;
    }

    .payment-icons {
        height: 2.5rem;
    }

    .payment-card-icon {
        height: 1.7rem;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===== TÉLÉPHONES (max-width: 640px) ===== */
@media (max-width: 640px) {

    /* Hero */
    .hero {
        padding: 1.5rem 1rem;
        margin-top: 150px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    /* Services */
    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature h3 {
        font-size: 1.1rem;
    }

    .feature p {
        font-size: 0.9rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card h3 {
        font-size: 1.25rem;
    }

    .price {
        font-size: 2rem;
    }

    /* Contact */
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.75rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 0.95rem;
    }
}