/* ====== CONFIGURAÇÕES GERAIS E BODY ====== */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #eee;
}

header {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ====== GALERIA PRINCIPAL (GALERY2 / CONTAINER) ====== */
.galery2 {
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
    flex: 1; /* Empurra o footer para baixo */
    margin-bottom: 60px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    padding: 10px;
}

.gallery-items {
    aspect-ratio: 1 / 1;
    border: 10px solid #FFF;
    box-shadow: 5px 5px 5px #0006;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .5s linear;
}

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

.gallery-items:hover {
    transform: scale(1.1);
}

.descricao {
    background: #fff;
    text-align: center;
    padding: 0px;
    font-size: 12px;    
    color: #000;
}

/* ====== OUTROS LAYOUTS DE GALERIA E GRADES ====== */
.galeria {
    display: flex;
    overflow: hidden;
    width: 100vw;
    padding: 10px;
}

.galeria img, .faixa img, .slide img {
    width: 800px; /* Note: pode quebrar responsividade se a tela for menor que 800px */
    object-fit: cover;
}

.grade-fotos2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    width: 75%;
    margin: 0 auto;
}

.grade-fotos2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.grade-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    padding: 20px;
}

.grade-fotos img {
    border-radius: 8px;
}

/* ====== SEÇÕES ESPECÍFICAS ====== */
.secao-img {
    margin: 20px 0;
    position: relative;
    width: 100%;
    height: 100%;
}

.estatistica .secao-img {
    width: 220%;
    margin-left: -180px;
}

.layout div img {
    width: 80%;
    border-radius: 12px;
    object-fit: cover;
}

.layout .img-grande {
    grid-column: span 2;
}

.layout .img-grande img {
    height: 350px;
}

.photo-wrap img, .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imagem img {
    max-width: 300px;
    width: 100%;
}

.img-bombalina {
    width: 50%;
    height: auto;
}

.galeria-layout {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 40px 20px;
}

.graficoaccs {
    display: block;
    margin: 0 auto;
}

.modal-promo-body img {
    border-radius: 4px;
}