/* Oferta institucional 1.2.1: escopo isolado dos cadastros e páginas aprovadas. */
.offer-portal{--offer-accent:#a7410a;--offer-line:#e8e3dc;--offer-muted:#565b63;font-size:1.0625rem;line-height:1.6;min-width:0}
.offer-portal *{box-sizing:border-box}
.offer-portal h2{font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.2;letter-spacing:-.025em;text-wrap:balance}
.offer-portal h3{font-size:1.125rem;line-height:1.35;margin-top:1.75rem}
.offer-portal p,.offer-portal label{line-height:1.6}
.offer-portal small{font-size:1rem;line-height:1.5;color:var(--offer-muted)}
.offer-portal .panel{border:1px solid var(--offer-line);border-radius:20px;padding:clamp(20px,2.6vw,32px);box-shadow:0 8px 28px rgb(35 29 20 / 5%);min-width:0}
.offer-portal .tag{display:inline-flex;align-self:flex-start;padding:5px 10px;border-radius:8px;background:#f3f0eb;color:#55514c;font-size:.8125rem;letter-spacing:.04em;font-weight:700;overflow-wrap:anywhere}
.offer-intro{max-width:74ch;color:var(--offer-muted);margin:24px 0}
.offer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}
.offer-card{display:flex;flex-direction:column;gap:12px;overflow:hidden}
.offer-portal .offer-card h2{font-size:clamp(1.5rem,2vw,1.75rem);margin:0}
.offer-card p{margin:0}
.offer-cover{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#f2f0ed}
.offer-card .actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:auto;padding-top:16px}
.offer-card .actions>a{flex:1;text-align:center;min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.offer-portal .offer-price{font-size:clamp(1.875rem,3vw,2.25rem);line-height:1.15;font-weight:800;letter-spacing:-.035em;color:var(--offer-accent);font-variant-numeric:tabular-nums;margin:8px 0}
.offer-detail{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:24px;align-items:start;margin-top:20px}
.offer-detail>aside{position:sticky;top:24px}
.offer-main-photo{display:block;width:100%;max-width:100%;aspect-ratio:4/3;height:auto;max-height:560px;object-fit:contain;background:#f4f2ef;border-radius:14px;margin-top:24px}
.offer-thumbs{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;margin:14px 0;scroll-snap-type:x proximity}
.offer-thumbs a{display:block;flex:0 0 auto;border-radius:10px;scroll-snap-align:start}
.offer-thumbs img{display:block;width:96px;height:74px;object-fit:cover;border:1px solid var(--offer-line);border-radius:10px}
.offer-thumbs a:hover img{border-color:var(--offer-accent)}
.offer-data,.offer-pricing{margin:20px 0}
.offer-data>div,.offer-pricing>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid var(--offer-line);align-items:start}
.offer-data dt,.offer-pricing dt{color:var(--offer-muted)}
.offer-data dd,.offer-pricing dd{margin:0;text-align:right;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.offer-pricing{font-size:1rem}
.offer-pricing .offer-total{grid-template-columns:minmax(0,1fr);background:#fff3e8;border:1px solid #f0d2b7;border-radius:12px;padding:16px;margin:14px 0}
.offer-total dt{font-size:1rem;font-weight:700;color:#4e3525}
.offer-total dd{font-size:clamp(1.875rem,3vw,2.25rem);line-height:1.2;text-align:left;color:var(--offer-accent);letter-spacing:-.03em}
.offer-portal .button{min-height:48px;padding:13px 20px;border-radius:12px;font-size:1rem;font-weight:750;line-height:1.35;white-space:normal;overflow-wrap:anywhere;text-align:center}
.offer-detail aside form>.button{width:100%;margin-top:16px}
.offer-portal a:focus-visible,.offer-portal button:focus-visible,.offer-portal input:focus-visible,.offer-portal select:focus-visible,.offer-portal textarea:focus-visible{outline:3px solid #165a97;outline-offset:4px}
.offer-portal fieldset{border:1px solid var(--offer-line);border-radius:12px;padding:16px;min-width:0}
.offer-portal fieldset label{display:block;margin:12px 0}
.offer-portal input,.offer-portal select,.offer-portal textarea{font-size:1rem;max-width:100%;min-height:48px}
.offer-portal input[type=checkbox]{width:20px;height:20px;min-height:20px;vertical-align:middle;margin-right:8px;accent-color:var(--offer-accent)}
.offer-portal form,.preserve-lines{overflow-wrap:anywhere}
.preserve-lines{white-space:pre-wrap}
.offer-note{padding:16px;border-left:3px solid #c15b1a;background:#fbf5ee;border-radius:0 10px 10px 0;font-size:1rem;color:#514436}
.offer-portal ol{padding-left:1.4em}.offer-portal li{padding:4px 0}
@media(max-width:960px){.offer-detail{grid-template-columns:1fr}.offer-detail>aside{position:static}}
@media(max-width:600px){.offer-portal{font-size:1rem}.offer-grid{grid-template-columns:1fr;gap:18px}.offer-portal .panel{padding:20px;border-radius:16px}.offer-thumbs img{width:80px;height:64px}.offer-data>div{grid-template-columns:minmax(0,1fr);gap:4px}.offer-data dd{text-align:left}.offer-card .actions{flex-direction:column;align-items:stretch}.offer-card .actions>a{flex:auto;width:100%}.offer-main-photo{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.offer-portal *{scroll-behavior:auto;transition:none}}

/* Expanded institutional intake, responsive and without script dependencies. */
.review-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.35fr);gap:24px;align-items:start}.review-gallery{min-width:0}.review-fields{min-width:0}.offer-review{margin:24px 0}.offer-review header{margin-bottom:18px}.offer-review .offer-main-photo{width:100%;height:auto;max-height:460px;object-fit:contain;border-radius:12px;background:#eee}.offer-review textarea{width:100%;min-height:180px;font:inherit;line-height:1.55}.offer-review .preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.capture-photo-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.capture-photo-options img{width:100%;height:130px;object-fit:contain;background:#eee}.capture-photo-options small{display:block;overflow-wrap:anywhere}.offer-review details{margin:16px 0}.offer-review summary{font-weight:700;cursor:pointer;padding:10px 0}.offer-review .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-review input,.offer-review select{min-width:0;max-width:100%}.table-scroll{overflow-x:auto}.offer-review .actions{display:flex;gap:12px;flex-wrap:wrap}.offer-review .review-fields>form{margin:0}.offer-review fieldset{margin-top:18px}.offer-review h2{overflow-wrap:anywhere}.offer-review a:focus-visible,.offer-review button:focus-visible{outline:3px solid #b34a00;outline-offset:3px}@media(max-width:850px){.review-grid{grid-template-columns:1fr}.offer-review .offer-main-photo{max-height:380px}.offer-review .form-grid{grid-template-columns:1fr}.offer-review .actions>button{width:100%}.capture-photo-options img{height:140px}}

/* Vinculação privada compatível com o captador homologado no Admin 3.2.67. */
.capture-connection [hidden]{display:none!important}
.capture-connection details{margin-block:1rem}
.capture-connection summary{cursor:pointer;font-weight:700}
.capture-connection .capture-pair-code{font-size:1.4rem;letter-spacing:.12em;overflow-wrap:anywhere}
.capture-connection .capture-pair-qr{display:block;max-width:100%;height:auto;background:#fff;border:1px solid var(--offer-line);border-radius:.75rem;padding:1rem;margin-block:1rem}
.capture-connection .capture-receipt-summary{border-top:1px solid var(--offer-line);padding-top:1rem;margin-top:1.5rem}
.capture-connection .capture-receipt-summary ul{padding-left:1.25rem}
