@media (max-width: 400px) {

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .slogan {
        font-size: 22px;
        text-align: center;
    }
    
    .empresas {
        transform: translateX(-70px);
    }

    .text-sobre {
        margin: 50px;
    }
    
    .text-sobre h1 {
        font-size: 27px;
    }

    .img-hover-2 {
        transform: translateY(-250px);
    }

    .projects h1{
        font-size: 40px;
    }

        .number {
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    }

    .numbers h1 {
        margin-top: 250px;
        font-size: 20px;
    }


}

@media (max-width: 500px) {
    .text-sobre {
    margin: 20px;
}

.text-sobre {
        transform: translateX(-20px);
    }

.image-left {
    transform: translateX(-18px);
}

.text-sobre h1 {
    font-size: 24px;
}

.img-hover-2 {
        margin-top: -1230px !important;
    }

.empresa-3 .img-hover {
        margin-top: 100px !important;
        margin-bottom: -80px;
    }
}

@media (max-width: 450px) {
    .text-sobre {
    margin: 40px;
}

.text-sobre {
        transform: translateX(-40px);
    }

.image-left {
    transform: translateX(-42px);
}

.text-sobre h1 {
    font-size: 24px;
}

.img-hover-2 {
        margin-top: -1260px !important;
    }

.empresa-3 .img-hover {
        margin-top: 100px !important;
        margin-bottom: -80px;
    }

    .button-info {
        transform: translateX(-40px);
    }
}

@media (max-width: 400px) {

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .slogan {
        font-size: 22px;
        text-align: center;
    }
    
    .empresas {
        transform: translateX(-30px);
    }

    .text-sobre {
        margin: 50px;
    }
    
    .text-sobre h1 {
        font-size: 27px;
    }

    .img-hover-2 {
        margin-top: -1350px !important;
    }

    .projects h1{
        font-size: 40px;
    }

        .number {
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    }

    .numbers h1 {
        margin-top: 250px;
        font-size: 20px;
    }


}

@media (max-width: 370px) {

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }


    /* Estilos para smartphones pequenos */
    .mobile-menu-icon {
        position: relative;
        transform: translateX(-310px);
    }

    .slogan {
        font-size: 22px;
        text-align: center;
    }
    
    .text-sobre {
        margin: 60px;
        transform: translateX(-10px);
    }

        .empresa-2 {
        transform: translateX(-0px);
    }

    .infos-empresa {
        transform: translateX(-0px);
    }

    .img-hover-2 {
        transform: translateY(-180px);
    }

        .button-info {
        transform: translateX(-10px)!important;
    }

        .number {
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    }

    .numbers h1 {
        margin-top: 250px;
        font-size: 20px;
    }

    .cliente-10 {
        transform: translateX(45px) ;
    }

}

@media (max-width: 360px) {

html, body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Estilos para smartphones pequenos */
.mobile-menu-icon {
    position: relative;
    transform: translateX(-320px);
}


.text-sobre {
    margin: 80px;
}

.text-sobre {
        transform: translateX(-20px);
    }

.text-sobre h1 {
    font-size: 24px;
}

.img-hover-2 {
        transform: translateY(-250px);
    }


    .links {
        display: flex;
        gap: 170px;
    }

    .whatsapp-btn  img{
        width: 40px;
        height: 100%;
    }

        .empresa-2 {
        transform: translateX(-50px)!important;
    }

    .infos-empresa {
        transform: translateX(-50px);
    }

    .button-info {
        transform: translateX(-10px)!important;
    }

}


@media (max-width: 380px) {
    .mobile-menu-icon {
        position: relative;
        transform: translateX(-300px);
    }

    .text-sobre {
        margin: 50px;
        transform: translateX(-5px);
    }

    .slogan {
        font-size: 22px;
        
        text-align: center;
    }

        .empresa-2 {
        transform: translateX(-0px);
    }

    .infos-empresa {
        transform: translateX(-50px);
    }

        .button-info {
        transform: translateX(-10px)!important;
    }

        .number {
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    }

    .numbers h1 {
        margin-top: 250px;
        font-size: 32px;
    }
}


@media screen and (max-width: 700px) {

    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /*----- HEADER -----*/

    header {
        padding:  14px 10px;
    }

    .nav-item {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
        position: relative;
        margin-left: -510px;
        margin-top: 20px;
    }

    .mobile-menu-icon button {
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .slogan {
        font-size: 22px;
        text-align: center;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 1rem;
    }

    .mobile-menu .nav-item {
        display: block;
        padding-top: 1.2rem;
    }
    
    .open {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.5s ease-in-out;
    }

    .mobile-menu ul {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around; /* Distribui os links uniformemente */
        align-items: center;
        padding: 0;
        margin: 0;
    }
    
    /* 🔹 Itens do menu */
    .mobile-menu .nav-item {
        list-style: none;
        width: 100%;
        text-align: center;
    }
    
    /* 🔹 Links do menu */
    .mobile-menu .nav-link {
        display: block;
        width: 100%;
        padding: 20px 0; /* Adiciona espaçamento */
        font-size: 24px;
        color: white;
        text-decoration: none;
        transition: background 0.3s ease-in-out;
    }

    .mobile-menu .nav-link:hover {
        transform: scale(1.1); /* Efeito ao passar o mouse */
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .close-menu img {
        width: 36px;
        height: 36px;
    }

    .open {
        transform: translateY(0);
    }

    /*----- EMPRESAS -----*/
    .empresas {
    margin-top: 80px;
    margin-bottom: 80px;
    margin-left: 335px;
    flex-direction: column;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: center;
    }

    .empresa-1 {
        margin-right: 335px;
        display: flex;
        flex-direction: column;
    }

    .empresa-1 img {
        width: 450px;
        height: auto; 
    }

    .empresa-2 {
        margin-right: 335px;
        display: flex;
        flex-direction: column;
    }

    .empresa-2 img {
        margin-top: -1350px;
        position: absolute;
        width: 450px;
        z-index: 1;
        height: auto;
        transform: translateX(-220px);
    }

    .empresa-2 .text-sobre{
        position: relative;
        margin-top: 620px;
    }


    .empresa-3 {
        margin-right: 335px;
        display: flex;
        flex-direction: column;
    }

    .empresa-3 img {
        width: 450px;
        height: auto; 
    }

    .empresas h1 {
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .button-info {
    justify-content: center;
    align-items: center;
    display: flex;
    }

    /*----- PROJETOS -----*/
    .container-slider {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 80px; 
    }

        .projects h1 {
        font-size: 32px;
    }

    .number {
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
    top: -0px ;
    }

    .logo-maior {
        position: relative;
        top: -130px;
    }

    .whatsapp-btn {
        position: relative;
        margin-left: -900px;
    }
}

@media screen and (max-width: 1600px) {

    header {
        padding-inline: 150px;
    }

    .nav-bar {
        gap: 523px;
    }

    .empresas {
        display: flex;
        padding: 195px 200px;
    }

    .whatsapp-btn {
        position: relative;
        margin-left: 190px;
    }
}

@media screen and (max-width: 1400px) {

header {
    padding-inline: 100px;
}

.nav-bar {
    gap: 423px;
}

.empresas {
    display: flex;
    padding: 195px 100px;
}

.whatsapp-btn {
    position: relative;
    margin-left: -20px;
}
}