:root {
    --ink:#243b35;
    --muted:#63736c;
    --accent:#24614c;
    --border:#dbe4dd;
    --paper:#fff;
    --wash:#f4f6f2
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    background:var(--wash);
    color:var(--ink);
    font-family:system-ui,-apple-system,'Segoe UI',sans-serif;
    font-size:16px;
    line-height:1.5
}
button,input,select {
    font:inherit
}
a {
    color:var(--accent);
    text-underline-offset:4px
}
.skip {
    position:absolute;
    top:-80px;
    padding:12px;
    background:white;
    z-index:9999
}
.skip:focus {
    top:0
}
.brand {
    max-width:1120px;
    margin:auto;
    padding:24px 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px
}
.brand img {
    max-width:min(100%,460px);
    max-height:120px;
    object-fit:contain
}
.brand span {
    font-size:13px;
    color:var(--muted)
}
.layout {
    max-width:1120px;
    margin:16px auto 56px;
    padding:0 28px;
    display:grid;
    grid-template-columns:1fr 1.18fr;
    gap:64px;
    align-items:start
}
.intro {
    padding:42px 0
}
.eyebrow {
    font-size:11px;
    letter-spacing:1.8px;
    font-weight:700;
    color:var(--accent)
}
h1 {
    font-family:Georgia,serif;
    font-size:clamp(30px,3.5vw,46px);
    line-height:1.17;
    font-weight:400;
    margin:20px 0 24px;
    letter-spacing:-1px
}
.intro p {
    color:var(--muted);
    max-width:390px;
    font-size:17px
}
.intro-rule {
    width:48px;
    height:3px;
    background:#b79358;
    margin:28px 0
}
.intro .small {
    font-size:15px
}
.support {
    display:flex;
    flex-direction:column;
    gap:3px;
    font-size:14px;
    margin-top:38px
}
.donation {
    background:white;
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:0 12px 38px #243b3509;
    padding:30px
}
section+section {
    border-top:1px solid var(--border);
    margin-top:26px;
    padding-top:26px
}
.section-heading {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px
}
.step {
    height:28px;
    width:28px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#ecf3ee;
    color:var(--accent);
    font-size:13px;
    font-weight:700
}
h2 {
    margin:0;
    font-size:20px;
    font-weight:650;
    letter-spacing:-.3px
}
.hint {
    font-size:14px;
    color:var(--muted);
    margin:8px 0 16px
}
.amounts {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:9px
}
.amount,.other,.pay {
    border:1px solid var(--border);
    border-radius:10px;
    background:white;
    color:var(--ink);
    min-height:52px;
    cursor:pointer;
    font-weight:650
}
.amount:hover,.pay:hover {
    background:#f1f6f2;
    border-color:var(--accent)
}
.amount[aria-pressed=true],.other[aria-pressed=true] {
    background:var(--accent);
    color:white;
    border-color:var(--accent)
}
.other {
    width:100%;
    margin-top:10px;
    font-size:14px
}
.fields {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px
}
.field {
    min-width:0
}
.field label,#outrosValores label {
    display:block;
    font-size:14px;
    font-weight:550;
    margin:0 0 6px
}
.field input,.field select,#outrosValores input,.modal input {
    width:100%;
    min-height:50px;
    border:1px solid #bfcfc3;
    border-radius:9px;
    background:white;
    color:var(--ink);
    font-size:16px!important;
    padding:11px 12px;
    margin:0;
    text-align:left!important;
    box-shadow:none
}
#outrosValores {
    margin-top:16px
}
#campotxtNOMECOMPLETO {
    grid-column:1/-1
}
.location {
    border:0;
    padding:0;
    margin:16px 0 22px;
    min-width:0
}
.location legend {
    float:none;
    font-size:14px;
    font-weight:550;
    margin-bottom:8px
}
.country-toggle {
    display:grid;
    grid-template-columns:1fr 1fr;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--wash);
    padding:4px;
    gap:4px
}
.country-toggle input {
    position:absolute;
    opacity:0;
    width:1px;
    height:1px
}
.country-toggle label {
    padding:12px;
    text-align:center;
    cursor:pointer;
    border-radius:7px;
    font-size:14px;
    margin:0
}
.country-toggle input:checked+label {
    background:white;
    color:var(--accent);
    font-weight:700;
    box-shadow:0 2px 6px #243b3510
}
.country-toggle input:focus-visible+label {
    outline:3px solid #b79358;
    outline-offset:2px
}
.address {
    margin-top:24px
}
.address h3 {
    font-size:16px;
    margin:0
}
.consent {
    display:flex;
    gap:12px;
    margin:18px 0 8px;
    align-items:flex-start
}
.consent input {
    width:23px;
    height:23px;
    flex-shrink:0;
    margin-top:3px;
    accent-color:var(--accent)
}
.consent label {
    font-size:13px;
    color:var(--muted);
    cursor:pointer
}
.privacy {
    display:inline-block;
    font-size:13px;
    padding:8px 0;
    min-height:44px
}
#dv_recaptcha {
    margin:16px 0;
    max-width:100%;
    overflow:auto
}
.payments {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:9px
}
.pay {
    min-height:76px;
    background:#f4f8f4
}
.pay span {
    display:block;
    color:var(--muted);
    font-size:11px;
    font-weight:400;
    margin-top:4px
}
.fine {
    font-size:12px;
    color:var(--muted);
    margin:18px 0 0
}
footer {
    border-top:1px solid var(--border);
    background:white;
    padding:28px
}
.footer-inner {
    max-width:1064px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    gap:28px
}
.footer-inner strong {
    display:block;
    font-size:14px
}
.footer-inner a {
    display:block;
    min-height:34px;
    padding:5px 0;
    font-size:14px
}
.footer-inner p {
    font-size:12px;
    color:var(--muted);
    margin:0
}
.prosystem {
    display:flex;
    align-items:center;
    gap:12px
}
.prosystem img {
    width:112px;
    max-height:64px;
    object-fit:contain
}
.prosystem span {
    font-size:11px;
    color:var(--muted)
}
:focus-visible {
    outline:3px solid #b79358;
    outline-offset:3px
}
.overlay {
    position:fixed;
    inset:0;
    background:#183a31e6;
    z-index:2000;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:18px;
    color:white
}
.overlay .spinner-border {
    width:44px!important;
    height:44px!important
}
.modal-dialog {
    margin:16px auto;
    max-width:500px;
    padding:0 12px
}
.modal-content {
    border-radius:16px
}
.modal-body {
    padding:20px
}
.modal-body .row {
    margin:0 0 14px
}
.modal input {
    word-break:break-all
}
.modal-body img {
    max-width:100%;
    height:auto
}
.modal-body .btn {
    min-height:48px
}
#dvAlerta {
    max-width:1064px;
    margin:8px auto
}
body [hidden] {
    display:none!important
}
@media(max-width:760px) {
    .brand {
        padding:18px 18px 0;
        justify-content:center
    }
    .brand span {
        display:none
    }
    .brand img {
        max-height:86px;
        max-width:100%
    }
    .layout {
        grid-template-columns:1fr;
        gap:18px;
        padding:0 16px;
        margin:0 auto 30px
    }
    .intro {
        padding:24px 4px 4px
    }
    .eyebrow {
        font-size:10px
    }
    h1 {
        font-size:32px;
        margin:12px 0 14px
    }
    h1 br {
        display:none
    }
    .intro p {
        font-size:15px;
        margin:0;
        max-width:none
    }
    .intro-rule,.intro .small {
        display:none
    }
    .support {
        margin-top:16px;
        font-size:13px;
        flex-direction:row;
        flex-wrap:wrap;
        gap:6px;
        padding:8px 0
    }
    .donation {
        padding:22px 18px;
        border-radius:16px
    }
    .fields {
        grid-template-columns:1fr;
        gap:14px
    }
    .amounts {
        grid-template-columns:repeat(2,1fr)
    }
    h2 {
        font-size:19px
    }
    .payments {
        gap:7px
    }
    .pay {
        font-size:14px
    }
    .pay span {
        font-size:10px
    }
    .footer-inner {
        flex-direction:column
    }
    .prosystem {
        padding-top:16px;
        border-top:1px solid var(--border)
    }
    footer {
        padding:24px 20px
    }
    .modal-dialog {
        margin:8px auto
    }
    .modal-body {
        max-height:75dvh;
        overflow:auto
    }
}
@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        scroll-behavior:auto!important;
        animation:none!important;
        transition:none!important
    }
}
#campotxtCPF,#dv_recaptcha {
    grid-column:1/-1
}
#campotxtCPF input {
    font-size:18px!important;
    font-weight:600
}
.pay:disabled {
    opacity:.45;
    cursor:not-allowed
}
.captcha-message {
    font-size:13px
}
#dv_recaptcha {
    overflow:visible;
    margin:0 0 8px;
    min-width:0
}
#example1 {
    max-width:100%
}
.donation #campotxtCPF {
    grid-column:1/-1;
    background:#f1f6f2;
    border:1px solid #dbe4dd;
    border-radius:12px;
    padding:16px
}
.donation #campotxtCPF label {
    font-size:17px;
    font-weight:700
}
.donation #campotxtCPF input {
    min-height:56px;
    font-size:20px!important
}
.donation #dv_recaptcha {
    grid-column:1/-1;
    min-height:82px;
    margin:6px 0 18px
}
.captcha-loading {
    font-size:13px;
    color:#63736c
}
.captcha-loading:has(+ #example1:not(:empty)) {
    display:none
}
#example1 {
    min-height:78px
}
.swal2-container {
    z-index:4000!important
}
.international-note {
    margin-top:12px
}
.intro {
    padding-top:24px
}
/* Identidade BJ: vinho, dourado e creme do site institucional. */
body[data-cliente="BJ"] {
    --ink: #2b1a14;
    --muted: #6b5a4a;
    --accent: #6b0f16;
    --border: #e8ddca;
    --wash: #fbf8f1;
}




body[data-cliente="BJ"] .layout {
    margin-top: 24px;
    gap: 48px;
}
body[data-cliente="BJ"] .intro {
    padding-top: 22px;
}
body[data-cliente="BJ"] .intro-rule {
    background: #b88a2e;
}
body[data-cliente="BJ"] .intro h1 {
    font-size: clamp(30px, 3.2vw, 42px);
}
body[data-cliente="BJ"] .step {
    background: #f4ebdc;
}
body[data-cliente="BJ"] .pay {
    background: #fbf8f1;
    border-color: #d9c7a7;
}
body[data-cliente="BJ"] .pay:hover {
    background: #f5e9dd;
    border-color: #6b0f16;
}
body[data-cliente="BJ"] .amount:hover {
    background: #f7eee4;
}
body[data-cliente="BJ"] .donation #campotxtCPF {
    background: #fbf8f1;
    border-color: #e8ddca;
}
body[data-cliente="BJ"] .pay:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.bj-photo {
    max-width: 410px;
    margin: 24px 0 0;
}
.bj-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.bj-photo figcaption {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 8px;
    color: var(--muted);
}
@media (max-width: 760px) {
    
    
    
    body[data-cliente="BJ"] .layout {
        margin-top: 12px;
        gap: 10px;
    }
    body[data-cliente="BJ"] .intro {
        padding: 0 4px;
    }
    body[data-cliente="BJ"] .intro .eyebrow,
    body[data-cliente="BJ"] .intro .intro-rule,
    body[data-cliente="BJ"] .intro .small,
    body[data-cliente="BJ"] .intro .support,
    body[data-cliente="BJ"] .intro .bj-photo {
        display: none;
    }
    body[data-cliente="BJ"] .intro h1 {
        font-family: system-ui, sans-serif;
        font-size: 22px;
        font-weight: 650;
        line-height: 1.25;
        letter-spacing: -.4px;
        margin: 0 0 5px;
    }
    body[data-cliente="BJ"] .intro > p {
        font-size: 13px;
        line-height: 1.4;
    }
    body[data-cliente="BJ"] .donation {
        padding: 16px;
    }
    body[data-cliente="BJ"] .donation #campotxtCPF {
        padding: 12px;
    }
}

/* Conteúdo e apoio: a doação continua sendo o foco. */
.bj-purpose {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0 4px;
}
.bj-purpose > div {
    padding: 14px;
    border: 1px solid #e8ddca;
    border-radius: 12px;
    background: #fffdf8;
}
.bj-purpose strong {
    font-size: 14px;
    color: #6b0f16;
}
body[data-cliente="BJ"] .bj-purpose p {
    font-size: 13px;
    line-height: 1.45;
    margin: 6px 0 0;
}
body[data-cliente="BJ"] .support {
    margin-top: 20px;
    display: inline-block;
    font-size: 14px;
}
.bj-help h2 {
    font-size: 18px;
    margin-bottom: 14px;
}
.bj-help details {
    border-top: 1px solid var(--border);
}
.bj-help summary {
    padding: 15px 4px;
    cursor: pointer;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    min-height: 48px;
}
.bj-help details p {
    margin: 0;
    padding: 0 4px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}
.bj-mobile-story {
    display: none;
}
body[data-cliente="BJ"] .footer-inner a {
    overflow-wrap: anywhere;
}
@media (max-width: 760px) {
    body[data-cliente="BJ"] .intro .bj-purpose {
        display: none;
    }
    body[data-cliente="BJ"] .intro > p {
        font-size: 13px;
        line-height: 1.45;
    }
    .bj-mobile-story {
        display: block;
    }
    .bj-mobile-story img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    .bj-mobile-story p {
        margin: 10px 0 0;
        font-size: 13px;
        line-height: 1.5;
        color: var(--muted);
    }
    .bj-help summary {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

/* Cabeçalho BJ no padrão compacto de faixa + frase da PVC. */
body[data-cliente="BJ"] header.bj-header {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e8ddca;
}
.bj-faixa {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: #f3eddf;
}
body[data-cliente="BJ"] .bj-faixa > .bj-banner {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}
body[data-cliente="BJ"] .bj-faixa > .bj-logo {
    position: absolute;
    top: 50%;
    right: max(20px, calc((100% - 1064px) / 2));
    transform: translateY(-50%);
    display: block;
    width: 182px;
    max-width: none;
    height: auto;
    max-height: none;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px #2b1a141a;
}
.bj-frase {
    margin: 0;
    padding: 9px 16px;
    color: #6b0f16;
    font-family: Georgia, serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.4;
    text-align: center;
}
@media (max-width: 760px) {
    .bj-faixa { height: 88px; }
    body[data-cliente="BJ"] .bj-faixa > .bj-logo {
        width: 132px;
        right: auto;
        left: 12px;
        padding: 7px;
        border-radius: 6px;
    }
    .bj-frase { font-size: 12px; padding: 7px 12px; }
}
/* Ajuste do cabeçalho para celulares */
@media (max-width: 767px) {

    .bj-faixa {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        overflow: hidden;
    }

    .bj-banner {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .bj-logo {
        position: relative;
        display: block;
        width: min(70%, 280px);
        max-width: 100%;
        height: auto;
        margin: 12px auto;
        inset: auto;
        transform: none;
        object-fit: contain;
    }
}

