:root {
    --black: #020303;
    --black-soft: #050707;
    --panel: #080a0b;
    --panel-light: #0b0d0f;
    --white: #f2f4f1;
    --text: #d0d3cf;
    --muted: #7e837e;
    --muted-dark: #525652;
    --green: #65c536;
    --green-dark: #378521;
    --green-soft: rgba(101, 197, 54, 0.1);
    --red: #e16c6c;
    --border: rgba(255, 255, 255, 0.08);
    --border-soft: rgba(255, 255, 255, 0.045);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--black);
    color: var(--white);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

fieldset {
    border: 0;
}

input {
    min-width: 0;
}

.signup-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(460px, 46.6%) minmax(0, 53.4%);
    background: var(--black);
}

.signup-brand-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    border-right: 1px solid var(--border-soft);
    background: #030404;
}

.signup-brand-panel__background {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.18)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.50)),
        url("../assets/imagens/cadastro-background.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.signup-brand-panel__shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 31% 42%, rgba(101, 197, 54, 0.07), transparent 26%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.5));
}

.signup-brand-panel__content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 38px clamp(48px, 4.7vw, 76px) 36px;
    display: flex;
    flex-direction: column;
}

.signup-logo {
    width: clamp(170px, 14.2vw, 208px);
    display: inline-flex;
    align-items: center;
}

.signup-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.signup-presentation {
    width: 100%;
    max-width: 575px;
    margin-top: 66px;
    margin-bottom: auto;
}

.signup-eyebrow {
    margin-bottom: 17px;
    color: var(--green);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.signup-title {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(44px, 3.65vw, 60px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.signup-title span {
    color: var(--green);
}

.signup-description {
    max-width: 520px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.75;
}

.signup-benefits {
    max-width: 410px;
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.signup-benefit {
    min-width: 0;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: flex-start;
    gap: 18px;
}

.signup-benefit__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(101, 197, 54, 0.06);
    border-radius: 50%;
    background: rgba(101, 197, 54, 0.045);
    color: var(--green);
    box-shadow: inset 0 0 22px rgba(101, 197, 54, 0.025);
}

.signup-benefit__icon svg {
    width: 24px;
    height: 24px;
    color: var(--green);
    stroke: currentColor;
    stroke-width: 1.5;
    flex-shrink: 0;
}

.signup-benefit h2 {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
}

.signup-benefit p {
    max-width: 240px;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.43);
    font-size: 12px;
    line-height: 1.62;
}

.signup-brand-footer {
    margin-top: auto;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: 0.005em;
}

.signup-brand-footer p {
    margin: 0;
}

/* Globo institucional exclusivo: evita qualquer deformação */
.signup-benefit__icon--globe {
    flex: 0 0 52px;
}

.liquidity-globe-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    display: block;
    overflow: visible;
    fill: none;
    color: var(--green);
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    aspect-ratio: 1 / 1;
}

.signup-benefit__icon .liquidity-globe-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
}

.signup-form-panel {
    position: relative;
    min-width: 0;
    min-height: 100vh;
    padding-bottom: 90px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 52% 14%, rgba(101, 197, 54, 0.035), transparent 24%),
        linear-gradient(180deg, #050707, #020303);
}

.signup-form-header {
    min-height: 78px;
    padding: 18px clamp(28px, 3.6vw, 58px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    border-bottom: 1px solid var(--border-soft);
}

.signup-form-header > span {
    color: rgba(255, 255, 255, 0.43);
    font-size: 12px;
}

.login-button {
    min-width: 84px;
    min-height: 36px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(101, 197, 54, 0.45);
    border-radius: 5px;
    background: rgba(101, 197, 54, 0.025);
    color: var(--green);
    font-size: 12px;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.login-button:hover {
    border-color: rgba(101, 197, 54, 0.7);
    background: rgba(101, 197, 54, 0.08);
    transform: translateY(-1px);
}

.signup-form-wrapper {
    width: 100%;
    padding: clamp(28px, 3vw, 44px) clamp(28px, 4vw, 58px) 54px;
    display: flex;
    justify-content: center;
}

.signup-card {
    width: 100%;
    max-width: 820px;
    padding: clamp(32px, 3.2vw, 44px) clamp(30px, 3.6vw, 48px);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(8, 10, 11, 0.97), rgba(4, 6, 7, 0.98));
    box-shadow: var(--shadow);
}

.signup-card__heading {
    text-align: left;
}

.signup-card__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.signup-card__heading h2 {
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(26px, 2.15vw, 34px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.signup-card__heading p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
}

.signup-steps {
    width: 100%;
    max-width: none;
    margin: 31px 0 34px;
    display: grid;
    grid-template-columns: auto minmax(30px, 1fr) auto minmax(30px, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.signup-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.3);
}

.signup-step__number {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-size: 10px;
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.signup-step__label {
    font-size: 12px;
    white-space: nowrap;
}

.signup-step__line {
    height: 1px;
    background: rgba(255, 255, 255, 0.09);
}

.signup-step.is-active {
    color: rgba(255, 255, 255, 0.9);
}

.signup-step.is-active .signup-step__number {
    border-color: var(--green);
    background: var(--green);
    color: #071004;
    box-shadow: 0 0 16px rgba(101, 197, 54, 0.12);
}

.signup-step.is-completed {
    color: var(--green);
}

.signup-step.is-completed .signup-step__number {
    border-color: var(--green);
    background: var(--green);
    color: #071004;
}

.signup-form {
    width: 100%;
}

.form-step {
    display: none;
}

.form-step.is-active {
    display: block;
    animation: formStepEntry 240ms ease;
}

@keyframes formStepEntry {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-type-fieldset {
    margin-bottom: 25px;
}

.account-type-fieldset legend {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
}

.account-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.account-type {
    position: relative;
    min-height: 76px;
    padding: 13px 15px;
    display: grid;
    grid-template-columns: 18px 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.014);
    cursor: pointer;
    transition: border-color 170ms ease, background-color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.account-type:hover {
    border-color: rgba(101, 197, 54, 0.24);
    background: rgba(101, 197, 54, 0.025);
    transform: translateY(-1px);
}

.account-type.is-selected {
    border-color: rgba(101, 197, 54, 0.72);
    background: linear-gradient(135deg, rgba(101, 197, 54, 0.055), rgba(101, 197, 54, 0.01));
    box-shadow: inset 0 0 0 1px rgba(101, 197, 54, 0.03);
}

.account-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-type__radio {
    width: 16px;
    height: 16px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px #090b0c;
}

.account-type.is-selected .account-type__radio {
    border-color: var(--green);
    background: var(--green);
}

.account-type__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);
}

.account-type.is-selected .account-type__icon {
    color: rgba(255, 255, 255, 0.76);
}

.account-type__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.35;
}

.account-type__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.account-type__content strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 500;
}

.account-type__content small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 11px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.form-field {
    min-width: 0;
}

.form-field > label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
}

.input-shell {
    position: relative;
    min-height: 47px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.006));
    transition: border-color 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

.input-shell:focus-within {
    border-color: rgba(101, 197, 54, 0.55);
    background: rgba(101, 197, 54, 0.018);
    box-shadow: 0 0 0 3px rgba(101, 197, 54, 0.04);
}

.input-shell input {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    border: 0;
    outline: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
}

.input-shell input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.input-shell input:-webkit-autofill,
.input-shell input:-webkit-autofill:hover,
.input-shell input:-webkit-autofill:focus {
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1000px #090b0c inset;
    transition: background-color 9999s ease-in-out 0s;
}

.input-shell--phone input {
    padding-left: 8px;
}

.phone-prefix {
    min-width: 74px;
    height: 29px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-right: 1px solid var(--border-soft);
    color: rgba(255, 255, 255, 0.63);
    font-size: 10px;
}

.phone-flag {
    font-size: 13px;
}

.password-toggle {
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.54);
    cursor: pointer;
    transition: color 160ms ease;
}

.password-toggle:hover {
    color: var(--green);
}

.password-toggle svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.45;
}

.field-error,
.terms-error,
.verification-error {
    min-height: 14px;
    margin-top: 5px;
    display: block;
    color: var(--red);
    font-size: 8px;
}

.form-field.has-error .input-shell {
    border-color: rgba(225, 108, 108, 0.65);
    box-shadow: 0 0 0 3px rgba(225, 108, 108, 0.035);
}

.password-strength {
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.3);
}

.password-strength__icon {
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.password-strength__icon svg {
    width: 8px;
    height: 8px;
}

.password-strength__text {
    font-size: 8px;
}

.password-strength.is-valid {
    color: var(--green);
}

.password-strength.is-valid .password-strength__icon {
    border-color: var(--green);
    background: rgba(101, 197, 54, 0.1);
}

.terms-field {
    position: relative;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    line-height: 1.55;
    cursor: pointer;
}

.terms-field input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.terms-field__box {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.018);
    color: transparent;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.terms-field__box svg {
    width: 11px;
    height: 11px;
    stroke-width: 2;
}

.terms-field input:checked + .terms-field__box {
    border-color: var(--green);
    background: var(--green);
    color: #071004;
}

.terms-field a {
    color: var(--green);
    transition: opacity 160ms ease;
}

.terms-field a:hover {
    opacity: 0.75;
}

.verification-section {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.verification-icon,
.completion-icon {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(101, 197, 54, 0.21);
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(101, 197, 54, 0.12), rgba(101, 197, 54, 0.018) 70%);
    color: var(--green);
    box-shadow: 0 0 35px rgba(101, 197, 54, 0.05);
}

.verification-icon svg,
.completion-icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.25;
}

.verification-section h3,
.completion-section h3 {
    margin-top: 21px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.verification-section > p,
.completion-section > p {
    max-width: 440px;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.43);
    font-size: 10px;
    line-height: 1.65;
}

.verification-section > p strong {
    color: rgba(255, 255, 255, 0.73);
    font-weight: 500;
}

.verification-code {
    margin-top: 27px;
    display: grid;
    grid-template-columns: repeat(6, 46px);
    gap: 9px;
}

.verification-code input {
    width: 46px;
    height: 51px;
    border: 1px solid var(--border);
    border-radius: 5px;
    outline: 0;
    background: rgba(255, 255, 255, 0.017);
    color: var(--white);
    font-size: 20px;
    text-align: center;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.verification-code input:focus {
    border-color: rgba(101, 197, 54, 0.64);
    background: rgba(101, 197, 54, 0.025);
    box-shadow: 0 0 0 3px rgba(101, 197, 54, 0.045);
}

.resend-button {
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: var(--green);
    font-size: 9px;
    cursor: pointer;
}

.resend-button:hover {
    text-decoration: underline;
}

.completion-section {
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.completion-eyebrow {
    margin-top: 19px;
    color: var(--green);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.completion-section h3 {
    margin-top: 8px;
}

.dashboard-link {
    min-width: 205px;
    min-height: 46px;
    margin-top: 23px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
    background: linear-gradient(135deg, #5ebf35, #378623);
    color: #fff;
    font-size: 10px;
    box-shadow: 0 13px 28px rgba(42, 111, 24, 0.18);
    transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.dashboard-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 16px 34px rgba(42, 111, 24, 0.24);
}

.dashboard-link svg {
    width: 15px;
    height: 15px;
}

.form-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
}

.form-actions:has(.secondary-button:not([hidden])) {
    justify-content: space-between;
}

.secondary-button,
.continue-button {
    min-height: 43px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.secondary-button {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.018);
    color: rgba(255, 255, 255, 0.58);
}

.secondary-button:hover {
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.84);
    transform: translateY(-1px);
}

.continue-button {
    width: 100%;
    min-width: 150px;
    border: 0;
    background: linear-gradient(135deg, #5fc137, #367f21);
    color: #fff;
    box-shadow: 0 12px 28px rgba(42, 111, 24, 0.17);
}

.continue-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 15px 34px rgba(42, 111, 24, 0.24);
}

.secondary-button svg,
.continue-button svg {
    width: 15px;
    height: 15px;
}

.secondary-button[hidden] {
    display: none;
}

.continue-button:disabled,
.secondary-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.step-counter {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    text-align: center;
}

.security-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 74px;
    padding: 0 clamp(18px, 3vw, 45px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-soft);
    background: rgba(3, 5, 5, 0.98);
}

.security-footer__item {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 8px;
    text-align: center;
}

.security-footer__item svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--green);
    stroke-width: 1.4;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
.account-type:has(input:focus-visible),
.terms-field:has(input:focus-visible) {
    outline: 2px solid rgba(101, 197, 54, 0.72);
    outline-offset: 3px;
}

@media (max-width: 1280px) {
    .signup-page {
        grid-template-columns: minmax(440px, 45%) minmax(560px, 55%);
    }

    .signup-brand-panel__content {
        padding-right: 40px;
        padding-left: 40px;
    }

    .signup-presentation {
        margin-top: 58px;
    }
}

@media (max-width: 1020px) {
    .signup-page {
        display: block;
    }

    .signup-brand-panel {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--border-soft);
    }

    .signup-brand-panel__content {
        min-height: 760px;
        padding: 28px clamp(24px, 7vw, 65px) 30px;
    }

    .signup-presentation {
        margin-top: 80px;
        margin-bottom: 60px;
    }

    .signup-title {
        max-width: 560px;
        font-size: clamp(45px, 8vw, 68px);
    }

    .signup-description {
        max-width: 610px;
    }

    .signup-benefits {
        max-width: 640px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .signup-benefit p {
        max-width: 240px;
    }

    .signup-form-panel {
        min-height: auto;
        padding-bottom: 64px;
    }

    .signup-form-wrapper {
        padding-top: 45px;
        padding-bottom: 55px;
    }
}

@media (max-width: 680px) {
    .signup-brand-panel__content {
        min-height: 760px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .signup-presentation {
        margin-top: 65px;
    }

    .signup-title {
        font-size: clamp(40px, 12vw, 58px);
    }

    .signup-description {
        font-size: 12px;
    }

    .signup-benefits {
        grid-template-columns: 1fr;
    }

    .signup-benefit p {
        max-width: 330px;
    }

    .signup-form-header {
        min-height: 68px;
        padding-right: 17px;
        padding-left: 17px;
    }

    .signup-form-wrapper {
        padding: 28px 13px 46px;
    }

    .signup-card {
        padding: 28px 18px;
    }

    .input-shell input {
        font-size: 16px;
    }

    .login-button,
    .account-type,
    .secondary-button,
    .continue-button {
        min-height: 44px;
    }

    .signup-steps {
        grid-template-columns: 32px minmax(20px, 1fr) 32px minmax(20px, 1fr) 32px;
        gap: 7px;
    }

    .signup-step__label {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .verification-code {
        grid-template-columns: repeat(6, minmax(35px, 43px));
        gap: 6px;
    }

    .verification-code input {
        width: 100%;
        height: 48px;
    }

    .security-footer {
        position: static;
        min-height: auto;
        padding: 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 8px;
    }
}

@media (max-width: 430px) {
    .signup-brand-panel {
        display: none;
    }

    .signup-title {
        font-size: 39px;
    }

    .signup-form-panel {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .signup-form-header {
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .signup-card {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .signup-description {
        margin-top: 19px;
    }

    .signup-benefit {
        grid-template-columns: 43px minmax(0, 1fr);
        gap: 11px;
    }

    .signup-benefit__icon {
        width: 43px;
        height: 43px;
    }

    .signup-benefit__icon svg {
        width: 22px;
        height: 22px;
    }

    .signup-form-header > span {
        display: none;
    }

    .account-types {
        grid-template-columns: 1fr;
    }

    .verification-code {
        grid-template-columns: repeat(6, minmax(32px, 1fr));
        gap: 5px;
    }

    .verification-code input {
        height: 45px;
        font-size: 17px;
    }

    .form-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .secondary-button,
    .continue-button {
        width: 100%;
    }

    .security-footer {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================
   AJUSTE DE FIDELIDADE TIPOGRÁFICA
   Referência desktop: aproximadamente 1536 x 1024
========================================================== */

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

/* ==========================================================
   PAINEL ESQUERDO
========================================================== */

.signup-eyebrow {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.15em;
}

.signup-title {
    font-size: clamp(44px, 3.35vw, 56px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.signup-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

.signup-benefit h2 {
    margin-top: 1px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.signup-benefit p {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
}

.signup-brand-footer {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
}

/* ==========================================================
   CABEÇALHO DIREITO
========================================================== */

.signup-form-header > span {
    font-size: 11px;
    font-weight: 400;
}

.login-button {
    font-size: 12px;
    font-weight: 500;
}

/* ==========================================================
   TÍTULO DO FORMULÁRIO
========================================================== */

.signup-card__eyebrow {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.15em;
}

.signup-card__heading h2 {
    font-size: clamp(27px, 2vw, 32px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.signup-card__heading p {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

/* ==========================================================
   ETAPAS
========================================================== */

.signup-step__number {
    font-size: 11px;
    font-weight: 400;
}

.signup-step__label {
    font-size: 12px;
    font-weight: 400;
}

.signup-step.is-active .signup-step__label {
    font-weight: 500;
}

/* ==========================================================
   TIPO DE CONTA
========================================================== */

.account-type-fieldset legend {
    font-size: 12px;
    font-weight: 400;
}

.account-type__content strong {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.account-type__content small {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

/* ==========================================================
   LABELS E INPUTS
========================================================== */

.form-field > label {
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.input-shell input {
    font-size: 12px;
    font-weight: 400;
}

.input-shell input::placeholder {
    font-size: 12px;
    font-weight: 400;
}

.phone-prefix {
    font-size: 11px;
    font-weight: 400;
}

.phone-flag {
    font-size: 13px;
}

/* ==========================================================
   SENHA E MENSAGENS
========================================================== */

.password-strength__text {
    font-size: 10px;
    font-weight: 400;
}

.field-error,
.terms-error,
.verification-error {
    font-size: 10px;
    line-height: 1.4;
}

/* ==========================================================
   TERMOS
========================================================== */

.terms-field {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
}

.terms-field a {
    font-weight: 400;
}

/* ==========================================================
   BOTÕES
========================================================== */

.secondary-button,
.continue-button {
    font-size: 12px;
    font-weight: 500;
}

.step-counter {
    font-size: 11px;
    font-weight: 400;
}

/* ==========================================================
   VERIFICAÇÃO E CONCLUSÃO
========================================================== */

.verification-section h3,
.completion-section h3 {
    font-size: 21px;
    font-weight: 500;
}

.verification-section > p,
.completion-section > p {
    font-size: 12px;
    line-height: 1.65;
}

.resend-button {
    font-size: 11px;
    font-weight: 500;
}

.completion-eyebrow {
    font-size: 10px;
    font-weight: 500;
}

.dashboard-link {
    font-size: 12px;
    font-weight: 500;
}

/* ==========================================================
   RODAPÉ INFERIOR
========================================================== */

.security-footer__item {
    gap: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
}

.security-footer__item svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

/* ==========================================================
   DESKTOP GRANDE
========================================================== */

@media (min-width: 1440px) {
    .signup-brand-footer {
        font-size: 12px;
    }

    .security-footer__item {
        font-size: 12px;
    }

    .signup-benefit h2 {
        font-size: 14px;
    }

    .signup-benefit p {
        font-size: 12px;
    }

    .form-field > label {
        font-size: 12px;
    }

    .input-shell input,
    .input-shell input::placeholder {
        font-size: 12px;
    }
}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 680px) {
    .signup-description {
        font-size: 13px;
    }

    .signup-benefit h2 {
        font-size: 13px;
    }

    .signup-benefit p {
        font-size: 12px;
    }

    .security-footer__item {
        font-size: 11px;
    }
}
