.planos {
    background-image: url(../img/planos-background-mobile.png);
    background-size: cover;
    background-repeat: no-repeat;

    text-align: center;
    padding-top: 15px;
    padding-bottom: 1.8rem;

    display: grid;
    justify-items: center;
    position: relative;
}

.planos::before {
    content: "";
    width: 81%;
    height: .1rem;
    background-color: #e93d50;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.planos_titulo {
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.planos_card {
    background-color: #f76148;
    color: #fff;
    border-radius: 8px;

    margin-bottom: 1.3rem;
    padding: 4rem 1rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-shadow: 0 0 .8rem .1rem rgba(0, 0, 0, .2);
    background-repeat: no-repeat;
    background-size: 1.7rem;
    background-position: top 1.5rem center;
}

.card-anual {
    background-image: url(../img/simbolo-musidot-branco.svg);
}
.card-semestral {
    background-image: url(../img/simbolo-musidot-dark.svg);
}

.plano_titulo {
    margin: 8px 0;
}

.planos_card p + p {
    font-weight: 300;
    margin-top: .2rem;
    letter-spacing: 1.5px;
}

.plano_titulo, .plano_titulo + p {
    font-size: 1rem;
    font-weight: 500;
}

.valor-destaque {
    font-size: 2rem;
    font-weight: 700;
}

.planos_card span {
    font-weight: 500;
}

.cards_botao {
    color: #f76148;
    background-color: #fff;
    box-shadow: 0 0 .8rem .1rem rgba(0, 0, 0, .2);

    letter-spacing: 1.8px;
    font-weight: 600;
    border-radius: 8px;
    
    margin-top: .8rem;
    padding: 1rem 2rem;
}

.card-anual {
    position: relative;
    z-index: 2;
}

.plano-destaque {
    color: #f76148;
    background-color: #fff;
    box-shadow: 0 0 .8rem .05rem rgba(0, 0, 0, .2);
    
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;

    width: 8rem;
    padding: .4rem 0 .8rem;
    border-radius: 5px;
    position: absolute;
    transform: translate(-50%, -65%);
    z-index: 1;
}

.card-anual p + p, .card-semestral p + p {
    margin-bottom: 1rem;
}

.planos > p {
    width: 250px;
    font-size: .6rem;
    font-weight: 600;
    line-height: 18px;
}

.planos a {
    font-weight: 700;
}

@media (min-width: 768px) {
    .planos {
        grid-template-columns:  20rem 20rem;
        grid-template-areas: 
        "header header"
        "card1 card2" 
        "footer footer";

        gap: 1rem;
        justify-content: center;
        padding-bottom: 2rem;

        background-image: url(../img/planos-background.png);
        background-size: cover;
    }

    .planos_titulo {
        grid-area: header;
    }
    .cards_planoanual {
        grid-area: card2;
    }
    .card-semestral {
        grid-area: card1;
    }
    .planos_pagamentos {
        grid-column-end: span 2;
    }
    .planos-maisassinado {
        font-size: .8rem;
    }

    .planos_card {
        padding: 6rem 2rem 2rem;
        justify-content: space-between;
        background-size: 2.5rem;
        background-position: top 2.5rem center;
    }

    .planos_card img {
        width: 2.5rem;
    }

    .plano_titulo, .plano_titulo + p {
        font-size: 1.4rem;
        font-weight: 500;
    }

    .valor-destaque {
        font-size: 2.6rem;
        font-weight: 700;
    }

    .plano-destaque {
        font-size: .6rem;
    }

    .cards_botao {
        font-size: 1.1rem;
        transition: .25s;
    }

    .planos > p {
        font-size: .9rem;
        font-weight: 600;
        line-height: 18px;
    }
}

@media(min-width:1200px) {
    .planos_titulo {
        font-size: 1.2rem;
    }

    .plano-destaque {
        font-size: .9rem;
        width: 10rem;
        transform: translate(-50%, -75%);
    }
}