/**
 * Fichier  : /pages/sport-business/consulting/assets/css/bridge.css
 * Fonction : banner de transition vers Media et Event
 */


/* ==================================================
   SECTION
================================================== */

.consulting .bridge {
    position: relative;
    overflow: hidden;
}

.consulting .bridge {
    min-height: clamp(480px, 58vw, 680px);
}

.consulting .bridge {
    box-sizing: border-box;
    padding:
        clamp(5em, 8vw, 8em)
        var(--consulting-padding);
}

.consulting .bridge {
    display: flex;
    align-items: center;
}

.consulting .bridge {
    background: #090909;
}

.consulting .bridge {
    color: #fff;
}


/* ==================================================
   BACKGROUND
================================================== */

.consulting .bridge > .background {
    position: absolute;
    inset: -3%;
    z-index: 0;
}

.consulting .bridge > .background {
    background-image: var(--bridge-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.consulting .bridge > .background {
    transform: scale(1.03);
}

.consulting .bridge > .background {
    filter:
        saturate(.72)
        contrast(1.08)
        brightness(.78);
}


/* ==================================================
   OVERLAY
================================================== */

.consulting .bridge > .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.consulting .bridge > .overlay {
    pointer-events: none;
}

.consulting .bridge > .overlay {
    background:
        radial-gradient(
            ellipse 58% 58% at 50% 50%,
            rgba(120, 0, 0, .08) 0%,
            rgba(20, 0, 0, .10) 48%,
            transparent 74%
        ),
        linear-gradient(
            90deg,
            rgba(5, 5, 5, .78) 0%,
            rgba(5, 5, 5, .34) 34%,
            rgba(5, 5, 5, .28) 66%,
            rgba(5, 5, 5, .78) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5, 5, 5, .58) 0%,
            rgba(5, 5, 5, .18) 38%,
            rgba(5, 5, 5, .30) 68%,
            rgba(5, 5, 5, .76) 100%
        );
}


/* ==================================================
   GRID PATTERN
================================================== */

.consulting .bridge::after {
    content: "";
}

.consulting .bridge::after {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.consulting .bridge::after {
    pointer-events: none;
}

.consulting .bridge::after {
    background-image:
        linear-gradient(
            rgba(255, 255, 255, .022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .022) 1px,
            transparent 1px
        );
}

.consulting .bridge::after {
    background-size: 52px 52px;
}

.consulting .bridge::after {
    opacity: .45;
}


/* ==================================================
   CONTENT
================================================== */

.consulting .bridge .content {
    position: relative;
    z-index: 3;
}

.consulting .bridge .content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.consulting .bridge .content {
    text-align: center;
}


/* ==================================================
   EYEBROW
================================================== */

.consulting .bridge .eyebrow {
    display: block;
}

.consulting .bridge .eyebrow {
    margin-bottom: 1.6em;
}

.consulting .bridge .eyebrow {
    font-family: 'bold-font';
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--color-primary);
}


/* ==================================================
   TITLE
================================================== */

.consulting .bridge h2 {
    margin: 0;
}

.consulting .bridge h2 {
    font-family: 'bold-font';
    font-size: 4.5em;
    font-weight: 400;
    line-height: .88;
    text-transform: uppercase;
    letter-spacing: -.055em;
    color: #fff;
}

.consulting .bridge h2 span {
    display: block;
}

.consulting .bridge h2 span {
    color: var(--color-primary);
}


/* ==================================================
   TEXT
================================================== */

.consulting .bridge .content > p {
    max-width: 620px;
}

.consulting .bridge .content > p {
    margin: 2em auto 0;
}

.consulting .bridge .content > p {
    font-family: 'content-font';
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .58);
}


/* ==================================================
   LINKS
================================================== */

.consulting .bridge .links {
    max-width: 620px;
}

.consulting .bridge .links {
    margin:
        clamp(3em, 5vw, 4.5em)
        auto
        0;
}

.consulting .bridge .links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.consulting .bridge .links {
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}


/* ==================================================
   LINK
================================================== */

.consulting .bridge .links a {
    min-height: 74px;
}

.consulting .bridge .links a {
    box-sizing: border-box;
    padding: 0 1.5em;
}

.consulting .bridge .links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8em;
}

.consulting .bridge .links a {
    text-decoration: none;
    color: #fff;
}

.consulting .bridge .links a {
    transition: background .45s ease;
}

.consulting .bridge .links a + a {
    border-left: 1px solid rgba(255, 255, 255, .12);
}


/* ==================================================
   LINK TITLE
================================================== */

.consulting .bridge .links a > span {
    font-family: 'bold-font';
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.consulting .bridge .links a > span {
    transition:
        color .45s ease,
        transform .55s cubic-bezier(.22, 1, .36, 1);
}


/* ==================================================
   LINK SEPARATOR
================================================== */

.consulting .bridge .links a > i {
    width: 18px;
    height: 1px;
}

.consulting .bridge .links a > i {
    background: var(--color-primary);
}

.consulting .bridge .links a > i {
    transition:
        width .55s cubic-bezier(.22, 1, .36, 1);
}


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

.consulting .bridge .links a > small {
    font-family: 'content-font';
    font-size: 10px;
    color: rgba(255, 255, 255, .42);
}

.consulting .bridge .links a > small {
    transition:
        color .45s ease,
        transform .55s cubic-bezier(.22, 1, .36, 1);
}


/* ==================================================
   DESKTOP INTERACTIONS
================================================== */

@media
    (hover: hover)
    and (pointer: fine) {

    .consulting .bridge .links a:hover {
        background: rgba(255, 255, 255, .045);
    }

    .consulting .bridge .links a:hover > span {
        color: var(--color-primary);
    }

    .consulting .bridge .links a:hover > span {
        transform: translateX(-4px);
    }

    .consulting .bridge .links a:hover > i {
        width: 28px;
    }

    .consulting .bridge .links a:hover > small {
        color: #fff;
    }

    .consulting .bridge .links a:hover > small {
        transform: translateX(4px);
    }

}


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

@media screen and (max-width: 750px) {

    .consulting .bridge {
        min-height: 520px;
    }

    .consulting .bridge {
        padding:
            5em
            var(--consulting-padding);
    }


    /* ==================================================
       BACKGROUND
    ================================================== */

    .consulting .bridge > .background {
        inset: 0;
    }

    .consulting .bridge > .background {
        background-image:
            var(--bridge-image-mobile);

        background-position: center;
    }

    .consulting .bridge > .background {
        filter:
            saturate(.62)
            contrast(1.05)
            brightness(.65);
    }


    /* ==================================================
       OVERLAY
    ================================================== */

    .consulting .bridge > .overlay {
        background:
            radial-gradient(
                ellipse 80% 42% at 50% 45%,
                rgba(120, 0, 0, .08) 0%,
                transparent 70%
            ),
            linear-gradient(
                90deg,
                rgba(5, 5, 5, .68) 0%,
                rgba(5, 5, 5, .40) 50%,
                rgba(5, 5, 5, .68) 100%
            ),
            linear-gradient(
                180deg,
                rgba(5, 5, 5, .68) 0%,
                rgba(5, 5, 5, .34) 40%,
                rgba(5, 5, 5, .74) 100%
            );
    }


    /* ==================================================
       GRID PATTERN
    ================================================== */

    .consulting .bridge::after {
        background-size: 38px 38px;
    }

    .consulting .bridge::after {
        opacity: .32;
    }


    /* ==================================================
       TITLE
    ================================================== */

    .consulting .bridge h2 {
        font-size: clamp(42px, 12vw, 58px);
    }


    /* ==================================================
       TEXT
    ================================================== */

    .consulting .bridge .content > p {
        max-width: 420px;
    }

    .consulting .bridge .content > p {
        font-size: 12px;
    }


    /* ==================================================
       LINKS
    ================================================== */

    .consulting .bridge .links {
        max-width: 360px;
    }

    .consulting .bridge .links {
        grid-template-columns: 1fr;
    }

    .consulting .bridge .links a {
        min-height: 64px;
    }

    .consulting .bridge .links a {
        padding: 0 1em;
    }

    .consulting .bridge .links a {
        justify-content: flex-start;
    }

    .consulting .bridge .links a + a {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

}


/* ==================================================
   ACCESSIBILITÉ
================================================== */

@media (prefers-reduced-motion: reduce) {

    .consulting .bridge .links a,
    .consulting .bridge .links a > span,
    .consulting .bridge .links a > i,
    .consulting .bridge .links a > small {
        transition: none !important;
    }

}