.gallery-page{background:var(--brand-cream,#f4eee3);color:var(--brand-black,#151311);min-height:65vh;padding-bottom:88px}
.gallery-wrap{width:88%;max-width:1440px;margin-inline:auto}
.gallery-heading{padding:70px 0 50px;display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:end}
.gallery-heading .breadcrumb{display:block;margin:0 0 40px;font-size:13px;color:#6b6259;text-decoration:none}
.gallery-eyebrow{font:500 11px/1.6 Inter,Arial,sans-serif;letter-spacing:1.5px;color:var(--brand-orange-ink,#875024)}
.gallery-heading h1{font:600 clamp(64px,7.5vw,116px)/.98 Inter,Arial,sans-serif;letter-spacing:-.065em;margin:20px 0 0}
.gallery-heading>p{font:400 20px/1.65 Inter,Arial,sans-serif;color:#62594f;max-width:450px;margin:0 0 5px;justify-self:end}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:28px;border-block:1px solid #d6cec3;padding:24px 0;margin-bottom:32px}
.gallery-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gallery-filters button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 17px;min-height:47px;background:transparent;border:1px solid #cfc6b9;color:var(--brand-black,#151311);font:500 13px/1.5 Inter,Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.gallery-filters button span{font-size:11px;opacity:.65;font-variant-numeric:tabular-nums}
.gallery-filters button[aria-pressed=true]{background:var(--brand-black,#151311);border-color:var(--brand-black,#151311);color:var(--brand-cream,#f4eee3)}
.gallery-filters button:hover{border-color:var(--brand-orange-ink,#875024)}
.gallery-status{white-space:nowrap;font:400 12px/1.5 Inter,Arial,sans-serif;color:#766c61;margin:0;font-variant-numeric:tabular-nums}
.gallery-grid{max-width:1440px;margin-inline:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
.gallery-item{margin:0;min-width:0}
.gallery-item[hidden]{display:none}
.gallery-photo{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;background:#241e18;text-decoration:none;color:white;isolation:isolate}
.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.65,.2,1);will-change:auto}
.gallery-photo::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#100d0a99);z-index:0;opacity:.55;transition:opacity .35s}
.gallery-photo:hover img,.gallery-photo:focus-visible img{transform:scale(1.035)}
.gallery-photo:hover::after,.gallery-photo:focus-visible::after{opacity:1}
.gallery-photo-meta{position:absolute;left:22px;right:22px;bottom:22px;display:flex;justify-content:space-between;align-items:end;gap:20px;z-index:1}
.gallery-photo-meta small{display:block;font:500 10px/1.6 Inter,Arial,sans-serif;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:6px;color:#ffe2bc}
.gallery-photo-meta strong{display:block;font:500 18px/1.35 Inter,Arial,sans-serif;letter-spacing:-.3px;color:#fff}
.gallery-photo-meta .gallery-expand{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border:1px solid #ffffff66;background:#15131140;font:400 21px/1 Arial,sans-serif;transition:background .25s}
.gallery-photo:hover .gallery-expand{background:var(--brand-orange,#eda659);border-color:var(--brand-orange,#eda659);color:var(--brand-black,#151311)}
.gallery-empty{padding:90px 24px;text-align:center;border-bottom:1px solid #d6cec3}
.gallery-empty[hidden]{display:none}
.gallery-empty h2{font:500 32px/1.2 Inter,Arial,sans-serif;letter-spacing:-1px;margin:0 0 15px}
.gallery-empty p{font:400 16px/1.7 Inter,Arial,sans-serif;color:#766c61;margin:0}
.gallery-bottom{margin:40px 0 0;font:400 13px/1.6 Inter,Arial,sans-serif;color:#766c61}
.gallery-page a:focus-visible,.gallery-page button:focus-visible{outline:2px solid var(--brand-orange-ink,#875024);outline-offset:5px}
#gallery-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;border-radius:0;background:#100e0bf5;color:#f4eee3;overflow:hidden}
#gallery-dialog::backdrop{background:#100e0be6;backdrop-filter:blur(10px)}
.gallery-viewer{width:100%;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:20px 28px}
.gallery-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;padding-bottom:14px}
.gallery-viewer-bar>span{font:500 12px/1.5 Inter,Arial,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#c9bfb3}
.gallery-close,.gallery-arrow{display:grid;place-items:center;border:1px solid #ffffff35;background:transparent;color:#f4eee3;cursor:pointer;width:44px;height:44px;flex-shrink:0}
.gallery-close{font:400 29px/1 Arial,sans-serif}
.gallery-arrow{font:400 24px/1 Arial,sans-serif}
.gallery-viewer button:hover{background:#ffffff18}
.gallery-viewer button:focus-visible{outline:2px solid var(--brand-orange,#eda659);outline-offset:4px}
.gallery-stage{min-height:0;display:flex;align-items:center;justify-content:center;position:relative}
.gallery-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.gallery-viewer-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:18px}
.gallery-caption{font:500 15px/1.6 Inter,Arial,sans-serif;margin:0}
.gallery-counter{font:400 12px/1.5 Inter,Arial,sans-serif;color:#c9bfb3;margin:3px 0 0;font-variant-numeric:tabular-nums}
.gallery-viewer-controls{display:flex;gap:8px;align-items:center}
.about-gallery-link{border-top:1px solid #d6cec3;padding-block:55px 65px;display:flex;justify-content:space-between;align-items:center;gap:32px}
.about-gallery-link h2{font:600 42px/1.1 Inter,Arial,sans-serif;letter-spacing:-.05em;margin:12px 0 20px}
.about-gallery-link p{font:400 17px/1.7 Inter,Arial,sans-serif;color:#62594f;margin:0}
.about-gallery-link>a{display:inline-block;font:500 14px/1.5 Inter,Arial,sans-serif;color:var(--brand-black,#151311);padding:14px 0 8px;border-bottom:1px solid #8c7c69;text-decoration:none;white-space:nowrap}
@media(max-width:1100px){.gallery-toolbar{align-items:flex-start;flex-direction:column;gap:18px}.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gallery-photo-meta{left:18px;right:18px;bottom:18px}.gallery-photo-meta strong{font-size:16px}}
@media(max-width:800px){.gallery-heading{padding:42px 0 34px;grid-template-columns:1fr;gap:26px}.gallery-heading .breadcrumb{margin-bottom:30px}.gallery-heading h1{font-size:72px}.gallery-heading>p{font-size:18px;justify-self:start;max-width:500px}.gallery-toolbar{padding-block:20px;margin-bottom:24px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gallery-filters button{padding:11px 13px;gap:8px}.about-gallery-link{display:block}.about-gallery-link>a{margin-top:20px}}
@media(max-width:520px){.gallery-heading h1{font-size:64px}.gallery-grid{grid-template-columns:1fr;gap:22px}.gallery-photo-meta strong{font-size:20px}.gallery-photo-meta{left:20px;right:20px;bottom:20px}.gallery-page{padding-bottom:54px}.gallery-filters{gap:7px}.gallery-filters button{font-size:12px;padding:10px 12px;min-height:43px}.gallery-viewer{padding:12px 14px}.gallery-viewer-bar{padding-bottom:12px}.gallery-viewer-footer{padding-top:14px;gap:15px}.gallery-caption{font-size:14px}.gallery-close,.gallery-arrow{width:42px;height:42px}.gallery-empty{padding:65px 0}.gallery-empty h2{font-size:28px}.about-gallery-link h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){.gallery-photo img,.gallery-photo::after,.gallery-filters button,.gallery-expand{transition:none}.gallery-photo:hover img,.gallery-photo:focus-visible img{transform:none}}

/* Fotografias sem títulos ou legendas sobrepostos. */
.gallery-photo::after{display:none}.gallery-photo{cursor:zoom-in}
