/* VÉO — version 844 : retour au template D avec proportions apaisées.
   Fiches détaillées uniquement ; liste des projets v842 inchangée. */

html body.veo-template-d:has(.project-new-hero),
html body.veo-template-d:has(.project-new-hero) #app,
html body.veo-template-d .project-new-hero,
html body.veo-template-d .project-new-body,
html body.veo-template-d .project-facts-zone {
  background:#fff!important;
}

/* Photo conservée, panneau blanc légèrement superposé et symétrique. */
html body.veo-template-d .project-new-hero{
  padding-top:17px!important;
}
html body.veo-template-d .veo-project-back{
  font:500 13px/1.4 'Inter',Arial,sans-serif!important;
  margin-bottom:13px!important;
}
html body.veo-template-d .project-new-grid .project-new-visual{
  height:332px!important;
  min-height:332px!important;
  max-height:332px!important;
  border-radius:10px!important;
}
html body.veo-template-d .project-new-grid .project-new-copy{
  width:min(960px,calc(100% - 72px))!important;
  max-width:calc(100% - 72px)!important;
  margin:-56px auto 0!important;
  align-self:center!important;
  padding:21px 27px 0!important;
  background:#fff!important;
  border:1px solid #e4e9eb!important;
  border-bottom:0!important;
  box-shadow:0 -3px 14px rgba(26,45,55,.045)!important;
}
html body.veo-template-d .project-new-kicker{
  font:630 11px/1.35 'Inter',Arial,sans-serif!important;
  letter-spacing:.035em!important;
  color:#c15a2b!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:650 clamp(23px,2.4vw,29px)/1.23 'Inter',Arial,sans-serif!important;
  letter-spacing:-.018em!important;
  margin:7px 0 9px!important;
  max-width:100%!important;
}
html body.veo-template-d .project-new-grid .project-new-badges{
  gap:8px!important;
  margin:0 0 8px!important;
}
html body.veo-template-d .project-new-grid .project-new-badges .project-new-location{
  font:450 13px/1.4 'Inter',Arial,sans-serif!important;
  color:#546a75!important;
}
html body.veo-template-d .project-new-grid .project-new-summary{
  font:400 14px/1.55 'Inter',Arial,sans-serif!important;
  max-width:820px!important;
  color:#195B6E!important;
}
html body.veo-template-d .project-new-grid .project-new-owner{
  margin-top:10px!important;
}
html body.veo-template-d .project-new-grid .project-new-owner>span{
  font:500 12px/1.3 'Inter',Arial,sans-serif!important;
  color:#7a8992!important;
  letter-spacing:0!important;
}
html body.veo-template-d .project-new-grid .project-new-owner strong{
  font:600 12.5px/1.4 'Inter',Arial,sans-serif!important;
  color:#195B6E!important;
}
html body.veo-template-d .project-new-grid .project-new-owner small{
  font:450 11.5px/1.3 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .project-new-actions{
  margin-top:13px!important;
  gap:11px!important;
}
html body.veo-template-d .project-new-grid .project-new-actions .pill{
  font:600 12.5px/1.35 'Inter',Arial,sans-serif!important;
  min-height:38px!important;
  padding:9px 14px!important;
  border-radius:5px!important;
}
html body.veo-template-d .project-new-grid .veo-d-image-status{
  font:590 11px/1.3 'Inter',Arial,sans-serif!important;
}
/* Une seule rangée d'informations utiles, sans énormes pavés ni microtexte. */
html body.veo-template-d .project-new-grid .project-new-facts.veo-d-keyfacts{
  grid-template-columns:minmax(0,.8fr) minmax(0,.85fr) minmax(200px,1.25fr)!important;
  gap:16px!important;
  margin:15px -27px 0!important;
  padding:13px 27px!important;
  background:#fafbfb!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:#697b84!important;
  font:560 11px/1.35 'Inter',Arial,sans-serif!important;
  letter-spacing:0!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts>div>strong{
  font:640 13px/1.45 'Inter',Arial,sans-serif!important;
  color:#195B6E!important;
  margin-top:4px!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress strong{
  font:650 13px/1.3 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .veo-project-more-facts.veo-d-more{
  margin:0 -27px!important;
  padding:0 27px!important;
  border-color:#e4e9eb!important;
}
html body.veo-template-d .veo-project-more-facts.veo-d-more>summary{
  padding:10px 0!important;
  font:560 12.5px/1.4 'Inter',Arial,sans-serif!important;
  color:#195B6E!important;
}
html body.veo-template-d .veo-project-more-facts-grid>div{
  background:#fff!important;
}
html body.veo-template-d .veo-project-more-facts-grid span{
  font-size:11.5px!important;
}
html body.veo-template-d .veo-project-more-facts-grid strong{
  font-size:13px!important;
}
/* Navigation à hauteur régulière, des titres et descriptions lisibles. */
html body.veo-template-d .project-new-body{
  padding-top:19px!important;
}
html body.veo-template-d .project-new-body .project-tabs{
  gap:23px!important;
  margin-bottom:17px!important;
}
html body.veo-template-d .project-new-body .project-tabs button{
  font:570 13.5px/1.4 'Inter',Arial,sans-serif!important;
  padding:11px 0!important;
}
html body.veo-template-d #detailContent .veo-project-tab-context{
  display:none!important;
}
html body.veo-template-d #detailContent .project-content-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  max-width:920px;
  gap:14px!important;
}
html body.veo-template-d #detailContent .project-main-panel{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  max-width:920px;
}
html body.veo-template-d #detailContent .project-main-panel>.kicker{
  display:none!important;
}
html body.veo-template-d #detailContent .project-main-panel h2,
html body.veo-template-d #detailContent .project-section-head h2{
  font:650 20px/1.3 'Inter',Arial,sans-serif!important;
  margin:0 0 13px!important;
  letter-spacing:-.015em!important;
  color:#195B6E!important;
}
html body.veo-template-d #detailContent .project-main-panel p,
html body.veo-template-d #detailContent .project-lead{
  font:420 14.5px/1.65 'Inter',Arial,sans-serif!important;
  color:#195B6E!important;
}
html body.veo-template-d #detailContent .veo-d-latest{
  margin:0 0 16px!important;
  padding:0!important;
  background:transparent!important;
}
html body.veo-template-d #detailContent .veo-d-latest h3{
  font:620 15px/1.4 'Inter',Arial,sans-serif!important;
  margin:0 0 5px!important;
  color:#195B6E!important;
}
html body.veo-template-d #detailContent .veo-d-latest p{
  margin:0 0 5px!important;
}
html body.veo-template-d #detailContent .veo-d-latest>span{
  color:#71818a!important;
  font:460 12.5px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d #detailContent .veo-d-context{
  margin-top:12px!important;
  max-width:920px;
  border-top:1px solid #e5eaec!important;
}
html body.veo-template-d #detailContent .veo-d-context>summary{
  display:list-item;
  padding:14px 0!important;
  color:#195B6E!important;
  font:580 13.5px/1.4 'Inter',Arial,sans-serif!important;
  cursor:pointer;
}
html body.veo-template-d #detailContent .veo-d-context .project-explain-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 23px!important;
  margin:0 0 14px!important;
}
html body.veo-template-d #detailContent .veo-d-context .project-explain-grid>div{
  padding:13px 0!important;
  border-top:1px solid #e8eced!important;
  background:#fff!important;
}
html body.veo-template-d #detailContent .veo-d-context .project-explain-grid span{
  font:560 11.5px/1.4 'Inter',Arial,sans-serif!important;
  letter-spacing:0!important;
}
html body.veo-template-d #detailContent .veo-d-context .project-explain-grid p{
  font:420 13.5px/1.55 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d #detailContent .veo-project-help-inline{
  grid-column:1!important;
  max-width:920px;
  margin:0!important;
  border-top:1px solid #e7eced!important;
}
html body.veo-template-d #detailContent .veo-project-help-inline>summary{
  padding:13px 0!important;
  font:550 13px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d #detailContent .veo-project-help-inline>.project-side-panel{
  padding:13px 0!important;
  border:0!important;
}
html body.veo-template-d #detailContent .veo-project-help-inline p{
  font-size:13.5px!important;
}
html body.veo-template-d #detailContent .project-timeline-copy p{
  font-size:14px!important;
  line-height:1.6!important;
}
html body.veo-template-d #detailContent .project-meeting-row h3,
html body.veo-template-d #detailContent .project-doc h3{
  font-size:15px!important;
}
html body.veo-template-d .project-new-body .veo-project-fold-title{
  font:630 15.5px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-body .veo-project-fold>summary small{
  font:450 12.5px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-body .veo-project-fold-content :is(p,li){
  font-size:14px!important;
  line-height:1.6!important;
}
@media(max-width:820px){
  html body.veo-template-d .project-new-grid .project-new-visual{
    height:265px!important;
    min-height:265px!important;
    max-height:265px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-copy{
    width:calc(100% - 42px)!important;
    max-width:calc(100% - 42px)!important;
    margin:-39px auto 0!important;
    padding:18px 20px 0!important;
  }
  html body.veo-template-d .project-new-grid .project-new-facts.veo-d-keyfacts{
    margin:14px -20px 0!important;
    padding:13px 20px!important;
  }
  html body.veo-template-d .veo-project-more-facts.veo-d-more{
    margin:0 -20px!important;
    padding:0 20px!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:212px!important;
    min-height:212px!important;
    max-height:212px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-copy{
    width:calc(100% - 28px)!important;
    max-width:calc(100% - 28px)!important;
    margin:-24px auto 0!important;
    padding:15px 14px 0!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:clamp(21px,5.5vw,24px)!important;
    line-height:1.25!important;
    margin:7px 0 8px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-summary{
    font-size:13.5px!important;
    line-height:1.55!important;
  }
  html body.veo-template-d .project-new-grid .project-new-owner{
    margin-top:9px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-owner>span,
  html body.veo-template-d .project-new-grid .project-new-owner strong{
    font-size:12px!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{
    min-height:37px!important;
    padding:8px 11px!important;
    font-size:12px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-facts.veo-d-keyfacts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:11px!important;
    margin:12px -14px 0!important;
    padding:12px 14px!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 .veo-project-more-facts.veo-d-more{
    margin:0 -14px!important;
    padding:0 14px!important;
  }
  html body.veo-template-d .project-new-body .project-tabs{
    gap:15px!important;
    margin-bottom:15px!important;
  }
  html body.veo-template-d .project-new-body .project-tabs button{
    font-size:12.5px!important;
    padding:10px 0!important;
  }
  html body.veo-template-d #detailContent .project-main-panel h2{
    font-size:19px!important;
  }
  html body.veo-template-d #detailContent .veo-d-context .project-explain-grid{
    grid-template-columns:1fr!important;
  }
  html body.veo-template-d #detailContent .project-main-panel p{
    font-size:13.5px!important;
  }
}