.parallax-section {
    position: relative;
    background-attachment: fixed;
    /* Manter o efeito no desktop */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: start;
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin: 0 auto;
    height: 460px;
    /* A altura da seção vai ser 460px para desktop */
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Escurece a imagem */
    z-index: 1;
    height: 100%;
    /* Garantir que a overlay tenha 100% da altura da seção */
}

.parallax-content {
    position: relative;
    z-index: 2;
    padding: 2rem 8rem;
    max-width: 1600px;
    margin: 0;
    font-size: 2rem;
    text-align: left;
}

.parallax-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.parallax-depoimento {
    background: #f5f5f5;
    padding: 1.5rem;
    border-left: 4px solid #222;
    font-style: italic;
    margin: 2rem 0;
    color: #333;
}

@media (max-width: 1366px) {
    .parallax-content {
        padding: 2rem 3.5rem;
        max-width: 1200px;
    }
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .parallax-section {
        padding: 2rem 1rem;
        /* Menos padding nas laterais em telas menores */
        height: 100vh;
        /* Garantir que a altura da seção ocupe 100% da tela no mobile */
        background-attachment: scroll;
        /* Desabilita o efeito de fixação da imagem em dispositivos móveis */
    }

    .parallax-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        /* Escurece a imagem */
        z-index: 1;
        height: 100%;
        /* Garante que a overlay tenha a mesma altura da seção */
    }

    .parallax-content {
        padding: 1rem;
        max-width: 90%;
        /* Largura reduzida em telas pequenas */
        font-size: 1.5rem;
        /* Texto menor em dispositivos móveis */
    }

    .parallax-content h2 {
        font-size: 2rem;
        /* Ajuste do tamanho do título em telas pequenas */
    }
}

@media (max-width: 480px) {
    .parallax-section {
        padding: 1.5rem 0.5rem;
        /* Menos padding nas laterais em telas muito pequenas */
        height: 100vh;
        /* Garantir que a altura da seção ocupe 100% da tela no mobile */
        background-attachment: scroll;
        /* Desabilita o efeito de fixação da imagem em dispositivos móveis */
    }

    .parallax-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        /* Escurece a imagem */
        z-index: 1;
        height: 100%;
        /* Garante que a overlay tenha a mesma altura da seção */
    }

    .parallax-content {
        padding: 1rem;
        max-width: 95%;
        /* Reduz ainda mais a largura em telas muito pequenas */
        font-size: 1.3rem;
        /* Texto ainda menor em telas pequenas */
    }

    .parallax-content h2 {
        font-size: 1.8rem;
        /* Ajuste para título ainda menor em telas muito pequenas */
    }
}