/* 
 * 08um.com - Design System & Stylesheet (Estilo Nexo Jornal / Editorial Modular)
 * Foco em minimalismo, paleta de cores funcional, fundo papel/marfim, cards modulares e sem neon.
 * Limpo, elegante, colorido e com divisões muito nítidas de colunas.
 */

/* ==========================================
   1. Reset & Cores Editoriais do Nexo
   ========================================== */
:root {
    /* Cores de Fundo Estilo Nexo (Warm / Papel Editorial) */
    --bg-paper: #faf8f5;      /* Fundo da página (marfim suave, clássico do Nexo) */
    --bg-white: #ffffff;      /* Fundo dos cards e containers */
    --bg-dark: #0f172a;       /* Slate 900 */
    
    /* Cores de Texto */
    --text-main: #27272a;     /* Zinc 800 - Leitura suave e de alto contraste */
    --text-muted: #71717a;    /* Zinc 500 */
    --text-dark: #09090b;     /* Zinc 950 - Títulos marcantes */
    
    /* Bordas e Linhas Estruturais */
    --border-light: #e4e4e7;  /* Zinc 200 */
    --border-dark: #09090b;   /* Preto editorial para divisores principais */

    /* Cores Editoriais Funcionais por Categoria (Nexo Color-Coding) */
    --matasul-color: #0d9488;  /* Teal / Verde-azul - Para assuntos regionais */
    --policy-color: #3b82f6;   /* Azul Royal - Para Política */
    --economy-color: #f97316;  /* Laranja Quente - Para Economia e Comércio */
    --podtudo-color: #d946ef;  /* Fuchsia / Rosa - Para Vídeos/PodTudo */
    --participe-color: #ef4444; /* Vermelho Vivo - Para Voz da Cidade / Big Data */
    --culture-color: #8E44AD;  /* Roxo / Cultura */
    --sports-color: #27AE60;   /* Verde / Esportes */

    /* Tipografia */
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-paper);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Classes utilitárias de cores de texto */
.text-red { color: var(--participe-color) !important; }
.text-purple { color: var(--podtudo-color) !important; }
.text-blue { color: var(--policy-color) !important; }
.text-orange { color: var(--economy-color) !important; }

/* ==========================================
   2. Cabeçalho Nexo (Header)
   ========================================== */
/* ==========================================
   2. Cabeçalho Unificado e Fixo (Estilo Nexo)
   ========================================== */
.main-header-unified {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(9, 9, 11, 0.04), 0 2px 4px rgba(9, 9, 11, 0.02); /* Sombra separadora Nexo */
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

/* Lado Esquerdo: Menu e Data */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.menu-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--matasul-color); /* Teal / Verde-azul */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.menu-btn:hover {
    background-color: rgba(13, 148, 136, 0.06);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--matasul-color);
    border-radius: 1px;
}

.header-date {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Centro: Logo e Slogan */
.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1.5;
    text-align: center;
}

.logo-link {
    display: inline-block;
}

.logo-unified {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    line-height: 0.95;
    text-transform: lowercase;
}

.logo-unified span {
    font-weight: 300;
    color: var(--participe-color);
}

.slogan-unified {
    font-size: 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 800;
}

/* Lado Direito: Assine e Login */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1;
}

.subscribe-badge-pill {
    background-color: var(--participe-color);
    color: var(--bg-white);
    border: none;
    padding: 8px 22px;
    border-radius: 30px; /* Formato pílula Nexo */
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    outline: none;
}

.subscribe-badge-pill:hover {
    background-color: #dc2626;
    transform: scale(1.04);
}

.subscribe-badge-pill:active {
    transform: scale(0.97);
}

/* Rádio Button no Cabecalho */
.radio-toggle-btn {
    background-color: var(--bg-white, #ffffff);
    color: #333333;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.radio-toggle-btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.radio-toggle-btn:active {
    transform: translateY(0);
}

.radio-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #e11d48;
    box-shadow: 0 0 0 rgba(225, 29, 72, 0.4);
    animation: pulse-dot 1.5s infinite;
}

.radio-icon-symbol {
    font-size: 0.65rem;
    margin-left: 2px;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(225, 29, 72, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.radio-toggle-btn.playing {
    background-color: #111111;
    color: #ffffff;
    border-color: #111111;
}

.radio-toggle-btn.playing .radio-live-dot {
    background-color: #22c55e;
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.login-link {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: #0088cc; /* Azul nítido de Log In */
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.06em;
    transition: opacity 0.2s;
}

.login-link:hover {
    opacity: 0.85;
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-light);
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* Menu Lateral (Drawer) */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 9, 11, 0.45);
    backdrop-filter: blur(3px);
    z-index: 10000;
    display: flex;
    transition: opacity 0.25s ease;
}

.drawer-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.drawer-content {
    background-color: var(--bg-white);
    width: 310px;
    height: 100%;
    box-shadow: 4px 0 25px rgba(9, 9, 11, 0.08);
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.hidden .drawer-content {
    transform: translateX(-100%);
}

.drawer-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 30px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.drawer-close-btn:hover {
    color: var(--text-dark);
}

.drawer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    letter-spacing: -0.04em;
    text-transform: lowercase;
}

.drawer-logo span {
    font-weight: 300;
    color: var(--participe-color);
}

.drawer-nav {
    flex: 1;
}

.drawer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.drawer-nav-item {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
}

.drawer-nav-item:hover {
    color: var(--text-dark);
    opacity: 0.8;
}

/* Pontos de Cores do Menu */
.menu-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-home { background-color: var(--text-muted); }
.dot-matasul { background-color: var(--matasul-color); }
.dot-politica { background-color: var(--policy-color); }
.dot-podtudo { background-color: var(--podtudo-color); }
.dot-participe { background-color: var(--participe-color); }

.drawer-footer {
    font-size: 0.72rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

/* ==========================================
   3. Grid de Notícias Modular (Cards)
   ========================================== */
.main-container {
    max-width: 1200px;
    margin: 35px auto 0 auto; /* Added margin to push content down below sticky header */
    padding: 0 24px 60px 24px;
}

.news-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1fr;
    gap: 30px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

/* Configuração dos Cards Modulares */
.card-story {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card-story:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 9, 11, 0.04);
}

/* Temas de cores do Nexo (Borda Superior Grossa) */
.matasul-theme { border-top: 4px solid var(--matasul-color); }
.policy-theme { border-top: 4px solid var(--policy-color); }
.economy-theme { border-top: 4px solid var(--economy-color); }
.podtudo-theme { border-top: 4px solid var(--podtudo-color); }
.citizen-theme { border-top: 4px solid var(--participe-color); }
.culture-theme { border-top: 4px solid var(--culture-color); }
.sports-theme { border-top: 4px solid var(--sports-color); }

/* Tags de Categorias */
.category-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.matasul-theme .category-tag { color: var(--matasul-color); }
.policy-theme .category-tag { color: var(--policy-color); }
.economy-theme .category-tag { color: var(--economy-color); }
.podtudo-theme .category-tag { color: var(--podtudo-color); }
.culture-theme .category-tag { color: var(--culture-color); }
.sports-theme .category-tag { color: var(--sports-color); }

/* Detalhes da Manchete Principal (Esquerda) */
.main-story {
    grid-column: 1;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.main-title:hover {
    color: var(--accent-red);
}

.story-lead {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 18px;
    line-height: 1.5;
}

.story-author {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.story-image-container {
    position: relative;
    margin-top: 16px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border: 1px solid var(--border-light);
}

.image-caption {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Linha Divisória de Título */
.section-title-line {
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.section-title-line h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
}

/* Coluna do Meio (Destaques Recentes) */
.secondary-stories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.secondary-stories .card-story {
    padding: 20px;
}

.small-story h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.small-story h4 a:hover {
    color: var(--text-dark);
    opacity: 0.8;
}

.small-story p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 10px;
}

.story-time {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

/* Coluna da Direita (Mais Lidas & Enquete) */
.editorial-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.trending-list {
    list-style: none;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--border-dark);
    padding: 20px;
}

.trending-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}

.trending-list li:first-child {
    padding-top: 0;
}

.trending-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.list-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--participe-color);
    line-height: 1;
}

.trending-list a {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.trending-list a:hover {
    opacity: 0.8;
}

/* Widget Enquete */
.poll-widget {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--border-dark);
    padding: 24px;
}

.poll-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--participe-color);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.poll-question {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.35;
}

.poll-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    background-color: var(--bg-paper);
    transition: background-color 0.15s, border-color 0.15s;
    color: var(--text-dark);
}

.poll-option:hover {
    background-color: var(--border-light);
}

.poll-option input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--participe-color);
}

.btn-poll {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border: none;
    padding: 12px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.15s;
}

.btn-poll:hover {
    background-color: var(--participe-color);
}

/* Resultados da Enquete */
.poll-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-dark);
}

.result-bar-bg {
    background-color: var(--border-light);
    height: 6px;
    width: 100%;
}

.result-bar {
    background-color: var(--participe-color);
    height: 100%;
    width: 0;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.total-votes {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 4px;
}

.hidden {
    display: none !important;
}

/* ==========================================
   Ads (AdSense Placeholders)
   ========================================== */
.adsense-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.ad-label {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ad-box {
    background-color: #f1f5f9;
    border: 1px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.ad-dimensions {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
}

/* Tamanhos específicos de Ads */
.vertical-ad .ad-box {
    width: 300px;
    height: 600px;
}

.citizen-ad .ad-box {
    width: 160px;
    height: 600px;
}

/* ==========================================
   4. Seção PodTudo (Fuchsia Box / Nexo)
   ========================================== */
.podtudo-section {
    background-color: #fdf4ff; /* Fundo suave fuchsia para separar a seção */
    border: 1px solid #f5d0fe;
    border-top: 4px solid var(--podtudo-color);
    padding: 40px;
    margin-bottom: 40px;
}

.podtudo-section .container-title h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.podtudo-section .container-title .subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.video-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #f5d0fe;
    background-color: var(--bg-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.06);
}

.thumbnail-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #000;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.04);
    opacity: 0.85;
}

.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 0.9rem;
    padding-left: 2px;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease, color 0.2s ease;
}

.video-card:hover .play-btn-circle {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--podtudo-color);
    color: var(--bg-white);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    letter-spacing: 0.05em;
}

.video-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-episode {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--podtudo-color);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.video-card:hover .video-title {
    color: var(--podtudo-color);
}

.video-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ==========================================
   5. Seção Voz da Cidade (Red Box / Big Data)
   ========================================== */
.citizen-section {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 0.8fr;
    gap: 30px;
    background-color: #fef2f2; /* Vermelho/Rose muito leve */
    border: 1px solid #fecaca;
    border-top: 4px solid var(--participe-color);
    padding: 40px;
}

.citizen-intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.citizen-intro h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.citizen-intro .lead-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5;
}

.citizen-intro p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.citizen-form-container {
    background-color: var(--bg-white);
    padding: 30px;
    border: 1px solid #fecaca;
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    background-color: var(--bg-white);
    color: var(--text-dark);
    outline: none;
    border-radius: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--participe-color);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.05);
}

.btn-submit {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border: none;
    padding: 12px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 0.15s;
}

.btn-submit:hover {
    background-color: var(--participe-color);
}

/* Feed em tempo real de reclamações */
.citizen-feed-container {
    grid-column: 1 / span 3;
    border-top: 1px solid #fecaca;
    padding-top: 30px;
    margin-top: 10px;
}

.citizen-feed-container h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.reports-feed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.report-card {
    background-color: var(--bg-white);
    border: 1px solid #fecaca;
    border-left: 4px solid var(--participe-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.report-card:hover {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.04);
    transform: translateY(-1px);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.report-badge {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
}

.red-badge { background-color: #fee2e2; color: var(--participe-color); }
.blue-badge { background-color: #dbeafe; color: var(--policy-color); }
.green-badge { background-color: #dcfce7; color: var(--matasul-color); }
.yellow-badge { background-color: #fef9c3; color: var(--economy-color); }

.report-location {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-dark);
}

.report-text {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
}

.report-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    border-top: 1px solid var(--bg-paper);
    padding-top: 10px;
    margin-top: auto;
}

.report-status {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--matasul-color);
    letter-spacing: 0.02em;
}

.new-item-animate {
    animation: slideInDown 0.5s ease-out forwards;
}

/* ==========================================
   6. Rodapé Nexo (Footer)
   ========================================== */
/* ==========================================
   6. Rodapé Editorial Estilo Nexo (Footer)
   ========================================== */
.main-footer-nexo {
    background-color: #f5f5f5; /* Fundo cinza bem clarinho idêntico ao do Nexo */
    border-top: 1px solid var(--border-light);
    padding: 40px 0 30px 0;
    width: 100%;
}

.footer-themes-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.themes-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.themes-title {
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    text-transform: uppercase;
}

.themes-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-pill {
    background-color: #8182b3; /* Cor dos pills do Nexo */
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color 0.2s, transform 0.1s;
}

.theme-pill:hover {
    background-color: #696a9e;
    transform: translateY(-1px);
}

.footer-divider-line {
    border-bottom: 1px solid #e0e0e0;
    margin: 20px 0 40px 0;
    width: 100%;
}

.footer-columns-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-nexo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.brand-col {
    gap: 10px;
    align-items: flex-start;
}

.footer-brand {
    margin-bottom: 12px;
}

.footer-sub-btn {
    width: 100%;
    max-width: 200px;
    border: none;
    padding: 10px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s, transform 0.1s;
}

.red-btn {
    background-color: var(--participe-color);
    color: var(--bg-white);
}

.red-btn:hover {
    background-color: #dc2626;
}

.blue-btn {
    background-color: #0088cc;
    color: var(--bg-white);
}

.blue-btn:hover {
    background-color: #0077b3;
}

.black-btn {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.black-btn:hover {
    background-color: #27272a;
}

.sub-login-text {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-top: 6px;
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.footer-brand-divider {
    border-bottom: 1px solid #e0e0e0;
    margin: 16px 0;
    width: 100%;
    max-width: 200px;
}

.footer-partner-brand {
    text-align: left;
}

.partner-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.partner-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.col-title {
    font-family: var(--font-heading);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--text-dark);
    margin-bottom: 16px;
    width: 100%;
}

.col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.col-links a {
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.col-links a:hover {
    color: var(--participe-color);
}

.margin-bottom-col {
    margin-bottom: 24px;
}

.footer-bottom-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 0 24px;
    border-top: 1px solid #e0e0e0;
    text-align: left;
}

.footer-bottom-bar p {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* ==========================================
   7. Animações & Responsividade
   ========================================== */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Telas Médias (Tablets) */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1.5fr 1fr;
    }
    .editorial-sidebar {
        grid-column: 1 / span 2;
    }
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }
    .citizen-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .citizen-feed-container {
        grid-column: 1;
    }
    .reports-feed {
        grid-template-columns: 1fr;
    }
    .adsense-placeholder.vertical-ad.citizen-ad {
        margin: 20px auto;
    }
    .adsense-placeholder.vertical-ad .ad-box {
        width: 100%;
        max-width: 300px;
        height: 250px; /* Tamanho adaptável para mobile */
    }
    .adsense-placeholder.vertical-ad.citizen-ad .ad-box {
        width: 100%;
        max-width: 300px;
        height: 250px;
    }
}

/* Telas Pequenas (Celulares) */
@media (max-width: 768px) {
    .logo-unified {
        font-size: 1.6rem;
    }

    .header-date {
        display: none;
    }
    
    .slogan-unified {
        display: none;
    }
    
    .header-container {
        padding: 10px 16px;
        min-height: 60px;
    }
    
    .menu-btn {
        padding: 6px 8px;
        font-size: 0.72rem;
    }
    
    .subscribe-badge-pill {
        padding: 6px 14px;
        font-size: 0.68rem;
    }

    .radio-toggle-btn {
        padding: 6px 10px;
        font-size: 0.68rem;
        gap: 4px;
    }

    .radio-toggle-btn .radio-btn-text {
        display: none; /* Esconde o texto no mobile para não amontoar */
    }

    .login-link span {
        display: none; /* Esconde o texto 'LOG IN' e mantém apenas o ícone */
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .secondary-stories {
        border-left: none;
        border-right: none;
        padding: 20px 0;
        border-top: 1px solid var(--border-light);
        border-bottom: 1px solid var(--border-light);
    }
    
    .editorial-sidebar {
        grid-column: 1;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .citizen-section {
        padding: 20px;
    }
    
    .citizen-form-container {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-nexo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-col {
        align-items: center;
        text-align: center;
    }

    .footer-sub-btn,
    .sub-login-text,
    .footer-brand-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom-bar {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
}

/* ==========================================
   X. Modal de Inscrição (Assine)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 9, 11, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-card {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 440px;
    border-radius: 8px;
    border-top: 6px solid var(--participe-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 36px 30px;
    position: relative;
    text-align: center;
    animation: modalReveal 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: var(--text-dark);
}

.modal-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
    display: inline-block;
    animation: bellSwing 2.5s infinite ease-in-out;
    transform-origin: top center;
}

@keyframes bellSwing {
    0%, 100% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-12deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-8deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(0); }
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-actions {
    margin-bottom: 20px;
}

.btn-push-action {
    background-color: var(--participe-color);
    color: var(--bg-white);
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-push-action:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.btn-push-action:active {
    transform: translateY(1px);
}

.btn-push-action:disabled {
    background-color: var(--border-light);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.push-status-msg {
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.push-status-msg.success { color: #10b981; }
.push-status-msg.error { color: #ef4444; }
.push-status-msg.info { color: #3b82f6; }

.modal-divider-text {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin: 24px 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-divider-text::before,
.modal-divider-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--border-light);
}

.alternative-sub {
    margin-bottom: 20px;
}

.modal-email-form {
    display: flex;
    gap: 8px;
}

.modal-email-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 0.88rem;
    font-family: var(--font-sans);
    outline: none;
}

.modal-email-form input:focus {
    border-color: var(--participe-color);
}

.btn-email-submit {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border: none;
    padding: 0 18px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-email-submit:hover {
    background-color: #27272a;
}

.email-status-msg {
    margin-top: 6px;
    font-size: 0.76rem;
    text-align: left;
}

.email-status-msg.success { color: #10b981; }

.modal-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: opacity 0.2s;
    letter-spacing: 0.02em;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white;
}

.telegram-btn {
    background-color: #0088cc;
    color: white;
}

.social-btn:hover {
    opacity: 0.9;
}

/* Botão do WhatsApp no topo */
.whatsapp-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: -5px; /* Compacta o espaço */
}
.whatsapp-top-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}
.whatsapp-top-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
