﻿.hero-section {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    margin: 20px 40px;
    border-radius: 24px;
}

@media (max-width: 1200px) {
    .hero-section {
        margin: 15px 20px;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin: 10px 15px;
        border-radius: 16px;
        height: 380px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        margin: 8px 12px;
        border-radius: 12px;
        height: 320px;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-default-bg {
    background: linear-gradient(135deg, var(--verde-pastel), var(--bege-escuro));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        text-align: center;
        padding: 10px 20px;
    }
}

.hero-badge {
    background: var(--verde-pastel);
    color: var(--cinza-escuro);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-hero-primary {
    background: var(--verde-pastel);
    color: var(--cinza-escuro);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
}

.btn-hero-secondary {
    border: 2px solid white;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
}

/* ===== MAIN CONTENT & CARDS ===== */
.main-content {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.title-underline {
    width: 60px;
    height: 5px;
    background: var(--verde-pastel);
    border-radius: 3px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

    .post-card:hover {
        transform: translateY(-8px);
    }

.post-card-img {
    height: 200px;
    position: relative;
}

    .post-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.post-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--verde-pastel);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
}

.post-card-body {
    padding: 25px;
    flex-grow: 1;
}

.post-card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--cinza-escuro);
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--cinza-medio);
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #bbb;
    border-top: 1px solid #f9f9f9;
    padding-top: 15px;
}

.post-link {
    color: var(--verde-pastel);
    font-weight: 700;
    font-size: 0.9rem;
}
