﻿/* ===== FUNDO ===== */

body {
    background-color: #f8f9fb;
}

/* ===== HERO ===== */

.blog-hero {
    padding: 100px 20px;
    text-align: center;
    background: #ff961fe0;
}


    .blog-hero h1 {
        font-size: 46px;
        font-weight: 700;
        color: #ffff;
        margin-bottom: 15px;
    }

    .blog-hero p {
        font-size: 18px;
        color: #ffff;
    }

/* ===== POST DESTAQUE ===== */


.featured-post {
    padding: 90px 20px;
    background: #f8f9fb;
}

/* ===== POST DESTAQUE (SUAVE E PREMIUM) ===== */

.featured-post {
    padding: 90px 20px;
    background: #f8f9fb;
}

.featured-card {
    padding: 70px;
    border-radius: 24px;
    max-width: 1000px;
    margin: 0 auto;
    /* Fundo branco igual aos outros */
    background: #ffffff;
    /* Borda mais marcante */
    border: 1px solid #f0f0f0;
    /* Leve sombra elegante */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
}

    /* Hover sofisticado */
    .featured-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
        border: 1px solid #f05a23;
    }

    /* Linha superior sutil para destacar */

    .featured-card::before {
        content: "";
        display: block;
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, #f05a23, #ff7a00);
        border-radius: 4px;
        margin-bottom: 25px;
    }



/* ===== CATEGORIA E DATA ===== */

.post-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #f05a23;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

/* ===== LISTAGEM ===== */

.blog-list {
    padding: 80px 20px 120px 20px;
}

    .blog-list .container {
        max-width: 1200px;
        margin: auto;
    }

/* ===== GRID ===== */

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
}

/* ===== CARD ===== */

/* ===== CARD ===== */

.post-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    border: 1px solid #ececec;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

    /* Hover mais premium */

    .post-card:hover {
        transform: translateY(-8px);
        border: 1px solid #f05a23;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    }


/* ===== BOTÃO ===== */

.read-more {
    margin-top: 25px;
    align-self: flex-start;
    font-weight: 600;
    color: #f05a23;
    text-decoration: none;
    position: relative;
    transition: 0.25s ease;
}

    .read-more::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0%;
        height: 2px;
        background: #f05a23;
        transition: 0.3s ease;
    }

    .read-more:hover::after {
        width: 100%;
    }

/* ===== RESPONSIVO ===== */

@media (max-width: 900px) {
    .featured-card {
        padding: 40px 25px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}
/* Transições mais suaves globais */

a,
.post-card,
.featured-card {
    transition: all 0.3s ease;
}

/* Faz o link ocupar todo o card */
.post-card a.card-link {
    display: block;
    color: inherit; /* mantém a cor do texto normal */
    text-decoration: none; /* remove underline do link */
    padding: 20px; /* ou o padding do card */
}

/* Mantém hover bonito */
.post-card a.card-link:hover {
    background-color: #f5f5f5; /* muda fundo ao passar o mouse */
}


