/* ============================================
   BANNER.CSS - Seção de Banners
   Central de Notícias Brasil
   Desenvolvido por: Joceilton Gomes
   ============================================ */

/* ====== BANNER PRINCIPAL (SLIDER) ====== */
.banner-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 24px 0 24px;
}

.banner-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.banner-slider {
    position: relative;
    width: 100%;
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
}

.banner-slide a {
    display: block;
    width: 100%;
}

.banner-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.banner-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.banner-badge {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.banner-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dot {
    width: 28px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: var(--dourado);
    width: 40px;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ====== BANNER SIMPLES ====== */
.simple-banner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

.simple-banner-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}

.simple-banner-container a {
    display: block;
    width: 100%;
}

.simple-banner-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.simple-banner-container:hover img {
    transform: scale(1.02);
}

.simple-banner-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 768px) {
    .banner-section {
        padding: 16px 16px 0 16px;
    }

    .banner-slider {
        width: 100%;
    }

    .simple-banner {
        padding: 16px;
    }

    .simple-banner-container {
        border-radius: 8px;
    }

    .simple-banner-container img {
        max-height: none;
    }
}

