/* projetos.css */
/* Banner Página */
.page-banner {
    position: relative;
    background: linear-gradient(160deg, rgba(59, 94, 22, 0.95), rgba(43, 68, 16, 0.97)),
                url('../imagens/backgroung_footer.jpg') center/cover;
    color: white;
    padding: 8.5rem 5% 3.5rem;
    text-align: center;
    min-height: 320px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imagens/logo_semear_branco.png') center/contain no-repeat;
    opacity: 0.07;
    pointer-events: none;
    background-size: 280px;
}
.page-banner h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.page-banner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.92;
    position: relative;
    z-index: 2;
}
.banner-logo {
    width: 30% !important; /* Redução mais drástica */
    max-width: 120px !important; /* Limite menor */
    margin-top: -25%;
}


.projetos-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.projetos-intro h2 {
    margin-top: 2%;
    color: #639D24;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.projetos-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.projetos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.projeto-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.projeto-card:hover {
    transform: translateY(-5px);
}

.projeto-img {
    height: 200px;
    overflow: hidden;
}

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

.projeto-info {
    padding: 1.5rem;
}

.projeto-info h3 {
    margin-bottom: 1rem;
    color: #639D24;
}

.projeto-info p {
    margin-bottom: 1.5rem;
    color: #666;
}

.btn-pdf {
    display: inline-block;
    background-color: #2C3E50;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-pdf:hover {
    background-color: #639D24;
}

/* Responsividade Projetos */
@media (max-width: 768px) {
    .projetos-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
     .page-banner {
        height: 350px;
        padding: 4rem 5% 2rem;
    }
    .page-banner h1 {
        font-size: 1.8rem;
    }
    .page-banner::before {
        background-size: 120px;
    }
}

@media (max-width: 480px) {
    .projetos-container {
        grid-template-columns: 1fr;
    }
}