/* Popup ouverte depuis les sélecteurs du plan 3D :
   suppression des grands espaces noirs autour des photos. */
.zone-photo-modal__panel{
  display:grid!important;
  grid-template-rows:auto auto auto!important;
}

.zone-photo-modal__body{
  min-height:0!important;
  height:auto!important;
  overflow:hidden!important;
}

.zone-photo-modal__body img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:calc(100dvh - 190px)!important;
  object-fit:contain!important;
}

/* Le texte d'aide reste dans le flux, juste sous l'image. */
@media(max-width:1024px){
  .zone-photo-modal__body::after{
    margin:0!important;
    padding:14px 16px!important;
    width:100%!important;
    box-sizing:border-box!important;
    border-top:1px solid rgba(255,255,255,.08);
  }
}

@media(max-width:640px){
  .zone-photo-modal{
    padding:0!important;
    align-items:flex-start!important;
  }

  .zone-photo-modal__panel{
    width:100%!important;
    height:auto!important;
    max-height:100dvh!important;
    min-height:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:auto!important;
  }

  .zone-photo-modal__header{
    min-height:72px!important;
    padding:12px 18px!important;
  }

  .zone-photo-modal__body{
    min-height:0!important;
    height:auto!important;
  }

  .zone-photo-modal__body img{
    width:100%!important;
    height:auto!important;
    max-height:calc(100dvh - 190px)!important;
    object-fit:contain!important;
  }

  .zone-photo-modal__footer{
    min-height:58px!important;
    padding:12px 18px calc(12px + env(safe-area-inset-bottom))!important;
  }

  .zone-photo-modal__nav{
    top:50%!important;
  }
}

.final-hero{
min-height:65vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
padding:80px 20px;
color:#fff;
background-image:linear-gradient(90deg,rgba(2,10,16,.95) 0%,rgba(3,12,18,.72) 35%,rgba(3,12,18,.16) 70%),url('data:image/jpeg;
background-size:cover;
background-position:center;
}
.final-hero h2{font-size:18px;letter-spacing:.35em;text-transform:uppercase;color:#e0b665;margin:0}
.final-hero .price{font-family:Georgia,serif;font-size:clamp(46px,8vw,90px);font-weight:700;margin:18px 0}
.final-hero p{font-size:clamp(18px,2vw,28px);margin:0}

.contact button,.contact .btn-email,.contact button i,.contact .btn-email i{
color:#fff!important;
fill:#fff!important;
}
.contact button{
display:inline-flex!important;
align-items:center;
justify-content:center;
gap:12px;
font-weight:700;
}
