/* Container Base */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Estrutura do Rodapé */
.main-footer {
    border-top: 1px solid var(--border);
    background-color: rgba(19, 23, 34, 0.4); /* bg-card/40 com tom azul escuro */
    margin-top: 64px;
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-brand-column {
        grid-column: span 2; /* md:col-span-2 */
    }
}

/* Coluna de Marca */
.footer-description {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: 12px;
    max-width: 384px; /* max-w-sm */
    line-height: 1.5;
}

/* Ícones de Redes Sociais */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    color: var(--primary);
    border-color: rgba(60, 131, 246, 0.5);
}

/* Listas de Links */
.footer-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--foreground);
    margin: 0 0 12px 0;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    font-size: 14px;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

/* ==========================================
   CSS: NEWSLETTER
   ========================================== */
.newsletter-box {
    border-radius: 8px;
    border: 1px solid rgba(60, 131, 246, 0.3);
    background-color: rgba(60, 131, 246, 0.05); /* bg-primary/5 */
    padding: 20px;
}

.newsletter-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin: 0 0 8px 0;
}

.newsletter-text {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    border-radius: 6px;
    background-color: var(--background);
    border: 1px solid var(--border);
    padding: 8px 12px;
    font-size: 14px;
    color: var(--foreground);
}

.newsletter-input::placeholder {
    color: var(--muted-foreground);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-button {
    flex-shrink: 0;
    border-radius: 6px;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.newsletter-button:hover {
    opacity: 0.9;
}

.newsletter-success {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin: 0;
}

/* ==========================================
   CSS: MAIS LIDOS (Caso queira usar na sidebar/rodapé)
   ========================================== */
/* Box do "Mais Lidos" na Sidebar */
.most-read-sidebar-box {
    background-color: #131722;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
}

.sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 6px;
    display: inline-block;
}

.most-read-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.most-read-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* O número gigante neon */
.most-read-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 8px rgba(60, 131, 246, 0.3);
    min-width: 24px;
}

.most-read-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.most-read-link:hover {
    color: var(--primary);
}

/* Barra inferior de Copyright */
.footer-bottom {
    margin-top: 48px;
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    color: var(--muted-foreground);
}