* {
    box-sizing: border-box;
}

body {
    margin: 10;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9f7;
    color: #101b14;
}


/* =========================================
   ÁREA PRINCIPAL
========================================= */

.container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 35px 20px 50px;
}


/* =========================================
   TÍTULO
========================================= */

h1 {
    text-align: center;
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 700;
}

h2 {
    text-align: center;
    font-size: 42px;
    margin: 25px 0 45px;
    color: #080d0a;
}

h3 {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 20px;
}

p {
    text-align: center;
    font-size: 17px;
}


/* =========================================
   CARD
========================================= */

.card {
    width: 100%;
    max-width: 700px;

    margin: 35px auto 0;

    padding: 45px 32px 35px;

    background: #ffffff;

    border-radius: 28px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


/* =========================================
   ÁREA DO SLIDER
========================================= */

.slider-area {
    width: 100%;
}


/* =========================================
   SLIDER
========================================= */

input[type="range"] {

    --progresso: 50%;

    display: block;

    width: 100%;

    height: 8px;

    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    outline: none;

    cursor: pointer;

    background: transparent;
}


/* BARRA */

input[type="range"]::-webkit-slider-runnable-track {

    height: 8px;

    border-radius: 20px;

    background: linear-gradient(to right,
            #b5f22b 0%,
            #b5f22b var(--progresso),
            #dfe4e1 var(--progresso),
            #dfe4e1 100%);
}


/* BOLINHA */

input[type="range"]::-webkit-slider-thumb {

    appearance: none;
    -webkit-appearance: none;

    width: 28px;
    height: 28px;

    margin-top: -10px;

    border: none;
    border-radius: 50%;

    background: #b5f22b;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* FIREFOX */

input[type="range"]::-moz-range-track {

    height: 8px;

    border-radius: 20px;

    background: #dfe4e1;
}

input[type="range"]::-moz-range-progress {

    height: 8px;

    border-radius: 20px;

    background: #b5f22b;
}

input[type="range"]::-moz-range-thumb {

    width: 28px;
    height: 28px;

    border: none;
    border-radius: 50%;

    background: #b5f22b;
}



/* =========================================
   VALORES DO SLIDER
========================================= */

.limites {

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

    margin-top: 12px;

    padding: 0 2px;

    font-size: 13px;

    color: #587565;
}

.limites span:first-child {
    text-align: left;
}

.limites span:last-child {
    text-align: right;
}


/* =========================================
   BOTÕES DAS PARCELAS
========================================= */

.botoes-parcelas {

    display: flex;

    gap: 8px;

    width: 100%;
}

.botoes-parcelas button {

    flex: 1;

    padding: 15px 10px;

    border: none;

    border-radius: 16px;

    background: #e3e8e5;

    color: #587565;

    font-size: 18px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.botoes-parcelas button.selecionado {

    background: #b5f22b;

    color: #101b14;

    transform: scale(1.02);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}


/* =========================================
   RESULTADO
========================================= */

.resultado {

    width: 100%;

    margin-top: 30px;

    padding: 22px 20px;

    background: #e4ebe7;

    border-radius: 17px;
}

.informacao-parcela {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.lado-esquerdo {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
}

.lado-esquerdo span {

    font-size: 18px;

    color: #587565;
}

.lado-esquerdo small {

    font-size: 13px;

    color: #587565;
}

.lado-direito {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 5px;
}

.lado-direito strong {

    font-size: 25px;

    color: #101b14;
}

.lado-direito small {

    font-size: 12px;

    color: #587565;
}


/* =========================================
   BOTÃO CONTINUAR
========================================= */

button.continuar {
    width: 80%;

    margin: 10px auto 0;

    padding: 18px 30px;

    border: none;

    border-radius: 30px;

    background: #b5f22b;

    color: #101b14;

    font-size: 18px;

    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(181, 242, 43, 0.25);

    transition: all 0.2s ease;

    display: block;

}

button.continuar:hover {

    transform: translateY(-2px);

    background: #a9eb20;

    box-shadow: 0 12px 25px rgba(181, 242, 43, 0.35);
}

button.continuar:active {

    transform: scale(0.98);
}


/* =========================================
   VOLTAR
========================================= */

.voltar {

    display: block;

    text-align: center;

    margin-top: 25px;

    color: #587565;

    font-size: 15px;

    text-decoration: none;
}


/* =========================================
   RESPONSIVO - CELULAR
========================================= */

@media (max-width: 600px) {

    .container {

        padding: 25px 14px 40px;
    }

    h1 {

        font-size: 28px;

        line-height: 1.2;
    }

    h2 {

        font-size: 32px;

        margin: 20px 0 35px;
    }

    h3 {

        font-size: 19px;
    }

    .card {

        width: 100%;

        padding: 32px 18px 28px;

        margin-top: 25px;

        border-radius: 22px;
    }

    .botoes-parcelas {

        gap: 5px;
    }

    .botoes-parcelas button {

        padding: 14px 5px;

        font-size: 15px;

        border-radius: 13px;
    }

    .resultado {

        padding: 18px 15px;
    }

    .informacao-parcela {

        gap: 10px;
    }

    .lado-esquerdo span {

        font-size: 16px;
    }

    .lado-esquerdo small {

        font-size: 11px;
    }

    .lado-direito strong {

        font-size: 21px;
    }

    .lado-direito small {

        font-size: 11px;
    }

    button.continuar {

        padding: 17px 20px;

        font-size: 17px;
    }
}

.card {
    width: auto;
    margin: 20px auto;
    padding: 35px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}