@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Estilos Gerais */
header {
    width: 100%;
    padding: 2rem 15rem;
    display: flex;
    justify-content: space-between;
    background-color: rgb(7, 94, 207);
    color: white;
}

.navegacao {
    display: flex;
    align-items: center;
}

ul {
    display: flex;
}

li {
    list-style: none;
    margin: 0 20px;
}

.a-orcamento {
    color: #007bff;
    text-decoration: none;
}

li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
}

li a:hover {
    color: rgba(132, 200, 255, 0.76);
}

.inicio {
    position: relative;
    width: 100%;
    height: 60vh;
    background-image: url('../assets/foto.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: white;
}

.inicio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(35, 58, 107, 0.5), rgba(35, 59, 109, 0.5))
}

.inicio-conteudo {
    position: relative;
    z-index: 1;
}

.titulo-conteudo {
    font-size: 3.5rem;
    line-height: 4rem;
    margin: 0;
}

.subtitulo-inicio {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.btn-orcamento {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: #007bff;
    border: none;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.btn-orcamento:hover {
    background-color: rgb(241, 241, 241);
}

.main-servicos {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.servicos h2 {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
}

.servicos p {
    font-size: 1em;
    color: #666;
    margin-top: 1rem;
    margin-bottom: 30px;
}

.caixas {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.projeto {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    max-width: 320px;
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.projeto:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.projeto img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.projeto h3 {
    text-align: center;
}

.projeto p {
    font-size: 1em;
    color: #444;
    margin: 0 15px 15px;
}

.img-projetos {
    width: 20rem;
}

.motivo {
    margin-top: 5rem;
    background-color: #b5d3ec44;
    display: flex;
    justify-content: center;
    padding: 5rem 10rem;
    gap: 100px;
}

.motivo img {
    width: 550px;
    height: 400px;
    object-fit: cover;
    border-radius: 1.5%;
}

.motivo h2 {
    font-size: 2.3rem;
}

.subtitulo-lista {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.btn-projetos {
    margin-top: 2rem;
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    border: 0.5px solid rgb(206, 206, 206);
    font-size: 1em;
    border-radius: 5px;
    font-weight: 450;
    cursor: pointer;
}

.btn-projetos a {
    text-decoration: none;
    color: #000;
}

.btn-projetos:hover {
    background-color: rgb(248, 248, 248);
}

footer {
    margin-top: 3rem;
    padding: 5rem 10rem;
    background-color: rgba(241, 241, 241, 0.349);
}

footer p {
    color: #666;
}

.container-footer {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.direitos {
    text-align: center;
    margin-top: 1rem;
}

/* Media Queries para dispositivos móveis */
@media (max-width: 768px) {
    header {
        padding: 1rem 3rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navegacao {
        margin-top: 1rem;
        flex-direction: column;
    }

    .mobile-menu-icon {
        display: block;
    }

    ul {
        flex-direction: column;
        align-items: center;
    }

    li {
        margin: 10px 0;
    }

    .inicio {
        height: 50vh;
    }

    .inicio-conteudo {
        text-align: center;
    }

    .titulo-conteudo {
        font-size: 2.5rem;
    }

    .subtitulo-inicio {
        font-size: 1rem;
    }

    .btn-orcamento {
        font-size: 0.9rem;
    }

    .servicos p {
        text-align: center;
    }

    .caixas {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .projeto {
        width: 90%;
        max-width: none;
        margin-bottom: 20px;
    }

    .motivo {
        flex-direction: column;
        padding: 3rem;
        gap: 30px;
    }

    .motivo img {
        width: 100%;
        height: auto;
    }

    .servicos h2 {
        font-size: 1.8em;
    }

    .servicos p {
        font-size: 0.9em;
    }

    .btn-projetos {
        font-size: 0.9rem;
    }

    footer {
        padding: 3rem 1rem;
    }

    .container-footer {
        flex-direction: column;
        align-items: center;
    }

    .container-footer div {
        margin-bottom: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .titulo-conteudo {
        font-size: 2rem;
    }

    .subtitulo-inicio {
        font-size: 0.9rem;
    }

    .btn-orcamento {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .servicos h2 {
        font-size: 1.5em;
    }

    .btn-projetos {
        font-size: 0.8rem;
    }

    footer {
        padding: 3rem 1rem;
    }

    .container-footer {
        flex-direction: column;
        align-items: center;
    }
}