/* Zona MGPS (Nov 2026): página das redes e páginas de produto. Gerada com src/modelos/mgps.mjs.
   Desenho aprovado a 3 Nov (catálogo técnico branco, réguas finas, números em mono, azul da marca). */
#uc-mgps{--az:#2962a9;--az2:#1d4a85;--tx:#0a0a0a;--t2:#374151;--t3:#4b5563;--t4:#6b7280;--rg:#dfe3e8;--alt:#f6f8fb;background:#fff;color:var(--tx)}
#uc-mgps,#uc-mgps *{box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
#uc-mgps h1,#uc-mgps h2,#uc-mgps h3,#uc-mgps p{text-transform:none;text-align:start;background:none}
#uc-mgps img{max-width:100%}
#uc-mgps .mg-w{max-width:1280px;margin:0 auto;padding:0 32px}
#uc-mgps .mg-m{font-family:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace!important;font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--t4)}
#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)}
#uc-mgps .mg-btn{display:inline-flex;align-items:center;gap:10px;background:var(--az);color:#fff;text-decoration:none;font-weight:600;font-size:16px;padding:14px 24px;border-radius:999px;white-space:nowrap}
#uc-mgps .mg-btn:hover{background:var(--az2);color:#fff}
#uc-mgps svg{width:12px;height:12px;flex:none}
#uc-mgps a:focus-visible,#uc-mgps button:focus-visible,#uc-mgps summary:focus-visible{outline:2px solid var(--az);outline-offset:3px}

/* Página das redes: topo */
#uc-mgps .mg-top{padding:36px 0 0}
#uc-mgps .mg-top h1{margin:0;font-weight:700}
#uc-mgps .mg-top h1 .mg-m{display:block}
#uc-mgps .mg-big{display:block;margin-top:24px;max-width:1150px;font-size:clamp(44px,8.6vw,128px);letter-spacing:-.055em;line-height:.94;color:var(--tx)}
#uc-mgps .mg-intro{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;margin-top:40px;align-items:end}
#uc-mgps .mg-intro p{margin:0;font-size:20px;line-height:1.55;color:var(--t2);max-width:620px}
#uc-mgps .mg-act{display:flex;gap:22px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
#uc-mgps .mg-wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:56px;border-top:1px solid var(--tx);border-bottom:1px solid var(--rg)}
#uc-mgps .mg-wall-i{display:block;padding:24px 20px 20px;border-right:1px solid var(--rg);text-decoration:none;color:var(--tx)}
#uc-mgps .mg-wall-i:last-child{border-right:0}
#uc-mgps .mg-wall-i img{display:block;width:100%;height:auto;aspect-ratio:16/13;object-fit:contain}
#uc-mgps .mg-wall-i>span{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:12px}
#uc-mgps .mg-wall-i b{font-size:18px;font-weight:700}
#uc-mgps .mg-wall-i:hover b{color:var(--az)}
#uc-mgps .mg-cap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:16px 4px 0}
#uc-mgps .mg-cap p{margin:0;font-size:14px;line-height:1.5;color:var(--t3);max-width:640px}

/* Secções */
#uc-mgps .mg-sec{padding:96px 0;scroll-margin-top:72px}
#uc-mgps .mg-alt{background:var(--alt)}
#uc-mgps .mg-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:32px;align-items:start;padding-top:22px;border-top:1px solid var(--tx)}
#uc-mgps .mg-head>.mg-m{padding-top:12px}
#uc-mgps .mg-head h2,#uc-mgps .mg-band h2,#uc-mgps .mg-end h2{margin:0;font-size:clamp(34px,5vw,64px);font-weight:700;letter-spacing:-.04em;line-height:1.02;color:var(--tx)}
#uc-mgps .mg-head-sub{margin:16px 0 0;font-size:19px;line-height:1.55;color:var(--t3);max-width:640px}
#uc-mgps .mg-anc{display:block;position:relative;top:-90px;height:0}

/* As sete paragens */
#uc-mgps .mg-sys{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);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{color:var(--az)}
#uc-mgps .mg-stop.on,#uc-mgps .mg-stop.on .mg-m:first-child{color:var(--az)}
#uc-mgps .mg-stop.on b{font-weight:700;color:var(--az)}
#uc-mgps .mg-pan{display:none}
#uc-mgps .mg-pan.on{display:block}
#uc-mgps .mg-pics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#uc-mgps .mg-pics a{display:block;text-decoration:none;background:#fff;border:1px solid var(--rg);border-radius:6px;padding:12px}
#uc-mgps .mg-pics img{display:block;width:100%;height:auto;aspect-ratio:16/13;object-fit:contain}
#uc-mgps .mg-pics span{display:block;margin-top:8px;font-size:13px;line-height:1.35;color:var(--t3)}
#uc-mgps .mg-pics a:hover span{color:var(--az)}
#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:44px;align-items:end}
#uc-mgps .mg-ctl label{display:block;margin:0;font-weight:400}
#uc-mgps .mg-q{display:block;width:100%;margin:6px 0 0;height:auto;font-size:17px;color:var(--tx);background:transparent;border:0;border-bottom:1.5px solid var(--tx);border-radius:0;padding:10px 2px}
#uc-mgps .mg-q::placeholder{color:var(--t4)}
#uc-mgps .mg-q:focus{outline:2px solid var(--az);outline-offset:2px}
#uc-mgps .mg-n{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:8px;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;border-top:1px solid #eef1f4}
#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:#fff;border:1.5px solid var(--tx);border-radius:999px;padding:12px 24px;cursor:pointer;font-size:15px;font-weight:600;color:var(--tx)}
#uc-mgps .mg-all:hover{border-color:var(--az);color:var(--az)}
#uc-mgps .mg-none{margin:24px 0 0;font-size:16px;color:var(--t3)}
#uc-mgps .mg-none a{color:var(--az)}

/* Normas, centrais, biblioteca, perguntas */
#uc-mgps .mg-list{margin-top:40px;border-bottom:1px solid var(--rg)}
#uc-mgps .mg-srow{display:grid;grid-template-columns:minmax(0,1.2fr) 170px minmax(0,2fr);gap:28px;align-items:baseline;padding:24px 4px;border-top:1px solid var(--rg)}
#uc-mgps .mg-srow b{font-size:28px;font-weight:700;letter-spacing:-.03em}
#uc-mgps .mg-srow p{margin:0;font-size:16px;line-height:1.55;color:var(--t2)}
#uc-mgps .mg-foot{margin:14px 0 0;font-size:13px;color:var(--t4)}
#uc-mgps .mg-plants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:44px}
#uc-mgps .mg-plant{display:block;text-decoration:none;color:var(--tx)}
#uc-mgps .mg-plant-img{display:block;background:#fff;border-radius:8px;padding:20px}
#uc-mgps .mg-plant img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
#uc-mgps .mg-plant>span:last-child{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--tx)}
#uc-mgps .mg-plant b{font-size:22px;font-weight:700}
#uc-mgps .mg-plant:hover b{color:var(--az)}
#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:20px;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-faq{margin-top:36px;border-bottom:1px solid var(--rg)}
#uc-mgps .mg-faq details{border-top:1px solid var(--rg)}
#uc-mgps .mg-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 4px;list-style:none;cursor:pointer;font-size:20px;font-weight:600;color:var(--tx)}
#uc-mgps .mg-faq summary::-webkit-details-marker{display:none}
#uc-mgps .mg-faq summary span{font-size:26px;font-weight:400;color:var(--az);transition:transform .2s}
#uc-mgps .mg-faq details[open] summary span{transform:rotate(45deg)}
#uc-mgps .mg-faq p{margin:0;padding:0 4px 24px;font-size:17px;line-height:1.6;color:var(--t3);max-width:820px}
#uc-mgps .mg-band{background:var(--az);color:#fff}
#uc-mgps .mg-band .mg-w{padding-top:72px;padding-bottom:72px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;align-items:end}
#uc-mgps .mg-band .mg-m{color:#d6e2f3}
#uc-mgps .mg-band h2{margin-top:16px;color:#fff}
#uc-mgps .mg-band p{margin:0;font-size:19px;line-height:1.55;color:#e6eef9}
#uc-mgps .mg-band a{display:block;width:max-content;margin-top:16px;color:#fff;font-weight:600;text-decoration:none;border-bottom:1.5px solid #fff;padding-bottom:3px}
#uc-mgps .mg-end{padding:96px 0;scroll-margin-top:72px}
#uc-mgps .mg-end h2{max-width:1100px;font-size:clamp(40px,6.6vw,96px);letter-spacing:-.05em;line-height:.96}
#uc-mgps .mg-end-r{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:24px;margin-top:32px}
#uc-mgps .mg-end p{margin:0;font-size:19px;line-height:1.55;color:var(--t3);max-width:620px}

/* Página de produto */
#uc-mgps .mg-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border-bottom:1px solid var(--rg)}
#uc-mgps .mg-hero-l{background:var(--az);color:#fff;padding-block:24px 56px;padding-inline:max(32px,calc((100vw - 1280px)/2 + 32px)) 48px;display:flex;flex-direction:column;min-height:clamp(420px,40vw,600px)}
#uc-mgps .mg-crumb{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:13px;line-height:1.4;color:#d6e2f3;margin:0 0 48px}
#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-sub{margin:auto 0 0;color:#d6e2f3}
#uc-mgps .mg-h1{margin:12px 0 0;font-size:clamp(36px,4.4vw,68px);font-weight:700;letter-spacing:-.035em;line-height:1.03;color:#fff;overflow-wrap:anywhere}
#uc-mgps .mg-lead{margin:20px 0 0;max-width:580px;font-size:17px;line-height:1.55;color:#e6eef9}
#uc-mgps .mg-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
#uc-mgps .mg-btn-w,#uc-mgps .mg-btn-o{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:16px;text-decoration:none;border-radius:999px;white-space:nowrap}
#uc-mgps .mg-btn-w{background:#fff;color:#1f3f75;padding:14px 24px}
#uc-mgps .mg-btn-w:hover{background:#eef3fa;color:#1f3f75}
#uc-mgps .mg-btn-o{color:#fff;border:1.5px solid rgba(255,255,255,.75);padding:12.5px 22px}
#uc-mgps .mg-btn-o:hover{background:rgba(255,255,255,.12);color:#fff}
#uc-mgps .mg-hero-r{display:flex;align-items:center;justify-content:center;padding:48px;background:#fff}
#uc-mgps .mg-hero-img{display:block;width:100%;max-width:620px;height:auto;aspect-ratio:16/13;object-fit:contain}
#uc-mgps .mg-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 40px;margin-top:40px}
#uc-mgps .mg-col{border-top:1px solid var(--tx);padding-top:14px}
#uc-mgps .mg-col h3,#uc-mgps .mg-vers h3,#uc-mgps .mg-docs h3{margin:0 0 12px;font-size:18px;font-weight:700;line-height:1.25;color:var(--tx);display:flex;gap:10px;align-items:baseline}
#uc-mgps .mg-col ul{margin:0;padding-inline-start:18px}
#uc-mgps .mg-col li{margin:0 0 6px;font-size:15px;line-height:1.5;color:var(--t2)}
#uc-mgps .mg-vers,#uc-mgps .mg-docs{margin-top:48px;border-top:1px solid var(--tx);padding-top:14px}
#uc-mgps .mg-t{overflow-x:auto;-webkit-overflow-scrolling:touch}
#uc-mgps .mg-t table{width:100%;min-width:420px;border-collapse:collapse;margin:6px 0 0;background:none}
#uc-mgps .mg-t th{padding-block:10px;padding-inline:0 18px;border:0;border-bottom:1px solid var(--tx);background:none;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:start;color:var(--t3);white-space:nowrap}
#uc-mgps .mg-t td{padding-block:10px;padding-inline:0 18px;border:0;border-bottom:1px solid #e6e8ec;background:none;font-family:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.45;text-align:start;color:var(--tx)}
#uc-mgps .mg-note{margin:16px 0 0;max-width:760px;font-size:14px;line-height:1.5;color:var(--t3)}
#uc-mgps .mg-docs p{margin:0;font-size:15px;color:var(--t3)}
#uc-mgps .mg-pdfs{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
#uc-mgps .mg-pdf{display:inline-flex;align-items:baseline;gap:8px;padding:10px 16px;border:1px solid var(--rg);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)}
#uc-mgps .mg-more{margin:28px 0 0}

@media (max-width:1100px){
#uc-mgps .mg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:860px){
#uc-mgps .mg-w{padding:0 16px}
#uc-mgps .mg-intro,#uc-mgps .mg-ctl,#uc-mgps .mg-band .mg-w{grid-template-columns:minmax(0,1fr)}
#uc-mgps .mg-act{justify-content:flex-start}
#uc-mgps .mg-wall{grid-template-columns:repeat(2,minmax(0,1fr))}
#uc-mgps .mg-wall-i{padding:16px 12px 14px}
#uc-mgps .mg-wall-i:nth-child(2){border-right:0}
#uc-mgps .mg-wall-i:nth-child(-n+2){border-bottom:1px solid var(--rg)}
#uc-mgps .mg-wall-i>span{display:block}
#uc-mgps .mg-wall-i b{display:block}
#uc-mgps .mg-sec{padding:64px 0}
#uc-mgps .mg-head,#uc-mgps .mg-srow,#uc-mgps .mg-qrow,#uc-mgps .mg-sys{grid-template-columns:minmax(0,1fr);gap:12px}
#uc-mgps .mg-sys{gap:32px}
#uc-mgps .mg-qrow .mg-m{text-align:start}
#uc-mgps .mg-n{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{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#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);gap:28px}
#uc-mgps .mg-hero{grid-template-columns:minmax(0,1fr)}
#uc-mgps .mg-hero-l{padding:18px 16px 40px;min-height:0;order:1}
#uc-mgps .mg-hero-r{padding:24px 16px;order:0}
#uc-mgps .mg-hero-img{max-width:420px}
#uc-mgps .mg-crumb{margin-bottom:28px}
#uc-mgps .mg-sub{margin-top:0}
#uc-mgps .mg-h1{font-size:clamp(32px,9vw,44px)}
#uc-mgps .mg-cols{grid-template-columns:minmax(0,1fr);gap:28px}
#uc-mgps .mg-end{padding:64px 0}
}

/* Árabe: as setas apontam para o outro lado */
[dir=rtl] #uc-mgps svg{transform:scaleX(-1)}
