/* =========================================================
   KEM DIGITAL — ÉTUDE DE CAS
   BRETAGNE EXO DISTRIBUTION
========================================================= */


/* HERO */

.case-hero {
    position: relative;
    overflow: hidden;

    padding: 155px 0 100px;

    background: #231f20;

    color: #fff;
}

.case-hero::after {
    content: "KEM";

    position: absolute;

    right: -4vw;
    bottom: -9vw;

    color: rgba(255,255,255,.025);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        13rem,
        31vw,
        34rem
    );

    font-weight: 800;

    line-height: .8;

    pointer-events: none;
}

.case-hero .container {
    position: relative;
    z-index: 2;
}


.case-back {
    display: inline-flex;

    margin-bottom: 55px;

    color: rgba(255,255,255,.62);

    font-size: .85rem;

    font-weight: 600;

    text-decoration: none;

    transition: color .2s ease;
}

.case-back:hover {
    color: #cc9217;
}


.case-hero__grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(260px, .5fr);

    gap: 100px;

    align-items: end;
}


.case-hero__content {
    max-width: 900px;
}


.case-hero h1 {
    margin: 20px 0 22px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        3.4rem,
        8vw,
        7.5rem
    );

    line-height: .89;

    letter-spacing: -.06em;
}

.case-hero h1 em {
    color: #cc9217;

    font-style: normal;
}


.case-hero__lead {
    margin: 0 0 25px;

    color: #fff;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        1.4rem,
        2.7vw,
        2.1rem
    );

    font-weight: 600;
}


.case-hero__intro {
    max-width: 760px;

    margin: 0;

    color: rgba(255,255,255,.69);

    font-size: 1.03rem;

    line-height: 1.8;
}


.case-hero__actions {
    margin-top: 35px;
}


/* META */

.case-hero__meta {
    display: grid;

    gap: 0;

    border-top:
        1px solid
        rgba(255,255,255,.15);
}

.case-hero__meta div {
    padding: 20px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.12);
}

.case-hero__meta small,
.case-hero__meta strong {
    display: block;
}

.case-hero__meta small {
    margin-bottom: 5px;

    color: #cc9217;

    font-size: .68rem;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}

.case-hero__meta strong {
    color: rgba(255,255,255,.82);

    font-size: .92rem;
}


/* =========================================================
   COVER
========================================================= */

.case-cover {
    padding: 0 0 110px;

    background: #f7f4ed;
}

.case-cover__image {
    overflow: hidden;

    transform: translateY(-1px);

    box-shadow:
        0 30px 80px
        rgba(35,31,32,.12);
}

.case-cover__image img {
    display: block;

    width: 100%;

    max-height: 720px;

    object-fit: cover;

    object-position: top center;
}


/* =========================================================
   SECTIONS
========================================================= */

.case-section {
    padding: 120px 0;

    background: #f7f4ed;
}


.case-section--dark {
    background: #231f20;

    color: #fff;
}


.case-section--gold {
    background: #cc9217;

    color: #231f20;
}


.case-two-columns {
    display: grid;

    grid-template-columns:
        minmax(280px, .8fr)
        minmax(0, 1.2fr);

    gap: 120px;

    align-items: start;
}


.case-section__title h2,
.case-heading h2,
.case-showcase h2 {
    margin: 17px 0 0;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.4rem,
        5vw,
        4.6rem
    );

    line-height: 1;

    letter-spacing: -.05em;
}


.case-section__title h2,
.case-heading--light h2,
.case-showcase h2 {
    color: #231f20;
}


.case-section__title h2 em,
.case-heading h2 em,
.case-showcase h2 em {
    color: #cc9217;

    font-style: normal;
}


.case-section--gold
.case-section__title h2 em {
    color: #fff;
}


.case-number {
    margin: 0 0 25px;

    color: #cc9217;

    font-family: "Manrope", sans-serif;

    font-size: .8rem;

    font-weight: 800;

    letter-spacing: .15em;
}


.case-section--gold
.case-number {
    color: #fff;
}


.case-section__content {
    padding-top: 55px;
}

.case-section__content p {
    color: #6c655f;

    line-height: 1.85;
}

.case-section--gold
.case-section__content p {
    color: rgba(35,31,32,.78);
}


.case-big-text {
    margin-top: 0;

    color: #231f20 !important;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        1.4rem,
        2.7vw,
        2rem
    );

    font-weight: 600;

    line-height: 1.45 !important;

    letter-spacing: -.025em;
}


/* =========================================================
   HEADING
========================================================= */

.case-heading {
    max-width: 920px;

    margin-bottom: 70px;
}

.case-heading h2 {
    color: #fff;
}

.case-heading h2 em {
    color: #cc9217;
}


/* =========================================================
   CHALLENGES
========================================================= */

.case-challenges {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid
        rgba(255,255,255,.13);
}

.case-challenges article {
    padding:
        35px
        40px
        20px
        0;

    border-right:
        1px solid
        rgba(255,255,255,.13);
}

.case-challenges article:not(:first-child) {
    padding-left: 40px;
}

.case-challenges article:last-child {
    border-right: 0;
}

.case-challenges article > span {
    display: block;

    margin-bottom: 45px;

    color: #cc9217;

    font-size: .75rem;

    font-weight: 800;
}

.case-challenges h3 {
    margin: 0 0 15px;

    font-family: "Manrope", sans-serif;

    font-size: 1.55rem;
}

.case-challenges p {
    margin: 0;

    color: rgba(255,255,255,.6);

    line-height: 1.75;
}


/* =========================================================
   SERVICES
========================================================= */

.case-services {
    border-top:
        1px solid
        rgba(35,31,32,.13);
}

.case-services article {
    display: grid;

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

    gap: 35px;

    padding: 35px 0;

    border-bottom:
        1px solid
        rgba(35,31,32,.13);
}

.case-services__number {
    color: #cc9217;

    font-family: "Manrope", sans-serif;

    font-size: .78rem;

    font-weight: 800;
}

.case-services h3 {
    margin: 0 0 9px;

    color: #231f20;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        1.3rem,
        2.3vw,
        1.8rem
    );
}

.case-services p {
    max-width: 850px;

    margin: 0;

    color: #6b6560;

    line-height: 1.75;
}


/* =========================================================
   SHOWCASE
========================================================= */

.case-showcase {
    padding: 120px 0;

    background: #fff;
}

.case-showcase__heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(280px, .8fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 55px;
}

.case-showcase__heading > p {
    margin: 0 0 8px;

    color: #6e6862;

    line-height: 1.8;
}


.case-showcase__visual {
    display: flex;

    justify-content: center;

    overflow: hidden;

    min-height: 450px;

    padding: 55px;

    background: #f1eee7;
}

.case-showcase__visual img {
    display: block;

    max-width: 100%;
    max-height: 700px;

    object-fit: contain;

    box-shadow:
        0 25px 60px
        rgba(35,31,32,.14);
}


.case-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 28px;
}

.case-tags span {
    padding: 9px 13px;

    border:
        1px solid
        rgba(35,31,32,.15);

    color: #554f4a;

    font-size: .75rem;

    font-weight: 600;
}


/* =========================================================
   FEATURES
========================================================= */

.case-features {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 75px;

    border-top:
        1px solid
        rgba(35,31,32,.23);

    border-bottom:
        1px solid
        rgba(35,31,32,.23);
}

.case-features article {
    padding: 30px 25px;

    border-right:
        1px solid
        rgba(35,31,32,.23);
}

.case-features article:first-child {
    padding-left: 0;
}

.case-features article:last-child {
    border-right: 0;
}

.case-features strong,
.case-features span {
    display: block;
}

.case-features strong {
    margin-bottom: 8px;

    font-family: "Manrope", sans-serif;

    font-size: 1.2rem;
}

.case-features span {
    color: rgba(35,31,32,.67);

    font-size: .82rem;
}


/* =========================================================
   TECH
========================================================= */

.case-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.case-tech span {
    padding: 15px 19px;

    border:
        1px solid
        rgba(35,31,32,.17);

    background: #fff;

    color: #231f20;

    font-size: .78rem;

    font-weight: 700;
}


/* =========================================================
   RESULT
========================================================= */

.case-result {
    position: relative;

    overflow: hidden;

    padding: 130px 0;

    background: #231f20;

    color: #fff;
}

.case-result::after {
    content: "KEM";

    position: absolute;

    right: -4vw;
    bottom: -7vw;

    color: rgba(255,255,255,.025);

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        13rem,
        30vw,
        30rem
    );

    font-weight: 800;

    line-height: .8;

    pointer-events: none;
}

.case-result .container {
    position: relative;

    z-index: 2;
}

.case-result blockquote {
    max-width: 1100px;

    margin:
        35px
        0
        38px;

    color: #fff;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.3rem,
        5vw,
        5rem
    );

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -.05em;
}

.case-result__text {
    max-width: 780px;

    color: rgba(255,255,255,.68);

    line-height: 1.8;
}

.case-result__signature {
    margin-top: 45px;

    color: #cc9217;

    font-size: .74rem;

    font-weight: 700;

    letter-spacing: .1em;

    text-transform: uppercase;
}


/* =========================================================
   CTA
========================================================= */

.case-cta {
    padding: 110px 0;

    background: #f7f4ed;
}

.case-cta__inner {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 90px;
}

.case-cta h2 {
    max-width: 800px;

    margin: 18px 0;

    color: #231f20;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        2.4rem,
        5vw,
        4.6rem
    );

    line-height: 1;

    letter-spacing: -.05em;
}

.case-cta h2 em {
    color: #cc9217;

    font-style: normal;
}

.case-cta p:not(.eyebrow) {
    max-width: 720px;

    margin: 0;

    color: #69635e;

    line-height: 1.8;
}


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

@media (max-width: 980px) {

    .case-hero__grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .case-hero__meta {
        max-width: 600px;
    }

    .case-two-columns {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .case-section__content {
        padding-top: 0;
    }

    .case-challenges {
        grid-template-columns: 1fr;
    }

    .case-challenges article,
    .case-challenges article:not(:first-child) {
        padding:
            28px
            0;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(255,255,255,.13);
    }

    .case-challenges article > span {
        margin-bottom: 20px;
    }

    .case-showcase__heading {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .case-features {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .case-features article {
        border-bottom:
            1px solid
            rgba(35,31,32,.23);
    }

    .case-cta__inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 40px;
    }

}


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

@media (max-width: 700px) {

    .case-hero {
        padding:
            125px
            0
            75px;
    }

    .case-back {
        margin-bottom: 35px;
    }

    .case-hero h1 {
        font-size:
            clamp(
                3rem,
                16vw,
                5rem
            );
    }

    .case-cover {
        padding-bottom: 70px;
    }

    .case-section,
    .case-showcase {
        padding:
            80px
            0;
    }

    .case-services article {
        grid-template-columns: 50px 1fr;

        gap: 15px;

        padding: 27px 0;
    }

    .case-showcase__visual {
        min-height: 300px;

        padding: 22px;
    }

    .case-features {
        grid-template-columns: 1fr;
    }

    .case-features article,
    .case-features article:first-child {
        padding:
            22px
            0;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(35,31,32,.23);
    }

    .case-result {
        padding:
            90px
            0;
    }

    .case-cta {
        padding:
            80px
            0;
    }

}