/* ==========================================
   CONFIGURAÇÃO DOS VÍDEOS (ZERO GAPS - ZOOM PARALLAX)
   ========================================== */
#hero-layer-1 video, 
#hero-layer-2 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    will-change: transform, opacity;
    /* Zoom inicial mínimo apenas para segurança de borda */
    transform: scale(1.02); 
}

/* Otimização para Desktop */
@media (min-width: 1024px) {
    #hero-layer-1 video, 
    #hero-layer-2 video {
        min-height: 100vh !important;
        min-width: 100vw !important;
    }
}

#hero-section-1 .sticky, 
#hero-section-2 .sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

/* ==========================================
   DOTS DE NAVEGAÇÃO
   ========================================== */
.hero-dot-nav {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border: 1.5px solid transparent;
    transition: var(--transition-premium);
    cursor: pointer;
}

.hero-dot-nav.active {
    width: 12px;
    height: 12px;
    background-color: transparent;
    border-color: #ffffff;
    transform: scale(1.2);
}

.hero-dot-nav:hover {
    background-color: #ffffff;
}

/* ==========================================
   BOTÕES PREMIUM (HERO CTA)
   ========================================== */
.btn-premium {
    position: relative;
    background-color: var(--gold);
    color: #000;
    padding: 1.2rem 3rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
    cursor: pointer;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.6s;
}

.btn-premium:hover {
    background-color: #fff;
    letter-spacing: 0.4em; 
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.4);
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium i {
    transition: transform 0.3s ease;
}

.btn-premium:hover i {
    transform: translateX(5px);
}

/* ==========================================
   TICKER (CARROSSEL DE MARCAS) - RESOLUÇÃO DE BUG
   ========================================== */
.ticker-content {
    display: flex !important;
    align-items: center !important;
    width: max-content !important; 
    animation: infinite-scroll 40s linear infinite;
}

@keyframes infinite-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-33.3333%); }
}

.ticker-item {
    padding: 0 25px; /* Espaçamento entre os cards */
    flex-shrink: 0;
}

.logo-wrapper {
    width: 220px;   
    height: 100px;  
    background-color: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(197, 160, 89, 0.1); 
    border-radius: 12px; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s ease;
}

.ticker-logo {
    max-width: 140px;
    max-height: 45px;
    object-fit: contain; 
    filter: brightness(0) invert(1); /* Deixa as logos brancas */
    opacity: 0.7; 
    transition: all 0.5s ease;
    transform: scale(var(--base-scale, 1));
}

/* Esconde o texto por padrão para não sobrepor a imagem */
.ticker-fallback {
    display: none;
    color: var(--gold);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ticker-item:hover .logo-wrapper {
    border-color: var(--gold);
    background-color: rgba(197, 160, 89, 0.05);
}

.ticker-item:hover .ticker-logo {
    opacity: 1;
    transform: scale(calc(var(--base-scale, 1) * 1.1));
}

@media (max-width: 768px) {
    .ticker-item { padding: 0 10px; }
    .logo-wrapper { width: 150px; height: 75px; }
    .ticker-logo { max-width: 90px; max-height: 30px; }
}

/* ==========================================
   REVELAÇÃO E GALERIA (UNIFICADO)
   ========================================== */
.reveal, .reveal-zoom {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-zoom {
    transform: scale(0.92) translateY(30px);
}

.reveal.active, .reveal-zoom.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Galeria Especial (Seção Sobre) */
.gallery-item img {
    filter: grayscale(1) brightness(0.4); 
    transition: filter 1s var(--transition-premium), transform 1.2s ease;
}

.gallery-item.gallery-item-active img {
    filter: grayscale(0) brightness(1.1);
    transform: scale(1.03); 
}

/* ==========================================
   CARDS 3D PILARES
   ========================================== */
.pilar-perspective {
    perspective: 1500px;
}

.pilar-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

/* ==========================================
   TICKER (ANIMAÇÃO INFINITA)
   ========================================== */
.ticker-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: max-content !important; 
    animation: infinite-scroll 40s linear infinite;
    will-change: transform;
}

@keyframes infinite-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-33.3333%); } 
}