/* ========================================
   CABEÇALHO COM FRASE + "VÍDEO PRIMEIRO" (v20)
   - A frase de impacto fica no lugar do menu
   - Enquanto o lead não assistir ao vídeo, a página mostra só
     cabeçalho, vídeo e rodapé (classe "gate" no <html>)
   Arquivo separado: não mexe no style.css
   ========================================= */

/* ---------- Frase no cabeçalho ---------- */
/* Antes de assistir (html.gate): só a frase, centralizada, sem logo e sem menu.
   Depois de assistir: a frase some e volta o cabeçalho normal (logo + menu). */
.header-frase { display: none; }
html.gate .header-frase { display: block; }
html.gate .main-header .header-logo,
html.gate .main-header .menu-toggle,
html.gate .main-header .menu-principal { display: none !important; }
html.gate .main-header .header-inner {
    height: auto;
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: center;
}
.header-frase {
    flex: 1;
    margin: 0;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
    color: #fff;
}
@media (min-width: 1024px) {
    .header-frase {
        font-size: 1.2rem;
        line-height: 1.3;
    }
}

/* ---------- Vídeo primeiro ---------- */
/* Enquanto o <html> tem a classe "gate": esconde o resto da página
   (cards, mapa, distâncias) e o botão do WhatsApp. O rodapé continua. */
html.gate main,
html.gate #whatsappBtn {
    display: none !important;
}
/* Quando o vídeo é assistido, a classe sai e o conteúdo aparece suave */
html.liberado main,
html.liberado #whatsappBtn {
    animation: aparecer-suave 0.6s ease both;
}
@keyframes aparecer-suave {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    html.liberado main,
    html.liberado #whatsappBtn { animation: none; }
}

/* telas bem estreitas (≤380px): fonte um pouco menor para a frase caber em 2 linhas */
@media (max-width:380px){.header-frase{font-size:.78rem}}
