/* HERO PRIMARY */
.hero-primary {
    padding: 32px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 38px;
}

@media screen and (min-width: 768px) {
    .hero-primary {
        flex-direction: row;
        padding: 39px 0 0 24px;
        gap: 0;
        justify-content: space-between;
    }
}

@media screen and (min-width: 1025px) {
    .hero-primary {
        flex-direction: row;
        padding: 39px 0 0 112px;
        max-width: 1440px;
        margin: auto;
        gap: 0;
        justify-content: space-between;
    }
}

.hero-primary .container-texte {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 24px;
}

@media screen and (min-width: 768px) {
    .hero-primary .container-texte {
        max-width: 400px;
    }
}

@media screen and (min-width: 1025px) {
    .hero-primary .container-texte {
        padding: 0;
        gap: 40px;
        justify-content: center;
        max-width: 520px;
    }
}

.hero-primary .container-texte .container-title {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (min-width: 1025px) {
    .hero-primary .container-texte .container-title {
        gap: 24px;
    }
}

.hero-primary .container-texte .container-title .uptitle {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 16px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-primary .container-texte .container-title h1 {
    font-family: "Roboto Slab", serif;
    font-weight: 300;
    font-size: 1.875rem;
    line-height: 40px;
}

@media screen and (min-width: 1025px) {
    .hero-primary .container-texte .container-title h1 {
        font-size: 3.5rem;
        line-height: 74px;
        max-width: 864px;
        margin: auto;
    }
}

.hero-primary .container-texte .container-title h1 strong {
    font-weight: 700;
}

.hero-primary .container-texte p:not(.uptitle) {
    margin-top: 8px;
}

@media screen and (min-width: 1025px) {
    .hero-primary .container-texte p:not(.uptitle) {
        margin-top: 16px;
        font-weight: 500;
        font-size: 1rem;
    }
}

.hero-primary .container-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 0 0 24px;
    position: relative;
    max-width: 724px;
    margin: auto;
}

@media screen and (min-width: 1025px) {
    .hero-primary .container-image {
        margin: 0 0 0 auto;
    }
}

.hero-primary.-image {
    gap: 28px;
}

.hero-primary.-image .container-image {
    height: 333px;
    padding: 0;
}

@media screen and (min-width: 1025px) {
    .hero-primary.-image .container-image {
        height: 425px;
    }
}

@media screen and (min-width: 1281px) {
    .hero-primary.-image .container-image {
        height: 616px;
    }
}

.hero-primary.-image .container-image img {
    height: 298px;
    object-fit: cover;
    width: 100%;
}

@media screen and (min-width: 1025px) {
    .hero-primary.-image .container-image img {
        height: 375px;
    }
}

@media screen and (min-width: 1281px) {
    .hero-primary.-image .container-image img {
        height: 550px;
    }
}

.hero-primary.-image .container-image img:nth-child(1) {
    align-self: start;
}

.hero-primary.-image .container-image img:nth-child(2) {
    align-self: end;
}

.hero-primary.-video .container-image img:nth-child(1),
.hero-primary.cta.-download .container-image img:nth-child(1),
.hero-primary.cta.-read-more .container-image img:nth-child(1) {
    grid-row: 1/3;
    object-fit: cover;
    height: 292px;
    align-self: center;
}

@media screen and (min-width: 1025px) {

    .hero-primary.-video .container-image img:nth-child(1),
    .hero-primary.cta.-download .container-image img:nth-child(1),
    .hero-primary.cta.-read-more .container-image img:nth-child(1) {
        height: 425px;
    }
}

@media screen and (min-width: 1281px) {

    .hero-primary.-video .container-image img:nth-child(1),
    .hero-primary.cta.-download .container-image img:nth-child(1),
    .hero-primary.cta.-read-more .container-image img:nth-child(1) {
        height: 638px;
    }
}

.hero-primary.-video .container-image img:nth-child(2),
.hero-primary.cta.-download .container-image img:nth-child(2),
.hero-primary.cta.-read-more .container-image img:nth-child(2) {
    object-fit: cover;
    height: 199px;
    padding-right: 24px;
}

@media screen and (min-width: 1025px) {

    .hero-primary.-video .container-image img:nth-child(2),
    .hero-primary.cta.-download .container-image img:nth-child(2),
    .hero-primary.cta.-read-more .container-image img:nth-child(2) {
        height: 289px;
    }
}

@media screen and (min-width: 1281px) {

    .hero-primary.-video .container-image img:nth-child(2),
    .hero-primary.cta.-download .container-image img:nth-child(2),
    .hero-primary.cta.-read-more .container-image img:nth-child(2) {
        height: 434px;
    }
}

.hero-primary.-video .container-image img:nth-child(3),
.hero-primary.cta.-download .container-image img:nth-child(3),
.hero-primary.cta.-read-more .container-image img:nth-child(3) {
    object-fit: cover;
    height: 166px;
}

@media screen and (min-width: 1025px) {

    .hero-primary.-video .container-image img:nth-child(3),
    .hero-primary.cta.-download .container-image img:nth-child(3),
    .hero-primary.cta.-read-more .container-image img:nth-child(3) {
        height: 241px;
    }
}

@media screen and (min-width: 1281px) {

    .hero-primary.-video .container-image img:nth-child(3),
    .hero-primary.cta.-download .container-image img:nth-child(3),
    .hero-primary.cta.-read-more .container-image img:nth-child(3) {
        height: 362px;
    }
}

.hero-primary.-video .container-image .cta,
.hero-primary.cta.-download .container-image .cta,
.hero-primary.cta.-read-more .container-image .cta {
    position: absolute;
    top: 50%;
    left: calc(50% + 14px);
    transform: translate(-50%, -50%);
}

/* END HERO PRIMARY */