﻿
.texto-dif {
    position: relative;
    display: block;
}

/* Aplica a máscara e animação ao elemento principal E aos pseudo-elementos */
.texto-dif,
.texto-dif::before,
.texto-dif::after {
    -webkit-mask-image: linear-gradient(-75deg, rgba(10, 21, 169, 0.6) 50%, #c46b12 50%, rgb(15, 90, 188) 70%);
    -webkit-mask-size: 200%;
    animation: shine 3s infinite;
}

/* Estilos específicos dos pseudo-elementos (linhas) */
.texto-dif::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -50px;
    width: 50%;
    height: 5px;
    /* background-color: #262626; */
}

.texto-dif::after {
    content: "";
    position: absolute;
    left: 55%;
    bottom: -50px;
    width: 45px;
    height: 5px;
    /* background-color: #262626; */
}

.menu-principal{
    margin: 0 auto;
}

.menu-principal ul {
    list-style: none;
    display: flex;
    justify-content: center;
    /* padding: 20px 0; */
    align-items: center;
}

.menu-principal li {
    /* margin: 0 20px; */
    font-size: 1.3em;
    border-right: 1px solid white;
    padding: 0 35px;
}
.menu-principal li:last-child {
    border-right: none; /* tira a borda do Ãºltimo item */
}

.menu-principal a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 1.1em;
    transition: color 0.3s ease;
    position: relative;
}

.menu-principal a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 4px;
    width: 0%;
    background-color: #217dcf;
    transition: width 300ms ease;
}

.menu-principal li:hover {
    border-right: none; /* remove borda ao passar o mouse */
}

.menu-principal li:hover a::after {
    width: 100%; /* anima a linha de baixo */
}

.menu-principal a:hover {
    color: #1888eb;
}



.menu-principal li a:hover li{
    border-right: none !important;
}


.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }
  
  .menu-icon {
    width: 30px;
    height: auto;
  }
  
  /* Oculta o menu em telas pequenas */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      position: absolute;
      top: 15px;
      right: 20px;
    }
  
    .menu-principal {
      position: absolute;
      top: 60px;
      right: 0;
      background-color: #fff;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-in-out;
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
      z-index: 1000;
    }
  
    .menu-principal.active {
      max-height:400px; /* Ajuste conforme a quantidade de links */
    }
  
    .menu-principal ul {
      display: flex;
      flex-direction: column;
      margin: 0;
      padding: 0;
    }
  
    .menu-principal li {
      list-style: none;
      padding: 15px 20px;
      border-bottom: 1px solid #eee;
    }
  
    .menu-principal a {
      color: #000;
      text-decoration: none;
      font-weight: 500;
    }
  
    .menu-principal a:hover {
      color: #1C66A6;
    }
  }

*{
    font-family: 'Montserrat';
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.borda{
    border: 1px solid red;
}


h2{
    font-size: 3.5em;
}
h1{
    font-size: 4.0em;
}
i{
    font-size: 1.6em;
    opacity: 0.5;
}

.imagem-container {
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 100%; */

}

.imagem-container img {
    width: 100%;
    display: block;
    /* border-radius: 8px; */
    /* position: relative; */
    z-index: 2;
}

.imagem-container::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    /* border: 2px solid #1C66A6; */
    /* border-radius: 8px; */
    z-index: 1;
    /* border: 1px solid red; */

}


@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .animate-fadeIn {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0; /* Para iniciar invisÃ­vel */
  }
  
  /* Adiciona delay em elementos subsequentes para efeito cascata */
  .animate-delay-1 { animation-delay: 0.2s; }
  .animate-delay-2 { animation-delay: 0.4s; }
  .animate-delay-3 { animation-delay: 0.6s; }
  .animate-delay-4 { animation-delay: 0.8s; }


  .btn-projetos {
    background-color: #1C66A6;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 2s ease-out forwards;
    animation-delay: 0.2s;
}

.btn-projetos:hover {
    background-color: #16538B;
    transform: scale(1.05);
}

.btn-projetos:focus {
    outline: none;
    animation: pulse 1s infinite;  /* AnimaÃ§Ã£o de pulsar no foco */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);  /* DÃ¡ um pequeno aumento */
    }
    100% {
        transform: scale(1);
    }
}


/* Fundo escurecido e centralizador */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* fundo translÃºcido */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
  }
  
  /* Spinner central */
  .spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.8s linear infinite;
  }
  
  /* Oculto por padrÃ£o */
  .hidden {
    display: none !important;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
/* body{
    background: url('../img/fundo-conheca-graute.png');
} */




.NossosServicos {
    background-color: #f4f6f8;
    padding: 100px 20px;
}

.servicos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    gap: 60px;
    /* max-width: 1200px; */
    margin: 0 auto;
    height: auto;
    background: url('../img/servicos-item_2500-x-1000-px_.webp') no-repeat;
    background-size: cover;
    position: relative;
    z-index: 2;
}

.item-serv {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    background-color: #ffffff;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    align-items: center;
    width: 50%;
}

.container-desc{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
    height: 850px;
}

.div-desc{
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.imagens {
    flex: 1;
    display: flex;
    justify-content: center;
}

.descricao {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.titulo {
    text-align: center;
    margin-bottom: 16px;
    width: 100%;
    padding: 0;
    background: url('../img/fundo-servicos.png');
}

.titulo h2 {
    background-color: #1aaadb;
    color: white;
    padding: 12px 24px;
    /* border-radius: 12px; */
    font-size: 1.8em;
    font-weight: 600;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    display: inline-block;
}

.titulo .tiposreformas{
    display: flex;
    /* gap: 20px; */
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
}
.titulo .tiposreformas > div{
    padding: 25px 30px;
}

.titulo .tiposreformas h3{
    font-size: 2.5em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.818);
}

.titulo .tiposreformas .residencial{
    border-right: 1px solid #ffffff;
}

.tiposreformas i{
    font-size: 7.0em;
    color: white;
}

.descricao p {
    font-size: 1.1em;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ti {
    color: #1aaadb;
    font-size: 1.2em;
}

.final {
    height: 150px;
    width: 100%;
    background-color: #5B88AF;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1; /* <--- atrÃ¡s de .servicos mas acima do plano de fundo */
}
.servicos-finalizacao {
    display: flex;
    /* flex-wrap: wrap; */
    /* gap: 25px; */
    justify-content: center;
    align-items: center;
    padding: 70px 20px;
    background-color: #f5f5f5;
    flex-direction: column;
    height: auto;
    width: 100%;
}



.imagem-autoridade {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
    color: #333;
}

.imagens-final {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 24px;
    justify-content: center;
    align-items: center;
    width: 80%;
    padding: 40px;
}

.imagem-container {
    position: relative;
    width: 100%;
    display: block;
    margin: 0 auto;
    
}

.imagem-container img {
    width: 100%;
    height: auto;
    display: block;
    /* border-radius: 8px; */
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.imagem-container::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid #1aaadb;
    /* border-radius: 8px; */
    z-index: 1;
}


@media (max-width: 1024px) {
    .servicos-finalizacao {
        flex-direction: column;
        padding: 40px 20px;
    }

    .servicos-finalizacao>div {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .imagem-autoridade {
        min-height: 200px;
        font-size: 1.1em;
    }

    .imagem-container {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .servicos-finalizacao {
        gap: 20px;
        padding: 30px 15px;
    }

    .imagens-final {
        gap: 16px;
    }

    .imagem-autoridade {
        font-size: 1em;
        padding: 16px;
    }

    .tiposreformas i{
        font-size: 2.5em;
    }

    .tiposreformas h3{
        font-size: 1.0em !important;
    }

    .servicos {
        gap: 40px;
        background: none;
    }

    .item-serv {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        width: 100%;
    }

    .descricao {
        align-items: center;
        text-align: center;
    }

    .descricao p {
        font-size: 1em;
        justify-content: center;
        text-align: center;
    }

    .titulo h2 {
        font-size: 1.4em;
        padding: 10px 18px;
    }

    .servicos-finalizacao {
        flex-direction: column;
        height: auto;
        gap: 30px;
        padding: 40px 10px;
    }

    .servicos-finalizacao > div {
        width: 100%;
    }

    .imagens-final {
        flex-direction: column;
        gap: 20px;
    }

    .imagem-container {
        max-width: 100%;
    }

    .imagem-container::before {
        top: 5px;
        left: 5px;
    }

    .imagem-autoridade {
        font-size: 0.95em;
        padding: 12px;
        text-align: center;
    }
}

.rodape .container-rod{
    height: 100%;
}

.graute-info{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.graute-info img{
    height: 100px;
    width: auto;
}

.graute-info p{
    line-height: 2em;
}

.container-logo-info{
    display: flex;
    align-items: start;
    justify-content: start;
    /* width: 50%;
    height: 100px !important; */
}
.container-logo-info h3{
    margin-top: 40px;
}

.contato-info {
    display: flex;
    justify-content: flex-start; /* Centraliza os itens na horizontal */
    align-items: center;
    flex-direction: column;
    gap: 30px; /* EspaÃ§amento entre os itens */
    flex-wrap: wrap; /* Evita quebra esquisita se nÃ£o couber */
}

.contato-info .item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* Evita quebra de linha dentro do item */
}

.contato-info img {
    width: 24px;
    height: 24px;
}

.contato-info p {
    font-size: 1em;
    margin: 0;
}

.contato-social {
    display: flex;
    flex-direction: column; /* MantÃ©m na mesma linha */
    gap: 25px;
}

.contato-info .item{
    width: 500px;
}

.container-redes-sociais{
    display: flex;

}

#iconeFace{
    width: 40px;
    height: 40px;
    background-color: #1877F2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    margin: 15px;
}

#iconeFace:hover{
    transform: scale(1.1);
    box-shadow: 2px 4px 12px rgba(23, 85, 187, 0.3);
}

#iconeInsta{
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    margin: 15px;

}
#iconeInsta:hover{
    transform: scale(1.1); /* aumenta o tamanho */
    box-shadow: 0 4px 12px rgba(73, 73, 73, 0.3); /* sombra suave */
}

.atendimento-info{
    line-height: 3em;
    text-align: center;

}

@media (max-width: 481px) {
    footer .rodape{
        display: flex;
        flex-direction: column;
    }
    h1{
        font-size: 1.4em;
    }

    .graute-info{
        margin: 20px 0;
    }
    .contato-info {
        flex-direction: column;
        align-items: center;
        /* justify-content: center; */
        gap: 20px;
        flex-wrap: nowrap;
    }

    .contato-info .item {
        display: flex;
        gap: 8px;
        width: auto;
        margin: 15px 0;
        text-align: left;
        /* flex-wrap: wrap; */
    }

    .contato-info .item p {
        white-space: normal; /* permite quebra de linha */
        word-break: break-word; /* quebra palavras longas se necessÃ¡rio */
        font-size: 1em;
        margin: 0;
    }

    /* MantÃ©m o endereÃ§o centralizado */
    .contato-info .item:first-child {
        text-align: center;
    }

    /* Ajusta WhatsApp e Instagram na mesma linha */
    .contato-info .item:nth-child(2),
    .contato-info .item:nth-child(3) {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .contato-social {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .contato-info p {
        font-size: 0.9em; /* Reduz um pouco no mobile pra caber melhor */
    }

    .atendimento-info{
        margin: 20px 0;
    }

    .rodape {
        margin-bottom: 30px; /* Mais espaÃ§o pra evitar corte */
    }
}
