/* Tablet / Desktop Small (max-width: 1200px) */
@media (max-width: 1200px) {
    .hero-section {
        height: auto;
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        flex: none;
        width: 100%;
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

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

    .expertise-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .accomp-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .accomp-text {
        order: 2;
    }

    .accomp-image {
        order: 1;
        width: 100%;
        max-width: 500px;
    }

    /* Parcours responsive */
    .element-HP .process-container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important;
    }

    .element-HP .arrow-right {
        display: none !important;
    }

    .element-HP .arrow-down {
        display: block !important;
        width: 24px;
        height: 24px;
        margin: 10px 0;
    }

    .element-HP .step {
        width: 100% !important;
        max-width: 400px !important;
        padding: 0 20px !important;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet / Mobile Large (max-width: 790px) */
@media (max-width: 790px) {
    .hero-section {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-content {
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-title {
        font-size: 24px !important;
    }

    .hero-subtitle {
        font-size: 14px !important;
    }

    .expertise-cards-grid {
        grid-template-columns: 1fr;
    }

    .element-HP .div-2 {
        padding: 40px 20px !important;
        align-items: flex-start !important;
        text-align: left;
    }

    .element-HP .nb-titre {
        justify-content: center !important;
    }

    .element-HP .step .div-3,
    .element-HP .step .text-wrapper-10 {
        text-align: left !important;
        justify-content: center !important;
        width: 100%;
        margin: 0 auto;
        max-width: 250px;
    }

    .element-HP .CTA {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .element-HP .bouton-2,
    .element-HP .bouton-3 {
        align-self: center !important;
        width: fit-content !important;
        justify-content: center !important;
    }

    .testimonials-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

/* Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pre-footer h2 {
        font-size: 24px;
    }
}