/* 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);
}

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

.divisao {
    display: flex;
    align-items: stretch;
}

.servicos .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, 0.75);

    z-index: 1;
}

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

.titulo-servico {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--verde-claro);
}

.descricao-servico {
    font-size: 1.375rem;
    max-width: 700px;
}

.botao-conheca {
    margin-top: 15px;
    font-size: 0.875rem !important;
    background-color: var(--verde-claro);
    color: var(--branco);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.botao-conheca .texto {
    font-weight: 700 !important;
    transition: transform 0.3s ease;
}

.botao-conheca .seta {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: var(--branco);
}

.botao-conheca:hover {
    background-color: var(--verde-claro) !important;
    color: var(--branco) !important;
    border: none;
}

.botao-conheca:hover .seta {
    max-width: 2rem;
    opacity: 1;
    margin-left: 0.3rem;
}

.botao-conheca:hover .texto {
    transform: translateY(-8px);
}

/*SEGUNDA PARTE */

.titulo-secao {
    font-weight: bold;
}

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

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-servico {
    background-color: var(--branco);
    padding: 2rem 1.5rem;
    border: 1px solid var(--cinza-claro);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    transition: transform 0.3s ease;
}
.card-servico:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.card-servico .icone {
    margin-bottom: 1rem;
}

.card-servico .icone i {
    font-size: 3rem;
    color: var(--preto);
}

.card-servico .titulo-servico {
    font-size: 1.125rem;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--verde-claro);
    margin-bottom: 0.5rem;
}

.card-servico .descricao-servico {
    font-size: 1rem;
    font-weight: 400;
    color: var(--verde-escuro);
}

/* TERCEIRA PARTE */

.servicos-vantagens {
    background-color: var(--amarelo);
}

.content-servico {
    background-color: var(--amarelo);
}

.content-servico p {
    color: var(--verde-escuro);
    font-weight: 300;
}

.content-servico ul {
    list-style-type: disc;
    padding: 0 0 0 1.5rem !important;
    margin: 0 !important;
}

.titulo-servico2 {
    font-weight: bold;
    font-size: 2.625rem;
    color: var(--verde-escuro);
}

.linha-verde-2 {
    width: 50px;
    height: 6px;
    margin: 10px 0;
    background-color: var(--verde-claro);
}

.linha-verde-2 ul,
li {
    color: var(--verde-escuro) !important;
    font-weight: 300;
}

.content-servico ul {
    padding-left: 1rem;
    margin-top: 1rem;
}

.content-servico li {
    margin-bottom: 0.5rem;
    color: #3a3a3a;
}

.imagem-wrapper {
    height: 100%;
    position: relative;
}

.imagem-wrapper img {
    object-fit: cover;
    height: 100%;
}
.imagem-servico-container {
    height: 100%;
}

.box-contato {
    background-color: var(--verde-escuro);
    color: #fff;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.faixa-branca {
    background-color: #fff;
    width: 100%;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-orcamento {
    font-size: 0.875rem;
    background-color: transparent;
    color: var(--verde-escuro);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.9rem 2rem;
    border: 4px solid var(--verde-escuro);
    border-radius: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
}

.btn-orcamento .texto {
    font-weight: 700;
    transition: transform 0.3s ease;
}

.btn-orcamento .seta {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: var(--verde-escuro);
}

.btn-orcamento:hover {
    background-color: var(--preto);
    color: var(--branco);
    border-color: var(--preto);
}

.btn-orcamento:hover .seta {
    max-width: 2rem;
    opacity: 1;
    margin-left: 0.3rem;
    color: var(--branco);
}

.btn-orcamento:hover .texto {
    transform: translateY(-8px);
}

/* QUARTA PARTE */

.projetos-realizados {
    background-color: #fff;
}

.titulo-secao {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1c1c;
}

.linha-verde-3 {
    width: 40px;
    height: 6px;
    margin: 20px 0;
    background-color: #a3c700;
}

.card-projeto {
    background-color: #fefefe;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-projeto:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.card-projeto img {
    width: 100%;
    height: auto;
    display: block;
}

.conteudo-projeto {
    padding: 1rem;
}

.nome-projeto {
    font-size: 1rem;
    color: #000;
    margin-bottom: 0.25rem;
}

.btn-duvidas {
    margin-top: 15px;
    font-size: 0.875rem;
    background-color: transparent;
    color: var(--verde-claro);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.9rem 2rem;
    border: 4px solid var(--verde-claro);
    border-radius: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
}

.btn-duvidas .texto {
    font-weight: 700;
    transition: transform 0.3s ease;
}

.btn-duvidas .seta {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    color: var(--verde-escuro);
}

.btn-duvidas:hover {
    background-color: var(--verde-claro);
    color: var(--branco);
    border-color: var(--verde-claro);
}

.btn-duvidas:hover .seta {
    max-width: 2rem;
    opacity: 1;
    margin-left: 0.3rem;
    color: var(--branco);
}

.btn-duvidas:hover .texto {
    transform: translateY(-8px);
}

/* ======= MOBILE FIRST (até 576px) ======= */
@media (max-width: 575.98px) {
    .servicos {
        height: 50vh !important;
    }

    .botao-subir {
        right: 20px !important;
    }

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

    .descricao-servico {
        font-size: 1rem;
    }

    .botao-conheca {
        font-size: 0.75rem !important;
    }

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

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

    .box-contato h4 {
        font-size: 1rem !important;
    }

    .box-contato p {
        font-size: 1rem !important;
    }

    .divisao {
        display: block;
    }

    .btn-orcamento {
        font-size: 0.75rem !important;
    }

    .btn-duvidas {
        font-size: 0.75rem !important;
    }
}

/* ======= CELULARES MÉDIOS (576px até 767px) ======= */
@media (min-width: 576px) and (max-width: 767.98px) {
    .titulo-servico {
        font-size: 2rem;
    }

    .descricao-servico {
        font-size: 1.075rem;
    }

    .botao-conheca {
        font-size: 0.75rem !important;
    }

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

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

    .box-contato h4 {
        font-size: 1.1rem !important;
    }

    .box-contato p {
        font-size: 1.1rem !important;
    }

    .divisao {
        flex-direction: column;
    }

    .box-contato,
    .faixa-branca {
        max-width: 100% !important;
        width: 100% !important;
    }

    .btn-orcamento {
        font-size: 0.75rem !important;
    }

    .btn-duvidas {
        font-size: 0.75rem !important;
    }
}

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

    .descricao-servico {
        font-size: 1.175rem;
    }

    .botao-conheca {
        font-size: 0.775rem !important;
    }

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

    .titulo-servico2 {
        font-size: 2.5rem;
    }

    .box-contato {
        max-width: 60%;
    }

    .box-contato h4 {
        font-size: 1.2rem;
    }

    .box-contato p {
        font-size: 1.2rem !important;
    }
}

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

    .box-contato {
        max-width: 60%;
    }
}
