#top.page-template-template-nos-prestations #wrap_all .all_colors h1 {
    color: #515151;
    font-family: 'lato';
    font-weight: 'bold';
    font-size: 32px;
    margin-top: 10px;
}

#top.page-template-template-nos-prestations #wrap_all .all_colors h2 {
    color: #515151;
    font-family: 'lato';
    font-weight: 'bold';
    font-size: 28px;
}

p+h1 {
    margin: 0px!important;
}

.top-header {
  display: flex;
  align-items: center;
  gap: 1rem; /* espace entre icône et texte */
  margin-bottom: 1.5rem;
}

/* Icône à gauche */
.top-icon {
  flex: 0 0 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.top-icon svg path {
  fill: white; /* couleur de ton icône SVG */
}

/* Texte à droite */
.top-text {
  flex: 1 1 auto;
}

.top-subtitle {
  color: #124090;
  font-size: 1.25rem;
  margin: 0 0 0.25rem 0;
}

.top-title {
  color: #515151;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0;
  line-height: 1.2;
}

.np-hero__icon svg {
    max-width: 60px;
    fill: white;
    background: #EE7203;
}

.np-hero__icon svg path{
    fill: white;
}

#banner {
  width: 100%;
  max-height: 490px;
  overflow: hidden; /* coupe tout dépassement vertical */
  border-bottom: 8px solid #EE7203;
  position: relative;
  z-index: 3;
}

#banner img {
  width: 100%;
  height: 100%;
  max-height: 490px;
  object-fit: cover; /* remplit le conteneur sans déformation */
  display: block;
}

#nos-prestations .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;              /* espace entre colonnes */
  padding: 3rem 2rem;
  flex-wrap: nowrap;      /* empêche le retour à la ligne en desktop */
  box-sizing: border-box;
}

#nos-prestations .container .left,
#nos-prestations .container-top .left {
  flex: 0 1 calc(75% - 1rem); /* 1rem = moitié du gap (2rem/2) */
  max-width: calc(75% - 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0; /* évite les débordements */
}

#nos-prestations .container .right,
#nos-prestations .container-top .right {
  flex: 0 1 calc(40% - 1rem);
  max-width: calc(40% - 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0; /* IMPORTANT pour que ça puisse rétrécir */
}


#nos-prestations .container-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;              /* espace entre colonnes */
  flex-wrap: nowrap;      /* empêche le retour à la ligne en desktop */
  box-sizing: border-box;
}

#nos-prestations #top-section .top-image,
#nos-prestations #top-section .top-image img {
  width: 100%;
  height: auto;
  display: block;
}

#nos-prestations #top-section .top-image svg {
  max-width: 290px;
  margin: 0 auto;
}

.top-subtitle {
    color: #124090;
    font-size: 1.25rem;
}

#nos-prestations ul {
    list-style: initial;
    padding-left: 40px;
}

.top-wysiwyg {
    text-align: justify;
}

#content {
    background-color: #F9F9F9;
    padding: 3rem 2rem;
}

/* Conteneur principal : gauche/droite en desktop */
.sec-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: nowrap;       /* évite le retour à la ligne en desktop */
}

/* Icône : cercle 88px, image contenue */
.small_icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #EDEDED;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 88px; /* fixe la largeur dans le flux flex */
    padding: 20px;
    display: block;
}

.small_icon svg path {
    fill: #EE7203;
}

/* Contenu à droite — supporter les deux écritures (underscore et tiret) */
.sec_content,
.sec-content {
    flex: 1 1 auto;
    min-width: 0;            /* évite que le contenu pousse et force un wrap */
}

/* Titre au-dessus du texte (déjà le cas), un peu de style */
.sec_content h2,
.sec-content h2 {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.2;
}

.sec_content p,
.sec-content p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

/* Couleurs meta : label / value */
.sec_content ul,
.sec-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.sec_content li strong,
.sec-content li strong {
  color: #124090;          /* label */
}

.sec_content li span,
.sec-content li span {
  color: #EE7203;          /* value */
}

#nos-prestations ul.no-decoration {
    list-style: none;
    padding: 0px;
}

#content .right {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Ligne globale reliant tous les cercles */
#content .right::before {
  content: "";
  position: absolute;
  top: 44px;              /* centre verticalement le cercle de 88px */
  left: 44px;             /* centre horizontalement */
  width: 2px;
  height: calc(100% - 15rem);
  border-left: 2px dashed #ccc;
  z-index: 0;
}

/* Les cercles passent au-dessus de la ligne */
.small_icon {
  position: relative;
  z-index: 1;
  background: #EDEDED;
}

.sec_content a{
    color: #EE7203;
}

.right article {
    margin-bottom: 30px;
}

/* ===== CTA ===== */
.np-cta {
  position: relative;
  isolation: isolate;
  background: #0b0b0b;
  /* Image de fond via variable inline */
  background-image: var(--cta-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Voile pour lisibilité du texte */
.np-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,.35));
  z-index: 0;
}

.np-cta__inner {
  position: relative;
  z-index: 1;
  max-width: min(1200px, 92vw);
  margin-inline: auto;
  padding: 3rem 2rem;
  min-height: 425px;
}

.np-cta__content {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px 50px 30px 200px;
    border-radius: 20px;
    text-align: center;
}

.np-cta__accent {
  margin: 0 0 .25rem 0;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cta-accent-color, #EE7203);
}

.np-cta__title {
  margin: 0 0 .5rem 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: #515151;
}

.np-cta__text {
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #515151;
}

.np-cta__btn {
    margin-top: 20px;
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: 40px;
    background: #EE7203;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
    box-shadow: 0 6px 18px rgba(238, 114, 3, .35);
}
.np-cta__btn:hover {
  transform: translateY(-2px);
  opacity: .95;
}

/* Image superposée à droite */
.np-cta__overlay {
  width: 347px;
  aspect-ratio: 1 / 1;
  position: absolute;
  bottom: auto;
  left: 0px;
}
.np-cta__overlay-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.presta-background {
  position: absolute;
  top: -170px;
  right: -360px;
  max-width: 530px;
  opacity: 0.3;
}

/* Responsive */
@media (max-width: 900px) {
  .np-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .np-cta__overlay {
    margin-inline: auto;
  }

  #nos-prestations .container {
    flex-wrap: wrap;      /* permet de passer en colonne */
    flex-direction: column;
    padding: 2rem 1rem;
  }
  #nos-prestations .container .left,
  #nos-prestations .container .right {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  #content .right::before {
    display: none;
  }
}

/* Responsive : on empile proprement sous 600px */
@media (max-width: 600px) {
  .sec-inner {
    flex-wrap: wrap;
  }
  .small_icon {
    margin: 0 auto;
  }

  .np-cta__overlay {
    display: none;
  }

  .np-cta__content {
    padding: 30px 15px;
  }

  .container .left .top-header {
    flex-direction: column;
  }
  
  .container .left .top-header .top-icon{
    flex: 0 0 100px;
    max-width: 88px;
  }

  .top-wysiwyg{
    text-align: center;
  }
}
