html, body {
    padding: 0;
    margin: 0;
}



header {
    background-color: white;
    min-height: 100px;
    box-shadow: 3px 3px 14px rgba(0, 0, 0, 0.108);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0; /* Fixa no topo */
    z-index: 99999999; /* Garante que fique acima do conteúdo */
}


header div {
    width: 50%;
    display: flex;
    align-items: center;
    color: #0E4F8F;
}

header div img {
    width: 140px;
    padding: 10px;
    margin-left: 25px;
}

nav {
    font-size: 20px;
    display: flex;
    justify-content: center;
    gap: 4%;
    align-items: center;
    width: 50%;
}

#menu-toggle {
    display: none;
    font-size: 45px;
    text-align: right;
    cursor: pointer;
    margin-right: 20px;
}

#dropdown-menu {
    display: none;
    position: absolute;
    top: 100px;
    right: 0;
    background: white;
    width: 100%;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

#dropdown-menu ul {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
    list-style: none;
    margin-bottom: 0;
}

#dropdown-menu li {
    margin: 10px 0;
    border-bottom: 1px solid rgb(204, 204, 204);
}

nav li {
    list-style: none;
}

header a {
    text-decoration: none;
    color: rgb(86, 86, 86);
}

a:hover {
    color: #2286eb;
}

.peca-cotacao {
    background-color: rgb(55, 140, 224);
    color: rgb(255, 255, 255);
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
    padding: 7px 12px;
}

.peca-cotacao:hover {
    background-color: rgba(58, 58, 58, 0.947);
    color: rgb(222, 222, 222);
}



@media (max-width: 1227px) {
    header nav, header h4 {
        font-size: 18px;
    }

    header div img {
        width: 100px;
    }

    nav {
        width: 70%;
    }
}


@media (max-width: 948px) {
    nav li {
        display: none;
    }

    nav #menu-toggle {
        display: block;
    }

    header div {
        width: 100%;
    }

    header div img {
        margin: 0;
    }
    header div h4 {
        font-size: 17px;
    }
}




.parallax {
    background-image: url('images/cobertura1.jpg'); /* Sua imagem aqui */
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative; /* Importante para alinhar o título */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-shadow: 2px 2px 2px black;
    text-align: center;
}

.parallax h1 {
    font-size: 60px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0); /* Fundo escuro transparente */
    padding: 20px;
    filter: brightness(100%);
    border-radius: 10px;
}

@media (max-width: 1020px) {
    .parallax h1 {
        font-size: 45px;
    }
}

@media (max-width: 750px) {
    .parallax h1 {
        font-size: 35px;
    }
}

@media (max-width: 450px) {
    .parallax h1 {
        font-size: 30px;
    }

    .parallax {
        background-attachment: scroll; /* Trocar para scroll */
    }
}





.title-home {
    width: 100%;
    height: 113px;
    overflow: hidden;
    position: relative;
    margin-bottom: 55px;
    background: linear-gradient(to bottom, rgb(204, 230, 255), #ffffff);
    }

.title-home img {
    width: 100%; /* Ajusta à altura do container */
    height: auto;
}

.title-home h2 {
    position: absolute;
    left: 50%;
    top: 80%;
    padding-bottom: 10px;
    transform: translate(-50%, -50%);
    color: black;
    text-align: center; /* Garante que o texto fique centralizado */
    white-space: nowrap; /* Evita que o texto quebre para outra linha */
}

.title-home hr {
    position: absolute;
    width: 200px; 
    margin: 0 auto; 
    border: 4px solid rgb(0, 108, 217);
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
}





.servicos-home {
    width: 420px;
    height: 400px;
}

.servicos-home img {
    width: 100%;
    border-radius: 10px;
}

.servicos-home video {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    width: 100%;
}



.cards {
    display: flex;
    justify-content: center;
    gap: 1%;
    padding: 10px;
    min-height: 700px;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
}

@media (max-width: 1218px) {
    .cards {
        font-size: 15px;
        align-items: center;
    }
    .cards p {
        display: none;
    }
 
    .servicos-home{
        display: flex;
        align-items: center;
    }
 }

@media (max-width: 780px) {
    .cards {
        display: block;
        margin: 0 auto;
    }
    .servicos-home {
        width: 80%;
        align-items: start;
        justify-content: center;
        height: auto;
        margin-bottom: 15px;
        margin: 0 auto 15px auto;
    }

    #servicos-video {
        display: none;
    }
}




/* Seção branca (conteúdo principal) */
.design-cobertura {
    text-align: center;
    padding: 0px 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 0; /* Remove a margem negativa */
    border-radius: 5% 5% 20% 20%; /* Cria a curvatura para baixo */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04);
}

.design-cobertura div {
    border-radius: 14px; 
    padding: 20px; 
    margin: 0 auto;
}

.design-cobertura p {
    font-size: 100%; 
    color: rgb(121, 121, 121);
    height: auto;
}



/* Estilização do botão */
.button-whatsapp {
    background: black;
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 20px;
    border: 3px solid white;
}

.button-whatsapp:hover {
    background-color: white;
    color: rgb(17, 179, 17);
    border: 3px solid rgb(17, 179, 17);
}

.img-carousel-sombra {
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.501);
}



.teste {
    padding: 20px;
    background: linear-gradient(to bottom, rgb(255, 255, 255), #c9ecff7c);
    height: 100px;
}














.descrition {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    min-height: 600px;
    padding: 10px;
}

.card-descricao-servico > div {
    position: relative;
    z-index: 1;
    width: 370px;
    height: 300px;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: center;
    text-align: center;
    padding-top: 15px;
    color: white;
    position: relative;
    z-index: 2;
}

.card-descricoes {
    border-radius: 6px;
    position: relative;
    background-size: cover;
    background-position: center;
    
}

.card-descricoes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.309); /* Aumente para 0.7 se precisar */

}

#card-descricao1 {
    background-image: url("images/descricoes/descricao1.webp");
}

#card-descricao2 {
    background-image: url("images/descricoes/descricao2.webp");
}

#card-descricao3 {
    background-image: url("images/descricoes/descricao3.webp");

}

#card-descricao4 {
    background-image: url("images/descricoes/descricao4.webp");

}


@media (max-width: 1610px) {
    .card-descricao-servico > div {
        width: 380px;
    }
}

@media (max-width: 1240px) {
    .card-descricao-servico > div {
        width: 390px;
    }
}

@media (max-width: 852px) {
    .card-descricao-servico > div {
        width: 350px;
    }
}

@media (max-width: 368px) {
    .card-descricao-servico > div {
        width: 300px;
    }
}





.card-descricao-servico > div button {
    display: none;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #0C4E8E;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}



.card-descricao-servico > div button:hover {
    background-color: #5a8fc5;

}

.card-descricao-servico > div button {
    display: none;
}

.card-descricao-servico p {
    width: 320px;
    font-size: 17px;
    margin: 0;
}


svg {
    display: block;
    width: 60px; /* Ajuste conforme necessário */
    height: 60px; /* Ajuste conforme necessário */
    margin-bottom: 10px;
    margin: 0 auto 20px auto;
}

/* Efeito ao passar o mouse */
@media (min-width: 600px) {
    .card-descricao-servico > div:hover {
        width: 400px;
        height: 350px;
    }
    .card-descricao-servico > div:hover button {
        display: block;
    }
}



#orcamento {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999999;
}   

#orcamento img {
    width: 80px;
    text-shadow: 2px 2px 10px black;
}

#orcamento:hover {
    filter: brightness(0.7);

}
















footer {
    position: relative;
    height: auto; /* Ajuste conforme necessário */
    color: rgb(219, 219, 219);

}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/cobertura2.jpg'); /* Troque pelo caminho da sua imagem */
    background-size: cover;
    background-position: center;
    filter: brightness(0.3); /* Reduz o brilho */
    z-index: -1; /* Mantém a imagem no fundo */
}

.footer-content {
    position: relative; /* Garante que o texto fique acima da imagem */
    z-index: 1;
    padding: 40px 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom {
    height: 40px;
    background-color: rgb(33, 33, 33);
    width: 100%;
}







.sobre-nos {
    max-width: 550px;
    text-align: left;
    color: #e4e4e4;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


.sobre-nos img {
    width: 120px;
    filter: brightness(0.7);
    margin-bottom: 10px;
}



.sobre-nos-text {
    display: flex;
    gap: 3%;
    align-items: center;
}

@media (max-width: 395px) {
    .sobre-nos-text {
        display: block;
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}












.nossos-servicos {
    text-decoration: none;
    background-color: rgb(43, 43, 43);
    text-align: center;
    padding: 5px 12px;
    border: 1px solid white;
    border-radius: 3px;
    color: rgb(230, 230, 230);
}




.fale-conosco {
    color: #e4e4e4; 
    border-radius: 10px;
    width: 350px; 
    font-family: Arial, sans-serif;
    text-align: left;
}

.fale-conosco a {
    text-decoration: none;
    color: #e4e4e4; /* Texto branco para contraste */

}


footer h4 {
    font-size: 22px;
    color: #187bdf; /* Cor do título */
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    min-height: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.info-item svg {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-right: 10px;
    width: 20px;
    color: #e4e4e4; /* Cor dos ícones */
}

.info-item p {
    margin: 0;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
}


.localizacao {
    width: 350px;
    height: 350px; 
    overflow: hidden;

}


.localizacao iframe {
    width: auto; 
    height: 450px; 
    border:0;

}