:root {
    --navy: #25335d;
    --navy-dark: #1b2646;
    --navy-soft: #eef1f7;
    --gold: #c9a227;
    --bg: #e9edf4;
    --card: #ffffff;
    --text: #1c2434;
    --muted: #5d6778;
    --line: #d7deea;
    --success: #1f7a56;
    --shadow: 0 10px 30px rgba(37, 51, 93, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #25335d #eef1f7;
}

html,
body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--card);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    -webkit-overflow-scrolling: touch;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: var(--navy-soft);
}

body::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 99px;
}

.img-logo {
    width: 360px;
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto 28px;
}

.page-wrap {
    width: 100%;
    flex: 1;
    margin: 0;
    padding: 0;
}

.survey-sheet {
    background: var(--card);
    min-height: 100%;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    border: 0;
}

.welcome {
    padding: 40px 48px 32px;
}

.survey-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy-soft);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 6px 12px;
    margin-bottom: 16px;
}

.hero-title {
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.55rem);
    line-height: 1.15;
    max-width: 16ch;
}

.hero-text {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0 0 22px;
    max-width: 54ch;
}

.welcome-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: 0 0 18px;
}

.welcome-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f6f8fc;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
}

.welcome-points i {
    color: var(--gold);
    width: 18px;
    text-align: center;
}

.privacy-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.privacy-note i {
    color: var(--navy);
    margin-top: 3px;
}

.profile-block {
    padding: 8px 48px 8px;
    border-top: 1px solid var(--line);
}

.profile-title {
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 22px 0 18px;
}

.option-group {
    border: 0;
    padding: 0;
    margin: 0 0 22px;
}

.option-group legend,
.field-label {
    display: block;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.option-grid {
    display: grid;
    gap: 8px;
}

.option-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.option-card {
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 8px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.option-card:hover {
    border-color: var(--navy);
    background: var(--navy-soft);
}

.btn-check:checked + .option-card {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.form-select,
.form-control,
textarea.form-control {
    border: 1px solid var(--line);
    border-radius: 12px;
    min-height: 52px;
    color: var(--text);
}

.form-select:focus,
.form-control:focus,
textarea.form-control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 0.2rem rgba(37, 51, 93, 0.12);
}

.btn-blue-primary,
.btn-send {
    width: 100%;
    max-width: 360px;
    border: 0;
    border-radius: 14px;
    padding: 16px 20px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn-blue-primary {
    background: var(--navy);
    color: #fff;
}

.btn-blue-primary:hover,
.btn-send:hover {
    background: var(--navy-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-send {
    background: var(--navy);
    color: #fff;
    max-width: none;
    width: calc(100% - 96px);
    margin: 12px 48px 32px;
}

.question-group {
    margin: 28px 48px 8px;
}

.question-group__title {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--navy-soft);
}

.question-card {
    padding: 8px 0 22px;
    border-bottom: 1px solid var(--line);
}

.question-card:last-child {
    border-bottom: 0;
    padding-bottom: 8px;
}

.question-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.q-num {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--navy-soft);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 2px;
}

.question-card__title {
    display: block;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.45;
    margin: 0;
}

.nps-scale {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
}

.nps-scale.has-nr {
    grid-template-columns: repeat(11, minmax(0, 1fr));
}

.nps-btn {
    min-height: 64px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nps-btn .emoji {
    font-size: 1.25rem;
    line-height: 1;
}

.nps-btn small {
    font-weight: 800;
    color: var(--muted);
}

.nps-btn:hover {
    border-color: var(--navy);
    background: var(--navy-soft);
}

.nps-btn--nr {
    letter-spacing: 0.04em;
    color: var(--muted);
    border-style: dashed;
}

.btn-check:checked + .nps-btn {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.btn-check:checked + .nps-btn small {
    color: rgba(255, 255, 255, 0.9);
}

.nps-labels {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.choice-scale,
.chip-scale {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.setor-internacao {
    display: block;
}

.setor-titulo {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.setor-grade {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}

.choice-item {
    flex: 1 1 160px;
}

.chip-item {
    min-width: 0;
}

.choice-btn,
.chip-btn {
    width: 100%;
    min-height: 56px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    cursor: pointer;
}

.setor-btn {
    min-height: 72px;
    flex-direction: column;
    gap: 2px;
    border-radius: 14px;
}

.setor-btn small {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
}

.setor-btn strong {
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 800;
}

.choice-btn .emoji {
    font-size: 1.3rem;
    line-height: 1;
}

.choice-btn:hover,
.chip-btn:hover {
    border-color: var(--navy);
    background: var(--navy-soft);
}

.btn-check:checked + .choice-btn,
.btn-check:checked + .chip-btn {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.btn-check:checked + .setor-btn small {
    color: rgba(255, 255, 255, 0.75);
}

.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--muted);
    padding: 24px 0;
    font-weight: 600;
}

.site-footer {
    background: var(--navy);
    color: #fff;
    margin-top: 8px;
    border-top: 4px solid var(--gold);
}

.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    padding: 48px 0 40px;
}

.footer-kicker {
    display: inline-block;
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-brand h2 {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin: 0 0 22px;
    max-width: 420px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.footer-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.footer-contacts li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
}

.footer-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(201, 162, 39, 0.16);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
}

.footer-contacts strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 2px;
}

.footer-contacts a,
.footer-contacts span {
    color: #fff;
    text-decoration: none;
    line-height: 1.45;
}

.footer-contacts a:hover {
    color: var(--gold);
}

.footer-bottom {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom__inner {
    padding: 16px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0 28px;
    }
}

.suave {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.mostrar {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .welcome,
    .profile-block {
        padding-left: 18px;
        padding-right: 18px;
    }

    .welcome {
        padding-top: 24px;
    }

    .hero-title {
        max-width: none;
    }

    .welcome-points,
    .option-grid--3,
    .option-grid--4 {
        grid-template-columns: 1fr 1fr;
    }

    .btn-blue-primary {
        max-width: none;
    }

    .btn-send {
        width: calc(100% - 36px);
        margin-left: 18px;
        margin-right: 18px;
    }

    .question-group {
        margin-left: 18px;
        margin-right: 18px;
    }

    .nps-scale,
    .nps-scale.has-nr {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .nps-btn {
        min-height: 48px;
    }

    .img-logo {
        width: 280px;
        margin-bottom: 22px;
    }
}
