/* ==============================
   SESSÃO DO SIMULADOR — MOBILE
   ============================== */


.simulator-section {
    position: relative;
    background: #ffffff;
    min-height: 524px;
    padding: 78px 16px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* DETALHES AZUIS */
.simulator-section .blue-detail:first-child {
    position: absolute;
    top: -92px;
    left: -92px;
    width: 180px;
    height: 180px;
    background: #3b82f6;
    transform: rotate(45deg);
}

.simulator-section .blue-detail:last-child {
    position: absolute;
    bottom: -92px;
    right: -92px;
    width: 180px;
    height: 180px;
    background: #3b82f6;
    transform: rotate(45deg);
}

/* CONTAINER */
.simulation-container {
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: auto;
}

/* HEADER */
.simulation-header {
    margin: auto;
}

.simulation-header h1 {
    font-size: 24px;
    margin-bottom: 16px;
    color: black;
}

.simulation-header h1 span {
    font-size: 24px;
}

.destaque-text {
    color: #3b82f6;
    font-weight: 700;
}

/* STEPPER */
.simulation-steps {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    justify-content: space-between;
}

/* Agrupador do step + linha */
.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.divider-step {
    width: 20px;
    height: 2px;
    background-color: #F0F2F5; /* neutro */
    transition: background-color 0.2s ease;
}

.divider-step.active {
    background-color: #3b82f6;
}


/* Bolinha */
.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F0F2F5;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 2;
}

/* Step ativo */
.step.active {
    background: #3b82f6;
    color: #fff;
    border: 3px solid #87b5ff;
}

/* Linha ativa (controlada via JS) */
.step-line.active {
    background: #3b82f6;
}

/* Remove linha do último */
.step-item.last .step-line {
    display: none;
}

/* CONTENT */
.simulation-step {
    display: none;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(128, 128, 128, 0.448);
}

.simulation-step.active {
    display: block;
}

.simulation-step h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: black;
}

.simulation-step h2 span {
    font-size: 18px;
    font-weight: bold;
}

.simulation-step p {
    color: gray;
    font-size: 11px;
    text-align: center;
    margin-bottom: 10px;
}


/* OPTIONS */
.simulation-options {
    display: flex;
    gap: 16px;
}

.option {
    flex: 1;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.option .icon {
    font-size: 20px;
}

.option .success { color: #22c55e; }
.option .error { color: #ef4444; }

.option.active {
    border-color: #3b82f6;
}

/* INPUT */
.simulation-input {
    width: 90%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
}

/* NAVIGATION */
.simulation-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.simulation-navigation button {
    padding: 5px 30px;
    border-radius: 2px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

#prevBtn {
    background: #dadbdd;
}


#prevBtn:disabled {
    opacity: 0.5;
}

/* ================================
   FORMULÁRIO — SIMULADOR (STEP 4)
   ================================ */

.simulation-step[data-step="4"] {
    padding-top: 0;
}

/* BOTÃO AZUL SUPERIOR */
.simulator-cta-button {
    width: 100%;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 15px 0px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 7px;
    margin-bottom: 5px;
    cursor: pointer;
}

/* FORM CARD */
.contact-form-simulator {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 0px;
}

/* TEXTO INTRO */
.contact-form-simulator .form-intro {
    font-size: 13px;
    color: #111827;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

/* GRUPO */
.form-group-simulator {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.contact-form-simulator {
    height: 525px;
}

/* LABEL */
.contact-form-simulator .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

/* INPUTS */
.contact-form-simulator .form-input {
    width: 90%;
    padding: 14px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    outline: none;
    background-color: white;
    transition: border-color 0.2s ease;
    color: black;
}

/* PLACEHOLDER */
.contact-form-simulator .form-input::placeholder {
    color: #9ca3af;
}

/* FOCUS */
.contact-form-simulator .form-input:focus {
    border-color: #3b82f6;
    color: black;
}

/* BOTÃO VERDE FINAL */
.form-submit-button-simulator {
    width: 100%;
    background: #22c55e;
    color: white;
    border: none;
    padding: 14px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
}

/* BOTÃO VERDE — HOVER */
.form-submit-button-simulator:hover {
    background: #27a327;
}
