/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #a80c11;
    /* Vermelho base (Mobile) */
    color: white;
    font-family: 'Inter', sans-serif;
    /* Ajuste solicitado: min-height para permitir rolagem */
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.invisible {
    display: none;
}

/* --- FUNDO DESKTOP (Fixo) --- */
.desktop-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente Vermelho Profundo */
    background: linear-gradient(135deg, #b00c0f 0%, #600507 100%);
    z-index: -2;
    display: none;
    /* Escondido no mobile por padrão */
}

.clock-watermark {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    /* Coloque a imagem do relógio na pasta */
    background-image: url('clock-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.25;
    mix-blend-mode: overlay;
}

/* === HEADER === */
.site-header {
    background-color: #a80c11;
    /* Vermelho sólido no mobile */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-img {
    height: 22px;
    display: block;
}

.icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Header Mobile */
.mobile-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    height: 56px;
}

.desktop-top-bar {
    display: none;
}

/* === SEÇÃO DE TÍTULO (BRANDING) === */
.brand-header {
    padding: 12px 12px 12px;
}

.show-title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
    line-height: 1;
}

.show-headline {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 8px;
}

.show-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

/* === BARRA DE NAVEGAÇÃO (SUB-NAV) === */
.sub-nav-strip {
    background-color: #8f0a0d;
    /* Tom mais escuro para contraste */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-scroller {
    display: flex;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
    margin-bottom: 8px;
    /* Firefox */
}

.nav-scroller::-webkit-scrollbar {
    display: none;
}

/* Chrome */

.nav-scroller a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 0;
    margin-right: 25px;
    white-space: nowrap;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-scroller a.active {
    opacity: 1;
    border-bottom: 2px solid white;
}

/* === ÁREA DE CONTEÚDO === */
.main-content {
    padding-bottom: 40px;
}

.content-feed {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Wrapper do Vídeo */
.video-wrapper {
    width: 100%;
    background: black;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Textos */
.headline {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}

.meta-info {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 10px;
}

/* Utilitários */
.desktop-only {
    display: none;
}

/* =========================================
   === DESKTOP (Telas maiores que 900px) === 
   ========================================= */
@media (min-width: 900px) {

    /* 1. Ativar Fundo Desktop */
    .desktop-bg-layer {
        display: block;
    }

    body {
        background-color: transparent;
    }

    /* Deixa o layer fixo aparecer */

    /* 2. Header Transparente */
    .mobile-top-bar {
        display: none;
    }

    .desktop-top-bar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 0 40px;
        height: 60px;
        width: 100%;
    }

    .site-header {
        background-color: transparent;
        position: absolute;
        border: none;
        width: 100%;
    }

    .d-nav-left {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .d-nav-left a {
        color: white;
        text-decoration: none;
        margin-right: 18px;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .d-nav-left i {
        font-size: 0.6rem;
        margin-left: 4px;
        opacity: 0.7;
    }

    .d-nav-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .logo-area {
        display: flex;
        justify-content: center;
    }

    .logo-img {
        height: 22px;
    }

    /* 3. Layout do Branding */
    .brand-header {
        padding: 90px 50px 5px;
        /* Espaço para o header fixo - reduzido */
        max-width: 1600px;
        margin: 0 auto;
    }

    .show-title {
        font-size: 3.5rem;
        font-weight: 300;
        letter-spacing: -2px;
    }

    .show-subtitle {
        font-size: 1rem;
        font-weight: 400;
    }

    /* 4. Nav Strip Desktop */
    .sub-nav-strip {
        background: transparent;
        padding: 0 50px;
        max-width: 1600px;
        margin: 0 auto 15px;
        border: none;
    }

    .nav-scroller {
        padding: 0;
    }

    .nav-scroller a {
        font-size: 1rem;
        margin-right: 35px;
    }

    .nav-scroller a:hover {
        text-decoration: underline;
        border: none;
    }

    .nav-scroller a.active {
        border: none;
        text-decoration: underline;
    }

    /* 5. Layout do Conteúdo */
    .content-feed {
        padding: 0 50px;
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Feature Principal - Layout vertical centralizado */
    .main-feature {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 800px;
    }

    .show-headline {
        font-size: 1.4rem;
        font-weight: 600;
        text-align: center;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .video-wrapper {
        margin-bottom: 10px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        width: 100%;
    }

    .text-content {
        width: 100%;
        text-align: center;
    }

    .headline {
        font-size: 2.5rem;
        line-height: 1.1;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .desktop-only {
        display: block;
        font-size: 1.15rem;
        line-height: 1.6;
        opacity: 0.9;
        margin-bottom: 20px;
    }

    .meta-info {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    /* Iframe expandido no desktop para cards lado a lado */
    #potes-frame {
        width: 100%;
        margin: 0 auto;
    }
}