/* Altura do Banner (Cinematic = Fullscreen ou quase) */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000;
}

.hero-slider-wrapper .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider-wrapper .swiper-slide {
    overflow: hidden;
    position: relative;
    /* Centraliza o conteúdo (texto) */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* A Imagem de Fundo (Parallax) */
.slide-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* O Swiper aumentará isso via JS para o efeito */
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* O Overlay (Película escura para leitura) */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Escurece 40% */
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.25) 100%);
    z-index: 2;
}

/* O Conteúdo (Texto) */
.slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 1000px;
    padding: 0 20px;
}

/* Tipografia (Baseada no seu snippet) */
.slide-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.9;
}

.slide-title {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.slide-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

/* Botão (Opcional, mas recomendado em Heroes) */
.btn-hero {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #fff;
    color: #000;
}
.slide-bg-image h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff !important;
    font-size: 64px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: -1px;
    background-color: rgba(34, 74, 44, 0.8) !important; 
    padding: 30px 60px !important;
    border-radius: 4px !important;
    border-left: 8px solid #8bc34a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: max-content;
    max-width: 90%;
    line-height: 1.1;
    z-index: 5;
}

/* Responsividade */
@media (max-width: 576) {
    .hero-slider-wrapper { height: 15vh; min-height: 250px; }
}

@media (max-width: 768px) {
    .hero-slider-wrapper { height: 20vh; min-height: 350px; }
    .slide-title { font-size: 2.5rem; }
    .slide-description { font-size: 1rem; }
}

@media (max-width: 991px) {
    .hero-slider-wrapper { height: 30vh; min-height: 350px; }
}

@media (max-width: 991px) {
    .slide-bg-image h1 {
        font-size: 48px !important;
        padding: 20px 40px !important;
        border-left-width: 6px;
    }
}

@media (max-width: 768px) {
    .slide-bg-image h1 {
        font-size: 32px !important;
        padding: 15px 25px !important;
        border-left-width: 5px;
        letter-spacing: 0;
        width: 85%;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .slide-bg-image h1 {
        font-size: 24px !important;
        padding: 12px 20px !important;
        border-left-width: 4px;
        max-width: 95%;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
}