html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.829), rgba(0, 0, 0, 0.829)), url("../assents/img/fundoservicos.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Cabeçalho */
#Nplanos {
    font-family: gill sans;
    background-color: black;
    padding: 10px 0;
    width: 100%;
}

#Nplanos h2 {
    margin: 0;
}

span {
    color: yellow;
}

/* Botão voltar */
.voltar {
    margin: 10px 20px;
    text-align: left;
}

.voltar a {
    font-size: 24px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    padding: 5px 15px;
    transition: color 0.3s, background 0.3s;
}

.voltar a:hover {
    color: yellow;
}
/* Remove borda e fundo quando o link estiver focado ou ativo */
.voltar a:focus,
.voltar a:active {
    outline: none !important;
    border: none !important;
    background: none !important;
}

/* Título */
h1 {
    margin-top: 20px;
    font-size: 28px;
}

/* Container dos planos */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

/* Plano individual */
.plano {
    background-color: #4b4b4b;
    padding: 30px 20px;
    border-radius: 15px;
    position: relative;
    transition: border 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    min-height: 400px;
    flex: 1 1 90%;
    max-width: 90%;
}

.plano:hover {
    border: 3px solid yellow;
    transform: scale(1.05);
}

.plano h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.preco-antigo {
    text-decoration: line-through;
    color: #ff8b8b;
    font-size: 16px;
}

.preco {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

ul {
    list-style: none;
    padding: 0;
    text-align: left;
    flex-grow: 1;
}

ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

ul li::before {
    content: '✔';
    color: yellow;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Etiqueta destaque */
.destaque .etiqueta {
    background-color: yellow;
    color: black;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px 5px 0 0;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Botão Assinar */
.botao {
    margin-top: 20px;
    background-color: yellow;
    color: black;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    align-self: center;
}

.botao:hover {
    background-color: #e6c800;
    transform: scale(1.05);
}

/* Rodapé fixo */
#footer_copyright {
    background-color: black;
    color: white;
    text-align: center;
    width: 100%;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
}

/* Telas grandes: 3 por linha */
@media screen and (min-width: 1025px) {
    .plano {
        flex: 1 1 30%;
        max-width: 30%;
    }

    .voltar {
        text-align: left;
        margin-left: 30px;
    }
}

/* Telas menores: botão centralizado */
@media screen and (max-width: 1024px) {
    .voltar {
        text-align: center;
        margin: 10px auto;
    }
}
