  /* --- Hero Section --- */
        .hero-container {
            margin: 0 auto;
            padding: 0 15px;
            margin-bottom: 5rem;
            margin-top: 92px !important;
        }

        .hero-wrapper {
            background: url('../img/accueil/slider.png') center/cover no-repeat;
            background-color: #e6e2df; /* Fallback */
            border-radius: 30px; /* Bords très arrondis comme la maquette */
            min-height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            text-align: center;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            font-family: 'Gotham Medium', sans-serif;
        }

        .hero-text-block {
            background-color: #FFFFFF;
            color: var(--primary-red);
            font-size: 2rem;
            letter-spacing: 1px;
            padding: 7px 40px;
            margin: 0;
            display: inline-block;
        }

        .hero-text-block-red {
            transform: rotateZ(-1.5deg);
            background-color: var(--primary-red);
            color: #FFFFFF;
            font-size: 2rem; 
            letter-spacing: 1px;
            padding: 5px 35px;
            margin: 0;
            display: inline-block;
        }

        .btn-primary-custom {
            background-color: var(--primary-red);
            color: #FFFFFF;
            border: none;
            font-size: 0.61rem; 
            letter-spacing: 1px;
            padding: 0.8rem 2rem;
            margin-top: 1.5rem;
            transition: background-color 0.3s ease;
             font-family: 'Gotham Medium', sans-serif;
        }

        .btn-primary-custom:hover {
            background-color: #6d1719;
            color: #FFFFFF;
        }










         /* --- About Section --- */
        .about-section {
            max-width: 1200px;
            padding-bottom: 4rem;
        }

        .about-image-wrapper {
            border-radius: 20px;
            overflow: hidden;
            height: 100%;
            min-height: 500px;
        }

        .about-image {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }

        .about-text {
            padding-left: 2rem;
            padding-top: 45px;
        }

        .about-subtitle {
             font-family: 'Gotham Medium', sans-serif;
            color: var(--primary-red);
            font-size: 1.3rem;
            letter-spacing: 0.5px;
        }

        .about-title {
             font-family: 'Gotham Medium', sans-serif;
            color: var(--secondary-blue); 
            line-height: 1.2;
            font-size: 2.2rem;
        }

        .about-text p {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 1.2rem;
            color: black;
            font-weight: 500;
            font-family: 'Gotham Rounded', sans-serif;
            text-align: justify;
        }










         /* --- Section Mission/Vision/Valeurs --- */
        .mission-section {
            max-width: 1200px;
            padding: 2rem 0;
        }

        .mission-title {
            font-family: 'Gotham Medium', sans-serif;
            color: var(--secondary-blue);
            font-size: 2.2rem;
            line-height: 1.2;
            margin-bottom: 3rem;
        }

        .mission-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2rem;
        }

        .mission-icon {
            width: 95px;
            margin-right: 10px;
            flex-shrink: 0;
        }

        .mission-content h5 {
            font-family: 'Gotham Medium', sans-serif;
            color: var(--primary-red);
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .mission-content p {
            font-size: 1.05rem;
            line-height: 1.5;
            color: var(--text-grey);
            text-align: justify; 
        }

        .rounded-image-container {
            border-radius: 40px; /* Coins très arrondis comme sur la maquette */
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .rounded-image-container img {
            width: 100%;
            height: auto;
            display: block;
        }

        .mission-section .btn-outline-custom{
            margin-left: 100px;
        }
     











     /* --- Section Valeurs --- */
.valeurs-section {
    position: relative;
    background-color: #861719;
    padding: 100px 0 80px; /* Espace pour le divider en haut */
    margin-top: 80px;
    color: white;
}

/* Correction du Divider : On utilise le blanc pour créer l'arrondi */
.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-top .shape-fill {
    fill: #FFFFFF; /* Doit être la couleur de la section PRÉCÉDENTE (blanc) */
}

/* Correction des Icônes Flottantes */
.bg-icon_left, .bg-icon_right {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    max-width: 400px; /* Taille adaptée à la maquette */
    opacity: 0.6;
  
}

.bg-icon_left {
    left: -10%;
    top:250px;
}

.bg-icon_right {
    right: 0px;
    top: 0px;
   
}

/* Style des Cartes (Inchangé mais vérifié) */
.valeur-card {
    background-color: white;
    color: var(--text-grey);
    border-radius: 20px;
    padding: 18px 8px;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

.valeur-icon img {
    max-width: 70px;
    margin-bottom: 20px;
}

.valeur-card h5{font-size: 1.1rem ; }
.valeur-card .small{font-size: 0.72rem ;margin-top: 15px}

.valeurs-subtitle {
    font-family: 'Gotham Medium', sans-serif;
    font-size: 1.4rem;
    margin-top: 40px;
}

.valeurs-title {
    font-family: 'Gotham Medium', sans-serif;
    font-size: 2.1rem;
    line-height: 1.3; 
    margin-top: 10px;
}









/* --- Section Services --- */
.services-section {
    padding: 4rem 0;
    background-color: white;
}


.services-section .container{
    max-width: 1250px;
}

.services-subtitle {
    font-family: 'Gotham Medium', sans-serif;
    color: var(--primary-red);
    font-size: 1.65rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.services-title {
    font-family: 'Gotham Medium', sans-serif;
    color: var(--secondary-blue);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.services-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: black;
    font-family: 'Gotham Rounded', sans-serif;
    text-align: justify;
}

.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    transition: background 0.3s ease;
}

.service-card:hover .service-card-overlay {
    background: rgba(139, 32, 35, 0.6);
}

.service-card-overlay h5 {
    color: white;
    font-family: 'Gotham Medium', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 1px;
}

.services-section .gx-3{
    padding: 0px 30px !important
}











 /* --- Section Partenariat --- */
.partner-section { 
    background-color: #fff;
    margin-bottom: 80px;
}

.partner-header-title {
    font-family: 'Gotham Medium', sans-serif;
    color: var(--primary-red);
    font-size: 1.7rem;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 60px;
}

.partner-blue-box {
    background-color: #002d72; /* Bleu spécifique de Grand Fontaine */
    border-radius: 50px; /* Coins très arrondis comme sur la maquette */
    padding: 60px 40px;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.partner-logo-box {
    width: 100%;
    max-width: 350px;
}

.partner-text-content {
    padding-left: 20px;
}

.partner-text-content p {
    font-size: 0.88rem;
    line-height: 1.3;
    color: #333;
    margin-bottom: 1.5rem;
    font-family: 'Gotham Rounded', sans-serif;
    text-align: justify;
}





 




 @media (max-width: 991px) {
  
    .hero-container{  margin-bottom: 0px;  }
    .hero-wrapper {  min-height: 400px; }
    .hero-text-block, .hero-text-block-red { font-size: 1.2rem; }

     .hero-container {
            margin-top: 72px !important;
        }

    .about-title{font-size: 1.7rem}
    .about-image-wrapper{display: none;}

    .mission-item{padding: 0px 4%}
    .mission-icon{width: 70px;}
    .mission-title{font-size: 1.7rem;padding-left: 20px}
    .mission-content p{font-size: 0.9rem !important}


    .bg-icon_left{   left: 0px; top: 800px; width: 400px; }
    .bg-icon_right{width: 400px;}


    .valeurs-section .valeurs-title{font-size: 1.8rem}


    .services-section .services-subtitle{ margin-bottom: 0px;}
    .services-section .services-title{font-size: 1.8rem}

    .services-section .service-card{height: 300px}


    .partner-section .partner-blue-box{height: 300px ; min-height: 300px}
    .partner-section .partner-text-content {  padding: 0px 7% !important;  margin-top: 40px; }

 



   }