html, body {
    margin: 0;
    padding: 0;
    background: #eef4f5;
}

body {
    font-family: 'PT Sans', Arial, sans-serif;
    color: #20323a;
}

.campanha-page {
    width: 100%;
    min-height: 100vh;
}

.campanha-shell {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
    padding: 12px 0 28px;
}

.campanha-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(16, 52, 72, 0.12);
    background: #ffffff;
}

.campanha-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.campanha-card {
    margin-top: 16px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(16, 52, 72, 0.10);
    padding: 18px 18px 24px;
}

.campanha-title {
    margin: 0;
    color: #19A0A2;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.campanha-intro {
    margin: 10px 0 0;
    font-size: 1rem;
    line-height: 1.45;
}

.campanha-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbfc 0%, #eef7f8 100%);
    border: 1px solid #d7e7ea;
}

.campanha-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #56707a;
    font-weight: 700;
    min-width: 0;
}

.campanha-step-num {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #dce9ec;
    color: #0f6d84;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1rem;
    flex: 0 0 36px;
}

.campanha-step-active .campanha-step-num {
    background: linear-gradient(135deg, #19A0A2 0%, #0f6d84 100%);
    color: #fff;
}

.campanha-step-item.campanha-step-complete {
    background: rgba(15,109,132,0.12);
    border-radius: 999px;
    color: #0b4f61;
}

.campanha-step-item.campanha-step-complete .campanha-step-num {
    background: linear-gradient(135deg, #0f6d84 0%, #0b4f61 100%) !important;
    color: #fff !important;
    box-shadow: 0 0 0 5px rgba(15, 109, 132, 0.10);
}

.campanha-step-item.campanha-step-complete .campanha-step-text {
    color: #0b4f61 !important;
}

.campanha-step-item.campanha-step-complete + .campanha-step-line {
    background: linear-gradient(90deg, rgba(15,109,132,0.85), rgba(25,160,162,0.18));
}

.campanha-stepper-foto .campanha-step-item.campanha-step-active {
    background: rgba(25, 160, 162, 0.10);
    border-radius: 999px;
}

.campanha-stepper-foto .campanha-step-item.campanha-step-active .campanha-step-num {
    box-shadow: 0 0 0 5px rgba(25,160,162,0.14);
}

.campanha-stepper-foto .campanha-step-item:last-child:not(.campanha-step-active):not(.campanha-step-complete) {
    opacity: 0.55;
}

.campanha-step-text {
    white-space: nowrap;
}

.campanha-step-line {
    flex: 1 1 auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(25,160,162,0.65), rgba(25,160,162,0.15));
    border-radius: 999px;
}

.campanha-alert {
    border-radius: 14px;
    overflow: hidden;
}

.campanha-form table {
    width: 100%;
    border-collapse: collapse;
}

.campanha-form td {
    padding: 0;
}

.campanha-form .textbox1,
.campanha-form select,
.campanha-form textarea {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #c9d7db;
    padding: 10px 14px;
    background: #fff;
    color: #24363e;
    background-clip: padding-box;
    box-shadow: inset 0 1px 2px rgba(15, 30, 40, 0.04);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.campanha-form input[type="text"],
.campanha-form input[type="password"],
.campanha-form input[type="email"],
.campanha-form input[type="tel"],
.campanha-form input[type="date"],
.campanha-form textarea {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 14px;
}

.campanha-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #0f6d84 50%), linear-gradient(135deg, #0f6d84 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.campanha-form .textbox1::placeholder,
.campanha-form textarea::placeholder {
    color: #8aa0a8;
}

.campaign-section {
    margin: 18px 0;
}

.campaign-section-soft {
    background: #fbfdfe;
    border: 1px solid #d9e6ea;
    border-radius: 18px;
    padding: 18px;
}

.campaign-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.campanha-grid {
    display: grid;
    gap: 16px;
}

.campanha-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 16px;
    align-items: flex-start;
}

.campanha-section-title {
    flex: 1 1 100%;
    margin-top: 6px;
}

.campanha-col-1 {
    flex: 1 1 calc(50% - 8px);
    min-width: 240px;
}

.campanha-col-2 {
    flex: 1 1 100%;
}

.campanha-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campanha-grid-1 {
    grid-template-columns: 1fr;
}

.campanha-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.campanha-span-2 {
    grid-column: span 2;
}

.campanha-label {
    font-weight: 700;
    color: #173b45;
    font-size: 0.98rem;
}


/* Campo de senha com toggle de visibilidade */
.campanha-password-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.campanha-password-input {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
}

.campanha-password-toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 109, 132, 0.35);
    border-radius: 14px;
    background: rgba(15, 109, 132, 0.08);
    padding: 0;
    color: #0f6d84;
    font-size: 1.05rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.campanha-password-toggle:hover,
.campanha-password-toggle:focus {
    background: #0f6d84;
    color: #ffffff;
    border-color: #0f6d84;
    transform: translateY(-1px);
    outline: none;
}
.campanha-inline-phone {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.campanha-ddi {
    width: 160px !important;
    flex: 0 0 160px;
}

.campanha-ddd {
    width: 78px !important;
    flex: 0 0 78px;
}

.campanha-phone {
    flex: 1 1 auto;
    min-width: 0;
}

.campanha-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.campanha-form .textbox1:focus,
.campanha-form select:focus,
.campanha-form textarea:focus {
    outline: none;
    border-color: #19a0a2;
    box-shadow: 0 0 0 4px rgba(25, 160, 162, 0.16);
    transform: translateY(-1px);
}

.campanha-form .textbox1:focus-visible,
.campanha-form select:focus-visible,
.campanha-form textarea:focus-visible {
    outline: none;
}

.campanha-btn {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #19A0A2 0%, #0f6d84 100%);
    color: #fff;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 109, 132, 0.22);
}

.campanha-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(15, 109, 132, 0.26);
}

.campanha-btn.secondary {
    background: linear-gradient(135deg, #0f6d84 0%, #164e60 100%);
}

.campanha-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 22px;
    border-radius: 14px;
    border: 1px solid #0f6d84;
    background: #ffffff;
    color: #0f6d84;
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 18px rgba(15, 109, 132, 0.10);
    cursor: pointer;
    text-decoration: none;
    min-height: 48px;
    min-width: 190px;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
    appearance: none;
    -webkit-appearance: none;
}

.campanha-cta:hover,
.campanha-cta:focus {
    transform: translateY(-1px);
    background: #0f6d84;
    color: #ffffff;
    border-color: #0f6d84;
    box-shadow: 0 14px 24px rgba(15, 109, 132, 0.22);
}

.campanha-button-secondary,
.campanha-actions-inline .campanha-button-secondary,
.campanha-actions-inline .campanha-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 22px;
    border-radius: 14px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    min-height: 48px;
    min-width: 190px;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    flex: 1 1 0;
}

.campanha-button-secondary {
    background: #ffffff;
    color: #0f6d84;
    border: 1px solid rgba(15, 109, 132, 0.45);
    box-shadow: 0 8px 18px rgba(15, 109, 132, 0.10);
}

.campanha-button-secondary:hover,
.campanha-button-secondary:focus {
    transform: translateY(-1px);
    background: rgba(25,160,162,0.08);
    color: #0b4f61;
    border-color: #0f6d84;
    box-shadow: 0 14px 24px rgba(15, 109, 132, 0.16);
}

.campanha-button-secondary:active,
.campanha-cta:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(15, 109, 132, 0.16);
}

.campanha-step {
    background: linear-gradient(180deg, #f7fbfc 0%, #eef7f8 100%);
    border: 1px solid #d7e7ea;
    border-radius: 18px;
    padding: 18px 18px 20px;
    margin: 18px 0 16px;
}

.campanha-step strong {
    color: #0f6d84;
}

.campanha-step p {
    margin: 0;
    line-height: 1.55;
    font-size: 1rem;
}

.campanha-actions-inline {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
}

.campanha-actions-inline .campanha-button-secondary,
.campanha-actions-inline .campanha-cta {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .campanha-actions-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .campanha-actions-inline .campanha-button-secondary,
    .campanha-actions-inline .campanha-cta {
        width: 100%;
    }
    .campanha-shell {
        width: calc(100% - 12px);
        padding-top: 6px;
    }

    .campanha-card {
        padding: 16px 14px 20px;
        border-radius: 16px;
    }

    .campanha-title {
        font-size: 1.62rem;
        line-height: 1.12;
    }

    .campanha-intro {
        font-size: 1rem;
        line-height: 1.5;
    }

    .campanha-stepper {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 12px;
        margin-top: 16px;
    }

    .campanha-step-item {
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 10px 6px;
        border-radius: 14px;
    }

    .campanha-step-line {
        width: 2px;
        height: 16px;
        margin: 0 0 0 16px;
        background: linear-gradient(180deg, rgba(25,160,162,0.45), rgba(25,160,162,0.12));
    }

    .campanha-step-num {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 0.95rem;
    }

    .campanha-step-text {
        font-size: 0.95rem;
        white-space: normal;
        line-height: 1.2;
    }

    .campanha-step-active {
        background: rgba(25, 160, 162, 0.08);
    }

    .campanha-step-active .campanha-step-text {
        color: #0f6d84;
    }

    .campanha-step-item.campanha-step-complete + .campanha-step-line {
        background: linear-gradient(180deg, rgba(15,109,132,0.82), rgba(25,160,162,0.16));
    }

    .campanha-field {
        gap: 5px;
        width: 100%;
    }

    .campaign-section-soft {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .campaign-section-head {
        margin-bottom: 14px;
    }

    .campanha-grid {
        gap: 12px;
    }

    .campanha-form-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 10px;
    }

    .campanha-col-1,
    .campanha-col-2,
    .campanha-section-title,
    .campanha-span-2 {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }

    .campanha-mobile-duo {
        flex: 1 1 calc(50% - 5px);
        width: calc(50% - 5px);
        min-width: 0;
    }

    .campanha-form-grid > .campanha-mobile-numero {
        flex: 0 0 82px !important;
        width: 82px !important;
        max-width: 82px !important;
        min-width: 82px !important;
    }

    .campanha-form-grid > .campanha-mobile-complemento {
        flex: 1 1 calc(100% - 92px) !important;
        width: calc(100% - 92px) !important;
        max-width: calc(100% - 92px) !important;
        min-width: 0 !important;
    }

        .campanha-mobile-estado,
    .campanha-mobile-cidade {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }

    .campanha-mobile-phone {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }

    
.campanha-inline-phone {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .campanha-ddi {
        flex: 0 0 92px !important;
        width: 92px !important;
        min-width: 92px;
    }

    .campanha-ddd {
        flex: 0 0 52px !important;
        width: 52px !important;
        min-width: 52px;
    }

    .campanha-phone {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0;
    }

    .campanha-field .campanha-inline-phone > * {
        min-width: 0;
    }

    .campanha-actions {
        justify-content: stretch;
        margin-top: 20px;
    }

    .campanha-actions .campanha-cta {
        width: 100%;
        max-width: 100%;
        padding: 16px 18px;
        font-size: 1.02rem;
    }
}

.campanha-manual-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.campanha-manual-box .textbox1 {
    margin-top: 0;
}
.campanha-top-shell {
    position: relative;
}

.campanha-alert-wrap {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    width: min(420px, calc(100vw - 24px));
}

.campanha-alert-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 44px 16px 16px;
    border: 1px solid #f0c36d;
    border-radius: 18px;
    background: #fff8e8;
    box-shadow: 0 16px 34px rgba(73, 44, 0, 0.18);
    color: #5b4200;
}

.campanha-alert-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
}

.campanha-alert-icon img {
    display: block;
}

.campanha-alert-body {
    flex: 1 1 auto;
    font-size: 0.98rem;
    line-height: 1.45;
}

.campanha-alert-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #8a5b00;
    font-size: 28px;
    line-height: 28px;
    cursor: pointer;
    padding: 0;
}

.campanha-alert-close:hover {
    background: rgba(138, 91, 0, 0.10);
}

@media (max-width: 768px) {
    .campanha-actions-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .campanha-actions-inline .campanha-button-secondary,
    .campanha-actions-inline .campanha-cta {
        width: 100%;
    }
    .campanha-alert-wrap {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }

    .campanha-alert-box {
        padding: 14px 40px 14px 14px;
        border-radius: 16px;
    }
}

.campanha-bloqueio-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 0 10px;
}

.campanha-bloqueio-box {
    width: min(720px, 100%);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 24px 22px;
    border: 1px solid #f0c36d;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff8e8 0%, #fffdf5 100%);
    box-shadow: 0 18px 36px rgba(73, 44, 0, 0.14);
    color: #5b4200;
}

.campanha-bloqueio-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(25, 160, 162, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.campanha-bloqueio-icon img {
    display: block;
}

.campanha-bloqueio-body {
    flex: 1 1 auto;
}

.campanha-bloqueio-title {
    margin: 0 0 8px;
    color: #0f6d84;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.45rem;
    line-height: 1.15;
}

.campanha-bloqueio-texto {
    margin: 0 0 10px;
    font-size: 1.02rem;
    line-height: 1.55;
}

.campanha-bloqueio-texto-menor {
    color: #6b5b31;
    font-size: 0.96rem;
}

.campanha-bloqueio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.campanha-bloqueio-actions .campanha-cta {
    margin-top: 0;
}
.campanha-conteudo {
    width: 100%;
}

.campanha-secao {
    padding-left: 20px;
    padding-right: 20px;
}
.campanha-modelo-card {
    display: grid;
    gap: 16px;
    margin: 14px 0 18px;
    padding: 16px;
    border: 1px solid #d7e7ea;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbfc 0%, #eef7f8 100%);
}

.campanha-modelo-card-text {
    color: #34515c;
    font-size: 0.98rem;
    line-height: 1.5;
}

.campanha-modelo-card-text strong {
    display: block;
    color: #0f6d84;
    margin-bottom: 6px;
}

.campanha-modelo-card-text p {
    margin: 0;
}

.campanha-modelo-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 230px);
    gap: 14px;
    align-items: stretch;
}

.campanha-modelo-card-item {
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(15, 109, 132, 0.16);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 109, 132, 0.10);
}

.campanha-modelo-card-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.campanha-modelo-card-horizontal img {
    max-height: 280px;
}

.campanha-modelo-card-vertical img {
    max-height: 280px;
}

.campanha-modelo-card-item figcaption {
    margin-top: 8px;
    color: #56707a;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

.campanha-foto-ajuste {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #d7e7ea;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdfe 0%, #f2f9fa 100%);
}

.campanha-foto-ajuste-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.campanha-foto-ajuste-head strong {
    color: #0f6d84;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 1.03rem;
    letter-spacing: 0.01em;
}

.campanha-foto-ajuste-head p {
    margin: 0;
    color: #3d5862;
    line-height: 1.5;
}

.campanha-foto-ajuste-corpo {
    display: grid;
    gap: 12px;
}

.campanha-foto-preview-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    border: 1px solid rgba(15, 109, 132, 0.18);
    background:
        radial-gradient(circle at 20% 20%, rgba(25,160,162,0.10), transparent 35%),
        linear-gradient(135deg, #eef7f8 0%, #ffffff 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 12px 24px rgba(15, 109, 132, 0.10);
    touch-action: none;
    cursor: grab;
}

.campanha-foto-preview-frame.is-dragging {
    cursor: grabbing;
}

.campanha-foto-preview-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 109, 132, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15, 109, 132, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.24;
    pointer-events: none;
}

.campanha-foto-preview-frame img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    max-height: none;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
    will-change: transform, width, height;
}

.campanha-foto-preview-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    color: #56707a;
    font-size: 0.96rem;
    font-weight: 700;
}

.campanha-foto-zoom-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 12px 14px;
    border: 1px solid rgba(15, 109, 132, 0.14);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 109, 132, 0.08);
}

.campanha-foto-zoom-box label {
    color: #0f6d84;
    font-weight: 700;
}

.campanha-foto-zoom-box input[type="range"] {
    width: 100%;
    accent-color: #0f6d84;
}

.campanha-foto-zoom-valor {
    min-width: 42px;
    text-align: right;
    color: #56707a;
    font-weight: 700;
}

.campanha-foto-ajuste-dica {
    margin: 0;
    color: #56707a;
    font-size: 0.92rem;
    text-align: center;
}

@media (max-width: 768px) {
    .campanha-modelo-card {
        padding: 12px;
    }

    .campanha-modelo-card-grid {
        grid-template-columns: 1fr;
    }

    .campanha-modelo-card-horizontal img,
    .campanha-modelo-card-vertical img {
        max-height: none;
    }

    .campanha-foto-ajuste {
        padding: 12px;
        border-radius: 16px;
    }

    .campanha-foto-preview-frame {
        max-width: 100%;
        border-radius: 16px;
    }

    .campanha-foto-zoom-box {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .campanha-foto-zoom-valor {
        text-align: left;
    }
}

.campanha-card-final-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.campanha-card-final-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d7e7ea;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 109, 132, 0.10);
}

.campanha-card-final-item h3 {
    margin: 0;
    color: #0f6d84;
    font-family: 'Oswald', 'Arial', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

.campanha-card-final-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    background: #eef7f8;
    border: 1px solid rgba(15, 109, 132, 0.12);
}

.campanha-card-final-vertical .campanha-card-final-img {
    width: auto;
    max-width: 100%;
    max-height: 640px;
    margin: 0 auto;
}

.campanha-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #007fa0;
    border-radius: 14px;
    color: #00708d;
    background: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.campanha-download-link:hover {
    background: #007fa0;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 127, 160, 0.22);
}

@media (max-width: 768px) {
    .campanha-card-final-grid {
        grid-template-columns: 1fr;
    }

    .campanha-card-final-vertical .campanha-card-final-img {
        max-height: none;
        width: 100%;
    }

    .campanha-card-final-item .campanha-download-link {
        width: auto;
        max-width: calc(100% - 20px);
        align-self: center;
        padding: 8px 14px;
        min-height: 38px;
        font-size: 0.92rem;
        line-height: 1.2;
        white-space: normal;
    }
}

/* Ajustes do bloqueio financeiro */
.campanha-bloqueio-wrap {
    min-height: 36vh;
    padding: 32px 0 12px;
}

.campanha-bloqueio-box {
    width: min(780px, 100%);
}

.campanha-bloqueio-actions .campanha-cta {
    width: auto;
}

@media (max-width: 768px) {
    .campanha-bloqueio-wrap {
        min-height: auto;
        padding: 18px 0 8px;
    }

    .campanha-bloqueio-box {
        flex-direction: column;
        padding: 18px;
        gap: 12px;
        width: min(100%, 720px);
    }

    .campanha-bloqueio-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
    }

    .campanha-bloqueio-title {
        font-size: 1.22rem;
    }
}
.campanha-top-actions-wrap {
    display: flex;
    justify-content: flex-end;
    margin: 8px 0 12px;
}

.campanha-top-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.campanha-trocar-associado {
    appearance: none;
    border: 1px solid #0f6d84;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #eef9fb 100%);
    color: #0f6d84;
    font-weight: 700;
    font-size: 0.93rem;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(15, 109, 132, 0.10);
}

.campanha-trocar-associado:hover {
    background: linear-gradient(180deg, #0f6d84 0%, #0b5b6e 100%);
    color: #ffffff;
}

@media (max-width: 768px) {
    .campanha-top-actions-wrap {
        margin: 8px 0 14px;
    }

    .campanha-top-actions {
        justify-content: stretch;
    }

    .campanha-trocar-associado {
        width: 100%;
    }
}
.campanha-login-grid .campanha-col-2 {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
}

.campanha-login-grid .campanha-login-actions {
    flex: 1 1 100%;
}

.campanha-loading-active {
    overflow: hidden;
}

.campanha-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(17, 31, 36, 0.34);
    backdrop-filter: blur(2px);
}

.campanha-loading-box {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: min(420px, calc(100vw - 32px));
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(15, 109, 132, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #eef9fb 100%);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    color: #0f6d84;
}

.campanha-loading-icon {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.campanha-loading-ball {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 6px solid rgba(15, 109, 132, 0.18);
    border-top-color: #19A0A2;
    border-right-color: #f0c36d;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.85);
    animation: campanhaGirar 1s linear infinite;
}

.campanha-loading-ball::after {
    content: "\26BD";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    line-height: 1;
    animation: campanhaPulse 1.2s ease-in-out infinite;
}

.campanha-loading-texto {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #20323a;
}

.campanha-loading-texto strong {
    color: #0f6d84;
    font-size: 1.08rem;
}

.campanha-loading-texto span {
    color: #4a646e;
    font-size: 0.96rem;
    line-height: 1.45;
}

@keyframes campanhaGirar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes campanhaPulse {
    0%, 100% { transform: scale(0.96); opacity: 0.88; }
    50% { transform: scale(1.05); opacity: 1; }
}

@media (max-width: 768px) {
    .campanha-login-grid .campanha-col-2,
    .campanha-login-grid .campanha-login-actions {
        flex: 1 1 100%;
    }

    .campanha-loading-box {
        min-width: 0;
        width: calc(100vw - 28px);
        gap: 12px;
        padding: 16px;
        border-radius: 18px;
    }

    .campanha-loading-icon {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
    }

    .campanha-loading-ball {
        width: 44px;
        height: 44px;
    }
}
