/*
===============================================================================================================
Geral
===============================================================================================================
*/
:root{
    --cor_primaria: #00d9f8;
    --cor_secundaria: #1da3b8;
    --Backgroud: #dfdfdf;
    --CP_darkmode: #213872;
    --CS_darkmode: #0e2555;
    --BKG_darkmode: #303030;
    --transparente: rgba(0, 217, 248, 0.3);
    --transparent_dk: rgba(33, 56, 114, 0.3);

    --Border_radius: 45px;
    --box-shadow: 7px 7px 9px 0px rgba(0, 0, 0, 0.3);
    --tamanho_fonte: 19px;
    --borda: 0.9px #1da3b8 solid;
    --borda-dk: 0.9px #213872 solid;
}

h1{
    margin-top: 4rem;
    font-size: 240%;
}

main{
    display: flex;
    width: 90%;
    margin: auto;
    margin-top: 50px;
}

section{
    width: 35%;
    border: 1px var(--cor_primaria) solid;
    border-radius: 30px;
    margin: 2%;
}

section h2{
    font-size: 25px;
}

section .publico{
    text-align: center;
    font-size: 100%;
    margin-bottom: 10px;
    font-weight: bold;
}

section p{
    margin: 7px;
    margin-left: 11px;
    font-size: 13px;
    margin-bottom: 1.4rem;
    margin-top: 1.4rem;
}

section h3{
    text-align: left;
    margin-left: 11px;
    margin-bottom: 10px;
}

del{
    margin-left: 11px;
    font-size: 18px;
}

span{
    color: #00ff10;
    font-size: 13px;
    margin: 0;
}

.preco{
    margin: 15px;
    font-size: 22px;
    margin-top: 30px;
    margin-right: 0px;
    margin-bottom: 4rem;
}

/*
===============================================================================================================
Botões de contratar
===============================================================================================================
*/
.Contratar{
    width: 59%;
    background-color: var(--CP_darkmode);
    border: none;
    border-radius: 45px;
    display: block;
    margin: 0 auto;
    font-size: 18px;
    height: 40px;
    margin-bottom: 2%;
}

.Contratar2{
    width: 59%;
    background-color: var(--CP_darkmode);
    border: none;
    border-radius: 45px;
    display: block;
    margin: 0 auto;
    font-size: 18px;
    height: 40px;
    margin-bottom: 2%;
}

.Contratar3{
    width: 59%;
    background-color: var(--cor_primaria);
    border: none;
    border-radius: 45px;
    display: block;
    margin: 0 auto;
    font-size: 18px;
    height: 40px;
    margin-bottom: 2%;
}

.bb{color: white;}
.a{text-decoration: none;}

section ul {
  list-style: none;       /* remove as bolinhas padrão */
  padding-left: 0;
  margin-top: 25px;
}

section ul li {
  position: relative;
  padding-left: 1.2em;    /* espaço pro ícone */
  margin-right: 0;
  margin-left: 10px;
  margin-bottom: 16px;
  font-family: 'Open Sans';
}

section ul li::before {
  content: "";   /* obrigatório */
  position: absolute;
  left: 0;
  top: 0.2em;                        /* joga pro meio vertical */
  transform: none;     /* centraliza certinho */
  width: 20px;                     /* tamanho fixo */
  height: 20px;
  background: url("../Imagens/Check-Mark.png") no-repeat center / contain;
}

.plano-basico{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plano-adaptado{
    background-color: var(--cor_primaria);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*
===============================================================================================================
Plano Avaçado
===============================================================================================================
*/
.plano-avancado{
    background-color: var(--CP_darkmode);
}

.plano-avancado h2{
    color: white;
}

.plano-avancado p{
    color: white;
}

.plano-avancado h3{
    color: white;
}

.plano-avancado b{
    color: white;
}

.plano-avancado ul li{
    color: white;
}

/*
===============================================================================================================
POP-UP
===============================================================================================================
*/
#popup{
    z-index: 1000;
    position: fixed;
    inset: 50% auto auto 50%;     /* centraliza na tela */
    transform: translate(-50%, -50%);
    background: linear-gradient(to top, var(--cor_primaria), var(--cor_secundaria));
    border: 2px solid linear-gradient(to right, var(--cor_primaria), var(--cor_secundaria));
    border-radius: 20px;
    width: 55%;
    max-width: 600px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    animation: aparecer 0.3s ease-out;
}

#popup h2{
    text-align: center;
    font-size: 28px;
    margin-bottom: 1rem;
    color: var(--CS_darkmode);
    font-family: 'Montserrat', sans-serif;
}

#popup label{
    font-size: 18px;
    font-weight: 600;
    color: var(--CS_darkmode);
    margin-bottom: 0.3rem;
    display: block;
    text-align: left;
}

.campo-input{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

#email, #telefone, #cartao, #cvc{
    border: 1px solid var(--CS_darkmode);
    border-radius: 10px;
    width: 100%;
    max-width: 280px;
    height: 40px;
    padding: 0.5rem 0.8rem;
    font-size: 16px;
    background-color: transparent;
    transition: 0.2s;
}

#email:focus, #telefone:focus, #cartao:focus, #cvc:focus{
    outline: none;
    border-color: var(--CS_darkmode);
    box-shadow: 0 0 6px var(--CS_darkmode);
}

#pagar{
    width: 100%;
    max-width: 250px;
    height: 45px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: var(--Border_radius);
    background: linear-gradient(90deg, var(--CP_darkmode), var(--CS_darkmode));
    color: #fff;
    display: block;
    margin: 2rem auto 0 auto;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

#pagar:hover{
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--CP_darkmode);
}

/* Animação de entrada */
@keyframes aparecer {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

/*
===============================================================================================================
modo noturno
===============================================================================================================
*/
body.darkmode section{
    border-color: var(--CP_darkmode);
}

body.darkmode li{
    color: white;
}

body.darkmode  del{
    color: white;
}

body.darkmode b{
    color: white;
}

body.darkmode .Contratar{
    background-color: var(--CP_darkmode);
}

body.darkmode .plano-adaptado{
    background-color: var(--cor_secundaria);
}

body.darkmode .plano-avancado{
    background-color: var(--CS_darkmode);
}

/* ================================
   Darkmode do popup
=================================== */
body.darkmode #popup{
    background: linear-gradient(to top, var(--CP_darkmode), var(--CS_darkmode));
}

body.darkmode #popup h2,
body.darkmode #popup label{
    color: #fff;
}

body.darkmode #email,
body.darkmode #telefone,
body.darkmode #cartao,
body.darkmode #cvc{
    background-color: transparent;
    color: #fff;
    border: 1px solid var(--cor_secundaria);
}

body.darkmode #pagar{
    background: linear-gradient(90deg, var(--cor_primaria), var(--cor_secundaria));
}
body.darkmode #pagar:hover{
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--cor_primaria);
}

/*
===============================================================================================================
Responsividades
===============================================================================================================
*/
@media (max-width:1024px){
    #popup{
        width: 70%;
        height: auto;
    }
    main{
        width: 99%;
    }
    section{
        width: 95%;
        
    }
}

@media (max-width: 900px){
    main{
        width: 100%;
    }
    section{
        height: 90%;
    }
    .Contratar, .Contratar2, .Contratar3{
        width: 80%;
    }
    #email, #telefone, #cartao, #cvc{
        width: 250px;
        height: 30px;
    }
}

@media (max-width:768px){
    #email, #telefone, #cartao, #cvc{
        width: 220px;
    }
    #popup{
        height: auto;
        margin: 0;
    }
    main{
        flex-direction: column;
    }
    section{
        width: 50%;
        margin: auto;
        margin-bottom: 4%;
    }
    .Contratar, .Contratar2, .Contratar3{
        width: 40%;
    }
}

@media (max-width: 480px){
    main{
        flex-direction: column;
    }
    section{
        width: 90%;
        margin-left: 25px;
    }
    .Contratar, .Contratar2, .Contratar3{
        margin-top: 20px;
    }
    #popup{
        width: 90%;
        margin-left: 1px;
        height: auto;
        margin-top: -1%;
    }
    #popup h2{
        margin: 3%;
        margin-top: -7%;
    }
    .campo-input{
        flex-direction: column;
        margin-bottom: 0;
        margin-top: -3px;
    }
    #email, #telefone, #cartao, #cvc{
        display: block;
        margin: auto;
        margin-bottom: 5%;
    }
    label{
        margin-left: 21%;
    }
}

@media(max-width:420px){
    label{
        margin-left: 16%;
    }
}

@media(max-width: 320px){
    section{
        width: 94%;
        margin-left: 10px;
    }
    label{
        margin-left: 0;
    }
    #popup{
        width: 90%;
        margin-left: 1px;
        height: auto;
    }
    #popup h2{
        margin: 3%;
        margin-top: -7%;
    }
    .Contratar, .Contratar2, .Contratar3{
        width: 50%;
    }
}