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

/*PRIMEIRA PARTE PÓS NAVBAR*/
.overlay {
    z-index: 1;
}

.hero {
    height: 60vh;
    overflow: hidden;
}

.hero-bg img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: center top;
}

.hero .textos {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    color: var(--verde-claro);
}

.hr-com-fundo {
    position: relative;
    width: auto;
    height: 6px; /* altura total: linha + "padding" visual */
    border: none;
    background-color: var(--amarelo);
    opacity: 1;
}

.hr-com-fundo::before {
    content: "";
    position: absolute;
    top: 2.5px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--preto);
}

.hero h4 {
    font-size: 1.375rem;
    font-weight: 600 !important;
    color: var(--branco);
}

.hero p {
    font-size: 1.375rem;
    font-weight: 600 !important;
    color: var(--verde-claro);
}

.botao-animado {
    background-color: var(--verde-escuro);
    color: var(--amarelo);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

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

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

.botao-animado:hover {
    background-color: var(--verde-escuro) !important;
    color: var(--amarelo) !important;
}

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

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

/*SEGUNDA PARTE*/

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

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

/* Animação de entrada */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-servico {
    width: 200px;
    height: 200px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    margin-bottom: 2rem;
    margin-top: 3rem;
    text-align: center;
    z-index: 1;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Fade in quando visível */
.card-servico.aparecer {
    opacity: 1;
}

.card-servico::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* sombra centralizada e difusa */
    border: 2px solid transparent;
    transition: box-shadow 0.4s ease;
}

.card-servico::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid #e0dcd1;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    transition: border-color 0.3s ease;
}

/* Efeito ao passar o mouse: sombra + borda */
.card-servico:hover::before {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.02);
}

.card-servico:hover::after {
    border-color: var(--verde-claro);
}

.card-servico::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid #e0dcd1;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    transition: border-color 0.3s ease;
}

/* Efeito ao passar o mouse: sombra + borda */
.card-servico:hover::before {
    box-shadow: 0 50px 35px -25px rgba(170, 204, 0, 0.25);
}
.card-servico:hover::after {
    border-color: var(--verde-claro);
}

.card-servico .icone {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

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

.card-servico .titulo-servico {
    font-size: 1.125rem;
    font-family: "Oswald", Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    color: #222;
    margin-top: 0.6rem;
}

.card-servico .btn-saiba-mais {
    display: inline-block;
    background-color: var(--verde-claro);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.8125rem;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.4rem;
    border-radius: 16px;
    border: none;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
    animation: none;
}

.card-servico .btn-saiba-mais:hover {
    animation: pulseBtn 0.5s ease-in-out;
    opacity: 1;
}

@keyframes pulseBtn {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.07);
    }
    100% {
        transform: scale(1);
    }
}

.linha-abaixo {
    margin-top: 5rem;
}

.botao-amarelo {
    background-color: var(--amarelo);
    color: var(--verde-escuro);
    letter-spacing: 0;
    margin-top: 3rem;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

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

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

.botao-amarelo:hover {
    background-color: var(--amarelo) !important;
    color: var(--verde-escuro) !important;
}

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

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

/*TERCEIRA PARTE*/

.bg-limao {
    background-color: var(--verde-claro);
    color: var(--verde-escuro);
}

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

.item-vantagem {
    color: var(--verde-escuro);
}

.icone-vantagem {
    font-size: 3rem;
    line-height: 1;
    color: var(--verde-escuro);
}

.sub-titulo p {
    font-weight: 400;
    padding-top: 0.6rem;
    font-size: 0.9375rem;
}

.coluna-direita h2 {
    font-size: 2.625rem;
    color: var(--verde-escuro) !important;
}

.conteudo-texto {
    background-color: #f3f3f3;
}

.linha-verde-2 {
    width: 50px;
    margin: 40px 0 !important;
    height: 5px;
    background-color: var(--verde-escuro);
}

.projeto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.projeto p {
    padding-right: 40px !important;
}

.faixa-orcamento {
    background-color: var(--cinza-escuro);
    width: 100%;
    margin-top: 26px;
    color: var(--branco);
    display: flex; /* d-flex */
    flex-direction: column; /* flex-column padrão */
    justify-content: space-between; /* justify-content-between */
    align-items: center; /* align-items-center */
    padding-left: 3rem; /* px-5 */
    padding-right: 3rem;
    padding-top: 3rem; /* py-5 */
    padding-bottom: 3rem;
}

.faixa-orcamento h3 {
    font-size: 1.875rem;
}

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

.btn-fale .texto {
    transition: transform 0.3s ease;
    font-weight: 500;
}

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

.btn-fale:hover .seta {
    max-width: 2rem;
    opacity: 1;
}

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

.btn-fale:hover {
    background-color: transparent;
    color: var(--verde-claro);
    border-color: var(--verde-claro); /* <- força a borda continuar verde */
}

/* QUARTA PARTE */

.banner-estudos {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

.banner-estudos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/index-3.jpg") no-repeat center top;
    background-size: cover;
    z-index: 1;
}

.banner-estudos::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* escurece a imagem */
    z-index: 2;
}

.banner-estudos .conteudo {
    position: relative;
    z-index: 3; /* acima da imagem e do overlay */
}

.titulo-banner {
    font-size: 4rem;
    font-weight: 800;
    color: var(--branco);
}

.botao-conheca {
    margin-top: 4rem;
    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);
}

/* QUINTA PARTE */

.clientes {
    background-color: #f7f7f7;
}

.linha-verde-3 {
    width: 50px;
    height: 5px;
    margin: 40px 0 10px 0;
    background-color: var(--verde-escuro);
}

.card-cliente {
    border-radius: 10px;
    border: none;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
        rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

.card-cliente img {
    width: 100%;
    height: 180px; /* ajuste conforme necessário */
    object-fit: cover;
    border-radius: 10px;
}

.card-cliente .localidade {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--preto);
}

.mapa-link {
    padding: 0;
    margin: 0;
    width: 100%;
}

.mapa-iframe {
    width: 100%;
    border: none;
    height: 100vh;
    display: block;
    pointer-events: none; /* para o iframe não capturar toques/clicks */
}

.mapa-link a {
    display: block;
    width: 100%;
    height: 100vh;
    position: relative;
}

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

    .hero {
        height: 80vh;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h4 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .botao-animado {
        font-size: 0.775rem;
    }

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

    .card-servico .titulo-servico {
        font-size: 1rem;
    }

    .card-servico .btn-saiba-mais {
        font-size: 0.775rem;
    }

    .botao-amarelo {
        font-size: 1rem !important;
    }

    .titulo-vantagens {
        font-size: 1.2rem;
    }

    .item-vantagem h5 {
        font-size: 1.1rem !important;
    }

    .item-vantagem p {
        font-size: 1rem;
    }

    .coluna-direita h2 {
        font-size: 2rem;
    }

    .faixa-orcamento h3 {
        font-size: 1.4rem;
    }

    .btn-fale {
        font-size: 0.775rem;
    }

    .titulo-banner {
        font-size: 3rem;
    }

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

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

    .card-cliente h6 {
        font-size: 1rem;
    }

    .card-cliente p {
        font-size: 1rem;
    }

    .banner-estudos {
        height: 60vh;
    }

    .linha-abaixo {
        margin-top: 0rem;
    }

    .projeto p {
        padding-right: 0px !important;
    }

    .banner-estudos {
        height: 90vh !important;
    }

    .footer .row > div {
        border-right: none !important;
    }
}

/* ======= CELULARES MÉDIOS (576px até 767px) ======= */
@media (min-width: 576px) and (max-width: 767.98px) {
    .linha-abaixo {
        margin-top: 0rem;
    }

    .projeto p {
        padding-right: 0px !important;
    }

    .banner-estudos {
        height: 80vh !important;
    }

    .footer .row > div {
        border-right: none !important;
    }
}

/* ======= TABLETS (768px até 991px) ======= */
@media (min-width: 768px) and (max-width: 991.98px) {
    .projeto {
        display: grid !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .projeto p {
        padding-right: 0 !important;
    }

    .projeto img {
        margin-top: 30px;
    }

    .faixa-orcamento {
        background-color: var(--cinza-escuro);
        width: 100%;
        margin-top: 26px;
        color: var(--branco);
        display: inherit; /* d-flex */
        justify-content: center; /* justify-content-between */
        align-items: center; /* align-items-center */
    }

    .faixa-orcamento a {
        margin-top: 20px;
    }
}

/* ======= DESKTOP PEQUENO (992px até 1199px) ======= */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .coluna-direita {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100%;
    }

    .conteudo-texto {
        flex: 1 1 auto;
    }

    .faixa-orcamento {
        margin-top: 0; /* evita quebra se espaço estiver forçado */
    }

    .projeto {
        display: grid;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .projeto p {
        padding-right: 0 !important;
    }

    .projeto img {
        margin-top: 30px;
    }
}

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

    .banner-estudos {
        height: 80vh;
    }

    .coluna-direita {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 100%;
    }

    .conteudo-texto {
        flex: 1 1 auto;
    }

    .faixa-orcamento {
        margin-top: 0; /* evita quebra se espaço estiver forçado */
    }
}
