:root {
    --background: #050609;
    --background-soft: #080a0f;
    --surface: #0d1018;
    --surface-light: #111521;

    --text: #f7f8fb;
    --text-soft: #a5abb8;
    --text-muted: #707786;

    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.17);

    --accent: #7d98ff;
    --accent-light: #b6c3ff;
    --accent-dark: #536dd0;
    --success: #73e2ad;
    --danger: #ff8d99;

    --font-display: "Manrope", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-mono: "Space Mono", monospace;

    --container: 1380px;
    --header-height: 80px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

body.is-processing {
    cursor: progress;
}

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
}

.skip-link {
    position: fixed;
    z-index: 4000;
    top: 12px;
    left: 12px;
    padding: 11px 15px;
    border-radius: 8px;
    background: var(--text);
    color: var(--background);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.page-background,
.page-grid,
.page-noise,
.page-glow {
    position: fixed;
    pointer-events: none;
}

.page-background {
    z-index: -1;
    inset: 0;
    overflow: hidden;
}

.page-grid {
    inset: 0;
    opacity: 0.34;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 15%,
        black 85%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        black 15%,
        black 85%,
        transparent
    );
}

.page-noise {
    inset: 0;
    opacity: 0.034;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.page-glow {
    border-radius: 50%;
    filter: blur(130px);
}

.page-glow-one {
    top: -170px;
    right: -150px;
    width: 650px;
    height: 650px;
    background: rgba(83, 112, 225, 0.14);
}

.page-glow-two {
    bottom: -260px;
    left: 15%;
    width: 550px;
    height: 550px;
    background: rgba(105, 73, 190, 0.07);
}

/* HEADER */

.diagnostic-header {
    position: relative;
    z-index: 100;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: rgba(5, 6, 9, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-container {
    width: min(calc(100% - 64px), var(--container));
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.brand-symbol {
    position: relative;
    width: 27px;
    height: 27px;
}

.brand-symbol span {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    transform: rotate(45deg);
}

.brand-symbol span:first-child {
    top: 1px;
    left: 1px;
}

.brand-symbol span:last-child {
    right: 1px;
    bottom: 1px;
    border-color: var(--accent);
}

.brand-word {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.brand-word span {
    color: var(--text-soft);
    font-weight: 500;
}

.header-status {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #c1c6d1;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.status-dot,
.preview-online {
    position: relative;
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 12px rgba(115, 226, 173, 0.72);
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(115, 226, 173, 0.3);
    border-radius: inherit;
    animation: pulse 2.4s ease-out infinite;
}

.home-link {
    justify-self: end;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    transition:
        color 200ms ease,
        transform 300ms var(--ease);
}

.home-link:hover {
    color: var(--text);
    transform: translateX(-3px);
}

.home-link svg {
    width: 18px;
    height: 18px;
}

.home-link path,
.primary-button path,
.navigation-button path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* INTRODUÇÃO */

.diagnostic-shell {
    width: min(calc(100% - 64px), var(--container));
    min-height: calc(100vh - var(--header-height));
    margin-inline: auto;
}

.diagnostic-introduction {
    min-height: calc(100vh - var(--header-height));
    padding: 72px 0;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.68fr);
    gap: clamp(60px, 8vw, 120px);
    align-items: center;
    transition:
        opacity 500ms ease,
        transform 500ms var(--ease);
}

.diagnostic-introduction.is-hidden {
    display: none;
}

.introduction-copy {
    max-width: 790px;
}

.eyebrow {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #c3c8d1;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.eyebrow span {
    padding: 7px 9px;
    border: 1px solid rgba(125, 152, 255, 0.24);
    border-radius: 999px;
    background: rgba(125, 152, 255, 0.07);
    color: var(--accent-light);
    font-family: var(--font-mono);
    font-size: 8px;
}

.introduction-copy h1 {
    max-width: 850px;
    margin-top: 30px;
    font-family: var(--font-display);
    font-size: clamp(58px, 6.4vw, 100px);
    font-weight: 520;
    line-height: 0.96;
    letter-spacing: -0.068em;
    text-wrap: balance;
}

.introduction-copy h1 span {
    background: linear-gradient(
        110deg,
        #f6f8ff,
        #bac7ff 48%,
        #758de4
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.introduction-lead {
    max-width: 690px;
    margin-top: 30px;
    color: #d0d4dc;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.65;
    letter-spacing: -0.018em;
}

.introduction-support {
    max-width: 650px;
    margin-top: 16px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.75;
}

.primary-button {
    position: relative;
    min-height: 58px;
    margin-top: 38px;
    padding: 0 8px 0 24px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    overflow: hidden;
    background: var(--text);
    color: #08090c;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 20px 65px rgba(99, 128, 243, 0.17);
    transition:
        transform 350ms var(--ease),
        box-shadow 350ms var(--ease);
}

.primary-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        transparent 20%,
        rgba(255, 255, 255, 0.9) 50%,
        transparent 80%
    );
    transform: translateX(-120%);
    transition: transform 700ms var(--ease);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 80px rgba(99, 128, 243, 0.25);
}

.primary-button:hover::before {
    transform: translateX(120%);
}

.primary-button:disabled {
    cursor: progress;
    opacity: 0.7;
    transform: none;
}

.primary-button > span {
    position: relative;
    z-index: 1;
}

.button-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #111319;
    color: white;
}

.button-icon svg {
    width: 18px;
    height: 18px;
}

.introduction-details {
    max-width: 680px;
    margin-top: clamp(58px, 8vh, 90px);
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.introduction-details div {
    display: grid;
    gap: 3px;
}

.introduction-details span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 8px;
}

.introduction-details strong {
    color: #c9ced7;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.introduction-details small {
    color: var(--text-muted);
    font-size: 9px;
}

/* PREVIEW */

.assessment-preview {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.052),
            transparent 34%
        ),
        rgba(8, 10, 16, 0.88);
    box-shadow:
        0 55px 130px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.assessment-preview::before {
    content: "";
    position: absolute;
    top: 15%;
    right: 5%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(92, 121, 230, 0.13);
    filter: blur(70px);
}

.preview-header,
.preview-footer {
    position: relative;
    z-index: 3;
    min-height: 58px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-header {
    border-bottom: 1px solid var(--border);
}

.preview-header > div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #b9bfca;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.preview-header > span,
.preview-footer span {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 8px;
}

.preview-core {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 38px 38px;
}

.preview-rings span {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(125, 152, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.preview-rings span:nth-child(1) {
    width: 340px;
    height: 340px;
}

.preview-rings span:nth-child(2) {
    width: 250px;
    height: 250px;
    border-style: dashed;
    animation: rotateRing 32s linear infinite;
}

.preview-rings span:nth-child(3) {
    width: 165px;
    height: 165px;
    border-color: rgba(125, 152, 255, 0.2);
}

.preview-center {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(125, 152, 255, 0.28);
    border-radius: 50%;
    display: grid;
    place-content: center;
    background:
        radial-gradient(
            circle at 36% 28%,
            rgba(125, 152, 255, 0.18),
            transparent 43%
        ),
        rgba(13, 16, 25, 0.94);
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    animation: centerFloat 6s ease-in-out infinite;
}

.preview-center span {
    color: var(--accent-light);
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
}

.preview-center strong {
    margin-top: 3px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 650;
}

.preview-center small {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 8px;
}

.preview-node {
    position: absolute;
    z-index: 2;
    min-width: 90px;
    padding: 10px 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(13, 16, 25, 0.9);
    color: #afb5c0;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 0.055em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.node-one {
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
}

.node-two {
    top: 34%;
    right: 5%;
}

.node-three {
    right: 8%;
    bottom: 18%;
}

.node-four {
    bottom: 10%;
    left: 28%;
}

.node-five {
    top: 38%;
    left: 4%;
}

.preview-footer {
    border-top: 1px solid var(--border);
}

.preview-footer strong {
    display: block;
    margin-top: 3px;
    color: #b8bec9;
    font-size: 9px;
    font-weight: 500;
}

.signal-bars {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 18px;
}

.signal-bars span {
    width: 2px;
    border-radius: 2px;
    background: var(--accent);
    animation: signalBars 1.1s ease-in-out infinite alternate;
}

.signal-bars span:nth-child(1) {
    height: 7px;
}

.signal-bars span:nth-child(2) {
    height: 14px;
    animation-delay: -0.4s;
}

.signal-bars span:nth-child(3) {
    height: 10px;
    animation-delay: -0.7s;
}

.signal-bars span:nth-child(4) {
    height: 18px;
    animation-delay: -0.2s;
}

/* QUIZ */

.quiz-interface {
    max-width: 1120px;
    min-height: calc(100vh - var(--header-height));
    margin-inline: auto;
    padding: 58px 0 70px;
    display: none;
}

.quiz-interface.is-active {
    display: block;
    animation: interfaceEnter 600ms var(--ease) both;
}

.quiz-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.quiz-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quiz-identity > div span {
    display: block;
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.quiz-identity > div strong {
    display: block;
    margin-top: 2px;
    color: #c9ced7;
    font-size: 11px;
    font-weight: 600;
}

.quiz-progress-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 9px;
}

.quiz-progress-meta span {
    color: var(--text-muted);
}

.quiz-progress-meta strong {
    color: var(--accent-light);
    font-weight: 500;
}

.quiz-progress {
    height: 2px;
    margin-top: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
}

.quiz-progress > span {
    display: block;
    width: 10%;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--accent-dark),
        var(--accent-light)
    );
    box-shadow: 0 0 16px rgba(125, 152, 255, 0.6);
    transition: width 500ms var(--ease);
}

.quiz-form {
    position: relative;
    margin-top: 42px;
}

.quiz-step {
    min-height: 550px;
    padding: clamp(38px, 6vw, 72px);
    border: 1px solid var(--border);
    border-radius: 25px;
    display: none;
    grid-template-columns: 70px 1fr;
    gap: 40px;
    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(102, 130, 235, 0.08),
            transparent 28%
        ),
        rgba(9, 11, 17, 0.83);
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.quiz-step.is-active {
    display: grid;
    animation: stepEnter 500ms var(--ease) both;
}

.step-number {
    color: rgba(255, 255, 255, 0.15);
    font-family: var(--font-mono);
    font-size: 13px;
}

.step-content {
    max-width: 870px;
}

.step-eyebrow {
    color: var(--accent-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.step-content h2 {
    max-width: 850px;
    margin-top: 17px;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 520;
    line-height: 1.05;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.step-content > p {
    max-width: 650px;
    margin-top: 17px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

.options-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option-card {
    position: relative;
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.018);
    cursor: pointer;
    transition:
        border-color 250ms ease,
        background 250ms ease,
        transform 300ms var(--ease),
        box-shadow 300ms ease;
}

.option-card:hover {
    border-color: rgba(125, 152, 255, 0.28);
    background: rgba(125, 152, 255, 0.045);
    transform: translateY(-2px);
}

.option-card:has(input:checked) {
    border-color: rgba(125, 152, 255, 0.6);
    background:
        linear-gradient(
            135deg,
            rgba(125, 152, 255, 0.12),
            rgba(125, 152, 255, 0.035)
        );
    box-shadow:
        0 15px 45px rgba(30, 42, 90, 0.22),
        inset 0 0 0 1px rgba(125, 152, 255, 0.08);
}

.option-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.option-index {
    width: 31px;
    height: 31px;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 8px;
    transition:
        color 250ms ease,
        border-color 250ms ease,
        background 250ms ease;
}

.option-card:has(input:checked) .option-index {
    border-color: var(--accent);
    background: var(--accent);
    color: #08090c;
}

.option-card strong,
.option-card small {
    display: block;
}

.option-card strong {
    color: #d4d8e0;
    font-size: 13px;
    font-weight: 650;
}

.option-card small {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.55;
}

.text-field,
.input-field {
    display: grid;
    gap: 9px;
}

.text-field {
    margin-top: 36px;
}

.text-field label,
.input-field label {
    color: #c6cbd4;
    font-size: 11px;
    font-weight: 650;
}

textarea,
.input-field input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 13px;
    outline: none;
    background: rgba(255, 255, 255, 0.022);
    color: var(--text);
    transition:
        border-color 250ms ease,
        background 250ms ease,
        box-shadow 250ms ease;
}

textarea {
    min-height: 190px;
    padding: 18px;
    resize: vertical;
    line-height: 1.65;
}

.input-field input {
    min-height: 54px;
    padding: 0 16px;
}

textarea::placeholder,
.input-field input::placeholder {
    color: #5e6471;
}

textarea:focus,
.input-field input:focus {
    border-color: rgba(125, 152, 255, 0.55);
    background: rgba(125, 152, 255, 0.035);
    box-shadow: 0 0 0 4px rgba(125, 152, 255, 0.07);
}

.field-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--text-muted);
    font-size: 9px;
}

.contact-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-full {
    grid-column: 1 / -1;
}

.privacy-check {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.6;
    cursor: pointer;
}

.privacy-check input {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--accent);
}

.privacy-check a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.quiz-feedback {
    min-height: 22px;
    margin-top: 15px;
    color: var(--danger);
    font-size: 11px;
    text-align: center;
}

.quiz-navigation {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

.navigation-button {
    width: fit-content;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.025);
    color: #c7ccd5;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition:
        border-color 250ms ease,
        background 250ms ease,
        transform 300ms var(--ease);
}

.navigation-button svg {
    width: 17px;
    height: 17px;
}

.navigation-button:hover:not(:disabled) {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.navigation-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.navigation-back {
    justify-self: start;
}

.navigation-next {
    justify-self: end;
    border-color: var(--text);
    background: var(--text);
    color: var(--background);
}

.keyboard-tip {
    color: var(--text-muted);
    font-size: 9px;
    text-align: center;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

/* RESULTADO */

.diagnostic-result {
    max-width: 1120px;
    min-height: calc(100vh - var(--header-height));
    margin-inline: auto;
    padding: 70px 0;
    display: none;
}

.diagnostic-result.is-active {
    display: block;
    animation: interfaceEnter 650ms var(--ease) both;
}

.result-header {
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 12, 18, 0.82);
}

.result-header > span {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 8px;
}

.result-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c4c9d2;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.result-grid {
    padding: clamp(36px, 6vw, 74px);
    border: 1px solid var(--border);
    border-radius: 0 0 22px 22px;
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: clamp(50px, 8vw, 100px);
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(125, 152, 255, 0.11),
            transparent 32%
        ),
        rgba(9, 11, 17, 0.88);
    box-shadow: 0 45px 120px rgba(0, 0, 0, 0.4);
}

.result-copy h2 {
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: clamp(39px, 5vw, 68px);
    font-weight: 520;
    line-height: 1.02;
    letter-spacing: -0.058em;
}

.result-copy h2 span {
    color: var(--accent-light);
}

.result-copy > p {
    max-width: 660px;
    margin-top: 24px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.75;
}

.result-score-card {
    margin-top: 42px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.022);
}

.result-score-card > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.result-score-card span {
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.result-score-card strong {
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
}

.score-track {
    height: 4px;
    margin-top: 17px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.07);
}

.score-track span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--accent-dark),
        var(--accent-light)
    );
    box-shadow: 0 0 18px rgba(125, 152, 255, 0.6);
    transition: width 1.1s var(--ease);
}

.result-analysis {
    padding-top: 5px;
}

.analysis-label {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bottleneck-list {
    display: grid;
}

.bottleneck-item {
    min-height: 68px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 27px 1fr;
    gap: 12px;
    align-items: center;
}

.bottleneck-item span {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(125, 152, 255, 0.28);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--accent-light);
    font-family: var(--font-mono);
    font-size: 7px;
}

.bottleneck-item strong {
    color: #cbd0d9;
    font-size: 12px;
    font-weight: 600;
}

.result-note {
    margin-top: 28px;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(125, 152, 255, 0.035);
}

.result-note span {
    color: var(--accent-light);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.result-note p {
    margin-top: 7px;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.65;
}

.result-actions {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.result-actions .primary-button {
    margin-top: 0;
}

.secondary-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    transition: color 200ms ease;
}

.secondary-link:hover {
    color: var(--text);
}

/* WHATSAPP */

.floating-whatsapp {
    position: fixed;
    z-index: 500;
    right: 24px;
    bottom: 24px;
    min-height: 54px;
    padding: 0 18px 0 14px;
    border: 1px solid rgba(115, 226, 173, 0.3);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(11, 18, 16, 0.92);
    color: #c5f4dc;
    font-size: 11px;
    font-weight: 700;
    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.38),
        0 0 30px rgba(64, 194, 123, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        transform 300ms var(--ease),
        border-color 250ms ease,
        background 250ms ease;
}

.floating-whatsapp:hover {
    border-color: rgba(115, 226, 173, 0.52);
    background: rgba(16, 29, 24, 0.98);
    transform: translateY(-3px);
}

.floating-whatsapp svg {
    width: 27px;
    height: 27px;
    fill: #66d99d;
}

/* ESTADOS E ACESSIBILIDADE */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.option-card:has(input:focus-visible) {
    outline: 2px solid var(--accent-light);
    outline-offset: 4px;
}

.input-field.has-error input,
.text-field.has-error textarea {
    border-color: var(--danger);
}

.option-card.has-error {
    border-color: var(--danger);
}

/* ANIMAÇÕES */

@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: scale(0.6);
    }

    80%,
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

@keyframes rotateRing {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes centerFloat {
    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, calc(-50% - 6px));
    }
}

@keyframes signalBars {
    from {
        opacity: 0.25;
        transform: scaleY(0.55);
    }

    to {
        opacity: 0.9;
        transform: scaleY(1);
    }
}

@keyframes interfaceEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stepEnter {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVO */

@media (max-width: 1040px) {
    .diagnostic-introduction {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.65fr);
        gap: 50px;
    }

    .introduction-copy h1 {
        font-size: clamp(56px, 7vw, 78px);
    }

    .preview-core {
        min-height: 450px;
    }
}

@media (max-width: 900px) {
    .header-container,
    .diagnostic-shell {
        width: min(calc(100% - 40px), 760px);
    }

    .header-container {
        grid-template-columns: 1fr auto;
    }

    .header-status {
        display: none;
    }

    .diagnostic-introduction {
        padding: 70px 0 90px;
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .assessment-preview {
        max-width: 620px;
        width: 100%;
        margin-inline: auto;
    }

    .quiz-interface,
    .diagnostic-result {
        max-width: 760px;
    }

    .quiz-step {
        grid-template-columns: 42px 1fr;
        gap: 24px;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 72px;
    }

    .header-container,
    .diagnostic-shell {
        width: calc(100% - 32px);
    }

    .brand-word {
        font-size: 11px;
    }

    .home-link {
        font-size: 0;
    }

    .home-link svg {
        width: 22px;
        height: 22px;
    }

    .diagnostic-introduction {
        padding: 56px 0 75px;
        gap: 54px;
    }

    .eyebrow {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .introduction-copy h1 {
        margin-top: 25px;
        font-size: clamp(47px, 14vw, 64px);
        line-height: 0.99;
    }

    .introduction-lead {
        font-size: 17px;
    }

    .primary-button {
        width: 100%;
        justify-content: space-between;
    }

    .introduction-details {
        margin-top: 52px;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .introduction-details div {
        grid-template-columns: 26px 1fr;
        align-items: center;
    }

    .introduction-details small {
        grid-column: 2;
    }

    .assessment-preview {
        border-radius: 18px;
    }

    .preview-core {
        min-height: 390px;
    }

    .preview-rings span:nth-child(1) {
        width: 280px;
        height: 280px;
    }

    .preview-rings span:nth-child(2) {
        width: 215px;
        height: 215px;
    }

    .preview-center {
        width: 128px;
        height: 128px;
    }

    .preview-node {
        min-width: 75px;
        padding: 8px;
        font-size: 7px;
    }

    .quiz-interface,
    .diagnostic-result {
        padding: 36px 0 80px;
    }

    .quiz-topbar {
        align-items: flex-start;
    }

    .quiz-progress-meta {
        align-items: flex-end;
        flex-direction: column;
        gap: 2px;
    }

    .quiz-form {
        margin-top: 28px;
    }

    .quiz-step {
        min-height: 0;
        padding: 30px 22px;
        border-radius: 18px;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step-content h2 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .options-grid {
        margin-top: 30px;
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-full {
        grid-column: auto;
    }

    .field-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .quiz-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .keyboard-tip {
        display: none;
    }

    .navigation-button {
        width: 100%;
        justify-content: center;
    }

    .result-header {
        border-radius: 18px 18px 0 0;
    }

    .result-grid {
        padding: 30px 22px;
        border-radius: 0 0 18px 18px;
        gap: 45px;
    }

    .result-copy h2 {
        font-size: clamp(38px, 11vw, 51px);
    }

    .result-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .secondary-link {
        justify-content: center;
    }

    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
    }

    .floating-whatsapp span {
        display: none;
    }
}

@media (max-width: 380px) {
    .preview-core {
        min-height: 350px;
    }

    .preview-node {
        min-width: 67px;
    }

    .introduction-copy h1 {
        font-size: 43px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}