:root{
    --azul: #212733;
    --branco: #f3f3f3;
}


section.valores{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-inline: 30px;
    padding-block: 50px;
}

section.valores .box{
    background-color: var(--azul);
    border-radius: 5px;
    color: var(--branco);
    padding: 40px 25px 45px 25px;
    position: relative;
    width: 350px;
    word-spacing: 3px;
    letter-spacing: 1px;
}

section.valores .box .icon {
    position: absolute;
    top: -37.5px; /* Metade da altura da .icon acima da .box */
    left: 50%; /* Centraliza horizontalmente */
    transform: translateX(-50%); /* Ajusta para o centro exato */
    background-color: var(--azul);
    border-radius: 50%;
    width: 75px;
    height: 75px; /* Adicione altura para garantir que seja um círculo perfeito */
}

section.valores .box .icon img{
    width: 100%;
    height: 100%;
}

section.valores .box h3{
    text-align: center;
    margin-bottom: 10px;
}

@media screen and (orientation:portrait){
    section.valores{
        margin-top: 50px;
        gap: 90px;
    }

    section.valores .box{
        padding: 60px 25px 45px 25px;
        width: 350px;
    }

    section.valores .box .icon {
        top: -17.5px; /* Metade da altura da .icon acima da .box */
    }

    section.valores .box{
        animation: appear2 5s linear;
        animation-timeline: view();
        animation-range: entry -5% cover 25%;
    }

    @keyframes appear2{
        from{
            opacity: 0;
            translate: -100vw -5vh;
        }
        to{
            opacity: 1;
            translate: 0 0;
        }
    }
}