/*
|--------------------------------------------------------------------------
| Actualités - Intermédia Conseil
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.news-hero {
    position: relative;

    padding:
        170px 0 120px;

    overflow: hidden;

    color: #fff;

    background:
        #07101f;
}


.news-hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        rgba(255,
            255,
            255,
            .08);
}


.news-orb {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.news-orb-one {
    width: 650px;
    height: 650px;

    top: -330px;
    right: -150px;

    background:
        radial-gradient(circle,
            rgba(230, 47, 110, .25),
            transparent 68%);
}


.news-orb-two {
    width: 600px;
    height: 600px;

    left: -330px;
    bottom: -400px;

    background:
        radial-gradient(circle,
            rgba(87, 108, 255, .15),
            transparent 68%);
}


.news-hero-inner {
    position: relative;

    z-index: 2;

    max-width: 1050px;
}


.news-kicker {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 28px;

    color:
        rgba(255,
            255,
            255,
            .62);

    font-size: .78rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .12em;
}


.news-kicker span {
    width: 38px;
    height: 2px;

    background: #e62f6e;
}


.news-hero h1 {
    max-width: 1050px;

    margin: 0;

    color: #fff;

    font-size: clamp(2.7rem, 3.15vw, 4.365rem);

    line-height: .93;

    letter-spacing: 0;

    font-weight: 900;
}


.news-hero h1 span {
    color: #e62f6e;
}


.news-hero p {
    max-width: 700px;

    margin:
        35px 0 0;

    color:
        rgba(255,
            255,
            255,
            .62);

    font-size:
        clamp(1.05rem,
            1.5vw,
            1.25rem);

    line-height: 1.75;
}



/*
|--------------------------------------------------------------------------
| Titres sections
|--------------------------------------------------------------------------
*/

.section-heading {
    display: flex;

    align-items: end;

    gap: 35px;

    margin-bottom: 48px;
}


.section-heading>div {
    flex: 0 0 auto;
}


.section-label {
    display: block;

    margin-bottom: 9px;

    color: #e62f6e;

    font-size: .72rem;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: .13em;
}


.section-label.light {
    color:
        rgba(255,
            255,
            255,
            .5);
}


.section-heading h2 {
    margin: 0;

    color: #07101f;

    font-size:
        clamp(2rem,
            4vw,
            3.2rem);

    font-weight: 600;

    letter-spacing: -.045em;
}


.heading-line {
    flex: 1;

    height: 1px;

    margin-bottom: 10px;

    background: #e7e9ee;
}



/*
|--------------------------------------------------------------------------
| Article à la une
|--------------------------------------------------------------------------
*/

.featured-news {
    padding:
        110px 0 80px;
}


.featured-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr) minmax(360px, .88fr);

    overflow: hidden;

    border:
        1px solid #e7e9ee;

    border-radius: 28px;

    background: #fff;

    box-shadow:
        0 25px 70px rgba(7,
            16,
            31,
            .07);
}


.featured-image {
    position: relative;

    display: block;

    min-height: 540px;

    overflow: hidden;

    background: #eef0f4;
}


.featured-image img {
    width: 100%;
    height: 100%;

    position: absolute;

    inset: 0;

    object-fit: cover;

    transition:
        transform .6s ease;
}


.featured-card:hover .featured-image img {
    transform: scale(1.035);
}


.featured-category {
    position: absolute;

    top: 25px;
    left: 25px;

    padding:
        9px 15px;

    border-radius: 999px;

    color: #07101f;

    background: #fff;

    font-size: .72rem;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: .06em;
}


.featured-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        clamp(35px,
            5vw,
            70px);
}


.article-meta {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 23px;

    color: #9299a5;

    font-size: .76rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .045em;
}


.article-meta i {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #e62f6e;
}


.featured-content h2 {
    margin:
        0 0 23px;

    font-size:
        clamp(2rem,
            3.6vw,
            3.25rem);

    line-height: 1.08;

    letter-spacing: -.045em;

    font-weight: 600;
}


.featured-content h2 a {
    color: #07101f;

    text-decoration: none;
}


.featured-content p {
    margin:
        0 0 30px;

    color: #687181;

    line-height: 1.75;
}


.article-link {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    align-self: flex-start;

    color: #07101f;

    font-size: .86rem;

    font-weight: 850;

    text-decoration: none;
}


.article-link span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    color: #fff;

    background: #e62f6e;

    transition:
        transform .2s ease;
}


.article-link:hover span {
    transform:
        translateX(4px);
}



/*
|--------------------------------------------------------------------------
| Liste articles
|--------------------------------------------------------------------------
*/

.news-list {
    padding:
        60px 0 120px;
}


.news-grid {
    display: grid;

    grid-template-columns:
        repeat(2,
            minmax(0, 1fr));

    gap:
        70px 35px;
}


.news-card {
    min-width: 0;
}


.news-image {
    position: relative;

    display: block;

    overflow: hidden;

    aspect-ratio:
        16 / 10;

    border-radius: 22px;

    background: #eef0f4;
}


.news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;
}


.news-card:hover .news-image img {
    transform:
        scale(1.04);
}


.news-number {
    position: absolute;

    right: 18px;
    bottom: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    color: #07101f;

    background:
        rgba(255,
            255,
            255,
            .94);

    font-size: .73rem;

    font-weight: 900;
}


.news-card-content {
    padding:
        25px 5px 0;
}


.news-category {
    margin-bottom: 12px;

    color: #e62f6e;

    font-size: .71rem;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: .1em;
}


.news-card h3 {
    margin:
        0 0 16px;

    font-size:
        clamp(1.45rem,
            2.2vw,
            2rem);

    line-height: 1.17;

    letter-spacing: -.035em;

    font-weight: 900;
}


.news-card h3 a {
    color: #07101f;

    text-decoration: none;
}


.news-card p {
    margin:
        0 0 25px;

    color: #737b88;

    font-size: .94rem;

    line-height: 1.7;
}


.news-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 18px;

    border-top:
        1px solid #e8eaee;
}


.news-card-footer time {
    color: #9a9fa8;

    font-size: .72rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .05em;
}


.news-card-footer a {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 39px;
    height: 39px;

    border:
        1px solid #dfe2e8;

    border-radius: 50%;

    color: #07101f;

    transition:
        .2s ease;
}


.news-card:hover .news-card-footer a {
    color: #fff;

    border-color: #e62f6e;

    background: #e62f6e;
}



/*
|--------------------------------------------------------------------------
| Expertise
|--------------------------------------------------------------------------
*/

.news-expertise {
    padding:
        0 0 110px;
}


.expertise-box {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr) minmax(330px, .8fr);

    gap: 70px;

    padding:
        clamp(45px,
            7vw,
            90px);

    overflow: hidden;

    border-radius: 30px;

    color: #fff;

    background: #07101f;
}


.expertise-box::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -240px;
    bottom: -330px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(230, 47, 110, .3),
            transparent 68%);
}


.expertise-copy {
    position: relative;

    z-index: 2;
}


.expertise-copy h2 {
    margin:
        0 0 25px;

    color: #fff;

    font-size:
        clamp(2.5rem,
            5vw,
            4.4rem);

    line-height: .98;

    letter-spacing: -.055em;

    font-weight: 600;
}


.expertise-copy h2 span {
    color: #e62f6e;
}


.expertise-copy p {
    max-width: 600px;

    margin:
        0 0 30px;

    color:
        rgba(255,
            255,
            255,
            .62);

    line-height: 1.75;
}


.expertise-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #fff;

    font-weight: 800;

    text-decoration: none;
}


.expertise-link i {
    color: #e62f6e;
}


.expertise-stats {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.expertise-stat {
    padding:
        25px 0;

    border-bottom:
        1px solid rgba(255,
            255,
            255,
            .1);
}


.expertise-stat:first-child {
    border-top:
        1px solid rgba(255,
            255,
            255,
            .1);
}


.expertise-stat strong {
    display: block;

    margin-bottom: 4px;

    color: #fff;

    font-size: 1.25rem;
}


.expertise-stat span {
    color:
        rgba(255,
            255,
            255,
            .45);

    font-size: .82rem;
}



/*
|--------------------------------------------------------------------------
| CTA
|--------------------------------------------------------------------------
*/

.news-cta {
    padding:
        20px 0 110px;
}


.news-cta-inner {
    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 50px;

    padding-top: 60px;

    border-top:
        1px solid #e2e5e9;
}


.news-cta h2 {
    max-width: 730px;

    margin: 0;

    color: #07101f;

    font-size:
        clamp(2.3rem,
            5vw,
            4.5rem);

    line-height: 1;

    letter-spacing: -.055em;

    font-weight: 600;
}


.news-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 17px;

    flex: 0 0 auto;

    color: #07101f;

    font-size: .86rem;

    font-weight: 850;

    text-decoration: none;
}


.news-cta-button span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 54px;
    height: 54px;

    border-radius: 50%;

    color: #fff;

    background: #e62f6e;

    transition:
        transform .2s ease;
}


.news-cta-button:hover span {
    transform:
        rotate(8deg) scale(1.05);
}



/*
|--------------------------------------------------------------------------
| Navigation active
|--------------------------------------------------------------------------
*/

.nav-links a.active {
    color: #e62f6e;
}



/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {

    .news-hero {
        padding:
            140px 0 90px;
    }


    .featured-card {
        grid-template-columns:
            1fr;
    }


    .featured-image {
        min-height: 440px;
    }


    .expertise-box {
        grid-template-columns:
            1fr;

        gap: 45px;
    }


    .news-cta-inner {
        align-items: flex-start;

        flex-direction: column;
    }

}



@media (max-width: 767px) {

    .news-hero {
        padding:
            125px 0 75px;
    }


    .news-hero h1 {
        font-size:
            clamp(3rem,
                14vw,
                4.3rem);
    }


    .featured-news {
        padding:
            75px 0 50px;
    }


    .section-heading {
        gap: 20px;

        margin-bottom: 32px;
    }


    .featured-image {
        min-height: 320px;
    }


    .featured-content {
        padding: 30px;
    }


    .news-list {
        padding:
            45px 0 80px;
    }


    .news-grid {
        grid-template-columns:
            1fr;

        gap: 55px;
    }


    .news-expertise {
        padding-bottom: 80px;
    }


    .expertise-box {
        padding: 35px 25px;

        border-radius: 22px;
    }


    .news-cta {
        padding-bottom: 80px;
    }

}



@media (max-width: 480px) {

    .featured-card {
        border-radius: 20px;
    }


    .featured-image {
        min-height: 260px;
    }


    .featured-content {
        padding:
            27px 22px;
    }


    .article-meta {
        flex-wrap: wrap;
    }


    .news-image {
        border-radius: 17px;
    }

}