/* GOOGLE FONTS */
@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');

/* ROOT */
html {
    font-size: 16px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

* {
    --main-color: #03995B;
    --secondary-color: #fff;
    --text: #000;
    --padding-y: 0 5% 0 5%;
    --padding-mobile: 0 5% 0 5%;
    --title: 24px;
    --paragraph: 14px;
    letter-spacing: -0.02em;
}

/* NAVEGAÇÃO */
.navigationContainer {
    padding: var(--padding-y);
    background-size: 100% 100%;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation img {
    width: 10%;
}

.navigation nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    overflow: none;
    text-align: center;
    justify-content: space-between;
}

.navigation nav ul li a {
    text-decoration: none;
    color: var(--main-color);
    font-size: 80%;
    font-weight: bold;
}

.here::before {
    content: "I";
    background-color: var(--main-color);
    margin-right: 5px;
    font-weight: 100;
}

.navigationMobile {
    display: none;
}


/* HERO */

.heroContainer {
    background-image: url(./midia/servicos-hero-image.png);
    background-size: cover;
    background-position: center;
    height: 584px;
    border-radius: 0 0 150px 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: var(--padding-y);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1, .hero h3 {
    color: var(--secondary-color);
}

.hero h1 {
    font-size: 74px;
    font-family: 'Poppins', sans-serif; font-weight: 900; letter-spacing: -0.03em;
    margin-bottom: 0;
    margin-top: 0;
}

.heroButtons {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
}

.buttonSolucoes {
    background-color: var(--main-color);
    color: var(--secondary-color);
    padding: 16px 60px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-justify: center;
    transition: 0.5s;
    cursor: pointer;
}

.buttonSolucoes:hover {
    transform: scale(1.05);
}

.buttonSolucoes:active {
    transform: scale(1);
}

.buttonCotacao {
    border: 2px solid white;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 16px 60px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-justify: center;
    transition: 0.5s;
    cursor: pointer;
}

.buttonCotacao:hover {
    transform: scale(1.05);
}

.buttonCotacao:active {
    transform: scale(1);
}


/* INFO CONTAINER */

.infoContainer {
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    margin-top: -60px;
    background-color: transparent;
}

.infoText {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 50px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    width: 900px;
    border-radius: 100px;
    background-color: var(--secondary-color);
}

.infoText img {
    width: 100px;
}

.infoText p {
    font-size: 16px;
    font-weight: bold;
}



/* SERVICES CONTAINER */

.servicesContainer {
    gap: 30px;
    margin-top: 100px;
    margin-bottom: 160px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.servicesContainer p {
    font-size: 16px;
}

.servicesFirstLine {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.servicesSecondLine {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 2;
    min-height: 150px;
}

.serviceDetails h2 {
    margin: 0;
    font-size: 16px;
    color: var(--main-color);
}

.serviceImg img {
    width: 140px;
    height: 140px;
    margin: 0;
}

.serviceImg {
    border: 2px solid var(--main-color);
    border-radius: 100px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.serviceDetails {
    position: absolute;
    width: 260px;
    top: 100px;
    opacity: 0;
}

.serviceAndDetail {
    position: relative;
    width: 100%;
}

.serviceAndDetail:hover {
    width: 100%;
    top: -50px;
    opacity: 1 !important;
}

.serviceAndDetail:hover > .serviceDetails {
    opacity: 1 !important;
    visibility: visible;
    transition: 2s;
}

.serviceAndDetail:hover .serviceImg img {
    transform: scale(0.5);
    top: -10px;
    left: -30px;
    position: absolute;
    transition: all 0.5s ease;
}

.serviceAndDetail:hover .serviceImg {
    border: none;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
}

.serviceAndDetail:hover .service p {
    opacity: 0;
}



/* FOOTER */

.footerOne {
    background-image: url(./midia/footer-bg.png);
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--padding-y);
    padding-top: 50px;
    padding-bottom: 50px;
}

.footerLogo img {
    height: 50px;
}

.footerText h2 {
    font-size: 60px;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif; font-weight: 800; letter-spacing: -0.02em;
    margin-top: 0;
}

.footerText p {
    font-size: 20px;
    color: var(--secondary-color);
}

.footerTwo {
    background-color: #001A2A;
    padding: var(--padding-y);
    padding-top: 50px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--secondary-color);
    gap: 460px;
}

.footerTwo h3 {
    font-size: 36px;
    font-family: 'Poppins', sans-serif; font-weight: 800; letter-spacing: -0.02em;
}

.footerTwo p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 50px;
}

.trabalheConoscoFooter {
    padding: 16px 90px;
    background-color: var(--main-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
}
  

/* SCROLL ANIM */

.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
}



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

    /* ROOT */
    html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body {
        padding: 0;
        margin: 0;
        font-size: 12px;
        width: 100%;
        max-width: 600px;
        overflow-x: hidden;
    }

    /* NAVIGATION MOBILE */
    .navigationContainer {
        padding: var(--padding-mobile);
        display: flex;
        height: 50px;
    }
    
    .navigation {
        display: none;
    }

    /* Configuração do menu mobile */
    .navigationMobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px;
        position: relative;
    }

    /* Estilização do logotipo */
    .navigationMobile img {
        width: 120px; /* Ajuste conforme necessário */
    }

    /* Ícone do menu hambúrguer */
    .navigationMobile div p {
        font-size: 30px;
        cursor: pointer;
        color: var(--main-color);
        margin: 0;
        user-select: none;
    }

    /* Oculta o menu por padrão */
    .navigationMobile nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 10px;
        background: white;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 10px;
        width: 150px;
    }

    /* Exibe o menu quando ativo */
    .navigationMobile nav.active {
        display: block;
    }

    /* Estilização dos links do menu */
    .navigationMobile nav p {
        margin: 0;
        padding: 10px 15px;
        text-align: left;
    }

    .navigationMobile nav p a {
        text-decoration: none;
        color: var(--main-color);
        font-size: var(--paragraph);
        font-weight: bold;
        display: block;
    }


    /* HERO MOBILE */

    .heroContainer {
        padding: var(--padding-mobile);
        height: 260px;
        border-radius: 0 0 50px 50px;
    }

    .hero h1 {
        font-size: 20px;
        font-family: 'Poppins', sans-serif; font-weight: 800; letter-spacing: -0.02em;
    }

    .hero h3 {
        font-size: 10px;
        width: 400px;
    }

    .heroButtons {
        gap: 30px;
    }

    .buttonSolucoes {
        padding: 10px 30px;
        font-size: 12px;
        text-align: center;
    }

    .buttonCotacao {
        padding: 10px 30px;
        font-size: 12px;
        text-align: center;
    }


    /* INFO CONTAINER MOBILE*/


    .infoContainer {
        margin-top: -20px;
    }


    .infoText {
        gap: 12px;
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
        width: fit-content;
        border-radius: 50px;
        background-color: var(--secondary-color);
        padding: 10px 16px;
    }

    .infoText img {
        width: 50px;
        height: auto;
    }
    
    .infoText p {
        font-size: 8px;
        width: 270px;
    }

    /* SERVICES MOBILE */

    .servicesContainer:hover {
        pointer-events: none !important;
    }
    

    .servicesContainer {
        padding: var(--padding-mobile);
    }

    .serviceImg {
        padding: 10px;
    }

    .serviceImg img {
        width: 50px;
        height: auto;
        margin: 0;
    }

    .service {
        padding: 0;
    }

    .service p {
        display: none;
    }

    .servicesFirstLine, .servicesSecondLine {
        display: flex;
        flex-direction: column;
    }

    .serviceAndDetail {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        align-items: start;
    }


    .serviceDetails {
        opacity: 1;
        position: relative;
        top: 0;
        left: 0;
    }

    .serviceDetails p {
        font-size: var(--paragraph);
    }






    /* FOOTER MOBILE */

    .footerOne {
        background-position: center;
        background-size: cover;
    }

    .footerLogo img {
        width: 70px;
        height: auto;
    }


    .footerTwo {
        gap: 30px;
        display: flex;
        flex-direction: column;
    }

    .footerText h2 {
        font-size: 18px;
    }

    .footerText p {
        font-size: var(--paragraph);
    }

    .footerTwo h3 {
        font-size: var(--title);
    }

    .footerTwo p {
        font-size: var(--paragraph);
    }

}