* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

.processo-seletivo {
    background: #f2f2f2;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
}

.container-form {
    max-width: 1100px;
    margin: 0 auto;
    background: #f3f3f3;
    border-radius: 20px;
    padding: 50px;
}

.topo-formulario h1 {
    font-size: 42px;
    line-height: 1.2;
    color: #111;
    margin-bottom: 10px;
    font-weight: 800;
}

.topo-formulario p {
    color: #555;
    font-size: 18px;
}

.topo-formulario strong {
    color: #c91d25;
}

/* STEPS */

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    gap: 20px;
}

.step {
    text-align: center;
}

.step.completed .circle,
.step.completed span {
    color: #c91d25;
}

.step.completed .circle {
    background: #c91d25;
}

.line.active {
    background: #c91d25;
}

.circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #d4d4d4;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 22px;
}

.step.active .circle {
    background: #c91d25;
}

.step.active span {
    color: #c91d25;
}

.step span {
    font-size: 15px;
    color: #777;
}

.line {
    width: 120px;
    height: 3px;
    background: #d4d4d4;
    margin-top: -25px;
}

/* FORM */

form h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #111;
}

.etapa {
    display: none;
}

.etapa.active {
    display: block;
}

.linha-form {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.campo {
    flex: 1;
}

.campo label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #444;
}

.campo small {
    font-weight: normal;
    color: #999;
}

.campo input {
    width: 100%;
    height: 55px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 16px;
    background: #fff;
}

.campo select {
    width: 100%;
    height: 55px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 16px;
    background: #fff;
}

.agendamento-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
}

.calendario-box,
.horarios-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 24px;
}

.calendario-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.calendario-header h3,
.horarios-box h3 {
    margin: 0;
    font-size: 20px;
    color: #111;
}

.btn-mes {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f6f6f6;
    cursor: pointer;
    font-size: 18px;
}

.dias-semana,
.dias-calendario {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.dias-semana {
    margin-bottom: 12px;
}

.dias-semana span {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #777;
}

.dia,
.horario {
    min-height: 46px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-weight: bold;
    color: #333;
}

.dia.disabled,
.horario.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.dia.active,
.horario.active {
    border-color: #c91d25;
    background: #c91d25;
    color: #fff;
}

.dia.today {
    border-color: #c91d25;
    box-shadow: 0 0 0 1px #c91d25 inset;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.selecao-agendamento {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.full .campo {
    width: 100%;
}

/* BOTÃO */

.acoes-formulario {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.acoes-formulario-dupla {
    justify-content: space-between;
}

.btn-proximo {
    background: #c91d25;
    color: #fff;
    border: none;
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-proximo:hover {
    opacity: 0.9;
}

.btn-voltar {
    background: #e5e5e5;
    color: #333;
    border: none;
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-voltar:hover {
    opacity: 0.9;
}

.btn-confirmar {
    background: #c91d25;
    color: #fff;
    border: none;
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-confirmar:hover {
    opacity: 0.9;
}

.resumo-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 24px;
}

.resumo-linha {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.resumo-linha:last-child {
    border-bottom: none;
}

.resumo-label {
    color: #666;
    font-size: 14px;
}

.resumo-vazio,
.resumo-sucesso {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.resumo-sucesso {
    color: #0d7a35;
    font-weight: bold;
}

/* RESPONSIVO */

@media(max-width: 768px) {

    .container-form {
        padding: 30px 20px;
    }

    .topo-formulario h1 {
        font-size: 32px;
    }

    .linha-form {
        flex-direction: column;
    }

    .steps {
        gap: 10px;
    }

    .line {
        width: 50px;
    }

    .step span {
        font-size: 12px;
    }

    .agendamento-wrapper {
        grid-template-columns: 1fr;
    }

    .horarios-grid {
        grid-template-columns: 1fr;
    }

    .acoes-formulario-dupla {
        flex-direction: column;
        gap: 12px;
    }

    .btn-voltar,
    .btn-proximo,
    .btn-confirmar {
        width: 100%;
    }

    .resumo-linha {
        flex-direction: column;
        gap: 6px;
    }

}