
:root{
  --prisma-black:#111111;
  --prisma-yellow:#ffd400;
  --prisma-white:#ffffff;
  --prisma-ink:#10233f;
}

/* ===== UN SEUL MENU GLOBAL ===== */
.prisma-v151-main-menu-wrap,
.prisma-v153-toggle{
  display:none!important;
}

/* ===== HERO TRANSFORMATIONS SOCIALES ===== */
/* Réduit la hauteur et empêche la grande nappe noire de se prolonger. */
body .prisma-v155-hero,
body .prisma-v120-hero,
body .prisma-observatoire-hero,
body [class*="prisma"][class*="hero"]{
  min-height:0!important;
  height:auto!important;
}

body .prisma-v155-hero,
body .prisma-v120-hero{
  padding-top:38px!important;
  padding-bottom:30px!important;
}

body .prisma-v155-hero .prisma-v155-shell,
body .prisma-v120-hero .prisma-v120-shell{
  max-width:1200px!important;
  margin:0 auto!important;
}

body .prisma-v155-hero h1,
body .prisma-v120-hero h1{
  font-size:clamp(36px,4vw,54px)!important;
  line-height:1.03!important;
  margin-bottom:14px!important;
  max-width:760px!important;
}

body .prisma-v155-hero p,
body .prisma-v120-hero p{
  max-width:760px!important;
  line-height:1.5!important;
}

/* Cible le vieux bloc noir dupliqué sous le hero Transformations sociales */
body .prisma-v079-hero,
body .pot-hero,
body .prisma-observatoire-intro-hero,
body .prisma-portal-legacy-hero{
  display:none!important;
}

/* Evite une grande étendue noire si un ancien conteneur ne contient qu'un titre/intro dupliqué */
body .prisma-v120-content > section:first-child[style*="background"],
body .prisma-v120-content > div:first-child[style*="background"]{
  max-height:none!important;
}

/* ===== NOUVELLE NAVIGATION DES UNIVERS ===== */
.prisma-v157-universe-nav{
  width:100%;
  background:var(--prisma-yellow);
  border-top:1px solid rgba(0,0,0,.08);
  border-bottom:1px solid rgba(0,0,0,.12);
  margin:0!important;
  padding:0!important;
}

.prisma-v157-universe-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 14px;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}

.prisma-v157-universe-inner a{
  color:var(--prisma-black)!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  padding:18px 14px!important;
  border-right:1px solid rgba(0,0,0,.10);
  background:transparent!important;
  white-space:nowrap;
}

.prisma-v157-universe-inner a:first-child{
  border-left:1px solid rgba(0,0,0,.10);
}

.prisma-v157-universe-inner a:hover,
.prisma-v157-universe-inner a:focus{
  background:var(--prisma-black)!important;
  color:var(--prisma-yellow)!important;
}

/* Cache l'ancienne barre locale pour éviter le doublon */
.prisma-v120-menu{
  display:none!important;
}

/* ===== ESPACEMENTS APRES HERO ===== */
.prisma-v157-universe-nav + section,
.prisma-v157-universe-nav + div{
  margin-top:0!important;
}

/* évite le gros bloc noir vide sous la nav sur Transformations sociales */
body .prisma-v120-page,
body .prisma-v155-page{
  background:var(--prisma-white)!important;
}

@media(max-width:900px){
  .prisma-v157-universe-inner{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    scrollbar-width:thin;
  }
  .prisma-v157-universe-inner a{
    padding:15px 12px!important;
    font-size:11px!important;
  }

  body .prisma-v155-hero,
  body .prisma-v120-hero{
    padding-top:28px!important;
    padding-bottom:24px!important;
  }

  body .prisma-v155-hero h1,
  body .prisma-v120-hero h1{
    font-size:clamp(32px,10vw,42px)!important;
  }
}
