/* ============================================= */
/*  Styles Spécifiques - Expertise & Conseil V2  */
/*              "200x" Design                  */
/* ============================================= */

:root {
    /* Réutiliser les couleurs globales de new-styles.css si possible */
    /* ou définir des variations si nécessaire */
    --ec-primary: var(--primary-color, #1198D5);
    --ec-secondary: var(--secondary-color, #4CAF50);
    --ec-text: var(--text-color, #555);
    --ec-heading: var(--heading-color, #222);
    --ec-light-bg: var(--light-bg, #f8f9fa);
    --ec-white: var(--white, #ffffff);
    --ec-border: #dee2e6;
    --ec-section-padding: 6rem; /* Plus d'espace */
    --ec-card-bg: var(--ec-white);
    --ec-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --ec-card-hover-shadow: 0 18px 45px rgba(var(--primary-rgb, 17, 152, 213), 0.15);
    --ec-gradient: linear-gradient(135deg, rgba(var(--primary-rgb, 17, 152, 213), 0.92) 0%, rgba(var(--secondary-rgb, 76, 175, 80), 0.8) 100%);
}

/* Styles Globaux pour la page */
body {
    background-color: var(--ec-white); /* Fond blanc par défaut */
    /* padding-top géré par JS */
}

.section-padding {
    padding-top: var(--ec-section-padding);
    padding-bottom: var(--ec-section-padding);
}

/* --- Hero Section --- */
.hero-section-ec {
    background: var(--ec-gradient), url('images/slide 2.png') center center/cover no-repeat;
    /* Assurez-vous que slide 2 existe dans /images */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 0;
    border-bottom: 5px solid var(--ec-primary);
}

.hero-section-ec::before { /* Overlay subtil */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

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

.hero-section-ec h1 {
    font-size: calc(2.5rem + 1.5vw); /* Responsive */
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-section-ec p.lead {
    font-size: calc(1rem + 0.2vw);
    margin-bottom: 0;
}

/* --- Breadcrumb Section --- */
.breadcrumb-section-ec {
    background-color: var(--ec-light-bg);
    border-bottom: 1px solid var(--ec-border);
}

.breadcrumb-section-ec .breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb-section-ec .breadcrumb-item a {
    color: var(--ec-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-section-ec .breadcrumb-item a:hover {
    color: var(--primary-color-dark, #0a7cb5);
}

.breadcrumb-section-ec .breadcrumb-item.active {
    color: var(--ec-text);
    font-weight: 500;
}

/* --- Content Sections --- */
.content-section-ec {
    /* Styles communs aux sections de contenu */
}

.section-tagline {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ec-primary);
    background-color: var(--primary-color-light, rgba(17, 152, 213, 0.08));
    padding: 6px 15px;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title-ec {
    font-size: calc(1.8rem + 0.8vw); /* Responsive */
    font-weight: 700;
    color: var(--ec-heading);
    line-height: 1.3;
}

.content-section-ec p {
    line-height: 1.7;
    font-size: 1rem;
}

.content-section-ec ul li i {
    vertical-align: middle;
    font-size: 1.1em;
}

/* --- Styled Images --- */
.image-styled-wrapper {
    position: relative;
    padding: 10px;
    background-color: var(--ec-white);
    border-radius: 15px;
    box-shadow: var(--ec-card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-styled-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.image-styled-wrapper img {
    border-radius: 10px;
}

/* Optional: Add a subtle decorative element */
.image-styled-wrapper::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color-light, rgba(17, 152, 213, 0.08));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    transition: transform 0.5s ease;
}

.image-styled-wrapper.alt-layout::before {
    bottom: -10px;
    left: -10px;
    right: auto;
    background-color: var(--secondary-color-light, rgba(76, 175, 80, 0.08));
}

.image-styled-wrapper:hover::before {
    transform: scale(1.2);
}


/* --- Key Areas Section (Cards) --- */
.key-areas-section-ec {
    /* Background is set via class */
}

.key-area-card {
    background-color: var(--ec-card-bg);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--ec-card-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    width: 100%;
    display: flex;
    align-items: flex-start; /* Align icon top */
    gap: 1.5rem;
    border: 1px solid var(--ec-border);
}

.key-area-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--ec-card-hover-shadow);
}

.card-icon {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    border-radius: 15px; /* Match card */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--ec-white);
    transition: background-color 0.3s ease;
}

.card-icon.icon-primary { background: linear-gradient(135deg, var(--ec-primary), var(--primary-color-dark, #0a7cb5)); }
.card-icon.icon-secondary { background: linear-gradient(135deg, var(--ec-secondary), #3e8e41); }
.card-icon.icon-tertiary { background: linear-gradient(135deg, #ffc107, #e0a800); } /* Example Tertiary */
.card-icon.icon-quaternary { background: linear-gradient(135deg, #6c757d, #5a6268); } /* Example Quaternary */

.card-body-ec {
    /* Takes remaining space */
}

.card-title-ec {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ec-heading);
    margin-bottom: 0.8rem;
}

.card-text-ec {
    color: var(--ec-text);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* --- CTA Section --- */
.cta-section-ec {
    background: var(--ec-gradient);
    padding: var(--ec-section-padding) 0;
    position: relative;
    overflow: hidden;
}

/* Optional: Add background shapes/patterns */
.cta-section-ec::before, .cta-section-ec::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.cta-section-ec::before {
    width: 300px; height: 300px;
    background-color: var(--ec-white);
    top: -100px; left: -100px;
}

.cta-section-ec::after {
     width: 200px; height: 200px;
    background-color: var(--ec-white);
    bottom: -80px; right: -80px;
}

.cta-section-ec .container {
    position: relative;
    z-index: 1;
}

.cta-section-ec .display-5 {
    font-weight: 700;
}

.cta-button {
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
/* Styles should be inherited from new-styles.css */
/* Add overrides here only if necessary */

/* Responsive Adjustments */
@media (max-width: 991px) {
    :root {
        --ec-section-padding: 4rem;
    }
    .hero-section-ec {
        min-height: 50vh;
    }
    .content-section-ec .order-lg-1, .content-section-ec .order-lg-2 {
        order: 0 !important; /* Stack normally on mobile */
    }
    .image-styled-wrapper {
        margin-bottom: 2rem;
    }
    .key-area-card {
        padding: 2rem;
        gap: 1rem;
    }
    .card-icon { width: 55px; height: 55px; font-size: 1.6rem; }
    .card-title-ec { font-size: 1.2rem; }
}

@media (max-width: 767px) {
    .hero-section-ec h1 {
        font-size: calc(2rem + 1.2vw);
    }
    .hero-section-ec p.lead {
        font-size: calc(0.9rem + 0.2vw);
    }
    .section-title-ec {
        font-size: calc(1.5rem + 0.8vw);
    }
    .breadcrumb-section-ec .breadcrumb {
        justify-content: center;
    }
     .key-area-card {
        flex-direction: column; /* Stack icon and text */
        align-items: center;
        text-align: center;
    }
    .card-icon {
        margin-bottom: 1rem;
    }
     .cta-section-ec .display-5 {
        font-size: calc(1.8rem + 1.5vw);
    }
    .cta-section-ec .lead {
        font-size: 1rem;
    }
     .cta-button { font-size: 1rem; padding: 0.7rem 1.8rem; }
} 