/* RESET E BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background-color: #f4f6f9; color: #333; overflow-x: hidden; }

/* HEADER SIMPLIFICADO */
.topo { background: #0f172a; color: white; border-bottom: 4px solid #ff6600; width: 100%; position: sticky; top: 0; z-index: 1000; }
.topo-container { max-width: 1200px; margin: auto; padding: 10px 15px; display: flex; align-items: center; justify-content: space-between; position: relative; min-height: 65px; }
.logo { font-size: 20px; font-weight: 800; white-space: nowrap; flex: 1; text-align: center; }
.logo a { text-decoration: none; color: white; }
.logo span { color: #ff6600; }
.menu-botao { font-size: 28px; cursor: pointer; color: white; z-index: 10; }
#menu-check { display: none; }

/* MENU HORIZONTAL (Desktop) */
.menu-horizontal { display: none; gap: 5px; }
.menu-horizontal a { color: white; text-decoration: none; padding: 8px 15px; font-size: 13px; font-weight: 600; text-transform: uppercase; border-radius: 6px; transition: background 0.2s; }
.menu-horizontal a:hover { background: rgba(255,102,0,0.2); }

/* BOTÃO ENTRAR */
.btn-entrar { background: #ff6600; color: white; padding: 8px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
.btn-entrar:hover { background: #e65c00; }

/* Desktop: mostra menu horizontal, esconde hambúrguer */
@media (min-width: 900px) {
    .menu-botao { display: none; }
    .menu-horizontal { display: flex; }
    .logo { font-size: 24px; flex: 0; text-align: left; }
}

/* MENU LATERAL */
.menu-lateral { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 250px; background: #0f172a; border-bottom: 3px solid #ff6600; box-shadow: 5px 5px 15px rgba(0,0,0,0.3); }
#menu-check:checked ~ .menu-lateral { display: flex; }
.menu-lateral a { color: white; text-decoration: none; padding: 15px 20px; font-size: 14px; font-weight: 700; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* SEÇÃO DE OFERTAS CENTRALIZADA */
.container { max-width: 1100px; margin: auto; padding: 0 15px; }

.ads-scroll { 
    display: flex; 
    gap: 15px; 
    margin: 25px 0; 
    overflow-x: auto; 
    padding: 10px 5px;
    scrollbar-width: none; /* Esconde barra no PC para ficar mais limpo */
    justify-content: center; /* CENTRALIZA AS TVs NO PC */
}

/* CARD DE TV - IMAGEM MAIOR E TEXTO MENOR */
.ad-card { 
    background: white; 
    flex: 0 0 220px; 
    padding: 15px; 
    border-radius: 10px; 
    text-decoration: none; 
    color: #333; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    transition: transform 0.2s;
}
.ad-card:hover { transform: translateY(-5px); }

.ad-card img { 
    width: 100%; 
    height: 130px; 
    object-fit: contain; 
    margin-bottom: 10px; 
}

.ad-card h3 { 
    font-size: 12px; 
    line-height: 1.3; 
    font-weight: 600; 
    text-align: center;
    color: #0f172a;
    min-height: 32px; /* Mantém os textos alinhados mesmo que um seja menor */
}

.ad-card .ver-oferta {
    margin-top: 10px;
    color: #00a650;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #00a650;
    padding: 4px 10px;
    border-radius: 4px;
}

/* POST DESTAQUE */
.post-item { display: flex; align-items: flex-end; width: 100%; height: 400px; border-radius: 12px; overflow: hidden; position: relative; text-decoration: none; margin-bottom: 20px; background-size: cover; background-position: center; }
.post-over { padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); width: 100%; color: white; }
.post-over h2 { font-size: 28px; margin-top: 10px; line-height: 1.2; }
.tag { background: #ff6600; padding: 3px 8px; font-size: 11px; font-weight: bold; border-radius: 3px; text-transform: uppercase; }

/* RESPONSIVIDADE */
@media (max-width: 950px) {
    .ads-scroll { 
        justify-content: flex-start; /* No celular, volta para a esquerda para permitir o scroll lateral */
    }
}

@media (max-width: 600px) {
    .ad-card { flex: 0 0 180px; }
    .post-item { height: 280px; }
    .logo { font-size: 20px; }
}
/* ESTILO DO ARTIGO */
.artigo { 
    max-width: 800px; 
    margin: 40px auto; 
    background: white; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
}

.artigo h1 { font-size: 32px; color: #0f172a; margin: 10px 0; }

/* CARDS DO RANKING */
.rank-card { 
    margin-top: 40px; 
    padding-top: 20px; 
    border-top: 2px solid #f4f6f9; 
}

.rank-card h2 { color: #0f172a; font-size: 24px; margin-bottom: 20px; }

/* Ajuste para a imagem não estourar como no print */
.rank-card img { 
    width: 100%; 
    max-height: 400px; 
    object-fit: cover; 
    border-radius: 8px; 
    margin-bottom: 20px; 
}

.rank-card p { 
    font-size: 18px; 
    line-height: 1.6; 
    color: #444; 
}

/* BOTÃO DE COMPRA NO ARTIGO */
.btn-oferta {
    display: inline-block;
    background: #00a650;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s;
}
.btn-oferta:hover { background: #008a43; }
.categoria-header {
    font-weight: 400; /* Mais fino que o logo principal */
    font-size: 0.8em; /* Levemente menor */
    color: #cbd5e1;   /* Um cinza claro para suavizar */
    margin-left: 5px;
}
