/* ===== Upload de base doada ===== */
.upload-base-wrapper { margin-top: 8px; }
.opcional-tag { font-size: 0.75rem; color: #888; font-weight: 400; margin-left: 4px; }

.upload-base-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 2px dashed #c0c0c8;
    border-radius: 8px;
    padding: 14px 18px;
    background: #fafafa;
    color: #555;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
    margin-top: 6px;
}
.upload-base-label:hover { border-color: #6c63ff; background: #f3f0ff; }
.upload-base-label i { font-size: 1.2rem; color: #6c63ff; }
.upload-base-label.upload-base-ok { border-color: #27ae60; background: #f0fff6; color: #27ae60; }
.upload-base-label.upload-base-ok i { color: #27ae60; }
.upload-base-label.upload-base-invalid { border-color: #e74c3c; background: #fff5f5; }

.upload-base-input { display: none; }
.upload-base-hint { font-size: 0.75rem; color: #999; margin-top: 4px; }
.upload-base-erro { font-size: 0.78rem; color: #e74c3c; margin-top: 4px; }

/* ===== Social icons ===== */
.social .icon { margin-left: 8px; text-decoration: none; }
.social .icon i { font-size: 1rem; vertical-align: middle; }

/* ===== Alert messages ===== */
.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0.95;
}
.alert-error   { background-color: #e74c3c; }
.alert-success { background-color: #2ecc71; }
.alert-info    { background-color: #3498db; }
.alert-warning { background-color: #f39c12; }

/* ===== Base reset / layout ===== */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main.step {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: var(--footer-gap);
}
a { text-decoration: none; }

/* ===== Footer ===== */
.footer-legal {
    width: 100%;
    background: #8e64a0;
    color: #fff;
    font-family: "Roboto-Regular", Helvetica;
    font-size: 20px;
    text-align: center;
    padding: 24px 0 20px 0;
}
@media (max-width: 1200px) {
    .footer-legal { padding: 18px 0 16px 0; font-size: 16px; }
}

/* ===== Spacing token ===== */
:root { --footer-gap: clamp(24px, 6vh, 72px); }

/* ===== Step layout ===== */
.step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    background-color: #76aadb;
}
.step .frame {
    display: flex;
    align-items: flex-start;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}
.step .rectangle {
    position: relative;
    flex: 1;
    flex-grow: 1;
    height: 2px;
    background-color: var(--surfacealt-6);
}
.step .div {
    position: relative;
    flex: 1;
    flex-grow: 1;
    height: 2px;
    background-color: var(--borderdivider);
}

/* ===== Header ===== */
.step .header {
    display: flex;
    height: 128px;
    align-items: center;
    justify-content: flex-start;
    text-align: left !important;
    padding: 16px;
    position: relative;
    align-self: stretch;
    width: 100%;
    background: right center / auto 100% no-repeat url("/static/images/header-details-um-a-mais.png");
    background-color: #313131;
}
.step .header .img {
    height: 60%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0;
}
.step .img {
    position: relative;
    width: 1600px;
    height: 131px;
    margin-top: -17.50px;
    margin-bottom: -17.50px;
    margin-left: -16.00px;
    margin-right: -16.00px;
    aspect-ratio: 12.21;
    object-fit: cover;
    margin: 0 !important;
}

/* ===== Subheader ===== */
.step .subheader {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100px;
    background-color: #d68500;
    align-items: center;
    justify-content: center;
}
.step .subheader p {
    width: 80%;
    font-family: "Roboto-Regular", Helvetica;
    font-weight: 400;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: 29px;
    align-items: center;
    justify-content: center;
}

/* ===== Frame-2 section ===== */
.step .frame-2 {
    position: relative;
    align-self: stretch;
    width: 100%;
    height: 1532px;
    isolation: isolate;
    overflow: visible;
}
.step .frame-2 > * { position: relative; z-index: 1; }
.step .frame-2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
    background-image:
        url("/static/images/vector.svg"),
        url("/static/images/vector-2.svg"),
        url("/static/images/vector-3.svg"),
        url("/static/images/vector-4.svg"),
        url("/static/images/vector-5.svg"),
        url("/static/images/vector-6.svg"),
        url("/static/images/vector-7.svg");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: 700px, 180px, 150px, 250px, 150px, 350px, 300px;
    background-position:
        70%  90%,
        97%  94%,
        75%  76%,
        90%  90%,
        85%  54%,
        90%  50%,
        100% 100%;
}
@media (max-width: 1200px) {
    .step .frame-2::before { opacity: 0; }
}

/* ===== Decorative layers ===== */
.step .layer {
    position: absolute;
    width: 622px;
    height: 717px;
    top: 741px;
    left: 978px;
}
.step .overlap { position: relative; height: 717px; }
.step .overlap-group {
    position: absolute;
    width: 567px;
    height: 717px;
    top: 0;
    left: 55px;
}
.step .vector   { position: absolute; width: 225px; height: 224px; top: 421px; left: 0; }
.step .overlap-group-2 { position: absolute; width: 505px; height: 629px; top: 88px; left: 62px; }
.step .vector-2 { position: absolute; width: 285px; height: 413px; top: 216px; left: 220px; }
.step .vector-3 { position: absolute; width: 187px; height: 197px; top: 150px; right: 0; }
.step .vector-4 { position: absolute; width: 269px; height: 277px; top: 0; left: 0; }
.step .vector-5 { position: absolute; width: 132px; height: 138px; top: 491px; left: 256px; }
.step .vector-6 { position: absolute; width: 118px; height: 123px; top: 0; left: 409px; }
.step .vector-7 { position: absolute; width: 93px; height: 91px; top: 281px; left: 0; }
.step .layer-2 {
    position: absolute;
    width: 723px;
    height: 757px;
    top: 712px;
    left: 790px;
    background-image: url(/static/images/vector.svg);
    background-size: 100% 100%;
}

/* ===== Frame wrapper (form container) ===== */
.step .frame-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 600px;
    min-width: 320px;
    height: auto;
    position: relative;
    top: 0;
    left: 0;
    gap: 32px;
    padding-left: 10%;
    box-sizing: border-box;
    margin-top: 150px;
}
@media (max-width: 1200px) {
    .step .frame-wrapper {
        max-width: 90vw;
        position: static;
        width: 100%;
        min-width: 0;
        max-width: 100vw;
        padding-left: 2%;
        padding-inline: 16px;
        margin-top: 150px;
        margin: 0;
    }
}

/* ===== Form card ===== */
.step .frame-3 {
    display: flex;
    flex-direction: column;
    height: 715px;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    flex: 1;
    flex-grow: 1;
    border-radius: 8px;
    width: 50%;
    height: auto !important;
    min-height: clamp(420px, 60vh, 760px);
}
/* The card body grows to fill; buttons stick to the bottom */
.frame-3 {
    display: flex;
    flex-direction: column;
    min-height: clamp(420px, 60vh, 760px);
}
.frame-4 { flex: 1 1 auto; }

/* ===== Fieldset / step pane ===== */
.step .frame-4 {
    display: flex;
    gap: 40px;
    align-self: stretch;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    flex: 0 0 auto;
    height: auto !important;
}
.step .frame-5 {
    display: inline-flex;
    gap: 4px;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    flex: 0 0 auto;
    margin-bottom: 30px;
}

/* Botão fixo "Compatilhe seus contatos" */
.colabore-btn--fixed {
    position: fixed !important;
    top: 28px !important;
    right: 24px !important;
    left: auto !important;
    z-index: 200 !important;
}

.colabore-btn {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #8e64a0, #6c63ff);
    color: #fff;
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: "Roboto-Medium", Helvetica, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(108, 99, 255, .35);
    transition: opacity .18s, box-shadow .18s;
}
.colabore-btn:hover { opacity: .88; box-shadow: 0 5px 16px rgba(108, 99, 255, .45); }
.colabore-btn i { font-size: 0.9rem; }

/* Modal "Compatilhe seus contatos" */
.colabore-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.colabore-overlay.is-open { display: flex; }
.colabore-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 44px rgba(0,0,0,.22);
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: "Roboto-Regular", Helvetica, Arial, sans-serif;
}
.colabore-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 14px;
    border-bottom: 1px solid #efefef;
    background: linear-gradient(135deg, #8e64a0, #6c63ff);
}
.colabore-card-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.colabore-close {
    all: unset;
    cursor: pointer;
    font-size: 1.4rem;
    color: rgba(255,255,255,.8);
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color .15s;
}
.colabore-close:hover { color: #fff; }
.colabore-body {
    padding: 20px 22px;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.colabore-upload-area {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.colabore-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 2px dashed #c0c0c8;
    border-radius: 8px;
    padding: 12px 16px;
    background: #fafafa;
    color: #555;
    font-size: 0.88rem;
    transition: border-color .2s, background .2s;
}
.colabore-upload-label:hover { border-color: #6c63ff; background: #f3f0ff; }
.colabore-upload-label i { font-size: 1.1rem; color: #6c63ff; flex-shrink: 0; }
.colabore-upload-label.colabore-upload-ok { border-color: #27ae60; background: #f0fff6; color: #27ae60; }
.colabore-upload-label.colabore-upload-ok i { color: #27ae60; }
.colabore-upload-label.colabore-upload-invalid { border-color: #e74c3c; background: #fff5f5; }
.colabore-upload-hint { font-size: 0.72rem; color: #aaa; }
.colabore-upload-erro { font-size: 0.76rem; color: #e74c3c; }
.colabore-feedback {
    margin: 0 22px 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
}
.colabore-feedback--ok   { background: #f0fff6; color: #1a7a40; border: 1px solid #a3e3c0; }
.colabore-feedback--erro { background: #fff5f5; color: #c0392b; border: 1px solid #f5b7b1; }
.colabore-card-footer {
    padding: 12px 22px 18px;
    border-top: 1px solid #efefef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.colabore-btn-fechar {
    all: unset;
    box-sizing: border-box;
    background: #eee;
    color: #444;
    border-radius: 100px;
    padding: 9px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.colabore-btn-fechar:hover { background: #ddd; }
.colabore-btn-enviar {
    all: unset;
    box-sizing: border-box;
    background: linear-gradient(135deg, #8e64a0, #6c63ff);
    color: #fff;
    border-radius: 100px;
    padding: 9px 22px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: opacity .15s;
}
.colabore-btn-enviar:hover:not(:disabled) { opacity: .88; }
.colabore-btn-enviar:disabled { opacity: .6; cursor: not-allowed; }
.step .frame-6 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}
.step .div-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}
.step .frame-7 {
    display: flex;
    flex-direction: column;
    height: 119px;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    align-self: stretch;
    width: 100%;
    height: auto !important;
}
.step .frame-8 {
    position: relative;
    align-self: stretch;
    width: 100%;
    height: 56px;
    margin-bottom: 0 !important;
    height: auto !important;
}
.step .frame-9 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    height: auto !important;
}

/* ===== Step hide/show ===== */
.step-pane.is-hidden { display: none !important; }

/* ===== Titles ===== */
.step .text-wrapper {
    position: relative;
    width: 640px;
    margin-top: -1.00px;
    font-family: "Roboto-Black", Helvetica;
    font-weight: 900;
    color: #ffffff;
    font-size: 48px;
    letter-spacing: 0;
    line-height: 60px;
}
.step .text-wrapper-2 {
    position: relative;
    width: 640px;
    font-family: "Roboto-Regular", Helvetica;
    font-weight: 400;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 22px;
}
.step .text-wrapper-3 {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-family: "Roboto-Medium", Helvetica;
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 22px;
}
.step .text-wrapper-4 {
    position: relative;
    flex: 1;
    margin-top: -1.00px;
    font-family: "Roboto-Regular", Helvetica;
    font-weight: 400;
    color: var(--texthint);
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
}

/* ===== Input wrappers ===== */
.step .text-input-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}
.step .text-input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    position: relative;
    flex: 1;
    flex-grow: 1;
}
.step .text-input-2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}
.step .text-input-2 > label {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
    display: inline-block;
}
.step .text-input-3 {
    display: flex;
    height: 56px;
    align-items: center;
    gap: 4px;
    padding: 12px;
    position: relative;
    align-self: stretch;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    border: 1px solid var(--borderdefaultdefault);
    border-radius: 8px;
    background: #fff;
}
.step .text-input-3 i,
.step .text-input-3 img {
    margin-right: 5px;
    flex: 0 0 auto;
    max-width: 24px;
    height: auto;
}
.step .text-input-3 input,
.step .text-input-3 select {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    font: inherit;
    color: var(--textdefault);
    flex: 1 1 auto;
    min-width: 0;
}
.step .text-input-4 {
    display: flex;
    flex-direction: column;
    width: 312px;
    align-items: flex-start;
    gap: 6px;
    position: relative;
    flex: 0 0 auto;
}
.step .text-input-5 {
    position: relative;
    width: 312px;
    height: 55px;
    background-color: #fff;
    border-radius: 4px;
    width: 100% !important;
    height: 56px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--borderdefaultdefault);
}
.step .text-input-9 {
    position: relative;
    width: 312px;
    height: 55px;
    background-color: #fff;
    border-radius: 4px;
    width: 100% !important;
}
.step .input-group {
    display: flex;
    height: 24px;
    align-items: flex-start;
    position: relative;
    flex: 1;
    flex-grow: 1;
}
.step .input-group-2 {
    display: flex;
    align-items: flex-start;
    position: relative;
    flex: 1;
    flex-grow: 1;
}
.step .div-2 {
    position: relative;
    align-self: stretch;
    width: 4px;
}
.step .date-picker {
    position: relative;
    width: 312px;
    height: auto !important;
    margin-bottom: 0 !important;
}
.step .date-picker input[type="date"] {
    width: 312px;
    height: 55px;
    padding: 12px;
    background-color: var(--surfacewhite);
    border-radius: 4px;
    border: 1px solid var(--borderdefaultdefault);
    width: 100% !important;
}
.step .frame-8 input[type="email"] {
    width: 100%;
    height: 55px;
    padding: 12px;
    background-color: var(--surfacewhite);
    border-radius: 4px;
    border: 1px solid var(--borderdefaultdefault);
}

/* ===== Buttons ===== */
.step .enviar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0px 80px;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    margin-top: auto;
    align-self: stretch;
    display: flex;
    justify-content: center;
    padding: 16px;
    margin-bottom: 15px !important;
}
.enviar .buttons-row {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.step .button {
    all: unset;
    box-sizing: border-box;
    display: flex;
    width: 394px;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0px 20px;
    position: relative;
    background-color: #323232;
    border-radius: 100px;
    color: #fff;
    font-family: "Roboto-Medium", Helvetica;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    max-width: 360px;
    cursor: pointer;
}
.step .button-2 {
    all: unset;
    box-sizing: border-box;
    position: relative;
    width: fit-content;
    margin-top: -1.00px;
    font-family: "Roboto-Bold", Helvetica;
    font-weight: 700;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    letter-spacing: 0;
    line-height: 20px;
    white-space: nowrap;
}
.step .text-block {
    display: inline-flex;
    align-items: flex-start;
    padding: 0px 4px;
    position: relative;
    flex: 0 0 auto;
}
.step button[type="submit"] { cursor: pointer; }
.step button[type="submit"]:hover  { background-color: #2a2a2a; }
.step button[type="submit"]:active { background-color: #1a1a1a; }

/* ===== Input styling ===== */
.step input[type="text"],
.step input[type="email"],
.step input[type="tel"],
.step input[type="date"] {
    border: none;
    outline: none;
    background: #fff;
    width: 100%;
    height: 100%;
    font-family: "Roboto-Regular", Helvetica;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
    color: var(--textdefault);
}
.step input[type="text"]:focus,
.step input[type="email"]:focus,
.step input[type="tel"]:focus,
.step input[type="date"]:focus {
    outline-offset: -2px;
}
.step input[type="text"]::placeholder,
.step input[type="tel"]::placeholder {
    color: var(--texthint);
    font-family: "Roboto-Regular", Helvetica;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
}
.step fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

/* ===== Focus glow ===== */
.step .text-input-3:has(input:focus),
.step .text-input-3:has(select:focus),
.step .date-picker input[type="date"]:focus {
    outline: 2px solid black;
    outline-offset: 2px;
}
.step .text-input-3.input-field:has(input:focus) {
    outline: 2px solid black !important;
}
.step .text-input-3:has(input:focus) {
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* ===== Validation states ===== */
.text-input-3.is-invalid {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important;
}
.text-input-3.is-valid {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22,163,74,.12) !important;
}
.field-msg {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.3;
    color: #64748b;
}
.field-msg.error {
    color: #dc2626;
    background-color: rgb(240, 220, 220);
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid red;
    margin-top: 2px;
}

/* ===== Icon colors ===== */
.fa-user,
.fa-envelope,
.fa-id-badge    { color: #4a90e2; }
.fa-mars-and-venus { color: #8d66a3; }
.fa-location-dot   { color: #d68500; }
.fa-calendar        { color: #e6b54a; }

/* ===== CEP toggle ===== */
.cep-extra { margin-top: 8px; }
.cep-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
.cep-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d68500;
}
.endereco-manual i { color: grey; }
.endereco-manual.is-hidden { display: none !important; }
.endereco-manual {
    display: grid;
    gap: 16px;
    margin-top: 8px;
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
    .endereco-manual { grid-template-columns: 1fr; }
}
#endereco-manual:not(.is-hidden) {
    margin-top: 12px;
    margin-bottom: 12px;
}

/* ===== Terms ===== */
.terms-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 6px;
    margin: 12px 0;
}
.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    cursor: pointer;
}
.terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #d68500;
}

/* ===== Progressbar ===== */
nav.frame > * { background: var(--borderdivider); }
nav.frame > *.is-complete { background: var(--surfacealt-6); }

/* ===== Loading overlay ===== */
/* ===== Modal de termos de consentimento ===== */
.termos-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.termos-overlay.is-open { display: flex; }
.termos-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: "Roboto-Regular", Helvetica, Arial, sans-serif;
}
.termos-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
    border-bottom: 1px solid #e8e8e8;
}
.termos-card-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #323232;
    margin: 0;
    line-height: 1.3;
}
.termos-close {
    all: unset;
    cursor: pointer;
    font-size: 1.4rem;
    color: #888;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color .15s;
}
.termos-close:hover { color: #323232; }
.termos-body {
    overflow-y: auto;
    padding: 20px 24px;
    flex: 1 1 auto;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.65;
}
.termos-body h3 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #323232;
    margin: 16px 0 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.termos-body p { margin: 0 0 8px; }
.termos-body ol, .termos-body ul {
    margin: 4px 0 8px 18px;
}
.termos-body li { margin-bottom: 4px; }
.termos-card-footer {
    padding: 14px 24px 18px;
    border-top: 1px solid #e8e8e8;
    display: flex;
    justify-content: flex-end;
}
.termos-btn-fechar {
    all: unset;
    box-sizing: border-box;
    background: #323232;
    color: #fff;
    border-radius: 100px;
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.termos-btn-fechar:hover { background: #555; }

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}
.loading-box {
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.spinner {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    border-top-color: #111827;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.no-scroll { overflow: hidden; }

/* ===== DDI dropdown ===== */
.input-com-ddi .ddi-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 10;
    display: none;
    width: max-content;
    min-width: 160px;
    background: #fff;
    box-shadow: var(--default-shadow, 0 8px 24px rgba(0,0,0,.16));
    border-radius: 8px;
    padding: 8px;
}
.input-com-ddi .ddi-menu li { list-style: none; }
.input-com-ddi .ddi-menu button[role="option"] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 6px;
    color: black;
}
.input-com-ddi .ddi-menu button[role="option"]:hover { background: #d68500; }
.input-com-ddi .ddi-menu button.selected { background: #d68500; font-weight: 600; }
.ddi-trigger {
    width: max-content;
    display: flex;
    align-items: center;
}
.input-com-ddi .ddi-dropdown.open .ddi-menu { display: block; }
.input-com-ddi input.input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 1rem;
    background-color: #fcfcfc;
    color: black;
}
#cidadao_telefone           { color: #222; opacity: 1; }
#cidadao_telefone:focus,
#cidadao_telefone:active    { color: #222; }
#cidadao_telefone::placeholder { color: #888 !important; opacity: 0.5 !important; }

/* ===== Accessibility ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Responsive ===== */
@media (min-width: 1200px) {
    .frame-7 { grid-template-columns: 1fr 1fr; }
    .enviar { margin-top: auto; }
}
@media (max-width: 1200px) {
    .step .frame-wrapper {
        position: static;
        width: 100%;
        height: auto;
        padding-inline: 16px;
        margin: 0;
        margin-top: 150px;
    }
    .step .header .img { height: 100%; }
    .step .layer, .step .layer-2 { display: none; }
    .step .frame-3 {
        width: 100%;
        height: auto !important;
        gap: 24px;
    }
    .step .frame-7,
    .step .frame-9 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        height: auto;
    }
    .step .text-input-4,
    .step .date-picker,
    .step .text-input-5,
    .step select.text-input-5,
    .step .date-picker input[type="date"] { width: 100% !important; }
    .step .enviar { padding: 16px; position: static; margin-top: 24px !important; }
    .step .frame-3,
    .step .frame-wrapper { width: 100% !important; max-width: 100% !important; }
    .step .button { width: 100% !important; max-width: none !important; }
}
@media (max-width: 700px) {
    .step .text-input-2 { width: 100% !important; }
    .step .text-wrapper,
    .step .text-wrapper-2 { width: auto !important; max-width: 100% !important; }
    .step .frame-2 { height: auto !important; }
    .step .frame-7,
    .step .frame-9 { height: auto !important; }
    .step .img { width: auto !important; max-width: 100% !important; height: 100% !important; margin: 0 !important; }
    .step .frame-3,
    .step .frame-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .step .text-input-4,
    .step .date-picker,
    .step .text-input-5,
    .step select.text-input-5,
    .step .date-picker input[type="date"] { width: 100% !important; }
    .text-input-3 img { max-width: 24px; height: auto; }
}
@media (max-width: 768px) {
    html, body {
        scrollbar-width: none;
        -ms-overflow-style: none;
        overflow-x: hidden;
        overflow-y: auto;
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar { width: 0 !important; height: 0 !important; background: transparent !important; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
    .no-scrollbar::-webkit-scrollbar { width: 0 !important; height: 0 !important; background: transparent !important; }
}
