/* -------------------------- STRUCTURE -------------------------- */
.componentJako {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.36fr);
    background-color: var(--color-footer);
    color: var(--color-white);
}

.jakoImage {
    min-width: 0;
    min-height: 100%;
}

.jakoImage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jakoContenu {
    min-width: 0;
    padding: 57px 18.1% 47px 14.35%;
}

@media (min-width: 768px) {
    .componentJako:has(> .jakoImage):has(> .jakoContenu > *) {
        position: relative;
        overflow: hidden;
    }

    .componentJako:has(> .jakoContenu > *) > .jakoImage {
        position: absolute;
        inset: 0;
        min-height: 0;
        border-radius: 0;
    }

    .componentJako:has(> .jakoImage) > .jakoContenu:has(> *) {
        position: relative;
        z-index: 1;
        grid-column: 2;
        background-color: rgba(14, 14, 14, .85);
    }
}

@media (max-width: 1400px) {
    .jakoContenu {
        padding: 50px 12% 50px 10%;
    }
}

@media (max-width: 992px) {
    .componentJako {
        border-radius: 50px;
    }

    .jakoContenu {
        padding: 60px 30px 45px;
    }
}

@media (max-width: 767px) {
    .componentJako {
        display: flex;
        flex-direction: column;
    }

    .jakoImage {
        order: 1;
        min-height: 0;
        aspect-ratio: 390 / 389;
        border-radius: 50px;
        overflow: hidden;
    }
}

/* -------------------------- TEXTES ET BOUTON -------------------------- */
.jakoContenu h2:not(.h4) {
    font-weight: 600;
    text-transform: none;
    margin-bottom: 26px;
}

.jakoParagraphe p + p {
    margin-top: 20px;
}

.jakoPhrase {
    margin-top: 18px;
    font-family: var(--font-title);
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.jakoContenu .boutonCore {
    margin-top: 26px;
}

@media (max-width: 992px) {
    .jakoContenu h2:not(.h4) {
        font-weight: 500;
    }

    .jakoContenu .boutonCore {
        margin-top: 18px;
    }
}
