/* Galeria Lua Serena: estrutura visual isolada para não alterar o cabeçalho da secção. */
.lua-gallery-hint{color:var(--deep);display:block;font-size:.6rem;font-weight:600;letter-spacing:.14em;margin:-14px 0 16px;text-transform:uppercase}
.lua-gallery{position:relative}
.lua-gallery-viewport{overflow:hidden;touch-action:pan-y;transition:height .45s ease}
.lua-gallery-track{align-items:flex-start;display:flex;transition:transform .7s cubic-bezier(.2,.75,.2,1)}
.lua-gallery-slide{flex:0 0 100%;min-width:0}
.lua-gallery-mosaic{aspect-ratio:9/8;background:var(--cream);border-radius:16px;display:grid;gap:6px;margin-inline:auto;overflow:hidden;padding:6px;position:relative;width:min(100%,clamp(416px,calc(112.5dvh - 472.5px),1013px))}
.lua-gallery-layout-uniform .lua-gallery-mosaic{grid-auto-flow:row;grid-template-columns:1fr 1fr 2fr;grid-template-rows:repeat(3,1fr)}
.lua-gallery-layout-uniform .lua-gallery-tile.is-featured{grid-column:3;grid-row:1/4}
.lua-gallery-tile{background:#dbe5e1;border:0;border-radius:10px;box-shadow:none;cursor:zoom-in;display:block;min-height:0;min-width:0;overflow:hidden;padding:0;position:relative;text-align:left;transition:filter .35s ease}
.lua-gallery-tile img{-webkit-user-drag:none;display:block;height:100%;object-fit:cover;object-position:center;transition:transform .7s ease;user-select:none;width:100%}
.lua-gallery-tile:hover{filter:brightness(1.04);z-index:2}
.lua-gallery-tile:hover img{transform:scale(1.025)}
.lua-gallery-tile.is-video{cursor:pointer}
.lua-gallery-play{align-items:center;backdrop-filter:blur(8px);background:rgba(255,255,255,.9);border-radius:50%;color:var(--night);display:flex;font-size:1rem;height:48px;justify-content:center;left:50%;padding-left:3px;position:absolute;top:50%;transform:translate(-50%,-50%);width:48px;z-index:3}
.lua-gallery-video-label{background:rgba(8,47,53,.72);border:1px solid rgba(255,255,255,.35);color:#fff;font-size:.55rem;font-weight:600;letter-spacing:.12em;padding:7px 9px;position:absolute;right:10px;text-transform:uppercase;top:10px;z-index:3}
.lua-gallery-nav{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-top:8px}
.lua-gallery-buttons{display:flex;gap:9px}
.lua-gallery-arrow{align-items:center;background:transparent;border:1px solid var(--line);border-radius:50%;cursor:pointer;display:flex;font-size:1.25rem;height:46px;justify-content:center;transition:background .25s ease,color .25s ease;width:46px}
.lua-gallery-arrow:hover{background:var(--night);color:#fff}
.lua-gallery-dots{align-items:center;display:flex;gap:8px;margin-left:auto}
.lua-gallery-dot{background:rgba(21,54,59,.25);border:0;border-radius:20px;cursor:pointer;height:5px;padding:0;transition:background .3s ease,width .3s ease;width:25px}
.lua-gallery-dot.is-active{background:var(--gold);width:56px}
.lua-gallery-lightbox{background:rgba(4,22,26,.92);border:0;height:100%;inset:0;margin:0;max-height:none;max-width:none;padding:30px;width:100%}
.lua-gallery-lightbox::backdrop{background:rgba(4,22,26,.88)}
.lua-gallery-lightbox-inner{height:100%;position:relative}
.lua-gallery-lightbox-media{align-items:center;display:flex;height:100%;justify-content:center}
.lua-gallery-lightbox-media img,.lua-gallery-lightbox-media video{box-shadow:0 24px 80px rgba(0,0,0,.36);display:block;max-height:88vh;max-width:min(1100px,92vw);object-fit:contain}
.lua-gallery-lightbox-close{align-items:center;background:rgba(255,255,255,.94);border:0;border-radius:50%;cursor:pointer;display:flex;font-size:1.45rem;height:48px;justify-content:center;position:absolute;right:0;top:0;width:48px;z-index:4}
@media(max-width:760px){
  .lua-gallery-hint{font-size:.6rem;letter-spacing:.14em;margin-top:0;margin-bottom:16px}
  .lua-gallery-mosaic{aspect-ratio:1/1;border-radius:12px;width:100%}
  .lua-gallery-tile{border-radius:7px}
  .lua-gallery-play{height:42px;width:42px}
  .lua-gallery-arrow{height:42px;width:42px}
  .lua-gallery-arrow{font-size:0}
  .lua-gallery-arrow::before{content:'→';font-size:1.25rem;line-height:1}
  .lua-gallery-arrow[data-gallery-previous]::before{transform:rotate(180deg)}
  .lua-gallery-dot{width:18px}
  .lua-gallery-dot.is-active{width:38px}
  .lua-gallery-lightbox{padding:14px}
  .lua-gallery-lightbox-close{height:42px;width:42px}
}
@media(prefers-reduced-motion:reduce){
  .lua-gallery-track,.lua-gallery-viewport,.lua-gallery-tile img,.lua-gallery-dot{transition:none}
}
