/* =========================
   RESET (EVITA BUGS DE LAYOUT)
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =========================
   CONTAINER
========================= */
.container-carrossel {
    color: white;
    text-align: center;
    padding: 40px 16px;

    width: 100%;
    max-width: 100%;
    overflow: hidden;

    background: transparent;
}

/* =========================
   CARROSSEL
========================= */
.carousel {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    position: relative;
    overflow: hidden;

    background: transparent;

    /* evita artefatos visuais */
    isolation: isolate;
}

/* =========================
   TRACK
========================= */
.carousel .track {
    display: flex;
    gap: 0;

    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    align-items: stretch;

    scrollbar-width: none;
}

.carousel .track::-webkit-scrollbar {
    display: none;
}

/* =========================
   ITEM
========================= */
.carousel .item {
    scroll-snap-align: center;

    flex: 0 0 100%;
    max-width: 100%;

    width: 100%;
    padding: 2rem 1rem;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: transparent;
}

/* =========================
   TEXTO
========================= */
.carousel blockquote {
    text-align: center;
    max-width: 700px;
    width: 100%;

    margin: 0 auto;
    padding: 0 10px;

    background: transparent;
}

.carousel a {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
}

/* =========================
   AUTOR
========================= */
.autor {
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    gap: 5px;
    font-weight: 500;
    margin-top: 10px;
}

.autor svg {
    height: 17px;
    width: auto;
}

/* =========================
   BOTÕES (SETAS)
========================= */
.carousel .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border-radius: 50%;
    border: none;

    background: rgba(0, 89, 138, .35);
    color: #fff;

    cursor: pointer;

    font-size: 1.6rem;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .2s ease;

    z-index: 9999; /* 🔥 nunca somem */
    pointer-events: all;
}

.carousel .nav:hover {
    background: #00598a;
    color: #fff;
}

.carousel .nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel .prev {
    left: 8px;
}

.carousel .next {
    right: 8px;
}

/* =========================
   INDICADORES
========================= */
.carousel .indicators {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 1rem;
}

.carousel .dot {
    width: 12px;
    height: 12px;

    background: #ccc;
    border-radius: 50%;

    cursor: pointer;
    transition: .3s;
}

.carousel .dot.active {
    background: #00598a;
}

/* =========================
   RESPONSIVIDADE
========================= */

/* TABLET */
@media (max-width: 768px) {
    .container-carrossel {
        padding: 30px 12px;
    }

    .carousel .item {
        padding: 1.5rem 1rem;
    }

    .carousel blockquote {
        max-width: 90%;
    }

    .carousel .nav {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .container-carrossel {
        padding: 20px 8px;
    }

    .carousel .item {
        padding: 1rem 0.5rem;
    }

    .carousel blockquote {
        max-width: 95%;
        font-size: 0.9rem;
    }

    .carousel .nav {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;

        /* 🔥 mais visível no mobile */
        background: rgba(0, 89, 138, .6);
    }

    .carousel .prev {
        left: 4px;
    }

    .carousel .next {
        right: 4px;
    }

    .autor {
        font-size: 0.85rem;
    }
}

/* =========================
   REMOVE QUALQUER FUNDO BRANCO
========================= */
.container-carrossel,
.container-carrossel * {
    background-color: transparent !important;
} 
