@font-face {
    font-family: 'MinhaFontePlanos';
    src: url('../FONTS/moon_get-Heavy.ttf') format('truetype');
}

@font-face {
    font-family: 'MinhaFonteCard';
    src: url('../FONTS/GeosansLight.ttf') format('truetype');
}

@font-face {
    font-family: 'MinhaFonteCardM';
    src: url('../FONTS/REVOLUTION.ttf') format('truetype');
}

@font-face {
    font-family: 'MinhaFonteCardP';
    src: url('../FONTS/Steelfish\ Rg.otf') format('truetype');
}

@font-face {
    font-family: 'MinhaFonteRec';
    src: url('../FONTS/Louis\ George\ Cafe.ttf') format('truetype');
}

body {
    margin: 0;
    /* width: 100dvw; */
    height: 100dvh;
    background-color: #fbdf98;
    /* background-image: url(../IMG/imgregistro.jpg);
    background-repeat: no-repeat;
    background-size: 110%; */
}

.body-no-scroll {
    overflow: hidden;
}

h1 {
    text-align: center;
    font-family: 'MinhaFontePlanos', sans-serif;
    margin: 2rem 0 0 0;
    padding: 2rem 0;
    color: #ffff;
    text-shadow: 0.6rem 0.8rem 1.3rem #031550;
}

header {
    margin: 10rem 0 2rem 0;

}

.box {
    margin: 60px;
    display: flex;
    gap: 3%;
    justify-content: center;

}

#recomendado {
    background-color: #001f3f;
    font-family: 'MinhaFonteRec', sans-serif;
    color: white;
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 11px;
    font-size: 1.1rem;
    border-radius: 5px;
    box-shadow: 0 -2px 15px #ffffff;
}

.card {
    position: relative;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #030D2F;
    flex: 35%;
    height: 32rem;
    flex-direction: column;
    margin: 0 0 0 0;
    box-shadow: 0 1rem 20px #001f3fda;
}

.card p {
    color: #FFFFFF;
}

.titulocard {
    text-align: center;
    font-size: 1.5rem;
    margin: 1.8rem 0 0 0;
    font-family: 'MinhaFonteCardM', sans-serif;
}

.preço {
    font-family: 'MinhaFonteCardP', sans-serif;
    color: #FFFFFF;
    text-align: center;
    font-size: 4.5rem;
    margin: 0 0 0 0;
    top: -30px;
    position: relative;
}

.RS {
    font-size: 1.4rem;
    position: absolute;
    margin: 0 0 1rem 0;
    align-self: flex-start;
    font-family: 'MinhaFonteCard', sans-serif;
    font-weight: 600;
    top: 145px;
}

.infcontainer {
    /* border: green 2px solid; */
    width: 65%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'MinhaFonteCard', sans-serif;
}

.informacoes {
    font-family: 'MinhaFonteCard', sans-serif;
    color: #FFFFFF;
    text-align: center;
    font-size: 1.5rem;
    margin: 0.1rem 0 0.4rem 0;
    position: relative;
    top: -20px;
}

.CTA {
    text-decoration: none;
    text-align: center;
    font-size: x-large;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    background-color: #001f3f;
    font-family: 'MinhaFonteCard', sans-serif;
}

.CTA p {
    margin: 10px;
}

.CTA:hover {
    background-color: #ac9411;
    color: #001f3f;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

#zap {
    position: fixed;
    width: 4.5rem;
    height: 4.5rem;
    bottom: 8px;
    right: 8px;
    background-color: #030D2F;
    border-radius: 100px;
    padding-right: 5px;
    padding-bottom: 2px;
    padding-top: 10px;
    padding-left: 13px;
}

#zap:hover {
    background-color: #1e5296;
}


.pagamento-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.btn-fechar-pagamento {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-fechar-pagamento:hover {
    color: #555;
}

.pagamento-container h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
    font-size: 2em;
}

.pagamento-container {
    /* Firefox */
    scrollbar-width: thick; /* opções: auto | thin | none | thick */
    scrollbar-color: #007bff #e0e0e0; /* thumb | track */
    
}

/* Chrome, Edge, Safari (WebKit) */
.pagamento-container::-webkit-scrollbar {
    width: 12px;
}

.pagamento-container::-webkit-scrollbar-track {
    background: #e0e0e0; /* cor da "trilha" (fundo da barra) */
    border-radius: 8px;
}

.pagamento-container::-webkit-scrollbar-thumb {
    background-color: #007bff; /* cor do scroll "móvel" */
    border-radius: 8px;
    border: 3px solid #e0e0e0; /* cria espaçamento interno */
}

.pagamento-container::-webkit-scrollbar-thumb:hover {
    background-color: #0056b3; /* cor ao passar o mouse */
}



@media (max-height: 650px) {
    .pagamento-container {
        position: fixed;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px 15px;
        gap: 10px;
    }

    .pagamento-container h2 {
        font-size: 1.5em;
    }

    .dados-usuario h3,
    .dados-plano h3 {
        font-size: 1.1em;
    }

    .dados-usuario p,
    .dados-plano p,
    .texto-explicativo {
        font-size: 0.9em;
    }

    .btn-fechar-pagamento {
        top: 10px;
        right: 10px;
    }
}



#planoEscolhidoNome {
    font-weight: bold;
    color: #0056b3;
}

.texto-explicativo {
    text-align: center;
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
}

.dados-usuario,
.dados-plano {
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.dados-usuario h3,
.dados-plano h3 {
    color: #444;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.dados-usuario p,
.dados-plano p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.dados-usuario p strong,
.dados-plano p strong {
    color: #666;
    min-width: 90px;
    display: inline-block;
}

.dados-usuario p span,
.dados-plano p span {
    font-weight: 500;
    color: #222;
}

.pagamento-container button:last-of-type {
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-top: 20px;
}

.pagamento-container button:last-of-type:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.pagamento-container button:last-of-type:active {
    background-color: #1e7e34;
    transform: translateY(0);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.no-scroll {
    overflow: hidden;
}

/* 📱 Responsividade para telas menores */
@media (max-width: 600px) {
    .linha-inputs {
        flex-direction: column;
    }

    .pagamento-container {
        width: 80%;
        margin: 10px;
        padding: 15px;
    }

    .pagamento-container input,
    .pagamento-container button {
        font-size: 16px;
    }
}


/* -------RESPONSIVITY------- */
@media(max-width: 550px) {
    .box {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        gap: 4rem;
    }

    .card {
        width: 75%;
    }

    h1 {
        font-size: 1.4rem;
    }

    header {
        margin: 5rem 1rem 2rem 1rem;
    }
}

@media(max-width: 1023px) {
    .box {
        margin: 10px;
    }

    .informacoes {
        font-size: 1.2rem;
    }

    .options {
        gap: 1rem;
    }
}