@font-face{font-family:Montserrat;src:url('../institucional/assets/Montserrat-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}

/* HCENTER: manual scrolling without automatic movement. */
.manual-gallery .gallery-track{width:auto;overflow-x:auto;animation:none;transform:none;padding:0 clamp(22px,7vw,110px) 10px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--gold) transparent;cursor:grab;overscroll-behavior-x:contain}
.manual-gallery .gallery-track figure{flex:0 0 min(62vw,780px);scroll-snap-align:start;scroll-margin-left:clamp(22px,7vw,110px)}
.manual-gallery .gallery-track.dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.manual-gallery .gallery-track:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.manual-gallery .gallery-controls{display:flex;justify-content:flex-end;gap:12px;margin:20px clamp(22px,7vw,110px) 0}
.manual-gallery .gallery-controls button{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--gold);border-radius:50%;background:transparent;color:var(--gold);font-size:26px;cursor:pointer;transition:background .2s,color .2s}
.manual-gallery .gallery-controls button:hover:not(:disabled){background:var(--gold);color:var(--navy)}
.manual-gallery .gallery-controls button:disabled{opacity:.3;cursor:default}
.manual-gallery .gallery-controls button:focus-visible{outline:2px solid white;outline-offset:4px}
@media(max-width:800px){.manual-gallery .gallery-track figure{flex-basis:84vw}}


/* Compact section spacing and image-overlay gallery controls. */
#visao{padding-top:clamp(48px,6vw,80px);padding-bottom:clamp(48px,6vw,80px)}
#visao .section-label{margin-bottom:30px}
#visao .wide-image{margin-top:48px}
#hcenter{padding-bottom:56px}
#galeria{padding-top:56px;padding-bottom:clamp(48px,6vw,80px)}
#galeria .section-label{margin-bottom:30px}
#galeria .official-gallery{margin-top:48px}
.manual-gallery{position:relative;margin-bottom:0}
.manual-gallery .gallery-track{padding-bottom:0;scrollbar-width:none}
.manual-gallery .gallery-track::-webkit-scrollbar{display:none}
.manual-gallery .gallery-controls{position:absolute;z-index:3;left:50%;bottom:22px;transform:translateX(-50%);justify-content:center;margin:0;padding:6px;gap:10px;border-radius:999px;background:#071a2c80;backdrop-filter:blur(8px)}
.manual-gallery .gallery-controls button{background:#071a2cda;box-shadow:0 4px 16px #0003}
@media(max-width:800px){#visao .wide-image,#galeria .official-gallery{margin-top:32px}#visao .section-label,#galeria .section-label{margin-bottom:24px}#hcenter{padding-bottom:36px}#galeria{padding-top:36px}.manual-gallery .gallery-controls{bottom:14px}.manual-gallery .gallery-controls button{width:42px;height:42px}}

/* Transparent HCENTER controls, with no filled button or container. */
#hcenter .manual-gallery .gallery-controls{background:transparent;backdrop-filter:none}
#hcenter .manual-gallery .gallery-controls button{background:transparent;box-shadow:none;text-shadow:0 1px 5px #0009}
#hcenter .manual-gallery .gallery-controls button:hover:not(:disabled){background:transparent;color:#fff;border-color:#fff}
.official-gallery{position:relative}
.gallery-side-controls{position:absolute;z-index:4;left:24px;right:24px;top:50%;transform:translateY(-50%);display:flex;justify-content:space-between;pointer-events:none}
.gallery-side-controls button{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--gold);border-radius:50%;background:#071a2c88;color:#fff;font-size:26px;cursor:pointer;pointer-events:auto;backdrop-filter:blur(6px)}
.gallery-side-controls button:hover{background:#071a2ccc}
.gallery-side-controls button:focus-visible{outline:2px solid #fff;outline-offset:4px}
.gallery-side-controls button:disabled{display:none}
@media(max-width:800px){.gallery-side-controls{left:14px;right:14px}.gallery-side-controls button{width:42px;height:42px}}
.poles-block .location-video{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:var(--navy)}


/* HLOG gallery moves only through user interaction. */
#galeria .official-gallery .gallery-track{animation:none;transform:none;flex-wrap:nowrap}
.official-gallery.manual-gallery .gallery-track figure{flex-basis:min(72vw,980px)}
@media(max-width:800px){.official-gallery.manual-gallery .gallery-track figure{flex-basis:88vw}}

/* Keep the contact heading within its column and stack before space gets tight. */
.contact-layout>*{min-width:0}
.contact-layout h2{max-width:100%;overflow-wrap:anywhere;word-break:normal}.contact-layout .contact-panel{width:100%;max-width:100%}
@media(max-width:1200px){.contact-layout{grid-template-columns:minmax(0,1fr);gap:34px}.contact-layout h2{font-size:clamp(42px,6vw,72px)}}