.p99-gallery{--p99-navy:#17345a;--p99-orange:#ff6210;width:100%;max-width:100%;box-sizing:border-box;margin:20px auto;font-family:inherit}.p99-gallery *{box-sizing:border-box}.p99-gallery-heading{font-size:clamp(22px,3vw,34px);color:var(--p99-navy);margin:0 0 22px}.p99-gallery-stage{position:relative;min-width:0}.p99-gallery-track{min-width:0}.p99-gallery--grid .p99-gallery-track{display:grid;grid-template-columns:repeat(var(--p99-columns),minmax(0,1fr));gap:18px}.p99-gallery-tile{display:block;position:relative;width:100%;min-width:0;border:0;padding:0;margin:0;overflow:hidden;border-radius:14px;background:#e9edf1;cursor:zoom-in;aspect-ratio:4/3;box-shadow:0 6px 24px rgba(10,33,60,.09);transition:transform .25s ease,box-shadow .25s ease}.p99-gallery-tile:hover{transform:translateY(-3px);box-shadow:0 13px 28px rgba(10,33,60,.18)}.p99-gallery-tile img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}.p99-gallery-tile:hover img{transform:scale(1.045)}.p99-gallery-zoom{position:absolute;right:12px;bottom:12px;width:35px;height:35px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--p99-navy);display:grid;place-items:center;font-size:22px;opacity:0;transform:translateY(6px);transition:.2s}.p99-gallery-tile:hover .p99-gallery-zoom,.p99-gallery-tile:focus-visible .p99-gallery-zoom{opacity:1;transform:none}.p99-gallery--slider .p99-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;gap:0}.p99-gallery--slider .p99-gallery-track::-webkit-scrollbar{display:none}.p99-gallery--slider .p99-gallery-tile{flex:0 0 100%;scroll-snap-align:start;aspect-ratio:16/8;border-radius:16px;box-shadow:none}.p99-gallery--slider .p99-gallery-tile:hover{transform:none}.p99-gallery-prev,.p99-gallery-next{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#17345a;font-size:30px;cursor:pointer;box-shadow:0 4px 18px #0002;z-index:2}.p99-gallery-prev{left:16px}.p99-gallery-next{right:16px}.p99-gallery-counter{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);background:rgba(16,31,52,.78);color:white;border-radius:40px;padding:5px 14px;font-size:13px;pointer-events:none}.p99-gallery-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(7,17,30,.96);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:58px 65px 35px;color:white}.p99-gallery-lightbox[hidden]{display:none!important}.p99-gallery-lightbox img{max-width:100%;max-height:calc(100vh - 150px);object-fit:contain;display:block;box-shadow:0 12px 40px #0005}.p99-lb-close,.p99-lb-prev,.p99-lb-next{position:absolute;background:rgba(255,255,255,.13);color:#fff;border:1px solid #ffffff55;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;font-size:29px}.p99-lb-close{top:14px;right:17px}.p99-lb-prev{left:14px;top:50%}.p99-lb-next{right:14px;top:50%}.p99-lb-caption{margin-top:14px;text-align:center;max-width:750px;font-size:14px;line-height:1.5}.p99-lb-count{font-size:12px;opacity:.75;margin-top:5px}.p99-gallery-tile:focus-visible,.p99-gallery-lightbox button:focus-visible{outline:3px solid #ff6210;outline-offset:3px}@media(max-width:900px){.p99-gallery--grid .p99-gallery-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media(max-width:560px){.p99-gallery--grid .p99-gallery-track{grid-template-columns:minmax(0,1fr)}.p99-gallery--slider .p99-gallery-tile{aspect-ratio:4/3}.p99-gallery-lightbox{padding:65px 10px 40px}.p99-lb-prev,.p99-lb-next{top:auto;bottom:22px}.p99-gallery-zoom{opacity:1;transform:none}}
/* v1.1 : contrôles SVG et lightbox compatible mobile */
.p99-gallery-lightbox{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;z-index:2147483647!important;display:grid!important;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;place-items:center;padding:64px 70px 24px!important;overflow:hidden;isolation:isolate;background:rgba(5,15,31,.97)!important;box-sizing:border-box}
.p99-gallery-lightbox[hidden]{display:none!important}
.p99-lb-image-wrap{width:100%;height:100%;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.p99-gallery-lightbox .p99-lb-photo{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;min-width:0!important;object-fit:contain!important;opacity:1!important;visibility:visible!important;position:static!important;transform:none!important;border:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
.p99-gallery-lightbox .p99-lb-close,.p99-gallery-lightbox .p99-lb-prev,.p99-gallery-lightbox .p99-lb-next,.p99-gallery .p99-gallery-prev,.p99-gallery .p99-gallery-next{display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;padding:0!important;border-radius:50%!important;width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;cursor:pointer;transition:background .2s,transform .2s;touch-action:manipulation}
.p99-gallery-lightbox .p99-lb-close,.p99-gallery-lightbox .p99-lb-prev,.p99-gallery-lightbox .p99-lb-next{z-index:2;background:rgba(255,255,255,.14)!important;color:white!important;border:1px solid rgba(255,255,255,.3)!important;box-shadow:0 5px 20px #0004!important}
.p99-gallery-lightbox .p99-lb-close:hover,.p99-gallery-lightbox .p99-lb-prev:hover,.p99-gallery-lightbox .p99-lb-next:hover{background:#ff6210!important}
.p99-gallery-lightbox button svg,.p99-gallery button svg{width:23px!important;height:23px!important;display:block!important;stroke:currentColor!important;stroke-width:2.2!important;fill:none!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.p99-gallery-lightbox .p99-lb-close{top:14px!important;right:16px!important;left:auto!important;bottom:auto!important}
.p99-gallery-lightbox .p99-lb-prev{top:50%!important;left:14px!important;right:auto!important;bottom:auto!important;transform:translateY(-50%)!important}
.p99-gallery-lightbox .p99-lb-next{top:50%!important;right:14px!important;left:auto!important;bottom:auto!important;transform:translateY(-50%)!important}
.p99-lb-footer{grid-row:2;max-width:100%;text-align:center;color:#fff;padding-top:12px;min-height:35px}
.p99-lb-footer .p99-lb-caption,.p99-lb-footer .p99-lb-count{margin:0 auto 4px}
@media(max-width:600px){.p99-gallery-lightbox{padding:66px 10px 86px!important}.p99-gallery-lightbox .p99-lb-prev,.p99-gallery-lightbox .p99-lb-next{top:auto!important;bottom:17px!important;transform:none!important}.p99-gallery-lightbox .p99-lb-prev{left:calc(50% - 74px)!important}.p99-gallery-lightbox .p99-lb-next{right:calc(50% - 74px)!important}.p99-gallery-lightbox .p99-lb-close{right:12px!important;top:12px!important}.p99-lb-footer{max-height:70px;overflow:hidden}.p99-gallery-lightbox .p99-lb-photo{max-height:100%!important}}
