#como-funciona{
    display:flex;
    flex-direction: column;
    gap: 3rem;
}


#topo-cf{
justify-items: center;
width: 40rem;
height: 11rem;
gap: 9rem;
margin: 6rem auto 0;
}

.titulo-cf{
    font-size: 2.5em;
    font-weight: 400;
    line-height: 125%;
    letter-spacing: -2%;
    margin: 0;
}

.titulo-cf span{
    font-weight: 600;
}

#topo-cf p{
    text-align: center;
    color: #7D888F;
    font-weight: 400;
    font-size: 1em;
    line-height: 139%;
    letter-spacing: -2%;
    margin: 0;
}

.passo{
    display: flex;
    width: 80rem;
    height: 32rem;
    margin: 0 auto;
}

#right{
    display: flex;
    flex-direction: row-reverse;
}
.img-passo{
    margin: 0;
    width: 40rem;
    height: 32rem;
}

.img-passo img{
    width: 40rem;
    height: 32rem;
    border-radius: 1.5rem;
}

.content-como-func{
    display: flex;
    flex-direction: column;
    width: 40rem;
    height: 17rem;
    gap: 2.25rem;
    margin: auto 0;
}


.content-como-func h3{
    font-weight: 400;
    font-size: 3em;
    line-height: 125%;
    letter-spacing: -2%;
    margin: 0;
}

.content-como-func h3 span{
    font-weight: 600;
}

.content-como-func p{
    font-weight: 400;
    font-size: 1.25em;
    line-height: 139%;
    letter-spacing: -2%;
    color:#7D888F ;
    margin: 0;
}

#final{
    display: flex;
    background-image: url(../imagens/img-final.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 78rem;
    height: 30rem;
    margin: 7rem auto;
    border-radius: 2rem;
}

.content-final{
    width: 36rem;
    height: 18rem; 
    margin:3rem 0 3rem 3rem;
    gap: 2.25rem;
     color: #F8FBFC;
}

.content-final h3{
    font-weight: 400;
    font-size: 3em;
    line-height: 125%;
    letter-spacing: -2%;
    margin: 0;
}

.content-final h3 span{
    font-weight: 600;
}

.content-final p{
    font-weight: 400;
    font-size: 1.25em;
    line-height: 139%;
    letter-spacing: -2%;
}

.btn-primary{
  /* animação suave apenas em largura */
    transition: transform 0.3s ease-in-out;
    transform-origin: center; 
}

#final .content-final a.btn-primary:hover {
    background-color: #2da7ee;
    transform: scaleX(1.05); 
    box-shadow: 0 4px 12px rgba(163, 163, 163, 0.253);
}


@media( min-width:2561px){
.passo{
    display: flex;
    width: 100rem;
    height: 40rem;
    justify-content: space-between;
}

.img-passo{
    margin: 0;
    width: 40rem;
    height: 40rem;
}

.img-passo img{
    width: 60rem;
    height: 40rem;
    border-radius: 1.5rem;
}

#final{
    display: flex;
    justify-content: space-between;
    
    width: 120rem;
    height: 40rem;
    margin: 7rem auto;
}

#final img{
    width: 60rem;
}

.content-final{ 
    margin:10rem 0 6rem 8rem;
}

.content-final h3{
    font-size: 2.8em;
}

}

@media (max-width: 1025px) { 
.passo{
    width: 60rem;
}

.img-passo img{
    margin: 0;
    width: 35rem;
    height: 28rem;
}

.content-como-func{
    gap: 1.5rem;
}

.content-como-func h3{
    font-size: 1.9em;
}

.content-como-func p{
    font-size: 1em;
}

#final{
    margin: 4rem auto;
    width: 55rem;
    height: 24rem;
}

#final img{
    width: 30rem;
}

.content-final{
    width: 36rem;
    height: 18rem; 
    margin:5rem 0 5rem 3rem;
}

.content-final h3{
    font-weight: 400;
    font-size: 1.7em;
}

.content-final h3 span{
    font-weight: 600;
}

.content-final p{
    font-size: 1em;
}

}


@media (max-width: 769px) { 
 .passo{
    display: flex;
    width: 40rem;
    height: 20rem;
}

.img-passo{
    width: 20rem;
    height: 20rem;
    margin-right: 3rem;
}

.img-passo img{
    margin: 0;
    width: 23rem;
    height: 20rem;
}

.content-como-func{
    gap: 1rem;
    display: flex;
    justify-content: center;
}

.content-como-func h3{
    font-size: 1.5em;
}

.content-como-func p{
    font-size: 0.7em;
}

#final{
    margin: 4rem auto;
    width: 40rem;
    height: 18rem;
    justify-content: space-between;
}

#final img{
    width: 20rem;
}

.content-final{
    width: 13.8rem;
    height: 18rem; 
    margin:2rem 0 2rem 3rem;
}

.content-final h3{
    font-weight: 400;
    font-size: 1.4em;
}

.content-final h3 span{
    font-weight: 600;
}

.content-final p{
    font-size: 0.8em;
}



}

@media (max-width: 426px) { 

#como-funciona{
    gap: 13rem;
}

#topo-cf{
width: 100%;
margin-bottom: 7rem;
}

.titulo-cf{
    font-size: 2em;
}


#topo-cf p{
    width: 80%;
}

.passo{
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    width: 100%;
}

#right{
    flex-direction: column-reverse;
}

.content-como-func{
    width: 90%;
    gap: 1rem;
    display: flex;
    align-items: center;
}

.content-como-func h3{
    font-size: 2em;
}

.content-como-func p{
    font-size: 1em;
}

#final{
    margin: 4rem auto;
    width: 90%;
    height: 38rem;
    justify-content: space-between;
    flex-direction: column;
}

#final img{
    width: 22rem;
    margin-left: auto;
}

.content-final{
    margin: 0;
    margin: 4rem auto 0 auto;
    width: 80%;
}

.content-final h3{
    font-weight: 400;
    font-size: 1.5em;
    text-align: center;
}

.content-final h3 span{
    font-weight: 600;
}

.content-final p{
    font-size: 0.9em;
    text-align: center;
}

.footer-content-final{
    display: flex;
    justify-content: center;
}

.footer-content-final a {
    margin-top: 2rem;
}

}

@media (max-width: 376px) { 

    #como-funciona{
    gap: 16rem;
}
  
}
