/* =========================================================
   HERO SLIDER — carrossel próprio (sem Slick)
   ========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 18px;
    margin-top: 90px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ---------- Slide individual ---------- */
.hero-slide {
    position: absolute;
    inset: 0;
    text-decoration: none;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.9s ease, transform 0.9s ease;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

/* Capa */
.hero-slide-cover {
    position: absolute;
    inset: 0;
}

.hero-slide-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    filter: brightness(0.9) saturate(1.05);
    transform: scale(1.02);
    transition: transform 6s ease;
}

.hero-slide.is-active .hero-slide-cover img {
    transform: scale(1.08);
}

/* Overlay gradiente duplo */
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(22, 24, 37, 0) 0%,
            rgba(22, 24, 37, 0.1) 40%,
            rgba(22, 24, 37, 0.7) 72%,
            rgba(22, 24, 37, 0.98) 100%),
        linear-gradient(90deg,
            rgba(22, 24, 37, 0.65) 0%,
            rgba(22, 24, 37, 0) 50%);
    pointer-events: none;
}

/* Info */
.hero-slide-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 48px 56px 64px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.7s ease 0.15s, opacity 0.7s ease 0.15s;
}

.hero-slide.is-active .hero-slide-info {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-badge {
    display: inline-block;
    width: fit-content;
    padding: 7px 16px;
    background: rgba(229, 9, 20, 0.92);
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.72em;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(229, 9, 20, 0.4);
}

.hero-slide-title {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 3em;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.2px;
    margin: 0;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.75);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 6px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #e50914, #ff3d47);
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.95em;
    font-weight: 800;
    letter-spacing: 0.4px;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(229, 9, 20, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-slide:hover .hero-slide-cta {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(229, 9, 20, 0.6);
}

/* Slide vazio */
.hero-slide-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9caa;
    font-family: Arial, sans-serif;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    z-index: 2;
}

/* ---------- Setas ---------- */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(20, 20, 28, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.hero-slider:hover .hero-nav { opacity: 1; }

.hero-nav:hover {
    background: #e50914;
    transform: translateY(-50%) scale(1.08);
}

.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }

/* ---------- Dots (barras horizontais) ---------- */
.hero-dots {
    position: absolute;
    bottom: 26px;
    right: 56px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, width 0.3s ease;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }

.hero-dot.is-active {
    background: #e50914;
    width: 44px;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.6);
}

/* =========================================================
   Responsividade
   ========================================================= */
@media (max-width: 1099px) {
    .hero-slider        { height: 460px; border-radius: 16px; }
    .hero-slide-info    { padding: 40px 40px 56px; gap: 12px; }
    .hero-slide-title   { font-size: 2.4em; }
    .hero-slide-cta     { padding: 12px 26px; font-size: 0.9em; }
    .hero-dots          { bottom: 20px; right: 40px; }
    .hero-nav           { width: 42px; height: 42px; font-size: 26px; }
}

@media (max-width: 767px) {
    .hero-slider        { height: 400px; border-radius: 14px; margin-top: 70px; }
    .hero-slide-info    { padding: 32px 24px 56px; gap: 10px; max-width: 100%; }
    .hero-slide-badge   { font-size: 0.66em; padding: 6px 12px; letter-spacing: 1px; }
    .hero-slide-title   { font-size: 1.7em; letter-spacing: -0.6px; }
    .hero-slide-cta     { padding: 11px 22px; font-size: 0.85em; }
    .hero-nav           { display: none; }

    .hero-dots {
        left: 0;
        right: 0;
        bottom: 16px;
        justify-content: center;
        gap: 6px;
    }
    .hero-dot           { width: 24px; }
    .hero-dot.is-active { width: 34px; }
}

@media (max-width: 480px) {
    .hero-slider        { height: 360px; border-radius: 12px; margin-top: 60px; }
    .hero-slide-info    { padding: 26px 18px 50px; }
    .hero-slide-title   { font-size: 1.4em; }
    .hero-slide-cta     { padding: 10px 20px; font-size: 0.82em; }
}