
:root{
  --centered-block-width:700px;
  --title-margin:10px 0;
  --content-max:800px;
}

/* Base: contenu aligné à gauche */
body,
p,
h3,h4,h5,h6,
.entry-content,
.post-content,
.page-content{
  text-align:left;
}

/* ✅ CENTRAGE CORRIGÉ */
/* .centered-block : bloc centré avec largeur contrainte */
.centered-block{
  width:100%;
  max-width:var(--centered-block-width);
  margin:0 auto;
}

/* .centered-text : "fit-content" + margin auto => centré même sans parent centré */
.centered-text {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.centered-text h4{ margin:25px 0; }

@media (min-width:800px){
  .centered-block h5{ margin:var(--title-margin); }
}

/* Header image */
.header-image{
  position:relative;
  width:100%;
  height:30vh;
  min-height:500px;
  overflow:hidden;
}

.header-image::before{
  content:"";
  position:absolute;
  inset:0;
  background:url(https://www.nextstart.ai/wp-content/uploads/2026/01/Design-sans-titre-5.gif)
    center/cover no-repeat;
  background-attachment:fixed;
  transform:scale(1.1);
  will-change:transform;
}

@media (min-width:2560px){
  .header-image{ height:40vh; }
}

@media (max-width:1024px){
  .header-image::before{ background-attachment:scroll; }
}

/* Placeholder */
.header-image-placeholder{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:blur(10px);
  transition:opacity .3s ease-in-out;
}

.header-image-loaded .header-image-placeholder{ opacity:0; }

@media (prefers-reduced-motion:reduce){
  .header-image::before{
    transform:none;
    background-attachment:scroll;
  }
  .header-image-placeholder{
    transition:none;
    filter:none;
  }
}

/* Bouton */
.wp-block-button.is-style-fill .wp-block-button__link{
  padding:15px 40px;
  font-size:20px;
  font-weight:700;
}

/* Logo mobile: anti-déformation */
@media (max-width:799px){
  .custom-logo,
  .custom-logo-link img,
  header .site-branding img,
  .navbar-brand img,
  .logo img{
    width:auto !important;
    height:auto !important;
    max-width:90vw !important;
    max-height:160px !important;
    object-fit:contain !important;
    display:block !important;
    margin:0 auto !important;
  }
}

/* Masque les titres de page */
.page .entry-title,
.page-title{
  display:none !important;
}

.entry-content :is(.wpforms-container,.sp-easy-accordion),
.wp-site-blocks :is(.wpforms-container,.sp-easy-accordion){
  max-width:var(--content-max) !important;
  width:100% !important;
  margin-inline:auto !important;
}

/* Bouton du header (classe roll-button) */
.roll-button {
    background-color: #828898;
    border-color: #828898;
    color: #ffffff;
    padding: 8px 16px;
    min-width: auto;
}

/* Effet au survol */
.roll-button:hover {
    background-color: #5C94C0;
    border-color: #C63F15;
    color: #ffffff;
}

.page-id-140 .wpforms-container{
  max-width:100% !important;
  margin:0 !important;
}

@media (max-width: 480px) {
    .roll-button {
        display: none !important;
    }
}

.sommaire {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.sommaire-btn {
  padding: 12px 20px;
  background-color: #828898;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.sommaire-btn:hover {
  background-color: #828898;
  transform: translateY(-2px);
}

.sommaire-btn:active {
  transform: translateY(0);
}

/* ===================================================== */
/* MOBILE – Padding maîtrisé (hors EasyCart / Store)    */
/* ===================================================== */
@media (max-width: 768px){

  /* Pages classiques & accueil UNIQUEMENT */
  body:not(.ec_page):not(.easycart-page)
  .entry-content,
  body:not(.ec_page):not(.easycart-page)
  .page-content,
  body:not(.ec_page):not(.easycart-page)
  .post-content{
    padding-inline: 0px !important;
    box-sizing: border-box;
  }

  /* Header / menus : aucun padding forcé */
  header,
  .site-header,
  .wp-site-blocks{
    padding-inline: 0 !important;
  }

  /* EasyCart – Onglet actif : nettoyage visuel */
  .ec_details_tabs li.ec_active{
    border-bottom: 0 !important;
  }

  .ec_details_tabs li.ec_active::before,
  .ec_details_tabs li.ec_active::after{
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 768px){
  body.ec_page .ec_store_container,
  body.easycart-page .ec_store_container{
    padding-inline: 16px;
  }
}

/* ===================================================== */
/* EASYCART – Nettoyage séparateurs (toutes tailles)    */
/* ===================================================== */

/* Supprime le séparateur au-dessus des options produit */
.ec_details_options_divider_pre{
  border-top: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Masquer la short description sur la fiche produit */
.ec_details_right .ec_details_description {
    display: none !important;
}

/* Correction du débordement MWAI UNIQUEMENT sur la page d'accueil */
body.home .mwai-chat,
body.home .mwai-chat-container,
body.home .mwai-chat-window {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* =========================================
   LOGO – anti-écrasement (desktop/tablette)
   ========================================= */

/* 1) Empêche le bloc logo de se faire compresser dans un header flex */
.site-branding,
.custom-logo-link {
  flex: 0 0 auto;
  min-width: fit-content;
}

/* 2) Force la conservation du ratio de l'image (override des règles du thème) */
.custom-logo,
.custom-logo-link img,
header .site-branding img,
.navbar-brand img,
.logo img {
  width: auto !important;
  height: auto !important;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

/* 3) Si ton menu force tout sur une ligne, autorise le wrap plutôt que d'écraser le logo */
.site-header .container,
.site-header .header-inner,
.main-navigation,
.navbar,
.header-wrap {
  flex-wrap: wrap;
}

.logos-clients {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   AI Engine — Texte des RÉPONSES à gauche (sans décaler la page)
   Cible uniquement les messages dans la conversation
   ===================================================== */

/* 1) Ne touche QUE le texte à l'intérieur des bulles */
.mwai-chat .mwai-conversation .mwai-reply.mwai-ai .mwai-text,
.mwai-chat .mwai-conversation .mwai-reply.mwai-user .mwai-text {
  text-align: left !important;
}

/* 2) Si un conteneur flex centre la bulle, on corrige SANS changer les largeurs */
.mwai-chat .mwai-conversation .mwai-reply.mwai-ai,
.mwai-chat .mwai-conversation .mwai-reply.mwai-user {
  justify-content: flex-start !important;
}

/* 3) Sécurité : éléments internes */
.mwai-chat .mwai-conversation .mwai-reply .mwai-text * {
  text-align: left !important;
}

.meta-agent-cta {
    color: #007BFF;
    font-weight: 700;
    background: rgba(0, 123, 255, 0.08);
    padding: 14px 18px;
    border-left: 5px solid #007BFF;
    border-radius: 6px;
    margin-top: 28px;
}

@media (max-width: 768px) {
    .ec-store-wrapper {
        display: none !important;
    }
}

.shortcode-wrap{
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.shortcode-wrap *{
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobile uniquement */
@media (max-width: 768px) {
  .home .header-image h2,
  .home .header-image .header-title,
  .home .header-image .intro-title {
    font-size: 28px !important;
    line-height: 1.4;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Masquer l'image sur la fiche produit EasyCart */
.ec_details_left,
.ec_details_image,
.ec_details_main_image {
  display: none !important;
}

html, body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* HERO — typo alignée avec "Adoption" */
body .ns-hero{
  padding: 28px 20px 22px !important;
}

/* Kicker (au-dessus du H1) — plus grand */
body .ns-hero .ns-hero__kicker{
  font-size: clamp(1.35rem, 1.1vw + 1rem, 1.75rem) !important;
  line-height: 1.35 !important;
  padding: 12px 22px !important;
  margin-bottom: 25px !important;
}

/* H1 (on garde fort, mais on resserre) */
body .ns-hero .ns-hero__title{
  margin-bottom: 25px !important;
  line-height: 1.05 !important;
  font-size: clamp(2.4rem, 3.5vw, 3rem) !important;
}

/* Services (Conseil / Acculturation / …) — plus présent */
body .ns-hero .ns-hero__services{
  font-size: clamp(1.4rem, 1.3vw + 1rem, 1.8rem) !important;
  font-weight: 650 !important;
  column-gap: 20px !important;
  margin-bottom: 22px !important;
}

/* Séparateurs un peu moins espacés */
body .ns-hero .ns-hero__services span:not(:last-child)::after{
  margin-left: 20px !important;
  opacity: 0.3 !important;
}

/* Texte sous le H1 — même "densité" que Adoption */
body .ns-hero__lead{
  line-height: 2.4 !important;
}

.ns-hero__lead{
  max-width: 55ch !important;
  margin: 0 auto;
  font-size: clamp(1.35rem, 1.6vw, 1.55rem);
  color: var(--ns-muted);
  text-align: center;
}

.ns-hero__since{
  display: block;
  text-align: center;
  font-weight: 600;
  margin-bottom: 6px;
}

.ns-hero__since a {
  text-decoration: underline;
}

@media (max-width: 768px){
  body .ns-hero{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body .ns-hero .ns-hero__services{
    font-size: 1.8rem !important;
  }
}

/* Menu fixe simple */
.offer-fixed{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  max-width: min(560px, calc(100vw - 32px));
}

/* Sections offre : pas d'espace parasite */
.offer-section{
  margin: 0 !important;
  padding: 0 !important;
  display: flow-root;
}

/* Empêche le 1er/dernier élément de pousser la section */
.offer-section > *:first-child{ margin-top: 0 !important; }
.offer-section > *:last-child{  margin-bottom: 0 !important; }

/* Sur la page Offre uniquement si besoin : body.page-id-30 */
.offer-section h4 + figure.wp-block-image,
.offer-section h4 + .wp-block-image {
  margin-top: 0 !important;
}

.meta-agent-cta {
    max-width: 780px; /* ajuste selon besoin */
    margin-left: auto;
    margin-right: auto;
}
.site-info{ display:none; }
.ns-section-title{ text-align:center; margin:0 0 8px; }
.ns-section-title img{ display:inline-block; height:auto; }
.ns-section-title__text{
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.site-info {
    display: none !important;
}
/* =====================================================
   BANDEAU CHIFFRES CLÉS
   Aligné sur le menu des offres
   ===================================================== */

/* Même largeur exacte pour le menu et le bandeau */
body.home .entry-content .offer-nav,
body.home .entry-content .ns-stats {
  width: 64% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Positionnement du bandeau */
body.home .entry-content .ns-stats {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Carte blanche intérieure */
body.home .entry-content .ns-stats__container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;

  background: #ffffff !important;
  border: 1.5px solid rgba(0, 0, 0, 0.10) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10) !important;
}

/* Centrage des chiffres et des descriptions */
body.home .entry-content .ns-stat,
body.home .entry-content .ns-stat__number,
body.home .entry-content .ns-stat__label {
  text-align: center !important;
}

body.home .entry-content .ns-stat__label {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Tablette et mobile */
@media (max-width: 900px) {
  body.home .entry-content .offer-nav,
  body.home .entry-content .ns-stats {
    width: 100% !important;
  }

  body.home .entry-content .ns-stats {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.home .entry-content .ns-stats__container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =====================================================
   ACCUEIL - ALIGNEMENT DU BLOC INTRODUCTION SUR LES OFFRES
   ===================================================== */
body.home .entry-content > figure.wp-block-image:first-child,
body.home .entry-content .ns-hero,
body.home .entry-content .logos-clients,
body.home .entry-content .offer-nav,
body.home .entry-content .ns-stats {
  width: 64% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.home .entry-content > figure.wp-block-image:first-child img,
body.home .entry-content .logos-clients img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

body.home .entry-content .ns-hero__container,
body.home .entry-content .logos-clients .wp-block-columns {
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 900px) {
  body.home .entry-content > figure.wp-block-image:first-child,
  body.home .entry-content .ns-hero,
  body.home .entry-content .logos-clients,
  body.home .entry-content .offer-nav,
  body.home .entry-content .ns-stats {
    width: 100% !important;
  }

  body.home .entry-content > figure.wp-block-image:first-child,
  body.home .entry-content .logos-clients {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* ACCUEIL - AGRANDISSEMENT VISUEL AU-DESSUS DES LOGOS CLIENTS */

/* Logos Claude, Copilot, Gemini, ChatGPT et Mistral */
body.home .entry-content figure:has(img.wp-image-11267) {
  width: 82% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.home .entry-content img.wp-image-11267 {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Hero : agrandissement harmonieux de la typographie */
body.home .entry-content .ns-hero {
  width: 82% !important;
}

body.home .entry-content .ns-hero .ns-hero__title {
  font-size: clamp(3rem, 4.4vw, 3.75rem) !important;
}

body.home .entry-content .ns-hero .ns-hero__services {
  font-size: clamp(1.55rem, 1.7vw + 1rem, 2.15rem) !important;
  column-gap: 24px !important;
}

body.home .entry-content .ns-hero .ns-hero__services span:not(:last-child)::after {
  margin-left: 24px !important;
}

body.home .entry-content .ns-hero__lead {
  max-width: 70ch !important;
  font-size: clamp(1.45rem, 1.8vw, 1.75rem) !important;
  line-height: 1.7 !important;
}

/* Mobile : tailles lisibles sans débordement */
@media (max-width: 900px) {
  body.home .entry-content figure:has(img.wp-image-11267),
  body.home .entry-content .ns-hero {
    width: 100% !important;
  }

  body.home .entry-content .ns-hero .ns-hero__title {
    font-size: clamp(2.25rem, 9vw, 3rem) !important;
  }

  body.home .entry-content .ns-hero .ns-hero__services {
    font-size: 1.35rem !important;
    column-gap: 14px !important;
  }

  body.home .entry-content .ns-hero .ns-hero__services span:not(:last-child)::after {
    margin-left: 14px !important;
  }

  body.home .entry-content .ns-hero__lead {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
  }
}


/* ACCUEIL - AJUSTEMENT FINAL LARGEUR LOGOS LLM */
@media (min-width: 901px) {
  body.home .entry-content figure:has(img.wp-image-11267) {
    width: 64% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* HEADER DU THEME - TAILLE DU MENU PRINCIPAL */
@media (min-width: 800px) {
  body .site-header .main-navigation a,
  body header .main-navigation a,
  body .main-navigation ul li a {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  body .site-header .gtranslate_wrapper a,
  body header .gtranslate_wrapper a,
  body .site-header a.glink,
  body header a.glink {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 799px) {
  body .site-header .main-navigation a,
  body header .main-navigation a,
  body .main-navigation ul li a,
  body .site-header .gtranslate_wrapper a,
  body header .gtranslate_wrapper a,
  body .site-header a.glink,
  body header a.glink {
    font-size: 17px !important;
  }
}


/* HEADER ROCKED - CORRECTION TAILLE DES LIENS MAINNAV */
@media (min-width: 800px) {
  body #mainnav > ul > li > a,
  body .mainnav > ul > li > a,
  body #mainnav ul li a,
  body .mainnav ul li a {
    font-size: 17px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 799px) {
  body #mainnav ul li a,
  body .mainnav ul li a {
    font-size: 17px !important;
  }
}


/* HEADER - UNIFORMISATION FINALE A 17 PX */
@media (min-width: 800px) {
  body #mainnav ul li a,
  body .mainnav ul li a,
  body .site-header .gtranslate_wrapper a,
  body header .gtranslate_wrapper a,
  body .site-header a.glink,
  body header a.glink {
    font-size: 17px !important;
  }
}


/* HEADER NEXTSTART.AI - LARGEUR INTERIEURE HARMONISEE */
@media (min-width: 900px) {
  body #header .container,
  body .site-header .container,
  body .header-wrap .container {
    width: calc(100% - 40px) !important;
    max-width: 1384px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 899px) {
  body #header .container,
  body .site-header .container,
  body .header-wrap .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
}


/* HERO PRINCIPAL - TITRE RESPONSIVE ET CENTRE */

/* Le conteneur du titre reste centré dans l'image */
body.home .header-image .header-info {
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  transform: translateY(-50%) !important;
  text-align: center !important;
}

/* Titre fluide sur les grands écrans */
body.home .header-image h2,
body.home .header-image .header-title,
body.home .header-image .intro-title {
  display: block !important;
  width: fit-content !important;
  max-width: min(92vw, 1500px) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-size: clamp(42px, 3.35vw, 60px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  text-wrap: balance;
  white-space: normal !important;
  overflow-wrap: normal !important;
}

/* Ordinateurs et tablettes de largeur intermédiaire */
@media (max-width: 1200px) {
  body.home .header-image h2,
  body.home .header-image .header-title,
  body.home .header-image .intro-title {
    max-width: 92vw !important;
    font-size: clamp(36px, 4.4vw, 48px) !important;
    line-height: 1.1 !important;
  }
}

/* Tablettes */
@media (max-width: 768px) {
  body.home .header-image {
    min-height: 420px !important;
  }

  body.home .header-image .header-info {
    top: 50% !important;
    padding: 24px 20px !important;
    transform: translateY(-50%) !important;
  }

  body.home .header-image h2,
  body.home .header-image .header-title,
  body.home .header-image .intro-title {
    width: 100% !important;
    max-width: 680px !important;
    font-size: clamp(30px, 6.5vw, 40px) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.015em !important;
  }
}

/* Smartphones */
@media (max-width: 480px) {
  body.home .header-image {
    height: 64vh !important;
    min-height: 360px !important;
    max-height: 520px !important;
  }

  body.home .header-image .header-info {
    top: 50% !important;
    padding: 20px 16px !important;
    transform: translateY(-50%) !important;
  }

  body.home .header-image h2,
  body.home .header-image .header-title,
  body.home .header-image .intro-title {
    max-width: 94vw !important;
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.01em !important;
  }
}


/* HERO PRINCIPAL - INTERLIGNE DU TITRE */
body.home .header-image h2,
body.home .header-image .header-title,
body.home .header-image .intro-title {
  line-height: 1.18 !important;
}

@media (max-width: 480px) {
  body.home .header-image h2,
  body.home .header-image .header-title,
  body.home .header-image .intro-title {
    line-height: 1.22 !important;
  }
}


/* HERO PRINCIPAL - INTERLIGNE ORDINATEUR 1.55 */
@media (min-width: 901px) {
  body.home .header-image h2,
  body.home .header-image .header-title,
  body.home .header-image .intro-title {
    line-height: 1.55 !important;
  }
}


/* CONTACT - FORMULAIRE ALIGNE SUR LES IMAGES DE LOCALISATION */
.page-id-140 .wpcf7 {
  width: 100% !important;
  max-width: 1024px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.page-id-140 .wpcf7 form,
.page-id-140 .wpcf7 form > p,
.page-id-140 .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.page-id-140 .wpcf7 textarea,
.page-id-140 .wpcf7 select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1060px) {
  .page-id-140 .wpcf7 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* CONTACT - ETIREMENT DES ENVELOPPES CONTACT FORM 7 */
.page-id-140 .wpcf7 form > p,
.page-id-140 .wpcf7 form label,
.page-id-140 .wpcf7 .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.page-id-140 .wpcf7 input.wpcf7-text,
.page-id-140 .wpcf7 input.wpcf7-email,
.page-id-140 .wpcf7 textarea.wpcf7-textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}



/* CONTACT - DESIGN MODERNE DU FORMULAIRE */
.page-id-140 .ns-contact-form-intro {
  width: 100%;
  max-width: 900px;
  margin: 54px auto 0;
  padding: 0 40px;
  box-sizing: border-box;
}

.page-id-140 .ns-contact-form-intro h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.page-id-140 .ns-contact-form-intro p {
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.6;
}

.page-id-140 .wpcf7 {
  width: 100% !important;
  max-width: 900px !important;
  margin: 18px auto 56px !important;
  padding: clamp(24px, 4vw, 40px) !important;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  box-sizing: border-box !important;
}

.page-id-140 .wpcf7 form > p {
  margin: 0 0 22px !important;
}

.page-id-140 .wpcf7 form > p:last-of-type {
  margin-bottom: 0 !important;
}

.page-id-140 .wpcf7 label {
  display: block !important;
  width: 100% !important;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

.page-id-140 .wpcf7 .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  margin-top: 8px;
}

.page-id-140 .wpcf7 input.wpcf7-text,
.page-id-140 .wpcf7 input.wpcf7-email,
.page-id-140 .wpcf7 textarea.wpcf7-textarea {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 13px 15px !important;
  color: #0f172a !important;
  font: inherit;
  font-weight: 400;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.page-id-140 .wpcf7 input.wpcf7-text,
.page-id-140 .wpcf7 input.wpcf7-email {
  min-height: 50px;
}

.page-id-140 .wpcf7 textarea.wpcf7-textarea {
  min-height: 180px;
  height: 180px;
  resize: vertical;
}

.page-id-140 .wpcf7 input.wpcf7-text:focus,
.page-id-140 .wpcf7 input.wpcf7-email:focus,
.page-id-140 .wpcf7 textarea.wpcf7-textarea:focus {
  background: #ffffff !important;
  border-color: #287fc3 !important;
  box-shadow: 0 0 0 4px rgba(40, 127, 195, 0.14) !important;
}

.page-id-140 .wpcf7 input.wpcf7-submit {
  min-width: 210px;
  min-height: 50px;
  padding: 13px 24px !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  background: #287fc3 !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(40, 127, 195, 0.22);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.page-id-140 .wpcf7 input.wpcf7-submit:hover {
  background: #1f6da9 !important;
  box-shadow: 0 10px 24px rgba(40, 127, 195, 0.28);
  transform: translateY(-2px);
}

.page-id-140 .wpcf7 input.wpcf7-submit:active {
  transform: translateY(0);
}

.page-id-140 .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
}

.page-id-140 .wpcf7 .wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 12px 14px !important;
  border-radius: 9px;
}

@media (max-width: 768px) {
  .page-id-140 .ns-contact-form-intro {
    margin-top: 38px;
    padding: 0 18px;
  }

  .page-id-140 .wpcf7 {
    width: calc(100% - 24px) !important;
    margin-top: 16px !important;
    padding: 22px 18px !important;
    border-radius: 14px;
  }

  .page-id-140 .wpcf7 input.wpcf7-submit {
    width: 100%;
  }
}



/* CONTACT ET CALENDLY - ALIGNEMENT FINAL */
.page-id-140 .wpcf7 {
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05) !important;
}

.page-id-140 .calendly-inline-widget {
  display: block !important;
  width: 100% !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.page-id-140 .calendly-inline-widget iframe {
  width: 100% !important;
  max-width: none !important;
}



/* CONTACT - HARMONISATION TYPOGRAPHIQUE DE LA PAGE */
.page-id-140 .entry-content {
  color: #334155;
}

.page-id-140 .entry-content > h4 {
  width: 100%;
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  color: #334155;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.01em;
}

/* Titres principaux : Pour nous joindre et Nos bureaux */
.page-id-140 .entry-content > h4:has(strong) {
  margin-top: 56px !important;
  margin-bottom: 18px !important;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-transform: none;
}

.page-id-140 .entry-content > h4:has(strong) strong {
  font-weight: inherit;
}

/* Téléphone et adresse e-mail */
.page-id-140 .entry-content > h4:nth-of-type(2),
.page-id-140 .entry-content > h4:nth-of-type(3) {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 550;
}

.page-id-140 .entry-content > h4:nth-of-type(2) a,
.page-id-140 .entry-content > h4:nth-of-type(3) a {
  color: #287fc3;
  text-decoration: none !important;
  text-underline-offset: 4px;
  transition: color .2s ease;
}

.page-id-140 .entry-content > h4:nth-of-type(2) a:hover,
.page-id-140 .entry-content > h4:nth-of-type(3) a:hover {
  color: #1f6da9;
  text-decoration: underline !important;
}

/* Adresses des bureaux */
.page-id-140 .entry-content > h4:not(:has(strong)):nth-of-type(n+5) {
  margin-top: 34px !important;
  margin-bottom: 14px !important;
  color: #1e293b;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.45;
  font-weight: 650;
}

/* Introduction du formulaire */
.page-id-140 .ns-contact-form-intro {
  margin-top: 52px;
}

.page-id-140 .ns-contact-form-intro h3 {
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.page-id-140 .ns-contact-form-intro p {
  color: #64748b;
  font-size: 17px;
  line-height: 1.65;
}

/* Images des bureaux alignées avec les formulaires */
.page-id-140 .entry-content > figure:has(.wp-image-2333),
.page-id-140 .entry-content > figure:has(.wp-image-2337),
.page-id-140 .entry-content > figure:has(.wp-image-6862) {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 18px !important;
}

.page-id-140 .entry-content > figure:has(.wp-image-2333) img,
.page-id-140 .entry-content > figure:has(.wp-image-2337) img,
.page-id-140 .entry-content > figure:has(.wp-image-6862) img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 940px) {
  .page-id-140 .entry-content > h4,
  .page-id-140 .entry-content > figure:has(.wp-image-2333),
  .page-id-140 .entry-content > figure:has(.wp-image-2337),
  .page-id-140 .entry-content > figure:has(.wp-image-6862) {
    width: calc(100% - 36px);
  }

  .page-id-140 .entry-content > h4:has(strong) {
    margin-top: 40px !important;
  }
}



/* CONTACT - GRILLE ET ALIGNEMENTS DEFINITIFS */
.page-id-140 {
  --contact-width: 900px;
  --contact-gutter: 18px;
  --contact-text: #334155;
  --contact-title: #0f172a;
  --contact-muted: #64748b;
  --contact-blue: #287fc3;
}

/* Axe commun pour tous les éléments principaux */
.page-id-140 .entry-content > h4,
.page-id-140 .entry-content > .ns-contact-form-intro,
.page-id-140 .entry-content > .wpcf7,
.page-id-140 .entry-content > .calendly-inline-widget,
.page-id-140 .entry-content > figure:has(.wp-image-2333),
.page-id-140 .entry-content > figure:has(.wp-image-2337),
.page-id-140 .entry-content > figure:has(.wp-image-6862) {
  width: 100% !important;
  max-width: var(--contact-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Titres de sections */
.page-id-140 .entry-content > h4:has(strong),
.page-id-140 .ns-contact-form-intro h3 {
  color: var(--contact-title) !important;
  font-size: clamp(27px, 3vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
}

.page-id-140 .entry-content > h4:has(strong) {
  margin-top: 56px !important;
  margin-bottom: 18px !important;
}

.page-id-140 .entry-content > h4:first-of-type {
  margin-top: 42px !important;
}

/* Coordonnées */
.page-id-140 .entry-content > h4:nth-of-type(2),
.page-id-140 .entry-content > h4:nth-of-type(3) {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  color: var(--contact-text) !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}

.page-id-140 .entry-content > h4:nth-of-type(2) a,
.page-id-140 .entry-content > h4:nth-of-type(3) a {
  color: var(--contact-blue) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
}

/* Introduction parfaitement alignée sur la carte */
.page-id-140 .entry-content > .ns-contact-form-intro {
  margin-top: 46px !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
}

.page-id-140 .ns-contact-form-intro h3 {
  margin: 0 0 8px !important;
}

.page-id-140 .ns-contact-form-intro p {
  margin: 0 !important;
  color: var(--contact-muted) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

/* Formulaire de contact */
.page-id-140 .entry-content > .wpcf7 {
  margin-top: 0 !important;
  margin-bottom: 42px !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05) !important;
}

/* Calendly compact, sans immense zone blanche */
.page-id-140 .entry-content > .calendly-inline-widget {
  height: 220px !important;
  min-height: 220px !important;
  margin-top: 0 !important;
  margin-bottom: 48px !important;
  overflow: hidden !important;
}

.page-id-140 .entry-content > .calendly-inline-widget iframe {
  width: 100% !important;
  height: 220px !important;
  min-height: 220px !important;
}

/* Bloc bureaux */
.page-id-140 .entry-content > h4:has(strong):not(:first-of-type) {
  margin-top: 0 !important;
  margin-bottom: 26px !important;
}

.page-id-140 .entry-content > h4:not(:has(strong)):nth-of-type(n+5) {
  margin-top: 30px !important;
  margin-bottom: 12px !important;
  color: #1e293b !important;
  font-size: 19px !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
}

/* Cartes géographiques */
.page-id-140 .entry-content > figure:has(.wp-image-2333),
.page-id-140 .entry-content > figure:has(.wp-image-2337),
.page-id-140 .entry-content > figure:has(.wp-image-6862) {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.page-id-140 .entry-content > figure:has(.wp-image-2333) img,
.page-id-140 .entry-content > figure:has(.wp-image-2337) img,
.page-id-140 .entry-content > figure:has(.wp-image-6862) img {
  width: 100% !important;
  border: 1px solid #e2e8f0;
  border-radius: 14px !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.page-id-140 .entry-content > figure:has(.wp-image-6862) {
  margin-bottom: 70px !important;
}

@media (max-width: 940px) {
  .page-id-140 .entry-content > h4,
  .page-id-140 .entry-content > .ns-contact-form-intro,
  .page-id-140 .entry-content > .wpcf7,
  .page-id-140 .entry-content > .calendly-inline-widget,
  .page-id-140 .entry-content > figure:has(.wp-image-2333),
  .page-id-140 .entry-content > figure:has(.wp-image-2337),
  .page-id-140 .entry-content > figure:has(.wp-image-6862) {
    width: calc(100% - 36px) !important;
  }

  .page-id-140 .entry-content > .wpcf7 {
    padding: 22px 18px !important;
  }

  .page-id-140 .entry-content > h4:first-of-type {
    margin-top: 30px !important;
  }
}



/* CALENDLY - HAUTEUR DU CALENDRIER OUVERT */
.page-id-140 .entry-content > .calendly-inline-widget,
.page-id-140 .entry-content > .calendly-inline-widget iframe {
  height: 760px !important;
  min-height: 760px !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .page-id-140 .entry-content > .calendly-inline-widget,
  .page-id-140 .entry-content > .calendly-inline-widget iframe {
    height: 860px !important;
    min-height: 860px !important;
  }
}



/* CALENDLY - HAUTEUR COMPLETE SANS ASCENSEUR */
.page-id-140 .calendly-inline-widget {
  height: 1200px !important;
  min-height: 1200px !important;
  overflow: visible !important;
}

.page-id-140 .calendly-inline-widget iframe {
  height: 1200px !important;
  min-height: 1200px !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .page-id-140 .calendly-inline-widget,
  .page-id-140 .calendly-inline-widget iframe {
    height: 1450px !important;
    min-height: 1450px !important;
  }
}



/* CONTACT - TITRES HARMONISES AVEC ACCUEIL */
.page-id-140 .entry-content > h4:has(strong),
.page-id-140 .ns-contact-form-intro h3 {
  font-size: clamp(23px, 2.2vw, 28px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}
/* =========================================================
   RÉFÉRENCES IA — page 1154
   Bloc unique. Tout est scopé sur .page-id-1154 :
   aucune règle ne sort de cette page.
   Largeur de référence : 1100 px, identique de haut en bas.
   ========================================================= */

.page-id-1154 {
  --ref-w: 900px;
  --ref-accent: #287fc3;
  --ref-accent-dark: #1f6da9;
  --ref-ink: #0f172a;
  --ref-text: #334155;
  --ref-muted: #64748b;
  --ref-border: #e2e8f0;
  --ref-surface: #ffffff;
  --ref-soft: #f8fafc;
  --ref-tint: #f8fbfe;
  --ref-radius: 14px;
  --ref-shadow: 0 3px 12px rgba(15, 23, 42, .05);
  --ref-shadow-hover: 0 10px 26px rgba(15, 23, 42, .09);
  --ref-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ref-gap: 36px;
  --ref-gap-section: 76px;
}

html:has(body.page-id-1154) { scroll-behavior: smooth; }

/* ---------- Gabarit : une seule largeur pour tous les blocs ---------- */
.page-id-1154 .entry-content > * {
  width: 100%;
  max-width: var(--ref-w);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  font-family: var(--ref-font);
}

.page-id-1154 .entry-content {
  color: var(--ref-text);
}

/* ---------- En-tête de page ---------- */
.page-id-1154 .ref-hero {
  margin-top: 6px;
  margin-bottom: 30px;
  text-align: center;
}

.page-id-1154 .ref-hero__title {
  margin: 0 0 12px;
  color: var(--ref-ink);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.14;
  font-weight: 750;
  letter-spacing: -.03em;
}

.page-id-1154 .ref-hero__lead {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ref-muted);
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- Chiffres clés ---------- */
.page-id-1154 .ref-proof {
  margin-bottom: 30px;
}

.page-id-1154 .ref-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: var(--ref-surface);
  border: 1px solid var(--ref-border);
  border-radius: var(--ref-radius);
  box-shadow: var(--ref-shadow);
}

.page-id-1154 .ref-proof__item {
  display: flex;
  min-width: 0;
  padding: 24px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-id-1154 .ref-proof__item + .ref-proof__item {
  border-left: 1px solid var(--ref-border);
}

.page-id-1154 .ref-proof__value {
  color: var(--ref-accent);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.035em;
}

.page-id-1154 .ref-proof__label {
  margin-top: 7px;
  color: var(--ref-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

/* ---------- Visuel d'ouverture ---------- */
.page-id-1154 .ref-hero-media {
  margin: 0 auto 46px;
  overflow: hidden;
  border-radius: var(--ref-radius);
}

.page-id-1154 .ref-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Six références phares ---------- */
.page-id-1154 .ref-highlights {
  margin-bottom: 8px;
}

.page-id-1154 .ref-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-id-1154 .ref-highlight {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 22px 20px 0;
  background: var(--ref-surface);
  border: 1px solid var(--ref-border);
  border-radius: var(--ref-radius);
  box-shadow: var(--ref-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.page-id-1154 .ref-highlight:hover {
  transform: translateY(-3px);
  box-shadow: var(--ref-shadow-hover);
}

.page-id-1154 .ref-highlight__secteur {
  margin: 0 0 6px;
  color: var(--ref-accent);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.page-id-1154 .ref-highlight h3 {
  margin: 0 0 16px;
  color: var(--ref-ink);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -.015em;
}

.page-id-1154 .ref-highlight__volume {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ref-text);
}

.page-id-1154 .ref-highlight__volume b {
  color: var(--ref-accent-dark);
  font-size: 38px;
  line-height: .95;
  font-weight: 750;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.page-id-1154 .ref-highlight__volume span {
  font-size: 14px;
  color: var(--ref-muted);
}

.page-id-1154 .ref-highlight__duree {
  margin: 0 0 14px;
  color: var(--ref-ink);
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 650;
}

.page-id-1154 .ref-highlight__programme {
  flex-grow: 1;
  margin: 0 0 18px;
  color: var(--ref-text);
  font-size: 14px;
  line-height: 1.5;
}

.page-id-1154 .ref-highlight__resultat {
  margin: 0 -20px;
  padding: 14px 20px;
  background: var(--ref-tint);
  border-top: 1px solid var(--ref-border);
  color: var(--ref-accent-dark);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.page-id-1154 .ref-highlight__resultat em {
  display: block;
  margin-bottom: 4px;
  color: var(--ref-accent);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* ---------- Sommaire ---------- */
.page-id-1154 .ref-nav-intro {
  margin-top: 54px;
  margin-bottom: 14px;
  text-align: center;
}

.page-id-1154 .ref-nav-intro h2 {
  margin: 0 0 9px;
  color: var(--ref-ink);
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -.025em;
}

.page-id-1154 .ref-nav-intro p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.page-id-1154 .ref-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.page-id-1154 .ref-nav__tab {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 26px 12px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--ref-tint);
  border: 1px solid var(--ref-border);
  border-radius: var(--ref-radius);
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.page-id-1154 .ref-nav__tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--ref-accent);
}

.page-id-1154 .ref-nav__tab:hover {
  transform: translateY(-4px);
  background: #edf6fc;
  border-color: #cbdff2;
}

.page-id-1154 .ref-nav__tab:hover::before {
  background: var(--ref-accent-dark);
}

.page-id-1154 .ref-nav__label {
  color: var(--ref-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.page-id-1154 .ref-nav__title {
  margin-top: 7px;
  color: var(--ref-ink);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.page-id-1154 .ref-nav__action {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  color: var(--ref-accent);
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .18s ease, color .18s ease;
}

.page-id-1154 .ref-nav__tab:hover .ref-nav__action {
  color: var(--ref-accent-dark);
  transform: translateY(2px);
}

/* ---------- Sections de références ---------- */
.page-id-1154 .ref-section {
  margin-top: var(--ref-gap-section);
  scroll-margin-top: 110px;
}

.page-id-1154 .ref-section__title {
  margin: 0 0 30px;
  padding-bottom: 16px;
  position: relative;
  color: var(--ref-ink);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -.025em;
  text-align: center;
  text-transform: none;
}

.page-id-1154 .ref-section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 56px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--ref-accent);
  border-radius: 2px;
}

.page-id-1154 .ref-section__emoji {
  margin-right: 10px;
}

/* ---------- Carte de cas client ---------- */
.page-id-1154 .ref-case {
  display: block;
  overflow: hidden;
  margin: 0 0 var(--ref-gap);
  background: var(--ref-surface);
  border: 1px solid var(--ref-border);
  border-radius: var(--ref-radius);
  box-shadow: var(--ref-shadow);
}

.page-id-1154 .ref-case__media {
  display: block;
  margin: 0;
}

.page-id-1154 .ref-case__media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-id-1154 .ref-case__media + .ref-case__media {
  border-top: 1px solid var(--ref-border);
}

.page-id-1154 .ref-case__body {
  padding: 24px 28px 26px;
  border-top: 1px solid var(--ref-border);
  background: var(--ref-soft);
}

.page-id-1154 .ref-case__text {
  margin: 0;
  color: var(--ref-text);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 400;
  letter-spacing: -.005em;
}

.page-id-1154 .ref-case__text strong {
  color: var(--ref-ink);
  font-weight: 700;
}

.page-id-1154 .ref-case__text a {
  color: var(--ref-accent);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-id-1154 .ref-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-id-1154 .ref-highlights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-id-1154 .ref-section {
    margin-top: 58px;
  }
}

@media (max-width: 600px) {
  .page-id-1154 {
    --ref-gap: 28px;
  }

  .page-id-1154 .ref-proof__grid,
  .page-id-1154 .ref-highlights__grid {
    grid-template-columns: 1fr;
  }

  .page-id-1154 .ref-proof__item + .ref-proof__item {
    border-left: 0;
    border-top: 1px solid var(--ref-border);
  }

  .page-id-1154 .ref-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .page-id-1154 .ref-case__body {
    padding: 20px 18px 22px;
  }

  .page-id-1154 .ref-case__text {
    font-size: 15.5px;
    line-height: 1.65;
  }

  .page-id-1154 .ref-hero {
    margin-bottom: 24px;
  }

  .page-id-1154 .ref-hero-media {
    margin-bottom: 34px;
  }
}

/* BLOG - DESIGN HARMONISÉ 900 PX */
body.blog {
  --blog-width: 900px;
  --blog-title: #0f172a;
  --blog-text: #475569;
  --blog-muted: #64748b;
  --blog-blue: #287fc3;
  --blog-border: #e2e8f0;
}

body.blog .main-content {
  padding-top: 46px;
  padding-bottom: 72px;
}

body.blog main.content-wrap {
  display: block !important;
  width: calc(100% - 36px) !important;
  max-width: var(--blog-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.blog .posts-layout {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  width: 100% !important;
  height: auto !important;
  gap: 20px !important;
  box-sizing: border-box !important;
}

body.blog .posts-layout > article.post {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--blog-border);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  box-sizing: border-box !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.blog .posts-layout > article.post:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}

body.blog .posts-layout .post-format {
  display: none !important;
}

body.blog .posts-layout .post-content {
  display: flex;
  width: 100% !important;
  padding: 25px 26px 27px !important;
  flex-direction: column;
  box-sizing: border-box !important;
}

body.blog .posts-layout .entry-header {
  margin: 0 !important;
}

body.blog .posts-layout .entry-title {
  width: 100% !important;
  margin: 0 0 13px !important;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 21px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
}

body.blog .posts-layout .entry-title a {
  color: var(--blog-title) !important;
  text-decoration: none !important;
  transition: color .2s ease;
}

body.blog .posts-layout .entry-title a:hover {
  color: var(--blog-blue) !important;
}

body.blog .posts-layout .post-meta {
  display: flex;
  margin: 0 0 18px !important;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--blog-muted) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

body.blog .posts-layout .post-meta a {
  color: var(--blog-muted) !important;
  text-decoration: none !important;
}

body.blog .posts-layout .post-meta .byline {
  display: none !important;
}

body.blog .posts-layout .entry-content {
  width: 100% !important;
  padding: 0 !important;
  color: var(--blog-text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.blog .posts-layout .entry-content p {
  margin: 0 !important;
  color: var(--blog-text);
  font-size: 15.5px;
  line-height: 1.65;
}

body.blog .posts-navigation,
body.blog .navigation.pagination {
  width: 100%;
  max-width: var(--blog-width);
  margin: 34px auto 0;
}

@media (max-width: 936px) {
  body.blog main.content-wrap {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }
}

@media (max-width: 680px) {
  body.blog .main-content {
    padding-top: 34px;
  }

  body.blog .posts-layout {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.blog .posts-layout .post-content {
    padding: 22px 20px 24px !important;
  }

  body.blog .posts-layout .entry-title {
    font-size: 20px !important;
  }
}

/* EASYCART - ALIGNEMENT DU TITRE PRODUIT */
article.ec_store > .entry-header {
  margin-top: 12px !important;
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

article.ec_store > .entry-header .entry-title {
  margin: 0 !important;
  line-height: 1.35 !important;
}

/* Réduction de l'espace avant le contenu EasyCart */
article.ec_store .ec_product_details_page,
article.ec_store .ec_details_content,
article.ec_store .ec-details-content-no-breadcrumbs {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

article.ec_store .ec_details_content {
  border-top: 0 !important;
}

/* Titre généré par EasyCart sur tablette et mobile */
article.ec_store .ec_details_mobile_title_area {
  margin: 4px 0 10px !important;
  padding: 0 0 7px !important;
}

article.ec_store .ec_details_mobile_title_area .ec_details_title {
  margin: 0 !important;
  line-height: 1.35 !important;
}


/* ESPACE AVANT LE BANDEAU WIDGETS - REDUCTION GLOBALE */
body.page .main-content {
  padding-bottom: 24px !important;
}

@media (max-width: 768px) {
  body.page .main-content {
    padding-bottom: 16px !important;
  }
}


/* MENU PRINCIPAL - TAILLE FINALE 16 PX */
body #mainnav ul li a,
body .mainnav ul li a,
body .site-header .main-navigation a,
body header .main-navigation a {
  font-size: 16px !important;
}

/* BLOG - LISIBILITE DES ARTICLES INDIVIDUELS */
body.single-post {
  --article-width: 1384px;
  --article-title: #0f172a;
  --article-text: #334155;
  --article-muted: #64748b;
  --article-blue: #287fc3;
  --article-border: #e2e8f0;
  --article-soft: #f8fafc;
}

body.single-post .main-content {
  padding-top: 52px !important;
  padding-bottom: 76px !important;
}

body.single-post main.content-wrap {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
}

/* Largeur des articles alignee sur celle du site et de la page d accueil (1384 px) */
body.single-post .main-content > .container {
  width: calc(100% - 40px) !important;
  max-width: 1384px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-inline: auto !important;
}

body.single-post .main-content .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.single-post .content-area {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-post .content-area,
body.single-post .site-main,
body.single-post article.post {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
}

body.single-post #secondary,
body.single-post .widget-area {
  display: none !important;
}

body.single-post article.post {
  overflow: visible;
  background: #ffffff;
}

body.single-post article.post > .entry-header,
body.single-post article.post > .post-content > .entry-header,
body.single-post article.post .entry-content,
body.single-post article.post .entry-footer,
body.single-post .post-navigation,
body.single-post .comments-area {
  width: 100% !important;
  max-width: var(--article-width) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

body.single-post article.post .post-content {
  width: 100% !important;
  padding: 0 !important;
}

body.single-post article.post .entry-header {
  margin-bottom: 34px !important;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--article-border);
  text-align: left !important;
}

body.single-post article.post .entry-title {
  margin: 0 0 18px !important;
  color: var(--article-title) !important;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(36px, 5vw, 54px) !important;
  line-height: 1.12 !important;
  font-weight: 780 !important;
  letter-spacing: -0.04em !important;
  text-transform: none !important;
  text-wrap: balance;
}

body.single-post article.post .post-meta,
body.single-post article.post .entry-meta {
  display: flex;
  margin: 0 !important;
  gap: 8px 16px;
  flex-wrap: wrap;
  color: var(--article-muted) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.single-post article.post .post-meta a,
body.single-post article.post .entry-meta a {
  color: var(--article-muted) !important;
  text-decoration: none !important;
}

body.single-post article.post .entry-content {
  padding: 0 !important;
  color: var(--article-text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.8;
}

body.single-post article.post .entry-content > * {
  max-width: 100%;
}

body.single-post article.post .entry-content p {
  margin: 0 0 1.45em !important;
  color: var(--article-text);
  font-size: inherit;
  line-height: inherit;
}

body.single-post article.post .entry-content > p:first-child:has(em) {
  margin: 0 0 40px !important;
  padding: 24px 26px;
  color: #1e3a5f;
  background: #f1f7fc;
  border-left: 4px solid var(--article-blue);
  border-radius: 0 12px 12px 0;
  font-size: 19px;
  line-height: 1.7;
}

body.single-post article.post .entry-content > p:first-child:has(em) em {
  font-style: normal;
}

body.single-post article.post .entry-content h2 {
  margin: 58px 0 22px !important;
  color: var(--article-title) !important;
  font-size: clamp(27px, 3.5vw, 34px) !important;
  line-height: 1.25 !important;
  font-weight: 760 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  text-wrap: balance;
}

body.single-post article.post .entry-content h3 {
  margin: 42px 0 15px !important;
  color: #1e293b !important;
  font-size: clamp(21px, 2.7vw, 25px) !important;
  line-height: 1.35 !important;
  font-weight: 720 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
}

body.single-post article.post .entry-content ul,
body.single-post article.post .entry-content ol {
  margin: 8px 0 34px !important;
  padding-left: 1.45em !important;
}

body.single-post article.post .entry-content li {
  margin-bottom: 15px;
  padding-left: 7px;
  color: var(--article-text);
  line-height: 1.75;
}

body.single-post article.post .entry-content li::marker {
  color: var(--article-blue);
  font-weight: 750;
}

body.single-post article.post .entry-content strong {
  color: #172033;
  font-weight: 720;
}

body.single-post article.post .entry-content a {
  color: var(--article-blue);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.single-post article.post .entry-content hr.wp-block-separator {
  width: 92px !important;
  margin: 48px 0 !important;
  border: 0 !important;
  border-top: 3px solid var(--article-blue) !important;
  opacity: .85;
}

body.single-post article.post .entry-content figure,
body.single-post article.post .entry-content img {
  height: auto;
  max-width: 100%;
}

body.single-post article.post .entry-content figure {
  margin: 38px auto !important;
}

body.single-post article.post .entry-content figcaption {
  margin-top: 10px;
  color: var(--article-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

body.single-post article.post .entry-content blockquote {
  margin: 38px 0 !important;
  padding: 22px 26px;
  background: var(--article-soft);
  border-left: 4px solid var(--article-blue);
  border-radius: 0 12px 12px 0;
}

body.single-post article.post .entry-content > h3:last-of-type {
  margin-top: 54px !important;
  padding-top: 30px;
  border-top: 1px solid var(--article-border);
  color: var(--article-muted) !important;
  font-size: 19px !important;
}

body.single-post article.post .entry-content > h3:last-of-type ~ p {
  margin-bottom: 11px !important;
  color: var(--article-muted);
  font-size: 14px;
  line-height: 1.6;
}

body.single-post .post-navigation {
  margin-top: 58px !important;
  padding-top: 28px;
  border-top: 1px solid var(--article-border);
}

@media (max-width: 860px) {
  body.single-post .main-content {
    padding-top: 36px !important;
    padding-bottom: 52px !important;
  }

  body.single-post .main-content > .container {
    width: calc(100% - 32px) !important;
  }

  body.single-post article.post .entry-title {
    font-size: clamp(31px, 8vw, 42px) !important;
    line-height: 1.16 !important;
  }

  body.single-post article.post .entry-content {
    font-size: 17px;
    line-height: 1.75;
  }
}

@media (max-width: 520px) {
  body.single-post .main-content > .container {
    width: calc(100% - 24px) !important;
  }

  body.single-post article.post .entry-header {
    margin-bottom: 26px !important;
    padding-bottom: 20px;
  }

  body.single-post article.post .entry-title {
    font-size: 30px !important;
    letter-spacing: -0.03em !important;
  }

  body.single-post article.post .entry-content > p:first-child:has(em) {
    margin-bottom: 32px !important;
    padding: 19px 18px;
    font-size: 17px;
  }

  body.single-post article.post .entry-content h2 {
    margin-top: 44px !important;
    font-size: 26px !important;
  }

  body.single-post article.post .entry-content h3 {
    margin-top: 34px !important;
    font-size: 21px !important;
  }

  body.single-post article.post .entry-content li {
    padding-left: 3px;
  }
}

/* CONTACT - CARTE DE PRISE DE RENDEZ-VOUS */
.page-id-140 .ns-booking-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: 100%;
  max-width: var(--contact-width, 900px);
  margin: 34px auto 44px;
  padding: 25px 26px;
  gap: 20px;
  align-items: center;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.page-id-140 .ns-booking-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #287fc3;
  background: #eef6fc;
  border-radius: 12px;
}

.page-id-140 .ns-booking-card__content {
  min-width: 0;
}

.page-id-140 .ns-booking-card__eyebrow {
  margin: 0 0 4px !important;
  color: #287fc3 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page-id-140 .ns-booking-card h3 {
  margin: 0 0 5px !important;
  color: #0f172a !important;
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
}

.page-id-140 .ns-booking-card__content > p:last-child {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.page-id-140 .ns-booking-card__button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 17px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #287fc3;
  border: 1px solid #287fc3;
  border-radius: 9px;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.page-id-140 .ns-booking-card__button:hover {
  background: #1f6da9;
  border-color: #1f6da9;
  transform: translateY(-1px);
}

.page-id-140 .ns-booking-card__button:focus-visible {
  outline: 3px solid rgba(40, 127, 195, .25);
  outline-offset: 3px;
}

.page-id-140 #calendly-container {
  width: 100%;
  max-width: var(--contact-width, 900px);
  margin: 0 auto 48px !important;
  box-sizing: border-box;
}

@media (max-width: 940px) {
  .page-id-140 .ns-booking-card,
  .page-id-140 #calendly-container {
    width: calc(100% - 36px);
  }
}

@media (max-width: 680px) {
  .page-id-140 .ns-booking-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 21px 19px;
    gap: 15px;
  }

  .page-id-140 .ns-booking-card__button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 3px;
  }
}


/* BLOG - CARTES ENTIEREMENT CLIQUABLES */
body.blog .posts-layout > article.post {
  cursor: pointer;
}

body.blog .posts-layout .entry-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
}

body.blog .posts-layout .entry-title a:focus-visible::after {
  outline: 3px solid rgba(40, 127, 195, .45);
  outline-offset: -3px;
}

body.blog .posts-layout > article.post:has(.entry-title a:focus-visible) {
  border-color: var(--blog-blue);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
}


/* BLOG - TYPOGRAPHIE ARTICLES PLUS COMPACTE */
body.single-post article.post .entry-title {
  font-size: clamp(30px, 4vw, 44px) !important;
}

body.single-post article.post .entry-content {
  font-size: 16px;
  line-height: 1.75;
}

body.single-post article.post .entry-content > p:first-child:has(em) {
  font-size: 17px;
}

body.single-post article.post .entry-content h2 {
  font-size: clamp(24px, 2.9vw, 29px) !important;
}

body.single-post article.post .entry-content h3 {
  font-size: clamp(19px, 2.2vw, 22px) !important;
}

@media (max-width: 860px) {
  body.single-post article.post .entry-title {
    font-size: clamp(27px, 6.5vw, 35px) !important;
  }

  body.single-post article.post .entry-content {
    font-size: 16px;
    line-height: 1.7;
  }
}

@media (max-width: 520px) {
  body.single-post article.post .entry-title {
    font-size: 26px !important;
  }

  body.single-post article.post .entry-content > p:first-child:has(em) {
    font-size: 16px;
  }

  body.single-post article.post .entry-content h2 {
    font-size: 23px !important;
  }

  body.single-post article.post .entry-content h3 {
    font-size: 19px !important;
  }
}


/* OFFRE MANAGERS 2301 - PAGE PILOTE MODERNE */
body.postid-2301 {
  --mgr-blue: #287fc3;
  --mgr-blue-dark: #1d659c;
  --mgr-blue-soft: #eef7fd;
  --mgr-ink: #0f172a;
  --mgr-text: #475569;
  --mgr-muted: #64748b;
  --mgr-line: #dfe8f0;
  --mgr-soft: #f7fafc;
}

body.postid-2301 .main-content {
  padding-top: 38px !important;
  padding-bottom: 52px !important;
}

body.postid-2301 main.content-wrap {
  display: block !important;
  width: calc(100% - 36px) !important;
  max-width: 1384px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

body.postid-2301 .content-area,
body.postid-2301 .site-main,
body.postid-2301 article.ec_store,
body.postid-2301 article.ec_store .post-content,
body.postid-2301 article.ec_store .entry-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.postid-2301 #secondary,
body.postid-2301 .widget-area,
body.postid-2301 article.ec_store > .entry-header,
body.postid-2301 article.ec_store > .post-content > .entry-header {
  display: none !important;
}

body.postid-2301 .ns-manager-offer,
body.postid-2301 .ns-manager-offer * {
  box-sizing: border-box;
}

body.postid-2301 .ns-manager-offer {
  color: var(--mgr-text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.postid-2301 .ns-manager-offer h1,
body.postid-2301 .ns-manager-offer h2,
body.postid-2301 .ns-manager-offer h3,
body.postid-2301 .ns-manager-offer p {
  text-align: left;
}

body.postid-2301 .ns-manager-offer h2 {
  margin: 0 0 14px !important;
  color: var(--mgr-ink) !important;
  font-size: clamp(28px, 3.2vw, 38px) !important;
  line-height: 1.2 !important;
  font-weight: 780 !important;
  letter-spacing: -0.035em !important;
  text-transform: none !important;
}

body.postid-2301 .ns-manager-offer h3 {
  margin: 0 0 9px !important;
  color: var(--mgr-ink) !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
  text-transform: none !important;
}

body.postid-2301 .mgr-section {
  margin-top: 78px;
}

body.postid-2301 .mgr-section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

body.postid-2301 .mgr-section-head p {
  margin: 0 !important;
  color: var(--mgr-muted);
  font-size: 17px;
  line-height: 1.7;
}

body.postid-2301 .mgr-eyebrow {
  display: inline-flex;
  margin: 0 0 18px !important;
  padding: 7px 12px;
  color: var(--mgr-blue) !important;
  background: var(--mgr-blue-soft);
  border: 1px solid #d2e9f8;
  border-radius: 999px;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.postid-2301 .mgr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  min-height: 540px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbfe 0%, #edf6fc 100%);
  border: 1px solid var(--mgr-line);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, .09);
}

body.postid-2301 .mgr-hero__content {
  display: flex;
  padding: 56px 52px;
  flex-direction: column;
  justify-content: center;
}

body.postid-2301 .mgr-hero h1 {
  margin: 0 0 20px !important;
  color: var(--mgr-ink) !important;
  font-size: clamp(40px, 5vw, 62px) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.055em !important;
  text-transform: none !important;
  text-wrap: balance;
}

body.postid-2301 .mgr-hero__lead {
  max-width: 620px;
  margin: 0 0 26px !important;
  color: #334155 !important;
  font-size: clamp(18px, 2vw, 21px) !important;
  line-height: 1.6 !important;
}

body.postid-2301 .mgr-tags,
body.postid-2301 .mgr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.postid-2301 .mgr-tags {
  margin-bottom: 28px;
}

body.postid-2301 .mgr-tag {
  display: inline-flex;
  padding: 8px 11px;
  align-items: center;
  gap: 7px;
  color: #334155;
  background: rgba(255,255,255,.78);
  border: 1px solid #d9e6ef;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
}

body.postid-2301 .mgr-button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: var(--mgr-blue);
  border: 1px solid var(--mgr-blue);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(40, 127, 195, .18);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

body.postid-2301 .mgr-button:hover {
  color: #ffffff !important;
  background: var(--mgr-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(40, 127, 195, .23);
}

body.postid-2301 .mgr-button--secondary {
  color: var(--mgr-blue) !important;
  background: #ffffff;
  border-color: #bfdcf0;
  box-shadow: none;
}

body.postid-2301 .mgr-button--secondary:hover {
  color: var(--mgr-blue-dark) !important;
  background: #f7fbfe;
}

body.postid-2301 .mgr-hero__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

body.postid-2301 .mgr-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237,246,252,.35), transparent 32%);
  pointer-events: none;
}

body.postid-2301 .mgr-hero__media img {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

body.postid-2301 .mgr-facts,
body.postid-2301 .mgr-grid-3,
body.postid-2301 .mgr-grid-2,
body.postid-2301 .mgr-usecases,
body.postid-2301 .mgr-testimonials,
body.postid-2301 .mgr-stats {
  display: grid;
  gap: 16px;
}

body.postid-2301 .mgr-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

body.postid-2301 .mgr-fact,
body.postid-2301 .mgr-card,
body.postid-2301 .mgr-usecase,
body.postid-2301 .mgr-quote,
body.postid-2301 .mgr-stat {
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, .04);
}

body.postid-2301 .mgr-fact {
  padding: 19px 18px;
}

body.postid-2301 .mgr-fact__icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  place-items: center;
  background: var(--mgr-blue-soft);
  border-radius: 10px;
  font-size: 19px;
}

body.postid-2301 .mgr-fact strong,
body.postid-2301 .mgr-stat strong {
  display: block;
  color: var(--mgr-ink);
  font-size: 16px;
  line-height: 1.35;
}

body.postid-2301 .mgr-fact span,
body.postid-2301 .mgr-stat span {
  display: block;
  margin-top: 4px;
  color: var(--mgr-muted);
  font-size: 13px;
  line-height: 1.45;
}

body.postid-2301 .mgr-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.postid-2301 .mgr-grid-2,
body.postid-2301 .mgr-testimonials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.postid-2301 .mgr-card {
  padding: 25px 24px;
}

body.postid-2301 .mgr-card__number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 17px;
  place-items: center;
  color: var(--mgr-blue);
  background: var(--mgr-blue-soft);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
}

body.postid-2301 .mgr-card p,
body.postid-2301 .mgr-usecase p {
  margin: 0 !important;
  color: var(--mgr-muted);
  font-size: 14px;
  line-height: 1.6;
}

body.postid-2301 .mgr-objectives {
  padding: 34px;
  background: linear-gradient(135deg,#10213a 0%,#1b4c7d 100%);
  border: 1px solid rgba(126,190,235,.22);
  box-shadow: 0 14px 34px rgba(11,37,69,.16);
  border-radius: 18px;
}

body.postid-2301 .mgr-objectives h2,
body.postid-2301 .mgr-objectives h3 {
  color: #ffffff !important;
}

body.postid-2301 .mgr-objectives .mgr-section-head p {
  color: #cbd5e1;
}

body.postid-2301 .mgr-objective-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

body.postid-2301 .mgr-objective-list li {
  position: relative;
  margin: 0;
  padding: 15px 16px 15px 48px;
  color: #e2e8f0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  line-height: 1.55;
}

body.postid-2301 .mgr-objective-list li::before {
  content: "✓";
  position: absolute;
  top: 14px;
  left: 17px;
  color: #7dd3fc;
  font-weight: 850;
}

body.postid-2301 .mgr-program {
  overflow: hidden;
  border: 1px solid var(--mgr-line);
  border-radius: 18px;
}

body.postid-2301 .mgr-program__row {
  display: grid;
  grid-template-columns: 120px 230px minmax(0, 1fr);
  background: #ffffff;
}

body.postid-2301 .mgr-program__row + .mgr-program__row {
  border-top: 1px solid var(--mgr-line);
}

body.postid-2301 .mgr-program__part,
body.postid-2301 .mgr-program__title,
body.postid-2301 .mgr-program__text {
  padding: 23px 22px;
}

body.postid-2301 .mgr-program__part {
  color: var(--mgr-blue);
  background: var(--mgr-blue-soft);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

body.postid-2301 .mgr-program__title {
  color: var(--mgr-ink);
  font-weight: 750;
}

body.postid-2301 .mgr-program__text {
  color: var(--mgr-muted);
  font-size: 14px;
  line-height: 1.65;
}

body.postid-2301 .mgr-usecases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.postid-2301 .mgr-usecase {
  padding: 24px 22px;
}

body.postid-2301 .mgr-usecase__icon {
  display: block;
  margin-bottom: 12px;
  font-size: 27px;
}

body.postid-2301 .mgr-usecase ul {
  margin: 13px 0 0 !important;
  padding-left: 19px !important;
}

body.postid-2301 .mgr-usecase li {
  margin-bottom: 8px;
  color: var(--mgr-text);
  font-size: 14px;
  line-height: 1.55;
}

body.postid-2301 .mgr-usecase li::marker {
  color: var(--mgr-blue);
}

body.postid-2301 .mgr-practical {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  padding: 34px;
  gap: 34px;
  align-items: center;
  background: var(--mgr-soft);
  border: 1px solid var(--mgr-line);
  border-radius: 18px;
}

body.postid-2301 .mgr-practical ul {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.postid-2301 .mgr-practical li {
  margin-bottom: 10px;
  color: var(--mgr-text);
}

body.postid-2301 .mgr-practical li strong {
  color: var(--mgr-ink);
}

body.postid-2301 .mgr-tools {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 14px;
}

body.postid-2301 .mgr-tools p {
  margin: 0 0 14px !important;
  color: var(--mgr-muted);
  font-size: 14px;
}

body.postid-2301 .mgr-tools img {
  display: block;
  width: 100%;
  height: auto !important;
}

body.postid-2301 .mgr-quote {
  position: relative;
  padding: 27px 25px 24px;
}

body.postid-2301 .mgr-quote::before {
  content: "“";
  position: absolute;
  top: 11px;
  right: 20px;
  color: #dbeef9;
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1;
}

body.postid-2301 .mgr-quote p {
  position: relative;
  margin: 0 0 18px !important;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

body.postid-2301 .mgr-quote strong {
  color: var(--mgr-blue);
  font-size: 13px;
}

body.postid-2301 .mgr-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.postid-2301 .mgr-stat {
  padding: 24px 20px;
  text-align: center;
}

body.postid-2301 .mgr-stat strong {
  color: var(--mgr-blue);
  font-size: 25px;
}

body.postid-2301 .mgr-stat span {
  font-size: 14px;
}

body.postid-2301 .mgr-cta {
  margin-top: 78px;
  padding: 48px;
  color: #ffffff;
  background: linear-gradient(135deg, #174f78 0%, #287fc3 100%);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(40, 127, 195, .2);
  text-align: center;
}

body.postid-2301 .mgr-cta h2,
body.postid-2301 .mgr-cta p {
  color: #ffffff !important;
  text-align: center !important;
}

body.postid-2301 .mgr-cta h2 {
  margin-bottom: 12px !important;
}

body.postid-2301 .mgr-cta p {
  max-width: 660px;
  margin: 0 auto 25px !important;
  color: #e0f2fe !important;
  font-size: 17px;
}

body.postid-2301 .mgr-cta .mgr-actions {
  justify-content: center;
}

body.postid-2301 .mgr-cta .mgr-button {
  color: var(--mgr-blue) !important;
  background: #ffffff;
  border-color: #ffffff;
}

body.postid-2301 .mgr-cta .mgr-button--secondary {
  color: #ffffff !important;
  background: transparent;
  border-color: rgba(255,255,255,.65);
}

body.postid-2301 .mgr-legal {
  max-width: 850px;
  margin: 24px auto 0 !important;
  color: var(--mgr-muted) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  body.postid-2301 .mgr-hero {
    grid-template-columns: 1fr;
  }

  body.postid-2301 .mgr-hero__media {
    min-height: 320px;
    order: -1;
  }

  body.postid-2301 .mgr-hero__media img {
    min-height: 320px;
    max-height: 390px;
  }

  body.postid-2301 .mgr-hero__content {
    padding: 38px 34px 42px;
  }

  body.postid-2301 .mgr-facts,
  body.postid-2301 .mgr-usecases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.postid-2301 .mgr-grid-3 {
    grid-template-columns: 1fr;
  }

  body.postid-2301 .mgr-program__row {
    grid-template-columns: 95px 190px minmax(0, 1fr);
  }

  body.postid-2301 .mgr-practical {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.postid-2301 .main-content {
    padding-top: 18px !important;
  }

  body.postid-2301 main.content-wrap {
    width: calc(100% - 20px) !important;
  }

  body.postid-2301 .mgr-section {
    margin-top: 55px;
  }

  body.postid-2301 .mgr-hero {
    border-radius: 17px;
  }

  body.postid-2301 .mgr-hero__media {
    min-height: 230px;
  }

  body.postid-2301 .mgr-hero__media img {
    min-height: 230px;
    max-height: 260px;
  }

  body.postid-2301 .mgr-hero__content {
    padding: 29px 21px 32px;
  }

  body.postid-2301 .mgr-hero h1 {
    font-size: 37px !important;
  }

  body.postid-2301 .mgr-hero__lead {
    font-size: 17px !important;
  }

  body.postid-2301 .mgr-actions,
  body.postid-2301 .mgr-button {
    width: 100%;
  }

  body.postid-2301 .mgr-facts,
  body.postid-2301 .mgr-grid-2,
  body.postid-2301 .mgr-usecases,
  body.postid-2301 .mgr-testimonials,
  body.postid-2301 .mgr-stats {
    grid-template-columns: 1fr;
  }

  body.postid-2301 .mgr-objectives,
  body.postid-2301 .mgr-practical {
    padding: 25px 20px;
  }

  body.postid-2301 .mgr-program__row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  body.postid-2301 .mgr-program__part {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    padding: 18px 10px;
  }

  body.postid-2301 .mgr-program__title {
    padding: 18px 17px 6px;
  }

  body.postid-2301 .mgr-program__text {
    padding: 6px 17px 18px;
  }

  body.postid-2301 .mgr-cta {
    padding: 35px 21px;
    border-radius: 17px;
  }
}


/* OFFRE MANAGERS 2301 - REFERENCES ET DETAILS */
body.postid-2301 .mgr-client-references {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.postid-2301 .mgr-client-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(15, 23, 42, .055);
}

body.postid-2301 .mgr-client-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
}

body.postid-2301 .mgr-client-card__media {
  display: grid;
  min-height: 170px;
  place-items: center;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid var(--mgr-line);
}

body.postid-2301 .mgr-client-card--wide .mgr-client-card__media {
  border-right: 1px solid var(--mgr-line);
  border-bottom: 0;
}

body.postid-2301 .mgr-client-card__media img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: 250px;
  object-fit: contain;
}

body.postid-2301 .mgr-client-card__content {
  padding: 25px 24px;
}

body.postid-2301 .mgr-client-card__label {
  margin: 0 0 7px !important;
  color: var(--mgr-blue) !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.postid-2301 .mgr-client-card__meta {
  margin: -2px 0 17px !important;
  color: var(--mgr-muted) !important;
  font-size: 13px !important;
}

body.postid-2301 .mgr-client-card blockquote {
  margin: 17px 0 0 !important;
  padding: 17px 19px;
  color: #334155;
  background: var(--mgr-blue-soft);
  border-left: 3px solid var(--mgr-blue);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.7;
}

body.postid-2301 .mgr-management-experience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, .6fr)) minmax(300px, 1.4fr);
  gap: 14px;
  padding: 30px;
  align-items: stretch;
  background: var(--mgr-soft);
  border: 1px solid var(--mgr-line);
  border-radius: 18px;
}

body.postid-2301 .mgr-management-experience__stat {
  display: flex;
  min-height: 150px;
  padding: 22px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 13px;
  text-align: center;
}

body.postid-2301 .mgr-management-experience__stat strong {
  color: var(--mgr-blue);
  font-size: 25px;
  line-height: 1.2;
}

body.postid-2301 .mgr-management-experience__stat span {
  margin-top: 7px;
  color: var(--mgr-muted);
  font-size: 13px;
  line-height: 1.45;
}

body.postid-2301 .mgr-management-experience__content {
  padding: 10px 10px 10px 22px;
  align-self: center;
}

body.postid-2301 .mgr-management-experience__content p:not(.mgr-eyebrow) {
  margin: 0 0 20px !important;
}

@media (max-width: 900px) {
  body.postid-2301 .mgr-management-experience {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.postid-2301 .mgr-management-experience__content {
    grid-column: 1 / -1;
    padding: 18px 4px 4px;
  }
}

@media (max-width: 640px) {
  body.postid-2301 .mgr-client-references,
  body.postid-2301 .mgr-client-card--wide,
  body.postid-2301 .mgr-management-experience {
    grid-template-columns: 1fr;
  }

  body.postid-2301 .mgr-client-card--wide {
    display: block;
  }

  body.postid-2301 .mgr-client-card--wide .mgr-client-card__media {
    border-right: 0;
    border-bottom: 1px solid var(--mgr-line);
  }

  body.postid-2301 .mgr-management-experience {
    padding: 20px;
  }

  body.postid-2301 .mgr-management-experience__content {
    grid-column: auto;
  }
}


/* FORMATIONS METIERS - MODELE MODERNE PARTAGE */
body:has(.ns-metier-offer) {
  --mgr-blue: #287fc3;
  --mgr-blue-dark: #1d659c;
  --mgr-blue-soft: #eef7fd;
  --mgr-ink: #0f172a;
  --mgr-text: #475569;
  --mgr-muted: #64748b;
  --mgr-line: #dfe8f0;
  --mgr-soft: #f7fafc;
}

body:has(.ns-metier-offer) .main-content {
  padding-top: 38px !important;
  padding-bottom: 52px !important;
}

body:has(.ns-metier-offer) main.content-wrap {
  display: block !important;
  width: calc(100% - 36px) !important;
  max-width: 1384px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

body:has(.ns-metier-offer) .content-area,
body:has(.ns-metier-offer) .site-main,
body:has(.ns-metier-offer) article.ec_store,
body:has(.ns-metier-offer) article.ec_store .post-content,
body:has(.ns-metier-offer) article.ec_store .entry-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body:has(.ns-metier-offer) #secondary,
body:has(.ns-metier-offer) .widget-area,
body:has(.ns-metier-offer) article.ec_store > .entry-header,
body:has(.ns-metier-offer) article.ec_store > .post-content > .entry-header {
  display: none !important;
}

body:has(.ns-metier-offer) .ns-metier-offer,
body:has(.ns-metier-offer) .ns-metier-offer * {
  box-sizing: border-box;
}

body:has(.ns-metier-offer) .ns-metier-offer {
  color: var(--mgr-text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body:has(.ns-metier-offer) .ns-metier-offer h1,
body:has(.ns-metier-offer) .ns-metier-offer h2,
body:has(.ns-metier-offer) .ns-metier-offer h3,
body:has(.ns-metier-offer) .ns-metier-offer p {
  text-align: left;
}

body:has(.ns-metier-offer) .ns-metier-offer h2 {
  margin: 0 0 14px !important;
  color: var(--mgr-ink) !important;
  font-size: clamp(28px, 3.2vw, 38px) !important;
  line-height: 1.2 !important;
  font-weight: 780 !important;
  letter-spacing: -0.035em !important;
  text-transform: none !important;
}

body:has(.ns-metier-offer) .ns-metier-offer h3 {
  margin: 0 0 9px !important;
  color: var(--mgr-ink) !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  font-weight: 750 !important;
  text-transform: none !important;
}

body:has(.ns-metier-offer) .mgr-section {
  margin-top: 78px;
}

body:has(.ns-metier-offer) .mgr-section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

body:has(.ns-metier-offer) .mgr-section-head p {
  margin: 0 !important;
  color: var(--mgr-muted);
  font-size: 17px;
  line-height: 1.7;
}

body:has(.ns-metier-offer) .mgr-eyebrow {
  display: inline-flex;
  margin: 0 0 18px !important;
  padding: 7px 12px;
  color: var(--mgr-blue) !important;
  background: var(--mgr-blue-soft);
  border: 1px solid #d2e9f8;
  border-radius: 999px;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body:has(.ns-metier-offer) .mgr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  min-height: 540px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbfe 0%, #edf6fc 100%);
  border: 1px solid var(--mgr-line);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, .09);
}

body:has(.ns-metier-offer) .mgr-hero__content {
  display: flex;
  padding: 56px 52px;
  flex-direction: column;
  justify-content: center;
}

body:has(.ns-metier-offer) .mgr-hero h1 {
  margin: 0 0 20px !important;
  color: var(--mgr-ink) !important;
  font-size: clamp(40px, 5vw, 62px) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.055em !important;
  text-transform: none !important;
  text-wrap: balance;
}

body:has(.ns-metier-offer) .mgr-hero__lead {
  max-width: 620px;
  margin: 0 0 26px !important;
  color: #334155 !important;
  font-size: clamp(18px, 2vw, 21px) !important;
  line-height: 1.6 !important;
}

body:has(.ns-metier-offer) .mgr-tags,
body:has(.ns-metier-offer) .mgr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body:has(.ns-metier-offer) .mgr-tags {
  margin-bottom: 28px;
}

body:has(.ns-metier-offer) .mgr-tag {
  display: inline-flex;
  padding: 8px 11px;
  align-items: center;
  gap: 7px;
  color: #334155;
  background: rgba(255,255,255,.78);
  border: 1px solid #d9e6ef;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
}

body:has(.ns-metier-offer) .mgr-button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: var(--mgr-blue);
  border: 1px solid var(--mgr-blue);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(40, 127, 195, .18);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

body:has(.ns-metier-offer) .mgr-button:hover {
  color: #ffffff !important;
  background: var(--mgr-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(40, 127, 195, .23);
}

body:has(.ns-metier-offer) .mgr-button--secondary {
  color: var(--mgr-blue) !important;
  background: #ffffff;
  border-color: #bfdcf0;
  box-shadow: none;
}

body:has(.ns-metier-offer) .mgr-button--secondary:hover {
  color: var(--mgr-blue-dark) !important;
  background: #f7fbfe;
}

body:has(.ns-metier-offer) .mgr-hero__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

body:has(.ns-metier-offer) .mgr-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237,246,252,.35), transparent 32%);
  pointer-events: none;
}

body:has(.ns-metier-offer) .mgr-hero__media img {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

body:has(.ns-metier-offer) .mgr-facts,
body:has(.ns-metier-offer) .mgr-grid-3,
body:has(.ns-metier-offer) .mgr-grid-2,
body:has(.ns-metier-offer) .mgr-usecases,
body:has(.ns-metier-offer) .mgr-testimonials,
body:has(.ns-metier-offer) .mgr-stats {
  display: grid;
  gap: 16px;
}

body:has(.ns-metier-offer) .mgr-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

body:has(.ns-metier-offer) .mgr-fact,
body:has(.ns-metier-offer) .mgr-card,
body:has(.ns-metier-offer) .mgr-usecase,
body:has(.ns-metier-offer) .mgr-quote,
body:has(.ns-metier-offer) .mgr-stat {
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, .04);
}

body:has(.ns-metier-offer) .mgr-fact {
  padding: 19px 18px;
}

body:has(.ns-metier-offer) .mgr-fact__icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  place-items: center;
  background: var(--mgr-blue-soft);
  border-radius: 10px;
  font-size: 19px;
}

body:has(.ns-metier-offer) .mgr-fact strong,
body:has(.ns-metier-offer) .mgr-stat strong {
  display: block;
  color: var(--mgr-ink);
  font-size: 16px;
  line-height: 1.35;
}

body:has(.ns-metier-offer) .mgr-fact span,
body:has(.ns-metier-offer) .mgr-stat span {
  display: block;
  margin-top: 4px;
  color: var(--mgr-muted);
  font-size: 13px;
  line-height: 1.45;
}

body:has(.ns-metier-offer) .mgr-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:has(.ns-metier-offer) .mgr-grid-2,
body:has(.ns-metier-offer) .mgr-testimonials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:has(.ns-metier-offer) .mgr-card {
  padding: 25px 24px;
}

body:has(.ns-metier-offer) .mgr-card__number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 17px;
  place-items: center;
  color: var(--mgr-blue);
  background: var(--mgr-blue-soft);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
}

body:has(.ns-metier-offer) .mgr-card p,
body:has(.ns-metier-offer) .mgr-usecase p {
  margin: 0 !important;
  color: var(--mgr-muted);
  font-size: 14px;
  line-height: 1.6;
}

body:has(.ns-metier-offer) .mgr-objectives {
  padding: 34px;
  background: linear-gradient(135deg,#10213a 0%,#1b4c7d 100%);
  border: 1px solid rgba(126,190,235,.22);
  box-shadow: 0 14px 34px rgba(11,37,69,.16);
  border-radius: 18px;
}

body:has(.ns-metier-offer) .mgr-objectives h2,
body:has(.ns-metier-offer) .mgr-objectives h3 {
  color: #ffffff !important;
}

body:has(.ns-metier-offer) .mgr-objectives .mgr-section-head p {
  color: #cbd5e1;
}

body:has(.ns-metier-offer) .mgr-objective-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 13px;
  list-style: none;
}

body:has(.ns-metier-offer) .mgr-objective-list li {
  position: relative;
  margin: 0;
  padding: 15px 16px 15px 48px;
  color: #e2e8f0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  line-height: 1.55;
}

body:has(.ns-metier-offer) .mgr-objective-list li::before {
  content: "✓";
  position: absolute;
  top: 14px;
  left: 17px;
  color: #7dd3fc;
  font-weight: 850;
}

body:has(.ns-metier-offer) .mgr-program {
  overflow: hidden;
  border: 1px solid var(--mgr-line);
  border-radius: 18px;
}

body:has(.ns-metier-offer) .mgr-program__row {
  display: grid;
  grid-template-columns: 120px 230px minmax(0, 1fr);
  background: #ffffff;
}

body:has(.ns-metier-offer) .mgr-program__row + .mgr-program__row {
  border-top: 1px solid var(--mgr-line);
}

body:has(.ns-metier-offer) .mgr-program__part,
body:has(.ns-metier-offer) .mgr-program__title,
body:has(.ns-metier-offer) .mgr-program__text {
  padding: 23px 22px;
}

body:has(.ns-metier-offer) .mgr-program__part {
  color: var(--mgr-blue);
  background: var(--mgr-blue-soft);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

body:has(.ns-metier-offer) .mgr-program__title {
  color: var(--mgr-ink);
  font-weight: 750;
}

body:has(.ns-metier-offer) .mgr-program__text {
  color: var(--mgr-muted);
  font-size: 14px;
  line-height: 1.65;
}

body:has(.ns-metier-offer) .mgr-usecases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:has(.ns-metier-offer) .mgr-usecase {
  padding: 24px 22px;
}

body:has(.ns-metier-offer) .mgr-usecase__icon {
  display: block;
  margin-bottom: 12px;
  font-size: 27px;
}

body:has(.ns-metier-offer) .mgr-usecase ul {
  margin: 13px 0 0 !important;
  padding-left: 19px !important;
}

body:has(.ns-metier-offer) .mgr-usecase li {
  margin-bottom: 8px;
  color: var(--mgr-text);
  font-size: 14px;
  line-height: 1.55;
}

body:has(.ns-metier-offer) .mgr-usecase li::marker {
  color: var(--mgr-blue);
}

body:has(.ns-metier-offer) .mgr-practical {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  padding: 34px;
  gap: 34px;
  align-items: center;
  background: var(--mgr-soft);
  border: 1px solid var(--mgr-line);
  border-radius: 18px;
}

body:has(.ns-metier-offer) .mgr-practical ul {
  margin: 18px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

body:has(.ns-metier-offer) .mgr-practical li {
  margin-bottom: 10px;
  color: var(--mgr-text);
}

body:has(.ns-metier-offer) .mgr-practical li strong {
  color: var(--mgr-ink);
}

body:has(.ns-metier-offer) .mgr-tools {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 14px;
}

body:has(.ns-metier-offer) .mgr-tools p {
  margin: 0 0 14px !important;
  color: var(--mgr-muted);
  font-size: 14px;
}

body:has(.ns-metier-offer) .mgr-tools img {
  display: block;
  width: 100%;
  height: auto !important;
}

body:has(.ns-metier-offer) .mgr-quote {
  position: relative;
  padding: 27px 25px 24px;
}

body:has(.ns-metier-offer) .mgr-quote::before {
  content: "“";
  position: absolute;
  top: 11px;
  right: 20px;
  color: #dbeef9;
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1;
}

body:has(.ns-metier-offer) .mgr-quote p {
  position: relative;
  margin: 0 0 18px !important;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

body:has(.ns-metier-offer) .mgr-quote strong {
  color: var(--mgr-blue);
  font-size: 13px;
}

body:has(.ns-metier-offer) .mgr-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:has(.ns-metier-offer) .mgr-stat {
  padding: 24px 20px;
  text-align: center;
}

body:has(.ns-metier-offer) .mgr-stat strong {
  color: var(--mgr-blue);
  font-size: 25px;
}

body:has(.ns-metier-offer) .mgr-stat span {
  font-size: 14px;
}

body:has(.ns-metier-offer) .mgr-cta {
  margin-top: 78px;
  padding: 48px;
  color: #ffffff;
  background: linear-gradient(135deg, #174f78 0%, #287fc3 100%);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(40, 127, 195, .2);
  text-align: center;
}

body:has(.ns-metier-offer) .mgr-cta h2,
body:has(.ns-metier-offer) .mgr-cta p {
  color: #ffffff !important;
  text-align: center !important;
}

body:has(.ns-metier-offer) .mgr-cta h2 {
  margin-bottom: 12px !important;
}

body:has(.ns-metier-offer) .mgr-cta p {
  max-width: 660px;
  margin: 0 auto 25px !important;
  color: #e0f2fe !important;
  font-size: 17px;
}

body:has(.ns-metier-offer) .mgr-cta .mgr-actions {
  justify-content: center;
}

body:has(.ns-metier-offer) .mgr-cta .mgr-button {
  color: var(--mgr-blue) !important;
  background: #ffffff;
  border-color: #ffffff;
}

body:has(.ns-metier-offer) .mgr-cta .mgr-button--secondary {
  color: #ffffff !important;
  background: transparent;
  border-color: rgba(255,255,255,.65);
}

body:has(.ns-metier-offer) .mgr-legal {
  max-width: 850px;
  margin: 24px auto 0 !important;
  color: var(--mgr-muted) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  body:has(.ns-metier-offer) .mgr-hero {
    grid-template-columns: 1fr;
  }

  body:has(.ns-metier-offer) .mgr-hero__media {
    min-height: 320px;
    order: -1;
  }

  body:has(.ns-metier-offer) .mgr-hero__media img {
    min-height: 320px;
    max-height: 390px;
  }

  body:has(.ns-metier-offer) .mgr-hero__content {
    padding: 38px 34px 42px;
  }

  body:has(.ns-metier-offer) .mgr-facts,
  body:has(.ns-metier-offer) .mgr-usecases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(.ns-metier-offer) .mgr-grid-3 {
    grid-template-columns: 1fr;
  }

  body:has(.ns-metier-offer) .mgr-program__row {
    grid-template-columns: 95px 190px minmax(0, 1fr);
  }

  body:has(.ns-metier-offer) .mgr-practical {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body:has(.ns-metier-offer) .main-content {
    padding-top: 18px !important;
  }

  body:has(.ns-metier-offer) main.content-wrap {
    width: calc(100% - 20px) !important;
  }

  body:has(.ns-metier-offer) .mgr-section {
    margin-top: 55px;
  }

  body:has(.ns-metier-offer) .mgr-hero {
    border-radius: 17px;
  }

  body:has(.ns-metier-offer) .mgr-hero__media {
    min-height: 230px;
  }

  body:has(.ns-metier-offer) .mgr-hero__media img {
    min-height: 230px;
    max-height: 260px;
  }

  body:has(.ns-metier-offer) .mgr-hero__content {
    padding: 29px 21px 32px;
  }

  body:has(.ns-metier-offer) .mgr-hero h1 {
    font-size: 37px !important;
  }

  body:has(.ns-metier-offer) .mgr-hero__lead {
    font-size: 17px !important;
  }

  body:has(.ns-metier-offer) .mgr-actions,
  body:has(.ns-metier-offer) .mgr-button {
    width: 100%;
  }

  body:has(.ns-metier-offer) .mgr-facts,
  body:has(.ns-metier-offer) .mgr-grid-2,
  body:has(.ns-metier-offer) .mgr-usecases,
  body:has(.ns-metier-offer) .mgr-testimonials,
  body:has(.ns-metier-offer) .mgr-stats {
    grid-template-columns: 1fr;
  }

  body:has(.ns-metier-offer) .mgr-objectives,
  body:has(.ns-metier-offer) .mgr-practical {
    padding: 25px 20px;
  }

  body:has(.ns-metier-offer) .mgr-program__row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  body:has(.ns-metier-offer) .mgr-program__part {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    padding: 18px 10px;
  }

  body:has(.ns-metier-offer) .mgr-program__title {
    padding: 18px 17px 6px;
  }

  body:has(.ns-metier-offer) .mgr-program__text {
    padding: 6px 17px 18px;
  }

  body:has(.ns-metier-offer) .mgr-cta {
    padding: 35px 21px;
    border-radius: 17px;
  }
}


/* OFFRE MANAGERS 2301 - REFERENCES ET DETAILS */
body:has(.ns-metier-offer) .mgr-client-references {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body:has(.ns-metier-offer) .mgr-client-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(15, 23, 42, .055);
}

body:has(.ns-metier-offer) .mgr-client-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
}

body:has(.ns-metier-offer) .mgr-client-card__media {
  display: grid;
  min-height: 170px;
  place-items: center;
  overflow: hidden;
  background: #f8fafc;
  border-bottom: 1px solid var(--mgr-line);
}

body:has(.ns-metier-offer) .mgr-client-card--wide .mgr-client-card__media {
  border-right: 1px solid var(--mgr-line);
  border-bottom: 0;
}

body:has(.ns-metier-offer) .mgr-client-card__media img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: 250px;
  object-fit: contain;
}

body:has(.ns-metier-offer) .mgr-client-card__content {
  padding: 25px 24px;
}

body:has(.ns-metier-offer) .mgr-client-card__label {
  margin: 0 0 7px !important;
  color: var(--mgr-blue) !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

body:has(.ns-metier-offer) .mgr-client-card__meta {
  margin: -2px 0 17px !important;
  color: var(--mgr-muted) !important;
  font-size: 13px !important;
}

body:has(.ns-metier-offer) .mgr-client-card blockquote {
  margin: 17px 0 0 !important;
  padding: 17px 19px;
  color: #334155;
  background: var(--mgr-blue-soft);
  border-left: 3px solid var(--mgr-blue);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.7;
}

body:has(.ns-metier-offer) .mgr-management-experience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, .6fr)) minmax(300px, 1.4fr);
  gap: 14px;
  padding: 30px;
  align-items: stretch;
  background: var(--mgr-soft);
  border: 1px solid var(--mgr-line);
  border-radius: 18px;
}

body:has(.ns-metier-offer) .mgr-management-experience__stat {
  display: flex;
  min-height: 150px;
  padding: 22px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 13px;
  text-align: center;
}

body:has(.ns-metier-offer) .mgr-management-experience__stat strong {
  color: var(--mgr-blue);
  font-size: 25px;
  line-height: 1.2;
}

body:has(.ns-metier-offer) .mgr-management-experience__stat span {
  margin-top: 7px;
  color: var(--mgr-muted);
  font-size: 13px;
  line-height: 1.45;
}

body:has(.ns-metier-offer) .mgr-management-experience__content {
  padding: 10px 10px 10px 22px;
  align-self: center;
}

body:has(.ns-metier-offer) .mgr-management-experience__content p:not(.mgr-eyebrow) {
  margin: 0 0 20px !important;
}

@media (max-width: 900px) {
  body:has(.ns-metier-offer) .mgr-management-experience {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body:has(.ns-metier-offer) .mgr-management-experience__content {
    grid-column: 1 / -1;
    padding: 18px 4px 4px;
  }
}

@media (max-width: 640px) {
  body:has(.ns-metier-offer) .mgr-client-references,
  body:has(.ns-metier-offer) .mgr-client-card--wide,
  body:has(.ns-metier-offer) .mgr-management-experience {
    grid-template-columns: 1fr;
  }

  body:has(.ns-metier-offer) .mgr-client-card--wide {
    display: block;
  }

  body:has(.ns-metier-offer) .mgr-client-card--wide .mgr-client-card__media {
    border-right: 0;
    border-bottom: 1px solid var(--mgr-line);
  }

  body:has(.ns-metier-offer) .mgr-management-experience {
    padding: 20px;
  }

  body:has(.ns-metier-offer) .mgr-management-experience__content {
    grid-column: auto;
  }
}


/* OFFRE RECHERCHER 4405 - BLOCS SPECIFIQUES */
body:has(.ns-search-offer) .search-steps,
body:has(.ns-search-offer) .search-applications {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body:has(.ns-search-offer) .search-applications {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:has(.ns-search-offer) .search-reliability {
  padding: 36px;
  color: #e2e8f0;
  background: linear-gradient(135deg,#10213a 0%,#1b4c7d 100%);
  border: 1px solid rgba(126,190,235,.22);
  box-shadow: 0 14px 34px rgba(11,37,69,.16);
  border-radius: 18px;
}

body:has(.ns-search-offer) .search-reliability h2 {
  color: #ffffff !important;
}

body:has(.ns-search-offer) .search-reliability .mgr-section-head > p:not(.mgr-eyebrow) {
  color: #cbd5e1 !important;
}

body:has(.ns-search-offer) .search-reliability__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body:has(.ns-search-offer) .search-environments {
  padding: 34px;
  background: var(--mgr-soft);
  border: 1px solid var(--mgr-line);
  border-radius: 18px;
}

body:has(.ns-search-offer) .search-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 14px;
}

body:has(.ns-search-offer) .search-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

body:has(.ns-search-offer) .search-table th,
body:has(.ns-search-offer) .search-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--mgr-line);
  text-align: left;
  vertical-align: top;
}

body:has(.ns-search-offer) .search-table th {
  color: var(--mgr-ink);
  background: var(--mgr-blue-soft);
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

body:has(.ns-search-offer) .search-table td {
  color: var(--mgr-text);
  font-size: 14px;
  line-height: 1.55;
}

body:has(.ns-search-offer) .search-table tbody tr:last-child td {
  border-bottom: 0;
}

body:has(.ns-search-offer) .search-open-source {
  margin: 20px 0 0 !important;
  padding: 16px 18px;
  color: #1e3a5f !important;
  background: var(--mgr-blue-soft);
  border-left: 3px solid var(--mgr-blue);
  border-radius: 0 10px 10px 0;
  font-size: 14px !important;
}

@media (max-width: 900px) {
  body:has(.ns-search-offer) .search-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body:has(.ns-search-offer) .search-steps,
  body:has(.ns-search-offer) .search-applications,
  body:has(.ns-search-offer) .search-reliability__grid {
    grid-template-columns: 1fr;
  }

  body:has(.ns-search-offer) .search-reliability,
  body:has(.ns-search-offer) .search-environments {
    padding: 25px 20px;
  }
}


/* CAPACITES IA - HERO SANS IMAGE TEMPORAIRE */
body:has(.ns-capacity-offer) .mgr-hero.cap-hero-no-image {
  display: block;
  min-height: auto;
  background:
    radial-gradient(circle at 90% 15%, rgba(40,127,195,.16), transparent 28%),
    linear-gradient(135deg, #f8fbfe 0%, #edf6fc 100%);
}

body:has(.ns-capacity-offer) .cap-hero-no-image .mgr-hero__content {
  width: 100%;
  max-width: 860px;
  min-height: 500px;
}

body:has(.ns-capacity-offer) .search-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body:has(.ns-capacity-offer) .search-applications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  body:has(.ns-capacity-offer) .search-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:has(.ns-capacity-offer) .cap-hero-no-image .mgr-hero__content {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  body:has(.ns-capacity-offer) .search-steps,
  body:has(.ns-capacity-offer) .search-applications {
    grid-template-columns: 1fr;
  }
}


/* CAPACITES IA - CARTOUCHE SUPERIEUR COMPACT */
body:has(.ns-capacity-offer) .mgr-hero .mgr-eyebrow {
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding-left: 11px !important;
  padding-right: 11px !important;
}


/* FORMATIONS METIERS - HERO SANS IMAGE */
body:has(.ns-metier-offer) .mgr-hero.cap-hero-no-image,
body.postid-2301 .mgr-hero.cap-hero-no-image {
  display: block;
  min-height: auto;
  background:
    radial-gradient(circle at 90% 15%, rgba(40,127,195,.16), transparent 28%),
    linear-gradient(135deg, #f8fbfe 0%, #edf6fc 100%);
}

body:has(.ns-metier-offer) .cap-hero-no-image .mgr-hero__content,
body.postid-2301 .cap-hero-no-image .mgr-hero__content {
  width: 100%;
  max-width: 860px;
  min-height: 500px;
}

@media (max-width: 900px) {
  body:has(.ns-metier-offer) .cap-hero-no-image .mgr-hero__content,
  body.postid-2301 .cap-hero-no-image .mgr-hero__content {
    min-height: auto;
  }
}


/* FORMATIONS METIERS - CARTOUCHE SUPERIEUR COMPACT */
body:has(.ns-metier-offer:not(.ns-capacity-offer)) .mgr-hero .mgr-eyebrow,
body.postid-2301 .mgr-hero .mgr-eyebrow {
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding-left: 11px !important;
  padding-right: 11px !important;
}


/* BRAINSTORMER - TITRE SUR UNE LIGNE */
@media (min-width: 700px) {
  body.postid-3563 .mgr-hero h1 {
    max-width: none !important;
    font-size: clamp(38px, 4.2vw, 56px) !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 699px) {
  body.postid-3563 .mgr-hero h1 {
    white-space: normal !important;
  }
}


/* AGENT PARTY 10239 - BLOCS SPECIFIQUES */
body:has(.ns-agent-offer) .agent-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body:has(.ns-agent-offer) .agent-format-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(15,23,42,.055);
}

body:has(.ns-agent-offer) .agent-format-card__media {
  height: 270px;
  overflow: hidden;
  background: var(--mgr-soft);
}

body:has(.ns-agent-offer) .agent-format-card__media img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

body:has(.ns-agent-offer) .agent-format-card__content {
  padding: 25px 24px;
}

body:has(.ns-agent-offer) .agent-format-card__content > p:last-child {
  margin: 0 !important;
}

body:has(.ns-agent-offer) .agent-bonus {
  display: flex;
  padding: 32px 34px;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  background: var(--mgr-blue-soft);
  border: 1px solid #cfe6f6;
  border-radius: 18px;
}

body:has(.ns-agent-offer) .agent-bonus h2 {
  font-size: 29px !important;
}

body:has(.ns-agent-offer) .agent-bonus p:last-child {
  margin: 0 !important;
}

body:has(.ns-agent-offer) .agent-bonus .mgr-button {
  flex: 0 0 auto;
}

body:has(.ns-agent-offer) .agent-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  gap: 14px;
}

body:has(.ns-agent-offer) .agent-gallery img {
  display: block;
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  border: 1px solid var(--mgr-line);
  border-radius: 13px;
}

@media (max-width: 760px) {
  body:has(.ns-agent-offer) .agent-format-grid,
  body:has(.ns-agent-offer) .agent-gallery {
    grid-template-columns: 1fr;
  }

  body:has(.ns-agent-offer) .agent-format-card__media {
    height: 220px;
  }

  body:has(.ns-agent-offer) .agent-bonus {
    display: block;
    padding: 26px 21px;
  }

  body:has(.ns-agent-offer) .agent-bonus .mgr-button {
    width: 100%;
    margin-top: 20px;
  }
}


/* OFFRES AGENT - BLOCS COMPLEMENTAIRES */
body:has(.ns-agent-offer) .agent-feedback {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--mgr-line);
  border-radius: 14px;
}

body:has(.ns-agent-offer) .agent-feedback summary {
  padding: 19px 22px;
  color: var(--mgr-blue);
  background: var(--mgr-blue-soft);
  cursor: pointer;
  font-weight: 750;
}

body:has(.ns-agent-offer) .agent-feedback__content {
  padding: 8px 22px 22px;
}

body:has(.ns-agent-offer) .agent-feedback-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--mgr-line);
}

body:has(.ns-agent-offer) .agent-feedback-group:last-child {
  border-bottom: 0;
}

body:has(.ns-agent-offer) .agent-feedback-group p {
  margin: 7px 0 0 !important;
  color: var(--mgr-text);
  font-size: 14px;
  line-height: 1.7;
}

body:has(.ns-agent-offer) .agent-visual {
  overflow: hidden;
  border: 1px solid var(--mgr-line);
  border-radius: 16px;
}

body:has(.ns-agent-offer) .agent-visual img {
  display: block;
  width: 100%;
  height: auto !important;
}


/* OFFRES AGENT - TITRES PRINCIPAUX SUR UNE LIGNE */
body:has(.ns-agent-offer) .mgr-hero h1 {
  max-width: none !important;
  white-space: nowrap !important;
  font-size: clamp(34px, 4.2vw, 56px) !important;
  letter-spacing: -0.035em !important;
}

@media (max-width: 640px) {
  body:has(.ns-agent-offer) .mgr-hero h1 {
    font-size: clamp(17px, 5.2vw, 30px) !important;
    letter-spacing: -0.04em !important;
  }
}


/* OFFRES COWORK - TITRES PRINCIPAUX SUR UNE LIGNE */
body:has(.ns-cowork-offer) .mgr-hero h1 {
  max-width: none !important;
  white-space: nowrap !important;
  font-size: clamp(34px, 4.2vw, 56px) !important;
  letter-spacing: -0.035em !important;
}
@media (max-width: 640px) {
  body:has(.ns-cowork-offer) .mgr-hero h1 {
    font-size: clamp(16px, 5vw, 29px) !important;
    letter-spacing: -0.04em !important;
  }
}

/* OFFRES COWORK - ORGANISME DE FORMATION PLEINE LARGEUR */
body:has(.ns-cowork-offer) .cowork-legal .mgr-section-head,
body:has(.ns-cowork-offer) .cowork-legal .mgr-section-head > p {
  width: 100% !important;
  max-width: none !important;
}


/* OFFRES CONSEIL - IMAGE DE FIN */
body:has(.ns-consulting-offer) .consulting-final-image {
  width: 100%;
  margin: 64px 0 0 !important;
  overflow: hidden;
  border: 1px solid var(--mgr-line, #e2e8f0);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
body:has(.ns-consulting-offer) .consulting-final-image img {
  display: block;
  width: 100%;
  height: auto !important;
  margin: 0 !important;
}
@media (max-width: 767px) {
  body:has(.ns-consulting-offer) .consulting-final-image {
    margin-top: 40px !important;
    border-radius: 14px;
  }
}


/* OFFRES CONSEIL - EXPERIENCE PLEINE LARGEUR */
body:has(.ns-consulting-offer) .ns-consulting-offer .mgr-objectives + .mgr-section .mgr-section-head > p {
  width: 100% !important;
  max-width: none !important;
}



/* PAGE LAB - OUTILS INTERACTIFS */
body.page-id-9378 .entry-content {
  width: min(900px, calc(100% - 40px));
  max-width: 900px !important;
  margin-inline: auto;
}
body.page-id-9378 .ns-lab-page {
  display: grid;
  gap: 44px;
  padding: 12px 0 56px;
}
body.page-id-9378 .ns-lab-tool {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(15, 23, 42, .08);
}
body.page-id-9378 .ns-lab-tool__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 176px;
  padding: 34px 32px 26px;
  background: linear-gradient(135deg, #f7fbff 0%, #edf6fd 100%);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
body.page-id-9378 .ns-lab-tool--cowork .ns-lab-tool__visual {
  background: linear-gradient(135deg, #f7fbff 0%, #eef8f7 100%);
}
body.page-id-9378 .ns-lab-tool__visual img {
  display: block;
  width: auto;
  max-width: min(100%, 380px);
  max-height: 145px;
  height: auto;
  margin: 0;
}
body.page-id-9378 .ns-lab-tool--agent .ns-lab-tool__visual img {
  max-width: min(100%, 334px);
}
body.page-id-9378 .ns-lab-tool__content {
  padding: 34px 38px 40px;
}
body.page-id-9378 .ns-lab-tool .chatbot-text {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 26px;
  color: #334155;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  text-align: center;
}
body.page-id-9378 .ns-lab-chat {
  width: 100%;
}
body.page-id-9378 .ns-lab-chat .mwai-chat {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
@media (max-width: 640px) {
  body.page-id-9378 .entry-content {
    width: min(100% - 24px, 900px);
  }
  body.page-id-9378 .ns-lab-page {
    gap: 28px;
    padding-bottom: 36px;
  }
  body.page-id-9378 .ns-lab-tool {
    border-radius: 16px;
  }
  body.page-id-9378 .ns-lab-tool__visual {
    min-height: 132px;
    padding: 24px 20px 20px;
  }
  body.page-id-9378 .ns-lab-tool__visual img,
  body.page-id-9378 .ns-lab-tool--agent .ns-lab-tool__visual img {
    max-width: min(88%, 320px);
    max-height: 112px;
  }
  body.page-id-9378 .ns-lab-tool__content {
    padding: 26px 20px 30px;
  }
  body.page-id-9378 .ns-lab-tool .chatbot-text {
    margin-bottom: 20px;
    font-size: 16px;
    text-align: left;
  }
}


/* PAGES MENU - LARGEUR OFFRES 1100 PX */
body:is(.page-id-1154, .page-id-362, .page-id-9378, .page-id-11712, .page-id-140) main.content-wrap {
  display: block !important;
  width: calc(100% - 36px) !important;
  max-width: 1384px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
body:is(.page-id-1154, .page-id-362, .page-id-9378, .page-id-11712, .page-id-140) .content-area,
body:is(.page-id-1154, .page-id-362, .page-id-9378, .page-id-11712, .page-id-140) .site-main,
body:is(.page-id-1154, .page-id-362, .page-id-9378, .page-id-11712, .page-id-140) article.page,
body:is(.page-id-1154, .page-id-362, .page-id-9378, .page-id-11712, .page-id-140) article.page .entry-content {
  width: 100% !important;
  max-width: 1384px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
body:is(.page-id-1154, .page-id-362, .page-id-9378, .page-id-11712, .page-id-140) #secondary,
body:is(.page-id-1154, .page-id-362, .page-id-9378, .page-id-11712, .page-id-140) .widget-area {
  display: none !important;
}

/* Équipe */
html body.page-id-362.page-id-362 .team-hero,
html body.page-id-362.page-id-362 .team-intro,
html body.page-id-362.page-id-362 .entry-content div.wp-block-image:has(img.wp-image-6925) {
  width: 100% !important;
  max-width: 1384px !important;
}
html body.page-id-362.page-id-362 .team-intro p {
  max-width: 1040px !important;
}

/* Lab */
html body.page-id-9378.page-id-9378 .entry-content {
  width: 100% !important;
  max-width: 1384px !important;
}

/* Diagnostic */
body.page-id-11712 #nsdiag .nsinner {
  width: 100% !important;
  max-width: 1384px !important;
}

/* Contact */
body.page-id-140 {
  --contact-width: 1384px;
}
body.page-id-140 .entry-content > h4,
body.page-id-140 .entry-content > .ns-contact-form-intro,
body.page-id-140 .entry-content > .wpcf7,
body.page-id-140 .entry-content > .calendly-inline-widget,
body.page-id-140 .entry-content > .ns-booking-card,
body.page-id-140 .entry-content > #calendly-container,
body.page-id-140 .entry-content > figure:has(.wp-image-2333),
body.page-id-140 .entry-content > figure:has(.wp-image-2337),
body.page-id-140 .entry-content > figure:has(.wp-image-6862) {
  max-width: 1384px !important;
}

/* Blog */
body.blog {
  --blog-width: 1384px;
}
body.blog .posts-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
@media (max-width: 900px) {
  body.blog .posts-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 680px) {
  body.blog .posts-layout {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 936px) {
  body:is(.page-id-1154, .page-id-362, .page-id-9378, .page-id-11712, .page-id-140) main.content-wrap {
    width: calc(100% - 24px) !important;
    max-width: none !important;
  }
}

/* TOUTES LES OFFRES - EN-TETES DE SECTION PLEINE LARGEUR */
body.single-ec_store .mgr-section-head,
body.single-ec_store .mgr-section-head > h2,
body.single-ec_store .mgr-section-head > h3,
body.single-ec_store .mgr-section-head > p {
  width: 100% !important;
  max-width: none !important;
}


/* TOUTES LES OFFRES - EMOJIS DES CARTES CENTRES */
body.single-ec_store .mgr-facts .mgr-fact__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  padding: 0 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}


/* TOUTES LES OFFRES - COULEURS DES TEXTES DE REFERENCES */
body.single-ec_store [class*="reference"] p,
body.single-ec_store [class*="reference"] blockquote {
  color: #334155 !important;
}
body.single-ec_store [class*="reference"] p strong,
body.single-ec_store [class*="reference"] h3,
body.single-ec_store [class*="reference"] blockquote strong {
  color: #0f172a !important;
}


/* TOUTES LES OFFRES - CARTOUCHES HERO SUR UNE LIGNE */
@media (min-width: 900px) {
  body.single-ec_store .cap-hero-no-image .mgr-hero__content {
    width: 100% !important;
    max-width: 1384px !important;
  }
  body.single-ec_store .mgr-tags {
    display: flex !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }
  body.single-ec_store .mgr-tag {
    flex: 0 1 auto !important;
    white-space: nowrap !important;
  }
}


/* TOUTES LES OFFRES - ESPACE IMAGE TEXTE DES REFERENCES */
body [class*="-offer"] section[aria-labelledby*="reference"] .mgr-usecase > img,
body [class*="-offer"] [class*="reference-feedback"] > img,
body [class*="-offer"] .mgr-client-references .mgr-client-card__media {
  display: block !important;
  margin-bottom: 24px !important;
}


/* TOUTES LES OFFRES - AUCUN LIEN TEXTUEL SOULIGNE (10/09/2026) */
html body.single-ec_store:not(:has(.ns-metier-resources, .ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-copilot-offer, .ns-gemini-offer, .ns-mistral-offer, .ns-chatgpt-offer)) a:not(.mgr-button):not(.wp-block-button__link):not(.button):not([class*="button"]):not(:has(img)),
body:has(.ns-metier-offer):not(:has(.ns-metier-resources, .ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-copilot-offer, .ns-gemini-offer, .ns-mistral-offer, .ns-chatgpt-offer)) .ns-metier-offer a:not(.mgr-button):not(.wp-block-button__link):not(.button):not([class*="button"]):not(:has(img)),
body:has([class*="-offer"]):not(:has(.ns-metier-resources, .ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-copilot-offer, .ns-gemini-offer, .ns-mistral-offer, .ns-chatgpt-offer)) [class*="-offer"] .mgr-usecase h3 > a {
  text-decoration: none !important;
}


/* PAGES METIERS, VILLES, SECTEURS ET OUTILS - AUCUN LIEN SOULIGNE (10/09/2026) */
html body:has(.ns-metier-resources, .ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-copilot-offer, .ns-gemini-offer, .ns-mistral-offer, .ns-chatgpt-offer) a,
html body:has(.ns-metier-resources, .ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-copilot-offer, .ns-gemini-offer, .ns-mistral-offer, .ns-chatgpt-offer) a:hover,
html body:has(.ns-metier-resources, .ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-copilot-offer, .ns-gemini-offer, .ns-mistral-offer, .ns-chatgpt-offer) a:focus,
html body:has(.ns-metier-resources, .ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-copilot-offer, .ns-gemini-offer, .ns-mistral-offer, .ns-chatgpt-offer) a:visited {
  text-decoration: none !important;
}



/* FORMATIONS METIERS - REFERENCES SANS DOUBLE FENETRE */
body:has(.ns-metier-offer) .mgr-client-card {
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body:has(.ns-metier-offer) .mgr-client-card__media {
  overflow: hidden !important;
  margin-bottom: 12px !important;
  border: 1px solid var(--mgr-line, #e2e8f0);
  border-radius: 16px;
  background: #fff;
}
body:has(.ns-metier-offer) .mgr-client-card__content {
  padding: 0 !important;
  background: transparent !important;
}
body:has(.ns-metier-offer) .mgr-client-card__label,
body:has(.ns-metier-offer) .mgr-client-card__content > h3 {
  display: none !important;
}
body:has(.ns-metier-offer) .mgr-client-card__content blockquote {
  margin: 0 !important;
}
body:has(.ns-metier-offer) .mgr-client-card__content:not(:has(blockquote)) {
  display: none !important;
}


/* FORMATIONS METIERS - GUILLEMET AU-DESSUS DU TEMOIGNAGE */
body:has(.ns-metier-offer) .mgr-client-card blockquote,
body.postid-2301 .mgr-client-card blockquote {
  padding: 12px 19px 17px !important;
}
body:has(.ns-metier-offer) .mgr-client-card blockquote::before,
body:has(.ns-metier-offer) .mgr-client-card blockquote:before,
body.postid-2301 .mgr-client-card blockquote::before,
body.postid-2301 .mgr-client-card blockquote:before {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  transform: none !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 0 7px 0 !important;
  line-height: 34px !important;
}


/* HEADER ET WIDGET BAS - LIENS SANS SOULIGNEMENT */
html body #mainnav a,
html body .mainnav a,
html body .main-navigation a,
html body .site-header a,
html body header a,
html body footer a,
html body .site-footer a,
html body .footer-widgets a,
html body .footer-widget-area a,
html body #sidebar-footer a,
html body .site-footer-widgets a {
  text-decoration: none !important;
  text-decoration-line: none !important;
}


/* OFFRES COWORK - CARTES ET LISTES HOMOGENES */
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) {
  height: 100%;
  padding: 24px 22px !important;
  box-sizing: border-box;
  color: var(--mgr-text, #334155);
  background: #fff;
  border: 1px solid var(--mgr-line, #dbe5ee);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(15, 23, 42, .055);
}
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) h3 {
  margin: 0 0 12px !important;
  color: var(--mgr-heading, #0f172a) !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 750;
}
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) .mgr-card__number + h3 {
  margin-top: 14px !important;
}
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) p {
  margin: 0 0 10px !important;
  color: var(--mgr-text, #334155) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) p:last-child {
  margin-bottom: 0 !important;
}
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) ul {
  margin: 13px 0 0 !important;
  padding-left: 20px !important;
}
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) li {
  margin: 0 0 8px !important;
  padding-left: 2px;
  color: var(--mgr-text, #334155) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) li:last-child {
  margin-bottom: 0 !important;
}
body:has(.ns-cowork-offer) :is(.mgr-card, .mgr-usecase) li::marker {
  color: var(--mgr-blue, #287fc3) !important;
  font-size: .8em;
}


/* BLOG - CARTES MODERNISÉES V2 */
body.blog .posts-layout > article.post {
  flex-direction: column;
}

body.blog .posts-layout > article.post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blog-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  z-index: 2;
  pointer-events: none;
}

body.blog .posts-layout > article.post:hover::before {
  transform: scaleX(1);
}

body.blog .posts-layout > article.post:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 127, 195, .35);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .12);
}

body.blog .posts-layout .post-content {
  flex: 1 1 auto;
}

body.blog .posts-layout .post-meta .posted-on {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  color: var(--blog-blue) !important;
  background: #eef6fc;
  border-radius: 999px;
  font-size: 12.5px !important;
  font-weight: 650;
}

body.blog .posts-layout .post-meta .posted-on i {
  font-size: 11px;
}

body.blog .posts-layout .post-meta .posted-on a,
body.blog .posts-layout .post-meta .posted-on time {
  color: inherit !important;
}

body.blog .posts-layout .post-meta .posted-on time.updated {
  display: none;
}

body.blog .posts-layout .entry-content {
  flex: 1 1 auto;
}

body.blog .posts-layout .entry-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

body.blog .posts-layout .post-content::after {
  content: "Lire l’article →";
  display: block;
  width: fit-content;
  margin-top: 18px;
  color: var(--blog-blue);
  font-size: 13.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform .2s ease;
}

body.blog .posts-layout > article.post:hover .post-content::after {
  transform: translateX(4px);
}

/* ACCUEIL - CENTRAGE VERTICAL COLONNE DROITE EQUIPE */
@media (min-width: 981px) {
  body.page-id-30 #nshome #equipe .team-facts {
    align-self: center;
  }
}


/* CONTACT EQUIPE DIAGNOSTIC LAB - LARGEUR UNIFIEE V3 */
body:is(.page-id-140,.page-id-362,.page-id-11712,.page-id-9378) main.content-wrap{
  width:calc(100% - 36px)!important;
  max-width:1384px!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
body:is(.page-id-140,.page-id-362,.page-id-11712,.page-id-9378) :is(.content-area,.site-main,article.page,article.page .entry-content){
  width:100%!important;
  max-width:1384px!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
body:is(.page-id-140,.page-id-362,.page-id-11712,.page-id-9378) article.page .entry-content > :is(div,section,article){
  width:100%!important;
  max-width:1384px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}
body.page-id-140 .ns-contact-v2,
body.page-id-140 .ns-seo-content,
body.page-id-362 .ns-team-shell,
body.page-id-11712 #nsdiag,
body.page-id-11712 #nsdiag .nsinner,
body.page-id-9378 .ns-agentic-readiness,
body.page-id-9378 .ns-lab-page,
body.page-id-9378 .ns-lab-tool{
  width:100%!important;
  max-width:1384px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  left:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}
@media(max-width:936px){
  body:is(.page-id-140,.page-id-362,.page-id-11712,.page-id-9378) main.content-wrap{
    width:calc(100% - 24px)!important;
  }
}


/* MASQUAGE DERNIER ENCADRE CONTACT EQUIPE DIAGNOSTIC V1 */
body.page-id-140 .entry-content > .ns-seo-content ~ :is(section,div,article):last-of-type,
body.page-id-362 .entry-content > .ns-team-editorial ~ :is(section,div,article):last-of-type,
body.page-id-11712 .entry-content > .nsdiag-editorial ~ :is(section,div,article):last-of-type,
body.page-id-140 article.page > .entry-content ~ :is(section,div):last-child,
body.page-id-362 article.page > .entry-content ~ :is(section,div):last-child,
body.page-id-11712 article.page > .entry-content ~ :is(section,div):last-child{
  display:none!important;
}


/* BLOG - TITRE PRINCIPAL HARMONISE V1 */
body.blog :is(h1,.page-title,.archive-title,.blog-title){
  font-size:clamp(28px,3.2vw,40px)!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
}

/* FORMATIONS METIERS - BLOCS DE FIN HARMONISES V1 */
body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links){
  width:100% !important;
  max-width:none !important;
  margin:48px auto 0 !important;
  padding:32px 34px !important;
  box-sizing:border-box !important;
  color:var(--mgr-text,#334155) !important;
  background:var(--mgr-soft,#f8fbff) !important;
  border:1px solid var(--mgr-line,#dce6f1) !important;
  border-radius:18px !important;
  font-family:inherit !important;
  font-size:16px !important;
  line-height:1.65 !important;
}
body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) h2{
  margin:0 0 12px !important;
  color:var(--mgr-heading,#0f172a) !important;
  font-family:inherit !important;
  font-size:clamp(26px,3vw,36px) !important;
  line-height:1.18 !important;
  font-weight:800 !important;
  letter-spacing:-.025em !important;
}
body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) p{
  margin:0 !important;
  color:var(--mgr-text,#53677f) !important;
  font-size:16px !important;
  line-height:1.65 !important;
}
body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) ul{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px 12px !important;
  margin:18px 0 0 !important;
  padding:0 !important;
  list-style:none !important;
}
body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) li{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}
body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) li::marker{
  content:"" !important;
}
body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) li a{
  display:inline-flex !important;
  align-items:center !important;
  min-height:42px !important;
  padding:9px 14px !important;
  box-sizing:border-box !important;
  color:var(--mgr-blue,#287fc3) !important;
  background:#fff !important;
  border:1px solid #cfe0ee !important;
  border-radius:999px !important;
  font-family:inherit !important;
  font-size:15px !important;
  line-height:1.4 !important;
  font-weight:650 !important;
  text-decoration:none !important;
  transition:border-color .2s ease,background-color .2s ease,transform .2s ease !important;
}
body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) li a:hover{
  background:#edf6fc !important;
  border-color:var(--mgr-blue,#287fc3) !important;
  transform:translateY(-1px);
}
@media(max-width:640px){
  body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links){
    margin-top:32px !important;
    padding:25px 20px !important;
    border-radius:15px !important;
  }
  body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) h2{
    font-size:26px !important;
  }
  body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) ul{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  body.single-ec_store:has(.ns-metier-offer) :is(.ns-seo-related-training,.ns-seo-links) li a{
    width:100% !important;
    justify-content:center !important;
    text-align:center !important;
  }
}

/* MOBILE - CORRECTIONS DIAGNOSTIC ET LOGOS ACCUEIL V2 */
@media (max-width: 768px) {
  body.page-id-11712 #nsdiag .hero-cta {
    width: 100% !important;
    justify-content: center !important;
  }
  body.page-id-11712 #nsdiag .hero-cta button.btn.btn-onhero.btn-lg {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 15px 12px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    text-align: center !important;
  }
  body:is(.home,.page-id-30) #nshome .nslogos .row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 12px !important;
  }
  body:is(.home,.page-id-30) #nshome .nslogos .row img {
    display: block !important;
    justify-self: center !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
  }
}


/* ACCUEIL MOBILE - REFERENCES CENTRAGE V3 */
@media (max-width: 768px) {
  html body:is(.home,.page-id-30) #nshome .nsw.nslogos {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }
  html body:is(.home,.page-id-30) #nshome .nslogos .row {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html body:is(.home,.page-id-30) #nshome .nslogos .row img {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* LARGEUR GLOBALE 1384PX - alignement de toutes les pages sur la page d'accueil */
@media (min-width: 900px) {
  body .container {
    width: 100% !important;
    max-width: 1384px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
  }
}


/* Supprime la barre de defilement horizontale des pages a bloc pleine largeur (width:100vw) */
body:is(.page-id-30,.page-id-391,.page-id-1154,.page-id-4960,.page-id-11712){overflow-x:hidden}


/* FOOTER : repartition uniforme des 4 blocs (2026-08-16) */
div:has(> aside#block-15):has(> aside#block-17),
div:has(> div > aside#block-15):has(> div > aside#block-17){display:flex !important;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:32px;width:100%;float:none}
div:has(> div > aside#block-15) > div{float:none !important;width:auto !important}
div:has(> aside#block-17):not(:has(> aside#block-15)),
div:has(> div > aside#block-15) > div:has(> aside#block-17){flex:1 1 auto;min-width:0}
aside#block-17{width:100%}
aside#block-17 .ns-footer-links{display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:32px}

/* PAGES VILLES ET SECTEURS (type page) : meme layout que les offres ec_store (2026-08-16) */
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) main.content-wrap {
  display: block !important;
  width: calc(100% - 36px) !important;
  max-width: 1384px !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) .content-area,
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) .site-main,
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) article.page,
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) article.page .post-content,
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) article.page .entry-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) #secondary,
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) .widget-area,
body:is(:has(.ns-ville-offer), :has(.ns-secteur-offer), :has(.ns-refcase)) article.page > .entry-header {
  display: none !important;
}

/* PLEINE LARGEUR DES TEXTES sur les 8 pages 2026-08 (bat la regle max-width:720px du gabarit) */
body:has(.ns-metier-offer) :is(.ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-cowork-offer, .ns-refcase) .mgr-section-head,
body:has(.ns-metier-offer) :is(.ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-cowork-offer, .ns-refcase) .mgr-section-head p,
body:has(.ns-metier-offer) :is(.ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-cowork-offer, .ns-refcase) .mgr-objective-list {
  width: 100% !important;
  max-width: none !important;
}
body:has(.ns-metier-offer) :is(.ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-cowork-offer, .ns-refcase) .mgr-hero__lead {
  max-width: 860px !important;
}

/* HERO SANS IMAGE des pages 2026-08 : une seule colonne pleine largeur */
body:has(.ns-metier-offer) :is(.ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-cowork-offer, .ns-refcase) .mgr-hero.cap-hero-no-image {
  display: block !important;
  min-height: auto;
  background:
    radial-gradient(circle at 90% 15%, rgba(40,127,195,.16), transparent 28%),
    linear-gradient(135deg, #f8fbfe 0%, #edf6fc 100%);
}
body:has(.ns-metier-offer) :is(.ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-cowork-offer, .ns-refcase) .cap-hero-no-image .mgr-hero__content {
  width: 100% !important;
  max-width: none !important;
  min-height: auto;
}
body:has(.ns-metier-offer) :is(.ns-ville-offer, .ns-secteur-offer, .ns-claude-offer, .ns-cowork-offer, .ns-refcase) .cap-hero-no-image .mgr-hero__lead {
  max-width: 980px !important;
}
/* CAS CLIENTS (.ns-refcase, 7 pages 2026-08-17) : hero et textes en pleine largeur, pas de plafond sur le lead */
body:has(.ns-metier-offer) .ns-refcase .mgr-hero__lead,
body:has(.ns-metier-offer) .ns-refcase .cap-hero-no-image .mgr-hero__lead{max-width:none!important;width:100%}
body:has(.ns-metier-offer) .ns-refcase .mgr-hero h1,
body:has(.ns-metier-offer) .ns-refcase .mgr-hero__content,
body:has(.ns-metier-offer) .ns-refcase .mgr-section-head,
body:has(.ns-metier-offer) .ns-refcase .mgr-section-head p,
body:has(.ns-metier-offer) .ns-refcase .mgr-section-head h2,
body:has(.ns-metier-offer) .ns-refcase .ref-prose p{width:100%!important;max-width:none!important}


/* FORMULAIRES NS-DEVIS - TITRE BLANC (2026-08-20) */
html body .ns-devis.ns-devis .mgr-section-head h2,
html body .ns-devis.ns-devis h2 {
  color: #ffffff !important;
}

/* CLAUDE ENTREPRISE - CTA CARTES ALIGNES A GAUCHE (2026-08-20) */
.ns-claude-offer .mgr-grid-2 .mgr-card li.mgr-card-cta {
  margin-left: -40px !important;
}

/* CLAUDE ENTREPRISE - BLOC CATALOGUE EQUILIBRE (2026-08-20) */
.ns-claude-offer .ns-midcta {
  display: grid !important;
  grid-template-columns: minmax(0, 700px) auto !important;
  justify-content: center !important;
  align-items: center !important;
  column-gap: 42px !important;
  row-gap: 18px !important;
  padding: 30px 42px !important;
}
.ns-claude-offer .ns-midcta > p {
  width: auto !important;
  max-width: 700px !important;
  flex: none !important;
  text-align: left !important;
}
.ns-claude-offer .ns-midcta > .mgr-button {
  justify-self: center !important;
  white-space: nowrap !important;
}
@media (max-width: 760px) {
  .ns-claude-offer .ns-midcta {
    grid-template-columns: 1fr !important;
    padding: 26px 22px !important;
  }
  .ns-claude-offer .ns-midcta > p {
    text-align: center !important;
  }
}


/* 2026-08-20 : plus d air entre le chapo d une section et la liste d objectifs (blocs .mgr-objectives) */
html body .mgr-section-head p + .mgr-objective-list,
html body .mgr-section-head + .mgr-objective-list,
html body .mgr-objectives .mgr-objective-list {
  margin-top: 34px !important;
}


/* FOOTER : couleur unique pour tous les liens du pied de page (2026-08-21) */
div:has(> aside#block-15) a,
div:has(> div > aside#block-15) a,
aside#block-8 a,
aside#block-15 a,
aside#block-17 a,
aside#block-17 .ns-footer-links a{color:#a0c8eb !important;text-decoration:none !important}
div:has(> aside#block-15) a:hover,
div:has(> div > aside#block-15) a:hover,
aside#block-8 a:hover,
aside#block-17 a:hover,
aside#block-17 .ns-footer-links a:hover{color:#ffffff !important}

/* --- Blog : dossier a droite de la date --- */
body.blog .posts-layout .post-meta{column-gap:10px;align-items:center}
body.blog .posts-layout .post-meta > span{margin-right:0 !important}
body.blog .posts-layout .post-meta .posted-on{flex:0 0 auto}
body.blog .posts-layout .post-meta .cat-links{flex:0 1 auto}

/* === Cartes articles du blog : bordure bleue permanente (08/09/2026) === */
body.blog .posts-layout > article.post{border-color:#287fc3}
body.blog .posts-layout > article.post:hover{border-color:#287fc3}


/* 2026-09-13 : encarts sombres (.mgr-objectives, .search-reliability) passes du slate #0f172a au degrade bleu marine de la charte (#10213a -> #1b4c7d), lisibilite des textes et des liens ajustee */
html body :is(.mgr-objectives, .search-reliability) p {
  color: #d8e7f5 !important;
}
html body :is(.mgr-objectives, .search-reliability) a {
  color: #a9d7f7 !important;
  font-weight: 700;
  text-decoration: none !important;
}
html body :is(.mgr-objectives, .search-reliability) a:hover {
  color: #ffffff !important;
}
html body .mgr-objective-list li::before {
  color: #8fd0f5 !important;
}


/* TOUTES LES OFFRES (2026-09-14) : le chapeau du hero occupe toute la largeur du bandeau */
html body.single-ec_store .mgr-hero .mgr-hero__lead,
html body.single-ec_store .mgr-hero.cap-hero-no-image .mgr-hero__lead {
  width: 100%;
  max-width: none !important;
}



/* ACCUEIL, PAGE OFFRE ET TOUTES LES FICHES OFFRES (2026-09-18) : deux bleus distincts
   - liens dans le texte : bleu vif #0969da, toujours en gras, jamais soulignés
   - titres, sur-titres, pastilles et libellés : bleu marine #1e3a8a
   Les sections sur fond foncé (devis, bandeaux du bas, objectifs sécurité, hero de l'accueil) et les boutons sont exclus.
   Les :not(#ns-2b) servent uniquement à passer devant les styles propres à chaque page.
   Dans les « Exemples concrets » des fiches métiers, les liens vers app.nextstart.ai gardent le bleu #007bff et le gras, mais ne sont plus soulignés (20/09/2026 : l'exception de soulignement du 12/09 est supprimée).
   Pour revenir en arrière : supprimer ce bloc. */
html body:is(.single-ec_store, .home, .page-id-391) .entry-content.entry-content :is(p, li, dd, dt, td, th, h2, h3, h4, h5, small, summary, figcaption, blockquote) a:not([class*="button"]):not([class*="btn"]):not([style*="background"]):not([style*="padding"]):not(.steprow):not(.cardlink):not(.oitem):not(:is(.ns-devis, .ns-lm__form, .mgr-objectives, [class*="__bottom"], .nshero, .inner, .nsband-offers) a):not([class*="ns-metier-resource"] a[href*="app.nextstart.ai"]):not(#ns-2b):not(#ns-2b-bis) {
  color: #0969da !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
html body:is(.single-ec_store, .home, .page-id-391) .entry-content.entry-content :is(.mgr-eyebrow, .mgr-card__number, .mgr-program__part, .mgr-stat strong, .ns-prix__tag, .ns-prix-dur, .ns-step__n, .offer .tag, .metric, .metric b, .kicker, .nsstat b, .ns-tools__step span, .ns-enbref__dl dt, .ns-palier__eyebrow, .ns-cop-card__badge, .ns-cop-new__title, .ns-ech-dur, .ns-ref__kpi):not(:is(.ns-devis, .ns-lm__form, .mgr-objectives, [class*="__bottom"], .nshero, .inner, .nsband-offers) *):not(#ns-2b) {
  color: #1e3a8a !important;
}
html body.single-ec_store .entry-content.entry-content [class*="ns-metier-resource"] a[href*="app.nextstart.ai"]:not(#ns-2b):not(#ns-2b-bis) {
  color: #007bff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: none !important;
}

