 /* =========================================================
   SECTION VISION & AMBITION
========================================================= */

.vision-ambition-section {
    position: relative;

    width: 100%;

    padding: 75px 0;

    background: #ffffff;

    color: #171717;
}


/* =========================================================
   CONTAINER
========================================================= */

.vision-ambition-container {
    width: min(1160px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    column-gap: 50px;

    align-items: stretch;

    min-width: 0;
}


/* =========================================================
   IMAGE
========================================================= */

.vision-image-wrapper {
    position: relative;

    width: 100%;

    height: auto;
    min-height: 100%;
    align-self: stretch;

    overflow: hidden;

    background: #eeeeee;
}


/* =========================================================
   PETITE LIGNE DÉCORATIVE
========================================================= */

.vision-image-wrapper::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background: #f06408;

    opacity: 0;
}


/* =========================================================
   IMAGE
========================================================= */

.vision-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


.vision-image-wrapper:hover .vision-image {
    transform: scale(1.025);
}


/* =========================================================
   CONTENU
========================================================= */

.vision-content {
    width: 100%;

    max-width: 550px;

    align-self: stretch;

    padding-top: 0;
}

.vision-ambition-section .activity-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 8px;
    width: fit-content;
    min-width: 0;
    margin-top: 24px;
    padding: 10px 24px;
    background-color: #ffffff;
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.vision-ambition-section .activity-link .activity-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

.vision-ambition-section .activity-link:hover {
    background-color: #f06408;
    text-decoration: none;
    color: #ffffff;
    border-color: #f06408;
}

.image-right{
    background-color: #f2f4f6;
}

/* Introduction activités : texte gauche / image droite */
.vision-ambition-section.has-image-right {
    background: #ffffff;
    padding: 70px 0;
}

.vision-ambition-section.has-image-right.image-right {
    background: #f2f4f6;
}

.vision-ambition-section.has-image-right .vision-ambition-container {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    column-gap: 56px;
    align-items: stretch;
}

.vision-ambition-section.has-image-right .vision-content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vision-ambition-section.has-image-right .vision-title {
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
}

.vision-ambition-section.has-image-right .vision-text {
    max-width: 480px;
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

.vision-ambition-section.has-image-right .vision-text p {
    margin: 0 0 14px;
}

.vision-ambition-section.has-image-right .vision-image-wrapper {
    min-height: 360px;
}

/* =========================================================
   LABEL
========================================================= */

.vision-label {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 17px;

    font-family:
        'Poppins',
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;

    line-height: 1;

    font-weight: 600;

    color: #202020;

    letter-spacing: 0.2px;

    text-transform: uppercase;
}


.vision-label-line {
    display: block;

    width: 18px;
    height: 3px;

    flex: 0 0 18px;

    background: #f06408;
}


/* =========================================================
   TITRE
========================================================= */

.vision-title {
    margin: 0 0 17px;

    font-family:
        'Poppins',
        Arial,
        Helvetica,
        sans-serif;

    font-size: 27px;

    line-height: 1.18;

    font-weight: 500;

    letter-spacing: -0.4px;

    color: #181818;
}


/* =========================================================
   TEXTE
========================================================= */

.vision-text {
    max-width: 520px;

    font-family:
        'Poppins',
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;

    line-height: 1.55;

    font-weight: 400;

    color: #4b4b4b;
}


.vision-text p {
    margin: 0 0 10px;
}


.vision-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LISTE
========================================================= */

.vision-text ul {
    list-style: none;

    margin: 5px 0 10px;

    padding: 0;
}


.vision-text li {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 6px;

    margin: 0;

    padding: 0;

    line-height: 1.55;
}


.vision-text .bullet {
    display: inline-block;

    color: #222222;

    font-size: 9px;

    line-height: 1.55;

    flex: 0 0 auto;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 900px) {

    .vision-ambition-section {
        padding: 60px 0;
    }


    .vision-ambition-container,
    .vision-ambition-section.has-image-right .vision-ambition-container,
    .vision-ambition-section.has-image-left .vision-ambition-container {
        width: min(900px, calc(100% - 40px));
        grid-template-columns: 1fr;
        row-gap: 32px;
        column-gap: 0;
        align-items: start;
    }


    .vision-ambition-section.has-image-right .vision-content,
    .vision-ambition-section.has-image-left .vision-content {
        max-width: 100%;
    }


    .vision-ambition-section.has-image-right .vision-text,
    .vision-ambition-section.has-image-left .vision-text {
        max-width: 100%;
    }


    .vision-ambition-section.has-image-right .vision-image-wrapper,
    .vision-ambition-section.has-image-left .vision-image-wrapper {
        min-height: 0;
        height: 340px;
    }


    .vision-image-wrapper {
        height: 340px;
        min-height: 0;
    }


    .vision-content {
        align-self: start;
        max-width: 100%;
    }


    .vision-title {
        font-size: 25px;

        line-height: 1.2;
    }


    .vision-text {
        max-width: 100%;

        font-size: 14px;

        line-height: 1.5;
    }
}


/* =========================================================
   TABLETTE PORTRAIT
========================================================= */

@media (max-width: 800px) {

    .vision-ambition-container,
    .vision-ambition-section.has-image-right .vision-ambition-container,
    .vision-ambition-section.has-image-left .vision-ambition-container {
        grid-template-columns: 1fr;

        row-gap: 35px;

        align-items: start;
    }


    .vision-image-wrapper {
        height: 380px;
        min-height: 0;
    }


    .vision-ambition-section.has-image-right .vision-image-wrapper {
        min-height: 0;
        height: 380px;
    }


    .vision-content {
        max-width: 100%;

        align-self: start;
    }


    .vision-text {
        max-width: 100%;

        font-size: 14px;

        line-height: 1.55;
    }


    .vision-title {
        font-size: 28px;

        line-height: 1.2;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .vision-ambition-section {
        padding: 45px 0;
    }


    .vision-ambition-container {
        width: calc(100% - 30px);

        row-gap: 28px;
    }


    /* =====================================================
       IMAGE
    ===================================================== */

    .vision-image-wrapper,
    .vision-ambition-section.has-image-right .vision-image-wrapper,
    .vision-ambition-section.has-image-left .vision-image-wrapper {
        height: 300px;
        min-height: 0;
    }

    .vision-ambition-section .activity-link {
        width: 100%;
        max-width: 220px;
    }


    /* =====================================================
       LABEL
    ===================================================== */

    .vision-label {
        margin-bottom: 13px;

        font-size: 11px;
    }


    .vision-label-line {
        width: 16px;
        height: 2px;

        flex-basis: 16px;
    }


    /* =====================================================
       TITRE
    ===================================================== */

    .vision-title {
        margin-bottom: 15px;

        font-size: 24px;

        line-height: 1.2;
    }


    /* =====================================================
       TEXTE
    ===================================================== */

    .vision-text {
        font-size: 14px;

        line-height: 1.55;
    }


    .vision-text p {
        margin-bottom: 9px;
    }
}


/* =========================================================
   PETIT MOBILE
========================================================= */

@media (max-width: 400px) {

    .vision-ambition-container {
        width: calc(100% - 24px);
    }


    /* Image */

    .vision-image-wrapper {
        height: 250px;
    }


    /* Titre */

    .vision-title {
        font-size: 22px;

        line-height: 1.2;
    }


    /* Texte */

    .vision-text {
        font-size: 13px;

        line-height: 1.55;
    }
}