/*-------------- SLIDES --------------*/

.slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 154px);
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    user-select: none;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: fill;
    z-index: 0;
}

.video-slide{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.catalogo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    width: 14.6%;
    height: 8.8%;

    background: linear-gradient(to bottom, #ff9d1a, #f57c00);
    color: #fff;
    text-decoration: none;
    font-size: clamp(7px, 1.3vw, 24px);
    font-weight: 700;
    letter-spacing: 2px;

    border-radius: 15px;
    border: 2px solid rgba(0, 0, 0, 0.15);

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.35),
        0 3px 6px rgba(0,0,0,.35);

    transition: transform .15s ease, filter .15s ease;

    position: absolute;
    left: 4.25%;
    top: 71%;
}

.catalogo-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.catalogo-btn:active {
    transform: translateY(1px);
}
/*-------------- SLIDES INDICADORES --------------*/

.indicadores {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 40px;
    height: 4px;
    border-radius: 10px;
    background: var(--primary-alpha);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* slide ativo */
.dot.active {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--primary-alpha-active);
}

/* ============================================================
   RESPONSIVE — Cabel
   Aplica abaixo de 1024px.
   ============================================================ */

/* ---- 1024px: tablet largo ---- */
@media (max-width: 1024px) {
    .slider {
        height: 300px;
    }
}

/* ---- 768px: tablet ---- */
@media (max-width: 768px) {
    /* Slider principal */
    .slider {
        height: 220px;
    }
}

/* ---- 480px: mobile pequeno ---- */
@media (max-width: 480px) {
    /* Slider */
    .slider {
        height: 154px;
    }
}