* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    height: 100%;
    font-size: 16px;
}

body {
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

.page-wrapper {
    flex: 1;
    width: 100%;
}

.container {
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
    max-width: 1200px;
}

.header {
    padding: 12px 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.logo {
    max-width: 150px;
    height: auto;
}

.logoOAB {
    max-width: 80px;
    height: auto;
}

.main-content {
    padding: 0;
    flex: 1;
}

.presell-container {
    background: #fff;
    padding: 20px 0;
    width: 100%;
}

.presell-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    margin: 0 auto 20px;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.etapa-titulo {
    color: #058fd0;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
    padding: 0 8px;
}

.seccional-selector,
.form-step {
    margin-bottom: 24px;
    position: relative;
}

.photo-upload-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    padding: 22px 18px 18px;
    max-width: 680px;
    margin: 0 auto;
}

.photo-upload-header {
    text-align: center;
    margin-bottom: 20px;
}

.photo-upload-subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #2a2a2a;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.photo-upload-box {
    border: 2px dashed #1b9adf;
    border-radius: 12px;
    background: #f8fbff;
    padding: 18px 12px 20px;
    text-align: center;
}

.photo-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    gap: 12px;
    cursor: pointer;
    color: #1b9adf;
    font-weight: 600;
}

.photo-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border: 3px solid #1b9adf;
    border-radius: 18px;
    font-size: 2.5rem;
    color: #1b9adf;
    background: rgba(27, 154, 223, 0.05);
}

.photo-upload-message {
    max-width: 260px;
    line-height: 1.4;
    font-size: 1.1rem;
    color: #2d2d2d;
    text-align: center;
}

.photo-action-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.photo-upload-input {
    display: none;
}

.photo-upload-button {
    margin: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 220px;
    width: 100%;
    padding: 16px 22px;
    cursor: pointer;
}

.photo-upload-button.secondary {
    background: #ecf3f9;
    color: #1f2d3d;
    box-shadow: none;
    border: 1px solid #d6e5f2;
}

.photo-upload-preview-panel {
    display: none;
    margin-top: 20px;
    padding: 16px;
    background: #f8fbff;
    border: 1px solid #cfe9fb;
    border-radius: 12px;
    text-align: center;
}

.photo-upload-preview-panel.is-visible {
    display: block;
}

.photo-upload-preview-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f4c6a;
}

.photo-upload-preview-caption {
    margin: 0 0 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #475569;
}

.photo-upload-preview-frame {
    width: min(240px, 72vw);
    aspect-ratio: 3 / 4;
    margin: 0 auto 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #1b9adf;
    background: #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 76, 106, 0.12);
}

.photo-upload-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-upload-preview-image[hidden] {
    display: none;
}

.photo-upload-preview-name {
    margin: 0 0 12px;
    font-size: 0.82rem;
    color: #64748b;
    word-break: break-word;
}

.photo-upload-change {
    display: inline-flex;
    margin: 0 auto;
    cursor: pointer;
}

.photo-camera-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.photo-camera-modal[hidden] {
    display: none;
}

.photo-camera-panel {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.photo-camera-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    text-align: center;
}

.photo-camera-hint {
    margin: 0 0 14px;
    text-align: center;
    color: #64748b;
    font-size: 0.92rem;
}

.photo-camera-video-wrap {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-height: 62vh;
}

.photo-camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.photo-camera-canvas {
    display: none;
}

.photo-camera-error {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.88rem;
}

.photo-camera-error[hidden] {
    display: none;
}

.photo-camera-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.photo-upload-guidelines {
    background: #f3f5f7;
    border-radius: 8px;
    padding: 18px 18px 8px;
    margin-top: 20px;
    color: #2d2d2d;
}

.photo-upload-guidelines p {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.photo-upload-guidelines ul {
    list-style: disc;
    padding-left: 20px;
}

.photo-upload-guidelines li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.seccional-label,
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 1rem;
}

.seccional-select,
.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.0625rem;
    background: #fff;
    min-height: 56px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.seccional-select:focus {
    border-color: #058fd0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 143, 208, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.destaques-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.destaque-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    border: 1px solid #e8e8e8;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.destaque-icon {
    font-size: 0.8125rem;
    color: #058fd0;
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.destaque-texto {
    color: #333;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.contador-container {
    background: #e8f4fc;
    padding: 18px 16px;
    border-radius: 10px;
    text-align: center;
    margin: 24px 0;
    border: 1px solid #d1e7f5;
}

.contador-titulo {
    color: #046fa0;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
}

.contador-tempo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #058fd0;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.btn-inscricao, .btn-secondary, .btn-primary {
    background: linear-gradient(to bottom, #058fd0 0%, #046fa0 100%);
    color: white;
    border: none;
    padding: 20px;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(5, 143, 208, 0.25);
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(to bottom, #f0f4f8 0%, #dfeaf3 100%);
    color: #1f2d3d;
    box-shadow: none;
}

.btn-primary:hover, .btn-secondary:hover, .btn-inscricao:hover {
    filter: brightness(0.98);
}

.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.loading.show {
    display: block;
}

.global-loading-modal {
    position: fixed;
    inset: 0;
    background: rgba(12, 23, 35, 0.62);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 3000;
}

.global-loading-modal.show {
    display: flex;
}

.global-loading-card {
    width: min(100%, 420px);
    background: #fff;
    border-radius: 18px;
    padding: 28px 22px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.global-loading-spinner {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border: 4px solid rgba(5, 143, 208, 0.18);
    border-top-color: #058fd0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.global-loading-card h2 {
    font-size: 1.45rem;
    color: #058fd0;
    margin-bottom: 8px;
}

.global-loading-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.spinner {
    border: 3px solid rgba(243, 243, 243, 0.3);
    border-top: 3px solid #058fd0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 8px;
    display: none;
}

.validation-error.show {
    display: block;
}

.field-status {
    min-height: 18px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #555;
}

.field-status.success {
    color: #1d7f46;
}

.field-status.error {
    color: #c62828;
}

.form-input.is-invalid {
    border-color: #d93025 !important;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.08);
}

.form-input.is-valid {
    border-color: #1d7f46 !important;
    box-shadow: 0 0 0 3px rgba(29, 127, 70, 0.08);
}

.status-message {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
    display: none;
    border: 1px solid transparent;
}

.status-message.show {
    display: block;
}

.status-message.success {
    background: #e8f8ee;
    border-color: #25a25a;
    color: #166b3a;
}

.status-message.error {
    background: #fdeaea;
    border-color: #dc3545;
    color: #8b1e1e;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal-backdrop.show {
    display: flex;
}

.modal-card {
    width: min(100%, 480px);
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.consultation-card {
    text-align: center;
    padding: 28px 22px;
}

.consultation-card h2 {
    margin-bottom: 10px;
}

.consultation-card p {
    color: #555;
    font-size: 0.95rem;
}

.consulting-spinner {
    width: 54px;
    height: 54px;
    border: 4px solid rgba(5, 143, 208, 0.15);
    border-top-color: #058fd0;
    border-radius: 50%;
    margin: 0 auto 18px;
    animation: spin 1s linear infinite;
}

.modal-card h2 {
    color: #058fd0;
    font-size: 1.35rem;
    margin-bottom: 18px;
    text-align: center;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid #dfeaf3;
    border-radius: 10px;
    padding: 14px 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
}

.option-item input {
    width: 18px;
    height: 18px;
    accent-color: #058fd0;
}

.page-form-stage {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0 12px;
}

.form-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    color: #1886c9;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin: 0 0 18px;
    text-align: center;
}

.info-card {
    background: rgba(129, 199, 231, 0.18);
    border: 1px solid #cfeaf6;
    border-radius: 10px;
    padding: 20px 18px;
    margin-bottom: 26px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-size: 1.05rem;
    color: #1a1a1a;
    border-bottom: 1px solid rgba(17, 94, 152, 0.08);
}

.info-row:last-child {
    border-bottom: 0;
}

.info-label {
    font-weight: 700;
    color: #1c1c1c;
}

.info-value {
    font-weight: 600;
    text-align: right;
}

.section-wrap {
    background: #f3f3f3;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 20px 20px 12px;
    margin-bottom: 22px;
}

.section-heading {
    color: #0c8bc9;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 3px solid #0a8ec9;
}

.field-block {
    margin-bottom: 16px;
}

.field-label,
.question-label {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 10px;
    line-height: 1.4;
}

.required {
    color: #d71920;
}

.select-input,
.form-input {
    border: 1px solid #d0d0d0;
    background: #fff;
    border-radius: 8px;
    min-height: 52px;
    padding: 12px 14px;
    width: 100%;
    font-size: 1.05rem;
}

.radio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: 0.2s ease;
}

.custom-option.selected {
    border-color: #0a8ec9;
    box-shadow: inset 0 0 0 1px #0a8ec9;
}

.custom-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-ui {
    width: 20px;
    height: 20px;
    border: 2px solid #b7b7b7;
    border-radius: 50%;
    margin-top: 2px;
    position: relative;
    flex-shrink: 0;
    background: #fff;
}

.custom-option input:checked + .radio-ui {
    border-color: #0a8ec9;
    box-shadow: inset 0 0 0 5px #0a8ec9;
}

.radio-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.35;
}

.radio-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1d1d1d;
}

.radio-sub {
    font-size: 0.94rem;
    color: #4e4e4e;
}

.declaracao-box {
    background: #f9f9f9;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 18px 16px;
    margin-bottom: 18px;
}

.declaracao-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0c8bc9;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.declaracao-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.declaracao-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check-ui {
    width: 22px;
    height: 22px;
    border: 2px solid #c7c7c7;
    border-radius: 6px;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.declaracao-check input:checked + .check-ui {
    background: #0a8ec9;
    border-color: #0a8ec9;
}

.declaracao-check input:checked + .check-ui::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
}

.declaracao-copy {
    font-size: 1.05rem;
    line-height: 1.45;
    color: #1f1f1f;
    font-weight: 600;
}

.warning-box {
    background: rgba(126, 197, 236, 0.18);
    border: 1px solid #bfe0f4;
    color: #1d5b80;
    border-radius: 8px;
    padding: 16px 18px;
    font-size: 1.08rem;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 18px;
}

.section-complementar {
    padding-top: 16px;
}

.question-block {
    margin-bottom: 18px;
}

.yes-no-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.yes-no-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #252525;
    cursor: pointer;
}

.yes-no-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yes-no-option::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #b8b8b8;
    background: #fff;
    display: inline-block;
}

.yes-no-option input:checked + span {
    color: #0a8ec9;
}

.yes-no-option input:checked ~ ::before,
.yes-no-option:has(input:checked)::before {
    border-color: #0a8ec9;
    box-shadow: inset 0 0 0 5px #0a8ec9;
}

.inline-actions-stage4 {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inline-actions-stage4 .btn-secondary,
.inline-actions-stage4 .btn-primary {
    width: 100%;
    min-height: 56px;
    font-size: 1.05rem;
}

.btn-link {
    background: #f3f5f7;
    color: #1a1a1a;
    border: 1px solid #d5d5d5;
    box-shadow: none;
}

@media (max-width: 640px) {
    .info-row {
        flex-direction: column;
        gap: 4px;
    }

    .info-value {
        text-align: left;
    }

    .section-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.modal-actions {
    margin-top: 18px;
}

.summary {
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
}

.summary-item:last-child {
    border-bottom: 0;
}

.confirmacao-resumo {
    max-width: 760px;
    margin: 0 auto;
}

.top-confirmacao-box {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 18px 18px 12px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.confirmacao-titulo {
    color: #1a8bcf;
    font-size: clamp(1.35rem, 5vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 0 0 14px;
    text-align: center;
}

.confirmacao-subtitulo {
    color: #1b1b1b;
    font-weight: 800;
    font-size: clamp(0.95rem, 3.2vw, 1.15rem);
    line-height: 1.35;
    margin-bottom: 18px;
    text-align: center;
    text-transform: uppercase;
}

.confirmacao-subtitulo span {
    color: #1fa0d6;
}

.status-box {
    background: #dff5f3;
    border: 1px solid #74d1c2;
    border-radius: 10px;
    padding: 18px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.status-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #18b37d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.status-text h2 {
    color: #0d7f6e;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.status-text p {
    color: #1d5d55;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.countdown-box {
    background: #f6e7ad;
    border: 2px solid #e4c76d;
    border-radius: 10px;
    padding: 18px 16px 14px;
    text-align: center;
    margin-bottom: 18px;
}

.countdown-box h3 {
    color: #2f2d2a;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.countdown-value {
    font-size: clamp(2.2rem, 8vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: #e14a4a;
    margin-bottom: 8px;
}

.countdown-box p {
    color: #4d4a43;
    font-size: 0.96rem;
    margin: 0;
}

.btn-pix {
    width: 100%;
    border: none;
    border-radius: 10px;
    background: linear-gradient(to bottom, #1bbf4d 0%, #15a53f 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    min-height: 58px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(19, 168, 73, 0.2);
}

.card-box {
    background: #f4f4f4;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    padding: 14px 18px 10px;
    margin-bottom: 18px;
}

.box-title {
    color: #0a89d0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 3px solid #0a89d0;
    text-transform: uppercase;
}

.obs-row,
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.obs-row:last-child,
.info-row:last-child {
    border-bottom: 0;
}

.obs-label,
.info-label {
    color: #1d1d1d;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    flex: 1.2;
}

.obs-value,
.info-value {
    color: #2f2f2f;
    font-weight: 600;
    font-size: 0.94rem;
    line-height: 1.25;
    text-align: right;
    flex: 1;
}

.status-row {
    align-items: flex-start;
}

.status-pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 210px;
    padding: 12px 10px;
    border: 2px solid rgba(236, 98, 98, 0.9);
    background: rgba(255, 105, 105, 0.06);
    color: #e04f4f;
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1.15;
    text-align: center;
    border-radius: 8px;
}

.status-red {
    color: #e04f4f;
    font-weight: 800;
}

.pix-stage {
    max-width: 820px;
    margin: 0 auto;
}

.pix-header {
    text-align: center;
    margin-bottom: 20px;
}

.pix-badge {
    display: inline-block;
    background: #e8f8ef;
    color: #1e9d62;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pix-header h1 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
}

.pix-header p {
    color: #495057;
    font-size: 1rem;
    margin: 0;
}

.pix-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    margin-bottom: 18px;
}

.pix-card.primary {
    background: linear-gradient(135deg, #f1fff7 0%, #ebfbf6 100%);
    border-color: #bfead6;
}

.pix-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pix-amount span {
    color: #334155;
    font-size: 0.96rem;
    font-weight: 700;
}

.pix-amount strong {
    color: #0f172a;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 800;
}

.pix-status-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: #1f9d68;
    font-weight: 700;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #20bf6c;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 5px rgba(32, 191, 108, 0.12);
}

.pix-grid {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 18px;
    align-items: center;
}

.pix-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    min-height: 220px;
    border: 1px solid #e2e8f0;
}

.pix-qr-image {
    width: 190px;
    height: 190px;
    object-fit: contain;
}

.pix-qr-placeholder {
    width: 170px;
    height: 170px;
    border: 2px dashed #94a3b8;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.pix-copy-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pix-copy-box label {
    font-weight: 800;
    color: #1f2937;
}

.pix-copy-box textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.92rem;
    background: #f8fafc;
    color: #0f172a;
    font-family: 'Open Sans', sans-serif;
}

.pix-copy-btn,
.pix-copy-key-btn,
.pix-bank-btn,
.pix-confirm-btn,
.btn-primary {
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.pix-copy-btn,
.pix-copy-key-btn,
.btn-primary {
    background: linear-gradient(180deg, #12b76a 0%, #0a8f52 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.pix-bank-btn {
    background: linear-gradient(180deg, #0ea5e9 0%, #0369a1 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}

.pix-copy-btn:hover,
.pix-copy-key-btn:hover,
.pix-bank-btn:hover,
.pix-confirm-btn:hover,
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
}

.pix-actions-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.pix-actions-inline.single-action {
    margin-top: 12px;
}

.pix-copy-btn,
.pix-copy-key-btn {
    flex: 1 1 180px;
    min-height: 54px;
    font-size: 0.8rem;
}

.pix-copy-key-btn {
    width: 100%;
    margin-top: 8px;
}

.hidden-copy-target {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pix-confirmation-status {
    min-height: 24px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #0f766e;
}

.pix-proof-section[hidden] {
    display: none !important;
}

.pix-proof-message {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a4d00;
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 700;
}

.pix-proof-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0 8px;
}

.pix-proof-label {
    font-weight: 700;
    color: #0f172a;
}

.pix-proof-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #f8fafc;
}

.pix-proof-submit {
    width: 100%;
    margin-top: 4px;
}

.pix-proof-feedback {
    min-height: 22px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f766e;
}

.info-card h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 1.25rem;
}

.pix-info-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
}

.pix-info-row:last-child {
    border-bottom: 0;
}

.pix-info-row strong {
    color: #0f172a;
    text-align: right;
}

.info-card ol {
    margin: 0 0 20px;
    padding-left: 20px;
    color: #334155;
    line-height: 1.7;
}

.pix-confirm-btn {
    width: 100%;
    background: linear-gradient(180deg, #0ea5e9 0%, #0369a1 100%);
    color: #fff;
}

@media (max-width: 640px) {
    .obs-row,
    .info-row {
        display: block;
    }

    .obs-value,
    .info-value {
        text-align: left;
        margin-top: 8px;
    }

    .status-pill {
        width: 100%;
        min-width: 0;
    }
}

.inline-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.inline-actions .btn-primary,
.inline-actions .btn-secondary {
    flex: 1;
}

.inline-actions-step5 {
    margin-top: 26px;
    gap: 12px;
}

.inline-actions-step5 .btn-secondary,
.inline-actions-step5 .btn-primary {
    width: 100%;
    margin: 0;
}

.atendimento-box {
    background: #f8f9fa;
    border-left: 4px solid #058fd0;
    padding: 20px 16px;
    margin-top: 24px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.atendimento-titulo {
    color: #333;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 1.0625rem;
}

.atendimento-info {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.9375rem;
}

.atendimento-info strong {
    color: #333;
    min-width: 70px;
    display: inline-block;
}

.linhaTop {
    height: 4px;
    background: #058fd0;
    width: 100%;
}

.linhaAzul {
    height: 6px;
    background: #0056a6;
    width: 100%;
}

.footer {
    background: #222;
    padding: 24px 0;
    text-align: center;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.logoFooter {
    max-width: 100px;
    margin: 0 auto 12px;
}

.footer p {
    color: #fff;
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: #ddd;
    font-size: 12px;
    opacity: 0.95;
    text-decoration: none;
    margin: 0 6px;
}

.content-copy {
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-copy h2,
.content-copy h3 {
    margin: 20px 0 12px;
    color: #058fd0;
}

.content-copy p,
.content-copy ul,
.content-copy ol {
    margin-bottom: 14px;
}

.content-copy ul, .content-copy ol {
    padding-left: 20px;
}

@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .presell-box {
        padding: 32px 28px;
        max-width: 700px;
    }

    .etapa-titulo {
        font-size: 1.75rem;
        margin-bottom: 28px;
    }

    .destaques-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
        margin: 28px 0;
    }

    .destaque-item {
        padding: 20px 16px;
        min-height: 100px;
    }

    .contador-container {
        padding: 24px;
        margin: 28px 0;
    }

    .contador-tempo {
        font-size: 2rem;
    }

    .btn-inscricao {
        padding: 22px;
        font-size: 1.25rem;
        max-width: 400px;
        margin: 24px auto;
        min-height: 64px;
    }

    .atendimento-box {
        padding: 24px;
        margin-top: 28px;
    }

    .two-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pix-grid {
        grid-template-columns: minmax(180px, 220px) 1fr;
    }
}

/* —— Responsivo: mobile first refinements —— */
.presell-box,
.photo-upload-card,
.page-form-stage,
.confirmacao-resumo,
.pix-stage {
    width: 100%;
    max-width: 100%;
}

.card-box,
.top-confirmacao-box,
.pix-card {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pix-copy-box textarea {
    max-width: 100%;
}

@media (max-width: 767px) {
    .header .container {
        gap: 10px;
    }

    .logo {
        max-width: 120px;
    }

    .logoOAB {
        max-width: 62px;
    }

    .presell-container {
        padding: 12px 0 20px;
    }

    .presell-box {
        padding: 16px 14px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .container {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .destaques-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .destaque-item {
        padding: 12px 8px;
        min-height: 82px;
    }

    .destaque-texto {
        font-size: 0.85rem;
    }

    .status-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .pix-grid {
        grid-template-columns: 1fr;
    }

    .pix-qr-box {
        min-height: auto;
        padding: 16px;
    }

    .pix-qr-image,
    .pix-qr-placeholder {
        width: min(100%, 200px);
        height: auto;
        aspect-ratio: 1;
        max-height: 200px;
    }

    .pix-amount {
        flex-direction: column;
        align-items: flex-start;
    }

    .pix-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .pix-info-row strong {
        text-align: left;
        width: 100%;
    }

    .pix-actions-inline {
        flex-direction: column;
    }

    .pix-copy-btn,
    .pix-confirm-btn,
    .pix-proof-submit,
    .btn-pix {
        width: 100%;
    }

    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .inline-actions {
        flex-direction: column;
    }

    .inline-actions .btn-primary,
    .inline-actions .btn-secondary {
        width: 100%;
        flex: none;
    }

    .photo-upload-area {
        min-height: 160px;
        padding: 8px;
    }

    .photo-upload-button {
        min-width: 0;
        width: 100%;
    }

    .photo-camera-panel {
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
    }

    .form-header-title {
        font-size: clamp(1.45rem, 6vw, 2rem);
        padding: 0 4px;
    }

    .modal-card,
    .global-loading-card {
        width: min(100%, calc(100vw - 24px));
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
    }

    .countdown-box h3 {
        font-size: clamp(0.92rem, 3.5vw, 1.1rem);
    }
}

@media (max-width: 480px) {
    .destaques-container {
        grid-template-columns: 1fr;
    }

    .etapa-titulo {
        font-size: 1.2rem;
    }

    .obs-label,
    .info-label,
    .obs-value,
    .info-value {
        font-size: 0.88rem;
    }

    .box-title {
        font-size: 0.95rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .destaques-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
