/* AGP SARL — Galerie éditable Gutenberg, responsive et accessible. */
body.agp-body .agp-gallery-page{background:#f4f7fb;color:#11283f;min-width:0}
body.agp-body .agp-gallery-hero{position:relative;isolation:isolate;overflow:hidden;background:#06182f;color:#fff;min-height:460px;display:flex;align-items:center}
body.agp-body .agp-gallery-hero-background{position:absolute;inset:0;background-size:cover;background-position:center 32%;z-index:-2;transform:scale(1.01)}
body.agp-body .agp-gallery-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#06182ffb 0%,#06182fe9 36%,#06182f9d 67%,#06182f55 100%);z-index:-1}
body.agp-body .agp-gallery-hero-inner{padding-block:44px 74px}
body.agp-body .agp-gallery-breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#d1ddec;margin-bottom:62px}
body.agp-body .agp-gallery-breadcrumb a:hover{text-decoration:underline}
body.agp-body .agp-gallery-eyebrow{font-size:11px;letter-spacing:.19em;font-weight:800;color:#ff565d}
body.agp-body .agp-gallery-hero h1{font:800 clamp(45px,5.4vw,76px)/1.13 'Plus Jakarta Sans',Manrope,sans-serif;letter-spacing:-.06em;margin:12px 0 18px;color:#fff;max-width:900px}
body.agp-body .agp-gallery-hero p{max-width:680px;font-size:16px;color:#d9e4f1;line-height:1.85;margin:0 0 26px}
body.agp-body .agp-gallery-hero-action{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;padding:15px 22px;background:#d71920;color:#fff;font-size:13px;font-weight:800;border-radius:4px}
body.agp-body .agp-gallery-hero-action:hover,body.agp-body .agp-gallery-hero-action:focus-visible{background:#ab1019;color:#fff}
body.agp-body .agp-gallery-main{padding:48px 0 82px;scroll-margin-top:92px;min-height:65vh}
body.agp-body .agp-gallery-editor{min-width:0}
body.agp-body .agp-gallery-editor>.wp-block-heading{font:800 clamp(28px,3.1vw,43px)/1.24 'Plus Jakarta Sans',Manrope,sans-serif;color:#081b33;letter-spacing:-.045em;margin:56px 0 15px}
body.agp-body .agp-gallery-editor>.wp-block-heading:first-child{margin-top:0}
body.agp-body .agp-gallery-editor>p{font-size:15px;line-height:1.85;color:#63758a;max-width:910px;margin:0 0 28px}
body.agp-body .agp-gallery-editor>.wp-block-separator{margin:45px 0;border-color:#d8e0ea}
body.agp-body .agp-gallery-editor .wp-block-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px!important;margin:24px 0 56px;align-items:stretch;width:100%;max-width:100%;box-sizing:border-box}
body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image{position:relative;display:block!important;min-width:0;width:100%!important;max-width:none!important;flex-basis:auto!important;margin:0!important;overflow:hidden;border-radius:8px;background:#10273f;aspect-ratio:4/3;box-shadow:0 10px 32px #142f4a18}
body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image a{display:block;width:100%;height:100%;outline-offset:-4px}
body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image img{display:block;width:100%!important;height:100%!important;object-fit:cover;object-position:center 27%;max-width:none!important;max-height:none!important;transition:transform .4s ease,filter .4s ease;filter:saturate(.96)}
body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image:hover img{transform:scale(1.045);filter:saturate(1.05)}
body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image figcaption{position:absolute;inset:auto 0 0;color:#fff;background:linear-gradient(transparent,#06182fdb);padding:38px 15px 15px;margin:0;font-size:12px;line-height:1.5;text-align:left;pointer-events:none}
body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image:focus-within{outline:3px solid #d71920;outline-offset:3px}
body.agp-body .agp-gallery-editor>.wp-block-quote{border-left:4px solid #d71920;padding:16px 26px;margin:36px 0;background:#fff;border-radius:0 6px 6px 0;color:#526a82}
body.agp-body .agp-gallery-editor :is(img,figure){max-width:100%}
body.agp-body .agp-gallery-editor> :last-child{margin-bottom:0}
@media(max-width:1024px){body.agp-body .agp-gallery-editor .wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}body.agp-body .agp-gallery-main{padding:62px 0 80px}}
@media(max-width:640px){body.agp-body .agp-gallery-hero{min-height:420px}body.agp-body .agp-gallery-hero-inner{padding-block:29px 63px}body.agp-body .agp-gallery-breadcrumb{margin-bottom:46px}body.agp-body .agp-gallery-hero h1{font-size:clamp(38px,11vw,56px)}body.agp-body .agp-gallery-hero p{font-size:14px;line-height:1.8}body.agp-body .agp-gallery-hero-background{background-position:60% 35%}body.agp-body .agp-gallery-main{padding:44px 0 68px}body.agp-body .agp-gallery-editor>.wp-block-heading{font-size:clamp(26px,7vw,34px);margin-top:39px}body.agp-body .agp-gallery-editor>p{font-size:14px}body.agp-body .agp-gallery-editor .wp-block-gallery{gap:12px!important;margin:20px 0 40px}body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image{aspect-ratio:4/4.3}}
@media(max-width:480px){body.agp-body .agp-gallery-editor .wp-block-gallery{grid-template-columns:1fr}body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image{aspect-ratio:4/3}body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image img{object-position:center 30%}}
/* Accessible large-image view. */
.agp-gallery-lightbox[hidden]{display:none!important}
.agp-gallery-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(2,10,20,.95);display:flex;align-items:center;justify-content:center;padding:70px 22px 55px}
.agp-gallery-lightbox img{width:auto;max-width:min(96vw,1500px);height:auto;max-height:calc(100vh - 140px);object-fit:contain}
.agp-gallery-lightbox-close{position:absolute;top:16px;right:24px;border:1px solid #ffffff77;border-radius:50%;height:45px;width:45px;background:#142b49;color:#fff;font-size:28px;cursor:pointer}
.agp-gallery-lightbox-label{position:absolute;bottom:17px;left:20px;right:20px;text-align:center;color:#dce7f4;font-size:13px}
@media(prefers-reduced-motion:reduce){body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image img{transition:none}body.agp-body .agp-gallery-editor .wp-block-gallery>.wp-block-image:hover img{transform:none}}
