#passo-a-passo{
    display: grid;
    height: max-content;
    align-items: center;
    gap:0 50px;
    margin-top: -40px;
}
.passo-conteudo{
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    height: max-content;
}
.passo-menu{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px; 
    border-radius: 999px;
    background-color: var(--green-100);
}
.passo-img{
    width: 100%;
    height: 430px;
    overflow: hidden;
    grid-column: 1/2;
    grid-row: 1/2;
    border-radius: 30px;
}
.passo-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}
.ct-passo-txt{
    display: grid;
    overflow: hidden;
    transition: height 1s;
    transition-timing-function: linear(0, 0.034 1.5%, 0.135 3.2%, 0.692 9.4%, 0.912 12.4%, 1.052 15.4%, 1.095 17%, 1.121 18.7%, 1.13 20.5%, 1.123 22.5%, 1.016 32.5%, 0.995 35.7%, 0.985 39%, 1.002 59.1%, 1);
    width: 100%;
}
.passo-txt{
    grid-column: 1/2;
    grid-row: 1/2;
    display: grid;
    grid-template-rows: max-content max-content;
    gap: 16px;
    height: fit-content;
    color:var(--text-primary)!important;
}
.passo-txt h3{
    font-size: 1.5rem;
    color: var(--green-600);
    line-height:2.15rem ;
    font-weight: 700;
}
.passo-txt li{
    list-style:disc;
    font-size: .875rem;
    line-height: 1.5rem;
    margin-bottom: .5rem;
}
.passo-txt a{
    text-decoration: underline;
    color: var(--green-600);
}
.passo-bt{
    background-color: inherit;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    justify-content: center;

}
.passo-bt.active .bt-txt{
    background-color: white ;
}
.passo-bt:not(.active):hover .bt-txt{
    background-color: white;
}
.passo-bt.active:hover{
    cursor:default; 
}
.bt-txt{
    padding: 8px 16px;
    border-radius: 100px;
    position: relative;
    z-index: 10;
    transition: background .2s ;
    display: flex;
    gap: 1ch;
}
.bt-txt p{
    font-size:0.875rem ;
    font-weight: 700;
    color: var(--purple-500);
    text-transform: uppercase;
}
.passo-bt .seta{
    position: absolute;
    z-index: 5;
    transform: translateY(-20px);
    z-index: 5;
    bottom: -22px;
    animation: slideIn .5s .3s forwards;
    animation-timing-function: linear(0, 0.034 1.5%, 0.135 3.2%, 0.692 9.4%, 0.912 12.4%, 1.052 15.4%, 1.095 17%, 1.121 18.7%, 1.13 20.5%, 1.123 22.5%, 1.016 32.5%, 0.995 35.7%, 0.985 39%, 1.002 59.1%, 1); ;
}
.passo-bt .seta path {
    fill: var(--green-100)
}



/* animações */
.fade-enter-active, .fade-leave-active,
.txt-enter-active, .txt-leave-active {
    transition: opacity var(--fade);
}
.fade-enter, .fade-leave-to,
.txt-enter, .txt-leave-to{
    opacity: 0;
}

@keyframes slideIn {
    from { transform: translateY(-20px); }
    to { transform: translateY(0px); }
}


/* MEDIAS */
@media (max-width: 1024px){
    .passo-conteudo{
        align-items: center;
    }
    .passo-menu{
        width: fit-content;
    }
    .bt-txt{
        gap: 0;
    }
    .passo-bt.active .bt-txt{
        gap: .8ch;
    }
    .bt-txt-passo{
        width: 0ch;
        opacity: 0;
        transform: scaleX(0);
        transition: width .3s, opacity .3s;
        overflow: hidden;
    }
    .passo-bt.active .bt-txt-passo {
        width: 6ch;
        opacity: 1;
        transform: scaleX(1);
    }

}

@media (max-width: 768px){
    #passo-a-passo{
        max-width: 100vw;
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .passo-conteudo{
        gap: 24px;
    }
    .passo-img{
        grid-row: 2/3;
    }
    .passo-bt .seta{
        display: none;
    }
    .passo-txt h3{
        font-size: .875rem;
        line-height:1.5rem ;
        text-align: center;
    }
    .passo-img{
        height: 160px;
    }
}