:root{--ink:#151310;--muted:#625d55;--line:#e7e3db;--paper:#fff;--wash:#faf8f4;--red:#e23a2e;--green:#0e9c57;--yellow:#f6b60d;--max:1120px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}.wrap{max-width:var(--max);margin:auto;padding:0 26px}header{border-bottom:1px solid var(--line);background:#fffffff2;position:sticky;top:0;z-index:5}.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:900;line-height:.95;letter-spacing:-.04em;font-size:18px}.brand span{display:block}.brand i{display:inline-block;width:9px;height:9px;border-radius:50%;background:linear-gradient(90deg,var(--red),var(--yellow),var(--green));margin-right:7px}nav{display:flex;gap:25px;font-weight:750;font-size:14px}nav a:hover{color:var(--red)}.page-hero{padding:76px 0 58px;background:linear-gradient(120deg,#fff 55%,#faf7ef)}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.15em;font-weight:850;color:var(--red)}h1{font-size:clamp(42px,7vw,82px);line-height:.98;letter-spacing:-.06em;margin:12px 0 20px;max-width:850px}h2{font-size:clamp(28px,4vw,46px);line-height:1.05;letter-spacing:-.045em;margin:0 0 16px}h3{line-height:1.1;letter-spacing:-.02em}p{max-width:720px;color:var(--muted)}.lede{font-size:20px;max-width:720px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:48px 0}.card{border:1px solid var(--line);border-radius:18px;padding:25px;background:var(--paper);transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #15131018}.card.red{border-top:7px solid var(--red)}.card.green{border-top:7px solid var(--green)}.card.yellow{border-top:7px solid var(--yellow)}.pill{display:inline-block;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.1em;padding:4px 10px;border-radius:999px;background:#1513100d}.section{padding:58px 0;border-top:1px solid var(--line)}.list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.list a{display:block;padding:20px;border-bottom:1px solid var(--line);font-weight:800}.list a:hover{color:var(--red)}.cta{display:inline-block;background:var(--ink);color:#fff;padding:12px 20px;border-radius:999px;font-weight:800;margin-top:12px}.cta.alt{background:transparent;color:var(--ink);border:1px solid var(--ink)}footer{margin-top:80px;background:var(--ink);color:#d9d5cd;padding:42px 0}footer p,footer a{color:#d9d5cd;font-size:14px}footer .brand{color:#fff}@media(max-width:760px){nav{display:none}.grid,.list{grid-template-columns:1fr}.page-hero{padding-top:50px}}
/* Wordmark shared by the editorial pages: same proportions as the landing-page mark. */
.brand{display:grid;grid-template-columns:34px auto;grid-template-rows:1fr 1fr;align-items:center;column-gap:10px;font-size:18px}
.brand i{display:block;grid-column:1;grid-row:1 / span 2;width:34px;height:34px;margin:0;border:1px solid #e7e3db;border-radius:9px;background:#fff;position:relative}
.brand i::before,.brand i::after{content:"";position:absolute;top:8px;width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;border-left:15px solid var(--red)}
.brand i::before{left:6px}.brand i::after{left:15px;opacity:.5}
.brand span{grid-column:2;line-height:.95}.brand span:nth-of-type(1){grid-row:1}.brand span:nth-of-type(2){grid-row:2}

/* Shared liquid-glass navigation for every editorial page. */
body{padding-top:14px}header{margin:0 22px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(255,255,255,.62);box-shadow:0 12px 34px rgba(21,19,16,.10),inset 0 1px rgba(255,255,255,.85);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px)}header .nav{height:64px}header nav a{position:relative}header nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-5px;height:2px;border-radius:2px;background:var(--red);transition:right .2s}header nav a:hover::after{right:0}
@media(max-width:760px){body{padding-top:10px}header{margin:0 12px}header .nav{height:58px}}
/* Full-bleed glass bar: no floating capsule around the page navigation. */
body{padding-top:0}header{margin:0;border-radius:0;border-left:0;border-right:0;border-top:0}header .nav{height:76px}
@media(max-width:760px){body{padding-top:0}header{margin:0}header .nav{height:64px}}
.editorial-image{margin:0 auto;max-width:var(--max);padding:0 26px 12px}.editorial-image img{display:block;width:100%;height:clamp(220px,32vw,390px);object-fit:cover;border-radius:24px;filter:saturate(.94) contrast(1.03);box-shadow:0 22px 50px rgba(21,19,16,.14)}.editorial-image figcaption{margin:10px 0 0;color:var(--muted);font-size:12px;letter-spacing:.02em}@media(max-width:760px){.editorial-image{padding:0 18px 8px}.editorial-image img{height:240px;border-radius:18px}}
.mobile-layout-guardrails{display:none}
/* Keep editorial artwork in the visual flow even while legacy pages are being
   normalized: the figure is rendered between the content and footer. */
body{display:flex;flex-direction:column}body>header{order:1}body>main{order:2}body>figure.editorial-image{order:3}body>footer{order:4}
/* Editorial page heroes: every section gets a distinct visual entry point. */
body.route-noticias .page-hero,body.route-temas .page-hero,body.route-projetos .page-hero,body.route-sobre .page-hero{position:relative;isolation:isolate;min-height:430px;display:flex;align-items:flex-end;padding:82px 0 64px;color:#fff;background:#151310 center/cover no-repeat;overflow:hidden}
body.route-noticias .page-hero{background-image:url('pessoas-tecnologia.png')}body.route-temas .page-hero{background-image:url('crianca-futuro.jpg')}body.route-projetos .page-hero{background-image:url('familia-servico-publico.png')}body.route-sobre .page-hero{background-image:url('hero-progresso.png')}
body.route-noticias .page-hero::before,body.route-temas .page-hero::before,body.route-projetos .page-hero::before,body.route-sobre .page-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,12,10,.88),rgba(10,12,10,.48) 52%,rgba(10,12,10,.12)),linear-gradient(0deg,rgba(10,12,10,.75),transparent 65%)}
body.route-noticias .page-hero .wrap,body.route-temas .page-hero .wrap,body.route-projetos .page-hero .wrap,body.route-sobre .page-hero .wrap{width:100%}body.route-noticias .page-hero h1,body.route-temas .page-hero h1,body.route-projetos .page-hero h1,body.route-sobre .page-hero h1{max-width:760px;color:#fff;margin-bottom:16px}body.route-noticias .page-hero p,body.route-temas .page-hero p,body.route-projetos .page-hero p,body.route-sobre .page-hero p{color:rgba(255,255,255,.88)}body.route-noticias .page-hero .eyebrow,body.route-temas .page-hero .eyebrow,body.route-projetos .page-hero .eyebrow,body.route-sobre .page-hero .eyebrow{color:#f6c536}body.route-noticias>figure.editorial-image,body.route-temas>figure.editorial-image,body.route-projetos>figure.editorial-image,body.route-sobre>figure.editorial-image{display:none}
@media(max-width:600px){body.page-noticias .page-hero,body.page-temas .page-hero,body.page-projetos .page-hero,body.page-sobre .page-hero{min-height:480px;padding:80px 0 42px}body.page-temas .page-hero{background-position:58% center}body.page-sobre .page-hero{background-position:62% center}}
/* Fallback selectors also cover the legacy minified internal pages while they
   are normalized: the image belongs to the opening editorial block, never to
   the footer. */
body>main .page-hero{position:relative;isolation:isolate;min-height:430px;display:flex;align-items:flex-end;padding:82px 0 64px;color:#fff;background:#151310 url('pessoas-tecnologia.png') center/cover no-repeat;overflow:hidden}
body>main .page-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,12,10,.88),rgba(10,12,10,.48) 52%,rgba(10,12,10,.12)),linear-gradient(0deg,rgba(10,12,10,.75),transparent 65%)}
body>main .page-hero .wrap{width:100%}body>main .page-hero h1{max-width:760px;color:#fff}body>main .page-hero p{color:rgba(255,255,255,.88)}body>main .page-hero .eyebrow{color:#f6c536}body>figure.editorial-image{display:none}
body:has(.project-tag) .hero{background-image:linear-gradient(90deg,rgba(10,12,10,.88),rgba(10,12,10,.44)),url('partido-futuro-hero.png');background-size:cover;background-position:center}
@media(max-width:600px){body>main .page-hero{min-height:480px;padding:80px 0 42px}body>main .page-hero h1{font-size:clamp(38px,12vw,60px)}body:has(.project-tag) .hero{background-position:62% center}}
@media(max-width:960px){body header .nav{gap:14px}body header .brand{flex:0 0 auto}body header nav{display:flex;flex:1;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;gap:18px;padding:4px 2px}body header nav::-webkit-scrollbar{display:none}body header nav a{flex:0 0 auto;min-height:44px;display:flex;align-items:center}body header .tools{display:none}}
@media(max-width:600px){.wrap{padding-left:18px;padding-right:18px}header .nav{height:64px}header .brand{grid-template-columns:30px auto;column-gap:8px;font-size:15px}header .brand i{width:30px;height:30px;border-radius:8px}header .brand i::before,header .brand i::after{top:7px;border-top-width:8px;border-bottom-width:8px;border-left-width:13px}header .brand i::before{left:5px}header .brand i::after{left:13px}header nav{gap:16px;font-size:13px}.page-hero{padding:48px 0 38px}h1{font-size:clamp(38px,12vw,60px);overflow-wrap:anywhere}.lede{font-size:18px}.section{padding:42px 0}.list a{padding:18px 0}footer{margin-top:52px;padding:40px 0 28px}}
.route-noticias>main .page-hero{background-image:url('pessoas-tecnologia.png')}.route-temas>main .page-hero{background-image:url('crianca-futuro.jpg')}.route-projetos>main .page-hero{background-image:url('familia-servico-publico.png')}.route-sobre>main .page-hero{background-image:url('hero-progresso.png')}
header nav a[aria-current="page"]{color:var(--red);font-weight:900}header nav a[aria-current="page"]::after{right:0}
/* Consolidated editorial hierarchy: section pages introduce content without
   competing with the homepage hero. */
body>main .page-hero{min-height:340px;padding:58px 0 46px}
body>main .page-hero h1{font-size:clamp(40px,5vw,68px);letter-spacing:-.045em}
body>main .page-hero p{max-width:620px;font-size:17px}
body>main .section,body>main .grid{padding-top:42px;padding-bottom:42px}
body>main .card{box-shadow:none}
@media(max-width:760px){body>main .page-hero{min-height:320px;padding:48px 0 36px}body>main .page-hero h1{font-size:clamp(36px,10vw,54px)}body>main .page-hero p{font-size:16px}body header nav{display:flex;max-width:calc(100vw - 150px);overflow-x:auto;mask-image:linear-gradient(90deg,#000 0 88%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 0 88%,transparent)}}
section[id]{scroll-margin-top:92px}.grid{row-gap:32px}.grid4{row-gap:28px}main>section+section{margin-top:56px}footer{margin-top:96px}
@media(max-width:600px){body header nav a:nth-child(3){display:none}body header nav{gap:11px;max-width:none;mask-image:none;-webkit-mask-image:none;font-size:12px}main>section+section{margin-top:40px}footer{margin-top:64px}}

/* Shared shell: every public page uses the same grid, header and edge rhythm. */
body>header{width:100%;margin:0;border-radius:0}
body>header>.wrap.nav{width:100%;max-width:var(--max);min-height:76px;padding-left:26px;padding-right:26px;margin:0 auto}
body>header nav{align-items:center}
body>main>.wrap,body>main>section>.wrap,body>main>section.wrap{width:100%;max-width:var(--max);margin-left:auto;margin-right:auto}
body>main>.page-hero>.wrap{max-width:var(--max);padding-left:26px;padding-right:26px}
body>footer>.wrap{width:100%;max-width:var(--max);margin-left:auto;margin-right:auto;padding-left:26px;padding-right:26px}
body>header .wordmark{font-size:18px;line-height:.95;letter-spacing:-.04em}
body>header .mark{width:34px;height:34px;flex:0 0 34px}
@media(max-width:600px){body>header>.wrap.nav{min-height:64px;padding-left:18px;padding-right:18px}body>main>.page-hero>.wrap,body>footer>.wrap{padding-left:18px;padding-right:18px}}

/* Keep the shared navigation visible after page-specific styles load. */
body>header nav,body>header nav.menu{display:flex!important;visibility:visible!important;opacity:1!important}

/* Homepage safeguard: the shared shell must remain visible at every viewport. */
body>header{display:block!important;visibility:visible!important;opacity:1!important}
body>header>.nav{display:flex!important;visibility:visible!important;opacity:1!important}
