:root{--c-line:#e8e2d9;--c-line-strong:#ded6ca;--c-line-soft:#eee8de;--c-line-warm:#eadfcd;--c-card-warm:#fffaf0;--c-card-soft:#fbfaf6}
:root{--ink:#10231e;--forest:#062f28;--forest-2:#0d4438;--cream:#f7f1e7;--paper:#fffdf8;--orange:#ff4a16;--orange-soft:#ff8b41;--olive:#789d32;--blue:#1598bd;--red:#d7493e;--gold:#f5ae34;--muted:#65726e;--shadow:0 18px 55px rgba(5,37,31,.12);--radius:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}body.menu-open{overflow:hidden}img{max-width:100%;display:block}a{color:inherit}button,input,select{font:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;left:16px;z-index:9999;background:#fff;padding:12px 16px;border-radius:10px}.skip-link:focus{top:16px}.section-pad{padding:80px max(22px,calc((100vw - 1160px)/2))}.eyebrow{margin:0 0 10px;text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;font-weight:850;color:var(--orange)}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,"Times New Roman",serif;line-height:1.01;letter-spacing:-.04em}h1{font-size:clamp(3rem,8vw,6.8rem);margin-bottom:24px}h2{font-size:clamp(2.35rem,5vw,4.2rem);margin-bottom:18px}h3{font-size:1.08rem}.section-heading{max-width:720px;margin-bottom:34px}.section-heading>p:last-child{color:var(--muted);font-size:1.06rem}.section-heading.light,.section-heading.light>p:last-child{color:#fff}.section-heading.light .eyebrow{color:#ffae64}.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:999px;text-decoration:none;font-weight:800;border:1px solid transparent;cursor:pointer}.button.primary{background:var(--orange);color:#fff}.button.ghost{border-color:rgba(255,255,255,.5);color:#fff}.button.full{width:100%}
.splash{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;background:var(--forest);opacity:0;visibility:hidden;transition:opacity .25s}.splash.show{opacity:1;visibility:visible}.splash img{width:min(78vw,520px);animation:logoIn .8s cubic-bezier(.2,.75,.3,1) both}@keyframes logoIn{0%{opacity:0;transform:scale(.92) translateY(12px)}60%{opacity:1}100%{transform:scale(1) translateY(0)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.splash img{animation:none}}
.site-header{height:72px;position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;padding:8px max(18px,calc((100vw - 1160px)/2));background:rgba(6,47,40,.94);backdrop-filter:blur(14px);color:#fff}.brand img{width:150px;height:54px;object-fit:contain;object-position:left center}.main-nav{display:flex;gap:24px;align-items:center}.main-nav a{text-decoration:none;font-weight:700;font-size:.9rem}.main-nav a:hover{color:#ff9b5c}
.hero{min-height:100svh;background:radial-gradient(circle at 78% 22%,#1a5a49 0,transparent 34%),linear-gradient(145deg,#052a24,#093a31 60%,#0f4e3f);color:#fff;display:grid;grid-template-columns:1fr;place-items:center;text-align:center;gap:42px;position:relative;z-index:2;overflow:hidden}.hero:after{content:"";position:absolute;right:-8%;bottom:-24%;width:54vw;height:54vw;border:1px solid rgba(255,255,255,.08);border-radius:50%}.hero-center{width:min(100%,820px);display:flex;flex-direction:column;align-items:center;position:relative;z-index:2}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hero-lead{font-size:clamp(1.08rem,2vw,1.35rem);max-width:680px;color:#dae9e4;margin:0 0 24px}.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.hero-logo{width:min(78vw,620px);margin:8px auto 26px;filter:drop-shadow(0 28px 30px rgba(0,0,0,.25));position:relative;z-index:2}.hero-facts{width:min(100%,900px);display:flex;justify-content:center;gap:48px;border-top:1px solid rgba(255,255,255,.15);padding-top:24px;position:relative;z-index:2}.hero-facts span{display:flex;align-items:baseline;gap:8px;color:#c8ddd6}.hero-facts b{font-size:1.35rem;color:#fff}
.quick-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding-top:22px;padding-bottom:22px;background:var(--cream)}.quick-nav a{background:#fff;border-radius:18px;padding:18px;text-decoration:none;display:grid;grid-template-columns:38px 1fr;box-shadow:0 6px 24px rgba(18,39,33,.06)}.quick-nav span{grid-row:1/3;font-size:1.55rem;color:var(--orange)}.quick-nav b,.quick-nav small{display:block}.quick-nav small{color:var(--muted)}
.sector-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.sector-card{border:0;border-radius:var(--radius);min-height:250px;padding:28px;text-align:left;color:#fff;position:relative;overflow:hidden;cursor:pointer;box-shadow:var(--shadow)}.sector-card:after{content:"→";position:absolute;right:24px;bottom:22px;font-size:1.7rem}.sector-card .sector-index{font-size:.75rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase;opacity:.8}.sector-card h3{font-family:Georgia,serif;font-size:2.2rem;line-height:1;margin:52px 0 10px}.sector-card p{max-width:75%;opacity:.88}.sector-card.cinema{background:linear-gradient(145deg,#a92526,#db5445)}.sector-card.paraiso{background:linear-gradient(145deg,#087d9b,#21a8c6)}.sector-card.slab{background:linear-gradient(145deg,#e15c17,#ff963f)}.sector-card.anarquista{background:linear-gradient(145deg,#557a21,#87a84a)}
.access,.guide{background:var(--forest);color:#fff}.panorama-overview{background:#68a9ef;position:relative;overflow:hidden}.panorama-scroll{overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:thin}.panorama-stage{position:relative;width:100%;aspect-ratio:2.064/1;overflow:hidden;transform:none}.panorama-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.sector-marker{--sector:#d7493e;position:absolute;width:clamp(220px,21vw,340px);background:rgba(255,255,255,.96);border-radius:18px;padding:14px 16px 12px;color:var(--sector);box-shadow:0 14px 35px rgba(5,42,36,.16);z-index:2}.sector-marker:after{content:"";position:absolute;top:100%;left:var(--pin-x,22%);width:3px;height:var(--line);background:rgba(255,255,255,.94);border-radius:999px}.sector-marker:before{content:"";position:absolute;left:calc(var(--pin-x,22%) - 4px);top:calc(100% + var(--line) - 5px);width:11px;height:11px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.3)}.marker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.marker-head h2{font-family:Georgia,serif;font-size:clamp(1rem,1.4vw,1.45rem);font-weight:500;font-style:italic;line-height:1;margin:0}.marker-head strong{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--sector);color:#fff;font-size:1.06rem;line-height:.9}.marker-head small{display:block;font-size:.58rem;text-transform:uppercase;letter-spacing:.03em}.grade-chart{height:60px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:5px;margin-top:4px}.grade-chart span{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;text-align:center;min-width:0}.grade-chart i{display:block;height:calc(var(--n)*4.6px + 2px);max-height:48px;border-bottom:2px solid var(--sector);background:repeating-linear-gradient(to bottom,var(--sector) 0 4px,rgba(255,255,255,.88) 4px 5px)}.grade-chart b{font-size:.62rem;line-height:1;margin-top:3px;white-space:nowrap}.marker-cinema{--sector:#d7493e;--pin-x:18%;--line:25vw;left:2%;top:4%}.marker-paraiso{--sector:#1598bd;--pin-x:50%;--line:20vw;left:26%;top:16%}.marker-slab{--sector:#ee7c2d;--pin-x:50%;--line:14vw;left:50%;top:28%}.marker-anarquista{--sector:#8aa04e;--pin-x:62%;--line:17vw;left:74%;top:10%}.panorama-swipe{display:none}
.sector-dock{min-height:82px;padding:12px max(18px,calc((100vw - 1160px)/2));display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:var(--forest);border-top:3px solid var(--orange)}.sector-dock button{border:0;border-radius:14px;padding:13px 14px;background:rgba(255,255,255,.08);color:#fff;font-weight:850;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px}.sector-dock button:hover{background:rgba(255,255,255,.15)}.sector-dock span{width:10px;height:10px;border-radius:50%;background:currentColor}.sector-dock .cinema{color:#f4776e}.sector-dock .paraiso{color:#54c3df}.sector-dock .slab{color:#ff9a55}.sector-dock .anarquista{color:#b1c879}
.alerts{background:linear-gradient(135deg,#0b4438,#062f28);color:#fff}.alert-panel{max-width:900px;display:flex;gap:18px;align-items:flex-start;padding:22px;border-radius:20px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.13)}.alert-panel p{margin:5px 0 0;color:#c7ddd6}.alert-icon{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--orange);font-weight:950;font-size:1.2rem}
.donations{background:#fff1df}.donation-copy{max-width:820px}.donation-note{margin-top:26px;padding:20px;border-radius:18px;background:#fff;display:flex;flex-direction:column;gap:4px;border-left:5px solid var(--orange)}.donation-note span{color:var(--muted)}
.mobile-app-nav,.more-menu{display:none}
.routes{background:#fff}.search-panel{background:var(--cream);padding:16px;border-radius:20px;display:grid;gap:12px}.search-box{background:#fff;border:1px solid #e5ded3;border-radius:14px;display:flex;align-items:center;gap:10px;padding:0 16px}.search-box span{font-size:1.35rem}.search-box input{height:56px;border:0;background:transparent;width:100%;outline:0}.filters{display:flex;gap:10px;flex-wrap:wrap}.filters select,.toggle{height:46px;border:1px solid var(--c-line-strong);border-radius:12px;background:#fff;color:var(--ink);padding:0 13px}.toggle{display:flex;align-items:center;gap:8px;cursor:pointer}.result-count{font-weight:800;color:var(--muted);margin:24px 0 12px}.route-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.route-row{border:1px solid var(--c-line);background:#fff;color:#111;border-radius:16px;padding:16px;text-align:left;display:grid;grid-template-columns:1fr auto;gap:6px;cursor:pointer}.route-row:hover{border-color:#c3b9aa;box-shadow:0 8px 24px rgba(0,0,0,.06)}.route-name{font-weight:850}.route-meta{color:var(--muted);font-size:.88rem}.route-grade{grid-row:1/3;grid-column:2;font-size:1.1rem;font-weight:900;padding:8px;border-radius:10px;background:var(--cream);color:#111;align-self:center}.route-tag{font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.route-tag.cinema{color:var(--red)}.route-tag.paraiso{color:var(--blue)}.route-tag.slab{color:#d85b18}.route-tag.anarquista{color:var(--olive)}
.trail{max-width:800px}.trail article{display:grid;grid-template-columns:54px 1fr;gap:18px;position:relative;padding-bottom:32px}.trail article:not(:last-child):before{content:"";position:absolute;left:26px;top:52px;bottom:2px;border-left:2px dashed rgba(255,255,255,.35)}.trail-number{width:54px;height:54px;border-radius:50%;background:var(--orange);display:grid;place-items:center;font-weight:900}.trail h3{margin:4px 0 4px}.trail p{color:#c7ddd6}.info-banner,.season-callout{display:flex;gap:16px;align-items:center;border-radius:18px;padding:18px 20px}.info-banner{margin-top:10px;background:rgba(255,255,255,.09)}.info-banner>span,.season-callout>span{font-size:1.8rem}.info-banner p,.season-callout p{margin:2px 0 0}.climate{background:#f4eee4}.season-callout{background:#fff0df;color:#6f3918;max-width:760px;margin-bottom:18px}.chart-card{background:#fff;padding:22px;border-radius:24px;box-shadow:var(--shadow);overflow:hidden}.chart-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:.82rem;font-weight:800;margin-bottom:18px}.chart-legend span:before{content:"";display:inline-block;width:18px;height:5px;border-radius:10px;margin-right:7px;vertical-align:middle}.rain-key:before{background:#a8d5de}.max-key:before{background:var(--orange)}.min-key:before{background:var(--blue)}.climate-chart{display:grid;grid-template-columns:repeat(12,minmax(54px,1fr));gap:8px;min-width:720px;height:310px;align-items:end}.chart-card{overflow-x:auto}.month-col{height:260px;display:grid;grid-template-rows:1fr auto;align-items:end;position:relative}.rain-bar{width:70%;margin:auto;background:linear-gradient(#a5d7df,#d8ecef);border-radius:8px 8px 2px 2px;position:relative}.rain-bar span{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font-size:.66rem;font-weight:800;color:#5d7377}.temp-range{position:absolute;left:50%;width:5px;border-radius:5px;background:linear-gradient(var(--orange),var(--blue));transform:translateX(-50%)}.temp-range:before,.temp-range:after{position:absolute;left:10px;font-size:.64rem;font-weight:800;white-space:nowrap}.temp-range:before{content:attr(data-max);top:-8px;color:#b94b16}.temp-range:after{content:attr(data-min);bottom:-8px;color:#087d9b}.month-label{text-align:center;font-weight:900;font-size:.72rem;text-transform:uppercase;padding-top:10px}.source-note{font-size:.78rem;color:var(--muted);margin-top:12px}
.legend-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.legend-grid article{display:flex;align-items:center;gap:18px;background:rgba(255,255,255,.08);border-radius:16px;padding:18px}.legend-grid p{margin:3px 0 0;color:#c7ddd6}.line{display:block;width:58px;border-top:4px dotted}.main-line{border-color:#ff3b30}.variant-line{border-color:#159fd0}.legend-icon{font-size:1.7rem;width:58px;text-align:center}.conduct{background:#fff}.conduct-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.conduct-grid article{min-height:150px;background:var(--cream);border-radius:18px;padding:20px;display:flex;flex-direction:column;justify-content:space-between}.conduct-grid span{font-size:2rem}.warning-card{margin-top:16px;background:#fff3df;border-left:5px solid #f0a42c;border-radius:16px;padding:20px;max-width:900px}.warning-card p{margin:6px 0 0;color:#67564a}
footer{background:#041d19;color:#fff;text-align:center;padding:58px 22px}footer img{width:220px;margin:0 auto 20px}.footer-small{font-size:.8rem;color:#8da69f}
.safety-dialog,.detail-dialog{border:0;border-radius:26px;padding:0;box-shadow:0 30px 100px rgba(0,0,0,.35);max-width:min(92vw,620px);color:var(--ink)}dialog::backdrop{background:rgba(2,24,20,.82);backdrop-filter:blur(5px)}.safety-dialog{padding:30px}.safety-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#fff0df;color:#b34a16;font-size:1.6rem;margin-bottom:18px}.safety-dialog h2{font-size:2.5rem}.safety-dialog p{color:#52605c}.detail-dialog{width:min(94vw,900px);max-height:88vh;overflow:auto}.dialog-close{position:sticky;top:12px;float:right;z-index:5;width:44px;height:44px;border:0;border-radius:50%;background:rgba(5,35,29,.9);color:#fff;font-size:1.6rem;margin:12px;cursor:pointer}.detail-hero{padding:42px 28px 28px;color:#fff}.detail-hero h2{margin-bottom:8px}.detail-body{padding:28px}.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.detail-stats div{background:var(--cream);padding:14px;border-radius:12px}.detail-stats b{display:block;font-size:1.25rem}.croqui-img{border-radius:16px;border:1px solid #eee;width:100%;margin:18px 0}.placeholder{border:2px dashed #d9d0c4;background:#faf6ef;border-radius:16px;padding:30px;text-align:center;color:var(--muted)}
.sector-page{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#fff;color:var(--ink);overflow-y:auto;overscroll-behavior:contain}.sector-page::backdrop{background:#fff;backdrop-filter:none}.sector-page-bar{position:sticky;top:0;z-index:20;height:46px;display:flex;align-items:center;padding:0 max(18px,calc((100vw - 1220px)/2));background:#080b0a;color:#fff}.sector-back{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#fff;font-weight:850;cursor:pointer;padding:8px 0}.sector-back span{font-size:1.2rem;line-height:1}.sector-page-hero{background:var(--sector-color);color:#fff;padding:24px max(24px,calc((100vw - 1220px)/2)) 38px}.sector-page-inner{width:100%;max-width:1220px;margin:0 auto}.sector-page-hero .eyebrow{color:#fff;opacity:.92}.sector-page-hero h2{font-size:clamp(3.1rem,6vw,5.4rem);margin:22px 0 20px}.sector-page-lead{max-width:610px;font-size:1.05rem}.sector-chips{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.sector-chips span{display:inline-flex;align-items:center;min-height:34px;padding:6px 16px;border-radius:999px;background:rgba(255,255,255,.16);font-size:.82rem;font-weight:800}.sector-page-body{padding:36px 24px 54px}.sector-summary{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:14px;margin-bottom:32px}.sector-summary article{min-height:86px;padding:20px;border-radius:14px;background:var(--cream)}.sector-summary small,.sector-summary b{display:block}.sector-summary small{color:#776e62;margin-bottom:4px}.sector-summary b{font-family:Georgia,"Times New Roman",serif;font-size:1.16rem;line-height:1.25}.sector-distribution{margin-bottom:28px}.sector-bars{height:126px;display:grid;grid-template-columns:repeat(8,1fr);align-items:end;gap:12px}.sector-bar{height:112px;display:flex;flex-direction:column;justify-content:flex-end;text-align:center}.sector-bar i{display:block;min-height:4px;border-radius:5px 5px 0 0}.sector-bar b{margin-top:7px;color:#776e62;font-size:.76rem}.sector-rain{margin-bottom:28px}.sector-rain h3{margin-bottom:4px}.sector-rain p{margin-bottom:3px}.sector-rain small{color:#81796d}.sector-croqui{margin-top:22px}
.croqui-open{position:relative;width:100%;aspect-ratio:2048/1554;margin:22px 0 0;padding:0;border:1px solid #e4ded5;border-radius:16px;overflow:hidden;background:#f3eee6;cursor:zoom-in}.croqui-open .croqui-img{width:100%;height:100%;margin:0;border:0;border-radius:0;object-fit:contain}.croqui-open>span{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);padding:9px 15px;border-radius:999px;background:rgba(5,35,29,.9);color:#fff;font-size:.78rem;font-weight:850;box-shadow:0 8px 24px rgba(0,0,0,.2)}.croqui-viewer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#111;color:#fff;overflow:hidden}.croqui-viewer::backdrop{background:#111;backdrop-filter:none}.croqui-viewer-bar{height:58px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:0 18px;background:#080b0a}.croqui-viewer-back{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#fff;font-weight:850;cursor:pointer}.croqui-viewer-hint{text-align:center;color:#c5cecb;font-size:.78rem}.croqui-viewer-controls{display:flex;gap:6px}.croqui-viewer-controls button{min-width:38px;height:36px;border:1px solid #40504b;border-radius:9px;background:#17211e;color:#fff;font-weight:850;cursor:pointer}.croqui-viewer-controls [data-zoom="reset"]{min-width:62px}.croqui-viewport{width:100%;height:calc(100dvh - 58px);overflow:auto;overscroll-behavior:contain;background:#181a19;touch-action:none;cursor:grab}.croqui-viewport:active{cursor:grabbing}.croqui-viewer-image{display:block;width:100%;max-width:none;height:auto;min-height:1px;transform-origin:top left;user-select:none;-webkit-user-drag:none}
.sector-route-section{margin-top:54px;padding-top:42px;border-top:1px solid #e5dfd6}.sector-route-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.sector-route-heading h3{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2rem,4vw,3.4rem);line-height:1;margin:0 0 8px}.sector-route-heading p:last-child{margin:0;color:var(--muted)}.sector-sort{display:flex;gap:7px;padding:5px;border-radius:14px;background:var(--cream)}.sector-sort button{min-height:40px;padding:0 15px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:850;cursor:pointer;white-space:nowrap}.sector-sort button.active{background:var(--forest);color:#fff;box-shadow:0 5px 14px rgba(5,47,40,.16)}.sector-route-list{padding-bottom:12px}
@media(max-width:760px){body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.section-pad{padding:58px 20px}.site-header{display:none}.hero{min-height:100svh;padding-top:58px;padding-bottom:calc(58px + env(safe-area-inset-bottom));gap:34px}.hero-logo{width:min(100%,520px);margin:6px auto 22px}.hero-lead{max-width:34rem}.hero-facts{gap:22px;justify-content:space-around}.hero-facts span{min-width:max-content;flex-direction:column;gap:0}.panorama-stage{width:1100px;aspect-ratio:2.064/1}.sector-marker{width:240px;padding:11px 13px 10px}.marker-head h2{font-size:1rem}.marker-head strong{width:43px;height:43px;font-size:.96rem}.grade-chart{height:55px}.panorama-swipe{display:block;position:absolute;left:50%;bottom:12px;transform:translateX(-50%);z-index:4;width:max-content;max-width:calc(100% - 32px);margin:0;padding:9px 14px;border-radius:999px;background:rgba(5,42,36,.88);color:#fff;font-size:.76rem;font-weight:800}.sector-dock{display:flex;overflow-x:auto;justify-content:flex-start;padding:10px 16px;scroll-snap-type:x proximity}.sector-dock button{flex:0 0 auto;min-width:145px;scroll-snap-align:start}.quick-nav{grid-template-columns:repeat(2,1fr);padding:16px}.quick-nav a{grid-template-columns:32px 1fr;padding:14px}.quick-nav small{font-size:.72rem}.sector-grid,.route-list,.legend-grid{grid-template-columns:1fr}.conduct-grid{grid-template-columns:repeat(2,1fr)}.detail-stats{grid-template-columns:1fr 1fr}.sector-page-hero{padding:22px 20px 30px}.sector-page-hero h2{font-size:clamp(2.8rem,15vw,4.1rem);margin:16px 0}.sector-page-lead{font-size:.98rem}.sector-page-body{padding:22px 18px calc(40px + env(safe-area-inset-bottom))}.sector-summary{grid-template-columns:1fr;gap:10px}.sector-summary article{min-height:auto}.sector-bars{gap:5px;overflow-x:auto}.sector-bar{min-width:38px}.sector-page-bar{height:48px;padding:0 18px}.sector-route-section{margin-top:38px;padding-top:32px}.sector-route-heading{align-items:flex-start;flex-direction:column;gap:16px}.sector-sort{width:100%;overflow-x:auto}.sector-sort button{flex:1 0 auto}.croqui-viewer-bar{height:106px;grid-template-columns:1fr auto;grid-template-rows:auto auto;padding:10px 14px}.croqui-viewer-hint{grid-row:2;grid-column:1/-1}.croqui-viewport{height:calc(100dvh - 106px)}.filters{display:grid;grid-template-columns:1fr 1fr}.filters select{width:100%}.toggle{grid-column:1/-1}.safety-dialog{padding:24px}.safety-dialog h2{font-size:2.1rem}.mobile-app-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;z-index:300;min-height:70px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(6,47,40,.97);backdrop-filter:blur(16px);box-shadow:0 -12px 36px rgba(3,28,23,.2)}.mobile-app-nav a,.mobile-app-nav button{position:relative;border:0;background:transparent;color:#b8cec7;text-decoration:none;display:flex;align-items:center;justify-content:center;padding:8px;min-width:0}.mobile-app-nav span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mobile-app-nav svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.mobile-app-nav a.active{color:var(--orange-soft)}.mobile-app-nav a.active:before{content:"";position:absolute;top:-6px;width:22px;height:3px;border-radius:0 0 3px 3px;background:var(--orange)}.more-menu[open]{display:block;position:fixed;inset:auto 0 0;width:100%;max-width:none;margin:0;border:0;border-radius:26px 26px 0 0;padding:10px 18px calc(88px + env(safe-area-inset-bottom));background:var(--paper);color:var(--ink);max-height:min(82svh,720px);overflow:auto}.more-menu::backdrop{background:rgba(3,26,22,.62);backdrop-filter:blur(3px)}.more-handle{width:46px;height:5px;border-radius:99px;background:#d5d0c7;margin:0 auto 16px}.more-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.more-heading h2{font-size:2rem;margin-bottom:18px}.more-close{width:42px;height:42px;border:0;border-radius:50%;background:var(--cream);font-size:1.5rem}.more-menu nav{display:grid;gap:9px}.more-menu nav a{display:flex;align-items:center;gap:14px;padding:14px;border-radius:16px;background:var(--cream);text-decoration:none}.more-menu nav a>span{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--forest);color:#fff;font-weight:900;font-size:1.2rem}.more-menu nav b,.more-menu nav small{display:block}.more-menu nav small{color:var(--muted)}}

/* Com um diálogo aberto, a página de trás não rola junto. */
html:has(dialog[open]){overflow:hidden}
.detail-dialog,.more-menu,.safety-dialog{overscroll-behavior:contain}

@media(min-width:761px){
  html{scroll-padding-top:72px}
  .panorama-overview{height:48.45vw}
  .reveal-ready .panorama-overview .panorama-scroll{position:fixed;top:72px;left:0;width:100vw;height:48.45vw;z-index:1;opacity:0;visibility:hidden;pointer-events:none}
  .reveal-ready .panorama-overview.is-revealed .panorama-scroll{opacity:1;visibility:visible;pointer-events:auto}
  .reveal-ready .panorama-overview .panorama-stage{width:100%;height:100%;aspect-ratio:2.064/1}
  .site-header,.hero{position:relative}.site-header{position:sticky}
  .sector-dock,main>section:not(.panorama-overview),footer{position:relative;z-index:2}
}

@media(max-width:900px) and (min-width:761px){
  .panorama-overview{height:532.95px}
  .reveal-ready .panorama-overview .panorama-scroll{height:532.95px;overflow-x:auto}
  .reveal-ready .panorama-overview .panorama-stage{width:1100px;height:auto}
}

@media(max-width:760px){
  .panorama-overview{height:532.95px}
  .reveal-ready .panorama-overview .panorama-scroll{position:fixed;top:0;left:0;width:100vw;height:532.95px;z-index:1;opacity:0;visibility:hidden;pointer-events:none;overflow-x:auto}
  .reveal-ready .panorama-overview.is-revealed .panorama-scroll{opacity:1;visibility:visible;pointer-events:auto}
  .reveal-ready .panorama-overview .panorama-stage{width:1100px;height:auto}
  .hero{position:relative;z-index:2}
  .sector-dock,main>section:not(.panorama-overview),footer{position:relative;z-index:2}
}

/* Cena panorâmica: falésia ancorada embaixo e céu expandido somente para cima. */
.panorama-reveal{position:relative;height:100svh;background:#68a9ef}
.panorama-scene{width:100%;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#68a9ef;overflow:hidden}
.panorama-scene .panorama-overview{height:auto;min-height:0;background:#68a9ef;overflow:hidden}
.panorama-scene .panorama-scroll,.reveal-ready .panorama-reveal .panorama-scroll{position:static;inset:auto;width:100%;height:100%;opacity:1;visibility:visible;pointer-events:auto;overflow-x:auto;overflow-y:hidden}
.panorama-scene .panorama-stage,.reveal-ready .panorama-reveal .panorama-stage{position:relative;width:max(100vw,1100px);height:100%;aspect-ratio:auto;background:#68a9ef;transform:none;overflow:hidden}
.panorama-canvas{position:absolute;left:0;bottom:0;width:100%;aspect-ratio:2.064/1;overflow:visible}
.panorama-canvas .panorama-photo{width:100%;height:100%;object-fit:cover;object-position:center bottom}
.reveal-ready .panorama-reveal .panorama-scene{position:fixed;top:72px;left:0;width:100%;height:calc(100svh - 72px);z-index:1;opacity:0;visibility:hidden;pointer-events:none}
.reveal-ready .panorama-reveal.is-revealed .panorama-scene{opacity:1;visibility:visible;pointer-events:auto}
.panorama-reveal .sector-dock{position:relative;z-index:5;width:100%;flex:none}
.panorama-reveal .panorama-swipe{display:none;top:clamp(28px,12vh,150px);bottom:auto}
.hero,.site-header{position:relative;z-index:2}.site-header{position:sticky;z-index:100}
main>section,.panorama-reveal+section,footer{position:relative;z-index:2}

@media(max-width:1100px){
  .panorama-reveal .panorama-swipe{display:block;position:absolute;left:50%;top:clamp(28px,12vh,150px);bottom:auto;transform:translateX(-50%);z-index:8;width:max-content;max-width:calc(100% - 32px);margin:0;padding:9px 14px;border-radius:999px;background:rgba(5,42,36,.88);color:#fff;font-size:.76rem;font-weight:800}
  
}

@media(max-width:760px){
  /* svh não muda quando a barra do navegador aparece/some — evita saltos na rolagem. */
  .panorama-reveal{height:calc(100svh - var(--mobile-nav-height,70px));background:var(--forest)}
  .reveal-ready .panorama-reveal .panorama-scene{top:0;height:calc(100svh - var(--mobile-nav-height,70px))}
  .panorama-reveal .panorama-scroll,.panorama-reveal .sector-dock{touch-action:pan-x pan-y;overscroll-behavior-x:contain;scrollbar-width:none}
  .panorama-reveal .sector-dock::-webkit-scrollbar{display:none;width:0;height:0}
  .panorama-reveal .sector-dock{min-height:70px}
}

/* Rolagem tradicional: seções com altura natural e respiro generoso entre elas. */
@media(min-width:761px){.panorama-reveal{height:calc(100svh - 72px)}}
.section-pad{padding-top:104px;padding-bottom:104px}
@media(max-width:760px){.section-pad{padding-top:72px;padding-bottom:72px}}
/* Seções vizinhas com o mesmo fundo escuro ganham uma divisória sutil. */
.alerts+.access{border-top:1px solid rgba(255,255,255,.1)}

/* Entrada suave do conteúdo de cada seção ao chegar na tela. */
@media(prefers-reduced-motion:no-preference){
  .screens-animated .fade-section>*{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
  .screens-animated .fade-section.in-view>*{opacity:1;transform:none}
  .screens-animated .fade-section.in-view>:nth-child(2){transition-delay:.08s}
  .screens-animated .fade-section.in-view>:nth-child(n+3){transition-delay:.16s}
}

/* Avisos: caixinhas com resumo que abrem o aviso completo. */
.alert-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:1000px}
.alert-card{width:100%;font:inherit;color:#fff;text-align:left;cursor:pointer;transition:background .18s ease,transform .18s ease,border-color .18s ease;-webkit-tap-highlight-color:transparent}
.alert-card:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.28);transform:translateY(-2px)}
.alert-card:active{transform:scale(.99)}
.alert-card:focus-visible{outline:3px solid var(--orange-soft);outline-offset:3px}
.alert-card small{display:block;margin-bottom:3px;font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#ffae64}
.alert-card b{display:block;font-size:1.08rem}
.alert-card .alert-more{display:inline-block;margin-top:10px;font-size:.86rem;font-weight:850;color:#ffae64}
.alert-card.info .alert-icon{background:var(--gold);color:var(--forest)}
.alert-card.info small,.alert-card.info .alert-more{color:#f8cf7e}
.alert-dialog-hero{padding:38px 28px 26px;color:#fff}
.alert-dialog-hero.warning{background:linear-gradient(145deg,#c2410f,#ff6a2b)}
.alert-dialog-hero.info{background:linear-gradient(145deg,#062f28,#0f5a49)}
.alert-dialog-hero .eyebrow{color:#fff;opacity:.9}
.alert-dialog-hero h2{margin-bottom:0;font-size:clamp(2rem,6vw,3rem)}
.alert-dialog-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:16px;border-radius:50%;background:rgba(255,255,255,.18);font-size:1.6rem}
.alert-dialog-body{padding:26px 28px 30px;font-size:1.02rem}
.alert-dialog-body h3{margin:22px 0 10px;font-size:1.05rem}
.alert-dialog-body ul{margin:0 0 22px;padding:0;list-style:none;display:grid;gap:10px}
.alert-dialog-body li{position:relative;padding:12px 14px 12px 40px;border-radius:12px;background:var(--cream)}
.alert-dialog-body li:before{content:"";position:absolute;left:16px;top:20px;width:9px;height:9px;border-radius:50%;background:var(--orange)}
.alert-dialog-note{margin:0;padding:14px 16px;border-left:4px solid var(--gold);border-radius:10px;background:#fff7e8;color:#5c4a2e}
@media(max-width:760px){
  .alert-list{grid-template-columns:1fr}
  .alert-list{gap:10px}
  .alert-card{padding:16px}
  .alerts .section-heading{margin-bottom:18px}
  .alert-dialog-hero{padding:30px 22px 22px}
  .alert-dialog-body{padding:22px 22px 26px}
}

/* Acesso em duas colunas: localização (mapa) à esquerda, trilha à direita. */
.access-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start}
.access-layout .section-heading{margin-bottom:22px}
.access-layout .section-heading h2{font-size:clamp(2.1rem,3.6vw,3.2rem)}
.map-card{position:relative;display:block;aspect-ratio:16/11;border-radius:20px;overflow:hidden;background:#0d4438;border:1px solid rgba(255,255,255,.16);box-shadow:0 20px 50px rgba(0,0,0,.25)}
.map-card iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none}
.map-hint{position:absolute;left:50%;top:14px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);padding:9px 15px;border-radius:999px;background:rgba(5,35,29,.9);color:#fff;font-size:.8rem;font-weight:850;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:background .18s ease}
.map-card:hover .map-hint{background:var(--orange)}
.map-card:focus-visible{outline:3px solid var(--orange-soft);outline-offset:3px}
.map-coords{display:flex;align-items:center;gap:8px;margin:14px 0 16px;color:#c7ddd6;font-size:.92rem;font-variant-numeric:tabular-nums}
.map-coords span{color:#ffae64;font-size:1.2rem}
.map-actions{display:flex;gap:10px;flex-wrap:wrap}
.map-actions .button{min-height:46px;padding:0 18px;font-size:.92rem}
@media(max-width:900px){
  .access-layout{grid-template-columns:1fr;gap:44px}
}
@media(max-width:760px){
  .map-card{aspect-ratio:1/1}
  .map-actions .button{flex:1 1 0}
}


/* Seção O Colorido: apresentação + conduta, clima e doações em sequência. */
.colorido-intro{background:var(--cream)}
.colorido-intro .section-heading{margin-bottom:0}
.colorido-intro .section-heading>p:last-child{font-size:1.12rem;color:var(--ink)}

/* Ficha da via: graduação, costuras e inclinação na faixa colorida. */
.detail-hero .eyebrow{color:#fff;opacity:.92}
.detail-hero h2{margin-bottom:26px;padding-right:44px}
.detail-reco{font-size:.6em;vertical-align:middle}
.detail-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.3);padding-top:18px}
.detail-hero-stats>div{padding:0 18px;border-left:1px solid rgba(255,255,255,.3);min-width:0}
.detail-hero-stats>div:first-child{padding-left:0;border-left:0}
.detail-hero-stats small{display:block;margin-bottom:4px;font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;opacity:.85}
.detail-hero-stats b{display:block;font-size:clamp(1.35rem,4vw,1.9rem);line-height:1.1;font-weight:900}
.detail-incline span{display:flex;align-items:center;gap:10px}
.detail-incline b{font-size:clamp(1rem,3vw,1.2rem)}
.detail-incline img{flex:none;width:44px;height:44px;object-fit:contain}
@media(max-width:520px){
  .detail-hero-stats>div{padding:0 10px}
  .detail-incline span{flex-direction:column;align-items:flex-start;gap:4px}
  .detail-incline img{width:38px;height:38px}
}
.incline-icons{display:flex;gap:4px;font-style:normal;flex:none}

/* Croqui em código: foto limpa da parede + vias em SVG por cima. */
.croqui-figure{position:relative;width:100%}
.croqui-figure img{display:block;width:100%;height:100%;max-width:none;margin:0;border:0;border-radius:0;user-select:none;-webkit-user-drag:none}
.croqui-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.croqui-route{fill:none;stroke-width:calc(3.4px * var(--k,1));stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:0 calc(8.6px * var(--k,1))}
.croqui-route.main{stroke:#e5161c}
.croqui-route.variant{stroke:#1b9ad6}
.croqui-anchor{fill:none;stroke:#2a2a2a;stroke-width:calc(1.9px * var(--k,1))}
.croqui-height path,.croqui-height circle{fill:#2d2d2d}
.croqui-height text,.croqui-badge text{fill:#fff;font:700 13px "Arial Narrow",Arial,sans-serif;text-anchor:middle}
.croqui-badge circle{stroke:#fff;stroke-width:2.6}
.croqui-badge.main circle{fill:#e5161c}
.croqui-badge.variant circle{fill:#1b9ad6}
.croqui-badge text{font-size:15px}
.croqui-badge text.long{font-size:12.5px}
.croqui-open.has-overlay{background:#fdf5ec}
.croqui-open.has-overlay .croqui-figure{height:100%}
.croqui-viewer-stage{width:100%}
.croqui-viewer-stage>img{display:block;width:100%;height:auto}
/* Legenda em texto. */
.croqui-legend{columns:3;column-gap:22px;margin-top:18px}
.croqui-legend .legend-route{break-inside:avoid}
.legend-route{display:block;width:100%;padding:7px 8px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;font-size:.96rem;text-align:left;cursor:pointer}
.legend-route:hover{background:var(--cream)}
.legend-route b{color:#e5161c}
.legend-route.variant b{color:#1b9ad6}
.legend-route span{color:var(--muted)}
.croqui-credits{margin:14px 8px 0;color:var(--muted);font-size:.8rem}
@media(max-width:900px){.croqui-legend{columns:2}}
@media(max-width:560px){.croqui-legend{columns:1}}

/* Bolinhas do croqui clicáveis: destacam a via na legenda. */
.croqui-badge{pointer-events:auto;cursor:pointer}
.croqui-badge circle.hit{fill:transparent;stroke:none}
.croqui-badge.selected circle:not(.hit){stroke:#ffd60a;stroke-width:5}
.legend-route.is-selected{background:#fff3c4;box-shadow:inset 0 0 0 2px #f5ae34;animation:legendPulse 1.2s ease 1}
@keyframes legendPulse{0%{background:#ffe27a}100%{background:#fff3c4}}
.croqui-viewer-caption{position:absolute;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100% - 24px);padding:10px 10px 10px 16px;border-radius:14px;background:rgba(255,255,255,.97);color:var(--ink);box-shadow:0 12px 36px rgba(0,0,0,.35);font-size:.95rem}
.croqui-viewer-caption[hidden]{display:none}
.croqui-viewer-caption b{color:#e5161c}
.croqui-viewer-caption b.variant{color:#1b9ad6}
.croqui-viewer-caption em{font-style:normal;color:var(--muted)}
.croqui-viewer-caption button{flex:none;min-height:38px;padding:0 14px;border:0;border-radius:10px;background:var(--forest);color:#fff;font-weight:800;cursor:pointer}

/* Quadro do croqui: mesma altura em todos os setores (proporção do Paraísos/Slabland). */
.croqui-frame{position:relative;margin-top:22px;aspect-ratio:2048/1070;border:1px solid #e4ded5;border-radius:16px;overflow:hidden;background:#fdf5ec}
.croqui-scroll{height:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;cursor:grab;touch-action:pan-x pan-y}
.croqui-scroll.is-dragging{cursor:grabbing;user-select:none}
.croqui-scroll .croqui-figure{width:auto;height:100%;max-width:none}
.croqui-scroll>.croqui-img{width:auto;height:100%;max-width:none;margin:0;border:0;border-radius:0}
.croqui-zoom{position:absolute;top:12px;right:12px;z-index:3;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:rgba(5,35,29,.9);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer}
.croqui-zoom:hover{background:var(--orange)}
.croqui-zoom:focus-visible{outline:3px solid var(--orange-soft);outline-offset:2px}
.croqui-zoom svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.croqui-drag-hint{position:absolute;left:50%;bottom:12px;z-index:2;transform:translateX(-50%);display:none;width:max-content;max-width:calc(100% - 24px);padding:7px 13px;border-radius:999px;background:rgba(5,35,29,.85);color:#fff;font-size:.76rem;font-weight:800;pointer-events:none;transition:opacity .3s ease}
.croqui-frame.can-pan .croqui-drag-hint{display:block}
.croqui-frame.was-panned .croqui-drag-hint{opacity:0}
@media(max-width:760px){.croqui-zoom{top:8px;right:8px;width:40px;height:40px}.croqui-drag-hint{bottom:8px;font-size:.7rem}}

/* Topo do setor: vias, acesso e distribuição dentro da faixa colorida. */
.sector-hero-stats{display:grid;grid-template-columns:auto minmax(0,1.2fr) minmax(0,1.4fr);margin-top:26px;padding-top:18px;border-top:1px solid rgba(255,255,255,.3)}
.sector-hero-stats>div{min-width:0;padding:0 22px;border-left:1px solid rgba(255,255,255,.3)}
.sector-hero-stats>div:first-child{padding-left:0;border-left:0}
.sector-hero-stats small{display:block;margin-bottom:6px;font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;opacity:.85}
.sector-hero-stats b{display:block;font-size:clamp(1.05rem,2.2vw,1.35rem);line-height:1.25;font-weight:850}
.sector-hero-stats>div:first-child b{font-size:clamp(1.6rem,4vw,2.2rem);line-height:1}
.sector-mini-bars{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;height:72px;align-items:end}
.sector-mini-bars span{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;min-width:0}
.sector-mini-bars i{display:block;border-radius:4px 4px 0 0;background:rgba(255,255,255,.92)}
.sector-mini-bars b{margin-top:5px;font-size:.66rem!important;font-weight:800;text-align:center;opacity:.9}
.sector-croqui-note{margin:0 0 -6px;color:var(--muted);font-size:.82rem}
@media(max-width:760px){
  .sector-hero-stats{grid-template-columns:auto minmax(0,1fr);row-gap:18px}
  .sector-hero-dist{grid-column:1/-1;padding-left:0!important;border-left:0!important;padding-top:16px;border-top:1px solid rgba(255,255,255,.3)}
  .sector-mini-bars{height:60px}
}

/* Topo do setor: nome à esquerda, ícones (inclinação + chuva) à direita, com balão explicativo. */
.sector-hero-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.sector-hero-top h2{margin-bottom:0}
.sector-hero-icons{display:flex;gap:10px;flex:none;margin-top:6px}
.hero-icon{position:relative;display:grid;place-items:center;width:58px;height:58px;padding:0;border:0;border-radius:16px;background:rgba(255,255,255,.16);color:#fff;cursor:pointer}
.hero-icon:hover,.hero-icon.show-tip{background:rgba(255,255,255,.28)}
.hero-icon:focus-visible{outline:3px solid #fff;outline-offset:2px}
.hero-icon-img{display:grid;place-items:center;width:40px;height:40px}
.hero-icon-img img{width:40px;height:40px;object-fit:contain}
.hero-icon-img svg{width:34px;height:34px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.hero-tip{position:absolute;top:calc(100% + 10px);right:0;z-index:10;display:none;width:max-content;max-width:240px;padding:10px 12px;border-radius:12px;background:#fff;color:var(--ink);box-shadow:0 12px 30px rgba(0,0,0,.25);font-size:.85rem;font-weight:600;line-height:1.35;text-align:left;white-space:normal}
.hero-tip b{display:block;margin-bottom:3px;font-weight:850}
.hero-tip:before{content:"";position:absolute;top:-6px;right:22px;width:12px;height:12px;background:#fff;transform:rotate(45deg)}
.hero-icon.show-tip .hero-tip{display:block}
@media(hover:hover){.hero-icon:hover .hero-tip{display:block}}
@media(max-width:760px){
  .sector-hero-top{flex-direction:column;gap:14px}
  .sector-hero-icons{margin-top:0}
  .hero-icon{width:50px;height:50px;border-radius:14px}
  .hero-icon-img,.hero-icon-img img{width:34px;height:34px}
  .hero-tip{left:0;right:auto}
  .hero-tip:before{left:20px;right:auto}
}

/* Convite para instalar o app (PWA). */
.install-banner{position:fixed;left:12px;right:12px;bottom:calc(var(--mobile-nav-height,70px) + 12px);z-index:400;display:flex;align-items:center;gap:12px;padding:12px 10px 12px 12px;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 16px 44px rgba(3,28,23,.35);animation:installIn .35s ease}
.install-banner[hidden]{display:none}
.install-banner img{flex:none;border-radius:12px}
.install-banner div{min-width:0;flex:1}
.install-banner b{display:block;font-size:.95rem}
.install-banner span{display:block;color:var(--muted);font-size:.8rem;line-height:1.3}
.install-go{flex:none;min-height:40px;padding:0 16px;border:0;border-radius:12px;background:var(--orange);color:#fff;font-weight:850;cursor:pointer}
.install-close{flex:none;width:34px;height:34px;border:0;border-radius:50%;background:var(--cream);color:var(--ink);font-size:1.2rem;cursor:pointer}
@keyframes installIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(min-width:761px){.install-banner{left:auto;right:24px;bottom:24px;width:420px}}
.footer-install{margin-top:18px;min-height:44px;padding:0 18px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:transparent;color:#fff;font-weight:800;cursor:pointer}
.footer-install[hidden]{display:none}
.install-dialog-body{padding:30px 26px 26px;text-align:center}
.install-dialog-body img{margin:0 auto 12px;border-radius:16px}
.install-dialog-body h2{font-size:2rem;margin-bottom:16px}
.install-dialog-body ol{margin:0 0 16px;padding-left:22px;text-align:left;display:grid;gap:10px}
.install-dialog-body svg{width:20px;height:20px;vertical-align:-4px;fill:none;stroke:#0a84ff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.install-dialog-note{margin:0;color:var(--muted);font-size:.85rem}

/* Abertura animada da capa (só quando html.js-intro; começa com .intro-play). */
@keyframes introLogo{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
@keyframes introReveal{from{opacity:0;clip-path:inset(0 50% 0 50%)}to{opacity:1;clip-path:inset(0 0 0 0)}}
@keyframes introFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes introRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes introRing{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:none}}
.js-intro .hero-logo,.js-intro .hero-center .eyebrow,.js-intro .hero-lead,.js-intro .hero-actions .button,.js-intro .hero-facts span,.js-intro .hero:after{opacity:0}
.intro-play .hero-logo{animation:introLogo .8s cubic-bezier(.2,.75,.3,1) .05s both}
.intro-play .hero-center .eyebrow{animation:introReveal .7s cubic-bezier(.4,0,.2,1) .55s both}
.intro-play .hero-lead{animation:introFade .7s ease .85s both}
.intro-play .hero-actions .button{animation:introFade .6s ease 1.05s both}
.intro-play .hero-actions .button+.button{animation-delay:1.18s}
.intro-play .hero-facts span{animation:introRise .7s cubic-bezier(.2,.75,.3,1) 1.35s both}
.intro-play .hero-facts span:nth-child(2){animation-delay:1.46s}
.intro-play .hero-facts span:nth-child(3){animation-delay:1.57s}
.intro-play .hero:after{animation:introRing 1.8s ease .1s both}

/* Texto de apresentação da seção O Colorido. */
.colorido-intro .section-heading{margin-bottom:22px}
.colorido-text{max-width:760px}
.colorido-text p{margin:0 0 16px;font-size:1.12rem;line-height:1.65;color:var(--ink)}
.colorido-text p:first-child{font-size:1.26rem;line-height:1.55}
.colorido-text p:last-child{margin-bottom:0}
@media(max-width:760px){.colorido-text p{font-size:1.02rem}.colorido-text p:first-child{font-size:1.12rem}}

/* Seção de doações: texto do GESI, formas de ajudar e nota final. */
.donation-copy>p{font-size:1.06rem;line-height:1.6}
.donation-copy h3{margin:26px 0 12px;font-size:1.1rem}
.donation-list{margin:0 0 22px;padding:0;list-style:none;display:grid;gap:10px}
.donation-list li{position:relative;padding:14px 16px 14px 42px;border-radius:14px;background:#fff;font-size:1.02rem}
.donation-list li:before{content:"";position:absolute;left:18px;top:22px;width:9px;height:9px;border-radius:50%;background:var(--orange)}
.donation-copy p.donation-note{display:block;margin:0;padding:16px 18px;border-left:5px solid var(--gold);border-radius:14px;background:#fff8e8;color:#5c4a2e;font-size:1rem}

/* Gráfico de clima: dois painéis alinhados (chuva / temperatura). */
.chart-card{overflow:visible;position:relative}
.climate-chart{display:block;min-width:0;height:auto;position:relative}
.clim-block+.clim-block{margin-top:14px;padding-top:14px;border-top:1px solid var(--c-line-soft)}
.clim-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:2px}
.clim-head b{font-size:1rem}
.clim-head span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.8rem;font-weight:700}
.clim-key{display:inline-block;width:10px;height:10px;border-radius:3px}
.clim-key.line{height:3px;width:14px;border-radius:2px;margin-left:6px}
.climate-chart svg{display:block;overflow:visible}
.clim-grid{stroke:#ece6dc;stroke-width:1}
.clim-grid.base{stroke:#c9c0b2}
.clim-y{fill:var(--muted);font-size:11px;text-anchor:end}
.clim-x{fill:var(--muted);font-size:11px;font-weight:700;text-anchor:middle;text-transform:uppercase}
.clim-val{fill:var(--ink);font-size:11px;font-weight:800;text-anchor:middle}
.clim-end{fill:var(--ink);font-size:11px;font-weight:800}
.clim-dry{fill:#f5ae34;opacity:.12}
.clim-dry-label{fill:#9a6a12;font-size:11px;font-weight:800;text-anchor:middle;letter-spacing:.04em}
.clim-band{fill:#e8590c;opacity:.08}
.clim-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.clim-dot{stroke:#fff;stroke-width:2}
.clim-cursor{fill:var(--ink);opacity:0;transition:opacity .15s}
.clim-cursor.on{opacity:.06}
.clim-hit{fill:transparent;cursor:pointer}
.clim-tip{position:absolute;z-index:5;display:grid;gap:4px;min-width:170px;padding:10px 12px;border-radius:12px;background:#fff;box-shadow:0 10px 30px rgba(5,37,31,.18);font-size:.84rem;pointer-events:none}
.clim-tip[hidden]{display:none}
.clim-tip b{font-size:.9rem}
.clim-tip span{display:flex;align-items:center;gap:6px;color:var(--muted)}
.clim-tip span .clim-key.line{margin-left:0}
.clim-tip strong{margin-left:auto;color:var(--ink)}

/* Cabeçalho da legenda (que agora é a lista de vias do setor) com os botões de ordenar. */
.legend-head{display:flex;align-items:center;justify-content:space-between;gap:14px 20px;flex-wrap:wrap;margin-top:26px}
.legend-head h3{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.5rem,3vw,2.1rem);line-height:1}
.legend-head h3 small{font-family:inherit;font-size:.55em;color:var(--muted);vertical-align:middle}
.legend-sort{width:auto;flex:0 1 auto}
.legend-head+.croqui-legend{margin-top:14px}
@media(max-width:560px){.legend-sort{width:100%}.legend-sort button{min-height:38px;padding:0 10px;font-size:.88rem}}

/* App instalado (tela cheia): o topo fica sob a barra de hora/bateria do celular.
   As barras com "Voltar" descem o tamanho dessa área (env(safe-area-inset-top)) para ficarem tocáveis. */
.croqui-viewer-bar{box-sizing:content-box;padding-top:env(safe-area-inset-top)}
@media(max-width:760px){.croqui-viewer-bar{padding-top:calc(10px + env(safe-area-inset-top))}}
.sector-page-bar{box-sizing:content-box;padding-top:env(safe-area-inset-top)}
.dialog-close{top:calc(12px + env(safe-area-inset-top))}
.croqui-viewer-back{justify-self:start;min-height:44px;padding:0 14px 0 10px;margin-left:-10px;border-radius:10px;background:rgba(255,255,255,.12)}
.croqui-viewport{height:calc(100dvh - 58px - env(safe-area-inset-top))}
@media(max-width:760px){.croqui-viewer-bar{height:86px}.croqui-viewport{height:calc(100dvh - 106px - env(safe-area-inset-top))}}
/* Faixa sólida atrás da hora/bateria (app instalado): o conteúdo que rola por baixo não aparece ali.
   Fora do app instalado a altura é 0. Nas telas abertas (setor, croqui) a própria barra do "Voltar" cobre essa faixa. */
body::before{content:"";position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top);background:#062f28;z-index:1000;pointer-events:none}

/* ===== Fase 1: "Já escalei" (guardado no aparelho) ===== */
:root{--sent:#1f8a4c}
.route-item{display:grid;grid-template-columns:auto 1fr;align-items:stretch;gap:0;position:relative}
.route-item .route-row{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0;min-width:0}
.route-check{width:52px;display:grid;place-items:center;border:1px solid var(--c-line);border-right:0;border-radius:16px 0 0 16px;background:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent}
.route-check svg{width:28px;height:28px;padding:4px;border:2px solid #c9bfb1;border-radius:50%;fill:none;stroke:transparent;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;transition:background .15s,border-color .15s,stroke .15s,transform .15s}
.route-check:hover svg{border-color:var(--sent);stroke:#b9dcc6}
.route-check:active svg{transform:scale(.88)}
.route-item.is-sent .route-check svg{background:var(--sent);border-color:var(--sent);stroke:#fff}
.route-item.is-sent .route-check,.route-item.is-sent .route-row{background:#f2faf5;border-color:#cfe8d8}
.route-check:focus-visible{outline:3px solid var(--sent);outline-offset:-3px}

/* Painel "meu progresso" na Busca rápida */
.my-progress{margin-top:18px;padding:16px 18px;border:1px solid var(--c-line);border-radius:16px;background:#fff}
.my-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap}
.my-progress-head p{display:flex;align-items:center;gap:10px;margin:0;color:var(--ink)}
.my-progress-head b{font-size:1.15rem}
.my-progress-icon{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--sent);color:#fff;font-weight:900}
.my-progress-actions{display:flex;gap:6px}
.my-progress-actions button{min-height:36px;padding:0 12px;border:1px solid var(--c-line-strong);border-radius:10px;background:#fff;color:var(--ink);font-weight:800;font-size:.85rem;cursor:pointer}
.my-progress-actions button:hover{border-color:var(--sent)}
.my-progress-track{height:8px;margin:14px 0 12px;border-radius:99px;background:var(--c-line-soft);overflow:hidden}
.my-progress-track i{display:block;height:100%;border-radius:99px;background:var(--sent);transition:width .3s ease}
.my-progress-sectors{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.86rem;color:var(--muted)}
.my-progress-sectors span{display:inline-flex;align-items:center;gap:6px}
.my-progress-sectors i{width:9px;height:9px;border-radius:50%;background:var(--c)}
.my-progress-sectors b{color:var(--ink)}
.my-progress-note{margin:10px 0 0;font-size:.78rem;color:var(--muted)}

/* Ficha da via: botão grande */
.sent-toggle{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin-bottom:18px;border:2px solid var(--sent);border-radius:14px;background:#fff;color:var(--sent);font:inherit;font-weight:850;font-size:1rem;cursor:pointer}
.sent-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.sent-toggle.on{background:var(--sent);color:#fff}

/* Legenda do setor: ✓ verde nas vias já escaladas */
.legend-route.is-sent::after{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;margin-left:6px;border-radius:50%;background:var(--sent);color:#fff;font-size:.7rem;font-weight:900;vertical-align:1px}

/* Topo do setor: 4 números (Vias, Escaladas, Acesso, Distribuição) */
.sector-hero-stats{grid-template-columns:auto auto minmax(0,1.2fr) minmax(0,1.4fr)}
.sector-hero-stats>div:nth-child(2) b{font-size:clamp(1.6rem,4vw,2.2rem);line-height:1}
@media(max-width:760px){
  .sector-hero-stats{grid-template-columns:auto auto minmax(0,1fr)}
  .sector-hero-stats>div{padding:0 14px}
  .filters #sentFilter{grid-column:1/-1}
  .my-progress{padding:14px}
  .my-progress-actions{width:100%}
  .my-progress-actions button{flex:1}
}

/* Página termina nos setores (ver initHomeLock em app.js): seções de baixo só pelo menu. */
.home-lock #vias,.home-lock #alertas,.home-lock #acesso,.home-lock #colorido,.home-lock footer{display:none}
/* Celular no navegador: compensa a barra de endereço que some ao rolar, para o mapa encaixar inteiro. */
.home-lock main::after{content:"";display:block;height:calc(100lvh - 100svh);background:var(--forest)}
/* Aviso discreto ao tentar rolar além dos setores: os menus piscam. */
@keyframes navNudge{0%,100%{transform:none}30%{transform:translateY(-5px)}60%{transform:translateY(1px)}}
@keyframes navGlow{0%,100%{color:inherit}35%{color:var(--orange)}}
.nav-nudge .mobile-app-nav a:not([data-nav-target="setores"]) svg{animation:navNudge .6s ease 2}
.nav-nudge .mobile-app-nav a:not([data-nav-target="setores"]) span,.nav-nudge .main-nav a:not([href="#setores"]){animation:navGlow 1.2s ease 1}
.nav-nudge .mobile-app-nav a:nth-child(3) svg{animation-delay:.08s}
.nav-nudge .mobile-app-nav a:nth-child(4) svg{animation-delay:.16s}
.nav-nudge .mobile-app-nav a:nth-child(5) svg{animation-delay:.24s}
@media(prefers-reduced-motion:reduce){.nav-nudge .mobile-app-nav svg{animation:none!important}}

/* ===== Fase 2: notas (estrelas) e conta Google ===== */
:root{--star:#f2a516}
.rating-tag{color:#8a5a00;font-weight:800;white-space:nowrap}
.rating-tag small{font-weight:600;color:var(--muted)}
.legend-route .rating-tag{margin-left:6px;font-size:.86em}
.rating-block{margin:0 0 18px;padding:16px;border:1px solid var(--c-line-warm);border-radius:14px;background:var(--c-card-warm)}
.rating-summary{margin:0 0 10px;color:var(--ink)}
.rating-summary b{font-size:1.35rem;color:#8a5a00;margin-right:6px}
.rating-summary span{color:var(--muted)}
.rating-summary.muted{color:var(--muted);font-size:.92rem}
.rating-label{margin:4px 0 6px;font-weight:800;font-size:.86rem;color:var(--ink)}
.rating-stars{display:flex;gap:4px}
.rating-stars button{width:46px;height:46px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent}
.rating-stars svg{width:34px;height:34px;fill:#fff;stroke:#c9b48a;stroke-width:1.5;stroke-linejoin:round;transition:transform .12s,fill .12s}
.rating-stars button.on svg{fill:var(--star);stroke:#d18a00}
.rating-stars button:active svg{transform:scale(.85)}
.rating-stars button:focus-visible{outline:3px solid var(--star)}
.rating-note{margin:8px 0 0;font-size:.8rem;color:var(--muted)}
.google-signin{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 16px;border:1px solid #d6d0c4;border-radius:12px;background:#fff;color:#1f1f1f;font:inherit;font-weight:800;cursor:pointer}
.google-signin:hover{border-color:#9b9384}
.google-signin.small{min-height:38px;padding:0 12px;font-size:.86rem}
.g-logo{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:conic-gradient(#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0);color:#fff;font-weight:900;font-size:.8rem}
.my-account{display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--c-line-soft);font-size:.88rem;color:var(--ink)}
.my-account:empty{display:none}
.account-who{display:inline-flex;align-items:center;gap:8px}
.account-who img{width:26px;height:26px;border-radius:50%}
.my-account [data-signout]{min-height:34px;padding:0 12px;border:1px solid var(--c-line-strong);border-radius:10px;background:#fff;font-weight:800;cursor:pointer}

/* iPhone/Android instalado: altura medida em JS (--app-h) no lugar de svh; sem espaçador da barra de endereço. */
@media(max-width:760px){
  .standalone .panorama-reveal{height:calc(var(--app-h,100svh) - var(--mobile-nav-height,70px))}
  .standalone.reveal-ready .panorama-reveal .panorama-scene{height:calc(var(--app-h,100svh) - var(--mobile-nav-height,70px))}
  .standalone.home-lock main::after{display:none}
  .standalone .hero{min-height:var(--app-h,100svh)}
}
/* Fundo atrás da página (aparece no "elástico" do iPhone ao puxar além do fim): verde escuro como o menu, nunca claro. */
html{background:#062f28}
/* Na tela de setores não há nada abaixo: sem efeito elástico de rolagem. */
.home-lock,.home-lock body{overscroll-behavior-y:none}
/* Espaço no fim da página = altura real do menu de baixo (medida em JS). Antes era 70px + área do gesto,
   maior que o menu no iPhone: a sobra aparecia como faixa clara entre os setores e o menu. */
@media(max-width:760px){body{padding-bottom:var(--mobile-nav-height,calc(70px + env(safe-area-inset-bottom)))}}
/* iPhone (iOS 26) pinta a barra do relógio com a cor de fundo do elemento fixo no topo: o mapa dos setores
   é fixo durante a revelação e tinha fundo azul-céu. Fundo verde do site (a foto cobre tudo por cima). */
.reveal-ready .panorama-reveal .panorama-scene{background:#062f28}
body::before{height:max(env(safe-area-inset-top),1px)}

/* ===== Fase 3: comentários ===== */
.comments-block{margin:0 0 18px}
.comments-block h3{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:1.35rem}
.comments-block h3 small{font-family:inherit;font-size:.7em;color:var(--muted)}
.comments-empty{margin:0 0 12px;color:var(--muted);font-size:.92rem}
.comment{margin:0 0 10px;padding:12px 14px;border:1px solid var(--c-line);border-radius:12px;background:#fff}
.comment.mine{border-color:#cfe8d8;background:#f7fcf9}
.comment header{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-bottom:4px;font-size:.86rem}
.comment header span{color:var(--muted)}
.comment p{margin:0;white-space:pre-line;overflow-wrap:anywhere;color:var(--ink)}
.comment footer{display:flex;gap:6px;margin-top:8px}
.comment footer button{min-height:32px;padding:0 10px;border:1px solid var(--c-line-strong);border-radius:8px;background:#fff;font-size:.8rem;font-weight:800;cursor:pointer}
.comment-badge{padding:2px 8px;border-radius:99px;background:#fff1c9;color:#7a5600!important;font-size:.72rem;font-weight:800}
.comment-badge.no{background:#fde2df;color:#9c2b20!important}
.comment-form textarea{width:100%;box-sizing:border-box;min-height:88px;padding:12px;border:1px solid #d6d0c4;border-radius:12px;font:inherit;font-size:1rem;resize:vertical;background:#fff;color:var(--ink)}
.comment-form textarea:focus{outline:2px solid var(--sent);border-color:transparent}
.comment-form-foot{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.comment-form-foot small{color:var(--muted)}
.comment-form-foot span{display:flex;gap:6px}
.comment-send,.comment-cancel{min-height:42px;padding:0 18px;border:0;border-radius:10px;font-weight:850;cursor:pointer}
.comment-send{background:var(--forest);color:#fff}
.comment-send:disabled{opacity:.6}
.comment-cancel{background:var(--c-line-soft);color:var(--ink)}
.rating-note a{color:inherit}

/* Celular: o gesto vertical é sempre da página (o mapa só desliza para o lado pelo JS, quando o dedo anda
   claramente na horizontal) e a barra dos setores não desliza: os 4 cabem lado a lado. */
@media(max-width:760px){
  .panorama-reveal .panorama-scroll{touch-action:pan-y}
  .panorama-reveal .sector-dock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px 8px;overflow:visible;touch-action:auto}
  .panorama-reveal .sector-dock button{min-width:0;padding:10px 4px;gap:5px;font-size:.8rem;white-space:nowrap}
  .panorama-reveal .sector-dock span{width:8px;height:8px;flex:none}
  .dock-long{display:none}
}
.dock-long{font-style:normal}
.detail-photo{margin-bottom:18px}

/* ===== Perfil e menu "Mais" ===== */
.mobile-app-nav button.active{color:var(--orange-soft)}
.mobile-app-nav button.active:before{content:"";position:absolute;top:-6px;width:22px;height:3px;border-radius:0 0 3px 3px;background:var(--orange)}
.mobile-app-nav button{cursor:pointer;font:inherit}
.more-menu nav a>span svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.more-menu nav a{color:var(--ink)}
.profile-body{max-width:760px;margin:0 auto;padding:22px 18px calc(40px + env(safe-area-inset-bottom))}
.profile-who{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.profile-who img,.profile-initial{flex:none;width:58px;height:58px;border-radius:50%}
.profile-initial{display:grid;place-items:center;background:var(--forest);color:#fff;font-size:1.5rem;font-weight:900}
.profile-who div{flex:1;min-width:0}
.profile-who h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:1.6rem;line-height:1.1}
.profile-who p{margin:4px 0 0;color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}
.profile-who>button{flex:none;min-height:36px;padding:0 12px;border:1px solid var(--c-line-strong);border-radius:10px;background:#fff;font-weight:800;cursor:pointer}
.profile-who.guest+.google-signin{margin-bottom:18px}
.profile-admin{margin:0 0 18px;padding:14px;border-radius:14px;background:var(--forest);color:#fff}
.profile-admin h3{margin:0 0 10px;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;opacity:.85}
.profile-admin div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-admin a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:0 6px;border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font-weight:800;font-size:.88rem;text-decoration:none;text-align:center}
.profile-admin a b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--orange);font-size:.72rem}
.profile-tabs{margin-bottom:12px}
.profile-tabs small{font-weight:700;opacity:.75}
.profile-list{display:grid;gap:8px}
.profile-route{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px 10px;width:100%;padding:12px 14px;border:1px solid var(--c-line);border-radius:12px;background:#fff;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.profile-route .route-tag{grid-row:1;font-size:.7rem}
.profile-route b{grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-route small{grid-column:3;font-weight:800}
.profile-route em,.profile-route .comment-badge{grid-column:1/-1;font-style:normal;color:var(--muted);font-size:.82rem;justify-self:start}
.profile-stars{color:#d18a00!important;letter-spacing:1px}
.profile-comment{border:1px solid var(--c-line);border-radius:12px;background:#fff;overflow:hidden}
.profile-comment .profile-route{border:0;border-radius:0}
.profile-comment p{margin:0;padding:0 14px 12px;white-space:pre-line;overflow-wrap:anywhere;color:#333;font-size:.92rem}
.comment-badge.ok{background:#e1f3e8;color:#1f6b3b!important}

/* ===== Abertura sem rolagem (initHomeScreen) ===== */
html.at-home,html.at-home body{overflow:hidden;overscroll-behavior:none}
.at-home .hero{touch-action:none}
.home-hidden .hero{display:none}
.home-arrow{position:absolute;left:50%;bottom:calc(112px + env(safe-area-inset-bottom));z-index:3;display:grid;place-items:center;width:46px;height:46px;margin-left:-23px;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;animation:homeArrow 2.4s ease-in-out infinite}
.home-arrow svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@keyframes homeArrow{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(7px);opacity:1}}
/* Parado 5 s na capa: o botão "Explorar setores" pulsa e a seta fica laranja. */
@keyframes explorePulse{0%{box-shadow:0 0 0 0 rgba(255,74,22,.55)}70%{box-shadow:0 0 0 16px rgba(255,74,22,0)}100%{box-shadow:0 0 0 0 rgba(255,74,22,0)}}
.home-idle .hero-explore{animation:explorePulse 1.6s ease-out infinite}
.home-idle .home-arrow{background:var(--orange);opacity:1}
/* Botão para voltar à capa, no canto do mapa (celular; no computador o logo do topo faz isso). */
.home-btn{position:absolute;top:calc(12px + env(safe-area-inset-top));left:12px;z-index:9;display:grid;place-items:center;width:44px;height:44px;padding:0;border:2px solid rgba(255,255,255,.85);border-radius:50%;background:var(--forest);box-shadow:0 6px 18px rgba(0,0,0,.25);cursor:pointer;overflow:hidden}
.home-btn img{width:100%;height:100%;object-fit:cover}
@media(min-width:761px){.home-btn{display:none}.home-arrow{bottom:120px}}
@media(prefers-reduced-motion:reduce){.home-arrow,.home-idle .hero-explore{animation:none}}
/* Seta entre os botões e os números (no fluxo da capa, sem sobrepor). */
.home-arrow{position:relative;left:auto;bottom:auto;margin:-14px auto -10px}
@media(min-width:761px){.home-arrow{bottom:auto}}
.home-hidden .home-arrow{display:none}
/* Na abertura animada, a seta entra depois dos números. */
@keyframes homeArrowIn{from{opacity:0}to{opacity:.55}}
.js-intro .home-arrow{opacity:0;animation:none}
.js-intro.intro-play .home-arrow{animation:homeArrowIn .6s ease 2.3s forwards,homeArrow 2.4s ease-in-out 2.9s infinite}

/* ===== Etapa B: campos da via ===== */
.route-status{margin:0 0 16px;padding:12px 14px;border-radius:12px}
.route-status b{display:block}
.route-status p{margin:4px 0 0;font-size:.9rem}
.route-status.closed{background:#fde2df;color:#8a1f16}
.route-status.project{background:#fff1c9;color:#6b4c00}
.route-info{margin:0 0 18px;padding:14px 16px;border:1px solid var(--c-line);border-radius:14px;background:#fff}
.route-info h3{margin:0 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:1.25rem}
.route-desc{margin:0 0 10px;white-space:pre-line;color:#333}
.route-info-row{display:flex;justify-content:space-between;gap:12px;margin:0;padding:8px 0;border-top:1px solid var(--c-line-soft);font-size:.92rem}
.route-info-row span{color:var(--muted)}
.route-info-row b{text-align:right}
.route-video{display:inline-flex;margin-top:10px;padding:10px 14px;border-radius:10px;background:var(--forest);color:#fff;font-weight:800;text-decoration:none}

/* ===== Capa como "cortina" (initHomeScreen) — substitui a transição por rolagem ===== */
html:not(.at-home):not(.hero-anim) .hero{display:none}
html.at-home .hero,html.hero-anim .hero{position:fixed;inset:0;z-index:250;min-height:0;height:var(--app-h,100dvh);overflow:hidden;
  transition:transform .7s cubic-bezier(.65,0,.35,1);will-change:transform;box-shadow:0 24px 48px rgba(0,0,0,.35)}
html.hero-up .hero{transform:translateY(-100%)}
@media(prefers-reduced-motion:reduce){html.at-home .hero,html.hero-anim .hero{transition:none}}
/* Mapa: deslizar lateral nativo do celular (suave, com embalo). */
@media(max-width:760px){.panorama-reveal .panorama-scroll{touch-action:pan-x pan-y;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}}

/* Avisos vindos do painel */
.alert-card.danger{border-color:#f0b4ad}
.alert-card.danger .alert-icon{background:#c0392b;color:#fff}
.alert-dialog-hero.danger{background:#b3261e;color:#fff}
.alerts-empty{margin:0;padding:18px;border-radius:14px;background:rgba(255,255,255,.08);color:inherit;font-weight:700}
.climate-chart svg{width:100%;height:auto}

/* ===== Instagram em O Colorido (posts escolhidos no painel) ===== */
.insta-feed{background:var(--cream);padding-top:0}
.insta-feed .section-heading{margin-bottom:16px}
.insta-row{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 14px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.insta-card{flex:0 0 min(326px,82vw);margin:0;scroll-snap-align:start;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(5,42,36,.1)}
.insta-card iframe{display:block;width:100%;height:560px;border:0;background:#fff}
.insta-card figcaption{padding:10px 14px 12px;font-size:.88rem;color:var(--muted)}
.insta-offline{margin:0;color:var(--muted)}

/* ===== Menu Administração (só administradores) ===== */
.more-admin{margin-top:14px;padding-top:12px;border-top:1px solid var(--c-line)}
.more-admin[hidden]{display:none}
.more-admin h3{margin:0 0 10px;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.more-admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.more-admin-grid a{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:14px;background:var(--forest);color:#fff;text-decoration:none;font-size:.72rem;font-weight:800;text-align:center}
.more-admin-grid svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.more-admin-grid b{position:absolute;top:4px;right:6px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--orange);font-size:.66rem;line-height:18px}
.more-admin-grid b:empty{display:none}
.nav-admin[hidden]{display:none}
.main-nav .nav-admin{padding:6px 12px;border:1px solid rgba(255,255,255,.35);border-radius:999px}
.more-admin-grid span{max-width:100%;line-height:1.15;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}.more-admin-grid a{font-size:.68rem;padding:10px 3px}

/* ===== Foto da via com traçado (ficha) ===== */
.route-photo{position:relative;display:block;width:100%;margin:0 0 18px;padding:0;border:0;border-radius:14px;overflow:hidden;background:#1d211f;cursor:zoom-in}
.route-photo img{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain}
.route-photo svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.route-photo-zoom{position:absolute;right:10px;bottom:10px;padding:6px 10px;border-radius:99px;background:rgba(6,47,40,.85);color:#fff;font-size:.78rem;font-weight:800}
.route-photo{margin-left:auto;margin-right:auto}.route-photo img{max-height:none;object-fit:fill}

/* Menu ☰ Mais: sobe deslizando ao abrir e desce ao fechar (fundo escurece/clareia junto). */
@keyframes sheetUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes sheetDown{from{transform:translateY(0)}to{transform:translateY(100%)}}
@keyframes sheetFadeIn{from{opacity:0}to{opacity:1}}
@keyframes sheetFadeOut{from{opacity:1}to{opacity:0}}
.more-menu[open]{animation:sheetUp .32s cubic-bezier(.2,.8,.2,1)}
.more-menu[open]::backdrop{animation:sheetFadeIn .32s ease}
.more-menu.closing{animation:sheetDown .22s cubic-bezier(.4,0,1,1) forwards}
.more-menu.closing::backdrop{animation:sheetFadeOut .22s ease forwards}
@media(prefers-reduced-motion:reduce){.more-menu[open],.more-menu[open]::backdrop,.more-menu.closing,.more-menu.closing::backdrop{animation:none}}
.profile-body .my-progress{margin:0 0 16px}
@media(max-width:760px){.filters select{font-size:.88rem;padding:0 8px;text-overflow:ellipsis}}

/* Digitando no celular: menu de baixo escondido (volta ao fechar o teclado). */
@media(max-width:760px){
  .typing .mobile-app-nav,.keyboard .mobile-app-nav{display:none}
  .typing body,.keyboard body{padding-bottom:env(safe-area-inset-bottom)}
}

/* ===== O Colorido: atalhos fixos no topo da seção ===== */
.colorido-nav{position:sticky;top:0;z-index:40;display:flex;gap:6px;overflow-x:auto;padding:10px max(16px,calc((100vw - 1160px)/2));background:rgba(251,251,250,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--c-line);scrollbar-width:none}
.colorido-nav::-webkit-scrollbar{display:none}
@media(min-width:761px){.colorido-nav{top:72px}}
.colorido-nav a{flex:none;padding:8px 14px;border-radius:999px;background:var(--cream);color:var(--ink);font-weight:800;font-size:.86rem;text-decoration:none;border:1px solid var(--c-line)}
.colorido-nav a.active{background:var(--forest);color:#fff;border-color:var(--forest)}
.colorido-nav a[hidden]{display:none}
/* Conduta: item com detalhe abre e fecha */
.conduct-item{border-radius:18px;background:#fff;box-shadow:var(--shadow)}
.conduct-item summary{display:flex;align-items:center;gap:12px;padding:16px;cursor:pointer;list-style:none}
.conduct-item summary::-webkit-details-marker{display:none}
.conduct-item summary span{font-size:1.4rem}
.conduct-item summary b{flex:1}
.conduct-item summary i{font-style:normal;font-weight:900;color:var(--muted);transition:transform .2s}
.conduct-item[open] summary i{transform:rotate(45deg)}
.conduct-item>div{padding:0 16px 14px 52px;color:var(--muted);font-size:.92rem}
.conduct-item>div p{margin:0 0 6px}
/* Como ajudar: Pix e contato */
.pix-box{display:grid;gap:8px;margin:18px 0;padding:16px;border-radius:16px;background:#fff;border:2px solid var(--sent,#1f8a4c)}
.pix-box p{margin:0;color:var(--muted);font-weight:700}
.pix-box code{font-size:1.05rem;font-weight:800;color:var(--ink);word-break:break-all}
.pix-box .button{justify-self:start}
.pix-soon{margin:16px 0;padding:12px 14px;border-radius:12px;background:#e9f4ee;color:#1f5e3b;font-weight:800}
.help-contact{margin:12px 0;padding:12px 14px;border-radius:12px;background:var(--cream)}
.help-contact p{margin:0}

/* ===== Perfil: pirâmide e minha conta ===== */
.profile-pyramid{margin:0 0 16px;padding:14px 16px;border:1px solid var(--c-line);border-radius:14px;background:#fff}
.profile-pyramid h3,.profile-account h3{margin:0 0 4px;font-family:Georgia,"Times New Roman",serif;font-size:1.2rem}
.pyr{display:grid;gap:5px;margin-top:10px}
.pyr-row{display:grid;grid-template-columns:44px 1fr 28px;align-items:center;gap:8px;font-size:.85rem}
.pyr-row span{font-weight:800;color:var(--muted);text-align:right}
.pyr-row i{display:block;height:14px;border-radius:0 4px 4px 0;background:var(--sent,#1f8a4c)}
.pyr-row b{color:var(--ink)}
.profile-account{margin-top:22px;padding:14px 16px;border:1px solid var(--c-line);border-radius:14px;background:#fff}
.profile-account div{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.profile-account button{min-height:40px;padding:0 14px;border:1px solid var(--c-line-strong);border-radius:10px;background:#fff;font-weight:800;cursor:pointer}
.profile-account button.danger{color:#b3261e;border-color:#efc9c5}
.profile-account a{color:inherit}

/* Menu do topo: itens nunca quebram em duas linhas; em telas médias (tablet) o espaço entre eles diminui. */
.main-nav a{white-space:nowrap}
@media(min-width:761px) and (max-width:1100px){
  .main-nav{gap:14px}
  .main-nav a{font-size:.84rem}
  .site-header .brand img{max-height:44px}
}
.my-progress-actions[hidden]{display:none}
/* Números da capa: quando quebram em duas linhas (número em cima, palavra embaixo), ficam centralizados. */
.hero-facts span{align-items:center;text-align:center}

/* Avisos não vistos: bolinha laranja com o número (sininho do celular e "Avisos" no topo). */
.nav-badge{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--orange);color:#fff;font:800 .68rem/1 Inter,system-ui,sans-serif;box-shadow:0 0 0 2px var(--forest)}
.nav-badge[hidden]{display:none}
.mobile-app-nav .nav-badge{position:absolute;top:2px;left:calc(50% + 4px)}
.main-nav .nav-badge{margin-left:6px;vertical-align:2px}
@keyframes badgePop{0%{transform:scale(.4)}70%{transform:scale(1.15)}100%{transform:scale(1)}}
.nav-badge:not([hidden]){animation:badgePop .35s ease}
