/* =========================================================
   🔹 HERO SECTION (COM SLIDER, ASPECT-RATIO E SWIPE)
   ========================================================= */

/* Container Externo (Fundo 100%) */
.hero-container {
    width: 100%;
    background: #9cd8da;
    padding-bottom: 80px;
    padding-top: 40px;
    overflow: hidden;
    position: relative;
}

/* Container Interno (Limita largura do conteúdo) */
.hero-content-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

/* Lado Esquerdo (Imagem/Slider) */
.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

/* Slider (Wrapper da Imagem e Botões) */
.hero-slider {
    position: relative;
    max-width: 550px;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    z-index: 10;
    aspect-ratio: 1 / 1;
    background-color: #eee;
}

/* Container de Todos os Slides */
.hero-slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

/* Estilo Base do Slide Individual */
.hero-slider .slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Imagem dentro do Slide */
.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Botões de Navegação */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.7);
    color: #ed3056;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease,
                background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

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

.hero-nav:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #d43350;
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 15px;
}

.hero-next {
    right: 15px;
}

/* Lado Direito (Texto e Botão) */
.hero-right {
    flex: 1;
    max-width: 600px;
    min-width: 300px;
    text-align: left;
    z-index: 3;
    position: relative;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.hero-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #000;
    line-height: 1.3;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 400;
}

.hero-subtitle strong {
    color: #ed3056;
    font-weight: 700;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #ed3056, #d43350);
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(237, 48, 86, 0.3);
    font-family: 'Roboto', sans-serif;
}

.hero-btn:hover {
    background: linear-gradient(90deg, #ed3056, #d43350);
    transform: scale(1.05);
    box-shadow: 0 7px 18px rgba(237, 48, 86, 0.4);
}

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

@media (max-width: 1024px) {
    .hero-container {
        padding-bottom: 80px;
        padding-top: 30px;
    }

    .hero-content-container {
        flex-direction: column;
        text-align: center;
        padding: 0 30px;
        gap: 30px;
        align-items: center;
    }

    .hero-right {
        order: 2;
        text-align: center;
        max-width: 100%;
        min-width: unset;
    }

    .hero-left {
        order: 1;
        width: 100%;
        position: relative;
    }
}

/* ===== MOBILE: 100% DE LARGURA ===== */
@media (max-width: 768px) {
    .hero-container {
        padding-left: 0;
        padding-right: 0;
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .hero-content-container {
        padding: 0;
        max-width: 100%;
        gap: 20px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }

    /* Slider ocupa toda a viewport no mobile */
    .hero-slider {
        max-width: none;
        width: 100vw;
        border-radius: 0;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .hero-slider img {
        border-radius: 0;
    }

    .hero-nav {
        opacity: 1;
        visibility: visible;
        background-color: rgba(255, 255, 255, 0.85);
    }
}
