/* =========================================
   BNI GESTION - PRESENTATION
========================================= */

.bni-presentation {
    width: 100%;
    background: #ffffff;
    padding: 60px 0;
}

.bni-presentation__container {
    width: min(100% - 80px, 1180px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 55px;
}

/* =========================================
   CONTENT
========================================= */

.bni-presentation__content {
    max-width: 560px;
}

.bni-presentation__eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #258052;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.bni-presentation__title {
    margin: 0 0 14px;

    color: #202020;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.28;
}

.bni-presentation__text {
    color: #858585;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

.bni-presentation__text p {
    margin: 0 0 11px;
}

.bni-presentation__text p:last-child {
    margin-bottom: 0;
}

/* =========================================
   BUTTON
========================================= */

.bni-presentation__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 41px;
    margin-top: 21px;
    padding: 0 21px;

    background-color: #258052;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.bni-presentation__button:hover {
    background-color: #1d6843;
    color: #ffffff;
    transform: translateY(-1px);
}

/* =========================================
   IMAGE
========================================= */

.bni-presentation__image {
    width: 100%;
    overflow: hidden;
}

.bni-presentation__image img {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 1.45 / 1;

    object-fit: cover;
    border-radius: 0px;

    transition: transform 0.4s ease;
}

.bni-presentation__image:hover img {
    transform: scale(1.015);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .bni-presentation {
        padding: 50px 0;
    }

    .bni-presentation__container {
        width: min(100% - 50px, 900px);
        gap: 35px;
    }

    .bni-presentation__title {
        font-size: 22px;
    }

    .bni-presentation__text {
        font-size: 12.5px;
        line-height: 1.65;
    }

    .bni-presentation__eyebrow {
        font-size: 12px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .bni-presentation {
        padding: 45px 0;
    }

    .bni-presentation__container {
        width: calc(100% - 32px);

        display: flex;
        flex-direction: column;

        gap: 30px;
    }

    .bni-presentation__content {
        max-width: none;
        width: 100%;
    }

    .bni-presentation__eyebrow {
        margin-bottom: 10px;

        font-size: 11px;
    }

    .bni-presentation__title {
        margin-bottom: 15px;

        font-size: 22px;
        line-height: 1.3;
    }

    .bni-presentation__text {
        font-size: 13px;
        line-height: 1.7;
    }

    .bni-presentation__text p {
        margin-bottom: 12px;
    }

    .bni-presentation__button {
        width: auto;
        min-height: 44px;
        margin-top: 18px;
        padding: 0 20px;

        font-size: 13px;
    }

    .bni-presentation__image {
        width: 100%;
    }

    .bni-presentation__image img {
        aspect-ratio: 16 / 10;
    }
}


/* =========================================
   PETITS MOBILES
========================================= */

@media (max-width: 480px) {

    .bni-presentation {
        padding: 35px 0;
    }

    .bni-presentation__container {
        width: calc(100% - 28px);
        gap: 25px;
    }

    .bni-presentation__title {
        font-size: 20px;
    }

    .bni-presentation__text {
        font-size: 12.5px;
    }

    .bni-presentation__button {
        width: 100%;
    }

    .bni-presentation__image img {
        aspect-ratio: 1.4 / 1;
    }
}
