/* Estilo do Corpo da Página */
:root {
    --cor-principal-azul: #000080;
    --cor-navbar: #a4d7f1;
    --cor-body: rgba(113, 101, 101, 0.364);
    --cor-container: white;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

/*Botão de voltar para o inicio da página*/
#myBtn {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    /* Fixado na rolagem - sempre na mesma posição */
    bottom: 20px;
    /* Distância do botão do topo da página */
    right: 30px;
    /* Distância do botão da borda direita da página */
    z-index: 99;
    /* Certifique-se de que ele esteja acima de outros itens */
    border: none;
    /* Remova bordas */
    outline: none;
    /* Remova destaque */
    background-color: #6da4ec;
    /* Cor de fundo */
    color: white;
    /* Cor do texto */
    cursor: pointer;
    /* Adicione um ponteiro do mouse em cima */
    padding: 15px;
    /* Espaço ao redor */
    border-radius: 10px;
    /* Bordas arredondadas */
}
#myBtn:hover{
    background-color: #1f71dd;
    transition: 0.5s;
}


/* Estilo do Conteúdo Principal */
.content {
    transition: margin-left 0.3s;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    /* Adicione esta linha para garantir largura total */
}

.carousel-inner img {
    width: 100%;
    margin: auto;
    /* Centralize a imagem dentro do carrossel */
    height: 80vh;
}

.apresentacao {
    text-align: center;
    background-color: #f4f4f4;
    color: #fff;
    padding: 30px;
    padding-bottom: 100px;
    font-size: 18px;
    line-height: 1.6;
    position: relative;
    /* Adicionado para que o quadrado seja posicionado em relação a este elemento */
    z-index: 1;
    /* Z-index do container apresentacao */
}

.descricao {
    color: #5a6c85;
    font-size: 23px;
    margin-top: 0;
}

.quadrado {
    width: 100px;
    height: 100px;
    background-color: #12e7f7;
    background-color: #f4f4f4;
    transform: rotate(45deg);
    position: absolute;
    top: 85%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%) rotate(45deg);
    /* Mantenha a rotação e a centralização */

}

.box_atuacao {
    position: relative;
    width: 550px; /* Largura da caixa */
    height: 120px; /* Altura da caixa */
    background-color: #ededed; /* Cor de fundo da caixa */
    clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
    display: flex;
    align-items: center;
    margin-left: 2em;
    
    /* Define os pontos do polígono:
       - (0 0) é o canto superior esquerdo
       - (100% 0) é o canto superior direito
       - (100% 80%) é um ponto 80% para baixo na borda direita
       - (80% 100%) é um ponto 80% para a esquerda na borda inferior
       - (0 100%) é o canto inferior esquerdo
    */
  }
  
  .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Cor de fundo transparente */
    clip-path: polygon(0 0, 100% 0, 100)
}  

.titulo_atuacao {
    font-size: 22px;
    color: #2e5fac;
}

.img_atuacao{
    margin-right: 1em;
    margin-left: 1em;
    width: 6em;
}

.atuacao {
    display: flex;
    justify-content: center;
    margin-bottom: 6em;
    margin-right: 2em;
    gap: 7em;
}

.box_trajetoria {
    display: flex;
    justify-content: flex-start;
    text-align: start;
    flex-direction: column;
}

.banner_trajetoria {
    width: 30em;
    margin: 3em 0 0 4em;
    justify-content: flex-start;
    
    
}

.titulo_trajetoria {
    margin-left: 3em;
    margin-bottom: 2em;
}

.imagem_trajetoria {
    width: 100%; 
    margin: 3em 0 3em 0;
}

.imagem__responsivo-trajetoria {
    display: none
}

.img-parceiro {
    width: 20em;
}

.img-parceiro2 {
    width: 10em;
}

.diferenciais-box {
    display: flex; 
    justify-content: space-around;
     flex-wrap: wrap;
}


/* Adicione uma regra de mídia para telas menores */
@media screen and (max-width: 1540px) {
    .img-parceiro {
        width: 15em;
    }
    
    .img-parceiro2 {
        width: 5em;
    }
    
}

@media screen and (max-width: 1140px) {
    .img-parceiro {
        width: 10em;
    }
    
    .img-parceiro2 {
        width: 4em;
    }

    .diferenciais-box {
        display: flex; 
        flex-direction: column;
        justify-content: center;
    }

    
}

@media (max-width: 690px) {
    .apresentacao {
        padding-bottom: 130px;


    }

}

@media screen and (max-width: 768px) {
    .titulo_trajetoria {
        font-size: 11px;
        display: flex;
        justify-content: center;
        margin-left: 2em;

    }

    .imagem_trajetoria {
        display: none;
    }

    .imagem__responsivo-trajetoria {
        display: block;
        width: 100%;
        margin-bottom: 2em;
    }

}

@media (max-width: 585px) {
    .apresentacao {
        padding-bottom: 170px;

    }

    .quadrado {
        width: 110px;
        height: 110px;

    }

    .banner_trajetoria {
        width: 20em;
        justify-content: flex-start;
        margin-left: -0.5em;
       
    }
}

@media (max-width: 495px) {
    .apresentacao {
        padding-bottom: 220px;

    }

    .quadrado {
        width: 120px;
        height: 120px;

    }
}

@media (max-width: 390px) {
    .apresentacao {
        padding-bottom: 280px;

    }

    .quadrado {
        width: 130px;
        height: 130px;

    }
}

@media (max-width: 320px) {
    .apresentacao {
        padding-bottom: 320px;

    }

    .quadrado {
        width: 140px;
        height: 140px;

    }
}


.historia {
    font-weight: 700;
    position: relative;
    color: #004AAD;
    font-size: 20px;
    margin-bottom: 15px;
}



.container-descricao {
    max-width: 1000px;
    /* Largura máxima do container de descrição */
    margin: 0 auto;
    /* Centraliza o container */
    height: 20px;
    margin-bottom: 170px;
}



/* Estilo comum para os serviços */
.service {
    padding: 30px;
    margin-top: 200px;
    right: 50px;
    text-align: center;

}

/* Estilo do título nos serviços */
.service h2 {
    font-size: 28px;
    padding-bottom: 20px;
    text-align: center;


}

/* Estilo específico para o primeiro serviço (Construção de Imóveis) e segundo serviço (Engenharia Geral) */
.service-engenharia {
    color: #004AAD;
    text-align: justify;

}

/* Estilo da Descrição */
.explicacao {
    position: relative;
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
margin: auto;

    max-width: 1000px;


}

.my-card:hover {
    transform: scale(1.05);
}

.my-card img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.my-card-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex: 1;
    /* Take remaining space */
    transform: scale(1);
    /* Adicionado para corrigir o zoom */
    transition: transform 0.3s ease;
    /* Adicionado para animar o efeito de zoom */
}

.my-button {
    background-color: #4caf50;
    color: rgb(255, 255, 255);
    padding: 10px 18px;
    /* Adjusted button padding */
    border-radius: 5px;
    font-size: 14px;
    /* Decreased font size */
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    align-self: flex-end;
    /* Align button to the right */
    bottom: 20%;
}

.my-button:hover {
    background-color: #3d8e41;
}

/*Contador*/

.historia_dedi {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15vh;
    text-align: center;
}

.contador1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.contadores {
    display: flex;
    justify-content: center;
    gap: 300px;
}

.container__trajetoria {
    text-align: center;
}

.titulo__nossa-trajetoria {
    font-size: 25px;
}

.img_banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
   
    
}

.img_banner-container video{
    max-width: 100%;
    width: 2000px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}


/* Estilos para telas menores */
@media (max-width: 600px) {
    .my-card {
        margin: 10px;
        width: 100%;
        padding: 10px;
        flex-direction: column;
    }

    .my-card img {
        width: 50px;
        height: 50px;
    }

    .my-card-content {
        padding: 10px;
    }

    .my-button {
        padding: 5px 9px;
        font-size: 12px;
    }

    .img_banner-container {
        margin-top: 4em;
    }
}

@media (max-width: 600px) {
    #navbar {
        position: fixed;
        overflow: hidden;
    }

    #navbar a {
        float: none;
        display: block;
        text-align: left;
    }

    #navbar a:hover {
        background-color: #ddd;
        color: black;
    }

    .content {
        margin-left: 0;
    }

    .box_atuacao {
        width: 330px; /* Largura da caixa */
        height: 110px; /* Altura da caixa */
    }
}

/*Contador*/
@media (max-width: 768px) {
    .contadores {
        flex-direction: column;
        gap: 50px;
    }
    
    .imagem__trajetoria {
        display: none;
    }

    .imagem__responsivo-trajetoria {
        display: block;
        width: 100%;
    }
    .imagem__trajetoria-banner {
        width: 25em;
        margin-bottom: 1em;
        
       
    }

    .titulo__nossa-trajetoria {
        font-size: 1em;
        margin-bottom: 2em;
    }
    .Barra_link {
        margin-right: 2em;
    }

    .descricao {
        font-size: 15px;
    }

    .atuacao {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

}