@charset "UTF-8";

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= VARIÁVEIS ================= */
:root {
    --azul: #0a2a66;
    --azul-claro: #1e4fa1;
    --cinza: #f2f4f8;
    --cinza-escuro: #6b7280;
    --branco: #ffffff;
}

/* ================= BODY ================= */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #f2f4f8, #ffffff);
    color: #1f2933;
}

/* ================= CONTAINER ================= */
.matricula-container {
    max-width: 1200px;
    margin: auto;
    padding: 0px 10px 50px 10px;
}

/* ================= HERO ================= */
.matricula-hero {
    text-align: center;
    margin-bottom: 40px;
}

.matricula-hero h1 {
    font-size: 2.6rem;
    color: var(--azul);
}

.matricula-hero p {
    color: var(--cinza-escuro);
}

/* ================= PROGRESSO ================= */
.progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--azul), var(--azul-claro));
    transition: width 0.4s ease;
}

/* ================= FORM / ETAPAS ================= */
.form-card {
    background: var(--branco);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    animation: fadeUp 0.4s ease;
}

.form-card h2 {
    color: var(--azul);
    margin-bottom: 25px;
}

/* ================= GRID ================= */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

/* ================= INPUTS ================= */
input,
select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--azul);
    box-shadow: 0 0 0 3px rgba(10, 42, 102, 0.15);
}

/* ================= RADIO ================= */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* ================= CHECKBOX ================= */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #1f2933;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

/* ================= AÇÕES ================= */
.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.form-actions button {
    flex: 1;
    padding: 15px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

/* BOTÃO VOLTAR */
#prevStep {
    background: #e5e7eb;
    color: #111827;
}

#prevStep:hover {
    background: #d1d5db;
}

/* BOTÃO PRÓXIMO / FINALIZAR */
#nextStep {
    background: linear-gradient(135deg, var(--azul), var(--azul-claro));
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(10, 42, 102, 0.35);
}

#nextStep:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(10, 42, 102, 0.45);
}

/* ================= MODAL FINAL ================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-content {
    background: var(--branco);
    padding: 40px;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    animation: fadeUp 0.4s ease;
}

.modal-content h3 {
    color: var(--azul);
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--cinza-escuro);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* BOTÃO FECHAR MODAL */
.modal-close {
    margin-top: 25px;
    padding: 12px 36px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--azul), var(--azul-claro));
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(10, 42, 102, 0.35);
}

/* ================= ANIMAÇÃO ================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }

    .matricula-hero h1 {
        font-size: 2.2rem;
    }
}

.empresa {
    width: 80%;
    height: auto;
    display: block;
    margin: auto;
}
