/* Questionário NR-1 — página independente (sem header do site) */

.nr1q {
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(0, 194, 184, 0.12), transparent 55%),
        radial-gradient(700px 380px at 100% 0%, rgba(61, 126, 255, 0.08), transparent 50%),
        var(--surface-50, #F6F9FC);
    color: var(--text-900, #0E1726);
}
.nr1q__bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke, #E3EAF3);
    padding-top: env(safe-area-inset-top, 0);
}
.nr1q__bar-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nr1q__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}
.nr1q__brand img {
    height: 36px;
    width: auto;
    display: block;
}
.nr1q__brand-name {
    font-family: var(--font-display), 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}
.nr1q__bar-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vix-500, #00C2B8);
}
.nr1q__wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4.5rem;
}
.nr1q__hero {
    margin-bottom: 1.75rem;
}
.nr1q__eyebrow {
    font-family: var(--font-display), system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vix-500, #00C2B8);
    margin-bottom: 0.65rem;
}
.nr1q__title {
    font-family: var(--font-display), 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}
.nr1q__lead,
.nr1q__note {
    color: var(--text-500, #5A6B82);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 0 0.65rem;
}
.nr1q__dock {
    position: sticky;
    top: calc(3.15rem + env(safe-area-inset-top, 0px));
    z-index: 18;
    background: rgba(246, 249, 252, 0.94);
    backdrop-filter: blur(12px);
    margin: 0 0 1rem;
    padding: 0.55rem 0 0.65rem;
    border-bottom: 1px solid var(--stroke, #E3EAF3);
}
.nr1q__progress-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-500, #5A6B82);
    margin: 0 0 0.35rem;
}
.nr1q__progress {
    height: 4px;
    border-radius: 99px;
    background: #E3EAF3;
    overflow: hidden;
    margin-bottom: 0.55rem;
}
.nr1q__progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--vix-500, #00C2B8);
    transition: width 0.2s ease;
}
.nr1q__scale {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
}
.nr1q__scale span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--stroke, #E3EAF3);
    color: var(--text-500, #5A6B82);
}
.nr1q__card {
    background: #fff;
    border: 1px solid var(--stroke, #E3EAF3);
    border-radius: 14px;
    padding: 1.35rem 1.25rem 1.5rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 1px 2px rgba(10, 18, 32, 0.04);
}
.nr1q__card-head {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--stroke, #E3EAF3);
}
.nr1q__letter {
    font-family: var(--font-display), system-ui, sans-serif;
    font-weight: 700;
    color: var(--vix-500, #00C2B8);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}
.nr1q__card h2 {
    font-family: var(--font-display), system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0;
}
.nr1q__hint {
    font-size: 0.85rem;
    color: var(--text-500, #5A6B82);
    margin: -0.35rem 0 1rem;
    line-height: 1.5;
}
.nr1q__grid {
    display: grid;
    gap: 0.9rem 1rem;
}
@media (min-width: 720px) {
    .nr1q__grid--id {
        grid-template-columns: 1fr 1fr;
    }
}
.nr1q__field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-500, #5A6B82);
    margin-bottom: 0.4rem;
}
.nr1q__field input[type="text"],
.nr1q__field input[type="date"],
.nr1q__field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--stroke, #E3EAF3);
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
    color: inherit;
    background: #fff;
}
.nr1q__field input:focus,
.nr1q__field textarea:focus {
    outline: none;
    border-color: var(--vix-500, #00C2B8);
    box-shadow: 0 0 0 3px rgba(0, 194, 184, 0.14);
}
.nr1q__modes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.nr1q__mode {
    cursor: pointer;
    flex: 1 1 6.5rem;
}
.nr1q__mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.nr1q__mode span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--stroke, #E3EAF3);
    font-size: 0.9rem;
    font-weight: 550;
}
.nr1q__mode input:checked + span {
    border-color: var(--vix-500, #00C2B8);
    background: rgba(0, 194, 184, 0.1);
    color: #0F766E;
}
.nr1q__item {
    margin: 0;
    padding: 0.95rem 0 1.05rem;
    border: 0;
    border-top: 1px solid #EEF2F7;
    min-width: 0;
}
.nr1q__item:first-of-type {
    border-top: 0;
    padding-top: 0;
}
.nr1q__card-head + .nr1q__item,
.nr1q__hint + .nr1q__item {
    border-top: 0;
    padding-top: 0;
}
.nr1q__hint + .nr1q__item--choice {
    padding-top: 1rem;
}
fieldset.nr1q__item {
    display: block;
    min-inline-size: 0;
}
.nr1q__item--choice {
    padding: 1rem 1rem 1.05rem;
    margin-top: 0.75rem;
    border: 1px solid var(--stroke, #E3EAF3);
    border-radius: 14px;
    background: #F8FBFD;
}
.nr1q__item--choice:first-of-type {
    margin-top: 0;
    padding-top: 1rem;
}
.nr1q__q {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 0 0 0.8rem;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    color: var(--text-900, #0E1726);
}
.nr1q__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 1.85rem;
    height: 1.85rem;
    margin-top: 0.05rem;
    border-radius: 8px;
    background: rgba(0, 194, 184, 0.12);
    color: #0F766E;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.nr1q__likert {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.35rem;
    clear: both;
}
.nr1q__opt {
    cursor: pointer;
    text-align: center;
}
.nr1q__opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.nr1q__opt i {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border: 1px solid var(--stroke, #E3EAF3);
    border-radius: 10px;
    font-style: normal;
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.15;
    padding: 0.4rem 0.15rem;
    background: #fff;
}
.nr1q__opt-lbl {
    font-weight: 500;
    opacity: 0.7;
    margin-top: 2px;
    font-size: 0.62rem;
}
.nr1q__opt input:focus-visible + i {
    box-shadow: 0 0 0 3px rgba(0, 194, 184, 0.2);
}
.nr1q__opt input:checked + i {
    border-color: var(--vix-500, #00C2B8);
    background: rgba(0, 194, 184, 0.12);
    color: #0F766E;
}
.nr1q__choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.25rem, 1fr));
    gap: 0.5rem;
    clear: both;
}
.nr1q__choice {
    cursor: pointer;
    display: block;
    min-width: 0;
}
.nr1q__choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.nr1q__choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--stroke, #E3EAF3);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.nr1q__choice input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(0, 194, 184, 0.2);
}
.nr1q__choice input:checked + span {
    border-color: var(--vix-500, #00C2B8);
    background: rgba(0, 194, 184, 0.14);
    color: #0F766E;
    box-shadow: inset 0 0 0 1px rgba(0, 194, 184, 0.25);
}
.nr1q__choice[data-val="prefiro_nao"] input:checked + span,
.nr1q__choice[data-val="nao_sei"] input:checked + span {
    border-color: #CBD5E1;
    background: #F1F5F9;
    color: #475569;
    box-shadow: none;
}
.nr1q__privacy {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-500, #5A6B82);
    padding: 0.35rem 0;
}
.nr1q__privacy input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.nr1q__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}
.nr1q__legal {
    font-size: 0.8rem;
    color: var(--text-500, #5A6B82);
    line-height: 1.55;
    margin-top: 1.5rem;
}
.nr1q__done {
    text-align: center;
    padding: 2.5rem 1.25rem;
}
.nr1q__done h1 {
    font-family: var(--font-display), system-ui, sans-serif;
    font-size: 1.8rem;
    margin: 0.4rem 0 0.75rem;
}
.nr1q__urgent {
    border-color: #FECACA;
    background: #FEF2F2;
}
.nr1q__hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
@media (max-width: 720px) {
    .nr1q__bar-inner {
        padding: 0.7rem 1rem;
    }
    .nr1q__brand img {
        height: 30px;
    }
    .nr1q__wrap {
        padding: 1.15rem 0.9rem 6.5rem;
    }
    .nr1q__hero {
        margin-bottom: 0.85rem;
    }
    .nr1q__title {
        font-size: 1.35rem;
        line-height: 1.25;
    }
    .nr1q__lead,
    .nr1q__note {
        font-size: 0.9rem;
    }
    .nr1q__card {
        padding: 1rem 0.9rem 1.1rem;
        border-radius: 12px;
        margin-bottom: 0.85rem;
    }
    .nr1q__card h2 {
        font-size: 1.02rem;
    }
    .nr1q__q {
        font-size: 0.94rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    .nr1q__item--choice {
        padding: 0.9rem 0.8rem 0.95rem;
        border-radius: 12px;
        margin-top: 0.65rem;
    }
    .nr1q__scale span {
        font-size: 0.65rem;
        padding: 0.22rem 0.4rem;
    }
    /* Escala sempre numa linha: 1→5 faz sentido da esquerda para a direita */
    .nr1q__likert {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.28rem;
    }
    .nr1q__opt i {
        min-height: 48px;
        font-size: 0.95rem;
        border-radius: 8px;
        padding: 0.25rem 0.1rem;
    }
    .nr1q__opt-lbl {
        display: none;
    }
    .nr1q__modes {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    .nr1q__mode span {
        min-height: 48px;
        width: 100%;
    }
    .nr1q__choices {
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
    }
    .nr1q__choice:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .nr1q__choice span {
        min-height: 52px;
        padding: 0.7rem 0.65rem;
        border-radius: 12px;
        font-size: 0.92rem;
    }
    .nr1q__actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 25;
        margin: 0;
        padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid var(--stroke, #E3EAF3);
        box-shadow: 0 -8px 24px rgba(10, 18, 32, 0.08);
    }
    .nr1q__done .nr1q__actions {
        position: static;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
    }
    .nr1q__bar-label {
        font-size: 0.62rem;
    }
}

@media (max-width: 380px) {
    .nr1q__scale span:nth-child(2),
    .nr1q__scale span:nth-child(4) {
        display: none;
    }
    .nr1q__opt i {
        font-size: 0.85rem;
        min-height: 44px;
    }
}
