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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7f5;
    color: #17221b;
    line-height: 1.6;
}

/* =========================
   HEADER
========================== */

header {
    background: linear-gradient(135deg, #066b34, #15803d);
    color: white;
    padding: 18px 16px 25px;
    position: relative;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,.15);
}

.header-container {
    max-width: 1000px;
    margin: auto;
}

.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    color: white;
}

.logo span {
    color: #d9ff7a;
}

.data {
    font-size: 12px;
    opacity: .9;
    text-align: right;
}

.slogan {
    margin-top: 8px;
    font-size: 14px;
    opacity: .95;
}

/* =========================
   NAV E MENU HAMBURGER
========================== */

nav {
    margin-top: 18px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 2px;
}

.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s;
    width: 100%;
    text-align: left;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
}

.nav-menu li a:hover {
    background: rgba(255,255,255,0.2);
}

/* =========================
   CONTAINER
========================== */

main {
    max-width: 1000px;
    margin: auto;
    padding: 22px 14px 80px;
}

.titulo-pagina {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dcfce7;
}

.titulo-pagina h1 {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 5px;
    color: #087f3f;
}

.titulo-pagina p {
    color: #647067;
    font-size: 14px;
}

/* =========================
   DESTAQUE
========================== */

.destaque {
    background: linear-gradient(135deg, #ffffff, #eaffef);
    border: 1px solid #c9efd5;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: 0 5px 18px rgba(0,0,0,.05);
}

.destaque-tag {
    display: inline-block;
    background: #16a34a;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 10px;
}

.destaque h2 {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.destaque h2 a {
    color: #17221b;
    text-decoration: none;
}

.destaque h2 a:hover {
    color: #16a34a;
}

.destaque p {
    color: #56615a;
    font-size: 14px;
}

.destaque p strong {
    color: #16803d;
}

/* =========================
   GRID
========================== */

.noticias {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* =========================
   CARD
========================== */

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e3e8e4;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.09);
}

.card-top {
    padding: 15px 15px 0;
}

.numero {
    width: 34px;
    height: 34px;
    background: #dcfce7;
    color: #087f3f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.categoria {
    display: inline-block;
    color: #15803d;
    background: #f0fdf4;
    border-radius: 20px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card h2 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 9px;
    color: #17221b;
}

.card p {
    color: #4b574f;
    font-size: 14px;
    line-height: 1.6;
}

.card strong {
    color: #16803d;
}

.fonte {
    margin-top: auto;
    padding: 14px 15px 15px;
    border-top: 1px solid #f0f4f1;
}

.fonte-info {
    font-size: 11px;
    color: #5f6b63;
    margin-bottom: 8px;
}

.botao {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: #15803d;
    color: white;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: bold;
    transition: background .2s;
    border: none;
    cursor: pointer;
}

.botao:hover {
    background: #166534;
}

/* =========================
   PÁGINAS SOBRE/CONTATO
========================== */

.conteudo-box {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
}

.conteudo-box h2 {
    font-size: 20px;
    margin: 24px 0 12px;
    color: #087f3f;
}

.conteudo-box h2:first-child {
    margin-top: 0;
}

.conteudo-box p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.conteudo-box ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.conteudo-box li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 6px;
}

.destaque-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #16a34a;
    margin-top: 24px;
}

.destaque-box strong {
    color: #087f3f;
}

.whatsapp-box {
    background: linear-gradient(135deg, #25D366, #128C7E);
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-box .whatsapp-icon {
    font-size: 56px;
    margin-bottom: 10px;
}

.whatsapp-box h2 {
    color: white;
    font-size: 24px;
    margin-bottom: 8px;
}

.whatsapp-box p {
    color: rgba(255,255,255,0.95);
    font-size: 15px;
    margin-bottom: 20px;
}

.whatsapp-box .whatsapp-numero {
    display: inline-block;
    background: white;
    color: #128C7E;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.whatsapp-btn {
    display: inline-block;
    background: white;
    color: #128C7E;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.info-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.info-box h3 {
    color: #087f3f;
    margin-bottom: 12px;
    font-size: 18px;
}

.info-box p {
    margin-bottom: 8px;
    font-size: 15px;
}

.info-box strong {
    color: #17221b;
}

.sugestao-box {
    background: #f4f7f5;
    padding: 20px;
    border-radius: 12px;
}

.sugestao-box h3 {
    color: #087f3f;
    margin-bottom: 12px;
    font-size: 18px;
}

.sugestao-box ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.sugestao-box li {
    font-size: 14px;
    line-height: 1.8;
}

/* =========================
   PAGINAÇÃO
========================== */

.paginacao {
    margin-top: 30px;
    text-align: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.paginacao a {
    display: inline-block;
    padding: 10px 16px;
    background: #16a34a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    transition: background .2s;
}

.paginacao a:hover {
    background: #087f3f;
}

.paginacao a.ativo {
    background: #087f3f;
}

.sem-noticias {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    grid-column: 1 / -1;
}

.sem-noticias p {
    color: #647067;
    font-size: 16px;
    margin-bottom: 20px;
}

/* =========================
   RODAPÉ
========================== */

footer {
    background: #102018;
    color: white;
    text-align: center;
    padding: 25px 15px;
}

footer strong {
    color: #6ee7a0;
    font-size: 18px;
}

footer p {
    font-size: 12px;
    color: #aeb8b1;
    margin-top: 5px;
}

.rodape-fonte {
    margin-top: 12px;
    font-size: 10px;
    color: #829087;
}

/* =========================
   WHATSAPP FLUTUANTE
========================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform .2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================
   MOBILE
========================== */

@media (max-width: 700px) {
    header {
        padding: 15px 14px 18px;
    }

    .logo {
        font-size: 25px;
    }

    .data {
        font-size: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 2px;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 8px;
    }

    main {
        padding: 18px 12px 60px;
    }

    .titulo-pagina h1 {
        font-size: 22px;
    }

    .noticias {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .card {
        border-radius: 14px;
    }

    .card h2 {
        font-size: 18px;
    }

    .destaque {
        border-radius: 15px;
        padding: 16px;
    }

    .destaque h2 {
        font-size: 20px;
    }

    .noticia-completa {
        padding: 18px;
        border-radius: 14px;
    }

    .noticia-completa h1 {
        font-size: 20px;
    }

    .conteudo-box {
        padding: 18px;
        border-radius: 14px;
    }

    .whatsapp-box .whatsapp-numero {
        font-size: 18px;
        padding: 10px 20px;
    }

    .whatsapp-box h2 {
        font-size: 20px;
    }
}

/* =========================
   ACESSIBILIDADE
========================== */

.pular-conteudo {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    color: #087f3f;
    padding: 10px 16px;
    z-index: 2000;
    font-weight: bold;
}
.pular-conteudo:focus { left: 8px; top: 8px; }

a:focus-visible, button:focus-visible {
    outline: 3px solid #d9ff7a;
    outline-offset: 2px;
}
main a:focus-visible, main button:focus-visible { outline-color: #15803d; }

.nav-menu li a.ativo { background: rgba(255,255,255,0.22); }

.card-img, .noticia-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #e3e8e4;
}
.card-img { aspect-ratio: 16 / 9; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =========================
   LEITURA DA NOTÍCIA
========================== */

.noticia-completa {
    max-width: 760px;
    margin: 0 auto 22px;
    background: white;
    border-radius: 16px;
    padding: 34px 38px;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
}

.noticia-completa .categoria { margin-bottom: 14px; font-size: 11px; }

.noticia-completa h1 {
    font-size: 32px;
    line-height: 1.22;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: #17221b;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.meta-info {
    font-size: 13px;
    color: #5f6b63;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e3e8e4;
    line-height: 1.7;
}
.meta-info strong { color: #17221b; }
.meta-info .sep { margin: 0 6px; opacity: .6; }

.noticia-img {
    border-radius: 12px;
    margin: 0 0 24px;
    max-height: 420px;
}

.resumo-destaque {
    font-size: 19px;
    line-height: 1.55;
    color: #066b34;
    font-weight: 600;
    margin-bottom: 28px;
    padding: 16px 18px;
    background: #f0fdf4;
    border-left: 4px solid #15803d;
    border-radius: 8px;
}

.conteudo-texto {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.75;
    color: #1f2a23;
    margin-bottom: 24px;
    overflow-wrap: break-word;
    text-align: left;
}

.conteudo-texto p,
.conteudo-texto ul,
.conteudo-texto ol,
.conteudo-texto blockquote { margin-bottom: 1.15em; }

.conteudo-texto > :last-child { margin-bottom: 0; }

.conteudo-texto h2, .conteudo-texto h3 {
    font-family: Arial, Helvetica, sans-serif;
    color: #087f3f;
    line-height: 1.3;
    margin: 1.6em 0 .6em;
}
.conteudo-texto h2 { font-size: 24px; }
.conteudo-texto h3 { font-size: 20px; }

.conteudo-texto ul, .conteudo-texto ol { padding-left: 1.5em; }
.conteudo-texto li { margin-bottom: .4em; }

.conteudo-texto blockquote {
    border-left: 4px solid #86d19f;
    padding: 4px 0 4px 18px;
    color: #3b4a40;
    font-style: italic;
}

.conteudo-texto a { color: #0f6b35; text-decoration: underline; word-break: break-word; }
.conteudo-texto a:hover { color: #087f3f; }

.fonte-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #c9efd5;
    border-radius: 12px;
    padding: 18px;
    margin-top: 30px;
}
.fonte-box .fonte-label { font-size: 14px; color: #3f4b43; margin-bottom: 12px; }
.fonte-box .fonte-label strong { color: #17221b; }
.fonte-box .botao,
.voltar-inicio .botao { display: inline-block; width: auto; padding: 12px 22px; font-size: 14px; }

.compartilhar {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #e3e8e4;
}
.compartilhar p { font-size: 13px; color: #5f6b63; margin-bottom: 12px; }
.compartilhar-botoes { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-share {
    border: none;
    padding: 11px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: white;
    transition: opacity .2s;
}
.btn-share:hover { opacity: .85; }
.btn-whatsapp { background: #128C4A; }
.btn-facebook { background: #1664d9; }
.btn-copiar { background: #15803d; }

#aviso-copiado {
    margin-top: 10px;
    font-size: 13px;
    color: #087f3f;
    font-weight: bold;
    min-height: 18px;
    opacity: 0;
    transition: opacity .2s;
}
#aviso-copiado.visivel { opacity: 1; }

.relacionadas { max-width: 760px; margin: 30px auto 0; }
.relacionadas h3 {
    font-size: 20px;
    color: #087f3f;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dcfce7;
}
.rel-card {
    background: white;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform .2s;
}
.rel-card:hover { transform: translateX(5px); }
.rel-card .rel-cat {
    display: inline-block;
    color: #15803d;
    background: #f0fdf4;
    border-radius: 20px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.rel-card h4 { font-size: 16px; line-height: 1.3; color: #17221b; margin-bottom: 4px; }
.rel-card .rel-data { font-size: 12px; color: #5f6b63; }

.voltar-inicio { text-align: center; margin-top: 30px; }

@media (max-width: 700px) {
    .noticia-completa { padding: 22px 18px; border-radius: 14px; }
    .noticia-completa h1 { font-size: 25px; }
    .resumo-destaque { font-size: 17px; padding: 14px; }
    .conteudo-texto { font-size: 18px; line-height: 1.7; }
    .conteudo-texto h2 { font-size: 21px; }
    .conteudo-texto h3 { font-size: 18px; }
    .btn-share { flex: 1 1 100%; }
}

@media print {
    header, footer, .whatsapp-float, .compartilhar, .relacionadas, .voltar-inicio, .pular-conteudo { display: none !important; }
    body { background: #fff; }
    .noticia-completa { box-shadow: none; padding: 0; max-width: none; }
    .conteudo-texto { font-size: 12pt; }
}


/* =========================
   DESTAQUE DO DIA (home)
========================== */
.destaque { padding: 26px 28px; border-width: 2px; border-color: #86d19f; }
.destaque-img { display: block; width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; margin-bottom: 18px; }
.destaque h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.5px; margin: 6px 0 12px; text-wrap: balance; }
.destaque p { font-size: 17px; line-height: 1.65; color: #3b4a40; margin-bottom: 16px; }
.destaque-meta { font-size: 13px; color: #5f6b63; margin-bottom: 14px; }
.destaque .botao-continuar {
    display: inline-block;
    background: #15803d;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 13px 26px;
    border-radius: 10px;
    transition: background .2s;
}
.destaque .botao-continuar:hover { background: #166534; }
@media (max-width: 700px) {
    .destaque { padding: 18px; }
    .destaque h2 { font-size: 23px; }
    .destaque p { font-size: 16px; }
    .destaque .botao-continuar { display: block; text-align: center; }
}


/* Links do rodapé e links dentro das páginas de texto */
.rodape-links { margin: 14px 0 4px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.rodape-links a { color: #b9f5cf; font-size: 13px; text-decoration: underline; padding: 6px 2px; }
.rodape-links a:hover { color: #fff; }
.conteudo-box a { color: #0f6b35; text-decoration: underline; }
