/* Autodiagnóstico Financeiro — wizard e página de resultado */

.diag-progress {
    height: 8px;
    border-radius: 999px;
    background: #e9edf2;
    overflow: hidden;
}

.diag-progress-bar {
    height: 100%;
    width: 0;
    background: #4499FF;
    border-radius: 999px;
    transition: width .4s ease;
}

.diag-card {
    border-radius: 16px;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .08);
}

.diag-step {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .35s ease, transform .35s ease;
}

.diag-step[hidden] {
    display: none !important;
}

.diag-step-enter {
    opacity: 0;
    transform: translateY(12px);
}

.diag-question {
    padding: 1.25rem 0;
    border-bottom: 1px solid #eef1f5;
}

.diag-question:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.diag-question-text {
    font-weight: 600;
    color: #1a2634;
    margin-bottom: .9rem;
}

.diag-options {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.diag-option {
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #42526b;
    border-radius: 999px;
    padding: .55rem 1.3rem;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}

.diag-option:hover {
    border-color: #4499FF;
    color: #4499FF;
}

.diag-option.is-selected {
    background: #4499FF;
    border-color: #4499FF;
    color: #fff;
}

.diag-step-actions .btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

/* ---------- Resultado ---------- */

.diag-score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
}

.diag-gauge {
    --diag-pct: 0;
    --diag-color: #4499FF;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--diag-color) calc(var(--diag-pct) * 1%), #e9edf2 0);
    margin-bottom: 1.25rem;
}

.diag-gauge-inner {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.diag-gauge-score {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a2634;
    line-height: 1;
}

.diag-gauge-max {
    font-size: .9rem;
    color: #8a94a3;
}

.diag-tier-badge {
    display: inline-block;
    padding: .35rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    color: #fff;
    background: var(--diag-color, #4499FF);
    margin-bottom: .75rem;
}

.diag-week {
    border-left: 3px solid #4499FF;
    padding: .25rem 0 .25rem 1.25rem;
    margin-bottom: 1.5rem;
}

.diag-checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.diag-checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .75rem;
    line-height: 1.4;
}

.diag-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .05rem;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid #c7d0db;
    border-radius: 4px;
}

@media print {
    .site-navbar,
    .site-footer,
    .site-blocks-cover,
    .diag-no-print,
    #overlayer,
    .loader {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .diag-card,
    .diag-gauge {
        box-shadow: none !important;
    }

    a {
        color: inherit !important;
        text-decoration: none !important;
    }
}
