:root {
    --secondary: #EC1E79;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #000;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #161b22;
        color: #fff;
    }
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
}

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

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    color: #fff;
    /* Texto branco garantido */
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #fff;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    color: #fff;
}

.cta-button {
    display: inline-block;
    background: var(--secondary, #EC1E79);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(236, 30, 121, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 30, 121, 0.6);
}

.hero-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image,
.hero-video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.hero-video {
    width: 70%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-height: 80vh;
}

.hero-video:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    .hero-video:hover {
        box-shadow: 0 8px 25px rgba(240, 107, 0, 0.4);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 2rem;
}

@media (prefers-color-scheme: dark) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 {
    animation-delay: 0.4s;
}

.fade-up.delay-2 {
    animation-delay: 0.8s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Controls */
.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(240, 107, 0, 0.8);
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--secondary, #EC1E79);
}

@media (prefers-color-scheme: dark) {

    .swiper-button-prev,
    .swiper-button-next {
        background: rgba(22, 27, 34, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: rgba(240, 107, 0, 0.9);
        border-color: rgba(240, 107, 0, 0.3);
    }

    .swiper-pagination-bullet {
        background: rgba(255, 255, 255, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .swiper-pagination-bullet-active {
        background: var(--secondary, #EC1E79);
        border-color: var(--secondary, #EC1E79);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-video {
        width: 60%;
        max-height: 70vh;
    }

    .hero-inner {
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }

    .hero-content,
    .hero-media {
        max-width: 100%;
    }

    .hero-content {
        order: 1;
    }

    .hero-media {
        order: 2;
        position: relative;
        z-index: 10;
    }

    .hero-video {
        width: 50%;
        max-height: 60vh;
        aspect-ratio: 9 / 16;
        position: relative;
        z-index: 15;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .swiper-slide[data-video="true"] .hero-bg {
        position: relative;
    }

    .swiper-slide[data-video="true"] .hero-bg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1;
    }

    .swiper-slide[data-video="true"] .hero-inner {
        position: relative;
        z-index: 5;
    }

    .swiper-slide[data-video="true"] .hero-content {
        position: relative;
        z-index: 8;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        color: #fff;
    }

    @media (prefers-color-scheme: dark) {
        .hero-video {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(240, 107, 0, 0.2);
        }

        .swiper-slide[data-video="true"] .hero-bg::before {
            background: rgba(0, 0, 0, 0.8);
        }

        .swiper-slide[data-video="true"] .hero-content {
            text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
        }
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .hero-video {
        width: 55%;
        max-height: 55vh;
        aspect-ratio: 9 / 16;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    }

    .hero-inner {
        padding: 0.5rem;
    }

    .hero-content h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
        color: #fff;
    }

    .hero-content p {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        color: #fff;
    }

    .swiper-slide[data-video="true"] .hero-bg::before {
        background: rgba(0, 0, 0, 0.8);
    }

    @media (prefers-color-scheme: dark) {
        .hero-video {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8),
                0 0 0 2px rgba(240, 107, 0, 0.3);
        }

        .swiper-slide[data-video="true"] .hero-bg::before {
            background: rgba(0, 0, 0, 0.85);
        }

        .hero-content h1 {
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95);
        }

        .hero-content p {
            text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
        }
    }
}