/* Galerie d'illustrations VRD : périmètre strictement limité à l'onglet VRD. */
#service-vrd .nbs-vrd-gallery{margin:1.25rem 0 .4rem;min-width:0}
#service-vrd .nbs-vrd-gallery-intro{display:flex;align-items:baseline;gap:.9rem;flex-wrap:wrap;margin-bottom:1rem}
#service-vrd .nbs-vrd-gallery-intro h3{font-family:var(--fd);font-size:1.12rem;font-weight:700;color:var(--ink);text-transform:uppercase;letter-spacing:.035em;line-height:1.2;margin:0}
#service-vrd .nbs-vrd-gallery-intro p{color:var(--muted);font-size:.79rem;line-height:1.5;margin:0}
#service-vrd .nbs-vrd-gallery-block{margin:0 0 1.05rem;min-width:0}
#service-vrd .nbs-vrd-gallery-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.5rem}
#service-vrd .nbs-vrd-gallery-top h4{font-family:var(--fd);font-size:.83rem;letter-spacing:.075em;text-transform:uppercase;font-weight:700;color:var(--orange);line-height:1.3;margin:0}
#service-vrd .nbs-vrd-gallery-controls{display:flex;gap:.35rem;flex-shrink:0}
#service-vrd .nbs-vrd-gallery-controls button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--ink);font-size:1rem;line-height:1;transition:background .18s,color .18s,border-color .18s}
#service-vrd .nbs-vrd-gallery-controls button:hover:not(:disabled){border-color:var(--orange);color:var(--orange);background:var(--orange-dim)}
#service-vrd .nbs-vrd-gallery-controls button:focus-visible,#service-vrd .nbs-vrd-gallery-track:focus-visible,#service-vrd .nbs-vrd-gallery-item:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
#service-vrd .nbs-vrd-gallery-controls button:disabled{opacity:.35;cursor:default}
#service-vrd .nbs-vrd-gallery-track{display:flex;gap:.7rem;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:var(--orange) var(--bg3);padding:0 0 .65rem;overscroll-behavior-x:contain;min-width:0}
#service-vrd .nbs-vrd-gallery-track::-webkit-scrollbar{height:8px}
#service-vrd .nbs-vrd-gallery-track::-webkit-scrollbar-track{background:var(--bg3);border-radius:999px}
#service-vrd .nbs-vrd-gallery-track::-webkit-scrollbar-thumb{background:var(--orange);border-radius:999px}
#service-vrd .nbs-vrd-gallery-item{display:block;position:relative;flex:0 0 clamp(168px,28%,240px);aspect-ratio:1.55;overflow:hidden;border-radius:5px;background:var(--bg3);border:1px solid var(--border);scroll-snap-align:start;text-decoration:none}
#service-vrd .nbs-vrd-gallery-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .28s var(--ease-out)}
#service-vrd .nbs-vrd-gallery-item:hover img{transform:scale(1.035)}
#service-vrd .nbs-vrd-gallery-item::after{content:'↗';position:absolute;right:7px;bottom:7px;width:25px;height:25px;display:grid;place-items:center;background:rgba(25,31,24,.75);color:#fff;font-size:.9rem;border-radius:2px;opacity:0;transition:opacity .2s;pointer-events:none}
#service-vrd .nbs-vrd-gallery-item:hover::after,#service-vrd .nbs-vrd-gallery-item:focus-visible::after{opacity:1}
@media(max-width:900px){#service-vrd .nbs-vrd-gallery-item{flex-basis:39%}}
@media(max-width:600px){#service-vrd .nbs-vrd-gallery{margin-top:1rem}#service-vrd .nbs-vrd-gallery-item{flex-basis:min(68%,225px)}#service-vrd .nbs-vrd-gallery-controls button{width:40px;height:40px}#service-vrd .nbs-vrd-gallery-intro{gap:.35rem}#service-vrd .nbs-vrd-gallery-intro h3{font-size:1rem}}
@media(prefers-reduced-motion:reduce){#service-vrd .nbs-vrd-gallery-track{scroll-behavior:auto}#service-vrd .nbs-vrd-gallery-item img{transition:none}}
