﻿/*=============>CSS Criado pel IA<===============*/

/* Mantém layout existente */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

    .galeria-grid figure {
        background: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 16px rgba(0,0,0,.08);
    }

    .galeria-grid img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        cursor: pointer;
    }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
}

.lightbox .close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.2rem;
    color: #ffffff;
    cursor: pointer;
}
