/* EMI Portões - scoped, no changes to shared header */
.emi-gate{--eg-bg:#eff6fd;--eg-paper:#fff;--eg-ink:#153250;--eg-muted:#5d7790;--eg-line:#d6e4f1;--eg-blue:#086fec;background:var(--eg-bg);color:var(--eg-ink);padding:0 22px 70px}
.emi-gate *{box-sizing:border-box}.emi-gate a{text-decoration:none}.emi-gate button{font:inherit;cursor:pointer}
.emi-gate a:focus-visible,.emi-gate button:focus-visible,.emi-gate input:focus-visible{outline:3px solid #6ac2fd;outline-offset:3px}
.eg-wrap{max-width:1320px;margin:auto}
.eg-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:30px;align-items:center;padding:55px 0 70px}
.eg-back{display:inline-block;font-size:12px;color:var(--eg-blue);font-weight:800;margin:0 0 30px}
.eg-eyebrow{font-size:11px!important;font-weight:850;letter-spacing:.15em;color:var(--eg-blue)!important;margin:0 0 15px!important}
.eg-hero .eg-eyebrow{display:flex;align-items:center;gap:9px}
.eg-indicator{width:8px;height:8px;background:#31c7ac;border-radius:50%;box-shadow:0 0 0 5px #31c7ac26}
.eg-hero-copy h1{font-size:clamp(42px,4.9vw,70px);letter-spacing:-.06em;line-height:1.05;color:var(--eg-ink);margin:0 0 22px}
.eg-hero-copy h1 em{font-style:normal;color:var(--eg-blue)}
.eg-hero-copy>p:not(.eg-eyebrow){font-size:16px;line-height:1.7;color:var(--eg-muted);max-width:540px;margin:0}
.eg-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.eg-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:49px;border-radius:12px;font-size:13px;font-weight:850;padding:12px 18px;border:1px solid transparent;white-space:nowrap}
.eg-button.eg-primary{color:#fff;background:linear-gradient(110deg,#0a9cfa,#0862e7);box-shadow:0 9px 24px #0974f82d}
.eg-button.eg-secondary{border-color:#a2c7e9;background:var(--eg-paper);color:var(--eg-blue)}
.eg-button.eg-on-dark{border-color:#96c9f87a;color:#e8f7ff}
.eg-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}
.eg-tags span{font-size:11px;font-weight:700;border:1px solid var(--eg-line);color:var(--eg-muted);background:var(--eg-paper);border-radius:25px;padding:8px 11px}
.eg-hero-photo{position:relative;height:400px;overflow:hidden;border-radius:23px;background:#102a49;box-shadow:0 22px 48px #14355c34}
.eg-hero-photo>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.eg-photo-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#0b254744,transparent 40%,#03172ecb)}
.eg-photo-chip{position:absolute;top:18px;left:18px;background:#0a2b4abf;color:#e6f4ff;padding:9px 12px;border:1px solid #bddaf958;border-radius:23px;font-size:10px;letter-spacing:.08em;font-weight:850}
.eg-photo-bottom{position:absolute;left:25px;right:25px;bottom:21px;display:flex;justify-content:space-between;gap:12px;align-items:end;color:#fff}
.eg-photo-bottom strong{font-size:27px;letter-spacing:-.035em}.eg-photo-bottom small{font-size:11px;color:#c7e1f7}
.eg-experience{scroll-margin-top:100px}.eg-section-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:22px}
.eg-section-heading h2{color:var(--eg-ink);font-size:clamp(28px,3.3vw,43px);letter-spacing:-.047em;line-height:1.12;margin:0}
.eg-section-heading>p{font-size:13px;line-height:1.65;color:var(--eg-muted);max-width:365px;margin:0}
.eg-panel{border:1px solid #345576;border-radius:21px;overflow:hidden;background:#0a2138;color:#e9f5ff;box-shadow:0 20px 45px #113d6835}
.eg-panel-top{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 20px;background:linear-gradient(115deg,#0d2d50,#113d68);border-bottom:1px solid #355a7a}
.eg-panel-brand{display:flex;gap:11px;align-items:center}
.eg-panel-brand>span{height:42px;width:42px;display:grid;place-items:center;background:#205b96;color:#e3faff;border-radius:12px;font-size:26px}
.eg-panel-brand>div{display:grid;gap:3px}.eg-panel-brand strong{font-size:18px;color:#fff}.eg-panel-brand small{color:#aacde8;font-size:10px}
.eg-demo-label{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:850;letter-spacing:.06em;color:#a9efda;background:#153e4a;border:1px solid #3b847a;padding:8px 11px;border-radius:25px}
.eg-demo-label>i{height:7px;width:7px;border-radius:50%;background:#43d7aa}
.eg-panel-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);align-items:stretch}
.eg-scenery-area{min-width:0;background:#0a2138;border-right:1px solid #345877;display:flex;flex-direction:column}
.eg-scene-top{padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid #345877;color:#d3e8fa;font-size:10px;font-weight:850;letter-spacing:.06em}
.eg-scene-live{display:flex;gap:7px;align-items:center;color:#94d5f5;font-size:9px}
.eg-scene-live i{width:7px;height:7px;background:#44bcd2;border-radius:50%}
.eg-scene{min-width:0;min-height:493px;position:relative;overflow:hidden;background:linear-gradient(180deg,#23415d,#172e44 75%,#092035)}
.eg-sky{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 40%,#3659778c,transparent 65%),linear-gradient(170deg,#244968,#0e2946 78%)}
.eg-house-wall{position:absolute;left:4%;right:4%;top:12%;bottom:18%;background:linear-gradient(106deg,#7a7970,#c5beb0 15%,#a7a59f 47%,#7b7d79 95%);box-shadow:0 15px 35px #0008;border-radius:2px}
.eg-house-wall:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 55px,#45484313 55px 56px);pointer-events:none}
.eg-wall-top{height:13%;position:absolute;left:0;right:0;top:0;background:linear-gradient(#3a4145,#242b31 58%,#666f70);box-shadow:0 6px 15px #0009}
.eg-portal{position:absolute;left:9%;right:9%;top:14%;bottom:12%;background:#1d2c35;border:8px solid #353b3e;box-shadow:0 2px 15px #06121cab,inset 0 6px 12px #0009;overflow:hidden}
.eg-garage-photo{position:absolute;inset:0}
.eg-garage-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.eg-garage-photo:after{content:"";position:absolute;inset:0;box-shadow:inset 0 15px 24px #0008,inset 0 0 24px #10171877;pointer-events:none}
.eg-gate-moving{position:absolute;z-index:2;inset:0;will-change:transform;transform:translateX(0)}
.eg-gate-metal{position:absolute;inset:0;border-right:7px solid #181f23;border-left:6px solid #242e34;background:repeating-linear-gradient(0deg,#192328 0px,#2c3940 4px,#3b4950 11px,#151d24 14px,#121b20 19px,#28363c 23px,#111c22 27px);box-shadow:inset 0 0 18px #0008,3px 0 15px #0009}
.eg-metal-light{position:absolute;top:0;bottom:0;left:26%;width:14%;background:linear-gradient(90deg,transparent,#b0bfc419,transparent)}
.eg-gate-center{position:absolute;top:0;bottom:0;left:50%;width:3px;background:#10181d;box-shadow:2px 0 1px #52606745}
.eg-gate-edge{position:absolute;top:0;bottom:0;right:0;width:16px;background:linear-gradient(90deg,#39474c,#1b2529 45%,#77838733);border-left:2px solid #637278}
.eg-portal-border{position:absolute;z-index:3;inset:0;pointer-events:none;box-shadow:inset 0 9px 10px #0009,inset 0 -3px 4px #111a208a}
.eg-right-pillar{position:absolute;right:0;top:12%;bottom:0;width:8%;background:linear-gradient(90deg,#777d7a,#c7c3b8 50%,#737873);box-shadow:-7px 2px 10px #0008}
.eg-pillar-light{position:absolute;left:10%;right:10%;top:13%;height:5px;background:#ecd3a1;box-shadow:0 0 25px 6px #ffdca755}
.eg-control-column{position:absolute;top:49%;left:15%;right:15%;min-height:45px;border-radius:4px;border:1px solid #526d7b;background:#1c2934;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.eg-control-column i{height:7px;width:7px;border-radius:50%;background:#f6a75f}.eg-control-column span{font-size:7px;color:#d4eaf8;letter-spacing:.1em}
.eg-rail{position:absolute;bottom:7%;left:7%;right:8%;height:7px;background:linear-gradient(#596774,#1a2c3b 50%,#8b9797);box-shadow:0 3px 5px #07182878}
.eg-ground{position:absolute;left:0;right:0;bottom:0;height:20%;background:linear-gradient(#404748,#26353d 35%,#171d24);border-top:6px solid #747674}
.eg-ground:after{content:"";position:absolute;left:23%;right:20%;top:10%;height:1px;background:#aec4d640;transform:skewY(5deg)}
.eg-scene-label{position:absolute;z-index:5;left:14px;bottom:15px;background:#071d34d9;border:1px solid #8cbed052;border-radius:11px;padding:11px 13px;display:grid;gap:5px;max-width:calc(100% - 28px);box-shadow:0 4px 13px #0005;backdrop-filter:blur(4px)}
.eg-scene-label span{font-size:13px;font-weight:850;color:#fff}
.eg-scene-label small{font-size:10px;color:#bfdbec}
.eg-sensor-strip{padding:12px 17px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid #335778;font-size:10px}
.eg-sensor-strip>span{display:flex;align-items:center;gap:8px;color:#c2daee}
.eg-sensor-strip i{height:8px;width:8px;border-radius:50%;background:#45dfae}
.eg-sensor-strip strong{color:#93edcc;font-size:11px}
.eg-panel[data-obstacle=true] .eg-sensor-strip i{background:#ffae5b}
.eg-panel[data-obstacle=true] .eg-sensor-strip strong{color:#ffd398}
.eg-panel[data-status=closing] .eg-control-column i,.eg-panel[data-status=opening] .eg-control-column i{background:#46dff9}
.eg-panel[data-status=obstacle] .eg-control-column i{background:#ff7674}
.eg-controls{padding:18px;background:#102942;min-width:0}
.eg-step{font-size:10px;letter-spacing:.11em;color:#abd0ed;font-weight:850;margin:0 0 14px}
.eg-remote-wrap{display:flex;flex-direction:column;align-items:center;gap:10px}
.eg-remote{width:min(100%,267px);border:6px solid #091625;background:linear-gradient(135deg,#263b4d,#101e2e 65%,#273d50);border-radius:34px;box-shadow:inset 0 2px 5px #839daf44,inset 0 -4px 11px #000a,0 14px 26px #04162d8c;padding:20px 17px 19px;position:relative}
.eg-remote-top{display:flex;justify-content:center;align-items:center;gap:6px;color:#dceeff}.eg-remote-top span{font-size:20px;color:#5fb7ff}.eg-remote-top strong{font-size:17px;letter-spacing:.1em}.eg-remote-top small{font-size:8px;color:#8eaec6}
.eg-remote-led{width:9px;height:9px;margin:15px auto;border-radius:50%;background:#566879;box-shadow:0 0 0 3px #0004}
.eg-panel[data-status=opening] .eg-remote-led,.eg-panel[data-status=closing] .eg-remote-led{background:#3debbc;box-shadow:0 0 11px #3debbc}
.eg-remote-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.eg-remote-buttons button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;height:85px;border:1px solid #6988a7;border-radius:16px;background:linear-gradient(#334c60,#1b3042);color:#e9f9ff;box-shadow:0 3px 6px #0007,inset 0 1px #8fabc251}
.eg-remote-buttons button:hover{background:#3b5f7c}
.eg-remote-buttons button:active{transform:translateY(2px);box-shadow:inset 0 2px 5px #0007}
.eg-remote-buttons button:first-child{border-color:#338af4}.eg-remote-buttons button:last-child{border-color:#4ca9d8}
.eg-remote-buttons button>span{font-size:30px;line-height:1}.eg-remote-buttons button>small{font-size:9px;font-weight:850}
.eg-remote-wrap>p{max-width:290px;font-size:10px;line-height:1.55;color:#b2cbe0;text-align:center;margin:0}
.eg-progress-box{margin-top:20px;padding:15px;background:#0a1f36;border:1px solid #30516f;border-radius:12px}
.eg-progress-box>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.eg-progress-box strong{font-size:11px}.eg-progress-box output{font-size:13px;color:#91d8ff;font-weight:850}
.eg-progress-track{height:8px;background:#203b57;border:1px solid #365f83;border-radius:20px;overflow:hidden}
.eg-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#12c6ee,#1483f8);border-radius:20px}
.eg-security-box{margin-top:12px;border:1px solid #345773;border-radius:12px;padding:14px 12px;background:#152e4a}
.eg-security-choice{display:flex;gap:10px;align-items:center;cursor:pointer}
.eg-security-choice input{position:absolute;width:1px;height:1px;opacity:0}
.eg-switch{display:block;width:37px;height:22px;flex-shrink:0;border-radius:20px;background:#3e5b75;border:1px solid #617f99;position:relative}
.eg-switch:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;background:#c9e3f4;border-radius:50%;transition:transform .2s}
.eg-security-choice input:checked+.eg-switch{background:#1167bf;border-color:#3e9eec}
.eg-security-choice input:checked+.eg-switch:after{transform:translateX(15px);background:#fff}
.eg-security-choice input:focus-visible+.eg-switch{outline:3px solid #5eb9ff;outline-offset:3px}
.eg-security-choice>span:last-child{display:grid;gap:4px}
.eg-security-choice strong{font-size:11px;color:#eff8ff}.eg-security-choice small{font-size:9px;color:#abc4e2}
.eg-security-box>p{font-size:10px;color:#b4cde0;line-height:1.55;margin:10px 0 0}
.eg-reset{width:100%;border:1px solid #436584;background:#23435e;border-radius:10px;padding:11px;color:#cfe6fa;font-size:11px;font-weight:850;margin-top:12px}
.eg-reset:hover{background:#315477}
.eg-panel-bottom{background:#0b2139;border-top:1px solid #315573;padding:16px 20px}
.eg-event-head{display:flex;justify-content:space-between;gap:9px;align-items:center}
.eg-event-head strong{font-size:12px}.eg-event-head span{font-size:10px;color:#a0c4e4}
.eg-panel-bottom ol{display:grid;gap:8px;padding:0 0 0 21px;font-size:11px;color:#b8d4e8;line-height:1.45;margin:12px 0}
.eg-panel-bottom>p{font-size:10px;color:#98b9d5;border-top:1px solid #2a4763;padding-top:12px;line-height:1.55;margin:14px 0 0}
.eg-details{padding-top:70px}
.eg-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.eg-cards article{background:var(--eg-paper);border:1px solid var(--eg-line);padding:22px 19px;border-radius:17px;min-height:210px}
.eg-card-icon{height:44px;width:44px;display:grid;place-items:center;border-radius:13px;background:#e0eeff;color:#0d6dde;font-size:25px}
.eg-cards h3{color:var(--eg-ink);font-size:16px;margin:18px 0 9px}
.eg-cards p{font-size:12px;color:var(--eg-muted);line-height:1.65;margin:0}
.eg-quote{margin-top:55px;background:linear-gradient(110deg,#0c2d52,#0b4b83);border-radius:22px;padding:33px;display:flex;justify-content:space-between;gap:24px;align-items:center}
.eg-quote .eg-eyebrow{color:#a9d7ff!important}
.eg-quote h2{font-size:clamp(25px,3vw,38px);letter-spacing:-.039em;line-height:1.16;margin:0 0 11px;color:#fff}
.eg-quote p:not(.eg-eyebrow){font-size:13px;line-height:1.6;color:#c9e0f2;max-width:560px;margin:0}
.eg-quote-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}
:root[data-theme=dark] .emi-gate{--eg-bg:#0e1f34;--eg-paper:#1c304b;--eg-ink:#edf7ff;--eg-muted:#b6cce2;--eg-line:#35516e;--eg-blue:#58abff}
:root[data-theme=dark] .eg-tags span{background:#1b3453}
:root[data-theme=dark] .eg-card-icon{background:#244c79;color:#b5e0ff}
:root[data-theme=dark] .eg-button.eg-primary{background:linear-gradient(110deg,#0b90ff,#0760dc);color:#fff}
@media(max-width:1100px){.eg-hero{gap:17px}.eg-hero-copy h1{font-size:clamp(40px,4.45vw,59px)}.eg-panel-layout{grid-template-columns:minmax(0,1fr) 315px}.eg-scene{min-height:440px}.eg-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.eg-quote{flex-wrap:wrap}}
@media(max-width:820px){.eg-hero{grid-template-columns:1fr;gap:24px;padding:40px 0 55px}.eg-hero-photo{height:320px}.eg-section-heading{flex-direction:column;align-items:start;gap:10px}.eg-section-heading>p{max-width:620px}.eg-panel-layout{grid-template-columns:1fr}.eg-scenery-area{border-right:0;border-bottom:1px solid #345877}.eg-controls{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;align-items:start}.eg-controls>.eg-step{grid-column:1/-1}.eg-progress-box{margin-top:0}.eg-security-box{grid-column:2}.eg-reset{grid-column:2}.eg-scene{min-height:485px}}
@media(max-width:530px){.emi-gate{padding:0 12px 40px}.eg-hero{padding-top:27px;gap:20px}.eg-back{margin-bottom:20px}.eg-hero-copy h1{font-size:clamp(39px,10vw,51px)}.eg-hero-copy>p:not(.eg-eyebrow){font-size:14px}.eg-hero-photo{height:255px;border-radius:16px}.eg-photo-bottom{left:13px;right:13px;bottom:13px}.eg-photo-bottom strong{font-size:21px}.eg-photo-bottom small{font-size:9px}.eg-photo-chip{top:12px;left:12px;font-size:9px}.eg-panel{border-radius:15px}.eg-panel-top{padding:12px;flex-wrap:wrap}.eg-scenery-area{min-height:0}.eg-scene-top{padding:13px}.eg-scene{min-height:326px}.eg-house-wall{left:3%;right:3%;top:13%;bottom:21%}.eg-portal{border-width:5px}.eg-right-pillar{width:7%}.eg-scene-label{padding:8px 10px;bottom:9px;left:8px}.eg-scene-label span{font-size:11px}.eg-scene-label small{font-size:9px}.eg-controls{padding:14px;display:block}.eg-remote{width:min(100%,267px)}.eg-progress-box{margin-top:17px}.eg-security-box{margin-top:12px}.eg-reset{margin-top:12px}.eg-panel-bottom{padding:13px}.eg-details{padding-top:49px}.eg-cards{grid-template-columns:1fr;gap:9px}.eg-cards article{min-height:0;padding:17px}.eg-cards h3{margin:11px 0 7px}.eg-quote{padding:24px 18px;margin-top:37px}.eg-quote-actions{width:100%}.eg-quote-actions .eg-button{flex:1 1 100%;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.eg-switch:after{transition:none}}

