/* ============================================
   PÁGINA HOME - HERO BANNER
   ============================================ */

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

#hero-video,
#hero-video-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

#hero-video-mobile {
    display: none;
}

/* Botão de som do vídeo (canto superior esquerdo, bem visível) */
.hero-sound-wrapper {
    position: absolute;
    top: 110px;
    left: 30px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-sound-toggle {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.hero-sound-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Balão de mensagem que surge do botão de som */
.hero-sound-tip {
    position: relative;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-family: 'Mrs Eaves OT', serif;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 24px;
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Setinha do balão apontando para o botão */
.hero-sound-tip::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(0, 0, 0, 0.55);
}

/* Estado visível (controlado por JS) */
.hero-sound-tip.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Mrs Eaves OT', serif;
    color: #ffffff;
    font-weight: 100;
    font-size: 3.4rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
    margin-top: 170px;
}

/* Seta de Scroll - CENTRALIZADA */
.scroll-down {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    animation: bounce 2s infinite;
}

/* Widget do Booking */
.booking-widget {
    position: absolute;
    top: 120px;
    right: 40px;
    z-index: 3;
}

.booking-badge {
    background: #003580;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    width: 180px;
    box-shadow: 0 5px 0 #002255, 0 8px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.booking-badge:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #002255, 0 4px 8px rgba(0, 0, 0, 0.3);
}

.booking-badge:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #002255, 0 2px 5px rgba(0, 0, 0, 0.3);
}

.award-text {
    font-size: 10px;
    display: block;
    opacity: 1;
}

.hotel-name {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.score-value {
    background: #fff;
    color: #003580;
    padding: 5px;
    border-radius: 4px;
    font-weight: bold;
}

/* Wrapper do hero */
.hero-wrapper {
    position: relative;
}

/* Ícone Sticky - fixo no scroll */
.sticky-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
}

.sticky-icon img {
    transition: transform 0.2s ease;
}

.sticky-icon:hover img {
    transform: scale(1.1);
}

.sticky-icon img {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

/* Animação da seta */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-banner {
        height: 80vh;
    }

    /* Mobile usa imagem estática (sem vídeo/áudio) — esconde o botão de som */
    .hero-sound-toggle {
        display: flex;
        width: 36px;
        height: 36px;
    }

    .hero-sound-toggle svg {
        width: 20px;
        height: 20px;
    }

    .hero-sound-wrapper {
        top: 14px;
        left: 14px;
    }

    /* toque passa pro botao (hero-content cobria a area no mobile) */
    .hero-content {
        pointer-events: none;
    }

    /* Troca da imagem do hero por hero-mobile.png via background */
    .video-container img,
    .video-container #hero-video {
        display: none;
    }

    .video-container #hero-video-mobile {
        display: block;
    }

    .video-container {
        background-image: url('../img/hero-mobile.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* Oculta o badge azul Booking.com 9,8 no mobile */
    .booking-widget {
        display: none;
    }

    /* Oculta o ícone redondo de agenda no mobile (mantém desktop) */
    .sticky-icon {
        display: none;
    }
}
