/* ===== SERVICE HERO ===== */

.service-hero {
    background: #ffffff;
    padding-top: 160px;
    padding-bottom: 40px;
}


.expertise-image{
  border-radius: 0px;
    object-fit: cover;
}

.service-hero h1 {
    font-size: 2.2rem;
}

.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-image {
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transform: translateX(12px);
}

/* Cercle décoratif jaune */
/* .hero-image-wrapper::before {
    content: "";
    position: absolute;
    width: 345px;
    height: 345px;
    border-radius: 50%;
    background: #ffc400;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
} */

.carousel-caption-expertise {
    background: #f4f6fb !important;
    padding-top: 0px !important;
}
.carousel-header .carousel-inner .carousel-item img {
    position: relative;
    object-fit: cover;
}

.expertise-logos{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* CTA du hero (style maquette) */
.nf-cta{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1px;

  padding: 14px 18px;
  border-radius: 8px;

      /* ajuste si tu veux */
  max-width: 100%;
  max-width: 100%;
  

  text-align: left;
}

/* Le chevron bien à droite */
.nf-cta i{
  margin-left: auto;
}

.nf-section { background: #fff; }
.nf-soft { background: #ffffff; }

.nf-title{
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nf-feature{
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nf-feature h5{
  font-weight: 700;
  margin-bottom: 6px;
}
.nf-feature p{
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}

/* Boutons */
.nf-btn-primary{
  background: #0004ff;
  color: #fff;
  border-radius: 12px;
  border: 0;
}
.nf-btn-primary:hover{ filter: brightness(.95); color:#fff; }

.nf-btn-yellow{
  background: #ffc400;
  color: #0707d3;
  border-radius: 8px;
  font-weight: 700;
  width: 500px;
}
.nf-btn-yellow:hover{
  color: #000000;
  }

/* CTA band */
.nf-cta-band{ background: transparent; }
.nf-cta-card{
  background: #0707d3;
  border-radius: 16px;
  padding: 24px;
}

/* Steps */
.nf-step{
  text-align: center;
  padding: 16px 10px;
  border-radius: 14px;
}
.nf-step-num{
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #0707d3;
  color: #0707d3;
  font-weight: 800;
  margin-bottom: 8px;
}
.nf-step-text{
  font-size: 13px;
  color: #111;
  font-weight: 600;
}


.expertise-section {

    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
}

.nf-final-cta-band{
  background-image:
    linear-gradient(90deg, rgba(9, 18, 126, 0.92), rgba(9, 18, 126, 0.78)),
    url("../img/developpement-web2.png");
  background-size: cover;
  background-position: center;
}




/* RESPONSIVE MOBILE :il faut que l'image soit avant le texte */
@media (max-width: 768px) {
    .service-hero {
        padding-top: 10px;
    }

    .service-hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-image {
        max-width: 180px;
    }
    
    /* .hero-image-wrapper::before {
        width: 200px;
        height: 200px;
    } */

    /* .service-hero .row {
        flex-direction: column-reverse;
        text-align: center;
    } */


    }
    @media (max-width: 1000px) {
    
      .nf-cta{
        width: 100%;
        max-width: 100%;
    }


    .expertise-logos{
    display: flex;
    align-items: center;
    justify-content: center;
    }
    

}





.nf-about-image-wrapper{
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  width: min(360px, 90vw);
  aspect-ratio: 1 / 1;
}

.nf-about-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


@media (max-width: 980px) {
    .service-hero {
        padding-top: 10px;
    }

    .service-hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-image {
        max-width: 0px;
    }
    
    /* .hero-image-wrapper::before {
        width: 200px;
        height: 200px;
    } */

    .service-hero .row {
        flex-direction: column-reverse;
        text-align: center;
    }
    

}

.expertise-img-fluid{
  border-radius: 100%;
}


