/* Botão WhatsApp - canto inferior esquerdo */
.botao-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    width: 55px;
    height: 55px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.botao-whatsapp img {
    width: 100%;
    height: auto;
    display: block;
}

/* Botão de subir - canto inferior direito */
.botao-subir {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #555;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    display: none; /* esconde inicialmente */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.botao-subir:hover {
    background-color: #333;
}

/* Estado inicial: oculto e deslocado */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.fade-left {
    transform: translateY(-40px);
}

.scroll-reveal.fade-right {
    transform: translateY(40px);
}

.scroll-reveal.zoom-in {
    transform: scale(0.9);
}

/* Estado final: visível */
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* PARTE UM */

.quem-somos {
    position: relative;
    height: 60vh;
    background: url("../../../images/quem-somos/quem-1.jpg") no-repeat center
        center/cover;
    color: var(--branco);
    overflow: hidden;
}

.quem-somos .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, 0.75);
    z-index: 1;
}

.quem-somos .container {
    position: relative;
    z-index: 2;
    color: white;
}

.titulo-quem {
    font-size: 4rem;
    font-weight: 700;
    color: var(--verde-claro); /* verde neon */
}

.icone-quem {
    font-size: 2.5rem;
    color: var(--verde-claro);
    border: 2px solid var(--verde-claro);
    padding: 0.6rem;
    border-radius: 5px;
}

.titulo-bloco {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.texto-bloco {
    font-weight: 300;
    font-size: 1rem;
    color: #e0e0e0;
    max-width: 100%;
}

/* PARTE DOIS */

.sobre-nos {
    background-color: #fff;
}

.texto-sobre {
    color: var(--verde-escuro);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
}

.titulo-chamada {
    font-size: 2rem;
    font-weight: 700;
    color: var(--verde-escuro);
}

.linha-dupla {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: auto;
}

.linha-grossa {
    margin-top: 20px !important;
    width: 100%;
    height: 5px;
    background-color: var(--verde-claro); /* Verde claro */
}

.linha-fina {
    width: 100%;
    height: 2px;
    background-color: var(--verde-claro); /* Verde claro */
}

/* PARTE 3 */

.titulo-secao {
    font-size: 2rem;
    font-weight: 700;
    color: var(--verde-escuro);
}

.linha-verde-1 {
    width: 40px;
    height: 4px;
    background-color: var(--verde-claro);
}

.sombra-suave {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.bloco-historia {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #e4e4e4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

/* ======= MOBILE FIRST (até 576px) ======= */
@media (max-width: 575.98px) {
    .botao-subir {
        right: 20px !important;
    }

    .quem-somos {
        height: 50vh;
        text-align: center;
        padding: 0 !important;
    }

    .quem-bloco-texto {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .icone-quem {
        margin-bottom: 1rem;
    }

    .texto-bloco {
        font-size: 1.1rem;
    }

    .ms-3 {
        margin-left: 0 !important;
    }

    .titulo-quem {
        font-size: 1.7rem;
    }

    .titulo-bloco {
        font-size: 1rem !important;
    }

    .titulo-chamada {
        font-size: calc(1.325rem + 0.9vw);
    }

    .titulo-secao {
        font-size: calc(1.325rem + 0.9vw);
    }

    .quem-bloco-texto i {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        align-content: center;
        align-self: center;
    }

    .sobre-nos p {
        text-align: center;
    }

    .bloco-historia p {
        text-align: center;
    }
}

/* ======= CELULARES MÉDIOS (576px até 767px) ======= */
@media (min-width: 576px) and (max-width: 767.98px) {
    .quem-somos {
        height: 40vh;
        text-align: center;
        padding: 0 !important;
    }

    .quem-bloco-texto {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .icone-quem {
        margin-bottom: 1rem;
    }

    .ms-3 {
        margin-left: 0 !important;
    }

    .titulo-quem {
        font-size: 2rem;
    }

    .titulo-bloco {
        font-size: 1.05rem !important;
    }

    .titulo-chamada {
        font-size: 1.3rem;
    }

    .titulo-secao {
        font-size: 1.3rem;
    }

    .quem-bloco-texto i {
        display: none;
    }
}

/* ======= TABLETS (768px até 991px) ======= */
@media (min-width: 768px) and (max-width: 991.98px) {
    .titulo-quem {
        font-size: 2.5rem;
    }

    .titulo-bloco {
        font-size: 1.15rem !important;
    }

    .titulo-chamada {
        font-size: 1.5rem;
    }

    .titulo-secao {
        font-size: 1.5rem;
    }
}

/* ======= DESKTOP MÉDIO (1200px até 1399px) ======= */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .quem-somos {
        height: 80vh;
        overflow: hidden;
    }
}
