/* =====================================================================
   Genesis Audiovisual — estilos compartilhados por todas as páginas
   (cada página ainda tem o seu próprio <style> com o layout específico)
   ===================================================================== */

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
* { box-sizing: border-box; }
img, video { max-width: 100%; display: block; }

/* Foco visível para navegação por teclado */
:focus-visible { outline: 2px solid #B4A480; outline-offset: 3px; border-radius: 6px; }

/* Link "pular para o conteúdo" (acessibilidade) */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #B4A480; color: #0E0E0E; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600; }
.skip:focus { left: 0; }

/* Faixas com rolagem lateral: sem barra visível */
.places, .carousel { scrollbar-width: none; }
.places::-webkit-scrollbar, .carousel::-webkit-scrollbar { display: none; }

/* ---------- Menu do celular ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.96); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer a { color: #F2F1EC; text-decoration: none; font-family: Oswald, "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 30px; letter-spacing: .04em; }
.drawer a.cta { font-family: Poppins, system-ui, sans-serif; text-transform: none; font-size: 16px; font-weight: 600; background: #B4A480; color: #0E0E0E; padding: 14px 24px; border-radius: 10px; margin-top: 10px; }
.drawer-close { position: absolute; top: 20px; right: 20px; background: none; border: 1px solid #3a3a3a; color: #F2F1EC; border-radius: 10px; padding: 9px 14px; font: 500 13px Poppins, sans-serif; cursor: pointer; }

/* ---------- Claquete: animação de abertura ---------- */
.clapper-top { transform-origin: 0 100%; animation: clap 1.1s cubic-bezier(.3,.7,.2,1) .4s both; }
@keyframes clap { 0% { transform: rotate(-16deg); } 55% { transform: rotate(-16deg); } 70% { transform: rotate(0); } 80% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }

/* ---------- Cartazes com vídeo ---------- */
.poster-play { position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(14,14,14,.6); border: 1px solid rgba(242,241,236,.5); display: flex; align-items: center; justify-content: center; color: #F2F1EC; transition: transform .2s, background .2s; }
[data-video]:hover .poster-play { transform: translate(-50%,-50%) scale(1.08); background: rgba(180,164,128,.9); color: #0E0E0E; }
[data-video] { cursor: pointer; }

/* ---------- Player em tela cheia (lightbox) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.open { display: flex; }
.lightbox video { width: min(1100px, 100%); max-height: 80vh; background: #000; border-radius: 12px; }
.lightbox iframe { width: min(1100px, 100%, calc(80vh * 16 / 9)); aspect-ratio: 16 / 9; border: 0; background: #000; border-radius: 12px; }
.lightbox iframe.vertical { width: auto; height: min(80vh, calc((100vw - 32px) * 16 / 9)); aspect-ratio: 9 / 16; }
.lightbox-close { position: absolute; top: 18px; right: 18px; background: none; border: 1px solid #3a3a3a; color: #F2F1EC; border-radius: 10px; padding: 9px 14px; font: 500 13px Poppins, sans-serif; cursor: pointer; }

/* ---------- Aviso de cookies (LGPD) ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin: 0 auto; background: #161616; border: 1px solid #3a352c; border-radius: 14px; padding: 18px 20px; color: #cfcac0; font: 14px/1.6 Poppins, system-ui, sans-serif; box-shadow: 0 12px 32px rgba(0,0,0,.5); display: none; }
.consent.show { display: block; }
.consent a { color: #B4A480; }
.consent-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.consent button { font: 600 14px Poppins, system-ui, sans-serif; border-radius: 10px; padding: 10px 18px; cursor: pointer; }
.consent .ok { background: #B4A480; color: #0E0E0E; border: 1px solid #B4A480; }
.consent .no { background: none; color: #F2F1EC; border: 1px solid #3a3a3a; }
@media (max-width: 760px) { .consent { bottom: 86px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
