/* ==========================================================================
   FAMÍLIA 1: SEÇÃO 1 - HEADER E HERO
   ========================================================================== */
html {
    scroll-behavior: smooth; /* Faz a rolagem ser suave por padrão ao clicar em links # */
    scroll-padding-top: 80px; /* Evita que o topo da seção fique escondido atrás do seu header fixo */
}
/* --- Estilos Padrão (Desktop-First) --- */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 4%;
    z-index: 1000;
}

.header-container {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 35px;
    width: auto;
    display: block;
}

.header-whatsapp-link {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header-whatsapp-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    /* CORREÇÃO FINAL: Garante que o vídeo preencha a tela 16:9 sem barras pretas. */
    object-fit: cover; 
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 4%;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
/* Container que segura os botões no header */
.whatsapp-link {
    display: flex;
    gap: 12px; /* Espaço exato entre os botões */
    align-items: center;
    flex-wrap: nowrap; /* Mantém na mesma linha no desktop */
}

/* A nova classe padronizada */
.btn-whatsapp-global {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap; /* Impede o texto de quebrar linha dentro do botão */
}

.btn-whatsapp-global:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

/* --- Responsividade da Seção 1 --- */

@media (max-width: 767px) {
    .main-header { 
        padding: 20px 5%; 
    }
    .header-logo img { 
        height: 28px; 
    }
    .header-whatsapp-link { 
        font-size: 0.85rem; 
        padding: 6px 12px; 
    }
    .hero-title { 
        font-size: 2.2rem; 
    }
}



/* ==========================================================================
   BALÃO DE DICA - ESTILO COMENTÁRIO SEPARADO
   ========================================================================== */
.audio-hint-balloon {
    position: fixed;
    bottom: calc(40% + 60px); /* 60px acima do centro do botão */
    left: 20px;
    background: #000000;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 999998;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

/* A "pontinha" do balão de comentário */
.audio-hint-balloon::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 15px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000000;
}

/* Estado Ativo (controlado pelo JS na primeira carga) */
.audio-hint-balloon.show {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo do Botão (Ajuste para colado na parede) */
.mute-btn-sidebar {
    position: fixed;
    bottom: 40%;
    left: 0;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255,255,255,0.2);
    border-left: none;
    border-radius: 0 25px 25px 0;
    z-index: 999999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateX(-30px); /* Escondido */
}

.mute-btn-sidebar:hover {
    transform: translateX(0);
    background: #000;
}