/* ============================================
   SHOWCASE — Vídeos cinematográficos + Galeria
   ============================================
   DNA da marca: creme/dourado, elegante, quente.
   Vídeos em destaque imersivo. Fotos em mosaico.
   ============================================ */

/* ============================================
   1. SEÇÃO DE VÍDEO CINEMATOGRÁFICA
   ============================================ */

.cinema-section {
    position: relative;
    background:
        linear-gradient(180deg, #f5f4e3 0%, #f0ebd5 100%);
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.cinema-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 30%, rgba(208,179,100,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 70%, rgba(208,179,100,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cinema-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cinema-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.cinema-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.cinema-eyebrow::before,
.cinema-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}

.cinema-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    color: var(--dark);
    line-height: 0.95;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.cinema-title .gold {
    color: var(--primary-dark);
}

.cinema-subtitle {
    color: #7a7460;
    font-size: 1.0625rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ===== Player principal (vídeo destaque) ===== */
.cinema-stage {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 30px 70px -25px rgba(58, 45, 25, 0.4),
        0 0 0 1px rgba(208, 179, 100, 0.2);
    background: #1a1612;
    aspect-ratio: 16 / 9;
    margin-bottom: 1.25rem;
}

/* Borda dourada decorativa no topo */
.cinema-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 4;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), var(--primary), transparent);
}

.cinema-stage video,
.cinema-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay sutil pra dar profundidade ao vídeo */
.cinema-stage__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(26,22,18,0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(26,22,18,0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Legenda sobre o vídeo */
.cinema-stage__caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.75rem;
    z-index: 3;
    color: white;
    pointer-events: none;
}

.cinema-stage__caption-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.35rem;
}

.cinema-stage__caption-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Botão de mute/play opcional */
.cinema-stage__mute {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(26, 22, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cinema-stage__mute:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* ===== Thumbnails (trocar vídeo principal) ===== */
.cinema-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Variante pra 2 vídeos — centralizada e maior */
.cinema-thumbs--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .cinema-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
    }
    .cinema-thumbs--two {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cinema-thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    background: #1a1612;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.cinema-thumb:hover {
    transform: translateY(-3px);
}

.cinema-thumb.is-active {
    border-color: var(--primary);
    box-shadow: 0 8px 24px -8px rgba(208, 179, 100, 0.5);
}

.cinema-thumb video,
.cinema-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cinema-thumb__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 22, 18, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.cinema-thumb:hover .cinema-thumb__overlay,
.cinema-thumb.is-active .cinema-thumb__overlay {
    background: rgba(26, 22, 18, 0.15);
}

.cinema-thumb__play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.cinema-thumb.is-active .cinema-thumb__play {
    background: var(--primary);
    border-color: var(--primary);
}

.cinema-thumb__label {
    position: absolute;
    bottom: 0.5rem;
    left: 0.625rem;
    z-index: 2;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

@media (max-width: 640px) {
    .cinema-thumb__play { width: 32px; height: 32px; font-size: 0.65rem; }
    .cinema-thumb__label { font-size: 0.6rem; }
}

/* ============================================
   2. GALERIA DE FOTOS (mosaico)
   ============================================ */

.gallery-section {
    position: relative;
    background: #ffffff;
    padding: 6rem 0;
    overflow: hidden;
}

.gallery-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.gallery-eyebrow::before,
.gallery-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}

.gallery-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    color: var(--dark);
    line-height: 0.95;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.gallery-title .gold { color: var(--primary-dark); }

.gallery-subtitle {
    color: #7a7460;
    font-size: 1.0625rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Grid mosaico assimétrico */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 8px;
    }
}

/* Tamanhos variados pro mosaico ter ritmo */
.gallery-item--wide  { grid-column: span 2; }
.gallery-item--tall  { grid-row: span 2; }
.gallery-item--big   { grid-column: span 2; grid-row: span 2; }

@media (max-width: 640px) {
    .gallery-item--big { grid-column: span 2; grid-row: span 2; }
    .gallery-item--wide { grid-column: span 2; }
    .gallery-item--tall { grid-row: span 1; }
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #f0ebd5;
    box-shadow: 0 4px 16px -6px rgba(58, 45, 25, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 50%,
        rgba(26, 22, 18, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__caption {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item__caption {
    transform: translateY(0);
}

.gallery-item__icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item__icon {
    opacity: 1;
    transform: scale(1);
}

/* ===== Lightbox (ampliar foto ao clicar) ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(26, 22, 18, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox__close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox__nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

@media (max-width: 640px) {
    .lightbox__nav { width: 42px; height: 42px; }
    .lightbox__nav--prev { left: 0.5rem; }
    .lightbox__nav--next { right: 0.5rem; }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .gallery-item img,
    .gallery-item__caption,
    .cinema-thumb,
    .gallery-item__icon {
        transition: none !important;
    }
    .gallery-item:hover img {
        transform: none !important;
    }
}

/* ============================================
   LOGO DO FOOTER — expansiva e com presença
   ============================================ */

.footer-logo {
    height: 110px;              /* bem maior que os 80px (h-20) */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1.25rem;
    /* glow dourado sutil pra destacar no fundo escuro */
    filter: drop-shadow(0 4px 16px rgba(208, 179, 100, 0.25));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 22px rgba(208, 179, 100, 0.45));
}

/* Desktop: logo ainda maior */
@media (min-width: 768px) {
    .footer-logo {
        height: 130px;
    }
}

/* Mobile: centraliza a logo e o texto pra ficar elegante */
@media (max-width: 767px) {
    .footer-brand {
        text-align: center;
    }
    .footer-logo {
        height: 120px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   SCROLL REVEAL (compartilhado)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
