/* ============================================
   PÁGINA INDEX - CSS INLINE EXTRAÍDO
   ============================================ */

/* SVG Icons */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: middle;
}

/* CSS crítico inline */
body {
    margin: 0;
    font-family: Inter, sans-serif;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 20px 0;
}

/* Carrossel - Desktop: grid normal */
.carousel-wrapper {
    position: relative;
}

.carousel-btn {
    display: none;
}

.carousel-indicators {
    display: none;
}

/* Carrossel - Mobile */
@media (max-width: 768px) {
    .carousel-wrapper {
        position: relative;
        padding: 0 35px;
    }

    .carousel-container {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        /* Esconder scrollbar */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE e Edge */
    }

    .carousel-container::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari e Opera */
    }

    .carousel-item {
        flex: 0 0 calc(100vw - 70px);
        scroll-snap-align: start;
        min-width: 0;
        max-width: calc(100vw - 70px);
        width: calc(100vw - 70px);
    }

    .carousel-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        background-color: rgba(255, 255, 255, 0.9);
        border: 1px solid var(--border);
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        transition: all 0.2s;
    }

    .carousel-btn:hover {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .carousel-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

    .carousel-prev {
        left: 0;
    }

    .carousel-next {
        right: 0;
    }

    .carousel-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background-color: var(--muted-foreground);
        opacity: 0.4;
        cursor: pointer;
        transition: all 0.2s;
        padding: 0;
    }

    .carousel-dot.active {
        opacity: 1;
        background-color: var(--primary);
        width: 24px;
        border-radius: 4px;
    }
}

