/* VÉO v848 — haut de fiche projet : grande photo pleine largeur.
   Template validé : pas de panneau superposé ; informations juste sous l'image.
   La partie basse beige, Comprendre, Suivre et le catalogue restent inchangés. */

html body.veo-template-d .project-new-hero {
  background:#fff!important;
  padding-top:18px!important;
  padding-bottom:0!important;
}
html body.veo-template-d .project-new-hero>.container {
  background:#fff!important;
}
html body.veo-template-d .veo-project-back {
  display:inline-flex!important;
  color:#195B6E!important;
  font:500 13px/1.4 'Inter',Arial,sans-serif!important;
  margin:0 0 14px!important;
}
html body.veo-template-d .project-new-grid.veo-d-layout {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  width:100%!important;
  gap:0!important;
  overflow:visible!important;
  background:#fff!important;
  border:0!important;
  box-shadow:none!important;
}

/* La photo occupe toute la largeur du contenu, sans bandeau ni volet par-dessus. */
html body.veo-template-d .project-new-grid .project-new-visual {
  display:block!important;
  order:0!important;
  position:relative!important;
  width:100%!important;
  height:380px!important;
  min-height:380px!important;
  max-height:380px!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
  border-radius:10px!important;
  box-shadow:none!important;
  background:#e7eced!important;
}
html body.veo-template-d .project-new-grid .project-new-image {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  background:transparent!important;
}
html body.veo-template-d .project-new-grid .project-new-image::before,
html body.veo-template-d .project-new-grid .project-new-image::after,
html body.veo-template-d .project-new-grid .project-new-visual::before,
html body.veo-template-d .project-new-grid .project-new-visual::after {
  content:none!important;
  display:none!important;
  background:none!important;
}
html body.veo-template-d .project-new-grid .project-new-image img,
html body.veo-template-d .project-new-grid .project-new-image .project-fallback-image {
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  filter:none!important;
  transform:none!important;
}
html body.veo-template-d .project-new-grid .veo-d-image-status{
  display:none!important;
}

/* Aucun chevauchement : l'information se lit après la photographie. */
html body.veo-template-d .project-new-grid .project-new-copy{
  position:static!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  order:1!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:20px 0 12px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}
html body.veo-template-d .project-new-kicker{
  order:0!important;
  margin:0 0 5px!important;
  color:#bd592a!important;
  font:630 11.5px/1.4 'Inter',Arial,sans-serif!important;
  letter-spacing:.035em!important;
}
html body.veo-template-d .project-new-grid .project-new-copy h1,
html body.veo-template-d .project-new-grid .project-new-copy h1.project-title-long,
html body.veo-template-d .project-new-grid .project-new-copy h1.project-title-xlong{
  order:1!important;
  max-width:100%!important;
  margin:0 0 10px!important;
  color:#195B6E!important;
  font:650 clamp(24px,2.2vw,28px)/1.23 'Inter',Arial,sans-serif!important;
  letter-spacing:-.018em!important;
  text-wrap:pretty;
}
html body.veo-template-d .project-new-grid .project-new-badges{
  order:2!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:9px 15px!important;
  margin:0 0 12px!important;
}
html body.veo-template-d .project-new-grid .project-new-badges .veo-d-original-status{
  display:inline-flex!important;
  align-items:center!important;
  padding:4px 9px!important;
  min-height:0!important;
  font:570 12px/1.35 'Inter',Arial,sans-serif!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
html body.veo-template-d .project-new-grid .project-new-badges .project-new-location{
  padding:0!important;
  font:450 13px/1.45 'Inter',Arial,sans-serif!important;
  color:#617782!important;
  background:transparent!important;
}
html body.veo-template-d .project-new-grid .project-new-summary{
  order:3!important;
  max-width:920px!important;
  margin:0!important;
  color:#195B6E!important;
  font:400 15px/1.6 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .veo-project-read-more{
  order:4!important;
  font:570 13px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .project-new-owner{
  order:5!important;
  margin:14px 0 0!important;
  padding:0!important;
  border:0!important;
}
html body.veo-template-d .project-new-grid .project-new-owner>span{
  color:#72818a!important;
  font:500 12px/1.4 'Inter',Arial,sans-serif!important;
  letter-spacing:0!important;
}
html body.veo-template-d .project-new-grid .project-new-owner strong{
  color:#195B6E!important;
  font:600 13px/1.45 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .project-new-owner small{
  font:470 12px/1.4 'Inter',Arial,sans-serif!important;
}

/* Budget, échéance et avancement regroupés sur une seule ligne sobre. */
html body.veo-template-d .project-new-grid .project-new-facts.veo-d-keyfacts{
  order:6!important;
  display:grid!important;
  grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(160px,1.1fr)!important;
  align-items:center!important;
  gap:20px!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  margin:21px 0 0!important;
  padding:17px 0!important;
  border:0!important;
  border-top:1px solid #e4e9eb!important;
  border-bottom:1px solid #e4e9eb!important;
  background:#fff!important;
  border-radius:0!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts>div{
  padding:0!important;
  margin:0!important;
  border:0!important;
  min-height:0!important;
  background:transparent!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts>div>span,
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress span{
  color:#637780!important;
  font:550 12px/1.4 'Inter',Arial,sans-serif!important;
  letter-spacing:0!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts>div>strong{
  color:#195B6E!important;
  margin-top:5px!important;
  font:630 15px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress strong{
  color:#195B6E!important;
  font:650 15px/1.25 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress-track{
  height:6px!important;
  margin-top:8px!important;
  border-radius:4px!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress-track i{
  border-radius:4px!important;
}

/* Bouton Suivre immédiatement après les repères, secondaire discret à côté. */
html body.veo-template-d .project-new-grid .project-new-actions{
  order:7!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:15px!important;
  margin:15px 0 0!important;
}
html body.veo-template-d .project-new-grid .project-new-actions .pill{
  width:auto!important;
  min-height:40px!important;
  padding:10px 17px!important;
  border-radius:6px!important;
  font:610 13px/1.35 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .veo-project-more-facts.veo-d-more{
  order:8!important;
  display:block!important;
  width:100%!important;
  margin:11px 0 0!important;
  padding:0!important;
  border:0!important;
  border-top:1px solid #eef1f1!important;
  background:#fff!important;
}
html body.veo-template-d .project-new-grid .veo-project-more-facts.veo-d-more>summary{
  padding:11px 0!important;
  color:#195B6E!important;
  font:540 13px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .veo-project-more-facts-grid{
  background:#fff!important;
}

/* La partie beige et ses rubriques restent régies par les versions 845 à 847. */
html body.veo-template-d .project-new-body{
  margin-top:0!important;
}

@media(max-width:820px){
  html body.veo-template-d .project-new-grid .project-new-visual{
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-copy{
    margin:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:18px 0 12px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-facts.veo-d-keyfacts{
    margin:17px 0 0!important;
    padding:14px 0!important;
    gap:14px!important;
  }
  html body.veo-template-d .project-new-grid .veo-project-more-facts.veo-d-more{
    margin:10px 0 0!important;
    padding:0!important;
  }
}
@media(max-width:640px){
  html body.veo-template-d .project-new-hero{
    padding-top:13px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-visual{
    height:220px!important;
    min-height:220px!important;
    max-height:220px!important;
    border-radius:8px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-copy{
    margin:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:15px 0 10px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-copy h1,
  html body.veo-template-d .project-new-grid .project-new-copy h1.project-title-long,
  html body.veo-template-d .project-new-grid .project-new-copy h1.project-title-xlong{
    font-size:23px!important;
    line-height:1.25!important;
    margin:0 0 9px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-summary{
    font-size:14px!important;
    line-height:1.55!important;
  }
  html body.veo-template-d .project-new-grid .project-new-badges{
    gap:8px 12px!important;
    margin-bottom:10px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-facts.veo-d-keyfacts{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:start!important;
    gap:12px 10px!important;
    margin:15px 0 0!important;
    padding:13px 0!important;
  }
  html body.veo-template-d .project-new-facts.veo-d-keyfacts>.project-new-progress{
    grid-column:1/-1!important;
  }
  html body.veo-template-d .project-new-facts.veo-d-keyfacts>div>span,
  html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress span{
    font-size:11px!important;
  }
  html body.veo-template-d .project-new-facts.veo-d-keyfacts>div>strong{
    font-size:13px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-actions{
    margin-top:12px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-actions .pill{
    font-size:12px!important;
    padding:9px 13px!important;
  }
}