@charset "UTF-8";
/* Importa arquivos modulares */
@import url('_variables.css');
@import url('_header.css');
@import url('_footer.css');

/* ========================================
   MAIN - ESTRUTURA BASE
   ======================================== */
main {
    min-width: var(--min-w);
    max-width: var(--max-w);
    margin: auto;
    padding: 20px;
}

article {
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-areas: 
        "sidebar banner"
        "sidebar content";
    column-gap: 50px;
    align-items: start;
    margin-bottom: 100px;
}

/* ========================================
   MENU LATERAL (FILTROS)
   ======================================== */
.coluna-transparente {
    grid-area: sidebar;
    background-color: var(--c_blue2);
    border-radius: 10px;
    padding: 15px 0;
    position: sticky;
    top: 20px;
}

.coluna-transparente .menu-lateral ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.coluna-transparente .menu-lateral ul li {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.coluna-transparente .menu-lateral ul li:hover a {
    color: var(--c_yellow);
}

.coluna-transparente .menu-lateral ul li.active {
    background-color: var(--c_blue3);
}

.coluna-transparente .menu-lateral ul li.active a {
    font-weight: 500;
    color: var(--c_yellow);
}

.coluna-transparente .menu-lateral ul a {
    text-shadow: none;
    color: var(--c_white);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

/* ========================================
   BANNER - SEÇÃO 1
   ======================================== */
.banner-container {
    grid-area: banner;
    position: relative;
    width: 100%;
    max-width: 1020px;
    height: 220px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.banner.img-background {
    width: 100%;
    height: 100%;
}

.banner.img-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.banner.text {
    position: absolute;
    bottom: 25px;
    right: 25px;
    font-family: var(--fonte-destaque);
    font-size: 57px;
    font-weight: 700;
    color: var(--c_red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

/* ========================================
   IMAGEM COM TEXTO - SEÇÃO 2
   ======================================== */
.imagem-com-texto {
    grid-area: content;
    display: grid;
    grid-template-columns: 457px 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.imagem-com-texto picture {
    width: 100%;
    max-width: 457px;
}

.imagem-com-texto picture img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.texto-ao-lado {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.texto-ao-lado p {
    color: var(--c_blue3);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* ========================================
   RESPONSIVIDADE - 1100px
   ======================================== */
@media only screen and (max-width: 1100px) {
    article {
        grid-template-columns: 200px 1fr;
        column-gap: 30px;
    }

    .coluna-transparente {
        width: 200px;
    }

    .banner-container {
        height: auto;
        min-height: 180px;
    }

    .banner.text {
        font-size: 48px;
        bottom: 20px;
        right: 20px;
    }

    .imagem-com-texto {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .imagem-com-texto picture {
        max-width: 450px;
        margin: 0 auto;
    }
}

/* ========================================
   RESPONSIVIDADE - 900px
   ======================================== */
@media only screen and (max-width: 900px) {
    .banner.text {
        font-size: 40px;
    }
}

/* ========================================
   RESPONSIVIDADE - 768px
   ======================================== */
@media only screen and (max-width: 768px) {
    article {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "sidebar"
            "banner"
            "content";
        gap: 20px;
    }

    .coluna-transparente {
        width: 100%;
        position: static;
    }

    .banner-container {
        width: 100%;
    }

    .imagem-com-texto picture {
        max-width: 100%;
    }
}

/* ========================================
   RESPONSIVIDADE - 600px
   ======================================== */
@media only screen and (max-width: 600px) {
    .banner-container {
        min-height: 150px;
    }

    .banner.text {
        font-size: 32px;
        bottom: 15px;
        right: 15px;
    }

    article {
        margin-bottom: 50px;
    }

    .texto-ao-lado p {
        font-size: 0.95rem;
    }
}   