/* Hero Homepage Redesign v2 — desktop only (>=992px). Ne modifie pas home.css / responsive/home.css. */
@media (min-width: 992px) {
    :root {
        --header-height-desktop: 130px; /* mesuré via capture d'écran headless à 1920x1080, cf. Task 2 Step 1 */
    }

    /* header + hero + chiffres = 100vh : le hero absorbe l'espace restant,
       la section chiffres garde sa hauteur naturelle */
    .hero-viewport {
        min-height: calc(100vh - var(--header-height-desktop));
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    /* Répartition ~3/4 hero – 1/4 chiffres : apex de la courbe abaissé à mi-chemin
       de l'espace hero, la bande des chiffres reste aérée */
    .hero-viewport .hero-area-v2 {
        -webkit-flex: 3 1 0;
        flex: 3 1 0;
    }
    .hero-viewport .trust-section-v2 {
        -webkit-flex: 1 1 0;
        flex: 1 1 0;
    }

    .hero-area-v2 {
        height: auto;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        padding-top: clamp(19px, 4.25vh, 72px);
        padding-bottom: clamp(70px, 8.9vh, 145px);
    }

    .hero-area-v2 .hero-content {
        padding: clamp(25px, 3.8vh, 50px);
    }

    .hero-area-v2 .hero-content h3 {
        font-size: clamp(27px, 4.4vh, 45px);
        margin-bottom: 0;
    }

    .hero-area-v2 .hero-content h2 {
        font-size: clamp(37px, 5vh, 65px);
        line-height: 1.05;
    }

    .hero-area-v2 span.hero-tag {
        font-size: clamp(25px, 4vh, 49px);
        padding: 2px clamp(16px, 1.6vw, 22px);
        margin-bottom: clamp(4px, 0.6vh, 6px);
    }

    .hero-area-v2 .hero-content .white-btn {
        font-size: clamp(20px, 2.7vh, 42px);
        padding: clamp(8px, 1.25vh, 12px) clamp(18px, 1.8vw, 28px);
    }

    .hero-area-v2 .hero-img-group .hero-img-item img {
        width: clamp(255px, 27vh, 345px);
        height: auto;
    }

    .hero-area-v2 .hero-img-group .hero-img-item:first-child img {
        top: clamp(36px, 7.25vh, 92px);
    }

    .hero-area-v2 .hero-img-group .hero-img-item:last-child img {
        top: clamp(0px, -7.25vh, -13px);
    }

    .hero-area-v2 {
        position: relative;
    }

    .hero-area-v2 .hero-sticky-brand {
        top: clamp(8px, 1.5vh, 20px);
        right: clamp(0px, 1vw, 20px);
        padding: clamp(6px, 1vh, 10px) clamp(14px, 1.5vw, 25px);
        z-index: 2;
    }

    .hero-area-v2 .hero-sticky-brand img {
        width: clamp(140px, 16vw, 220px);
        height: auto;
    }

    .hero-area-v2 .hero-curve {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        width: 100%;
        height: auto;
        display: block;
        z-index: 1;
        pointer-events: none;
    }

    .trust-section-v2 {
        height: auto;
        padding: clamp(14px, 2.5vh, 40px) 0;
    }

    .trust-section-v2 .trust-row-v2 {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .trust-section-v2 .trust-title-col {
        flex: 0 0 33%;
        max-width: 33%;
    }

    .trust-section-v2 .trust-section-title {
        margin-bottom: 0;
    }

    .trust-section-v2 .trust-section-title h3 {
        font-size: clamp(14px, 1.6vh, 22px);
    }

    .trust-section-v2 .trust-section-title h2 {
        font-size: clamp(20px, 3vh, 32px);
        line-height: 1.2;
    }

    .trust-section-v2 .numbers-v2 {
        display: -webkit-flex;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin-top: 0;
    }

    .trust-section-v2 .numbers-v2 .number-group {
        flex: 1;
        text-align: center;
        padding: 0 clamp(10px, 1.5vw, 25px);
        border-left: 1px solid #d8d8d8;
    }

    .trust-section-v2 .numbers-v2 .number-group:first-child {
        border-left: none;
    }

    .trust-section-v2 .trust-item {
        margin-bottom: 0;
    }

    .trust-section-v2 .trust-item .number {
        font-size: clamp(32px, 6.5vh, 70px);
        font-weight: 900;
    }

    .trust-section-v2 .trust-item .text {
        font-size: clamp(13px, 2vh, 20px);
    }
}
