
/* VIEVAS - nova identidade visual do protótipo: azul profundo, dourado e porcelana.
   Estilos adaptativos; preserva o layout original e a navegacao. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');
:root{--navy:#102e43;--navy-dark:#082034;--navy2:#0b2538;--blue:#2a5570;--red:#b88a42;--red-deep:#9c7034;--red2:#9c7034;--gold:#c59b5c;--gold-light:#ebd8b8;--cream:#f5f3ee;--paper:#faf9f6;--ink:#1d3343;--muted:#637381;--line:#e1e3e5;--shadow:0 17px 44px rgba(16,46,67,.1);--green:#22695a}
html,body{background:var(--paper)}
body{color:var(--ink);font-family:"DM Sans",Montserrat,Arial,sans-serif;font-size:14px}
h1,h2,h3,.title-serif{font-family:"Playfair Display",Georgia,serif!important;letter-spacing:-.025em!important;font-weight:600!important}
.property-card h3,.property-meta,.nav a,.tags,.btn,.kicker{font-family:"DM Sans",Arial,sans-serif!important}
.kicker,.kicker.red,.eyebrow{color:#b98b4b!important}
.preview-strip{background:#e8dcca;color:#58442d;height:25px}
.header{background:linear-gradient(105deg,#0b2539,#183f56);border-bottom:1px solid #31516a;box-shadow:0 8px 24px #0616241d}
.header-inner{min-height:86px}
.header .site-logo{background:#fff;padding:7px 11px;border-radius:6px;object-fit:contain;object-position:center}
.header .nav a{color:#eff4f6;border-color:#ffffff22;background:transparent;font-family:"DM Sans",Arial,sans-serif}
.header .nav a.active,.header .nav a:hover{color:#eed4ab;background:#ffffff1a}
.header .nav a.nav-cta{background:#c49a5b;color:#091e2f}
.header .nav a.nav-cta:hover{background:#e2bb81;color:#081c2a}
.reali-tag{color:#cad7e0}
.reali-tag span{color:#e8d4b4;font-size:9px;letter-spacing:.12em}
.reali-tag img{width:135px!important;height:32px!important;background:#fff;border-radius:4px;object-fit:contain;padding:5px 9px}
.mobile-toggle{color:#fff}
.footer{background:#0b263b}
.footer-small{border-top-color:#2c4c60}
.hero,.ap-hero{background:#0e293c}
.hero-copy{background:linear-gradient(136deg,#0a2538,#1b445d)}
.hero .kicker,.ap-hero .kicker{color:#e4bb7a!important}
.hero h1{font-size:clamp(36px,3.8vw,54px);font-family:"Playfair Display",Georgia,serif!important}
.hero .btn.primary,.btn.primary{background:linear-gradient(120deg,#be9455,#d3b37d);color:#182a35;border:none}
.hero .btn.primary:hover,.btn.primary:hover{background:linear-gradient(120deg,#d3b37d,#e2c292);color:#102637}
.hero .btn.line{color:#fff;border-color:#d5c3a2}
.btn.navy,.chip.active,.ap-filter.active{background:#102e43;color:#fff;border-color:#102e43}
.btn.line,.btn.outline-dark{color:#102e43;border-color:#c4b69c}
.text-link,.property-bottom,.property-bottom a,.footer a:hover{color:#a87530}
.section-heading h2,.page-intro h1,.developer-heading h2,.about-layout h2{color:#152e41}
.page-intro{background:linear-gradient(135deg,#fbfaf7,#eae9e5)}
.section.soft,.developer-section:nth-child(even){background:#f5f3ee}
.section.dark{background:#0b263b}
.section.white,.developer-section:nth-child(odd){background:#fbfaf8}
.brandband{background:#fff;border-bottom-color:#ebe8e1}
.property-card,.partner-card,.box-card,.name-card,.value-box,.feature,.ap-plan{border-radius:12px;border-color:#e5e5df;box-shadow:0 7px 23px #08293b08}
.property-card h3,.partner-card h3,.name-card b{color:#16354a}
.tags span{background:#f3efe6;color:#6a604f}
.status{color:#6f542e}
.crm-feature{background:linear-gradient(128deg,#11344b,#25526a);box-shadow:0 18px 48px #05162430}
.ap-hero-copy{background:linear-gradient(128deg,#0a2639,#21485f)}
.ap-hero-copy h1{font-family:"Playfair Display",Georgia,serif!important}
.ap-subnav{border-bottom-color:#e7e1d7}
.ap-subnav a:hover{border-bottom-color:#c49a5b;color:#a87835}
.ap-stage{background:#142c3a}
.ap-plan:hover{box-shadow:0 8px 27px #1a394721}
.ap-categories{background:#f6f2eb}
.ap-plan img{background:#faf8f2}
.ap-note span{color:#c29a62}
.ap-expand{background:#183d56e6}
.filter-panel,.contact-form{border-radius:12px}
a,button{outline-offset:3px}

/* Área de localizacao — layout premium inspirado na imagem aprovada */
.territory-section{background:#faf9f6;padding:65px 0 78px;scroll-margin-top:135px}
.territory-top{border-top:3px solid #c49a5b;width:56px;margin-bottom:17px}
.territory-title{font-family:"Playfair Display",Georgia,serif;font-weight:600;color:#17334a;font-size:clamp(31px,4vw,48px);margin:0 0 10px;line-height:1.16}
.territory-lead{max-width:750px;color:#637483;font-size:15px;margin:0 0 27px}
.territory-layout{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(305px,.86fr);gap:22px;align-items:stretch}
.geo-card,.geo-sidebar,.solar-plan-card,.solar-panel{background:#fff;border:1px solid #e0e3e3;border-radius:18px;box-shadow:0 14px 36px #0b2a4014;overflow:hidden}
.geo-card{position:relative;min-width:0}
.geo-toolbar{display:flex;align-items:center;gap:11px;justify-content:space-between;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid #e7e9e8;background:#fff}
.geo-toolbar strong{color:#223c4e;font-size:12px}
.geo-mode{display:flex;align-items:center;gap:4px;background:#f1f2ef;border-radius:30px;padding:3px}
.geo-mode button{border:0;background:none;border-radius:30px;color:#536777;padding:7px 11px;font-size:11px;font-weight:800}
.geo-mode button.active{background:#fff;box-shadow:0 2px 8px #1d3c5319;color:#103249}
.geo-map{width:100%;height:545px;background:#e9efed}
.geo-map:empty{background:linear-gradient(40deg,#ebeff0,#dbe5e5)}
.geo-below{padding:12px 17px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f9faf9;color:#7a858c;font-size:10px;flex-wrap:wrap}
.geo-below strong{color:#8d6d43}
.geo-sidebar{padding:27px 23px;min-width:0}
.geo-side-kicker{color:#aa7b3a;text-transform:uppercase;font-weight:800;letter-spacing:.14em;font-size:10px}
.geo-sidebar h3{font-family:"Playfair Display",Georgia,serif!important;font-size:30px;line-height:1.2;margin:8px 0 18px;color:#1b384e}
.geo-facts{display:grid;gap:9px;margin-bottom:25px}
.geo-fact{display:flex;align-items:flex-start;gap:12px;padding:13px;background:#f7f6f2;border-radius:12px;border:1px solid #f0eee8}
.geo-fact-icon{width:33px;height:33px;border-radius:50%;flex:0 0 auto;background:#ebdfcc;color:#977340;display:grid;place-items:center;font-size:16px}
.geo-fact strong{display:block;color:#1d3b4e;font-size:12px}
.geo-fact small{display:block;color:#74818a;line-height:1.5;font-size:11px;margin-top:4px}
.geo-side-heading{font-weight:900;color:#1b3b4f;font-size:12px;padding-top:15px;border-top:1px solid #e8e9e7;margin-bottom:11px}
.geo-categories{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.geo-category{border:1px solid #d8dfe0;background:#fff;border-radius:28px;padding:6px 10px;font-size:10px;color:#596c77;font-weight:700}
.geo-category.active{background:#193f54;color:#fff;border-color:#193f54}
.geo-items{max-height:275px;overflow-y:auto;scrollbar-width:thin}
.geo-item{display:flex;gap:10px;width:100%;padding:10px 4px;border:0;border-bottom:1px solid #eef0ee;background:transparent;text-align:left;align-items:center;color:inherit}
.geo-item:hover,.geo-item.active{background:#f8f4ee}
.geo-icon{height:32px;width:32px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:var(--poi-bg,#edf1f2);color:var(--poi-color,#244c62);font-size:15px;font-weight:800}
.geo-item-content{flex:1;min-width:0}
.geo-item-content b{display:block;color:#1f3a4b;font-size:11px;line-height:1.4}
.geo-item-content small{display:block;color:#73838b;font-size:10px;margin-top:2px}
.geo-distance{font-size:10px;color:#8c6c45;white-space:nowrap;font-weight:800}
.geo-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}
.geo-actions a{flex:1;min-width:130px;text-align:center}
.geo-warning{margin-top:14px;color:#829099;font-size:10px;line-height:1.5}
.geo-pin{width:35px;height:35px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#c89e63;border:3px solid white;box-shadow:0 2px 16px #132e4260;display:grid;place-items:center}
.geo-pin span{transform:rotate(45deg);display:block;color:#fff;font-weight:900;font-size:15px}
.geo-poi-pin{width:28px;height:28px;background:var(--marker-color,#2f6781);border:3px solid #fff;border-radius:100%;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:800;box-shadow:0 3px 12px #1a2b3842}
.geo-tooltip.leaflet-tooltip{font-family:"DM Sans",Arial,sans-serif;color:#1e3d50;border-radius:8px;border:1px solid #e4e3de;box-shadow:0 5px 12px #031e3428;font-weight:800;font-size:11px}
.geo-card .leaflet-control-attribution{font-size:9px;color:#6d7781!important}
.geo-card .leaflet-control-zoom a{color:#183f55}

/* Sol, vento e sombra — mesma linguagem do layout aprovado */
.sun-section{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 85% 0%,#2b5369 0%,transparent 48%),linear-gradient(135deg,#0b2a41,#133950);padding:65px 0 75px;scroll-margin-top:135px}
.sun-section:before{content:"";position:absolute;width:510px;height:240px;border:1px solid #d8b27135;border-radius:50%;top:-145px;right:-180px;transform:rotate(-25deg);pointer-events:none}
.sun-section .territory-top{border-color:#d5ad70}
.sun-section .territory-title{color:#fff}
.sun-section .territory-lead{color:#c4d2da}
.sun-layout{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(305px,.86fr);gap:22px;align-items:stretch}
.solar-plan-card{padding:16px;background:#f9faf8;position:relative;display:flex;flex-direction:column}
.sun-plan-visual{position:relative;aspect-ratio:1.15;min-height:420px;background:#e5eae7;overflow:hidden;border-radius:12px;isolation:isolate;display:flex;align-items:center;justify-content:center}
.sun-plan-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:saturate(.81);opacity:.94}
.sun-plan-visual .sun-veil{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#fff8,transparent 24%,transparent 72%,#ffffff52 100%)}
.sun-plan-visual .sun-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.sun-north{position:absolute;top:15px;left:15px;z-index:4;width:99px;height:99px;pointer-events:none;background:#ffffffdf;border:1px solid #fff;box-shadow:0 4px 20px #142c3c21;border-radius:50%}
.sun-north .sun-compass-svg{width:100%;height:100%}
.sun-badge{position:absolute;z-index:4;right:16px;top:18px;max-width:150px;padding:11px 12px;border:1px solid #d4e0e6;background:#ffffffef;border-radius:11px;font-size:10px;font-weight:800;color:#193a51;line-height:1.5}
.sun-note-onmap{position:absolute;z-index:4;left:15px;bottom:14px;background:#fffffff2;border:1px solid #f4f5f4;border-radius:8px;padding:8px 12px;font-size:10px;color:#435563;max-width:230px}
.sun-time-label{font-size:13px;font-weight:900;color:#d7a456}
.sun-image-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 4px 0}
.sun-image-controls button{background:none;border:1px solid #d6dedf;border-radius:9px;padding:9px 11px;color:#22465c;font-size:11px;font-weight:800}
.sun-image-controls button:hover{background:#fff}
.sun-foot{font-size:10px;color:#7b8a93;line-height:1.5;margin:0}
.solar-panel{padding:23px 22px;background:#fff;color:#1f3e53}
.sun-headline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.sun-headline h3{font-size:22px;color:#15384e;margin:0}
.sun-chiprow{display:flex;gap:6px;margin-bottom:25px}
.sun-chip{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 7px;font-size:11px;font-weight:900;border-radius:11px;background:#fff;color:#496071;border:1px solid #d6dddf}
.sun-chip[aria-pressed="true"]{background:#f3e3c7;color:#896235;border-color:#e4c793}
.sun-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.sun-row label,.sun-field label{font-size:12px;font-weight:900;color:#1b3d53}
.sun-row strong{font-size:12px;color:#b58748}
.sun-slider{-webkit-appearance:none;appearance:none;width:100%;height:5px;border-radius:12px;background:#e1e4e4;outline:none;cursor:pointer;margin:8px 0 11px}
.sun-slider::-webkit-slider-thumb{-webkit-appearance:none;width:17px;height:17px;border-radius:50%;background:#c99b5e;box-shadow:0 2px 8px #082c3e48;border:2px solid #fff}
.sun-slider::-moz-range-thumb{width:17px;height:17px;border-radius:50%;background:#c99b5e;border:2px solid #fff}
.sun-times{display:flex;justify-content:space-between;color:#77858d;font-size:10px;margin-bottom:21px}
.sun-divider{height:1px;background:#e9e9e5;margin:20px 0}
.sun-preset{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 19px}
.sun-preset button{padding:11px;border:1px solid #dbe0e1;border-radius:11px;color:#34566b;background:#fff;font-size:11px;font-weight:800}
.sun-preset button:hover,.sun-preset button.active{background:#f4e5c8;border-color:#e7c78f;color:#885f2f}
.sun-field{margin-bottom:15px;display:grid;gap:5px}
.sun-field input[type="date"],.sun-field select{width:100%;height:39px;border:1px solid #d9e0e3;background:#fff;border-radius:8px;padding:8px 10px;color:#183b50}
.sun-small{font-size:10px;color:#788a94;line-height:1.5}
.sun-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.sun-metric{padding:12px;border:1px solid #e8e9e7;border-radius:9px;background:#f8f8f5}
.sun-metric small{display:block;color:#72828b;font-size:10px}
.sun-metric strong{display:block;font-size:17px;color:#173b52;font-weight:900}
.sun-help{background:#f5f2ea;border-left:3px solid #c19a5e;padding:13px 15px;border-radius:5px;color:#526671;font-size:11px;margin-top:17px;line-height:1.6}
.sun-caution{font-size:10px;color:#73858f;line-height:1.6;margin-top:14px}
.sun-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:20px}
.sun-benefit{display:flex;gap:10px;align-items:flex-start;color:#f3f6f6;padding:15px}
.sun-benefit .ico{color:#d4b27e;font-size:29px;line-height:1}
.sun-benefit b{display:block;font-size:13px;color:#fff}
.sun-benefit span{font-size:11px;color:#bfcfd8}
.territory-spotlight{background:linear-gradient(120deg,#103047,#26576e);border-radius:17px;overflow:hidden;display:grid;grid-template-columns:.9fr 1.1fr;min-height:240px;color:#fff;box-shadow:0 15px 44px #081d2f21}
.territory-spotlight img{width:100%;height:100%;min-height:240px;object-fit:cover}
.territory-spotlight .copy{padding:31px;align-self:center}
.territory-spotlight h2{font-family:"Playfair Display",Georgia,serif!important;font-size:29px;line-height:1.23;color:#fff;margin:8px 0}
.territory-spotlight p{color:#d0dbe0;font-size:13px}
.territory-spotlight a{display:inline-flex;align-items:center;margin-top:14px;background:#d5b27c;color:#122f43;padding:11px 16px;border-radius:7px;font-weight:900;font-size:12px}
@media(max-width:1050px){
 .territory-layout,.sun-layout{grid-template-columns:minmax(0,1.2fr) minmax(285px,.9fr)}
 .geo-map{height:475px}
 .sun-plan-visual{min-height:390px}
}
@media(max-width:880px){
 .header .nav{background:#102d41;top:98px}
 .header .nav a{color:#eff5f8}
 .territory-layout,.sun-layout{grid-template-columns:1fr}
 .geo-map{height:480px}
 .geo-sidebar{padding:21px}
 .geo-items{max-height:210px}
 .solar-plan-card{padding:12px}
 .sun-plan-visual{min-height:410px}
}
@media(max-width:600px){
 .header .nav{top:96px}
 .header .site-logo{background:#fff;padding:7px;width:180px}
 .territory-section,.sun-section{padding:45px 0 54px}
 .territory-title{font-size:32px}
 .territory-lead{font-size:13px}
 .geo-map{height:350px}
 .geo-card,.geo-sidebar,.solar-plan-card,.solar-panel{border-radius:14px}
 .geo-toolbar{padding:11px}
 .geo-sidebar{padding:18px}
 .geo-sidebar h3{font-size:25px}
 .geo-fact{padding:11px}
 .sun-plan-visual{min-height:275px;aspect-ratio:1.08}
 .sun-north{width:72px;height:72px;top:10px;left:10px}
 .sun-badge{right:8px;top:10px;font-size:9px;padding:7px 9px;max-width:115px}
 .sun-note-onmap{font-size:9px;left:7px;bottom:7px;max-width:180px}
 .sun-chiprow{gap:4px}
 .sun-chip{padding:10px 5px;font-size:10px}
 .solar-panel{padding:18px}
 .sun-benefits{grid-template-columns:1fr;gap:1px;margin-top:12px}
 .sun-benefit{padding:7px 4px}
 .territory-spotlight{grid-template-columns:1fr}
 .territory-spotlight img{height:185px;min-height:0}
 .territory-spotlight .copy{padding:23px}
}

.geo-map .leaflet-tile{filter:saturate(.68) contrast(.91) brightness(1.045)}
.geo-map .leaflet-container{background:#edf0ed}
