.banner-container {
    margin: 0 auto;
    /* Centraliza o banner */
    padding: 0px 64px;
    /* Adiciona espa˜o ao redor */
    max-width: 1536px;
    /* Define a largura m˜xima do container */
    justify-items: center;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    overflow: hidden;
    height: 320px;
}

.banner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* N?o intercepta cliques ˜ o link fica acima (z-index) */
    pointer-events: none;
}

.banner-content {
    flex: 1;
    padding: 60px;
    box-sizing: border-box;
    z-index: 2;
    position: relative;
}

.banner-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.banner-image .hub-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.banner-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.banner-content h2 {
    font-size: 44px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.banner-content a {
    margin-top: 10px;
}

.banner-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: #05090a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Tablet: empilha ou reduz propor˜˜o */
@media (max-width: 1024px) {
    .banner-content {
        padding: 40px;
    }

    .banner-content h2 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}

/* Mobile: empilha verticalmente */
@media (max-width: 768px) {
    .banner {
        flex-direction: column;
        min-height: unset;
        border-radius: 8px;
    }

    .banner-container {
        padding: 0 20px;
    }

    .banner-content {
        padding: 20px;
        text-align: center;
    }

    .banner-content h2 {
        font-size: 20px;
        margin: 10px;
    }

    .banner-content p {
        font-size: 14px;
        margin: 10px;
    }

    .banner-content a {
        margin: 0;
    }

    .banner-image {
        width: 100%;
        min-height: 180px;
        justify-content: center;
    }

    .banner-image img {
        border-radius: 0 0 12px 12px;
        min-height: 180px;
        object-fit: cover;
    }

    .banner-button {
        padding: 6px 20px;
        font-size: 14px;
    }
}

@media (max-width: 1200px) {

    /* HOME: preservar banner-container completo em telas menores */
    .banner {
        height: auto;
    }

    .banner-image {
        min-height: 0;
    }

    .banner-image img {
        height: auto;
        object-fit: contain;
    }
}