
/* VAS correctifs responsive 19-11-2026 */
html,body{max-width:100%;overflow-x:clip}
.card,.gallery-card,.home-work-card,.vas-photo-grid figure{min-width:0}
.card .card-media{height:190px;min-height:190px;flex:0 0 190px;overflow:hidden;padding:0;display:block}
.card .card-media img{display:block;width:100%;height:100%;object-fit:cover}
.card .card-body{position:relative;z-index:1;min-height:0;background:#fff;padding:18px;overflow-wrap:anywhere}
.card .card-body h3,.card .card-body p{position:static;margin-top:0;color:var(--navy)}
.card .card-body p{color:var(--muted);line-height:1.5}
.gallery-card .gallery-photo{height:210px;padding:0;overflow:hidden;display:block}
.gallery-card .gallery-photo img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-card figcaption,.home-work-card figcaption{position:relative;background:#fff;color:var(--ink);height:auto;overflow-wrap:anywhere}
.vas-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start}
.vas-photo-grid figure{width:100%;max-width:100%;overflow:hidden}
.vas-photo-grid figure img{display:block;width:100%;height:210px;object-fit:cover}
.vas-photo-grid figure figcaption{position:static!important;background:#fff!important;color:var(--ink);padding:13px 16px;line-height:1.5;overflow-wrap:anywhere}
.vas-photo-grid figure figcaption strong,.vas-photo-grid figure figcaption span{position:static!important;display:block;color:var(--ink)}
.vas-photo-grid figure figcaption .vas-muted{color:var(--muted)}
.vas-photo-grid figure figcaption p{margin:.35rem 0 0;font-size:.9rem;overflow-wrap:anywhere}
.vas-mobile-toggle{display:none;border:1px solid #cbd5e1;background:#fff;color:var(--navy);font:inherit;font-size:1rem;font-weight:750;border-radius:10px;padding:9px 13px;cursor:pointer;min-height:44px}
@media(max-width:1100px){.header-inner{gap:10px}.main-nav{gap:10px}.main-nav a{font-size:.83rem}}
@media(max-width:950px){
 .header-inner{position:relative;flex-wrap:wrap;min-height:72px;gap:8px}
 .brand{min-width:0;flex:1;font-size:clamp(.94rem,3.5vw,1.2rem)}
 .brand small{font-size:.59rem}
 .vas-mobile-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0}
 .main-nav{display:none!important;position:absolute;left:0;right:0;top:100%;background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:0 12px 20px #14283a2b;padding:12px;z-index:120;max-height:calc(100dvh - 150px);overflow-y:auto}
 .main-nav.vas-open{display:flex!important;flex-direction:column;align-items:stretch;gap:0}
 .main-nav a{display:block;padding:12px 14px;font-size:1rem;border-bottom:1px solid #edf0f5}
 .header-call{display:none}
 .vas-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
 .brand .vas-logo{width:48px;height:45px}
 .brand{gap:6px}
 .card .card-media{height:220px;min-height:220px;flex-basis:220px}
 .vas-photo-grid{grid-template-columns:1fr!important;gap:16px}
 .vas-photo-grid figure img{height:230px;object-fit:contain;background:#f3f6f8}
 .gallery-card .gallery-photo{height:220px}
 .home-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mobile-call{z-index:110}
}
