/* ========== SEÇÃO DE NOTÍCIAS - CARROSSEL ========== */
.news-carousel-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.news-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #0099ff, #00d4ff);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.news-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.news-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.news-slide {
    display: none;
    animation: fadeIn 0.10s ease;
}

.news-slide.active {
    display: block;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    color: #0099ff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.news-content h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.news-link {
    color: #0099ff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

/* Botões de Navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
    color: #1a1a1a;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #0099ff;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    width: 40px;
    border-radius: 6px;
}

.indicator:hover {
    background: #00d4ff;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .news-carousel-wrapper {
        padding: 0 20px;
    }

    .news-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .news-image {
        height: 250px;
    }

    .news-content {
        padding: 30px 25px;
    }

    .news-content h3 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: -10px;
    }

    .next-btn {
        right: -10px;
    }
}
