.hsp-swiper {
    width: 100%;
    height: 700px; /* Altura fixa para desktop */
}

.hsp-slide-content {
    width: 100%;
    height: 100%;
    background-size: cover; /* Garante que a imagem cubra o espaço */
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinha à esquerda no desktop */
    color: white;
    position: relative;
}

.hsp-slide-text {
    padding: 20px;
    border-radius: 8px;
    max-width: 34%; /* Limita a largura para melhor legibilidade */
    margin-left: 10%; /* Espaçamento da borda esquerda */
    text-align: left; /* Texto alinhado à esquerda */
    font-size: 1.2rem; /* Tamanho base para desktop */
}

.hsp-slide-text h2 {
    margin: 0 0 10px 0;
    font-size: 4rem; /* Tamanho do título */
    line-height: 1.2;   
    font-weight: bold;
    color: #ffffff;
}

.hsp-slide-text p {
    margin: 0;
    font-size: 1.8rem; /* Tamanho do parágrafo */
    line-height: 1.6; /* Melhora a legibilidade */
    color: #ffffff; /* Cor do texto */
}

.hsp-slide-button {
    display: inline-block;
    padding: 14px 32px;
    background: #EF5323; /* Cor do botão */
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1rem; /* Tamanho base para desktop */
}

.hsp-slide-button:hover {
    background: #f14c1a;
    transform: scale(1.05);
}

.swiper-button-prev,
.swiper-button-next {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6));
    transform: scale(1.1);
    opacity: 1;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: #EF5323;
    opacity: 1;
}

@media (max-width: 1366px) {
    .hsp-swiper {
        height: 512px; /* Altura fixa para tablets e laptops menores */
    }

    .hsp-slide-text h2 {
        margin: 0 0 10px 0;
        font-size: 3.2rem; /* Tamanho do título */
        line-height: 1.2;   
    }

    .hsp-slide-text p {
        font-size: 1.6rem; /* Tamanho do parágrafo */
        line-height: 1.6; /* Melhora a legibilidade */
    }

    .hsp-slide-button {
        font-weight: 600; /* Aumenta a espessura do texto */
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px; /* Tamanho para toque */
        height: 40px;
        top: 50%; /* Centraliza verticalmente */
        transform: translateY(-50%);
    }

    .swiper-button-prev {
        left: 10px;
    }

    .swiper-button-next {
        right: 10px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 18px; /* Ícones menores */
    }

    .swiper-pagination-bullet {
        width: 8px; /* Menor para telas menores */
        height: 8px;
    }
}

@media (max-width: 912px) {
    .hsp-swiper {
        height: 512px; /* Mantém altura para dispositivos móveis */
    }

   .hsp-slide-text h2 {
        margin: 0 0 10px 0;
        font-size: 3rem; /* Tamanho do título */
        line-height: 1.2;   
    }

    .hsp-slide-text p {
        font-size: 1.3rem; /* Tamanho do parágrafo */
        line-height: 1.6; /* Melhora a legibilidade */
    }

    .hsp-slide-button {
        font-weight: 600; /* Aumenta a espessura do texto */
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 36px; /* Menor para telas menores */
        height: 36px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hsp-swiper {
        height: 512px; /* Altura para dispositivos móveis menores */
    }

    .hsp-slide-text h2 {
        margin: 0 0 10px 0;
        font-size: 2.8rem; /* Tamanho do título */
        line-height: 1.2;   
    }

    .hsp-slide-text p {
        font-size: 1.3rem; /* Tamanho do parágrafo */
        line-height: 1.6; /* Melhora a legibilidade */
    }

    .hsp-slide-button {
        font-weight: 600; /* Aumenta a espessura do texto */
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 34px; /* Ligeiramente menor */
        height: 34px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hsp-swiper {
        height: 340px; /* Altura para telas muito pequenas */
    }

   .hsp-slide-text h2 {
        margin: 0 0 10px 0;
        font-size: 1.4rem; /* Tamanho do título */
        line-height: 1.4;   
    }

    .hsp-slide-text p {
        font-size: .9rem; /* Tamanho do parágrafo */
        line-height: 1.4; /* Melhora a legibilidade */
    }

    .hsp-slide-button {
        display: inline-block;
        padding: 10px 16px;
        background: #EF5323; /* Cor do botão */
        color: white;
        text-decoration: none;
        border-radius: 25px;
        margin-top: 10px;
        transition: background 0.3s ease, transform 0.2s ease;
        font-size: .7rem; /* Tamanho base para desktop */
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 32px; /* Menor ainda */
        height: 32px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 14px;
    }

    .swiper-pagination-bullet {
        width: 7px; /* Menor para telas muito pequenas */
        height: 7px;
    }
}