/* VÉO — harmonisation des bandeaux publics v578
   Consultations, Réunions, Initiatives, Territoires, Projets : même hiérarchie, même taille, titres blancs. */

:root{
  --veo-public-hero-max:1260px;
  --veo-public-hero-title:clamp(42px,4.2vw,58px);
  --veo-public-hero-mobile:32px;
  --veo-public-hero-kicker:#ff6b2b;
}

/* Même hauteur et même rythme vertical */
body.public-consultations-page .public-consult-hero,
.meeting-page-hero,
body.public-initiatives-page .initiative-hero-v575,
.public-territories-hero,
.projects-explorer-hero{
  padding:44px 0 42px!important;
  color:#fff!important;
}

/* Même largeur d’alignement */
body.public-consultations-page .public-consult-hero>.container,
.meeting-page-hero .meeting-page-intro,
body.public-initiatives-page .initiative-hero-v575>.container,
.public-territories-hero .public-territories-hero-inner,
.projects-explorer-hero>.container{
  width:100%!important;
  max-width:var(--veo-public-hero-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Les contenus textuels sont centrés dans le bandeau, tout en gardant le texte aligné à gauche */
body.public-consultations-page .public-consult-hero-copy,
.meeting-page-hero .meeting-page-intro,
body.public-initiatives-page .initiative-hero-v575>.container,
.public-territories-hero .public-territories-hero-copy,
.projects-explorer-hero .projects-explorer-heading>div:first-child{
  width:100%!important;
  max-width:800px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:left!important;
}

/* Même petit libellé */
body.public-consultations-page .public-consult-hero .kicker,
.meeting-page-hero .kicker,
body.public-initiatives-page .initiative-hero-v575 .kicker,
.public-territories-hero .public-territories-kicker,
.projects-explorer-hero .home-project-eyebrow{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 0 11px!important;
  color:var(--veo-public-hero-kicker)!important;
  font-family:'Inter',Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
}

/* Même petite barre orange */
body.public-consultations-page .public-consult-hero .kicker::before,
.meeting-page-hero .kicker::before,
body.public-initiatives-page .initiative-hero-v575 .kicker::before{
  content:''!important;
  display:block!important;
  width:28px!important;
  height:3px!important;
  border-radius:999px!important;
  background:var(--veo-public-hero-kicker)!important;
  flex:0 0 28px!important;
}
.public-territories-hero .public-territories-kicker i,
.projects-explorer-hero .home-project-eyebrow i{
  width:28px!important;
  height:3px!important;
  border-radius:999px!important;
  background:var(--veo-public-hero-kicker)!important;
  flex:0 0 28px!important;
}

/* TITRES : même typo, même taille, même blanc */
body.public-consultations-page .public-consult-hero h1,
.meeting-page-hero h1,
body.public-initiatives-page .initiative-hero-v575 h1,
.public-territories-hero .public-territories-hero-copy h1,
.projects-explorer-hero .projects-explorer-heading h1{
  margin:0 0 14px!important;
  max-width:800px!important;
  color:#fff!important;
  font-family:'Inter',Arial,sans-serif!important;
  font-size:var(--veo-public-hero-title)!important;
  font-weight:820!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
  text-wrap:balance!important;
}

/* Empêche une ancienne couleur interne de reprendre la main */
body.public-initiatives-page .initiative-hero-v575 h1 span,
.projects-explorer-hero .projects-explorer-heading h1 span{
  color:#fff!important;
}

/* Descriptions : même taille et même couleur */
body.public-consultations-page .public-consult-hero p,
.meeting-page-hero p,
body.public-initiatives-page .initiative-hero-v575 p,
.public-territories-hero .public-territories-hero-copy p,
.projects-explorer-hero .projects-explorer-heading p{
  max-width:720px!important;
  margin:0!important;
  color:rgba(255,255,255,.9)!important;
  font-family:'Inter',Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.52!important;
}

/* Réunions : retire les différences de largeur/padding historiques */
.meeting-page-hero .meeting-page-intro{
  padding:0!important;
}

/* Territoires : bandeau aligné comme les autres */
.public-territories-hero .public-territories-hero-inner{
  min-height:0!important;
  display:block!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

/* Projets : bloc titre centré comme les autres, compteur conservé à droite */
.projects-explorer-hero .projects-explorer-heading{
  position:relative!important;
  display:block!important;
  min-height:0!important;
}
.projects-explorer-hero .projects-explorer-heading h1{
  margin-top:0!important;
}
.projects-explorer-hero .projects-explorer-count{
  position:absolute!important;
  right:0!important;
  bottom:0!important;
  margin:0 0 2px!important;
}

/* Fond bleu canard partagé par tous les bandeaux publics, y compris Projets */
body.public-consultations-page .public-consult-hero,
.meeting-page-hero,
body.public-initiatives-page .initiative-hero-v575,
.public-territories-hero{
  background:#195B6E!important;
}
.projects-explorer-hero{
  background:#195B6E!important;
}

/* Mobile : une seule règle pour tous */
@media(max-width:700px){
  body.public-consultations-page .public-consult-hero,
  .meeting-page-hero,
  body.public-initiatives-page .initiative-hero-v575,
  .public-territories-hero,
  .projects-explorer-hero{
    padding:30px 0 32px!important;
  }

  body.public-consultations-page .public-consult-hero>.container,
  .meeting-page-hero .meeting-page-intro,
  body.public-initiatives-page .initiative-hero-v575>.container,
  .public-territories-hero .public-territories-hero-inner,
  .projects-explorer-hero>.container{
    padding-left:16px!important;
    padding-right:16px!important;
  }

  body.public-consultations-page .public-consult-hero h1,
  .meeting-page-hero h1,
  body.public-initiatives-page .initiative-hero-v575 h1,
  .public-territories-hero .public-territories-hero-copy h1,
  .projects-explorer-hero .projects-explorer-heading h1{
    max-width:none!important;
    margin-bottom:11px!important;
    font-size:var(--veo-public-hero-mobile)!important;
    line-height:1.04!important;
    letter-spacing:-.04em!important;
  }

  body.public-consultations-page .public-consult-hero p,
  .meeting-page-hero p,
  body.public-initiatives-page .initiative-hero-v575 p,
  .public-territories-hero .public-territories-hero-copy p,
  .projects-explorer-hero .projects-explorer-heading p{
    max-width:none!important;
    font-size:14px!important;
    line-height:1.5!important;
  }

  .projects-explorer-hero .projects-explorer-heading{
    display:block!important;
  }
  .projects-explorer-hero .projects-explorer-count{
    position:static!important;
    width:100%!important;
    max-width:800px!important;
    margin:16px auto 0!important;
  }
}

@media(max-width:390px){
  :root{--veo-public-hero-mobile:29px}
}