/* /patrocinio · captação de patrocinadores do XV Congresso.
   Tokens, botões e peças copiados do site novo (prototipos/site: styles.css + lp.css) para a página ficar autônoma
   até o site novo entrar neste repo. Rodapé = componente padrão do site (rodape.css/rodape.js, copiados). */
:root {
  --f-title: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --navy: #0b1f4b; --navy-2: #132a5e; --navy-3: #071536; --royal: #1c3a7a; --mid: #2f56a6;
  --ink: #0e1b33; --ink-2: #4a5878; --surface: #f4f7fc; --line: #e1e7f2; --blue-100: #e9eef7;
  --on-dark-2: #c6d0e4; --gold-hi: #fbc91f; --gold-soft: #fbefcc; --gold-ink: #8a5a08;
  --gold-metal: linear-gradient(90deg, #f6b324, #fbc91f 55%, #eba70b);
  --err: #b42318; --ok: #1d7a4c;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sh: 0 1px 3px rgba(11, 31, 75, .06), 0 18px 40px -28px rgba(11, 31, 75, .35);
  --gutter: clamp(20px, 4vw, 48px);
  --bar-h: 64px;
  color-scheme: light;
}
@media (max-width: 767px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); overflow-x: clip; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.0625rem/1.65 "Onest", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--gold-hi); color: var(--navy); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--f-title); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--navy); text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -.018em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
:is(.dk, .hero, .bar, .unica, .final) :focus-visible { outline-color: #ffe27a; }
.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 { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--royal); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.ph { filter: saturate(1.12) contrast(1.03); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(88px, 10vw, 144px); }
.dk { background: var(--navy); color: #fff; }
.dk h2, .dk h3 { color: #fff; }
.sf { background: var(--surface); }
.h2 { font-size: clamp(1.875rem, 3.1vw, 2.625rem); max-width: 24ch; }
.sub { margin-top: 16px; color: var(--ink-2); font-size: 1.0625rem; max-width: 60ch; }
.sub + .sub { margin-top: 12px; }
.dk .sub { color: var(--on-dark-2); }
.rule { display: block; width: 40px; height: 3px; border-radius: 3px; margin-bottom: 20px; background: var(--gold-metal); }
.head { margin-bottom: clamp(40px, 5vw, 64px); }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.fonte { margin-top: 20px; font-size: .8125rem; color: var(--ink-2); max-width: 80ch; }
.dk .fonte { color: var(--on-dark-2); }

/* ===== Botões: sistema do site. Dourado animado = só CTA do Congresso; esta página inteira é do Congresso. ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1px solid transparent; font-size: .9375rem; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .25s var(--ease); }
.btn svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .8125rem; }
@property --t { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --h { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes btn-luz { from { --t: -1; } to { --t: 1; } }
@keyframes btn-fluxo { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.btn-gold { --o: .22; --o2: .17; --r: 22px; --sh: 240, 136, 0; --c1: #F08800; --c2: #FFA41A; --c3: #FFD04A;
  color: #fff; font-weight: 800;
  background: linear-gradient(90deg, var(--c1) 0%, var(--c2) 18%, var(--c3) 33.333%, var(--c2) 48.667%, var(--c1) 66.667%, var(--c2) 84.667%, var(--c3) 100%) 0 0 / 300% 100%;
  box-shadow: 0 calc(4px + var(--h) * 2px) calc(14px + var(--h) * 3px) rgba(var(--sh), calc(var(--o) + var(--t) * .025)),
              0 0 calc(var(--r) + var(--t) * 2px + var(--h) * 4px) rgba(255, 199, 44, calc(var(--o2) + var(--t) * .025));
  animation: btn-luz 6s ease-in-out infinite alternate, btn-fluxo 4.5s linear infinite;
  transition: transform .2s ease, --h .25s ease; }
.btn-gold:hover { transform: translateY(-2px); --h: 1; }
.btn-gold:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
:is(.dk, .hero, .bar, .unica, .final) .btn-gold { --o: .27; --o2: .22; --r: 28px; }
:is(.dk, .hero, .bar, .unica, .final) .btn-gold:focus-visible { outline-color: #ffe27a; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ===== Barra de seções (aparece depois do hero) ===== */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; background: rgba(11, 31, 75, .96); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); transform: translateY(-105%); transition: transform .5s var(--ease); }
.bar.on { transform: none; }
.bar-in { display: flex; align-items: center; gap: 12px; height: var(--bar-h); }
.bar-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; font: 800 .95rem/1 var(--f-title); letter-spacing: -.02em; color: #fff; }
.bar-brand img { width: 40px; height: auto; }
.bar ul { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.bar ul::-webkit-scrollbar { display: none; }
.bar ul a { display: block; padding: 10px 11px; border-radius: 9px; color: var(--on-dark-2); font-size: .85rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.bar ul a:hover, .bar ul a.at { color: #fff; background: rgba(255, 255, 255, .08); }
.bar .btn { flex: none; }
@media (max-width: 1020px) { .bar ul { display: none; } .bar-in { justify-content: space-between; } }

/* ===== Hero: conteúdo centralizado, cena aparente ===== */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; grid-template-rows: auto 1fr auto; color: #fff; isolation: isolate; overflow: clip; background: var(--navy-3); }
.hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: hero-zoom 18s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 50%, rgba(7, 21, 54, .62), rgba(7, 21, 54, .28) 70%, rgba(7, 21, 54, .18)), linear-gradient(180deg, rgba(7, 21, 54, .55) 0%, transparent 22%, transparent 60%, rgba(7, 21, 54, .9) 100%); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 800 1rem/1.05 var(--f-title); letter-spacing: -.02em; }
.brand img { width: 52px; height: auto; filter: drop-shadow(1.3px 0 0 #fff) drop-shadow(-1.3px 0 0 #fff) drop-shadow(0 1.3px 0 #fff) drop-shadow(0 -1.3px 0 #fff) drop-shadow(0 3px 8px rgba(0, 0, 0, .28)); }
.brand small { display: block; margin-top: 3px; font-weight: 600; font-size: .8125rem; letter-spacing: -.01em; color: var(--on-dark-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .85rem; font-weight: 700; backdrop-filter: blur(8px); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.hero-in { align-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(56px, 9vh, 120px); }
.eyebrow { max-width: 46ch; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: .92; }
.hero h1 { margin-top: 18px; font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; color: #fff; text-shadow: 0 2px 24px rgba(7, 21, 54, .35); }
.lede { margin-top: 22px; max-width: 54ch; font-size: clamp(1.0625rem, 1.4vw, 1.2rem); line-height: 1.55; color: #eef2fa; text-shadow: 0 1px 14px rgba(7, 21, 54, .4); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; margin: 24px 0 0; padding: 0; font-weight: 700; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { flex: none; opacity: .9; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.prova { background: rgba(7, 21, 54, .78); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.prova ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; list-style: none; margin: 0 auto; padding: 24px 0 8px; max-width: 900px; }
.prova b { display: block; font: 800 clamp(1.75rem, 2.6vw, 2.25rem)/1 var(--f-title); letter-spacing: -.03em; color: #fff; }
.prova span { display: block; margin-top: 6px; font-size: .875rem; color: var(--on-dark-2); }
.prova .fonte { margin: 0 auto; padding-bottom: 18px; font-size: .75rem; color: #a9b8d6; }

/* ===== Público ===== */
.pub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
.pub li { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pub li:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.pub img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pub li:hover img { transform: scale(1.04); }
.pub div { position: relative; padding: 20px 22px 24px; background: #fff; }
.pub h3 { font-size: 1.125rem; }
.pub p { margin-top: 6px; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.pub-nota { margin-top: 32px; font-size: .9375rem; color: var(--ink-2); }
.pub-nota b { color: var(--navy); }

/* ===== Números (perfil e mapa) ===== */
.dados { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 2.4vw, 28px); }
.painel { margin: 0; display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: #fff; box-shadow: var(--sh); }
.painel figcaption h3 { font-size: 1.25rem; }
.painel figcaption p { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.nota-graf { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.barras { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.barras li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nome val" "bar bar"; gap: 6px 12px; align-items: baseline; }
.b-nome { grid-area: nome; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.b-val { grid-area: val; font-size: .9375rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.b-bar { grid-area: bar; display: block; height: 10px; border-radius: 5px; background: var(--blue-100); }
.b-bar i { display: block; height: 100%; width: calc(var(--v) * 1%); min-width: 6px; border-radius: 5px; background: var(--mid); transform-origin: left; }
.barras li:first-child .b-bar i { background: var(--navy); }
.js .painel.rv .b-bar i { transform: scaleX(0); transition: transform 1.1s var(--ease) .25s; }
.js .painel.rv.in .b-bar i { transform: none; }
.mapa-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; align-items: center; }
.mapa { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; justify-self: center; }
.mapa svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mapa path { stroke: #fff; stroke-width: 1px; vector-effect: non-scaling-stroke; cursor: pointer; transition: opacity .25s, filter .25s; outline: none; }
.mapa path:hover, .mapa path:focus-visible, .mapa path.at { filter: brightness(1.18) drop-shadow(0 0 0 #fff); stroke: var(--gold-hi); stroke-width: 2px; }
.mapa.foco path:not(.at) { opacity: .55; }
.js .painel.rv .mapa svg { opacity: 0; transform: scale(.96); transition: opacity .9s var(--ease) .2s, transform 1.1s var(--ease) .2s; }
.js .painel.rv.in .mapa svg { opacity: 1; transform: none; }
.mapa-tip { position: absolute; left: 0; bottom: 4%; padding: 8px 12px; border-radius: 10px; background: var(--navy); color: #fff; font-size: .8125rem; line-height: 1.35; box-shadow: var(--sh); pointer-events: none; }
.mapa-tip b { display: block; font: 700 .9375rem/1.2 var(--f-title); }
.mapa-lado { display: grid; gap: 24px; }
.top { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: t; }
.top li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: baseline; font-size: .9rem; color: var(--ink-2); counter-increment: t; }
.top li::before { content: counter(t); font-weight: 700; color: var(--mid); font-variant-numeric: tabular-nums; }
.top b { color: var(--navy); font-variant-numeric: tabular-nums; }
.leg { display: grid; gap: 7px; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-2); }
.leg li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.leg i { width: 14px; height: 14px; border-radius: 4px; flex: none; background: var(--c); }
.n5 { --c: #0b1f4b; } .n4 { --c: #1c3a7a; } .n3 { --c: #3f63ad; } .n2 { --c: #8fa8d8; } .n1 { --c: #d3dcef; }
.mapa path.n1, .mapa path.n2, .mapa path.n3, .mapa path.n4, .mapa path.n5 { fill: var(--c); }

/* ===== Destaque: a única edição de 2027 ===== */
.unica { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy-3), var(--navy) 55%, #17357a); color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.unica::after { content: ""; position: absolute; top: -40%; right: 8%; width: 30%; height: 180%; background: linear-gradient(180deg, rgba(190, 215, 255, .16), transparent 70%); transform: skewX(-18deg); filter: blur(30px); pointer-events: none; }
.unica-in { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 56px); align-items: center; }
.unica-data { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 26px; background: #fff; color: var(--navy); text-align: center; line-height: 1; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); transform: rotate(-4deg); }
.unica-data span { font: 700 .875rem/1 var(--f-title); color: var(--ink-2); }
.unica-data b { font: 800 2.75rem/1 var(--f-title); letter-spacing: -.04em; text-transform: uppercase; }
.unica-data small { font: 700 .875rem/1 var(--f-title); color: var(--mid); }
.unica h2 { color: #fff; font-size: clamp(1.625rem, 2.8vw, 2.375rem); max-width: 22ch; }
.unica p { margin-top: 12px; max-width: 60ch; color: var(--on-dark-2); }
.js .unica-in.rv .unica-data { transform: rotate(-14deg) scale(.8); transition: transform 1.1s var(--ease) .2s; }
.js .unica-in.rv.in .unica-data { transform: rotate(-4deg); }

/* ===== Benefícios: intro fixa + grade de cartões numerados ===== */
.ben-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.ben-intro { position: sticky; top: calc(var(--bar-h) + 40px); }
.ben-foto { margin-top: 32px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.ben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: b; }
.ben li { position: relative; padding: 26px 24px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); counter-increment: b; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.ben li:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.ben li::after { content: counter(b, decimal-leading-zero); position: absolute; top: 22px; right: 22px; font: 800 .8125rem/1 var(--f-title); color: #b5c1da; font-variant-numeric: tabular-nums; }
.ben .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--blue-100); color: var(--royal); transition: background-color .3s, color .3s; }
.ben li:hover .ic { background: var(--navy); color: #fff; }
.ben h3 { margin-top: 18px; font-size: 1.0625rem; }
.ben p { margin-top: 6px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }

/* ===== Contrapartidas: linha do tempo em trilho horizontal (shift+roda, arrastar, dedo) ===== */
.trilho { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; outline-offset: -3px; }
.trilho::-webkit-scrollbar { display: none; }
.trilho.arrasta { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.trilho.arrasta a { pointer-events: none; }
.fases { --pad: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); position: relative; display: flex; align-items: stretch; gap: clamp(18px, 2vw, 24px); list-style: none; margin: 0; padding: 48px var(--pad) 24px; width: max-content; }
/* trilho da linha do tempo: base cinza e preenchimento dourado que segue a rolagem */
.fases::before, .fases::after { content: ""; position: absolute; top: 22px; left: var(--pad); right: var(--pad); height: 3px; border-radius: 3px; background: #d6deec; }
.fases::after { background: var(--gold-metal); transform-origin: left; transform: scaleX(var(--p, .12)); transition: transform .35s var(--ease); }
.js .trilho.rv:not(.in) .fases::after { transform: scaleX(0); }
.fase { position: relative; display: flex; flex-direction: column; width: min(400px, 80vw); border-radius: 20px; background: #fff; box-shadow: var(--sh); scroll-snap-align: start; scroll-margin-inline: var(--gutter); }
.fase::before { content: ""; position: absolute; z-index: 1; top: -34px; left: 24px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.fase.agora::before { border-color: #eba70b; box-shadow: 0 0 0 6px rgba(251, 201, 31, .22); }
.fase-cta::before { display: none; }
.fase img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; pointer-events: none; border-radius: 20px 20px 0 0; }
.fase-b { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.fase-n { position: relative; align-self: flex-start; margin-top: -38px; padding: 6px 13px; border-radius: 999px; background: #fff; color: var(--royal); font-size: .8125rem; font-weight: 800; box-shadow: var(--sh); }
.fase.agora .fase-n { background: var(--navy); color: #fff; }
.fase h3 { margin-top: 14px; font-size: 1.2rem; }
.fase ul { display: grid; gap: 11px; list-style: none; margin: 16px 0 0; padding: 0; }
.fase ul li { position: relative; padding-left: 20px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.fase ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-metal); }
.fase ul b { display: block; font: 700 .9375rem/1.3 var(--f-title); letter-spacing: -.01em; color: var(--navy); }
.fase-cta { justify-content: center; background: var(--navy); color: #fff; width: min(320px, 74vw); }
.fase-cta .fase-b { justify-content: center; }
.fase-cta h3 { margin: 0; color: #fff; font-size: 1.35rem; }
.fase-cta p { margin: 12px 0 24px; color: var(--on-dark-2); }
.fase-cta .btn { align-self: flex-start; }
.trilho-nav { display: flex; gap: 8px; }
.seta { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #cfd8e8; background: #fff; color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.seta:hover { background: var(--navy); color: #fff; }
.seta[disabled] { opacity: .35; cursor: default; background: #fff; color: var(--navy); }
.trilho-prog { height: 3px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; max-width: 320px; }
.trilho-prog i { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--navy); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .2s linear; }

/* ===== Smart City: guarda-chuva de ecossistemas ===== */
.scb-txt { max-width: 760px; }
.eco { margin: clamp(40px, 5vw, 64px) 0 0; }
.eco-copa { display: grid; gap: 6px; justify-items: center; padding: clamp(40px, 6vw, 72px) 24px 26px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: radial-gradient(60% 120% at 50% 100%, #1c3a7a, var(--navy) 60%, var(--navy-3)); color: #fff; text-align: center; }
.eco-copa b { font: 800 clamp(1.125rem, 2vw, 1.5rem)/1.15 var(--f-title); letter-spacing: -.02em; }
.eco-copa span { font-size: .875rem; color: var(--on-dark-2); }
.eco-l { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: clamp(16px, 2vw, 24px); border-radius: 0 0 24px 24px; background: var(--surface); border: 1px solid var(--line); border-top: 0; }
.eco-l li { display: grid; place-items: center; min-height: 76px; padding: 14px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-align: center; font: 700 .9375rem/1.25 var(--f-title); color: var(--navy); }
.eco-l .eco-gcm { grid-column: span 2; grid-row: span 2; align-content: center; gap: 8px; padding: 22px; background: linear-gradient(150deg, var(--navy), #1c3a7a); color: #fff; border: 0; box-shadow: 0 0 0 3px var(--gold-hi), var(--sh); }
.eco-gcm small { font: 600 .8125rem/1.3 "Onest", sans-serif; color: var(--on-dark-2); }
.eco-gcm b { font: 800 clamp(1.25rem, 2.2vw, 1.625rem)/1.1 var(--f-title); letter-spacing: -.02em; }
.eco-pin { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--navy); font: 800 .8125rem/1 var(--f-title); }
.eco-pin svg { color: var(--gold-ink); }
.eco .fonte { margin-top: 14px; }
.js .eco.rv .eco-l li:not(.eco-gcm) { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.35s + var(--k, 0) * 70ms); }
.js .eco.rv.in .eco-l li { opacity: 1; transform: none; }
.eco.in .eco-gcm { animation: eco-pulso 2.8s ease-in-out 1s infinite; }
@keyframes eco-pulso { 50% { box-shadow: 0 0 0 7px rgba(251, 201, 31, .45), var(--sh); } }
.faixa { margin: clamp(40px, 5vw, 64px) 0 0; }
.faixa img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 40%; border-radius: 20px; }
.faixa figcaption { margin-top: 10px; font-size: .8125rem; color: var(--ink-2); }

/* ===== História ===== */
.hist { display: grid; grid-template-columns: minmax(0, 760px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.eds-graf { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.eds-graf h3 { font-size: 1.15rem; }
.eds-graf figcaption p { margin-top: 4px; font-size: .875rem; color: var(--on-dark-2); }
.colunas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; height: 260px; list-style: none; margin: 24px 0 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.colunas li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; text-align: center; }
.c-bar { display: block; width: min(52px, 100%); height: calc(var(--v) * 1.7px); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #c9d6f5, #6585cc); transform-origin: bottom; }
.colunas .nx .c-bar { height: 190px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 6px, transparent 6px 12px); border: 1.5px dashed rgba(255, 255, 255, .7); border-bottom: 0; }
.colunas b { font: 800 1rem/1 var(--f-title); color: #fff; margin-top: 6px; }
.colunas small { min-height: 1.4em; font-size: .75rem; color: var(--on-dark-2); }
.js .eds-graf.rv .c-bar { transform: scaleY(0); transition: transform 1s var(--ease); transition-delay: calc(.3s + var(--k, 0) * 110ms); }
.js .eds-graf.rv.in .c-bar { transform: none; }
.colunas li:nth-child(2) { --k: 1; } .colunas li:nth-child(3) { --k: 2; } .colunas li:nth-child(4) { --k: 3; } .colunas li:nth-child(5) { --k: 4; }

/* ===== Galeria: faixas alternadas que deslizam devagar; segurar pausa só a faixa; toque amplia ===== */
.gal { display: grid; gap: 14px; overflow: hidden; }
.gal-l { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; width: max-content; touch-action: pan-y; }
.gal-l li { flex: none; height: clamp(150px, 15vw, 210px); border-radius: 14px; overflow: hidden; background: var(--blue-100); }
.gal-l img { height: 100%; width: auto; object-fit: cover; cursor: zoom-in; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; transition: filter .3s; }
.gal-l img:hover { filter: saturate(1.25) contrast(1.06) brightness(1.05); }
.js .gal.anda .gal-l { animation: gal-esq var(--dur, 160s) linear infinite; }
.js .gal.anda .gal-l:nth-child(2) { animation-name: gal-dir; }
.gal.anda .gal-l.pausa, .gal.anda .gal-l:has(img:focus-visible) { animation-play-state: paused; }
@keyframes gal-esq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gal-dir { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* lightbox: mesmo componente da matéria do blog do site novo (noticias.css, .nlb) */
.nlb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 13, 33, .95); color: #fff; overscroll-behavior: contain; touch-action: none; user-select: none; }
.nlb::backdrop { background: rgba(5, 13, 33, .6); }
.nlb[open] { display: grid; place-items: center; animation: nlb-in .3s var(--ease); }
@keyframes nlb-in { from { opacity: 0; } }
.nlb-f { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: min(1200px, 88vw); }
.nlb-f img { max-width: 100%; max-height: 76vh; width: auto; height: auto; border-radius: 12px; object-fit: contain; cursor: grab; transition: translate .3s var(--ease); }
.nlb-f img.drag { cursor: grabbing; transition: none; }
.nlb-f figcaption { display: flex; gap: 18px; justify-content: space-between; width: 100%; font-size: .875rem; line-height: 1.45; color: #dfe6f5; }
.nlb-n { flex: none; font-variant-numeric: tabular-nums; color: #fff; font-weight: 700; }
.nlb-b { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.nlb-b:hover { background: rgba(255, 255, 255, .24); }
.nlb-b:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.nlb-x { top: 20px; right: 20px; }
.nlb-p { left: 20px; top: 50%; translate: 0 -50%; }
.nlb-nx { right: 20px; top: 50%; translate: 0 -50%; }
@media (max-width: 699px) {
  .nlb-p, .nlb-nx { top: auto; bottom: 22px; translate: none; }
  .nlb-f { max-width: 94vw; padding-bottom: 80px; }
  .nlb-f img { max-height: 68vh; }
  .nlb-f figcaption { flex-direction: column; gap: 4px; padding-inline: 4px; }
}

/* ===== Apoiadores: duas linhas equilibradas, logos grandes ===== */
.pt0 { padding-top: 0; }
.apoio { padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.apoio-h { text-align: center; display: grid; justify-items: center; }
.apoio-h .h2 { max-width: none; }
.apoio-h .sub { margin-inline: auto; }
/* linha 1: 4 brasões; linha 2: 3 brasões + a marca do Dr. Carlos Alexandre Braga, larga para ficar legível */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 0; list-style: none; margin: clamp(36px, 4vw, 56px) auto 0; padding: 0; max-width: 1040px; }
.logos li { display: flex; justify-content: center; flex: 0 0 25%; }
.logos li:nth-child(n+5) { flex-basis: 18%; }
.logos li.lg { flex-basis: 46%; }
.logos img { width: auto; height: 104px; max-width: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.logos img:hover { transform: scale(1.06); }
.logos .lg img { height: auto; width: min(440px, 100%); }

/* ===== Perguntas frequentes: uma aberta por vez (name="faq") ===== */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.faq-l { display: grid; gap: 10px; align-content: start; }
.faq details { border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--sh); border-color: transparent; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font: 700 1.0625rem/1.35 var(--f-title); letter-spacing: -.015em; color: var(--navy); cursor: pointer; list-style: none; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--royal); transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 22px; color: var(--ink-2); max-width: 66ch; }
.faq details[open] .ans { animation: ans-in .5s var(--ease) both; }
.faq .ans p + p { margin-top: 10px; }
@keyframes ans-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===== Formulário final ===== */
.final { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-3); }
.final > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 21, 54, .95) 0%, rgba(7, 21, 54, .82) 55%, rgba(7, 21, 54, .6)); }
.final-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.final .h2 { color: #fff; max-width: 16ch; }
.passos { display: grid; gap: 16px; list-style: none; margin: 32px 0 0; padding: 0; counter-reset: p; }
.passos li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; font-weight: 700; counter-increment: p; }
.passos li::before { content: counter(p); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: 800 1rem/1 var(--f-title); }
.passos small { display: block; font-weight: 400; color: var(--on-dark-2); font-size: .9rem; }
.card { padding: clamp(22px, 3.4vw, 36px); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.card h3 { font-size: 1.35rem; }
.card .lead { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 20px; }
.fld { display: block; margin-bottom: 14px; }
.fld.full { grid-column: 1 / -1; }
.fld span { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; color: var(--navy); }
.fld input, .fld select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #cfd8e8; border-radius: 10px; background: var(--surface); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%231c3a7a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(28, 58, 122, .18); background-color: #fff; }
.fld [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ck { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: .8125rem; line-height: 1.5; color: var(--ink-2); }
.ck input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--royal); }
.ck input[aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 2px; }
.ck a { color: var(--royal); }
.err { min-height: 20px; margin-bottom: 10px; font-size: .875rem; font-weight: 600; color: var(--err); }
.err a { color: inherit; }
.card .btn { width: 100%; }
.seg { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); text-align: center; }
.ok-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e3f3ea; color: var(--ok); margin-bottom: 16px; }
.ok-box { margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); font-size: .9375rem; color: var(--ink-2); }
.ok-box b { display: block; color: var(--navy); margin-bottom: 2px; }

/* ===== Entrada ao rolar (uma vez só) ===== */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero > img { animation: none; }
  .js .rv { transform: none; transition: opacity .3s linear; }
  .js .painel.rv .b-bar i, .js .eds-graf.rv .c-bar, .js .painel.rv .mapa svg, .js .unica-in.rv .unica-data, .js .eco.rv .eco-l li, .fases::after { transition: none; }
  .eco.in .eco-gcm { animation: none; }
  .js .gal.anda .gal-l { animation: none; }
  .gal { overflow-x: auto; scrollbar-width: none; }
  .btn-gold { animation: none; }
  .bar { transition: none; }
}

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  .pub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-in, .hist, .dados, .ben-wrap, .faq { grid-template-columns: minmax(0, 1fr); }
  .ben-intro { position: static; }
  .ben-foto { display: none; }
  .eco-l { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .eco-l .eco-gcm { grid-column: 1 / -1; grid-row: auto; }
  .unica-in { grid-template-columns: auto minmax(0, 1fr); }
  .unica-in .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 640px) {
  .sec { padding-block: 80px; }
  /* celular: público e benefícios em 2 colunas para gastar menos altura */
  .pub { gap: 12px; }
  .pub div { padding: 12px 12px 14px; }
  .pub h3 { font-size: .9375rem; }
  .pub p { font-size: .8125rem; line-height: 1.45; }
  .ben { gap: 10px; }
  .ben li { padding: 16px 14px 18px; border-radius: 14px; }
  .ben li::after { top: 14px; right: 14px; font-size: .6875rem; }
  .ben .ic { width: 38px; height: 38px; border-radius: 11px; }
  .ben h3 { margin-top: 12px; font-size: .9375rem; }
  .ben p { font-size: .8125rem; line-height: 1.45; }
  .eco-copa { border-radius: 50% 50% 0 0 / 60% 60% 0 0; padding-top: 44px; }
  .eco-l { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; }
  .eco-l li { min-height: 56px; font-size: .8125rem; }
  .logos { gap: 24px 0; }
  .logos li, .logos li:nth-child(n+5) { flex-basis: 25%; }
  .logos img { height: 62px; }
  .logos li.lg { flex-basis: 100%; }
  .logos .lg img { width: min(320px, 100%); }
  .prova ul { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 20px; }
  .prova li { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
  .prova span { margin-top: 0; text-align: left; }
  .hero-top .pill { font-size: .75rem; padding: 6px 10px; }
  .brand span { display: none; }
  .mapa-wrap { grid-template-columns: minmax(0, 1fr); }
  .leg { grid-template-columns: repeat(2, auto); justify-content: start; }
  .unica-in { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .unica-data { width: 104px; height: 104px; border-radius: 22px; }
  .unica-data b { font-size: 2.2rem; }
  .unica-in .btn { grid-column: auto; width: 100%; }
  .faixa img { aspect-ratio: 4 / 3; }
  .colunas { gap: 8px; height: 230px; }
  .c-bar { height: calc(var(--v) * 1.5px); }
  .colunas .nx .c-bar { height: 165px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .ctas .btn { width: 100%; }
  .bar-brand span { display: none; }
  .trilho-nav { display: none; }
}
