/* AGP Premium — continuité du contenu et harmonisation multi-écrans.
   Le même HTML, les mêmes photos, les mêmes liens sur téléphone, portable et écran fixe.
   Les colonnes changent uniquement pour préserver la lisibilité. */
body.agp-body :is(.agp-inner-richtext,.agp-service-content,.agp-inner-content,.agp-footer-grid,.agp-contact-grid,.agp-form-grid) {min-width:0}
body.agp-body :is(.agp-inner-richtext,.agp-inner-side-card,.agp-inner-side-cta,.agp-contact-details,.agp-service-card) {overflow-wrap:break-word}
body.agp-body .agp-copy-section a,
body.agp-body .agp-inner-side-contact a {overflow-wrap:anywhere}
body.agp-body img {max-width:100%}
/* Écrans de bureau standard, portables larges et moniteurs fixes */
@media(min-width:1100px){
 body.agp-body .agp-container{width:min(1440px,calc(100% - 80px));max-width:1440px;margin-inline:auto}
 body.agp-body .agp-header .agp-nav-wrap{gap:clamp(16px,2vw,38px)}
 body.agp-body .agp-header .agp-nav{gap:clamp(12px,1.3vw,25px);flex-wrap:nowrap}
 body.agp-body .agp-header .agp-nav > a{white-space:nowrap}
 body.agp-body .agp-brand{min-width:0}
 body.agp-body .agp-hero-inner{width:min(1440px,calc(100% - 80px))}
 body.agp-body .agp-hero h1{max-width:min(770px,61vw);overflow-wrap:normal}
 body.agp-body .agp-services .agp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,1.8vw,28px)}
 body.agp-body .agp-services .agp-service-image-wrap{width:100%;height:auto;aspect-ratio:16/10}
 body.agp-body .agp-services .agp-service-image{object-fit:cover;object-position:center 32%}
 body.agp-body .agp-inner-grid{grid-template-columns:minmax(0,1fr) clamp(280px,23vw,315px);gap:clamp(38px,4vw,75px)}
 body.agp-body .agp-inner-richtext .agp-copy-section ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.agp-body .agp-footer-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,1.1fr);gap:clamp(24px,2.7vw,52px)}
 body.agp-body .agp-footer-grid > *{min-width:0}
}
/* 1100–1340 : conserver les menus visibles et les cartes sans chevauchement */
@media(min-width:1100px) and (max-width:1340px){
 body.agp-body .agp-container,body.agp-body .agp-hero-inner{width:calc(100% - 64px)}
 body.agp-body .agp-header .agp-nav{gap:12px}
 body.agp-body .agp-header .agp-nav > a{font-size:11px}
 body.agp-body .agp-header .agp-nav .agp-nav-cta{padding:12px}
 body.agp-body .agp-inner-grid{grid-template-columns:minmax(0,1fr) 285px;gap:38px}
}
/* Grands écrans : espaces maîtrisés, sans étirer les images ni les paragraphes */
@media(min-width:1800px){
 body.agp-body .agp-container,body.agp-body .agp-hero-inner{width:min(1500px,calc(100% - 120px));max-width:1500px}
 body.agp-body .agp-hero h1{font-size:clamp(66px,4.1vw,79px)}
 body.agp-body .agp-section{padding-block:105px}
 body.agp-body .agp-services .agp-service-image-wrap{aspect-ratio:16/9}
 body.agp-body .agp-inner-grid{gap:80px}
}
/* Un ordinateur à fenêtre réduite continue d'afficher toutes les rubriques. */
@media(min-width:801px) and (max-width:1099px){
 body.agp-body .agp-container{width:calc(100% - 44px)}
 body.agp-body .agp-nav-wrap{gap:14px}
 body.agp-body .agp-nav{gap:12px}
 body.agp-body .agp-nav > a{font-size:11px}
 body.agp-body .agp-nav .agp-nav-cta{padding:12px}
 body.agp-body .agp-inner-grid{grid-template-columns:minmax(0,1fr) 255px;gap:28px}
}
/* Les blocs de coordonnées, formulaire et services restent complets sur mobiles. */
@media(max-width:800px){
 body.agp-body .agp-hero{min-height:690px;height:auto}
 body.agp-body .agp-hero-trust{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:26px}
 body.agp-body .agp-hero-trust span{font-size:9px}
 body.agp-body .agp-inner-richtext .agp-copy-section ul{grid-template-columns:1fr}
 body.agp-body .agp-contact-grid,body.agp-body .agp-form-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
 body.agp-body .agp-hero-trust{display:flex}
 body.agp-body .agp-hero h1{overflow-wrap:break-word}
 body.agp-body .agp-footer-grid{grid-template-columns:1fr}
}
