/* Galerias VHE: imagens laterais sincronizadas à rolagem, sem capturar a roda. */
.vhe-gallery{--gallery-line:#dde1e7;--gallery-paper:#fff;--gallery-ink:#0e1116;--gallery-muted:#566171;padding:80px 0;background:#f6f8fb;color:var(--gallery-ink);border-block:1px solid var(--gallery-line)}
.dark .vhe-gallery{--gallery-line:#303540;--gallery-paper:#151a22;--gallery-ink:#fff;--gallery-muted:#b6bfcb;background:#0e1116}
.vhe-gallery *{box-sizing:border-box}
.vhe-gallery-inner{width:min(1216px,calc(100% - 64px));margin:auto}
.vhe-gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}
.vhe-gallery-kicker{color:#c9141c;font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:700;margin:0 0 12px}
.dark .vhe-gallery-kicker{color:#ff646a}
.vhe-gallery h2{font-family:Sora,system-ui,sans-serif;font-size:clamp(28px,3vw,42px);font-weight:600;letter-spacing:-.045em;line-height:1.15;margin:0;max-width:730px;text-wrap:balance}
.vhe-gallery-hint{max-width:245px;font-size:13px;color:var(--gallery-muted);line-height:1.7;margin:0}
.vhe-gallery-stage{border:1px solid var(--gallery-line);border-radius:24px;background:var(--gallery-paper);overflow:hidden}
.vhe-gallery-panel{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);margin:0;border-bottom:1px solid var(--gallery-line)}
.vhe-gallery-image{display:flex;align-items:center;justify-content:center;min-width:0;background:#e9edf1;overflow:hidden}
.dark .vhe-gallery-image{background:#202731}
.vhe-gallery-image img{width:100%;height:100%;max-height:560px;object-fit:contain;display:block}
.vhe-gallery-copy{padding:36px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.vhe-gallery-copy>*{flex-shrink:0}
.vhe-gallery-label{font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--gallery-muted);margin:0 0 20px}
.vhe-gallery h3{font-family:Sora,system-ui,sans-serif;font-size:clamp(23px,2.2vw,31px);font-weight:600;line-height:1.22;letter-spacing:-.035em;margin:0 0 18px;text-wrap:balance}
.vhe-gallery-copy>p:not(.vhe-gallery-label){font-size:15px;line-height:1.8;color:var(--gallery-muted);margin:0}
.vhe-gallery-link{display:inline-flex;align-items:center;gap:20px;color:#bf1019;font-size:13px;font-weight:700;margin-top:28px;min-height:44px;text-decoration:none}
.dark .vhe-gallery-link{color:#ff7277}
.vhe-gallery-link:hover{text-decoration:underline;text-underline-offset:5px}
.vhe-gallery-controls{display:none}
.vhe-gallery-ready .vhe-gallery-panels{position:relative;height:var(--gallery-height,clamp(390px,57vh,540px));overflow:hidden;isolation:isolate}
.vhe-gallery-ready .vhe-gallery-panel{position:absolute;inset:0;border:0;transform:translateX(105%);visibility:hidden;transition:transform .7s cubic-bezier(.22,.7,.2,1),visibility .7s;background:var(--gallery-paper)}
.vhe-gallery-ready .vhe-gallery-panel.is-before{transform:translateX(-105%)}
.vhe-gallery-ready .vhe-gallery-panel.is-current{transform:translateX(0);visibility:visible;z-index:1}
.vhe-gallery-ready .vhe-gallery-controls{display:flex;align-items:center;gap:20px;padding:15px 24px;border-top:1px solid var(--gallery-line)}
.vhe-gallery-tabs{display:flex;gap:8px;flex:1;min-width:0}
.vhe-gallery-tab{display:flex;gap:10px;align-items:center;min-height:44px;padding:10px 14px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--gallery-muted);font-size:12px;text-align:left;cursor:pointer}
.vhe-gallery-tab>span:first-child{font-size:11px;font-variant-numeric:tabular-nums}
.vhe-gallery-tab[aria-selected="true"]{color:var(--gallery-ink);background:var(--gallery-paper);border-color:#e31e24;box-shadow:inset 0 -2px #e31e24}
.vhe-gallery-tab:hover{color:var(--gallery-ink);background:#e31e240a}
.vhe-gallery :is(button,a):focus-visible{outline:3px solid #2563eb;outline-offset:-3px}
.vhe-gallery :is(button,a){scroll-margin-block:110px}
.vhe-gallery-count{white-space:nowrap;font-size:12px;color:var(--gallery-muted);font-variant-numeric:tabular-nums}
.vhe-gallery-count strong{color:var(--gallery-ink)}
.vhe-gallery-progress{height:2px;background:var(--gallery-line);overflow:hidden}
.vhe-gallery-progress>span{display:block;width:100%;height:100%;background:#e31e24;transform:scaleX(var(--gallery-progress,.25));transform-origin:left;transition:transform .35s}
.vhe-gallery-footer{font-size:11px;line-height:1.7;color:var(--gallery-muted);margin:16px 0 0}
.vhe-gallery-track.is-pinned{height:var(--gallery-track-height)}
.vhe-gallery-track.is-pinned>.vhe-gallery-stage{position:sticky;top:var(--gallery-top)}
@media(max-width:900px){.vhe-gallery-inner{width:calc(100% - 40px)}.vhe-gallery-panel{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr)}.vhe-gallery-copy{padding:26px}.vhe-gallery-tab{padding:10px}.vhe-gallery-tab>span:last-child{font-size:11px}}
@media(max-width:650px){.vhe-gallery{padding:50px 0}.vhe-gallery-heading{display:block;margin-bottom:24px}.vhe-gallery-hint{max-width:none;margin-top:16px;font-size:12px}.vhe-gallery-panel{grid-template-columns:1fr;grid-template-rows:240px 1fr}.vhe-gallery-ready .vhe-gallery-panels{height:490px}.vhe-gallery-image{height:240px}.vhe-gallery-copy{padding:22px 24px;justify-content:flex-start}.vhe-gallery-label{margin-bottom:10px;font-size:9px}.vhe-gallery h3{font-size:24px;margin-bottom:12px}.vhe-gallery-copy>p:not(.vhe-gallery-label){font-size:13px;line-height:1.65}.vhe-gallery-link{margin-top:8px;font-size:12px}.vhe-gallery-ready .vhe-gallery-controls{padding:10px 16px;gap:12px}.vhe-gallery-tabs{justify-content:flex-start}.vhe-gallery-tab{justify-content:center;min-width:44px}.vhe-gallery-tab>span:last-child{display:none}.vhe-gallery-stage{border-radius:18px}.vhe-gallery:not(.vhe-gallery-ready) .vhe-gallery-panel{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.vhe-gallery-ready .vhe-gallery-panel,.vhe-gallery-progress>span{transition:none}}
html[data-motion="off"] .vhe-gallery-panel,html[data-motion="off"] .vhe-gallery-progress>span{transition:none}

/* Seis atividades: controles compartilhados sem transbordamento. */
:is(.vhe-gallery--maintenance,.vhe-gallery--six) .vhe-gallery-tabs{flex-wrap:wrap}
@media(max-width:650px){:is(.vhe-gallery--maintenance,.vhe-gallery--six) .vhe-gallery-tabs{display:grid;grid-template-columns:repeat(3,minmax(44px,1fr))}}
