/* Zona MGPS (Nov 2026): página das redes e páginas de produto. Gerada com src/modelos/accessories/mgps.mjs.
   Mesmo desenho das páginas de produto (pv2, ex. /products/ultraox-8): barra fixa, herói azul com o nome
   em grande, faixa de números, secções brancas e cinzentas, painéis azuis, formulário de orçamento azul. */
#uc-mgps{--az:#2962a9;--az2:#1d4a85;--az3:#26468a;--tx:#0a0a0a;--t2:#374151;--t3:#4b5563;--t4:#6b7280;--rg:#e6e8ec;--alt:#f6f8fb;background:#fff;color:var(--tx)}
#uc-mgps,#uc-mgps *{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
#uc-mgps .mg-m,#uc-mgps .mg-m *,#uc-mgps .mg-figs .b,#uc-mgps .mg-t td,#uc-mgps .mg-t th{font-family:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace!important}
#uc-mgps h1,#uc-mgps h2,#uc-mgps h3,#uc-mgps p,#uc-mgps dd,#uc-mgps dt{text-transform:none;text-align:start;background:none}
#uc-mgps img{max-width:100%}
#uc-mgps .mg-w{max-width:1248px;margin:0 auto;padding:0 24px}
#uc-mgps .mg-m{font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--t4)}
#uc-mgps section,#uc-mgps .mg-anc{scroll-margin-top:72px}
#uc-mgps a:focus-visible,#uc-mgps button:focus-visible,#uc-mgps summary:focus-visible{outline:2px solid var(--az);outline-offset:3px}
#uc-mgps .mg-l{display:inline-block;color:var(--tx);font-weight:600;font-size:16px;text-decoration:none;border-bottom:1.5px solid currentColor;padding-bottom:3px}
#uc-mgps .mg-l:hover{color:var(--az)}

/* Barra fixa */
#uc-mgps .mg-bar{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.97);border-bottom:1px solid var(--rg)}
#uc-mgps .mg-bar .mg-w{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px}
#uc-mgps .mg-bar-n{display:flex;align-items:baseline;gap:12px;min-width:0}
#uc-mgps .mg-bar-n .n{font-weight:700;font-size:18px;letter-spacing:-.01em;color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#uc-mgps .mg-bar-n .s{font-size:13px;color:var(--t4);white-space:nowrap}
#uc-mgps .mg-bar nav{display:flex;align-items:center;gap:22px;flex:0 0 auto}
#uc-mgps .mg-bar nav a{color:var(--t2);text-decoration:none;font-size:13px;font-weight:500;padding:8px 2px}
#uc-mgps .mg-bar nav a:hover{color:var(--az)}
#uc-mgps .mg-bar nav a.mg-q-b{background:var(--az);color:#fff;font-weight:600;padding:9px 16px;border-radius:999px;white-space:nowrap}
#uc-mgps .mg-bar nav a.mg-q-b:hover{background:var(--az2);color:#fff}

/* Herói azul */
#uc-mgps .mg-hero{background:var(--az);color:#fff;padding:14px 0 28px}
#uc-mgps .mg-hero-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);grid-template-rows:auto auto 1fr;column-gap:40px;align-items:end}
#uc-mgps .mg-crumb{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;font-size:13px;line-height:1.4;color:#e6eef9}
#uc-mgps .mg-crumb a{color:#e6eef9;text-decoration:none}
#uc-mgps .mg-crumb a:hover{color:#fff;text-decoration:underline}
#uc-mgps .mg-crumb span{opacity:.55}
#uc-mgps .mg-h1{grid-column:1/-1;margin:18px 0 0;font-weight:700;font-size:var(--mg-h1,clamp(36px,6.4vw,88px));white-space:var(--mg-ws,normal);letter-spacing:-.04em;line-height:1;color:#fff;overflow-wrap:anywhere}
#uc-mgps .mg-hero-t{grid-column:1;padding:28px 0 6px}
#uc-mgps .mg-sub{margin:0;font-size:clamp(24px,2.5vw,34px);font-weight:700;letter-spacing:-.025em;line-height:1.1;color:#fff}
#uc-mgps .mg-lead{margin:14px 0 0;max-width:480px;font-size:17px;line-height:1.5;color:#e6eef9}
#uc-mgps .mg-cta{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 0}
#uc-mgps .mg-cta a{font-weight:600;font-size:16px;text-decoration:none;padding:14px 24px;border-radius:999px;white-space:nowrap}
#uc-mgps .mg-cta a.a{background:#fff;color:var(--az3)}
#uc-mgps .mg-cta a.a:hover{background:#f0f4fa}
#uc-mgps .mg-cta a.b{color:#fff;border:1.5px solid rgba(255,255,255,.75);padding:12.5px 22px}
#uc-mgps .mg-cta a.b:hover{background:rgba(255,255,255,.12)}
#uc-mgps .mg-hero-f{grid-column:2;grid-row:3;align-self:end;justify-self:center;padding-top:22px}
#uc-mgps .mg-hero-f img{display:block;width:auto;height:auto;max-width:100%;max-height:clamp(240px,28vw,400px);object-fit:contain;object-position:center bottom}
#uc-mgps .mg-hero-f .mg-ph-c{display:block;background:#fff;border-radius:18px;padding:18px}
#uc-mgps .mg-hero-f .mg-ph-c img{max-height:clamp(220px,24vw,340px)}
/* Na página das redes, à direita: as quatro tomadas */
#uc-mgps .mg-wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;justify-self:stretch}
#uc-mgps .mg-wall-i{display:flex;flex-direction:column;text-decoration:none;color:#fff}
#uc-mgps .mg-wall-i img{display:block;width:100%;height:auto;aspect-ratio:16/13;object-fit:contain}
#uc-mgps .mg-wall-i .tn{margin-top:10px;font-size:17px;font-weight:700;color:#fff}
#uc-mgps .mg-wall-i .mg-m{margin-top:2px;color:#d6e2f3}
#uc-mgps .mg-wall-i:hover .tn{text-decoration:underline}

/* Faixa de números */
#uc-mgps .mg-figs{position:relative;background:var(--az);color:#fff;padding:26px 0 48px;margin-top:-1px}
#uc-mgps .mg-figs .mg-w{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
#uc-mgps .mg-figs .b{display:block;white-space:nowrap;font-weight:500;font-size:clamp(26px,2.8vw,38px);letter-spacing:-.03em;line-height:1.1;color:#fff}
#uc-mgps .mg-figs .s{display:block;margin-top:6px;font-size:15px;line-height:1.4;color:#f5f7fa}

/* Secções */
#uc-mgps .mg-s{padding:96px 0}
#uc-mgps .mg-g{background:var(--alt)}
#uc-mgps .mg-h{margin:0;font-size:clamp(36px,4.6vw,60px);font-weight:700;letter-spacing:-.03em;line-height:1.04;color:var(--tx)}
#uc-mgps .mg-lead2{margin:18px 0 0;max-width:680px;font-size:clamp(17px,1.5vw,20px);line-height:1.5;color:var(--t3)}
#uc-mgps .mg-h3{margin:64px 0 0;font-size:clamp(26px,2.8vw,36px);font-weight:700;letter-spacing:-.025em;line-height:1.15;color:var(--tx)}
#uc-mgps .mg-gh{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}
#uc-mgps .mg-gh p{margin:0;font-size:15px;color:var(--t4);max-width:520px}
#uc-mgps .mg-adv{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px;margin-top:56px}
#uc-mgps .mg-adv>div{padding:20px 0 0;border-top:1px solid var(--tx)}
#uc-mgps .mg-adv h3{margin:0;font-size:22px;font-weight:700;letter-spacing:-.02em;line-height:1.2;color:var(--tx)}
#uc-mgps .mg-sp{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));column-gap:56px;margin:36px 0 0;border-bottom:1px solid var(--rg)}
#uc-mgps .mg-sp>div{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:16px;padding:14px 0;border-top:1px solid var(--rg);font-size:15px;line-height:1.45}
#uc-mgps .mg-sp dt{font-weight:400;color:var(--t3);margin:0}
#uc-mgps .mg-sp dd{margin:0;color:var(--tx)}
#uc-mgps .mg-sp ul{margin:0;padding-inline-start:18px}
#uc-mgps .mg-sp li{margin:0 0 4px}
#uc-mgps .mg-sp-n{grid-template-columns:minmax(0,1fr)}
#uc-mgps .mg-sp-n>div{grid-template-columns:minmax(0,1fr) minmax(0,2fr);padding:20px 0}
#uc-mgps .mg-sp-n dt .tn{display:block;font-size:24px;font-weight:700;letter-spacing:-.02em;color:var(--tx)}
#uc-mgps .mg-sp-n dd{font-size:16px;line-height:1.55;color:var(--t2)}
#uc-mgps .mg-t{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:28px;max-width:100%}
#uc-mgps .mg-t table{width:100%;border-collapse:collapse;min-width:520px;font-size:15px;background:none}
#uc-mgps .mg-t th,#uc-mgps .mg-t td{padding:12px 10px;text-align:start;border:0;border-bottom:1px solid var(--rg);font-weight:400;color:var(--tx);background:none}
#uc-mgps .mg-t thead th{font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;vertical-align:bottom;border-bottom:1px solid var(--tx);padding:10px}
#uc-mgps .mg-n{margin:22px 0 0;font-size:13px;line-height:1.5;color:var(--t4);max-width:900px}
#uc-mgps .mg-pdfs{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
#uc-mgps .mg-pdf{display:inline-flex;align-items:baseline;gap:8px;padding:12px 18px;background:#fff;border:1px solid #cfd5de;border-radius:999px;color:var(--tx);font-weight:600;font-size:15px;text-decoration:none}
#uc-mgps .mg-pdf:hover{border-color:var(--az);color:var(--az)}

/* Painéis azuis com fotografias (como a galeria das páginas de produto) */
#uc-mgps .mg-blue{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:32px;padding:24px;border-radius:18px;background:var(--az)}
#uc-mgps .mg-tile{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:12px;text-decoration:none;color:#fff;transition:background .15s}
#uc-mgps .mg-tile:hover{background:rgba(255,255,255,.1)}
#uc-mgps .mg-tile img{display:block;width:100%;height:auto;aspect-ratio:16/13;object-fit:contain}
#uc-mgps .mg-tile .tn{margin-top:10px;font-size:15px;font-weight:600;line-height:1.3;color:#fff}
#uc-mgps .mg-tile .ts{font-size:13px;line-height:1.35;color:#d6e2f3}
#uc-mgps .mg-ph{display:block}
#uc-mgps .mg-ph-c{background:#fff;border-radius:12px;padding:8px}

/* As sete paragens */
#uc-mgps .mg-sys{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:56px;margin-top:48px;align-items:start}
#uc-mgps .mg-stops{border-bottom:1px solid var(--rg)}
#uc-mgps .mg-stop{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:baseline;width:100%;text-align:start;background:transparent;border:0;border-top:1px solid var(--rg);padding:16px 4px;cursor:pointer;color:var(--tx)}
#uc-mgps .mg-stop b{font-size:24px;font-weight:500;letter-spacing:-.02em}
#uc-mgps .mg-stop:hover b,#uc-mgps .mg-stop.on b,#uc-mgps .mg-stop.on .mg-m:first-child{color:var(--az)}
#uc-mgps .mg-stop.on b{font-weight:700}
#uc-mgps .mg-pan{display:none}
#uc-mgps .mg-pan.on{display:block}
#uc-mgps .mg-pics{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}
#uc-mgps .mg-pan h3{margin:28px 0 0;font-size:clamp(26px,2.6vw,36px);font-weight:700;letter-spacing:-.03em;line-height:1.1;color:var(--tx)}
#uc-mgps .mg-pan p{margin:14px 0 22px;font-size:18px;line-height:1.55;color:var(--t3)}

/* Catálogo com fotografias */
#uc-mgps .mg-ctl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;margin-top:40px;align-items:end}
#uc-mgps .mg-ctl label{display:block;margin:0;font-weight:400}
#uc-mgps .mg-q-in{display:block;width:100%;margin:6px 0 0;height:auto;font-size:17px;color:var(--tx);background:#fff;border:1px solid #cfd5de;border-radius:10px;padding:12px 14px}
#uc-mgps .mg-q-in::placeholder{color:var(--t4)}
#uc-mgps .mg-q-in:focus{outline:2px solid var(--az);outline-offset:1px;border-color:var(--az)}
#uc-mgps .mg-n.mg-m{margin:0;text-align:end}
#uc-mgps .mg-tabs{display:flex;flex-wrap:wrap;gap:6px 26px;margin-top:22px;border-bottom:1px solid var(--rg)}
#uc-mgps .mg-tab{background:transparent;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:8px 0;min-height:40px;cursor:pointer;font-size:15px;font-weight:600;color:var(--t3)}
#uc-mgps .mg-tab:hover{color:var(--tx)}
#uc-mgps .mg-tab.on{color:var(--tx);border-bottom-color:var(--az)}
#uc-mgps .mg-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px}
#uc-mgps .mg-card{display:flex;flex-direction:column;text-decoration:none;color:var(--tx);background:#fff;border:1px solid var(--rg);border-radius:14px;overflow:hidden;transition:border-color .15s,box-shadow .15s}
#uc-mgps .mg-card:hover{border-color:#b9c4d3;box-shadow:0 6px 20px rgba(16,24,40,.07)}
#uc-mgps .mg-card[hidden]{display:none}
#uc-mgps .mg-card-img{display:block;padding:18px 18px 6px}
#uc-mgps .mg-card-img img{display:block;width:100%;height:auto;aspect-ratio:16/13;object-fit:contain}
#uc-mgps .mg-card-t{display:flex;flex-direction:column;gap:4px;padding:10px 16px 16px}
#uc-mgps .mg-card-t b{font-size:15px;font-weight:600;line-height:1.35;color:var(--tx)}
#uc-mgps .mg-card:hover .mg-card-t b{color:var(--az)}
#uc-mgps .mg-card-t span{font-size:13px;line-height:1.35;color:var(--t4)}
#uc-mgps .mg-all{display:block;margin:28px auto 0;background:var(--az);border:0;border-radius:999px;padding:14px 24px;cursor:pointer;font-size:16px;font-weight:600;color:#fff}
#uc-mgps .mg-all:hover{background:var(--az2)}
#uc-mgps .mg-none{margin:24px 0 0;font-size:16px;color:var(--t3)}
#uc-mgps .mg-none a{color:var(--az)}

/* Centrais, biblioteca, perguntas */
#uc-mgps .mg-plants{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#uc-mgps .mg-plant{display:block;text-decoration:none;color:#fff}
#uc-mgps .mg-plant-img{display:block;background:#fff;border-radius:12px;padding:20px}
#uc-mgps .mg-plant img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
#uc-mgps .mg-plant-t{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:14px}
#uc-mgps .mg-plant .tn{font-size:20px;font-weight:700;color:#fff}
#uc-mgps .mg-plant .mg-m{color:#d6e2f3}
#uc-mgps .mg-plant:hover .tn{text-decoration:underline}
#uc-mgps .mg-list{margin-top:40px;border-bottom:1px solid var(--rg)}
#uc-mgps .mg-qrow{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,2fr) 60px;gap:28px;align-items:baseline;padding:22px 4px;border-top:1px solid var(--rg);text-decoration:none;color:var(--tx)}
#uc-mgps .mg-qrow:hover{background:var(--alt)}
#uc-mgps .mg-qrow b{font-size:19px;font-weight:700;letter-spacing:-.01em}
#uc-mgps .mg-qrow span{font-size:16px;line-height:1.55;color:var(--t3)}
#uc-mgps .mg-qrow .mg-m{color:var(--az);text-align:end}
#uc-mgps .mg-fq{display:flex;flex-wrap:wrap;gap:48px}
#uc-mgps .mg-fq>div:first-child{flex:1 1 300px;min-width:0}
#uc-mgps .mg-fq>div:last-child{flex:1.7 1 520px;min-width:0;border-bottom:1px solid var(--rg)}
#uc-mgps .mg-fq details{border-top:1px solid var(--rg)}
#uc-mgps .mg-fq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;font-size:18px;font-weight:600;color:var(--tx)}
#uc-mgps .mg-fq summary::-webkit-details-marker{display:none}
#uc-mgps .mg-fq summary::after{content:"+";font-size:24px;font-weight:400;color:var(--az);transition:transform .2s;flex:0 0 auto}
#uc-mgps .mg-fq details[open] summary::after{transform:rotate(45deg)}
#uc-mgps .mg-fq p{margin:0;padding:0 0 22px;font-size:16px;line-height:1.6;color:var(--t3)}

/* Formulário de orçamento (igual ao das páginas de produto) */
#uc-mgps .mg-q{background:var(--az);color:#fff;padding:88px 0}
#uc-mgps .mg-q .mg-w{display:flex;flex-wrap:wrap;gap:48px}
#uc-mgps .mg-q .l{flex:1 1 300px;min-width:0}
#uc-mgps .mg-q h2{margin:0;font-size:clamp(36px,4.6vw,60px);font-weight:700;letter-spacing:-.03em;line-height:1.04;color:#fff}
#uc-mgps .mg-q .l p{margin:16px 0 0;font-size:18px;line-height:1.55;color:#e6eef9}
#uc-mgps .mg-q .l p.s{margin-top:26px;font-size:15px}
#uc-mgps .mg-q .l a{color:#fff;font-weight:600}
#uc-mgps .mg-q form{flex:1.4 1 420px;min-width:0;background:#fff;border-radius:18px;padding:28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;color:var(--tx);margin:0}
#uc-mgps .mg-q label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--t2);margin:0}
#uc-mgps .mg-q label.w,#uc-mgps .mg-q form button,#uc-mgps .mg-q form p{grid-column:1/-1}
#uc-mgps .mg-q input,#uc-mgps .mg-q textarea{font:inherit;font-weight:400;font-size:15px;color:var(--tx);padding:12px 14px;border:1px solid #cfd5de;border-radius:10px;background:#fff;height:auto;margin:0;width:100%}
#uc-mgps .mg-q input:focus,#uc-mgps .mg-q textarea:focus{outline:2px solid var(--az);outline-offset:1px;border-color:var(--az)}
#uc-mgps .mg-q form button{border:0;cursor:pointer;font:inherit;font-size:16px;font-weight:600;padding:15px 24px;min-height:48px;border-radius:999px;background:var(--az);color:#fff}
#uc-mgps .mg-q form button:hover{background:var(--az2)}
#uc-mgps .mg-q form p{margin:0;font-size:13px;line-height:1.5;color:var(--t4)}

@media (max-width:1100px){
#uc-mgps .mg-grid,#uc-mgps .mg-blue{grid-template-columns:repeat(3,minmax(0,1fr))}
#uc-mgps .mg-pics{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:860px){
#uc-mgps .mg-w{padding:0 16px}
#uc-mgps .mg-bar nav a:not(.mg-q-b){display:none}
#uc-mgps .mg-bar-n .s{display:none}
#uc-mgps .mg-hero-g{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
#uc-mgps .mg-hero-t{grid-column:1;padding-top:20px}
#uc-mgps .mg-hero-f{grid-column:1;grid-row:auto;justify-self:start;padding:24px 0 8px}
#uc-mgps .mg-hero-f img{max-height:280px}
#uc-mgps .mg-wall{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#uc-mgps .mg-wall-i .tn{font-size:14px}
#uc-mgps .mg-wall-i .mg-m{font-size:10px}
#uc-mgps .mg-figs .mg-w{grid-template-columns:minmax(0,1fr);gap:18px}
#uc-mgps .mg-s{padding:64px 0}
#uc-mgps .mg-sys{grid-template-columns:minmax(0,1fr);gap:32px}
#uc-mgps .mg-ctl{grid-template-columns:minmax(0,1fr);gap:12px}
#uc-mgps .mg-n.mg-m{text-align:start}
#uc-mgps .mg-tabs{flex-wrap:nowrap;overflow-x:auto;gap:22px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
#uc-mgps .mg-tab{white-space:nowrap}
#uc-mgps .mg-grid,#uc-mgps .mg-blue,#uc-mgps .mg-pics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#uc-mgps .mg-blue{padding:12px}
#uc-mgps .mg-tile{padding:8px}
#uc-mgps .mg-tile .tn{font-size:14px}
#uc-mgps .mg-card-img{padding:12px 12px 4px}
#uc-mgps .mg-card-t{padding:8px 12px 12px}
#uc-mgps .mg-card-t b{font-size:14px}
#uc-mgps .mg-plants{grid-template-columns:minmax(0,1fr)}
#uc-mgps .mg-sp>div,#uc-mgps .mg-sp-n>div,#uc-mgps .mg-qrow{grid-template-columns:minmax(0,1fr);gap:6px}
#uc-mgps .mg-qrow .mg-m{text-align:start}
#uc-mgps .mg-q{padding:64px 0}
#uc-mgps .mg-q form{padding:20px}
}
/* Árabe: o cartão dos números e as setas do lado certo */
[dir=rtl] #uc-mgps .mg-figs .b{direction:ltr;unicode-bidi:isolate}
