@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

* {
    padding: 0;
    margin: 0;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    box-sizing: border-box;
}

:root {
    --primary-color: #005C8F;
    --secudary-color: #F1C400;
    --panel-color: #F3F9FF;
    --card-color: #014AB0;
}
.color-yellow{
    color: var(--secudary-color);
}


header {
    display: flex;
    padding: 10px;
    color: var(--primary-color);
    justify-content: space-between;
    width: 90%;
    margin: auto;
    box-shadow: 1px 2px 7px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    position: relative;
    width: 100%;
    padding: 10px 5vw;


}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.3em;
    gap: 2%;
    font-weight: 800;

}

.logo>img {
    width: 10%;
}

.menu {
    align-items: center;
    display: flex;
    gap: 30px;
}

.menu>li {
    list-style-type: none;
    padding: 3px 8px;

}

.menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.1em;
}

.menu a:hover {
    color: var(--secudary-color);

}

.inicial {
    background-image: url("/img/bodybg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: space-between;

}


.apresentation {
    display: flex;
    flex-direction: column;
    padding: 12% 5%;

}
.apresentation h1{
    font-size: 2.3em;

}

 /* Efeito de escrita*/
 @keyframes typing {
    from { width: 0; }
    to { width: 95%; }
}



.typing {
    display: flexbox;
    font-size: 1.4em;
    line-height: 1.2;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    border-right: .15em solid black;
    width: 0;
    animation: typing 2s steps(40, end) forwards, blink-caret .75s step-end infinite;
}

.apresentation {
    flex-basis: 50%; /* Define a largura da área de apresentação (texto) */
    max-width: 50%; /* Garante que o texto não ocupe mais da metade da tela */
}



.chamada {
    background-color: var(--secudary-color);
    padding: 2%;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 10px;
    width: 60%;
    margin-top: 15px;
    text-align: center;
    color: white;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.chamada:hover{
    /* background-color: #c19e02; */
    background-color: #0771C7;
}

.chamada a {
    text-decoration: none;
    color: white;


}
.img-mobile{
    display: none;
}
.img-main {
    width: 50%;
    height: 77vh;

    -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;

}

.motivation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    background-color: var(--panel-color);
}

.question {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.question>h1 {
    font-size: 2em;
}

.question>p {
    font-size: 1.25em;
    font-weight: 400;
}

.content-cards {
    display: flex;
    gap: 25px;
    padding: 5%;
}

.card {
    background-color: var(--card-color);
    color: #fff;
    padding: 35px;
    border-radius: 15px;
    font-size: 1.3em;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.btn-chamada {
    padding: 20px;
    color: #fff;
    font-size: 1.15em;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    width: 25%;
    text-align: center;
    text-decoration: none;
    background-color: #F1C400;
}

.btn-chamada:hover{
    background-color: #014AB0;
}

.diferenciais {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: var(--panel-color);
}

.content-function {
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.function-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 30px;
}

.function-item img {
    width: 40%;
}

.mobilidade{
    display: flex;
    align-items: center;
    background-color: #014AB0;
    justify-content: center;
}
.content-mobilidade{
    display: flex;
    justify-content: space-between;
}
.content-mobilidade img{
    width: 22%;
}
.conteudo-mobilidade{
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
    gap: 20px;
}
.conteudo-mobilidade h1{
    font-size: 2.2em;
}
.conteudo-mobilidade p{
    font-size: 1.3em;
    font-weight: 500;
}
.function-item p{
    font-size: 1.3em;
    font-weight: 500;
}
.function-item img{
    width: 30%;
}

@media (min-width: 700px) and (max-width: 800px) {
    .menu{
        display: none;
    }
    .inicial{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    @keyframes typing {
        from { width: 0; }
        to { width: 100%; }
    }
    .apresentation{
        max-width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: none;
    }
    .apresentation h1{
        font-size: 1.6em;
    
    }
    .img-main{
        display: none;
    }
    .img-mobile{
        display: block;
        width: 100%;
    }
    .chamada {
        border-radius: 10px;
        width: 70%;
    }

    .content-cards{
        flex-direction: column;
    }
}

@media (min-width: 300px) and (max-width: 699px) {
    header{
        margin-left: 0;
    }
    .inicial{
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    @keyframes typing {
        from { width: 0; }
        to { width: 100%; }
    }
    .hamburger{
        position: absolute;
        right: 12px;
        top: 25px;
    }
    .apresentation{
        max-width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 0 0 0;
        
    }
    .apresentation h1{
        font-size: 1.4em;
        color: #0771C7;
    
    }
    .img-main{
        display: none;
    }
    .img-mobile{
        display: block;
        width: 100%;
        padding-top: 50px;
    }
    .chamada {
        border-radius: 10px;
        width: 80%;
    }

    .content-cards{
        flex-direction: column;
        padding: 20px 0px;
    }
    .content-mobilidade{
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 5px;
    }
    .conteudo-mobilidade{
        display: flex;
        width: 100%;
        padding: 50px 20px;


    }

    .conteudo-mobilidade p{
        text-align: justify;
    }
    .model-mobile{
       display: none;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: white;
        border: 1px solid #ccc;
        padding: 10px;
        width: 150px;
    }

    .menu.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
    
    .content-function{
        display: flex;
        flex-direction: column;
    }

    .card{
        padding: 20px;
        font-size: 1.1em;
    }
    .diferenciais{
        gap: 5px;
    }
    .motivation{
        padding: 20px;
    }

    .function-item{
        padding: 5px;
    }
    .function-item p{
        padding: 5px;
        padding-bottom: 15px;
        font-size: 0.9em;
    }
    .function-item img{
        width: 30%;
    }
    .title-mobile{
        font-size: 2em !important;

    }
    .img-woman{
        display: none;
    }
    .btn-chamada{
        width: 100%;
        padding: 15px;
        text-align: center;
        text-decoration: none;
        background-color: var(--secudary-color);
    }
}