
/* V12 - Harmonisation des paragraphes et commandes du portfolio */
.section-head > p,.section-head > .lead{width:100%;max-width:min(100%,950px)!important;}
.section-head h2{max-width:950px;}
@media(min-width:701px){
 .section-head > p,.section-head > .lead,.feature-copy p:not(.privacy-note),
 .archi-process-step p,.archi-process-footnote,.archi-case-section p,
 .price-card p,.tile-body p,.notice-box p,.quote-strong p{
   text-align:justify;text-align-last:left;hyphens:none!important;-webkit-hyphens:none!important;word-break:normal;overflow-wrap:normal;
 }
}
.pf-detail .portfolio-buttons{grid-template-columns:minmax(0,1fr);max-width:310px;}
.pf-detail .portfolio-buttons>.btn{width:100%;min-height:54px;justify-content:center;white-space:normal;}
/* Galerie: panneau propre, fleches et compteur toujours lisibles */
#matterport-modal.pf-gallery-mode .matterport-frame-wrap{height:auto;min-height:0;aspect-ratio:auto;padding:12px;display:flex;flex-direction:column;gap:12px;background:#121212;}
#matterport-modal.pf-gallery-mode .pf-gallery-stage{min-height:min(56vh,550px);height:min(56vh,550px);display:flex;align-items:center;justify-content:center;position:relative;background:#131313;overflow:hidden;}
#matterport-modal.pf-gallery-mode .pf-gallery-stage img{max-width:100%;max-height:100%;height:100%;width:100%;object-fit:contain;}
#matterport-modal.pf-gallery-mode .pf-gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding:3px 8px;color:white;font:600 12px/1.5 'Montserrat',sans-serif;}
#matterport-modal.pf-gallery-mode .pf-gallery-controls button{border:1px solid #d3aa38;color:white;background:#151515;min-height:42px;min-width:56px;cursor:pointer;font-size:22px;}
#matterport-modal.pf-gallery-mode .pf-gallery-controls button:disabled{opacity:.45;cursor:default;}
#matterport-modal.pf-gallery-mode .pf-gallery-fallback{color:white;padding:20px;text-align:center;font:400 13px/1.7 'Montserrat',sans-serif;}
#matterport-modal.pf-gallery-mode .matterport-modal-footer{display:none;}
@media(max-width:700px){
 .section-head > p,.section-head > .lead{width:100%;}
 #matterport-modal.pf-gallery-mode .pf-gallery-stage{height:45vh;min-height:260px;}
 #matterport-modal.pf-gallery-mode .matterport-frame-wrap{padding:6px;}
}
/* Eviter les sorties du site depuis le lecteur integre. */
#matterport-modal .matterport-modal-footer{display:none;}
