/* ==========================================================================
   AREA 5 - CONFIGURAÇÕES GLOBAIS
   (Estilos de cores e filtros)
   ========================================================================== */
.area-5 {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.area-5 h2 {
    color: #fff;
    text-transform: none;
}

.area-5 h2 span {
    color: #F2E41D;
    font-weight: 900;
}

.box-imagem-container {
    width: 100%;
    display: flex;
}

.box-imagem-container img {
    height: auto !important;
    display: block !important;
    filter: drop-shadow(0px 15px 30px rgba(0,0,0,0.5)) !important;
}

/* ==========================================================================
   AREA 5 - DESKTOP (Min-width: 1025px)
   (Configurações atuais 100% preservadas)
   ========================================================================== */
@media screen and (min-width: 1025px) {
    .area-5 {
        background-image: url('Imagens/Area5/bg_area5.png') !important;
        background-repeat: no-repeat !important;
        background-size: 100% 100% !important;
        background-position: center !important;
        min-height: 600px !important; 
        padding: 60px 0 !important;
    }

    .area-5 .wide {
        width: 800px !important;
        max-width: 800px !important;
        min-width: 800px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important; 
    }

    .area-5 h2 {
        font-size: 26px !important;
        font-weight: 300;
        margin-bottom: 30px;
        text-align: left;
    }

    .box-imagem-container {
        justify-content: flex-start;
    }

    .box-imagem-container img {
        width: 420px !important; 
        max-width: 420px !important;
    }
}

/* ==========================================================================
   AREA 5 - MOBILE E TABLET (Max-width: 1024px)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .area-5 {
        /* Aplicando o BG no mesmo conceito das áreas anteriores */
        background: #000 url('Imagens/Area5/bg_area5.png') center center no-repeat !important;
        background-size: cover !important;
        
        padding: 60px 0 !important;
        min-height: auto !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .area-5 .wide {
        width: 90% !important;
        max-width: none !important;
        min-width: auto !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centraliza o título e a imagem */
        gap: 20px;
    }

    .area-5 h2 {
        font-size: clamp(20px, 5vw, 24px) !important;
        text-align: center !important;
        margin-bottom: 20px;
        color: #fff;
        font-weight: 300;
        width: 100% !important;
    }

    .box-imagem-container {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .box-imagem-container img {
        width: 100% !important;
        max-width: 350px !important; /* Mantém a proporção da caixa de imagem */
        height: auto !important;
        display: block;
    }
}