/* ==========================================================================
   AREA 4 - CONFIGURAÇÕES GLOBAIS
   ========================================================================== */
.area-4 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    clear: both;
}

.area-4 .wide {
    display: flex;
    flex-direction: column; /* Sempre empilha as "linhas" verticalmente */
}

.area-4 .grid-row {
    display: flex;
    width: 100%;
}

.area-4 .grid-row img {
    height: auto;
    display: block;
}

/* ==========================================================================
   AREA 4 - DESKTOP (Min-width: 1025px)
   ========================================================================== */
@media screen and (min-width: 1025px) {
    .area-4 {
        background: #000 url('Imagens/Area4/bg_area4.png') center center no-repeat !important;
        background-size: cover !important;
        padding: 80px 0 !important;
        min-height: 500px; /* Garante área para o fundo aparecer */
    }

    .area-4 .wide {
        width: 800px !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        gap: 25px; /* Espaço entre a linha 1 e a linha 2 */
    }

    .area-4 .grid-row {
        flex-direction: row !important; /* IMAGENS LADO A LADO */
        justify-content: space-between !important;
        gap: 20px;
    }

    .area-4 .grid-row img {
        width: 253px !important; /* Tamanho para caber 3 por linha ou conforme seu design */
    }
}

/* ==========================================================================
   AREA 4 - MOBILE E TABLET (Max-width: 1024px)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .area-4 {
        background: #000 url('Imagens/Area4/bg_area4.png') center center no-repeat !important;
        background-size: cover !important;
        padding: 60px 0 !important;
        min-height: 400px !important; /* Força o fundo a aparecer no mobile */
        display: flex !important;
    }

    .area-4 .wide {
        width: 90% !important;
        max-width: none !important;
        gap: 20px; /* Espaço entre blocos no mobile */
    }

    .area-4 .grid-row {
        flex-direction: column !important; /* IMAGENS UMA EM CIMA DA OUTRA */
        align-items: center !important;
        gap: 20px;
    }

    .area-4 .grid-row img {
        width: 100% !important;
        max-width: 320px !important;
    }
}