body {
    background-color: var(--cor-fundo);
    font-family: var(--font-padrao);
}

h1 {
    color: var(--cor-primaria);
}

h4 {
    font-size: 18px;
    color: var(--cor-fundo-esc);
}

p {
    color: var(--cor-primaria);
    text-align: justify;
}

html {
    scroll-behavior: smooth;
}

& .link {
    text-decoration: none;
    color: var(--cor-primaria);
}

& .link:hover{
    text-decoration: none;
    color: var(--cor-fundo-esc);
}

.toolbar {
    background-color: var(--cor-secundaria);
    height: 4rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);

    position: fixed;
    width: 100%;
    z-index: 1000;

    & .toolbar-container {
        width: var(--largura-container);
        height: 100%;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;


        & .logo-marca {
            height: 100%;
            display: flex;
            align-items: center;
            gap: 8px;

            & .text-logo {
                height: 60%;
            }

            & .logo {
                height: 90%;
            }
        }

        & .navegacao {
            width: 45%;
            display: flex;
            justify-content: space-between;
        }
    }
}

main {

    & .inicio {
        background-color: var(--cor-fundo-esc);
        margin: auto;
        width: 100%;
        flex-wrap: wrap;
        display: flex;
        justify-content: center;

        padding-top: 4rem;

        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;

        & .inicio-container {
            width: 85%;
            max-width: var(--largura-container);
            display: flex;
            padding-bottom: 100px;
            padding-top: 100px;
            justify-content: space-between;
            align-items: center;

            & .text-inicio {
                width: 50%;
            }

            & .img {
                width: 45%;
            }

            & .img img {
                width: 100%;
                height: auto;
                border-radius: 10px;
            }
        }
    }

    & .impacto {
        & .title-impacto {
            width: 45%;
            text-align: center;
            padding: 20px;

            display: flex;
            justify-content: center;
            align-items: center;

            margin: 30px auto 0 auto;

        }

        & .cards {
            width: 100%;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 80px;
            margin-top: 4rem;
            padding: 40px 0;

            & .card1,
            & .card2,
            & .card3 {
                background-color: var(--cor-secundaria);
                width: 300px;
                padding: 25px;
                border-radius: 20px;
                text-align: center;
                transition: 0.3s ease;

                &:hover {
                    transform: translateY(-4px);
                    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
                }

                & .cont-card {
                    text-align: justify;
                    max-width: 70%;
                    margin: 20px auto 0 auto;
                    margin-bottom: 50px;
                }

                & .title-card {
                    margin-top: 20px;
                }
            }
        }

    }

    & .calculo {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 60px 0;

        & .calculo-container {
            width: 80%;
            max-width: 1000px;
            background-color: var(--cor-secundaria);
            padding: 40px;
            border-radius: 25px;
        }

        & h2 {
            text-align: center;
            margin-bottom: 40px;
        }

        & .calculo-conteudo {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 40px;
        }

        & .formulario {
            width: 45%;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        & input {
            padding: 10px;
            border-radius: 8px;
            border: 1px solid #ccc;
        }

        & button {
            margin-top: 15px;
            padding: 12px;
            border: none;
            border-radius: 8px;
            background-color: #3bb4d8;
            cursor: pointer;
            transition: 0.3s;
        }

        & button:hover {
            background-color: #2a9bbf;
        }

        & .resultado {
            width: 45%;
            text-align: center;
            padding: 25px;
            border-radius: 20px;
            transition: background-color 0.4s ease, transform 0.3s ease;

            &.verde {
                background-color: #c8f7c5;
            }

            &.amarelo {
                background-color: #fff3b0;
            }

            &.vermelho {
                background-color: #ffb3b3;
            }

            & .carregando {
                margin-top: 20px;
                display: flex;
                justify-content: center;
            }
        }

        & .resultado p {
            text-align: center;
        }



    }

    & .sobre {
        width: 100%;


        & .sobre-container {
            width: 100%;
            margin: auto;
            background-color: var(--cor-fundo-esc);
            border-top-left-radius: 50px;
            border-top-right-radius: 50px;
            padding: 50px;
            display: flex;
            justify-content: center;



            & .perfil {
                display: flex;
                align-items: center;
                gap: 100px;
            }

            & .avatar .img{
                width: 250px;
                height: 250px;
                display: flex;
                flex: 1;
                justify-content: center;
                align-items: center;
                box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
            }


            & .info {
                flex: 4;

                & .cargo {
                    font-size: 12px;
                    letter-spacing: 2px;
                    margin-bottom: 10px;
                }

                & .descricao {
                    margin: 20px 0;
                    max-width: 800px;
                }

                & .linha-div {
                    border: none;
                    height: 1px;
                    background-color: var(--cor-destaque);
                }

                & .dados {
                    display: flex;
                    gap: 50px;
                    margin-top: 20px;
                }

                & .dados div strong {
                    font-size: 18px;
                    display: block;
                }

            }


        }








    }






}

.nova-classe {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

& .footer {
    background-color: var(--cor-primaria);
    color: #a8c4c458;
    padding: 60px 0 20px 0;

    & .footer-container {
        width: 85%;
        max-width: 1100px;
        margin: auto;
        display: flex;
        justify-content: space-between;
        gap: 40px;
    }

    & .footer-col {
        width: 30%;

        & h3 {
            margin-bottom: 20px;
            font-size: 20px;
            letter-spacing: 1px;
        }

        & p {
            font-size: 14px;
            line-height: 1.6;
            color: #a8c4c447;
        }

        & ul {
            list-style: none;
            padding: 0;

            & li {
                margin-bottom: 10px;
                font-size: 14px;

                & a {
                    text-decoration: none;
                    color: #a8c4c458;
                    transition: 0.3s;

                    &:hover {
                        color: #ffffff;
                    }
                }
            }
        }
    }

    & .footer-bottom {
        width: 85%;
        max-width: 1100px;
        margin: 40px auto 0 auto;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
        text-align: center;
        font-size: 13px;
        color: #88a9a9;
    }
}

@media (max-width: 840px){
    .inicio-container{
        flex-direction: column;
    }

}

@media (max-width: 992px) {

    & .calculo .calculo-container {
        padding: 30px;
    }

    & .calculo .calculo-conteudo {
        gap: 25px;
    }

    & .calculo .formulario,
    & .calculo .resultado {
        width: 48%;
    }
    & .inicio .inicio-container {
        gap: 1.5rem;
    }

    & .inicio .text-inicio {
        width: 55%;
    }

    & .inicio .img {
        width: 40%;
    }
    
    & .sobre .perfil {
        gap: 50px;
    }

    & .sobre .avatar {
        width: 160px;
        height: 160px;
        font-size: 36px;
    }

    & .sobre .sobre-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {

    & .calculo .calculo-conteudo {
        flex-direction: column;
        gap: 30px;
    }

    & .calculo .formulario,
    & .calculo .resultado {
        width: 100%;
    }

    & .calculo .calculo-container {
        width: 90%;
        padding: 25px;
    }
    & .sobre .perfil {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    & .sobre .avatar {
        width: 140px;
        height: 140px;
        font-size: 32px;
    }

    & .sobre .info {
        flex: unset;
    }

    & .sobre .dados {
        justify-content: center;
        gap: 30px;
    }

    & .sobre .descricao {
        max-width: 100%;
    }
    & .inicio {
        
        min-height: auto; 
    }

    & .inicio .inicio-container {
        flex-direction: column;
        text-align: center;
    }

    & .inicio .text-inicio,
    & .inicio .img {
        width: 85%;
    }
}

@media (max-width: 480px) {

    & .calculo {
        padding: 40px 0;
    }

    & .calculo h2 {
        font-size: 1.4rem;
    }

    & .calculo .calculo-container {
        padding: 20px;
    }

    & .calculo button {
        padding: 10px;
    }
    & .inicio {
        padding-bottom: 200px;
    }

    & .inicio .inicio-container {
        gap: 1.5rem;
    }
    & .sobre .sobre-container {
        padding: 30px 20px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }

    & .sobre .dados {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
