/* ==========================================================================
   1. VARIÁVEIS, RESETS E ESTILOS GERAIS
   ========================================================================== */

:root {
    --vermelho-benfica: #E30613;
    --preto: #111111;
    --branco: #ffffff;
    --cinza-claro: #f4f4f4;
    --cinza-escuro: #dcdcdc;
}

* {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--cinza-escuro);
    color: var(--preto);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* --- Tipografia Geral --- */
h1, h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    color: var(--vermelho-benfica);
    border-left: 5px solid var(--preto);
    padding-left: 10px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   2. ESTRUTURA: HEADER, NAV E FOOTER
   ========================================================================== */

header {
    background-color: var(--vermelho-benfica);
    color: var(--branco);
    padding: 30px 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

header .header-textos {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

header h1 {
    font-size: 3.5rem;
    margin: 0;
    line-height: 1;
}

header h3 {
    margin: 0;
    letter-spacing: 3px;
    font-size: 1.1rem;
}

.logo-benfica {
    width: 90px;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.quebra-mobile {
    white-space: nowrap; 
}

/* --- Menu Fixo (Sticky) --- */
nav {
    background-color: var(--preto);
    padding: 15px 10px;
    position: sticky;
    top: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

nav a {
    color: var(--branco);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all .3s ease;
}

nav a:hover,
nav a.ativo {
    background: var(--vermelho-benfica);
    color: #fff;
}

/* ==========================================================================
   3. PÁGINA "EM BREVE" / HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 65vh; /* 👈 Reduz a altura total do hero (podes ajustar para 60vh ou 70vh conforme preferires) */
    background-image: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.28)), url("../img/fundo-capa-jogos.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    width: 100%;
    min-height: 65vh; /* 👈 Deve acompanhar a mesma altura do hero para centrar perfeitamente a caixa */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.coming-soon-box {
    margin-top: 0; /* 👈 Remove margens antigas para garantir o centro perfeito */
    margin-left: 0;
    width: 100%;
    max-width: 850px;
    padding: 55px; /* Mantém o tamanho original da caixa como tinhas pedido */
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.coming-soon-box h1 {
    font-family: "Kanit", sans-serif;
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 3px;
    text-shadow: 0 4px 18px rgba(0,0,0,.45);
    animation: fadeHero 1s ease;
    margin-bottom: 10px;
    color: #ffffff; /* 👈 Força o "EM BREVE" a ficar a branco */
}

.coming-soon-box h2 {
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    margin-top: 8px;
    margin-bottom: 30px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: fadeHero 1.4s ease;
    line-height: 1.2;
    border-left: none;
    padding-left: 0;
}

.coming-soon-box p {
    color: #fff;
    max-width: 850px;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
    animation: fadeHero 1.8s ease;
    text-align: center;
}



.hero-botoes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.hero-scroll {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 40px;
    color: white;
    background-color: var(--vermelho-benfica);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: default;
    transition: .35s;
}

.hero-scroll:hover {
    background: var(--vermelho-benfica);
    transform: none;
}

/* ==========================================================================
   4. RODAPÉ (FOOTER)
   ========================================================================== */

footer {
    margin-top: 0;
}

.footer-moderno {
    background-color: var(--preto);
    padding: 30px 10px;
    border-top: 2px solid var(--vermelho-benfica);
}

.footer-conteudo {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.footer-seccao {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-seccao p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #fff;
}

.footer-subtexto {
    font-size: 0.85rem;
    color: #888;
}

.quebra-footer {
    display: block;
    margin-top: 2px;
}

.contacto-rodape {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.email-rodape {
    margin: 0;
}

.email-rodape a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
    font-size: 0.85rem;
}

.email-rodape a:hover {
    color: var(--vermelho-benfica);
}

/* Contador de Visitas */
.contador-visitas {
    background-color: #222;
    color: #888;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid #333;
}

#numero-visitas {
    font-weight: bold;
    color: var(--vermelho-benfica);
}

/* ==========================================================================
   5. ANIMAÇÕES
   ========================================================================== */

@keyframes sobeDesce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes fadeHero {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   6. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
   .hero, .hero-overlay { 
        min-height: 55vh; /* Altura mais compacta no mobile */
        background-position: 80% center; /* Mantém o foco na bola/baliza */
    }
    
    header { 
        flex-direction: column; 
        text-align: center; 
        gap: 10px; 
    }
    
    header h1 { 
        font-size: 2.2rem; 
    }
    
    nav { 
        gap: 10px 15px; 
    }
    
  

    .hero-botoes {
        margin-top: 10px;
        gap: 15px;
    }

  .coming-soon-box {
        margin-top: 0;
        margin-left: 0;
        padding: 30px 20px;
    }

    .coming-soon-box h1 {
        font-size: 2.5rem;
        line-height: 1;
        margin-bottom: 10px;
    }

    .coming-soon-box h2 {
        font-size: 1.3rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .coming-soon-box p {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 15px;
        text-align: center;
    }
}