:root {
    --black: #111;
    --graphite: #1b1b1b;
    --graphite-2: #242424;
    --graphite-3: #303030;
    --red: #f20d18;
    --red-dark: #bf0810;
    --red-soft: rgba(242, 13, 24, .09);
    --white: #fff;
    --paper: #f5f5f5;
    --ink: #222;
    --muted: #717171;
    --line: #dedede;
    --success: #198754;
    --danger: #b4232f;
    --radius: 14px;
    --container: 1180px;
    --shadow: 0 18px 55px rgba(0, 0, 0, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    color: var(--white);
    background: var(--red);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.register-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: rgba(24, 24, 24, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
    backdrop-filter: blur(14px);
}
.header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
    border-radius: 6px;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 16px; letter-spacing: .15px; }
.brand-copy small {
    margin-top: 5px;
    color: #c9c9c9;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.45px;
    text-transform: uppercase;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 14px;
    color: #ddd;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .55px;
    transition: border-color .2s ease, color .2s ease;
}
.back-link:hover { color: var(--white); border-color: rgba(255, 255, 255, .36); }

.intro {
    position: relative;
    overflow: hidden;
    padding: 74px 0 80px;
    color: var(--white);
    background:
        radial-gradient(circle at 86% 28%, rgba(242, 13, 24, .24), transparent 27%),
        linear-gradient(125deg, #111 0%, #202020 64%, #151515 100%);
}
.intro::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to right, transparent 8%, black 55%, transparent);
}
.intro-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: end;
    gap: 70px;
}
.eyebrow {
    margin: 0 0 17px;
    color: #ff4b54;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.1px;
}
.intro h1, .success-card h1 {
    max-width: 790px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.035em;
}
.intro h1 em { color: #ff4b54; }
.intro-text {
    max-width: 760px;
    margin: 23px 0 0;
    color: #c7c7c7;
    font-size: 16px;
    line-height: 1.75;
}
.intro-note {
    display: grid;
    gap: 9px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-left: 3px solid var(--red);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
}
.intro-note strong { font-size: 14px; }
.intro-note span { color: #aaa; font-size: 11px; line-height: 1.5; }

.form-section { padding: 54px 0 90px; }
.form-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}
.form-progress {
    position: sticky;
    top: 90px;
    padding: 25px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--graphite);
    box-shadow: var(--shadow);
}
.form-progress > p {
    margin: 0 0 22px;
    color: #888;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.8px;
}
.form-progress ol { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.form-progress li {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    color: #c8c8c8;
    font-size: 11px;
}
.form-progress li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 39px;
    bottom: -8px;
    width: 1px;
    background: #3d3d3d;
}
.form-progress li span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    z-index: 1;
    color: #ff5c64;
    border: 1px solid #505050;
    border-radius: 50%;
    background: var(--graphite);
    font-size: 8px;
    font-weight: 900;
}
.support-box {
    display: grid;
    gap: 7px;
    margin-top: 27px;
    padding-top: 20px;
    border-top: 1px solid #383838;
}
.support-box small { color: #7f7f7f; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
.support-box a { color: #eee; font-size: 12px; }
.support-box a:last-child { color: #ff5d65; font-size: 10px; font-weight: 800; text-transform: uppercase; }

.registration-form { display: grid; gap: 22px; }
.form-card {
    min-width: 0;
    padding: 34px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 38px rgba(0, 0, 0, .045);
}
.form-card legend {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 10px 0 0;
    color: var(--graphite);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}
.form-card legend span {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 8px;
    background: var(--red);
    font-family: Inter, Arial, sans-serif;
    font-size: 9px;
    font-weight: 900;
}
.section-help { margin: 4px 0 28px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.fields { display: grid; gap: 22px; }
.two-columns { grid-template-columns: 1fr 1fr; }
.full-width { grid-column: 1 / -1; }
.fields > label:not(.check-line) { display: flex; flex-direction: column; gap: 8px; }
.fields label > span, .option-title strong {
    color: #353535;
    font-size: 11px;
    font-weight: 800;
}
.fields label > span b, .option-title strong b { color: var(--red); }
input:not([type="checkbox"]), select, textarea {
    width: 100%;
    color: #222;
    border: 1px solid #d6d6d6;
    border-radius: 7px;
    outline: none;
    background: #fbfbfb;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:not([type="checkbox"]), select { min-height: 48px; padding: 0 13px; }
textarea { min-height: 130px; padding: 13px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--red-soft);
}
input::placeholder, textarea::placeholder { color: #aaa; }
.field-hint { color: #888; font-size: 9px; line-height: 1.45; }
.field-error { color: var(--danger); font-size: 10px; font-weight: 700; line-height: 1.4; }
.block-error { display: block; margin-top: 12px; }
.check-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 9px;
    background: #fafafa;
    cursor: pointer;
}
.check-line input { margin: 2px 0 0; accent-color: var(--red); }
.check-line > span { display: grid; gap: 5px; }
.check-line > span b { font-size: 11px; }
.check-line > span small { color: #777; font-size: 9px; line-height: 1.5; }
.consent { margin-top: 4px; border-left: 3px solid var(--red); }

.option-section { padding-top: 4px; }
.option-section + .option-section { padding-top: 30px; margin-top: 30px; border-top: 1px solid #e7e7e7; }
.option-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.option-title small { max-width: 55%; color: #868686; font-size: 9px; line-height: 1.45; text-align: right; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.check-card {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.check-card:hover { border-color: #bbb; transform: translateY(-1px); }
.check-card:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.check-card input { flex: 0 0 auto; margin: 0; accent-color: var(--red); }
.check-card span { color: #4c4c4c; font-size: 10px; line-height: 1.35; }
.compact { padding-top: 0; }
.compact-grid { grid-template-columns: repeat(3, 1fr); }

.error-summary {
    padding: 18px 20px;
    color: #821c25;
    border: 1px solid #e9b9bd;
    border-left: 4px solid var(--danger);
    border-radius: 10px;
    background: #fff3f4;
}
.error-summary strong { font-size: 13px; }
.error-summary p { margin: 6px 0 0; font-size: 11px; line-height: 1.5; }
.honey-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.submit-button {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
    color: var(--white);
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff1c27, var(--red-dark));
    box-shadow: 0 12px 28px rgba(242, 13, 24, .2);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .75px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(242, 13, 24, .27); }
.submit-note { margin: 12px 0 0; color: #888; font-size: 9px; text-align: center; }

.success-shell {
    min-height: calc(100vh - 64px);
    display: grid;
    place-items: center;
    padding: 65px 20px;
    background:
        radial-gradient(circle at 50% 10%, rgba(242, 13, 24, .13), transparent 35%),
        #ededed;
}
.success-card {
    width: min(710px, 100%);
    padding: 55px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
}
.success-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    color: var(--white);
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 9px rgba(25, 135, 84, .09);
    font-size: 26px;
    font-weight: 800;
}
.success-card h1 { font-size: clamp(34px, 5vw, 50px); }
.success-card > p:not(.eyebrow):not(.success-note) { color: #676767; line-height: 1.75; }
.protocol {
    display: inline-grid;
    gap: 6px;
    min-width: 250px;
    margin: 18px 0;
    padding: 15px 25px;
    border: 1px dashed #bbb;
    border-radius: 9px;
    background: #f7f7f7;
}
.protocol small { color: #888; font-size: 8px; letter-spacing: 1.5px; }
.protocol strong { color: var(--red-dark); font-size: 20px; letter-spacing: 1px; }
.success-note { color: #888; font-size: 10px; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 19px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.button.primary { color: var(--white); background: var(--red); }
.button.secondary { color: #444; border: 1px solid #ccc; background: #fafafa; }

.register-footer { padding: 26px 0; color: #999; background: var(--black); }
.register-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 9px; text-transform: uppercase; letter-spacing: .55px; }
.register-footer a { color: #ff555d; font-weight: 800; }

@media (max-width: 980px) {
    .intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .intro-note { max-width: 520px; }
    .form-layout { grid-template-columns: 1fr; }
    .form-progress { position: static; }
    .form-progress ol { grid-template-columns: repeat(5, 1fr); gap: 7px; }
    .form-progress li { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .form-progress li::after { display: none; }
    .support-box { grid-template-columns: auto auto auto; align-items: center; }
    .check-grid, .compact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 26px, var(--container)); }
    .header-inner { min-height: 60px; }
    .brand img { width: 34px; height: 34px; }
    .brand-copy strong { font-size: 14px; }
    .brand-copy small { letter-spacing: .9px; }
    .back-link { padding: 0 10px; font-size: 0; }
    .back-link span { font-size: 18px; }
    .intro { padding: 55px 0 62px; }
    .intro h1 { font-size: 41px; }
    .intro-text { font-size: 14px; }
    .form-section { padding: 28px 0 60px; }
    .form-progress { padding: 20px; }
    .form-progress ol { grid-template-columns: 1fr; }
    .form-progress li { grid-template-columns: 30px 1fr; justify-items: start; text-align: left; min-height: 43px; }
    .form-progress li::after { display: block; top: 35px; bottom: -8px; }
    .support-box { grid-template-columns: 1fr; }
    .form-card { padding: 25px 18px; }
    .form-card legend { font-size: 21px; }
    .two-columns, .check-grid, .compact-grid { grid-template-columns: 1fr; }
    .option-title { align-items: flex-start; flex-direction: column; gap: 6px; }
    .option-title small { max-width: none; text-align: left; }
    .success-card { padding: 38px 20px; }
    .success-actions, .button { width: 100%; }
    .register-footer .container { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* MAISRESULTADO_WHATSAPP_VERIFICATION_INICIO */

.whatsapp-verification {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 230px;
    gap: 12px 16px;
    padding: 18px;
    border: 1px solid #e0e0e0;
    border-left: 3px solid var(--red);
    border-radius: 10px;
    background: #fafafa;
}

.whatsapp-verification-copy {
    display: grid;
    gap: 5px;
    align-content: center;
}

.whatsapp-verification-copy strong {
    color: #303030;
    font-size: 12px;
}

.whatsapp-verification-copy span {
    color: #777;
    font-size: 9px;
    line-height: 1.55;
}

.whatsapp-code-button {
    min-height: 44px;
    padding: 0 14px;
    color: #fff;
    border: 0;
    border-radius: 7px;
    background: #242424;
    cursor: pointer;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .5px;
}

.whatsapp-code-button:disabled {
    opacity: .6;
    cursor: wait;
}

.whatsapp-code-field {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 14px;
    align-items: end;
}

.whatsapp-code-field label {
    display: grid;
    gap: 7px;
}

.whatsapp-code-field label > span {
    color: #353535;
    font-size: 11px;
    font-weight: 800;
}

.whatsapp-code-field label > span b {
    color: var(--red);
}

.whatsapp-code-field input {
    letter-spacing: 5px;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
}

.whatsapp-status {
    align-self: center;
    margin: 0;
    padding: 10px 12px;
    border-radius: 7px;
    color: #555;
    background: #eee;
    font-size: 9px;
    line-height: 1.5;
}

.whatsapp-status[data-type="success"] {
    color: #12613e;
    background: #e8f7ef;
}

.whatsapp-status[data-type="error"] {
    color: #8a1c26;
    background: #fff0f1;
}

@media (max-width: 680px) {
    .whatsapp-verification,
    .whatsapp-code-field {
        grid-template-columns: 1fr;
    }

    .whatsapp-code-field {
        grid-column: auto;
    }
}

/* MAISRESULTADO_WHATSAPP_VERIFICATION_FIM */


/* MAISRESULTADO_ALINHAMENTO_CADASTRO_INICIO */

.form-card > legend {
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    align-items: center;
    margin: 0 0 6px;
    padding: 0;
    line-height: 1.15;
}

.form-card > legend span {
    flex: 0 0 33px;
}

.form-card > .section-help {
    clear: both;
    margin-top: 0;
}

.option-title {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 16px;
}

.option-title strong,
.option-title small {
    display: block;
    max-width: none;
    margin: 0;
    line-height: 1.45;
    text-align: left;
}

.whatsapp-normalization-hint {
    display: block;
    color: #747474;
}

@media (max-width: 680px) {
    .option-title {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* MAISRESULTADO_ALINHAMENTO_CADASTRO_FIM */

/* MAISRESULTADO_ALINHAMENTO_SEGURO_INICIO */

.form-card > legend {
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 6px;
    padding: 0;
    line-height: 1.15;
}

.form-card > legend span {
    flex: 0 0 33px;
}

.form-card > .section-help {
    clear: both;
    margin-top: 0;
}

.option-title {
    display: grid;
    grid-template-columns:
        minmax(180px, 0.8fr)
        minmax(0, 1.2fr);
    align-items: start;
    gap: 16px;
}

.option-title strong,
.option-title small {
    display: block;
    max-width: none;
    margin: 0;
    line-height: 1.45;
    text-align: left;
}

.whatsapp-normalization-hint {
    display: block;
    color: #747474;
    line-height: 1.5;
}

@media (max-width: 680px) {
    .option-title {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* MAISRESULTADO_ALINHAMENTO_SEGURO_FIM */