/* Clientes V28 — faixa de logos, sem mexer no resto do site */
.brand-gallery{margin-top:8px;--brand-bg:#edf0ee;--brand-ink:#192332;}
.brand-gallery__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid rgba(230,240,242,.2);border-bottom:1px solid rgba(230,240,242,.2);margin-bottom:18px}
.brand-gallery__eyebrow,.brand-gallery__counter{font:500 10px var(--mono,monospace);letter-spacing:.09em;color:#b7c5c8}
.brand-gallery__eyebrow{color:var(--lime,#d6ff67)}
.brand-gallery__toolbar-right{display:flex;align-items:center;gap:8px}
.brand-gallery__counter{white-space:nowrap;margin-right:12px;font-variant-numeric:tabular-nums}
.brand-gallery__control{display:grid;place-items:center;width:41px;height:41px;border:1px solid #3c4b54;background:transparent;color:#e5eff0;font:500 22px/1 var(--mono,monospace);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.brand-gallery__control:hover,.brand-gallery__control:focus-visible{background:var(--lime,#d6ff67);color:#111b23;border-color:var(--lime,#d6ff67)}
.brand-gallery__control:focus-visible,.brand-gallery__viewport:focus-visible{outline:2px solid var(--lime,#d6ff67);outline-offset:3px}
.brand-gallery__viewport{overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}
.brand-gallery__viewport::-webkit-scrollbar{display:none}
.brand-gallery__track{display:flex;gap:14px;margin:0;padding:0;list-style:none}
.brand-gallery__slide{box-sizing:border-box;flex:0 0 calc((100% - 42px)/4);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:center;background:transparent;color:#c6d0d3;position:relative}
.brand-gallery__art{height:145px;display:grid;place-items:center;position:relative;overflow:hidden;background:var(--brand-bg);border:1px solid rgba(205,219,223,.46);padding:16px 24px;transition:background .25s,transform .25s}
.brand-gallery__slide:hover .brand-gallery__art{background:#fff;transform:translateY(-3px)}
.brand-gallery__art img{grid-area:1/1;max-width:100%;max-height:95px;height:auto;width:auto;object-fit:contain;opacity:0;mix-blend-mode:multiply;filter:none;transition:opacity .28s ease,transform .4s ease;display:block}
.brand-gallery__slide.is-loaded img{opacity:1}
.brand-gallery__slide:hover img{transform:scale(1.045)}
.brand-gallery__fallback{grid-area:1/1;display:block;color:var(--brand-ink);font:700 clamp(16px,1.7vw,25px)/1.14 'Space Grotesk',sans-serif;text-align:center;letter-spacing:-.055em;max-width:95%;overflow-wrap:anywhere}
.brand-gallery__slide.is-loaded .brand-gallery__fallback{opacity:0;pointer-events:none}
.brand-gallery__caption{font:500 10px var(--mono,monospace);letter-spacing:.02em;padding:13px 1px 4px;min-height:36px;text-align:left;color:#a2b4ba}
.brand-gallery__progress{height:2px;background:#283541;margin-top:20px;overflow:hidden}
.brand-gallery__progress-bar{height:100%;display:block;width:12.5%;background:var(--lime,#d6ff67);transform:translateX(0);transition:transform .35s ease,width .35s ease}
.brand-gallery__note{font:400 10px/1.6 var(--mono,monospace);color:#82959f;letter-spacing:.015em;margin:15px 0 0}
@media(max-width:1090px){.brand-gallery__slide{flex-basis:calc((100% - 28px)/3)}}
@media(max-width:730px){.brand-gallery__toolbar{gap:8px}.brand-gallery__eyebrow{font-size:8px;letter-spacing:.04em}.brand-gallery__counter{margin-right:2px}.brand-gallery__control{width:36px;height:36px}.brand-gallery__track{gap:10px}.brand-gallery__slide{flex-basis:calc((100% - 10px)/2)}.brand-gallery__art{height:123px;padding:13px 12px}.brand-gallery__art img{max-height:83px}.brand-gallery__caption{font-size:9px}.brand-gallery__note{font-size:9px}}
@media(max-width:480px){.brand-gallery__slide{flex-basis:75%}.brand-gallery__art{height:148px;padding:20px 18px}.brand-gallery__art img{max-height:96px}}
@media(prefers-reduced-motion:reduce){.brand-gallery__art,.brand-gallery__art img,.brand-gallery__progress-bar{transition:none}}

/* Três logotipos originais extraídos das artes fornecidas pelo proprietário do site */
.brand-gallery__slide--dark .brand-gallery__art{background:#182b3e;border-color:#33495a}
.brand-gallery__slide--dark:hover .brand-gallery__art{background:#20384d}
.brand-gallery__slide--dark .brand-gallery__art img{mix-blend-mode:normal;max-width:75%;max-height:112px}
.brand-gallery__slide--dark .brand-gallery__fallback{color:#ecf5fa}

.brand-gallery__viewport{cursor:grab}
.brand-gallery__viewport.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}

/* V41 1.5.2: os links de marcas usam o mesmo cartao visual. */
.brand-gallery__art:where(a){text-decoration:none;cursor:pointer}
.brand-gallery__art:where(a):focus-visible{outline:3px solid var(--lime,#d6ff67);outline-offset:3px}
