:root {
    --bs-primary: #fd7e14;
    --bs-secondary: #0d6efd;
    --bs-light: #fff;
    /* white */
}

/* ============================================================
   SPINNER — Indicateur de chargement de la page
   ============================================================ */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* --- Fin Spinner --- */


/* ============================================================
   BOUTON RETOUR EN HAUT — Flottant en bas à droite
   ============================================================ */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 8px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.back-to-top:focus,
.back-to-top:active {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #0d6efd;
}


/* ============================================================
   BOUTONS — Styles généraux et variantes de taille
   ============================================================ */

/* --- Tailles carrées fixes --- */
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 4px;
}

/* --- Bouton primaire (orange) --- */
.btn-primary {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(249, 115, 22, .28);
}

.btn-primary:hover {
    background: var(--blue-deep) !important;
    border-color: var(--blue-deep) !important;
    transform: translateY(-2px);
}

/* --- Bouton secondaire (transparent) --- */
.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: var(--bs-primary) !important;
}

/* --- Fin Boutons --- */


/* ============================================================
   TITRES DE SECTION — Sous-titres avec lignes décoratives
   ============================================================ */

/* --- Centré (utilisé dans .section-title) --- */
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

/* Ligne bleue à gauche */
.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

/* Ligne orange à gauche (décalée) */
.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

/* --- Aligné à droite (utilisé hors .section-title) --- */
.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

/* Ligne bleue à droite */
.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

/* Ligne orange à droite (décalée) */
.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}

/* --- Fin Titres de section --- */





/* ============================================================
       BANNIÈRES PAGES INTERNES — Style moderne partagé
       ============================================================ */

.bg-breadcrumb-modern {
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* --- Cercles décoratifs --- */
.bg-breadcrumb-modern .circle-top-right {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.bg-breadcrumb-modern .circle-bottom-left {
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.bg-breadcrumb-modern .circle-center {
    position: absolute;
    top: 20px;
    left: 40%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(99, 179, 237, 0.08);
    pointer-events: none;
}

/* --- Contenu --- */
.bg-breadcrumb-modern .breadcrumb-inner {
    position: relative;
    z-index: 2;
}

/* --- Badge --- */
.bg-breadcrumb-modern .breadcrumb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 6px 18px;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(6px);
    margin-bottom: 16px;
}

.bg-breadcrumb-modern .breadcrumb-badge i {
    color: #fd7e14;
}

/* --- Titre --- */
.bg-breadcrumb-modern .breadcrumb-title {
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    color: #ffffff;
}

.bg-breadcrumb-modern .breadcrumb-title .gradient-text {
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Sous-titre --- */
.bg-breadcrumb-modern .breadcrumb-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 24px;
}

/* --- Breadcrumb capsule --- */
.bg-breadcrumb-modern .breadcrumb-capsule {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 8px 24px;
    display: inline-flex;
    backdrop-filter: blur(6px);
}

.bg-breadcrumb-modern .breadcrumb-capsule .breadcrumb-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.bg-breadcrumb-modern .breadcrumb-capsule .breadcrumb-item a:hover {
    color: #fd7e14;
}

.bg-breadcrumb-modern .breadcrumb-capsule .breadcrumb-item.active {
    color: #ffffff;
    font-size: 14px;
}

/* ---- Dégradés par page ---- */
.bg-breadcrumb-contact {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 50%, #2563eb 100%);
}

.bg-breadcrumb-apropos {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 50%, #2563eb 100%);
}

.bg-breadcrumb-services {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 50%, #2563eb 100%);
}

.bg-breadcrumb-formations {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 50%, #2563eb 100%);
}

.bg-breadcrumb-devis {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 50%, #2563eb 100%);
}

.bg-breadcrumb-service-detail {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 50%, #2563eb 100%);
}


/* ============================================================
   CARROUSEL HERO — Slider de la page d'accueil
   ============================================================ */

/* --- Boutons de navigation (précédent / suivant) --- */
.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    margin-left: -60px;
    border-radius: 50%;
    background-size: 60% 60%;
    transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: -60px;
}

/* --- Indicateurs (points en bas) --- */
.carousel-header .carousel .carousel-indicators {
    padding-bottom: 0;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-primary);
    border-radius: 50%;
    margin-right: 30px;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-secondary);
}

/* --- Slides (hauteur plein écran) --- */
.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 70vh;
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* --- Légende alignée à gauche --- */
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 0 0 0 80px !important;
    background: none;
    z-index: 3;
}

.btn-group-custom {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* --- Carousel responsive (mobile) --- */
@media (max-width: 768px) {
    .carousel-header {
        height: 500px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 40px;
        font-size: 5px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .btn-group-custom {
        flex-direction: column;
        width: 100%;
    }

    .btn-group-custom .btn {
        width: 70%;
        height: 50px;
        /* 🔥 même hauteur garantie */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- Fin Carrousel Hero --- */


/* ============================================================
   COMPTEURS (COUNTER FACTS) — Statistiques avec icônes
   ============================================================ */

/* --- Fond avec image fixe --- */
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url(../img/breadcrumb.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

/* --- Carte compteur (forme arrondie) --- */
.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

/* Bandeau orange en haut de la carte */
.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);
}

/* --- Icône en forme de pentagone pointé vers le bas --- */
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

/* Couche de fond de l'icône */
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

/* Rotation de l'icône au survol */
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}

/* --- Textes du compteur --- */
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

/* Espacement entre les cartes sur écrans < 1200px */
@media screen and (max-width: 1200px) {
    .counter-facts .counter {
        margin-bottom: 40px;
    }
}

/* --- Fin Counter Facts --- */


/* ============================================================
   SERVICES — Cartes avec effet de glissement au survol
   ============================================================ */

.service .service-item {
    position: relative;
    overflow: hidden;
}

/* --- Titre remonté par-dessus l'image --- */
.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

/* Contenu caché qui remonte depuis le bas au survol */
.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-primary);
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

/* Nom du service disparaît au survol */
.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

/* --- Image du service avec overlay blanc au survol --- */
.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

/* Zoom de l'image au survol */
.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}

/* --- Fin Services --- */


/* ============================================================
   FONCTIONNALITÉS (FEATURES) — Cartes avec overlay au survol
   ============================================================ */

.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Overlay bleu qui monte par le bas au survol */
.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

/* --- Icône de fonctionnalité --- */
.features .feature-item .feature-icon {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
    transition: 0.5s;
}

/* Passage en cercle au survol */
.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

/* Rotation de l'icône au survol */
.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: var(--bs-secondary) !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

/* --- Fin Features --- */


/* ============================================================
   PAYS (COUNTRY) — Grille de pays avec drapeau et overlay
   ============================================================ */

.country .country-item {
    position: relative;
}

/* Overlay bleu qui monte au survol */
.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

/* --- Drapeau circulaire positionné en haut de la carte --- */
.country .country-item .country-flag {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

/* Rotation du drapeau au survol */
.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

/* --- Nom du pays (caché, apparaît au survol) --- */
.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

/* Zoom de l'image au survol */
.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-secondary) !important;
}

/* --- Fin Country --- */


/* ============================================================
   TÉMOIGNAGES (TESTIMONIAL) — Carrousel avec flèches
   ============================================================ */

.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

/* --- Bulle de témoignage --- */
.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

/* Pointe en bas de la bulle (effet de speech bubble) */
.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

/* --- Navigation (flèches précédent/suivant) --- */
.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}

/* --- Fin Testimonial --- */


/* ============================================================
   FORMATIONS (TRAINING) — Cartes avec contenu glissant
   ============================================================ */

/* --- Overlay sombre avec titre en bas de l'image --- */
.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Overlay bleu au survol */
.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

/* Lien disparaît au survol pour laisser place au contenu */
.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

/* Zoom de l'image au survol */
.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

/* --- Contenu additionnel qui remonte depuis le bas --- */
.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}

/* --- Fin Training --- */


/* ============================================================
   CONTACT — Cartes des bureaux / agences
   ============================================================ */

.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

/* Ombre bleue accentuée au survol */
.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

/* --- Image du bureau avec zoom au survol --- */
.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

/* --- Liens de contact avec changement de couleur --- */
.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--bs-secondary) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}

/* --- Fin Contact --- */


/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
    --surface-color: color-mix(in srgb, var(--default-color), transparent 96%);
    padding-top: 0;
}

.featured-services .service-item {
    background-color: var(--surface-color);
    padding: 50px 30px;
    transition: all ease-in-out 0.4s;
    height: 100%;
}

.featured-services .service-item .icon {
    margin-bottom: 10px;
}

.featured-services .service-item .icon i {
    color: var(--accent-color);
    font-size: 36px;
    transition: 0.3s;
}

.featured-services .service-item h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.featured-services .service-item h4 a {
    color: var(--heading-color);
    transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.featured-services .service-item:hover {
    transform: translateY(-10px);
}

.featured-services .service-item:hover h4 a {
    color: var(--accent-color);
}


#featured-services .row {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(4, 18, 43, .13);
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

#featured-services .service-item {
    position: relative;
    background: #fff;
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(13, 47, 107, .07);
    overflow: hidden;
    z-index: 0;
    transition: background .3s;
}

#featured-services .col-lg-3:last-child .service-item {
    border-right: none;
}

/* Fond bleu qui monte au hover */
#featured-services .service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #0d2f6b 0%, #1a4494 100%);
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    z-index: 0;
}

#featured-services .service-item:hover::after {
    transform: translateY(0);
}

#featured-services .service-item>* {
    position: relative;
    z-index: 1;
}

/* Numéro */
#featured-services .service-item .card-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #cbd5e1;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .3s;
}

#featured-services .service-item .card-num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(13, 47, 107, .1);
    transition: background .3s;
}

#featured-services .service-item:hover .card-num {
    color: rgba(249, 115, 22, .6);
}

#featured-services .service-item:hover .card-num::after {
    background: rgba(249, 115, 22, .2);
}

/* Icône */
#featured-services .service-item .icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1.5px solid rgba(249, 115, 22, .3);
    background: rgba(249, 115, 22, .06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background .3s, border-color .3s, transform .35s;
}

#featured-services .service-item .icon i {
    font-size: 24px;
    color: #f97316;
    transition: color .3s;
}

#featured-services .service-item:hover .icon {
    background: rgba(249, 115, 22, .15);
    border-color: rgba(249, 115, 22, .5);
    transform: scale(1.08);
}

/* Titre */
#featured-services .service-item h4 a {
    font-size: 16px;
    font-weight: 700;
    color: #071d42;
    text-decoration: none;
    transition: color .3s;
}

#featured-services .service-item:hover h4 a {
    color: #fff;
}

/* Texte */
#featured-services .service-item p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 28px;
    transition: color .3s;
}

#featured-services .service-item:hover p {
    color: rgba(255, 255, 255, .6);
}

/* Lien */
#featured-services .service-item a.stretched-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .05em;
    color: #0d2f6b;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid rgba(13, 47, 107, .1);
    width: fit-content;
    transition: background .3s, color .3s, border-color .3s;
}

#featured-services .service-item:hover a.stretched-link {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
}