/* VÉO — fiche détaillée, template D Immersif.
   Photo pleine largeur, panneau de synthèse superposé, rubriques éditoriales.
   Exclusivement les fiches projets publiques (pas la liste, ni les espaces). */

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,
html body.veo-template-d .project-new-hero>.container,
html body.veo-template-d .project-new-body>.container {
  background-color:#fff!important;
  background:#fff!important;
}
html body.veo-template-d .project-new-hero {
  padding:23px 0 0!important;
  border:0!important;
}
html body.veo-template-d .veo-project-back {
  display:inline-flex;
  margin:0 0 16px!important;
  color:#63747b!important;
  font:500 12px/1.35 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid.veo-d-layout {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:0!important;
  min-height:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
/* Photographie panoramique dans sa largeur réelle de page. */
html body.veo-template-d .project-new-grid .project-new-visual {
  display:block!important;
  order:0!important;
  position:relative!important;
  width:100%!important;
  height:360px!important;
  min-height:360px!important;
  max-height:360px!important;
  overflow:hidden!important;
  border-radius:9px!important;
  background:#E7F0F3!important;
}
html body.veo-template-d .project-new-grid .project-new-image {
  position:absolute!important;
  inset:0!important;
  display:block!important;
  height:100%!important;
  width:100%!important;
}
html body.veo-template-d .project-new-grid .project-new-image :is(img,.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-image-caption {display:none!important;}
html body.veo-template-d .veo-d-original-status {display:none!important;}
html body.veo-template-d .project-new-grid .veo-d-image-status{
  position:absolute!important;
  display:inline-flex!important;
  align-items:center;
  z-index:4!important;
  top:16px!important;
  right:16px!important;
  left:auto!important;
  bottom:auto!important;
  padding:7px 10px!important;
  margin:0!important;
  border:0!important;
  border-radius:5px!important;
  background:#fff!important;
  font:600 11px/1.3 'Inter',Arial,sans-serif!important;
  box-shadow:0 1px 6px rgba(20,30,35,.09)!important;
}
/* Panneau blanc superposé à la photo, comme la maquette validée. */
html body.veo-template-d .project-new-grid .project-new-copy {
  position:relative!important;
  z-index:3;
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 auto!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  order:1!important;
  width:min(1020px, calc(100% - 80px))!important;
  max-width:calc(100% - 80px)!important;
  min-width:0!important;
  height:auto!important;
  padding:22px 28px 0!important;
  margin:-72px auto 0!important;
  align-self:center!important;
  border:1px solid #e2e6e8!important;
  border-bottom:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:0 -5px 23px rgba(24,43,52,.065)!important;
  overflow:visible!important;
}
html body.veo-template-d .project-new-kicker{
  order:0;
  margin:0!important;
  color:#c65d2b!important;
  font:670 10.5px/1.35 'Inter',Arial,sans-serif!important;
  letter-spacing:.06em!important;
}
html body.veo-template-d .project-new-kicker i{display:none!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;
  margin:7px 0 8px!important;
  color:#195B6E!important;
  font:670 clamp(26px,3vw,34px)/1.2 'Inter',Arial,sans-serif!important;
  letter-spacing:-.027em!important;
  text-wrap:pretty;
}
html body.veo-template-d .project-new-grid .project-new-badges{
  order:2;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0 0 9px!important;
  align-items:center!important;
}
html body.veo-template-d .project-new-grid .project-new-badges .project-new-location{
  color:#677880!important;
  font:500 12px/1.4 'Inter',Arial,sans-serif!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
html body.veo-template-d .project-new-grid .project-new-badges .schedule-badge{
  color:#60766a!important;
  background:#f0f4f1!important;
  border:0!important;
  border-radius:3px!important;
  padding:3px 6px!important;
  font:540 10px/1.3 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .project-new-summary{
  order:3;
  max-width:780px!important;
  margin:0!important;
  color:#586971!important;
  font:400 13px/1.58 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .veo-project-read-more{order:4;}
html body.veo-template-d .project-new-grid .project-new-owner{
  order:5;
  border:0!important;
  padding:0!important;
  margin:10px 0 0!important;
}
html body.veo-template-d .project-new-grid .project-new-owner>span{
  display:inline!important;
  margin-right:7px!important;
  color:#879299!important;
  font:600 10px/1.3 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .project-new-owner strong{
  display:inline!important;
  color:#526670!important;
  font:580 11px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .project-new-owner a{
  display:inline-flex!important;
  gap:8px!important;
}
html body.veo-template-d .project-new-grid .project-new-owner small{
  font-size:10px!important;
}
html body.veo-template-d .project-new-grid .project-new-actions{
  order:6;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:15px 0 0!important;
}
html body.veo-template-d .project-new-grid .project-new-actions .pill{
  width:auto!important;
  min-height:37px!important;
  padding:9px 13px!important;
  border-radius:5px!important;
  font:620 11.5px/1.25 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-grid .project-new-actions>a[href="#/projets"]{
  display:none!important;
}
html body.veo-template-d .project-new-grid .project-new-actions .pill.outline{
  background:transparent!important;
  color:#195B6E!important;
  border:0!important;
  box-shadow:none!important;
}
/* Les trois informations utiles se lisent d'un seul regard. */
html body.veo-template-d .project-new-grid .project-new-facts.veo-d-keyfacts{
  order:7;
  display:grid!important;
  grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(150px,1.3fr)!important;
  align-items:center!important;
  gap:14px!important;
  width:auto!important;
  max-width:none!important;
  min-height:0!important;
  padding:14px 26px!important;
  margin:18px -28px 0!important;
  border:0!important;
  border-top:1px solid #edf0f1!important;
  border-radius:0!important;
  background:#fafbfb!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts>div{
  display:block!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border: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{
  display:block;
  color:#7a8990!important;
  font:600 10px/1.35 'Inter',Arial,sans-serif!important;
  letter-spacing:.03em!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts>div>strong{
  display:block;
  margin-top:5px!important;
  color:#195B6E!important;
  font:650 12.5px/1.35 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress{
  display:block!important;
  padding:0!important;
  margin:0!important;
  min-width:0;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress>div:first-child{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress strong{
  color:#195B6E!important;
  font:660 13px/1.2 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress-track{
  width:100%;
  height:5px!important;
  margin-top:8px!important;
  border-radius:4px!important;
  background:#e5ece8!important;
}
html body.veo-template-d .project-new-facts.veo-d-keyfacts .project-new-progress-track i{
  background:#195B6E!important;
  border-radius:4px!important;
}
html body.veo-template-d .veo-project-more-facts.veo-d-more{
  order:8;
  margin:0 -28px!important;
  padding:0 26px!important;
  border:1px solid #e2e6e8!important;
  border-top:0!important;
  border-radius:0!important;
  background:#fff!important;
}
html body.veo-template-d .veo-project-more-facts.veo-d-more>summary{
  padding:10px 0!important;
  color:#195B6E!important;
  font:550 11px/1.4 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .veo-project-more-facts.veo-d-more .veo-project-more-facts-grid{
  border-top:1px solid #e7eced!important;
  background:#fff!important;
}
/* Onglets sous le panneau, section basse de type article plutôt que cartes. */
html body.veo-template-d .project-new-body{
  padding:26px 0 54px!important;
  background:#fff!important;
}
html body.veo-template-d .project-new-body .project-tabs{
  display:flex!important;
  gap:20px!important;
  padding:0!important;
  margin:0 0 20px!important;
  border-bottom:1px solid #e0e6e8!important;
  background:transparent!important;
  overflow-x:auto!important;
  scrollbar-width:thin;
}
html body.veo-template-d .project-new-body .project-tabs button{
  flex:0 0 auto;
  padding:12px 0!important;
  margin:0!important;
  min-height:0!important;
  border:0!important;
  border-bottom:2px solid transparent!important;
  border-radius:0!important;
  background:transparent!important;
  color:#63727a!important;
  font:550 12px/1.35 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d .project-new-body .project-tabs button.active{
  border-bottom-color:#d6632d!important;
  color:#195B6E!important;
  font-weight:650!important;
}
html body.veo-template-d #detailContent .project-content-grid{
  grid-template-columns:minmax(0,1fr) 230px!important;
  gap:30px!important;
  align-items:start;
}
html body.veo-template-d #detailContent .project-main-panel{
  border:0!important;
  padding:2px 0 10px!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body.veo-template-d #detailContent .project-main-panel h2{
  margin-bottom:11px!important;
  font:660 20px/1.3 'Inter',Arial,sans-serif!important;
}
html body.veo-template-d #detailContent .project-main-panel .project-lead{
  font-size:13px!important;
  line-height:1.65!important;
}
html body.veo-template-d #detailContent .project-explain-grid{
  margin-top:4px!important;
}
html body.veo-template-d #detailContent .veo-d-participation{
  grid-column:2!important;
  align-self:start!important;
  padding:0 0 0 18px!important;
  border-left:2px solid #e4e8eb!important;
  background:#fff!important;
}
html body.veo-template-d #detailContent .veo-d-participation h3{
  font:650 13px/1.4 'Inter',Arial,sans-serif!important;
  margin:0 0 10px!important;
  color:#195B6E!important;
}
html body.veo-template-d #detailContent .veo-d-participation p{
  font:400 12px/1.55 'Inter',Arial,sans-serif!important;
  margin:0 0 12px!important;
  color:#64747c!important;
}
html body.veo-template-d #detailContent .veo-d-participation button{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  color:#c65827!important;
  text-align:left;
  font:650 12px/1.4 'Inter',Arial,sans-serif!important;
  cursor:pointer;
}
html body.veo-template-d #detailContent .veo-project-help-inline{
  grid-column:2!important;
  border:0!important;
  border-top:1px solid #e5e9ea!important;
  background:#fff!important;
}
html body.veo-template-d #detailContent .veo-project-help-inline>summary{
  padding:12px 0!important;
  font-size:11px!important;
}
html body.veo-template-d .project-new-body .veo-project-fold{
  background:#fff!important;
  border:0!important;
  border-bottom:1px solid #e2e7e9!important;
  border-radius:0!important;
  margin:0!important;
}
html body.veo-template-d .project-new-body .veo-project-fold>summary{
  padding:13px 6px!important;
  background:#fff!important;
  border:0!important;
  min-height:54px!important;
}
html body.veo-template-d .project-new-body .veo-project-fold-title{
  font-size:15px!important;
  font-weight:650!important;
}
html body.veo-template-d .project-new-body .veo-project-fold-content{
  padding:12px 7px 17px!important;
  border-top:0!important;
  background:#fff!important;
}
html body.veo-template-d .project-new-body :is(.project-doc,.project-meeting-row,.project-main-panel,.project-side-panel,.project-empty-state){
  background:#fff!important;
  border-color:#e3e8ea!important;
  box-shadow:none!important;
}
@media(max-width:820px){
  html body.veo-template-d .project-new-grid .project-new-visual{
    height:260px!important;
    min-height:260px!important;
    max-height:260px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-copy{
    margin:-36px auto 0!important;
    width:calc(100% - 30px)!important;
    max-width:calc(100% - 30px)!important;
    padding:18px 19px 0!important;
  }
  html body.veo-template-d .project-new-grid .project-new-facts.veo-d-keyfacts{
    margin:15px -19px 0!important;
    padding:13px 18px!important;
  }
  html body.veo-template-d .veo-project-more-facts.veo-d-more{
    margin:0 -19px!important;
    padding:0 18px!important;
  }
  html body.veo-template-d #detailContent .project-content-grid{
    grid-template-columns:minmax(0,1fr) 195px!important;
    gap:22px!important;
  }
}
@media(max-width:640px){
  html body.veo-template-d .project-new-hero{padding-top:13px!important}
  html body.veo-template-d .veo-project-back{margin-bottom:10px!important}
  html body.veo-template-d .project-new-grid .project-new-visual{
    height:205px!important;
    min-height:205px!important;
    max-height:205px!important;
    border-radius:7px!important;
  }
  html body.veo-template-d .project-new-grid .veo-d-image-status{
    top:9px!important;
    right:9px!important;
    font-size:10px!important;
    padding:5px 7px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-copy{
    width:calc(100% - 16px)!important;
    max-width:calc(100% - 16px)!important;
    margin:-21px auto 0!important;
    padding:15px 14px 0!important;
    border-bottom: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(22px,5.7vw,25px)!important;
    margin:7px 0 8px!important;
  }
  html body.veo-template-d .project-new-grid .project-new-summary{
    font-size:12.5px!important;
    line-height:1.56!important;
  }
  html body.veo-template-d .project-new-grid .project-new-owner{margin-top:8px!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-facts.veo-d-keyfacts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:start!important;
    gap:12px!important;
    margin:12px -14px 0!important;
    padding:12px 13px!important;
  }
  html body.veo-template-d .project-new-facts.veo-d-keyfacts>div{
    grid-column:auto!important;
    border:0!important;
    padding:0!important;
  }
  html body.veo-template-d .project-new-facts.veo-d-keyfacts>.project-new-progress{
    grid-column:1/-1!important;
    width:100%!important;
  }
  html body.veo-template-d .project-new-facts.veo-d-keyfacts>div>strong{
    font-size:11.5px!important;
  }
  html body.veo-template-d .veo-project-more-facts.veo-d-more{
    margin:0 -14px!important;
    padding:0 13px!important;
  }
  html body.veo-template-d .project-new-body{padding:17px 0 38px!important}
  html body.veo-template-d .project-new-body .project-tabs{
    gap:14px!important;
    margin-bottom:17px!important;
  }
  html body.veo-template-d .project-new-body .project-tabs button{
    padding:10px 0!important;
    font-size:11px!important;
  }
  html body.veo-template-d #detailContent .project-content-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  html body.veo-template-d #detailContent .veo-d-participation{
    grid-column:1!important;
    border-left:0!important;
    border-top:1px solid #e3e8ea!important;
    padding:15px 0 0!important;
  }
  html body.veo-template-d #detailContent .veo-project-help-inline{
    grid-column:1!important;
  }
}