/* Maximus – Popup "Request a service" (escopo .mxr-*) */
.balao-flutuante{position:fixed;bottom:20px;right:20px;background:#198043;color:#fff;padding:15px 22px;border:0;border-radius:30px;
  box-shadow:0 4px 14px rgba(0,0,0,.3);font-family:'Nunito Sans',Arial,sans-serif;font-weight:800;font-size:16px;display:flex;align-items:center;gap:8px;
  z-index:9998;cursor:pointer;transition:transform .2s ease,background .2s}
.balao-flutuante:hover{transform:scale(1.04);background:#126433}
.balao-flutuante:focus-visible{outline:3px solid #36afd8;outline-offset:3px}

.mxr-overlay{position:fixed;inset:0;z-index:10000;background:rgba(2,16,72,.55);display:flex;align-items:flex-start;justify-content:center;
  padding:4vh 12px;overflow-y:auto;font-family:'Nunito Sans',Segoe UI,Arial,sans-serif}
.mxr-overlay[hidden]{display:none}
.mxr-dialog{background:#fff;width:100%;max-width:560px;border-radius:14px;box-shadow:0 30px 80px rgba(0,0,0,.35);overflow:hidden;animation:mxrIn .2s ease-out}
@keyframes mxrIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.mxr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:4px solid #2B4876}
.mxr-head img{height:38px;display:block}
.mxr-close{background:none;border:0;font-size:30px;line-height:1;color:#5f6673;cursor:pointer;padding:2px 8px;border-radius:6px}
.mxr-close:hover{background:#eef1f6;color:#021048}
.mxr-hero{background:linear-gradient(135deg,#021048,#2B4876);color:#fff;padding:18px 22px}
.mxr-hero h2{margin:0;color:#fff;font-size:22px;font-weight:800;line-height:1.25}
.mxr-hero p{margin:4px 0 0;color:rgba(255,255,255,.85);font-size:14px}
.mxr-body{padding:20px 22px 22px}
.mxr-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;padding:0;margin:-1px}

.mxr-field{margin-bottom:16px}
.mxr-field>label,.mxr-legend{display:block;font-weight:800;font-size:14px;color:#060606;margin-bottom:6px}
.mxr-field small,.mxr-hint{display:block;font-size:12.5px;color:#5f6673;margin-top:5px}
.mxr-input,.mxr-select{width:100%;font:inherit;font-size:16px;color:#060606;background:#fff;border:1px solid #b9c3d3;border-radius:8px;padding:11px 13px;min-height:46px;box-sizing:border-box}
.mxr-input:focus,.mxr-select:focus,.mxr-filter:focus{outline:none;border-color:#2B4876;box-shadow:0 0 0 3px rgba(43,72,118,.2)}
.mxr-input[aria-invalid="true"],.mxr-select[aria-invalid="true"],.mxr-units[aria-invalid="true"]{border-color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.12)}
.mxr-textarea{min-height:84px;resize:vertical;line-height:1.45}
.mxr-select:disabled{background:#f1f3f7;color:#8a909b}
.mxr-code-row{display:flex;gap:8px}
.mxr-code-row .mxr-input{text-transform:uppercase;letter-spacing:.06em;font-family:Consolas,Menlo,monospace;font-weight:700}
.mxr-btn{font:inherit;font-weight:800;font-size:15px;border-radius:8px;border:1px solid transparent;padding:11px 18px;cursor:pointer;min-height:46px;white-space:nowrap}
.mxr-btn:disabled{opacity:.55;cursor:not-allowed}
.mxr-btn-primary{background:#2B4876;color:#fff}
.mxr-btn-primary:hover:not(:disabled){background:#021048}
.mxr-btn-ghost{background:#fff;color:#2B4876;border-color:#c5d0e3}
.mxr-btn-ghost:hover:not(:disabled){background:#e8eef8}
.mxr-btn-send{width:100%;font-size:16px;text-transform:uppercase;letter-spacing:.04em;margin-top:4px}
.mxr-link{background:none;border:0;padding:0;font:inherit;font-size:13px;font-weight:700;color:#2B4876;text-decoration:underline;cursor:pointer}
.mxr-btn:focus-visible,.mxr-link:focus-visible,.mxr-close:focus-visible,.mxr-chip-btn:focus-visible{outline:3px solid #36afd8;outline-offset:2px}

.mxr-who{display:flex;align-items:center;gap:10px;background:#e8eef8;border:1px solid #c9d6ec;color:#021048;border-radius:8px;padding:10px 12px;margin-top:10px;font-size:14px}
.mxr-who strong{font-weight:800}
.mxr-who::before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#17663a;color:#fff;font-size:13px;font-weight:800;flex-shrink:0}
.mxr-remember{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:13px;color:#3d4350;cursor:pointer}
.mxr-remember input{width:17px;height:17px}

.mxr-recover{background:#f6f8fb;border:1px dashed #b9c3d3;border-radius:8px;padding:14px;margin:-4px 0 16px}
.mxr-recover p{margin:0 0 10px;font-size:13.5px;color:#3d4350}

.mxr-details{border:0;margin:0;padding:0;min-width:0}
.mxr-details:disabled{opacity:.55}
.mxr-units-box{border:0;margin:0 0 16px;padding:0;min-width:0}
.mxr-units-tools{display:flex;gap:8px;align-items:center;margin-bottom:8px;flex-wrap:wrap}
.mxr-filter{flex:1;min-width:150px;font:inherit;font-size:15px;border:1px solid #b9c3d3;border-radius:8px;padding:8px 11px;min-height:40px}
.mxr-chip-btn{background:#e8eef8;border:1px solid #c9d6ec;color:#2B4876;border-radius:18px;padding:6px 11px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.mxr-units{border:1px solid #b9c3d3;border-radius:8px;max-height:220px;overflow-y:auto;padding:6px;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:4px}
.mxr-units:empty::before{content:attr(data-empty);grid-column:1/-1;color:#5f6673;font-size:14px;padding:12px;text-align:center}
.mxr-unit{display:flex;align-items:center;gap:7px;padding:7px 8px;border-radius:6px;cursor:pointer;font-size:14px;color:#060606;border:1px solid transparent}
.mxr-unit:hover{background:#f3f6fb}
.mxr-unit input{width:17px;height:17px;flex-shrink:0;accent-color:#2B4876}
.mxr-unit input:focus-visible{outline:3px solid #36afd8;outline-offset:1px}
.mxr-unit.is-checked{background:#e8eef8;border-color:#c9d6ec;font-weight:700}
.mxr-unit[hidden]{display:none}
.mxr-count{font-size:13px;font-weight:800;color:#2B4876;margin-top:6px}

.mxr-error{color:#b42318;font-size:13px;font-weight:700;margin:6px 0 0}
.mxr-error:empty{display:none}
.mxr-alert{border-radius:8px;padding:11px 14px;font-size:14px;font-weight:700;margin-bottom:14px}
.mxr-alert:empty{display:none}
.mxr-alert.is-error{background:#fdecea;color:#7a1810;border:1px solid #f3c3be}
.mxr-alert.is-info{background:#e8eef8;color:#021048;border:1px solid #c9d6ec}
.mxr-alert.is-warn{background:#fff4dc;color:#6b4600;border:1px solid #f2d9a0}

.mxr-success{text-align:center;padding:12px 4px 4px}
.mxr-success .mxr-check{width:64px;height:64px;border-radius:50%;background:#e3f5ea;color:#17663a;font-size:34px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.mxr-success h3{margin:0 0 8px;font-size:21px;color:#060606}
.mxr-success p{margin:0 0 18px;color:#3d4350}
.mxr-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

@media (max-width:520px){
  .mxr-overlay{padding:0}
  .mxr-dialog{border-radius:0;min-height:100vh}
  .balao-flutuante{font-size:14px;padding:12px 16px;right:12px;bottom:12px}
}
@media (prefers-reduced-motion:reduce){.mxr-dialog{animation:none}.balao-flutuante{transition:none}}

/* ===== MxMultiSelect (services) ===== */
.mxms{position:relative;display:flex;align-items:center;gap:8px;min-height:46px;padding:6px 40px 6px 8px;background:#fff;border:1px solid #b9c3d3;border-radius:8px;cursor:pointer;box-sizing:border-box;font-family:inherit}
.mxms:focus,.mxms.is-open{outline:none;border-color:#2B4876;box-shadow:0 0 0 3px rgba(43,72,118,.2)}
.mxms[aria-invalid="true"]{border-color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.12)}
.mxms.is-disabled{background:#f1f3f7;cursor:not-allowed}
.mxms-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
.mxms-placeholder{color:#5f6673;font-size:16px;padding:4px 5px}
.mxms-chip{display:inline-flex;align-items:center;gap:2px;max-width:100%;background:#dfe3e8;color:#1f2430;border-radius:6px;padding:4px 4px 4px 10px;font-size:14px;font-weight:600;line-height:1.3}
.mxms-chip-x{border:0;background:none;color:#4b5260;font-size:18px;line-height:1;padding:0 6px;border-radius:4px;cursor:pointer}
.mxms-chip-x:hover{background:#c7ccd4;color:#060606}
.mxms-caret{position:absolute;right:14px;top:50%;width:9px;height:9px;border-right:2px solid #3d4350;border-bottom:2px solid #3d4350;transform:translateY(-70%) rotate(45deg);transition:transform .15s}
.mxms.is-open .mxms-caret{transform:translateY(-25%) rotate(-135deg)}
.mxms-panel{position:fixed;z-index:10050;display:flex;flex-direction:column;background:#fff;border:1px solid #c5ccd8;border-radius:8px;box-shadow:0 14px 34px rgba(2,16,72,.22);overflow:hidden;font-family:'Nunito Sans',Segoe UI,Arial,sans-serif}
.mxms-panel[hidden]{display:none}
.mxms-search-wrap{padding:8px;border-bottom:1px solid #e3e8f0;flex-shrink:0}
.mxms-search{width:100%;box-sizing:border-box;font:inherit;font-size:16px;padding:9px 12px;border:2px solid #9fb3cf;border-radius:6px;color:#060606}
.mxms-search:focus{outline:none;border-color:#2B4876}
.mxms-list{list-style:none;margin:0;padding:6px;overflow-y:auto;flex:1}
.mxms-opt{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:5px;font-size:16px;color:#1f2430;cursor:pointer;user-select:none}
.mxms-opt.is-active{background:#d5d9df}
.mxms-all{font-weight:700;border-bottom:1px solid #eef1f5;border-radius:5px 5px 0 0;margin-bottom:2px}
.mxms-box{flex-shrink:0;width:20px;height:20px;border:2px solid #7a8291;border-radius:4px;background:#fff;box-sizing:border-box;position:relative}
.mxms-opt[aria-selected="true"] .mxms-box{background:#1d5fb4;border-color:#1d5fb4}
.mxms-opt[aria-selected="true"] .mxms-box::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.mxms-empty{padding:14px;color:#5f6673;text-align:center}
.mxms-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;padding:0;margin:-1px}
@media (prefers-reduced-motion:reduce){.mxms-caret{transition:none}}

/* ===== Sugestões de venda cruzada (MxSuggest) ===== */
.mxsg{margin-top:10px;border:1px solid #f1dfa6;background:#fffcf1;border-radius:10px;padding:12px 14px;font-family:inherit;animation:mxsgIn .18s ease-out}
.mxsg[aria-busy="true"] .mxsg-group{opacity:.55;transition:opacity .15s}
@keyframes mxsgIn{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
.mxsg-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:4px}
.mxsg-icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fdf0c4;color:#7a5800}
.mxsg-title{margin:0;font-size:14px;font-weight:800;color:#021048;line-height:1.3}
.mxsg-sub{margin:1px 0 0;font-size:12.5px;color:#5f6673;line-height:1.35}
.mxsg-note{margin:6px 0 2px;font-size:13px;font-weight:700;color:#1d6b35}
.mxsg-group{padding:10px 0 4px;border-top:1px solid #f3e8c4}
.mxsg-group:first-of-type{border-top:0}
.mxsg-list{list-style:none;margin:0;padding:0}
.mxsg-item{display:grid;grid-template-columns:minmax(0,auto) 1fr;align-items:center;gap:4px 10px;padding:5px 0}
.mxsg-pct{justify-self:start}
.mxsg-meta{grid-column:1/-1;padding-left:4px}
.mxsg-line{margin:0 0 6px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13.5px;color:#3b4250;line-height:1.4}
.mxsg-txt{color:#5f6673}
.mxsg-from{display:inline-block;background:#e6edf7;color:#1e3a66;border-radius:999px;padding:3px 11px;font-weight:700;font-size:13px}
.mxsg-add{justify-self:start;max-width:100%;display:inline-flex;align-items:center;gap:7px;border:1px solid #efd27c;background:#fdf0c4;color:#5c4300;border-radius:999px;padding:6px 14px 6px 6px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;line-height:1.25;text-align:left;transition:background .15s,border-color .15s,transform .1s}
.mxsg-add:hover{background:#fbe29a;border-color:#e2bb48}
.mxsg-add:active{transform:scale(.98)}
.mxsg-add:focus-visible{outline:3px solid #2B4876;outline-offset:2px}
.mxsg-plus{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#7a5800;color:#fff;font-size:16px;font-weight:800;line-height:1}
.mxsg-pct{display:inline-block;background:#e7f4ea;color:#1d6b35;border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:800;white-space:nowrap}
.mxsg-pct::after{content:' also purchased';font-weight:700}
.mxsg-meta{font-size:12.5px;color:#5f6673}
.mxsg-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mxms-chip-new{animation:mxmsNew 1.6s ease-out}
@keyframes mxmsNew{0%{background:#fbe29a;box-shadow:0 0 0 3px #f6d46a}100%{background:#dfe3e8;box-shadow:none}}
@media (prefers-reduced-motion:reduce){.mxsg,.mxms-chip-new{animation:none}}
@media (max-width:560px){.mxsg{padding:10px 11px}.mxsg-add{font-size:13.5px}.mxsg-item{grid-template-columns:auto 1fr;padding:6px 0}.mxsg-add{grid-column:1/-1}.mxsg-meta{grid-column:auto;padding-left:0}}
