/*VARIAVEIS*/
/*GLOBAL */
html,
body {
    margin: 0;
    padding: 0;
    height: 200vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    scroll-behavior: smooth;
}

/* Top ticker */
.top-ticker {
    background: linear-gradient(180deg, rgb(26, 26, 46), rgb(1, 1, 57));
    color: rgb(255, 255, 255);
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.top-ticker .ticker-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 18s linear infinite;
}

.top-ticker .ticker-item {
    display: inline-block;
    padding: 0 12px;
}

.top-ticker .ticker-sep {
    color: rgb(255, 255, 255);
    padding-right: 12px;
}

@keyframes ticker {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}
.nav-ativo {
  color: rgba(0, 0, 79, 0.9) !important;
  border-bottom: 2px solid rgba(0, 0, 79, 0.8);
  padding-bottom: 2px;
}
/*Header*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background-color: #ffffff;
    position: fixed;
    top: 50px;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 70px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid rgba(0, 0, 79, 0.08);
}

.header-logo {
    display: flex;
    align-items: center;
    
}
.header-logo h1{
    font-size: 20px;
    color: rgb(0, 0, 100);
    font-weight: 800;
}
.header-logo img {
    height: 85px;
    width: auto;
    object-fit: contain;
    display: block;
}

.header-nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-nav-links a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
    
}

.header-nav-links a:hover {
    color: rgba(0, 0, 79, 0.85);
}

.header-nav-actions {
    display: flex;
    gap: 32px;
    align-items: center;
}

header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    transition: color 0.2s ease;
}

.btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}
.btn-poligrafo{
    border: 0;
    background-color: #0a0a5d;
    padding:  10px;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    letter-spacing: 1.7px;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
}
.btn-icon:hover {
    background: rgba(0, 0, 79, 0.07);
    color: rgba(0, 0, 79, 0.9);
}


/*--- NAV LATERAL ---*/
#menunav-lateral {
    position: fixed;
    top: 50px;
    right: 0;
    width: 0%;
    height: 100vh;
    background: #1a1a2e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    overflow: hidden;
    z-index: 900;
    gap: 40px;
}

.menulateral-container-nav {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 0 60px;
}

#menunav-lateral nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 0 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 180px;
}

#menunav-lateral nav:first-child {
    border-left: none;
    padding-left: 0;
}

#menunav-lateral nav h2 {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(0, 180, 255, 0.9);
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
    margin-bottom: 8px;
    white-space: nowrap;
}

#menunav-lateral nav a {
    font-size: 15px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    transition: 0.2s ease;
    font-family: Montserrat, sans-serif;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

#menunav-lateral nav a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.menulateral-search-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    width: calc(100% - 120px);
}

.menulateral-search-container h1 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-family: Montserrat, sans-serif;
    letter-spacing: 0.5px;
}

.menulateral-search-container input {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    font-family: Montserrat, sans-serif;
}

.menulateral-search-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.menulateral-search-container button {
    background-color: rgba(0, 0, 79, 0.9);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.input-search {
    display: flex;
    gap: 8px;
    justify-content: start;
    align-items: center;
    width: 100%;
}

/*--- DESTAQUE CARROSSEL ---*/
#destaque {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carrossel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carrossel-slide {
    display: none;
    width: 100%;
    height: 100vh;
    position: relative;
}

.carrossel-slide.ativo {
    display: block;
}

/* Containers de cada notícia do destaque */
.container-destaque-not1,
.container-destaque-not2,
.container-destaque-not3 {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Imagem ocupa tudo como fundo */
.not1-img,
.not2-img,
.not3-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.not1-img img,
.not2-img img,
.not3-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.carrossel-slide.ativo .not1-img img,
.carrossel-slide.ativo .not2-img img,
.carrossel-slide.ativo .not3-img img {
    transform: scale(1.03);
}

/* Gradiente sobre a imagem */
.container-destaque-not1::after,
.container-destaque-not2::after,
.container-destaque-not3::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 30, 0.85) 0%,
        rgba(0, 0, 30, 0.4) 50%,
        rgba(0, 0, 10, 0.15) 100%
    );
    z-index: 1;
}

/* Info sobreposta no fundo */
.not1-info,
.not2-info,
.not3-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 60px 80px;
    color: #fff;
}

.not1-info h1,
.not2-info h1,
.not3-info h1 {
    font-size: 48px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    margin: 0 0 12px 0;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.not1-info p,
.not2-info p,
.not3-info p {
    font-size: 18px;
    font-family: Montserrat, sans-serif;
    color: rgba(255,255,255,0.82);
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}

/* Etiqueta de destaque */
.not1-info::before,
.not2-info::before,
.not3-info::before {
    content: '★ DESTAQUE';
    display: inline-block;
    background: rgba(0, 0, 79, 0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* Setas posicionadas absolutamente */
.setas-container {
    position: absolute;
    bottom: 40px;
    right: 80px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

#destaque .setadestaque {
    border: 2px solid rgba(255,255,255,0.5);
    background-color: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    color: white;
    padding: 14px 16px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

#destaque .setadestaque:hover {
    background-color: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.9);
    transform: scale(1.08);
}

/*--- OVERLAY ---*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    display: none;
    z-index: 1000;
}

/*--- CRIAR PUBLICAÇÃO ---*/
.criarpubli {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 0, 79);
    color: #fff;
    padding: 40px;
    border-radius: 6px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    transition: 0.2s ease;
    flex-direction: column;
    display: none;
    gap: 12px;
    z-index: 10000;
    min-width: 420px;
}

.criarpubli input,
.criarpubli textarea {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    font-family: Montserrat, sans-serif;
    box-sizing: border-box;
}

.criarpubli input::placeholder,
.criarpubli textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-publicar {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 79);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-publicar:hover {
    background-color: rgba(255, 255, 255, 0.88);
}

.x-publi {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    color: rgb(255, 255, 255);
    font-size: 18px;
    transition: 0.2s ease;
    border: none;
    cursor: pointer;
}

.x-publi:hover {
    color: rgba(255, 255, 255, 0.6);
}

.container-publi {
    display: flex;
    gap: 6px;
}

.container-publi select {
    font-weight: 600;
    color: #1a1a2e;
    padding: 8px 12px;
    border: 1px solid rgba(26, 26, 46, 0.2);
    border-radius: 5px;
    background: #fff;
}

#publicacao-data {
    font-size: 15px;
    color: rgb(255, 255, 255);
    font-weight: 500;
    letter-spacing: 1.4px;
}

/*--- LOGIN MODAL ---*/
.loginmodal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 0, 79);
    color: #fff;
    padding: 40px;
    border-radius: 6px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    transition: 0.2s ease;
    flex-direction: column;
    display: none;
    gap: 16px;
    z-index: 10000;
    min-width: 380px;
    width: 420px;
}

.loginmodal h1 {
    font-size: 20px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    margin: 0 0 4px 0;
    letter-spacing: 0.3px;
}

/* Tabs */
.login-tabs {
    display: flex;
    gap: 0;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.login-tab {
    flex: 1;
    padding: 9px 0;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    border: none;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.login-tab.ativo {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.login-tab:hover:not(.ativo) {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

/* Formulários */
.login-form {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.login-form.ativo {
    display: flex;
}

/* Grupos de input */
.login-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-input-group label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-input-group input {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    font-family: Montserrat, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.login-input-group input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.login-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Wrapper password com botão ver/esconder */
.login-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-password-wrap input {
    padding-right: 44px;
}

.btn-mostrar-pass {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.btn-mostrar-pass:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Link esqueci password */
.login-esqueci {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-align: right;
    transition: color 0.2s ease;
    margin-top: -4px;
}

.login-esqueci:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

/* Mensagem de feedback */
.login-msg {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    min-height: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.login-msg.erro {
    color: #ff6b6b;
}

.login-msg.sucesso {
    color: #6bffb8;
}

/*--- SECÇÃO PUBLICAÇÕES ---*/
.publicacoes-section {
    background-color: #f5f5f5;
    padding-bottom: 60px;
}

.publicacoes-header {
    padding: 60px 40px 30px 40px;
    text-align: center;
}

.publicacoes-titulo {
    font-size: 28px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    color: rgb(0, 0, 79);
    margin-bottom: 8px;
}

.publicacoes-subtitulo {
    font-size: 15px;
    color: #6b7280;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

/*--- FILTROS ---*/
.filtros-bar {
    padding: 0 40px 30px 40px;
}

.filtros-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filtro-tag {
    padding: 9px 18px;
    border: 2px solid rgba(0, 0, 79, 0.2);
    border-radius: 24px;
    background: white;
    font-size: 13px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filtro-tag:hover {
    border-color: rgb(0, 0, 79);
    color: rgb(0, 0, 79);
}

.filtro-tag.ativo {
    background: rgb(0, 0, 79);
    border-color: rgb(0, 0, 79);
    color: white;
}

/*--- GRID DE PUBLICAÇÕES ---*/
.publicacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    padding: 0 40px;
}

/*--- CARD DE PUBLICAÇÃO ---*/
.publi-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.publi-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 79, 0.12);
    transform: translateY(-4px);
    border-color: rgba(0, 0, 79, 0.3);
}

.publi-card.escondido {
    display: none;
}

.publi-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.publi-data {
    font-size: 12px;
    color: #9ca3af;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

.publi-titulo {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    font-family: Montserrat, sans-serif;
    line-height: 1.4;
    margin: 0;
}

.publi-descricao {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.publi-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
}

.publi-autor {
    font-size: 13px;
    color: #9ca3af;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.publi-votos {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 79, 0.07);
    color: rgb(0, 0, 79);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: Montserrat, sans-serif;
}

.voto-arrow {
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 14px;
}

.voto-arrow:hover {
    color: rgba(0, 0, 79, 0.6);
}

.voto-arrow.votado {
    color: rgb(0, 0, 79);
}

/*--- BADGES POR CATEGORIA ---*/
.post-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-saude {
    background: #d1fae5;
    color: #065f46;
}

.badge-transportes {
    background: #dbeafe;
    color: #1e40af;
}

.badge-ambiente {
    background: #dcfce7;
    color: #14532d;
}

.badge-educacao {
    background: #fef3c7;
    color: #92400e;
}

.badge-cultura {
    background: #ede9fe;
    color: #5b21b6;
}

.badge-politica {
    background: #fee2e2;
    color: #991b1b;
}

.badge-desporto {
    background: #ffedd5;
    color: #9a3412;
}


/*======================================
  SECÇÃO PUBLICAÇÕES (classes PT)
======================================*/
.secao-publicacoes {
    background-color: #f5f5f5;
    padding-bottom: 60px;
}

.secao-cabecalho {
    padding: 60px 40px 30px 40px;
    text-align: center;
}

.secao-cabecalho--escuro {
    background: linear-gradient(180deg, rgb(26, 26, 46), rgb(0, 0, 79));
    padding: 60px 40px;
}

.secao-titulo {
    font-size: 28px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    color: rgb(0, 0, 79);
    margin-bottom: 8px;
}

.secao-titulo--branco {
    color: #ffffff;
}

.secao-subtitulo {
    font-size: 15px;
    color: #6b7280;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

.secao-subtitulo--claro {
    color: rgba(255, 255, 255, 0.7);
}

/* Filtros */
.filtros-barra {
    padding: 0 40px 30px 40px;
}

.filtros-lista {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filtro-etiqueta {
    padding: 9px 18px;
    border: 2px solid rgba(0, 0, 79, 0.2);
    border-radius: 24px;
    background: white;
    font-size: 13px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filtro-etiqueta:hover {
    border-color: rgb(0, 0, 79);
    color: rgb(0, 0, 79);
}

.filtro-etiqueta.ativo {
    background: rgb(0, 0, 79);
    border-color: rgb(0, 0, 79);
    color: white;
}

/* Grelha */
.grelha-publicacoes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    padding: 0 40px;
}

/* Cartão */
.cartao {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cartao:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 79, 0.12);
    transform: translateY(-4px);
    border-color: rgba(0, 0, 79, 0.3);
}

.cartao.escondido {
    display: none;
}

.cartao-cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cartao-data {
    font-size: 12px;
    color: #9ca3af;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

.cartao-titulo {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    font-family: Montserrat, sans-serif;
    line-height: 1.4;
    margin: 0;
}

.cartao-descricao {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.cartao-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
}

.cartao-autor {
    font-size: 13px;
    color: #9ca3af;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cartao-votos {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 79, 0.07);
    color: rgb(0, 0, 79);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: Montserrat, sans-serif;
}

.seta-voto {
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 14px;
}

.seta-voto:hover {
    color: rgba(0, 0, 79, 0.5);
}

.seta-voto.votado {
    color: rgb(0, 0, 79);
}

.contagem-votos {
    font-size: 14px;
}

/* Etiquetas / badges */
.etiqueta {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.etiqueta-saude {
    background: #d1fae5;
    color: #065f46;
}

.etiqueta-transportes {
    background: #dbeafe;
    color: #1e40af;
}

.etiqueta-ambiente {
    background: #dcfce7;
    color: #14532d;
}

.etiqueta-educacao {
    background: #fef3c7;
    color: #92400e;
}

.etiqueta-cultura {
    background: #ede9fe;
    color: #5b21b6;
}

.etiqueta-politica {
    background: #fee2e2;
    color: #991b1b;
}

.etiqueta-desporto {
    background: #ffedd5;
    color: #9a3412;
}

/*======================================
  SECÇÃO NOTÍCIAS — 50% imagem 50% info
======================================*/
.secao-noticias {
    background: #ffffff;
    padding-bottom: 60px;
}

.noticias-lista {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.noticia-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 380px;
    border-bottom: 1px solid #f3f4f6;
}

.noticia-item--invertida {
    direction: rtl;
}

.noticia-item--invertida>* {
    direction: ltr;
}

/* Lado da imagem */
.noticia-imagem {
    position: relative;
    overflow: hidden;
}

.noticia-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.noticia-item:hover .noticia-imagem img {
    transform: scale(1.04);
}

.noticia-categoria {
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Lado da info */
.noticia-info {
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    background: #ffffff;
}

.noticia-data {
    font-size: 13px;
    color: #9ca3af;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.noticia-titulo {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    font-family: Montserrat, sans-serif;
    line-height: 1.35;
    margin: 0;
}

.noticia-descricao {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.75;
    margin: 0;
}

.noticia-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.noticia-autor {
    font-size: 13px;
    color: #9ca3af;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.noticia-link {
    font-size: 13px;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    color: rgb(0, 0, 79);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.noticia-link:hover {
    gap: 10px;
    color: rgb(0, 0, 100);
}

/*======================================
  footer
======================================*/
.rodape {
    background: #1a1a2e;
    color: white;
    padding-top: 60px;
}

.rodape-conteudo {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 0 60px 50px 60px;
}

.rodape-logo {
    font-size: 22px;
    font-weight: 800;
    font-family: Montserrat, sans-serif;
    margin-bottom: 12px;
}

.rodape-descricao {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-family: Montserrat, sans-serif;
    margin-bottom: 20px;
}

.rodape-redes {
    display: flex;
    gap: 14px;
}

.rodape-redes a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rodape-redes a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.rodape-bloco-titulo {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(0, 180, 255, 0.9);
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
    margin-bottom: 16px;
}

.rodape-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rodape-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 14px;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    transition: color 0.2s ease;
}

.rodape-links a:hover {
    color: white;
}

.rodape-fundo {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 60px;
    text-align: center;
}

.rodape-fundo p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-family: Montserrat, sans-serif;
    margin: 0;
}
