/* EMI Cercas Elétricas — scoped page styles */
.emi-fence{--ef-bg:#f1f7fd;--ef-paper:#fff;--ef-ink:#183453;--ef-muted:#58718a;--ef-border:#d6e6f3;--ef-blue:#096ee7;background:var(--ef-bg);color:var(--ef-ink);padding:0 22px 70px}
.emi-fence *{box-sizing:border-box}.emi-fence a{text-decoration:none}.emi-fence button{font:inherit;cursor:pointer}
.emi-fence a:focus-visible,.emi-fence button:focus-visible{outline:3px solid #63c3fc;outline-offset:3px}
.ef-wrap{max-width:1320px;margin:auto}
.ef-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:30px;padding:55px 0 69px}
.ef-back{font-size:12px;font-weight:800;color:var(--ef-blue);display:inline-block;margin:0 0 31px}
.ef-eyebrow{font-size:11px!important;letter-spacing:.15em;font-weight:850;color:var(--ef-blue)!important;margin:0 0 15px!important}
.ef-copy .ef-eyebrow{display:flex;align-items:center;gap:9px}
.ef-led{width:8px;height:8px;border-radius:50%;background:#25c4a6;box-shadow:0 0 0 5px #28d4b326}
.ef-copy h1{font-size:clamp(42px,5vw,73px);letter-spacing:-.064em;line-height:1.04;color:var(--ef-ink);margin:0 0 21px}
.ef-copy h1 em{font-style:normal;color:var(--ef-blue)}
.ef-copy>p:not(.ef-eyebrow){font-size:16px;line-height:1.7;color:var(--ef-muted);max-width:555px;margin:0}
.ef-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:27px}
.ef-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border:1px solid transparent;border-radius:12px;padding:12px 18px;white-space:nowrap;font-size:13px;font-weight:850}
.ef-btn.primary{background:linear-gradient(112deg,#098dfb,#075de2);color:#fff;box-shadow:0 8px 25px #0b6ae828}
.ef-btn.secondary{color:var(--ef-blue);background:var(--ef-paper);border-color:#9ec4e8}
.ef-btn.dark{color:#f0f9ff;border-color:#9bc2e675}
.ef-hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:30px}
.ef-hero-tags span{font-size:11px;font-weight:750;color:var(--ef-muted);border:1px solid var(--ef-border);background:var(--ef-paper);border-radius:22px;padding:8px 11px}
.ef-hero-media{height:406px;position:relative;border-radius:22px;overflow:hidden;background:#142c4b;box-shadow:0 23px 48px #113c6029}
.ef-hero-media>img{width:100%;height:100%;object-fit:cover;display:block}
.ef-media-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#081d364d,transparent 48%,#061a32e0)}
.ef-media-label{position:absolute;top:18px;left:18px;display:flex;align-items:center;gap:8px;background:#092f4bd4;border:1px solid #9de6e650;border-radius:24px;color:#f0faff;padding:9px 12px;font-size:10px;letter-spacing:.08em;font-weight:850}
.ef-media-label>span{height:7px;width:7px;border-radius:50%;background:#41e0b0}
.ef-media-bottom{position:absolute;bottom:20px;left:23px;right:23px;display:flex;justify-content:space-between;align-items:end;gap:12px;color:#fff}
.ef-media-bottom strong{font-size:26px;line-height:1.1;letter-spacing:-.035em;max-width:390px}
.ef-media-bottom small{font-size:10px;color:#c5dbed;text-align:right}
.ef-demo{scroll-margin-top:100px}
.ef-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:23px}
.ef-section-heading h2{font-size:clamp(28px,3.4vw,43px);line-height:1.12;letter-spacing:-.046em;color:var(--ef-ink);margin:0;max-width:730px}
.ef-section-heading>p{max-width:350px;font-size:13px;color:var(--ef-muted);line-height:1.65;margin:0}
.ef-console{border:1px solid #35597a;border-radius:22px;overflow:hidden;background:#0a213b;color:#eaf5ff;box-shadow:0 20px 49px #073b5d2c}
.ef-console-top{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:15px 20px;background:linear-gradient(105deg,#0c2b4e,#11436d);border-bottom:1px solid #355d82}
.ef-console-brand{display:flex;align-items:center;gap:11px}
.ef-brand-symbol{width:41px;height:41px;border-radius:12px;display:grid;place-items:center;background:#175c99;color:#d9f6ff;font-size:26px}
.ef-console-brand>div{display:grid;gap:3px}.ef-console-brand strong{font-size:18px}.ef-console-brand small{color:#afcce6;font-size:10px}
.ef-demo-badge{display:flex;align-items:center;gap:7px;color:#a7f3d4;background:#133e49;border:1px solid #348376;border-radius:25px;padding:8px 11px;font-size:9px;font-weight:850;letter-spacing:.06em}
.ef-demo-badge i{width:7px;height:7px;border-radius:50%;background:#37e7ac}
.ef-console-main{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(335px,.86fr)}
.ef-visual-column{min-width:0;border-right:1px solid #335b7c;display:flex;flex-direction:column}
.ef-column-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;background:#0a233e;border-bottom:1px solid #30577a}
.ef-column-top strong{font-size:10px;letter-spacing:.09em;color:#c9e2f7}.ef-column-top span{font-size:10px;color:#93c6e8}
.ef-property{position:relative;flex:1;min-height:543px;overflow:hidden;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 55% 36%,#2b506b,#17354d 63%,#0c2a41)}
.ef-map-pattern{position:absolute;inset:0;background:linear-gradient(#a3daf00d 1px,transparent 1px),linear-gradient(90deg,#a3daf00d 1px,transparent 1px);background-size:25px 25px;pointer-events:none}
.ef-map-label{display:grid;gap:4px;align-items:center;justify-items:center;position:relative;margin-top:18px}
.ef-map-label span{font-size:11px;font-weight:850;letter-spacing:.12em;color:#e4f5ff}.ef-map-label small{font-size:10px;color:#a2c7e3}
.ef-plan{position:relative;z-index:2;width:min(100%,510px);aspect-ratio:440/320;margin:auto}
.ef-land{position:absolute;inset:14% 12.5% 12.5%;background:linear-gradient(160deg,#6a9377,#42765e 43%,#3f624f);border:4px solid #bac6bd;box-shadow:0 10px 22px #0005;overflow:hidden}
.ef-land:before{content:"";inset:0;position:absolute;pointer-events:none;background:repeating-linear-gradient(45deg,#e0eecd06 0 2px,transparent 2px 21px)}
.ef-lawn{position:absolute;width:24%;height:48%;background:#377354ab;border-radius:45%;filter:blur(8px)}.ef-lawn.left{top:12%;left:6%}.ef-lawn.right{bottom:7%;right:3%}
.ef-house{position:absolute;top:16%;left:24%;width:53%;height:58%;background:#e3d4bc;border:7px solid #dbd1c1;box-shadow:0 8px 13px #1c352bad;transform:rotate(-1deg);display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}
.ef-roof{background:linear-gradient(100deg,#576477,#303f52 57%,#253349);height:83%;width:100%;position:absolute;inset:0}
.ef-roof:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 12px,#98a5b124 12px 13px)}
.ef-roof span:first-child{position:absolute;top:9%;bottom:9%;left:15%;width:8%;background:#a0b3bf4d}
.ef-roof span:last-child{position:absolute;top:17%;right:8%;width:22%;height:28%;border:4px solid #abbcca;background:#314f67}
.ef-house-caption{position:relative;margin-top:auto;margin-bottom:7%;padding:5px 7px;font-size:10px;color:#e9faff;font-weight:850;letter-spacing:.1em;background:#1b3d58cb;border-radius:5px}
.ef-driveway{position:absolute;bottom:-2%;left:39%;width:22%;height:26%;background:repeating-linear-gradient(90deg,#989d96 0 12px,#8b908b 12px 14px);display:flex;align-items:end;justify-content:center}
.ef-driveway span{font-size:9px;color:#263e4f;font-weight:850;margin-bottom:11%}
.ef-trees{position:absolute;inset:0;pointer-events:none}
.ef-trees span{position:absolute;color:#204d36;text-shadow:0 0 11px #173e2b;font-size:54px;line-height:1}
.ef-trees span:nth-child(1){top:8%;left:4%}.ef-trees span:nth-child(2){right:3%;top:16%}.ef-trees span:nth-child(3){left:12%;bottom:6%;font-size:38px}
.ef-boundaries{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ef-boundaries line{stroke:#70a5c8;stroke-width:6;stroke-dasharray:12 6;stroke-linecap:round;filter:drop-shadow(0 0 2px #0a1d32);transition:stroke .2s,filter .2s}
.ef-console[data-armed=true] .ef-boundaries line{stroke:#42edb5;filter:drop-shadow(0 0 5px #31dfa977)}
.ef-boundaries line.broken{stroke:#ff7584!important;filter:drop-shadow(0 0 7px #ff485588)!important}
.ef-map-point{position:absolute;z-index:5;display:flex;align-items:center;justify-content:center;gap:6px;background:#102e4b;border:1px solid #8bb5d5;border-radius:20px;color:#e4f4ff;font-weight:850;font-size:9px;padding:7px 9px;box-shadow:0 3px 13px #071a2b8f;white-space:nowrap}
.ef-map-point:hover{background:#1b527b}.ef-map-point i{height:7px;width:7px;border-radius:50%;background:#a8c8db}
.ef-console[data-armed=true] .ef-map-point i{background:#3de6ae}
.ef-map-point.broken{border-color:#ff8995;background:#73303e;color:#fff}.ef-map-point.broken i{background:#ffb4bc!important}
.ef-map-point.back{top:5%;left:50%;transform:translateX(-50%)}.ef-map-point.front{bottom:1.5%;left:50%;transform:translateX(-50%)}
.ef-map-point.left{left:0;top:51%;transform:translateY(-50%)}.ef-map-point.right{right:0;top:51%;transform:translateY(-50%)}
.ef-map-key{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;padding:7px 12px 14px;position:relative;font-size:10px;color:#b3cfdf}
.ef-map-key>span{display:flex;align-items:center;gap:6px}
.ef-map-key i{width:9px;height:9px;border-radius:50%}.ef-map-key i.normal{background:#46e6b3}.ef-map-key i.event{background:#ff8896}
.ef-console-meter{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #315676;background:#0b2946;padding:14px 16px}
.ef-console-meter span{color:#aecde5;font-size:11px;line-height:1.4}.ef-console-meter strong{font-size:12px;color:#a4f2cc;white-space:nowrap}
.ef-control-column{padding:21px;min-width:0;background:#112b46}
.ef-step{font-size:10px;letter-spacing:.1em;color:#b1d1e9;font-weight:850;margin:0 0 13px}
.ef-current-status{display:flex;align-items:center;gap:11px;background:#1b3a59;border:1px solid #396080;padding:16px;border-radius:14px;min-height:93px}
.ef-status-glyph{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#244f70;color:#cdeaff;font-size:25px;flex-shrink:0}
.ef-current-status>div{display:grid;gap:5px}.ef-current-status small{font-size:9px;font-weight:800;letter-spacing:.12em;color:#9fc4e3}.ef-current-status strong{font-size:15px;color:#f5fbff}.ef-current-status span:last-child{font-size:10px;color:#b6d2e8;line-height:1.45}
.ef-current-status[data-state=armed]{border-color:#278f81;background:#124b4b}.ef-current-status[data-state=armed] .ef-status-glyph{background:#1a756c;color:#d9ffec}
.ef-current-status[data-state=alert]{border-color:#f47d85;background:#633142}.ef-current-status[data-state=alert] .ef-status-glyph{background:#9c3d52;color:#fff}
.ef-arm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.ef-arm-actions button{border-radius:11px;min-height:45px;padding:11px;font-size:12px;font-weight:850;border:1px solid #43698c;background:#254a6e;color:#e9f7ff;display:flex;align-items:center;justify-content:center;gap:8px}
.ef-arm-actions button:first-child{background:#0c76e3;border-color:#4c9ff5}
.ef-arm-actions button:disabled{opacity:.43;cursor:not-allowed}
.ef-zone-title{margin-top:26px}
.ef-zone-list{display:grid;gap:8px}
.ef-zone-list button{display:flex;align-items:center;gap:10px;text-align:left;padding:11px;border-radius:12px;min-height:65px;background:#152f4d;color:#ecf7ff;border:1px solid #3b607f}
.ef-zone-list button:hover{border-color:#62aef2}
.ef-zone-id{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:#234d72;color:#9bcfff;font-size:12px;font-weight:850;flex-shrink:0}
.ef-zone-list button>span:nth-child(2){display:grid;gap:4px;min-width:0}.ef-zone-list strong{font-size:12px}.ef-zone-list small{color:#b1cee2;font-size:10px}
.ef-zone-state{margin-left:auto;font-size:9px;font-weight:850;color:#98eec5;white-space:nowrap}
.ef-zone-list button[aria-pressed=true]{background:#61303e;border-color:#fa7d8b}
.ef-zone-list button[aria-pressed=true] .ef-zone-id{background:#9b4456;color:#fff}.ef-zone-list button[aria-pressed=true] .ef-zone-state{color:#ffd6db}
.ef-control-foot{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}
.ef-control-foot button{border-radius:10px;min-height:41px;padding:11px;font-size:10px;font-weight:850;background:#176dce;color:#fff;border:1px solid #3d90e4}
.ef-control-foot button:last-child{background:#264968;border-color:#52769b}
.ef-advisory{font-size:10px;line-height:1.6;color:#abc8df;display:flex;gap:7px;align-items:start;margin:15px 0 0}.ef-advisory>span{font-size:16px;line-height:1.1;color:#8ccfff}
.ef-console-events{border-top:1px solid #355577;background:#0b2139;padding:16px 20px}
.ef-event-header{display:flex;justify-content:space-between;align-items:center;gap:8px}
.ef-event-header strong{font-size:13px}.ef-event-header span{font-size:10px;color:#9ebfda}
.ef-console-events ol{display:grid;gap:7px;margin:12px 0 0;padding:0 0 0 20px;font-size:11px;color:#bed5e9;line-height:1.5}
.ef-details{padding-top:69px}.ef-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ef-cards article{background:var(--ef-paper);border:1px solid var(--ef-border);padding:23px 20px;border-radius:17px;min-height:204px}
.ef-feature-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#dcecff;color:#0e6ed6;font-size:24px}
.ef-cards h3{color:var(--ef-ink);font-size:16px;margin:16px 0 9px}.ef-cards p{font-size:12px;color:var(--ef-muted);line-height:1.65;margin:0}
.ef-quote{margin-top:54px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:22px;background:linear-gradient(115deg,#0d2a4a,#0c4f82)}
.ef-quote .ef-eyebrow{color:#a7d7ff!important}.ef-quote h2{font-size:clamp(26px,3vw,38px);line-height:1.13;letter-spacing:-.038em;color:#fff;margin:0 0 10px}.ef-quote p:not(.ef-eyebrow){font-size:13px;line-height:1.65;color:#c3dbef;max-width:580px;margin:0}
.ef-quote-buttons{display:flex;flex-wrap:wrap;gap:10px;flex-shrink:0}
:root[data-theme=dark] .emi-fence{--ef-bg:#102036;--ef-paper:#1c314d;--ef-ink:#f0f9ff;--ef-muted:#b2cce3;--ef-border:#36516d;--ef-blue:#5eaaff}
:root[data-theme=dark] .ef-hero-tags span{background:#1c3552}
:root[data-theme=dark] .ef-feature-icon{background:#265181;color:#b0d9fa}
:root[data-theme=dark] .ef-btn.primary{background:linear-gradient(110deg,#068efa,#075edc);color:white}
@media(max-width:1130px){.ef-hero{gap:20px}.ef-copy h1{font-size:clamp(42px,4.4vw,57px)}.ef-console-main{grid-template-columns:minmax(0,1fr) minmax(295px,.88fr)}.ef-control-column{padding:15px}.ef-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ef-quote{flex-wrap:wrap}}
@media(max-width:850px){.ef-hero{grid-template-columns:1fr;gap:25px;padding:40px 0 55px}.ef-hero-media{height:350px}.ef-console-main{grid-template-columns:1fr}.ef-visual-column{border-right:0;border-bottom:1px solid #365d7d}.ef-property{min-height:510px}.ef-control-column{padding:20px}.ef-section-heading{flex-direction:column;align-items:start;gap:10px}.ef-section-heading>p{max-width:640px}}
@media(max-width:530px){.emi-fence{padding:0 12px 43px}.ef-hero{padding-top:27px;gap:21px}.ef-back{margin-bottom:20px}.ef-copy h1{font-size:clamp(39px,10vw,50px)}.ef-copy>p:not(.ef-eyebrow){font-size:14px}.ef-hero-media{height:255px;border-radius:15px}.ef-media-bottom{left:13px;right:13px;bottom:12px}.ef-media-bottom strong{font-size:19px}.ef-media-bottom small{font-size:9px;max-width:95px}.ef-media-label{top:12px;left:12px;font-size:9px}.ef-console{border-radius:15px}.ef-console-top{padding:12px;flex-wrap:wrap}.ef-property{min-height:355px}.ef-map-label{margin-top:12px}.ef-map-label span{font-size:10px}.ef-map-label small{font-size:9px}.ef-map-key{gap:9px;font-size:9px}.ef-plan{width:100%}.ef-map-point{font-size:7px;padding:5px}.ef-map-point.left{left:-3px}.ef-map-point.right{right:-3px}.ef-console-meter{gap:6px;padding:12px}.ef-console-meter span{font-size:9px}.ef-console-meter strong{font-size:10px}.ef-control-column{padding:13px}.ef-current-status{padding:12px}.ef-status-glyph{width:37px;height:37px;font-size:20px}.ef-current-status strong{font-size:13px}.ef-zone-list button{padding:9px;gap:8px}.ef-zone-list strong{font-size:11px}.ef-zone-state{font-size:8px}.ef-control-foot{display:grid}.ef-control-foot button{width:100%}.ef-details{padding-top:50px}.ef-cards{grid-template-columns:1fr;gap:9px}.ef-cards article{min-height:0;padding:17px}.ef-cards h3{margin:10px 0 6px}.ef-quote{padding:23px 18px;margin-top:36px}.ef-quote-buttons{width:100%}.ef-quote-buttons .ef-btn{flex:1 1 100%;white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.ef-boundaries line{transition:none}}

