/* =============================================
   HERO DESTAQUE SLIDER — shortcode [hero_destaque]
   Enjoy Ticket — Layout 2026
   ============================================= */

/* ── Wrapper / palco ────────────────────────── */
.hd-slider {
    position: relative;
    width: 100%;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    aspect-ratio: 17 / 10;
    background: linear-gradient(135deg, #1a0a2e 0%, #6b1a5a 40%, #e41f69 80%, #eb6928 100%);
    isolation: isolate;
}

/* ── Cada slide ─────────────────────────────── */
.hd-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* fade: invisível por padrão */
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

/* Slide ativo */
.hd-slide--active {
    opacity: 1;
    pointer-events: auto;
}

/* ── Overlay gradiente (legibilidade do texto) ── */
.hd-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.25) 45%,
        transparent 75%
    );
    z-index: 1;
}

/* ── Decoração (círculos translúcidos) ──────── */
.hd-slide__deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hd-slide__deco::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hd-slide__deco::after {
    content: '';
    position: absolute;
    bottom: 80px; left: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

/* ── Badge "Em Destaque" ────────────────────── */
.hd-slide__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    z-index: 3;
    line-height: 1.4;
}

/* ── Conteúdo principal ─────────────────────── */
.hd-slide__content {
    position: relative;
    z-index: 2;
    padding: 24px;
}

/* Tag de categoria */
.hd-slide__tag {
    display: inline-block;
    background: #E41F69;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Título */
.hd-slide__title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

/* Meta (data + local) */
.hd-slide__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hd-slide__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
    line-height: 1.4;
}

.hd-slide__meta-item svg {
    flex-shrink: 0;
    opacity: 0.75;
}

/* Botão Ver ingressos */
.hd-slide__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E41F69;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
    line-height: 1;
}

.hd-slide--active:hover .hd-slide__cta {
    background: #C61A5B;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(228, 31, 105, 0.4);
}

/* ── Dots de navegação ──────────────────────── */
.hd-dots {
    position: absolute;
    bottom: 16px;
    right: 18px;
    display: flex;
    gap: 7px;
    z-index: 4;
}

.hd-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.35s ease, transform 0.35s ease;
    flex-shrink: 0;
}

.hd-dot--active {
    background: #ffffff;
    transform: scale(1.4);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
    .hd-slider {
        aspect-ratio: 17 / 10;
    }

    .hd-slide__title {
        font-size: 1.3rem;
    }
}

/* Mobile: mantém 16:9 paisagem — não inverte para retrato */
@media (max-width: 500px) {
    .hd-slider {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
    }

    .hd-slide__tag,
    .hd-slide__title,
    .hd-slide__meta {
        display: none !important;
    }

    .hd-slide__content {
        padding: 16px;
    }

    .hd-slide__cta {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}
