/* Grandes tablettes / Petits écrans */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }
}

/* Tablettes / Mobiles paysage */
@media (max-width: 768px) {
    :root {
        --section-padding: 5rem 0;
    }

    .home-hero {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        border-left: none;
        padding-left: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stat-item:nth-child(3) {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Mobiles portrait */
@media (max-width: 640px) {
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .card-icon {
        margin-bottom: 1rem !important;
    }

    .card-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .card-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .card-sub-services {
        font-size: 0.875rem;
        margin: 1rem 0;
    }

    .card-link {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    .home-cta::before {
        display: none; /* Désactiver le gros blur sur petit écran pour perf */
    }
}
