/* ========== HÉROS SPÉCIFIQUE À LA PAGE CONSEIL ========== */
.hero-conseil {
    position: relative;
    text-align: center;
    color: white;
    padding: 40px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../../images/conseil/banner.jpg') no-repeat center center/cover;
}

.hero-conseil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(12, 36, 66, 0.8), rgba(79, 116, 146, 0.7));
}

.hero-conseil .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-conseil h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.hero-conseil p {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
    color: #eee;
}

.hero-conseil .hero-btn {
    background-color: #ffdd57;
    color: #0c2442;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-conseil .hero-btn:hover {
    background-color: white;
    transform: translateY(-3px);
}

/* On cache l'ancienne bannière simple */
.banner {
    display: none;
}


/* ========== SECTIONS & TITRES ========== */
/* MODIFICATION : Réduction du padding pour moins d'espace */
.intro, .services, .why-us, .cta {
    padding: 10px 10px;
}

.intro {
    text-align: center;
}

/* Style partagé par les sous-titres de section */
.section-title, .section-subtitle-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* MODIFICATION : On s'assure que la marge sous le titre est correcte */
.section-title {
    margin-bottom: 40px !important; 
}

.section-subtitle-text {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* ========== SECTION SERVICES RESTRUCTURÉE ========== */
.services {
    background-color: #f7f9fc;
    text-align: center;
}

.service-group {
    margin-bottom: 60px;
}

.service-group:last-child {
    margin-bottom: 0;
}

.service-group-title {
    font-size: 24px;
    color: #0c2442;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.service-group-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ffdd57;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 64, 128, 0.07);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 64, 128, 0.12);
    border-top-color: #ffdd57;
}

.service-card img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0c2442;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* ========== WHY US (POURQUOI NOUS) AMÉLIORÉ ========== */
.why-us {
    background-color: #fff;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.why-item {
    background: #f7f9fc;
    border-radius: 8px;
    padding: 30px;
    text-align: left;
    border-left: 4px solid #ffdd57;
}

.why-item h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.why-item p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

/* ========== SECTION APPEL À L'ACTION (CTA) ========== */
.cta {
    background: linear-gradient(90deg, #0c2442, #4f7492);
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #eee;
}

.cta-btn {
    background-color: #ffdd57;
    color: #0c2442;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-btn:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}


/* ========== RESPONSIVE ========== */
@media screen and (max-width: 768px) {
    .hero-conseil h1 {
        font-size: 32px;
    }
    .hero-conseil p {
        font-size: 16px;
    }
    .cta-title {
        font-size: 26px;
    }
}