/* WebFusion Consent v1 | padrão reutilizável | desktop e mobile */
.wf-consent-banner[hidden],.wf-pref-overlay[hidden]{display:none!important}
.wf-consent-banner{position:fixed;bottom:24px;left:16px;right:16px;z-index:2100;max-height:calc(100dvh - 38px);max-height:calc(100dvh - 38px - env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;pointer-events:none;font-family:'Manrope','Segoe UI',Arial,sans-serif}
.wf-consent-card{pointer-events:auto;width:min(840px,100%);margin-inline:auto;border:1px solid #dae4df;border-radius:22px;background:#fff;color:#263d3c;box-shadow:0 18px 56px rgba(14,37,36,.23);padding:22px 25px 19px}
.wf-consent-heading{display:flex;align-items:center;gap:10px}
.wf-consent-heading h2{margin:0;color:#233b38;font-size:1.15rem;line-height:1.35;font-weight:750;letter-spacing:-.025em}
.wf-consent-icon{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#e9f2ec;color:#24665a}
.wf-consent-icon svg{height:20px;width:20px}
.wf-consent-card>p{font-size:.85rem;line-height:1.63;color:#526661;margin:9px 0 16px;max-width:740px}
.wf-consent-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.wf-consent-btn{appearance:none;border:1.5px solid transparent;border-radius:12px;min-height:44px;padding:11px 17px;font-family:inherit;font-size:.84rem;font-weight:750;line-height:1.2;white-space:normal;text-align:center;cursor:pointer;transition:background .18s,box-shadow .18s,color .18s}
.wf-consent-btn-primary{background:#255f59;color:#fff;border-color:#255f59}
.wf-consent-btn-primary:hover{background:#194b46;border-color:#194b46}
.wf-consent-btn-outline{background:#fff;color:#255f59;border-color:#255f59}
.wf-consent-btn-outline:hover{background:#ebf4f0}
.wf-consent-customize{min-height:44px;padding:9px 12px;background:none;border:0;border-radius:10px;color:#255f59;font-weight:750;font-size:.82rem;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.wf-consent-customize:hover{background:#eff6f2}
.wf-consent-legal{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-top:13px;color:#62746e;font-size:.75rem}
.wf-consent-legal button{cursor:pointer;background:transparent;border:0;padding:0;text-decoration:underline;text-underline-offset:2px;font-size:inherit;color:#526761}
.wf-consent-btn:focus-visible,.wf-consent-customize:focus-visible,.wf-consent-legal button:focus-visible,.wf-pref-close:focus-visible,.wf-pref-item input:focus-visible{outline:3px solid #cc965b;outline-offset:3px}
body.menu-open .wf-consent-banner{visibility:hidden;pointer-events:none}
.wf-pref-overlay{position:fixed;inset:0;z-index:3600;display:flex;align-items:center;justify-content:center;background:rgba(13,31,33,.65);padding:20px;backdrop-filter:blur(4px)}
body.wf-pref-open{overflow:hidden}
.wf-pref-dialog{width:min(560px,100%);max-height:min(88dvh,760px);display:flex;flex-direction:column;overflow:hidden;border-radius:22px;background:#fff;color:#263c3c;box-shadow:0 25px 75px rgba(0,0,0,.27);font-family:'Manrope','Segoe UI',Arial,sans-serif}
.wf-pref-header{flex:0 0 auto;background:#fff;padding:22px 24px 17px;display:flex;align-items:start;justify-content:space-between;gap:12px;border-bottom:1px solid #e0e8e3}
.wf-pref-kicker{color:#436d62;letter-spacing:.12em;font-size:.66rem;font-weight:800}
.wf-pref-header h2{color:#253c37;font-size:1.4rem;line-height:1.3;font-weight:800;letter-spacing:-.025em;margin:4px 0 0}
.wf-pref-close{width:40px;height:40px;flex:0 0 40px;border:1px solid #d8e2dc;border-radius:50%;background:#fff;color:#243b37;cursor:pointer;font-size:1.7rem;line-height:1}
.wf-pref-content{padding:21px 24px 24px;overflow:auto;overscroll-behavior:contain}
.wf-pref-content>p{font-size:.86rem;color:#566965;line-height:1.6;margin:0 0 16px}
.wf-pref-item{border:1px solid #dae5df;border-radius:14px;padding:15px 16px;margin-top:11px;display:flex;justify-content:space-between;align-items:center;gap:15px;color:#263e39}
.wf-pref-item strong{font-size:.87rem;font-weight:800}
.wf-pref-item p,.wf-pref-item-description{display:block;font-size:.76rem;color:#566965;line-height:1.55;margin:4px 0 0}
.wf-pref-item input{accent-color:#255f59;width:21px;height:21px;flex:0 0 21px;cursor:pointer}
.wf-pref-item input:disabled{cursor:not-allowed}
.wf-pref-item-selectable{cursor:pointer}
.wf-pref-item-selectable:hover{background:#f6f9f7}
.wf-pref-content .wf-pref-footnote{font-size:.74rem;line-height:1.6;margin:17px 0 0}
.wf-pref-actions{margin-top:21px;display:flex;flex-wrap:wrap;gap:10px}
.wf-pref-actions .wf-consent-btn{flex:1 1 175px}
@media(max-width:640px){
  .wf-consent-banner{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px))}
  .wf-consent-card{padding:18px 17px 16px;border-radius:19px}
  .wf-consent-heading h2{font-size:1.02rem}
  .wf-consent-card>p{font-size:.8rem;line-height:1.53;margin:9px 0 13px}
  .wf-consent-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .wf-consent-btn{min-height:44px;font-size:.81rem;padding:10px 13px}
  .wf-consent-customize{min-height:38px}
  .wf-consent-legal{justify-content:center;margin-top:9px;font-size:.7rem}
  .wf-pref-overlay{padding:10px}
  .wf-pref-dialog{max-height:calc(100dvh - 20px);border-radius:18px}
  .wf-pref-header{padding:16px}
  .wf-pref-header h2{font-size:1.16rem}
  .wf-pref-content{padding:16px}
  .wf-pref-item{padding:12px;gap:9px}
}
@media(max-height:520px){.wf-consent-banner{bottom:8px;max-height:calc(100dvh - 16px)}.wf-consent-card{padding:12px 16px}.wf-consent-card>p{margin:5px 0 10px}.wf-consent-legal{margin-top:6px}.wf-pref-dialog{max-height:calc(100dvh - 12px)}}
@media(prefers-reduced-motion:reduce){.wf-consent-btn{transition:none}}
