body {
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 222, 89, 0.16), transparent 18%),
        radial-gradient(circle at bottom right, rgba(74, 222, 128, 0.14), transparent 22%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    color: #1f2937;
}

/* CONTAINER */
.galeria-container {
    width: min(1200px, 92%);
    margin: 60px auto;
}

/* HEADER */
.galeria-header {
    text-align: center;
    margin-bottom: 40px;
}

.secao-mini {
    display: inline-block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
}

.galeria-header h1 {
    font-size: 2.8rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.galeria-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #475569;
    line-height: 1.7;
}

/* GRID */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* CARD DA FOTO */
.foto-card {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    position: relative;
}

/* IMAGEM */
.foto-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

/* HOVER MAIS BONITO */
.foto-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

/* EFEITO DE CAMADA NO HOVER */
.foto-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.4)
    );
    opacity: 0;
    transition: 0.3s ease;
}

.foto-card:hover::after {
    opacity: 1;
}

/* ESTADO VAZIO */
.estado-vazio {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    color: #64748b;
}

/* RESPONSIVO */
@media (max-width: 1000px) {
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
}