/* ======= GALERIA DE OBRAS ======= */
.galeria-obras {
    background-color: #f2f2f2;
    padding: 80px 20px;
    text-align: center;
}

.galeria-obras h2 {
    font-size: 2rem;
    color: #111;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 4px solid #f5811e;
    display: inline-block;
    padding-bottom: 8px;
    font-family: 'Smooch Sans', sans-serif;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.galeria-grid a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-grid a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.galeria-grid img {
    width: 100%;
    height: auto;
    max-height: 300px; /* controla o tamanho máximo */
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}


.galeria-grid a:hover img {
    transform: scale(1.05);
}

/* ======= RESPONSIVO ======= */
@media (max-width: 768px) {
    .galeria-obras h2 {
        font-size: 1.6rem;
    }
}
