.noticias-hero {
    position: relative;
    text-align: center;
    padding: 100px 5%;
    background-color: #ffffff;
    overflow: hidden;
}

.noticias-hero h1 {
    position: relative;
    font-size: 3.5em;
    color: #4E342E;
    z-index: 2;
    margin-bottom: 10px;
}

.noticias-hero p {
    position: relative;
    font-size: 1.3em;
    color: #555;
    z-index: 2;
}

.icon-bg {
    position: absolute;
    color: #E67E22; 
    opacity: 0.18; 
    z-index: 1;
}

.icon-1 {
    font-size: 90px;
    top: 15%;
    left: 10%;
    color: #F39C12;
    transform: rotate(-15deg);
}

.icon-2 {
    font-size: 70px;
    bottom: 20%;
    left: 20%;
    color: #27AE60;
}

.icon-3 {
    font-size: 100px;
    top: 20%;
    right: 10%;
    color: #3498DB;
    transform: rotate(15deg);
}

.icon-4 {
    font-size: 80px;
    bottom: 15%;
    right: 25%;
    color: #9B59B6;
}

.icon-bg {
    animation: floatIcons 4s ease-in-out infinite;
}

@keyframes floatIcons {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}


/* -----------------------------
   NOTÍCIA EM DESTAQUE
------------------------------ */
.noticia-destaque {
    padding: 20px 5%;
    margin-bottom: 80px;
}

.destaque-container {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    max-width: 1200px;
    margin: 0 auto;
}

.destaque-imagem {
    flex: 1.5;
    min-width: 350px;
}

.destaque-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destaque-texto {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    background-color: #E67E22;
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75em;
    font-weight: bold;
    width: fit-content;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.destaque-texto h2 {
    font-size: 2.2em;
    color: #4E342E;
    margin-bottom: 20px;
}

.destaque-texto p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.data {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 25px;
}

.btn-ler-mais {
    background-color: #145A32;
    color: #fff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    width: fit-content;
    transition: background 0.3s, transform 0.3s;
}

.btn-ler-mais:hover {
    background-color: #E67E22;
    transform: translateY(-2px);
}

/* -----------------------------
   GRID DE NOTÍCIAS
------------------------------ */
.noticias-grid-container {
    padding: 0 5% 100px;
}

.grid-noticias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-noticia {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.tag-pedagogico {
    background-color: #145A32;
}

.tag-aviso {
    background-color: #F1C40F;
    color: #4E342E;
}

.card-body h3 {
    font-size: 1.4em;
    color: #4E342E;
    margin: 15px 0;
}

.card-body p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.card-footer span {
    font-size: 0.85em;
    color: #888;
}

.card-footer a {
    color: #145A32;
    text-decoration: none;
    font-weight: bold;
}

.card-footer a:hover {
    color: #E67E22;
}

/* ==========================================
   RESPONSIVIDADE
========================================== */

/* Monitores menores */
@media (max-width: 1200px) {

    .noticias-hero h1 {
        font-size: 3rem;
    }

    .noticias-hero p {
        font-size: 1.2rem;
    }

    .destaque-texto h2 {
        font-size: 2rem;
    }

}

/* Tablets */
@media (max-width: 992px) {

    .noticias-hero {
        padding: 80px 30px;
    }

    .noticias-hero h1 {
        font-size: 2.6rem;
    }

    .noticias-hero p {
        font-size: 1.1rem;
    }

    .icon-1,
    .icon-2,
    .icon-3,
    .icon-4 {
        font-size: 60px;
    }

    .destaque-container {
        flex-direction: column;
    }

    .destaque-imagem {
        min-width: auto;
        width: 100%;
    }

    .destaque-imagem img {
        height: 350px;
    }

    .destaque-texto {
        text-align: center;
        align-items: center;
    }

    .tag {
        margin: 0 auto 20px;
    }

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

}

/* Celulares grandes */
@media (max-width: 768px) {

    .noticias-hero {
        padding: 70px 20px;
    }

    .noticias-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .noticias-hero p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .icon-bg {
        display: none;
    }

    .noticia-destaque {
        padding: 20px;
        margin-bottom: 60px;
    }

    .destaque-imagem img {
        height: 250px;
    }

    .destaque-texto {
        padding: 30px 25px;
    }

    .destaque-texto h2 {
        font-size: 1.7rem;
    }

    .destaque-texto p {
        font-size: 1rem;
    }

    .btn-ler-mais {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .noticias-grid-container {
        padding: 0 20px 60px;
    }

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

    .card-img img {
        height: 220px;
    }

}

/* Celulares pequenos */
@media (max-width: 480px) {

    .noticias-hero {
        padding: 60px 15px;
    }

    .noticias-hero h1 {
        font-size: 1.8rem;
    }

    .noticias-hero p {
        font-size: .95rem;
    }

    .destaque-imagem img {
        height: 200px;
    }

    .destaque-texto {
        padding: 25px 20px;
    }

    .destaque-texto h2 {
        font-size: 1.45rem;
    }

    .destaque-texto p {
        font-size: .95rem;
        line-height: 1.7;
    }

    .tag {
        font-size: .7rem;
        padding: 5px 12px;
    }

    .btn-ler-mais {
        font-size: 1rem;
        padding: 14px;
    }

    .card-body {
        padding: 20px;
    }

    .card-body h3 {
        font-size: 1.2rem;
    }

    .card-body p {
        font-size: .9rem;
    }

    .card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

}

/* Celulares muito pequenos */
@media (max-width: 360px) {

    .noticias-hero h1 {
        font-size: 1.5rem;
    }

    .noticias-hero p {
        font-size: .9rem;
    }

    .destaque-texto h2 {
        font-size: 1.3rem;
    }

    .card-body h3 {
        font-size: 1.1rem;
    }

    .btn-ler-mais {
        width: 100%;
    }

}