/* ============================================================
   KMF CONSULTING INTERNATIONAL
   PAGE DETAIL EXPERTISE
   ============================================================ */


/* ============================================================
   HERO
   ============================================================ */

.expertise-detail-hero {
    position: relative;
    padding: 90px 0 80px;
    background: var(--background-color);
    overflow: hidden;
}

.expertise-detail-hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: -220px;
    right: -180px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 50%;
}

.expertise-detail-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -160px;
    left: -130px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 50%;
}

.expertise-detail-hero .container {
    position: relative;
    z-index: 2;
}


/* ============================================================
   TITRE
   ============================================================ */

.expertise-detail-hero-content {
    padding-right: 35px;
}

.expertise-detail-label {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 16px;

    color: var(--accent-color);

    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.expertise-detail-hero h1 {
    margin-bottom: 22px;

    color: var(--heading-color);

    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.15;
}

.expertise-detail-hero .hero-subtitle {
    max-width: 680px;
    margin: 0;

    color: var(--default-color);

    font-size: 20px;
    line-height: 1.7;
}


/* ============================================================
   IMAGE
   ============================================================ */

.expertise-detail-hero-image {
    position: relative;
}

.expertise-detail-hero-image::before {
    content: "";

    position: absolute;
    top: -12px;
    left: -12px;

    width: 100%;
    height: 100%;

    border: 2px solid var(--accent-color);
    border-radius: 14px;

    opacity: 0.6;
}

.expertise-detail-hero-image img {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: 390px;

    object-fit: cover;

    border-radius: 14px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}


/* ============================================================
   CONTENU PRINCIPAL
   ============================================================ */

.expertise-detail-main {
    padding: 80px 0 100px;
    background: var(--background-color);
}

.expertise-detail-container {
    max-width: 900px;
    margin: 0 auto;
}


/* ============================================================
   INTRODUCTION
   ============================================================ */

.expertise-detail-intro {
    margin-bottom: 60px;
}

.expertise-detail-intro h2 {
    margin-bottom: 25px;

    color: var(--heading-color);

    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}

.expertise-detail-intro p {
    margin-bottom: 20px;

    color: var(--default-color);

    font-size: 17px;
    line-height: 1.85;
}

.expertise-detail-intro p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   SECTION EXPERTISE
   ============================================================ */

.expertise-detail-section {
    margin-bottom: 60px;
}

.expertise-detail-section > h2 {
    margin-bottom: 35px;

    color: var(--heading-color);

    font-size: 28px;
    font-weight: 700;
}


/* ============================================================
   ELEMENTS DE L'EXPERTISE
   ============================================================ */

.expertise-detail-item {
    margin-bottom: 30px;
}

.expertise-detail-item h3 {
    margin-bottom: 9px;

    color: var(--heading-color);

    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
}

.expertise-detail-item h3::before {
    content: "";

    display: inline-block;

    width: 4px;
    height: 20px;

    margin-right: 11px;

    vertical-align: -3px;

    background: var(--accent-color);

    border-radius: 3px;
}

.expertise-detail-item p {
    margin: 0;

    color: var(--default-color);

    font-size: 16px;
    line-height: 1.8;
}


/* ============================================================
   APPROCHE / VISION
   ============================================================ */

.expertise-detail-approche {
    margin-bottom: 55px;
}

.expertise-detail-approche h2 {
    margin-bottom: 20px;

    color: var(--heading-color);

    font-size: 27px;
    font-weight: 700;
    line-height: 1.4;
}

.expertise-detail-approche p {
    margin: 0;

    color: var(--default-color);

    font-size: 16.5px;
    line-height: 1.85;
}


/* ============================================================
   ENGAGEMENT
   ============================================================ */

.expertise-detail-highlight {
    margin-top: 45px;
    padding: 30px 32px;

    border-top: 2px solid var(--accent-color);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);

    background: rgba(212, 175, 55, 0.05);
}

.expertise-detail-highlight h2 {
    margin-bottom: 15px;

    color: var(--heading-color);

    font-size: 24px;
    font-weight: 700;
}

.expertise-detail-highlight p {
    margin: 0 0 12px;

    color: var(--default-color);

    font-size: 16px;
    line-height: 1.8;
}

.expertise-detail-highlight p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   CONTACT
   ============================================================ */

.expertise-detail-contact {
    margin-top: 55px;
    text-align: center;
}

.expertise-detail-contact .readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 27px;

    color: #ffffff;

    background: var(--accent-color);

    border: 1px solid var(--accent-color);
    border-radius: 5px;

    font-weight: 600;
    text-decoration: none;

    transition: all 0.3s ease;
}

.expertise-detail-contact .readmore:hover {
    color: var(--accent-color);
    background: transparent;
}

.expertise-detail-contact .readmore i {
    transition: transform 0.3s ease;
}

.expertise-detail-contact .readmore:hover i {
    transform: translateX(5px);
}


/* ============================================================
   APPARITION
   ============================================================ */

.expertise-detail-intro,
.expertise-detail-section,
.expertise-detail-approche,
.expertise-detail-highlight,
.expertise-detail-contact {
    animation: detailAppear 0.7s ease both;
}

@keyframes detailAppear {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ============================================================
   TABLETTE
   ============================================================ */

@media (max-width: 991px) {

    .expertise-detail-hero {
        padding: 75px 0 65px;
    }

    .expertise-detail-hero-content {
        padding-right: 0;
    }

    .expertise-detail-hero-image {
        margin-top: 45px;
    }

    .expertise-detail-hero-image img {
        height: 330px;
    }

    .expertise-detail-main {
        padding: 70px 0 80px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .expertise-detail-hero {
        padding: 60px 0 50px;
    }

    .expertise-detail-hero h1 {
        font-size: 30px;
    }

    .expertise-detail-hero .hero-subtitle {
        font-size: 17px;
    }

    .expertise-detail-hero-image {
        margin-top: 35px;
    }

    .expertise-detail-hero-image img {
        height: 240px;
    }

    .expertise-detail-main {
        padding: 55px 0 65px;
    }

    .expertise-detail-container {
        width: 100%;
    }

    .expertise-detail-intro h2 {
        font-size: 26px;
    }

    .expertise-detail-intro p {
        font-size: 16px;
        line-height: 1.8;
    }

    .expertise-detail-section > h2 {
        font-size: 25px;
    }

    .expertise-detail-item {
        margin-bottom: 27px;
    }

    .expertise-detail-item h3 {
        font-size: 18px;
    }

    .expertise-detail-item p {
        font-size: 15.5px;
    }

    .expertise-detail-approche h2 {
        font-size: 24px;
    }

    .expertise-detail-highlight {
        padding: 27px 22px;
    }

}


/* ============================================================
   PETITS ECRANS
   ============================================================ */

@media (max-width: 480px) {

    .expertise-detail-hero h1 {
        font-size: 27px;
    }

    .expertise-detail-hero-image img {
        height: 210px;
    }

}