/* Variáveis e Reset */
:root {
    --primary: #c00;
    --text: #222;
    --bg: #fff;
    --gray: #f4f4f4;
    --border-color: #ddd;
}

body { 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    margin: 0; 
    color: var(--text); 
    background: var(--bg); 
    -webkit-font-smoothing: antialiased;
}

/* Header e Nav */
header { 
    border-bottom: 4px solid var(--primary); 
    padding: 15px; 
    text-align: center; 
    background: #fff; 
}

.nav-bar { 
    background: #333; 
    color: #fff; 
    padding: 10px; 
    font-size: 13px; 
    text-transform: uppercase; 
    text-align: center; 
}

/* Layout Principal */
.main-container { 
    max-width: 1140px; 
    margin: 20px auto; 
    padding: 0 15px; 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 20px; 
}

.hero-news { grid-column: 1 / 2; position: relative; }
.hero-title { font-size: 32px; font-weight: bold; margin: 15px 0 5px; line-height: 1.1; }
.hero-subtitle { color: #666; font-size: 18px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 15px; }
.video-box { background: #000; color: #fff; padding: 10px; border-radius: 4px; }
.video-placeholder { 
    width: 100%; 
    aspect-ratio: 16/9; 
    background: #333; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer;
}

/* Grid de Notícias */
.news-grid { 
    grid-column: 1 / 3; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 20px; 
    border-top: 1px solid var(--border-color); 
    padding-top: 20px; 
}

.small-card .img-placeholder { 
    width: 100%; 
    height: 150px; 
    background: #eee; 
    border-radius: 4px; 
}

.tag { color: var(--primary); font-weight: bold; font-size: 12px; text-transform: uppercase; display: block; margin-bottom: 5px; }

/* Bloco da Newsletter */
.newsletter-box {
    background: var(--gray);
    padding: 20px;
    border-radius: 4px;
    margin-top: 15px;
    border: 1px solid var(--border-color);
}

.newsletter-box h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: var(--primary);
}

.newsletter-box p {
    font-size: 13px;
    margin-bottom: 15px;
    color: #555;
}

.newsletter-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Garante que o padding não estoure a largura */
}

.newsletter-box button {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-box button:hover {
    background: #900;
}