﻿/* Savoir-faire Page Styles */

/* Hero & Breadcrumbs */
.page-intro-header {
    padding-top: clamp(80px, 15vh, 120px);
    padding-bottom: clamp(2rem, 8vh, 4rem);
}



.page-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: bold;
    margin-bottom: clamp(1.5rem, 5vh, 2.5rem);
    color: var(--primary-blue);
    text-align: left;
}

.intro-subtitle {
    font-size: 20px;
    font-weight: bold;
    max-width: 100%;
    margin: 0 0 40px 0;
    text-align: left;
}

.intro-description {
    max-width: 100%;
    margin: 0 0 0 auto;
    text-align: justify;
    line-height: 1.8;
    color: #444;
}

/* Intro Header Layout */
.intro-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.intro-right-text {
    font-size: 14px;
    max-width: 300px;
    text-align: right;
    margin-bottom: 30px;
}

.centered-title {
    text-align: left;
}

/* Service Sections */
.service-section {
    width: 100%;
    padding: clamp(2rem, 8vh, 4rem) 0;
}

.service-container {
    display: flex;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    min-height: 500px;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    overflow: hidden;
}

.service-visual {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

.service-visual:hover {
    transform: scale(1.02);
    /* Slight zoom effect */
    filter: brightness(1.1);
    /* Slight brighten effect */
}

.service-content {
    flex: 1;
    background-color: #EBEBEB;
    padding: 60px 5%;
    /* Adjusted padding for better balance */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Alternating Layout */
.service-section.reverse .service-container {
    flex-direction: row-reverse;
}

.service-header {
    margin-bottom: 30px;
}

.service-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: clamp(1rem, 3vh, 1.5rem);
    line-height: 1.1;
    color: var(--primary-blue);
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.service-subtitle {
    font-size: 22px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-black);
    text-align: left;
}

.service-body {
    font-size: var(--fs-body);
    line-height: 1.6;
    margin-bottom: clamp(2rem, 6vh, 3rem);
    color: var(--text-dark-gray);
    max-width: 100%;
    text-align: justify;
}

.btn-voir-plus {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    font-size: 16px;
    align-self: flex-end;
    /* Right aligned button */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-voir-plus:hover {
    background-color: var(--text-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Specific Background Images */
.visual-strategie {
    background-image: url('../images/accueil/strategy.webp');
}

.visual-branding {
    background-image: url('../images/agence/quality.webp');
}

.visual-digital {
    background-image: url('../images/accueil/innovation.webp');
}

.visual-campagne {
    background-image: url('../images/services/activation.webp');
}

/* Responsive */
@media (max-width: 1024px) {
    .service-content {
        padding: 40px;
    }

    .page-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .service-container {
        flex-direction: column !important;
    }

    .service-visual {
        height: 350px;
    }

    .service-content {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 36px;
        text-align: center;
    }

    .intro-subtitle {
        font-size: 16px;
        padding: 0 10px;
        text-align: center;
        margin: 0 auto 40px;
    }

    .service-subtitle {
        font-size: 18px;
        text-align: center;
    }
}