:root {
    --bg-soft: #fbf6f2;
    --text: #1d1d1f;
    --muted: #6b7280;
    --primary: #1782BA;
    --footer: #0b0b0c;
}

body {
    color: var(--text);
    background: var(--bg-soft);
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
}
    .only-mobile { display: none; }

/*  TEXT  ********************************************************************/
h1 {
    font-size: 70px;
    line-height: 80px;
    font-weight: 900;
}

h2 {
    font-size: 48px;
    line-height: 58px;
    font-weight: 900;
    margin-bottom: 35px;
}

h3 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 900;
}

h5 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
}

h6 {
    font-size: 14px;
}

.show404 {
    font-size: 120px;
}

.m-0 {
    margin: 0px !important
}

.mt-30 {
    margin-top: 30px !important
}

.mt-40 {
    margin-top: 40px !important
}

.mb-75 {
    margin-bottom: 75px
}

.mb-150 {
    margin-bottom: 150px
}

.mt-150 {
    margin-top: 150px
}

.mb-50 {
    margin-bottom: 50px
}

.mb-100 {
    margin-bottom: 100px
}

.pt-150 {
    padding-top: 150px
}

.pb-75 {
    padding-bottom: 75px
}

.p-25 {
    padding: 25px !important;
}

.p-35 {
    padding: 35px !important;
}

.text-blue {
    color: var(--primary);
}

.text-high {
    color: #00A63E !important;
}

.text-medium {
    color: #F7931E !important;
}

.text-low {
    color: #F00 !important;
}

.text-extrabold {
    font-weight: 900;
}

.text-bold {
    font-weight: 700;
}

/*  BTNS  *********************************************************************/
.btn {
    font-size: 14px;
    letter-spacing: 10%;
    font-weight: 700;
    padding: 10px 25px !important;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #FFF;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn.disabled,
.btn:disabled {
    color: #FFF;
    pointer-events: none;
    background-color: var(--primary);
    border-color: var(--primary);
    opacity: var(--bs-btn-disabled-opacity);
}

/*  TOP BAR  *****************************************************************/
.topbar {
    padding-bottom: 80px;
    margin-top: 30px;
}

.brand-logo {
    margin-top: 50px;
    height: 51px;
    width: auto;
}

.actions {
    text-align: right;
}

/*  FOOTER  ******************************************************************/
.footer {
    background: var(--footer);
    font-size: 18px;
    line-height: 24px;
}

.footer-logo {
    height: 93px;
    width: auto;
}

.footer-aapi {
    height: 41px;
    width: auto;
    margin-right: 50px;
}

.footer-compete {
    height: 21px;
    width: auto;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.footer .border-white {
    border-right: 1px solid rgba(255, 255, 255, .18) !important;
}

.social {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-decoration: none;
}

.social:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}

.footer-link {
    color: #FFF;
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

.footer .small {
    font-size: 12px;
}

.newsletter .form-control {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
}

.newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, .55);
}

/*  CONTAINER  ***************************************************************/
.benefit p {
    font-size: 30px;
    line-height: 40px;
}

.banner {
    position: relative;
    min-height: 811px;
}

.banner-media {
    position: relative;
    height: 811px;
    overflow: hidden;
}

.banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.banner-content h2 {
    text-shadow: 0 12px 35px rgba(0, 0, 0, .45);
    letter-spacing: .06em;
    font-size: 1.86em;
    font-weight: 900;
}


/* STEPS  */
.steps {
    /* tamanho da bola */
    --dot: 54px;
    /* espessura da linha */
    --line-h: 6px;
    /* cor da linha */
    --line: #9fc3d8;
    /* inativa */
    --inactive: #9fc3d8;
    --text-inactive: #9aa3ad;
    /*  ativa */
    --active: #0b74b5;
    --text-active: #0b74b5;
    /* preenchido */
    --active: #0b74b5;
    --text-fill: #2b2f33;

    width: 100%;
    gap: 0;
    margin-bottom: 40px;
    margin-top: 40px;
}

.step {
    flex: 0 0 auto;
    text-align: center;
    min-width: var(--dot);
}

.step-top {
    height: var(--dot);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-dot {
    width: var(--dot);
    height: var(--dot);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    background: var(--inactive);
}

a:hover .step-dot {
    background: var(--inactive) !important;
}

.step-title {
    margin-top: .75rem;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--text-inactive);
}

/* connector entre steps */
.step-connector {
    flex: 1 1 auto;
    height: var(--dot);
    display: flex;
    align-items: center;
    padding: 0 14px;
    min-width: 40px;
}

.step-connector::after {
    content: "";
    display: block;
    width: 100%;
    height: var(--line-h);
    background: var(--line);
    border-radius: 999px;
}

.step.is-active .step-dot {
    background: var(--active);
}

.step.is-active .step-title {
    color: var(--text-active);
    font-weight: 800;
}

.step.is-done .step-dot {
    background: var(--active);
}

.step.is-done .step-title {
    color: var(--text-fill);
    font-weight: 800;
}

.step-connector.is-done::after {
    background: var(--active);
}

.alert {
    font-size: 15px;
}
/*** QUESTIONARIO *****************************************************************/

.question {
    margin-top: 20px;
    margin-bottom: 40px
}

.progress-bar {
    background-color: #0b74b5
}

/*** ESCALA  *****************************************************************/
.scale-legend {
    font-weight: 600;
    gap: 1rem;
    font-size: 14px;
    line-height: 20px;
    width: 100%;
}

.scale-left {
    color: #ff2d2d;
    flex: 0 0 40%;
    text-align: left;
}

.scale-mid {
    color: #f59e0b;
    flex: 0 0 20%;
    text-align: center;
    margin-left: -20px
}

.scale-right {
    color: #16a34a;
    flex: 0 0 40%;
    text-align: right;
}

.rating-box {
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    padding: 22px 18px;
    background: #fff;
    height: 90px;
}

/* Grid dos 5 pontos */
.rating-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}

/* Item clicável */
.rating-item {
    display: grid;
    place-items: center;
    gap: .5rem;
    cursor: pointer;
    user-select: none;
    padding: .25rem 0;
}

/* Esconde o radio nativo */
.rating-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Circulo vazio */
.rating-dot {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid #1f2937;
    background: #fff;
    display: inline-block;
    box-sizing: border-box;
}

.rating-num {
    font-size: 18px;
    line-height: 10px;
    font-weight: 700;
    color: #111827;
}

/* 1 e 2 → vermelho */
.rating-radio[value="1"]:checked+.rating-dot,
.rating-radio[value="2"]:checked+.rating-dot {
    border-color: #ef4444;
    box-shadow: inset 0 0 0 5px #ef4444;
}

/* 3 → laranja */
.rating-radio[value="3"]:checked+.rating-dot {
    border-color: #f59e0b;
    box-shadow: inset 0 0 0 5px #f59e0b;
}

/* 4 e 5 → verde */
.rating-radio[value="4"]:checked+.rating-dot,
.rating-radio[value="5"]:checked+.rating-dot {
    border-color: #16a34a;
    box-shadow: inset 0 0 0 5px #16a34a;
}

.rating-item:has(.rating-radio:focus-visible) {
    outline: 3px solid rgba(59, 130, 246, .35);
    outline-offset: 6px;
    border-radius: 12px;
}

/* ---------- RELATORIO -------------------------------------------------- */
.section-desc {
    color: #373736;
    font-variant-numeric: lining-nums proportional-nums;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.card-soft {
    background: #FFF;
    border: 1px solid #FFF;
    border-radius: 10px;
    margin-top: 25px;
}

.index-box {
    padding: 18px;
}

.index-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: #000;
}

.index-left small,
.index-right small {
    color: #373736;
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    display: block;
    margin-bottom: 2px;
}

.index-score {
    color: #373736;
    font-size: 60px;
    font-weight: 900;
    line-height: 60px;
}

.index-level {
    font-size: 36px;
    font-weight: 900;
    text-align: right;
}


.priority {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 28px;
}

.index-foot {
    margin-top: 10px;
    font-size: 16px;
    line-height: 24px;
}


.maturity-track {
    --pct: 0%;
    --h: 32px;
    position: relative;
    height: var(--h);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .10);
}

.maturity-track::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e);
}

.maturity-track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pct);
    right: 0;
    background: #fff;
}

.maturity-label {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    left: var(--pct);
    transform: translate(-100%, -50%);
    margin-left: -8px;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    color: #EEE;
}

.table {
    border-bottom: 4px solid #000;
}

.table-wrap {
    padding: 0;
    overflow: hidden;
}

.table thead th {
    background: #2f2f2f !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .08);
    font-size: 16px;
    font-weight: 800;
    padding: 12px 12px;
    vertical-align: middle;
}

.table tbody td {
    font-size: 16px;
    padding: 12px 12px;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, .06);
}

.table tbody td.small {
    font-size: 14px;
}

.table tbody tr:hover td {
    background: rgba(31, 134, 200, .03);
}

.conclusions {
    color: #373736;
    font-size: 18px;
    line-height: 29.25px;
}

.conclusions .subtitle {
    font-size: 20px;
    font-weight: 900;
    line-height: 28px;
}

.conclusions .small {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

.radar-wrapper {
    padding: 0 !important;
    width: 600px;
    text-align: center;
}

.table th.title {
    width: 400px !important;
}

.link-disabled {
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: none;
}

/*  MEDIA QUERYS  ************************************************************/
@media (max-width: 991.98px) {
    .no-mobile { display: none !important }
    .only-mobile { display: inline; }

    body {
        font-size: 20px;
        line-height: 32px;
    }

    h1 {
        text-align: center;
        font-size: 40px;
        line-height: 50px;
    }

    h2 {
        font-size: 36px;
        line-height: 46px;
        text-transform: uppercase;
    }
    h3 {
        font-size: 24px;
        line-height: 32px;
    }
    .mb-100 {
        margin-bottom: 50px
    }

    .mb-150 {
        margin-bottom: 100px
    }

    .mt-150 {
        margin-top: 100px
    }

    .pt-150 {
        padding-top: 50px
    }

    .pb-75 {
        padding-bottom: 50px
    }

    .benefit p {
        font-size: 24px;
        line-height: 34px;
    }

    .topbar {
        padding-bottom: 30px;
        margin-top: 20px;
        text-align: center !important;
    }

    .actions {
        text-align: center;
    }

    .banner {
        min-height: 600px;
    }

    .banner-media {
        height: 600px;
    }

    .banner-content h2 {
        font-size: 36px;
        line-height: 46px;
    }

    .footer-divider div {
        padding: 30px;
    }
    .index-head {
        display: block;
        /*justify-content: space-between;*/
        align-items: start !important;
        text-align: left;
    }
    .index-left small,
    .index-right small,
    .index-level,
    .actions {
        text-align: center;
        padding: 10px 0;
    }

    .step-title {
        display:none;
    }
    .step {
        min-width: 41px;
    }
    .step-dot {
        width: 38px;
        height: 38px;
        font-size: 16px
    }

    /* connector entre steps */
    .step-connector {
        display:none;
    }

    .step-connector::after {
        display:none;
    }

    .fs-5 {
        font-size: 16px !important;
        line-height: 24px;
    }

    .question p {
        font-size: 18px;
        line-height: 28px;
    }

    .scale-left,
    .scale-mid,
    .scale-right {
        text-align: left;
        flex: none;
    }

    .scale-mid {
        margin-left: 0px;
    }

    .radar-wrapper {
        padding: 0 !important;
        width: 100%;
        text-align: center;
    }

}

/*  PRINT  *******************************************************************/
@page {
    size: A4;
    margin: 15mm 12mm;
    /* controla margens reais */
}

@media print {
    .no-mobile { display: inline !important }
    .only-mobile { display: none; }

    body {
        background: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        font-size: 14px;
        line-height: 18px;
    }
    .table,
    .table tbody td.small,
    .section-desc,
    .conclusions {
        font-size: 12px;
    }
    .table tbody td {
        font-size: 14px;
        padding: 5px;
    }
    .table th.title {
        width: 200px !important;
    }

    .mb-100 { margin-bottom:50px; }

    /* ====== Quebras ====== */
    .break-before {
        break-before: page;
        page-break-before: always;
        margin-top: 12mm
    }

    .avoid-break {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .col-md-6 {
        width: 100% !important;
    }

    /* esconde botões/menus se existirem */
    .no-print {
        display: none !important;
    }
}