/* ABCSA — Apresentação institucional animada (palco 1920×1080 escalado) */
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.7660bd9909fb.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.eb2486760f75.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.701ae03b5183.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Material Symbols Outlined"; src: url("../unfold/fonts/material-symbols/Material-Symbols-Outlined.3d7864cf3b00.woff2") format("woff2"); font-weight: 100 700; font-display: block; }

:root { --indigo: #3B3F75; --teal: #6D9AA8; --green: #53B04B; --deep: #12153A; --mint: #A8E29F; --ease: cubic-bezier(.22,1,.36,1); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--deep); color: #fff; font-family: "Jakarta", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
p { margin: 0 0 .8em; }
h1, h2, h3, h4 { margin: 0; }
.ms { font-family: "Material Symbols Outlined"; font-weight: 400; font-style: normal; line-height: 1; display: inline-block; font-feature-settings: "liga"; -webkit-font-feature-settings: "liga"; font-variation-settings: "FILL" 0, "wght" 350, "opsz" 24; vertical-align: middle; font-size: 1.3em; }
.ms.big { font-size: 64px; color: var(--mint); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.w > span.grad { background: linear-gradient(115deg, var(--teal), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }

/* ------------------------------------------------ background */
.deck { position: fixed; inset: 0; }
.bg { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 0% 100%, #1d2157 0%, var(--deep) 55%); transition: background 1s; }
.bg__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.bg__blob--a { width: 52vw; height: 52vw; background: var(--green); right: -14vw; top: -18vw; opacity: .28; }
.bg__blob--b { width: 46vw; height: 46vw; background: var(--teal); left: -16vw; bottom: -20vw; opacity: .3; }
.bg__grain { position: absolute; inset: -50%; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bg__ribbons { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; }
.deck[data-theme=light] .bg { background: #F5F4EF; }
.deck[data-theme=light] .bg__blob { opacity: .18; }
.deck[data-theme=green] .bg { background: radial-gradient(120% 120% at 100% 0%, #5fbf57 0%, #2d7f3a 45%, #164a2c 100%); }
.deck[data-theme=green] .bg__blob--a { background: #A8E29F; }
.deck[data-theme=image] .bg__ribbons { opacity: .2; }

/* ------------------------------------------------ stage */
.viewport { position: absolute; inset: 0; display: grid; place-items: center; }
.stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: center; transform: translate(-50%, -50%); }
.slide { position: absolute; inset: 0; padding: 120px 150px 140px; display: flex; flex-direction: column; justify-content: center; visibility: hidden; opacity: 0; }
.slide.is-active { visibility: visible; opacity: 1; }
.slide > * { position: relative; z-index: 2; }
.theme-light { color: #1B1E3F; }
.theme-light .kicker { color: #2F7E29; }
.theme-light .t-lead, .theme-light .t-body { color: #4A4E72; }
.slide__bgimg { position: absolute !important; inset: 0; z-index: 0 !important; overflow: hidden; }
.slide__bgimg img { width: 100%; height: 100%; object-fit: cover; }
.slide__bgimg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,21,58,.96) 0%, rgba(18,21,58,.82) 45%, rgba(18,21,58,.35) 100%); }

/* ------------------------------------------------ type */
.kicker { display: inline-flex; align-items: center; gap: 16px; font-size: 22px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin-bottom: 34px; }
.kicker::before { content: ""; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--green)); }
.t-display { font-family: "Fraunces", serif; font-weight: 420; font-size: 132px; line-height: 1; letter-spacing: -.035em; max-width: 1400px; }
.t-display.sm { font-size: 104px; }
.t-h2 { font-family: "Fraunces", serif; font-weight: 430; font-size: 86px; line-height: 1.04; letter-spacing: -.03em; max-width: 1300px; margin-bottom: 56px; }
.t-lead { font-size: 34px; line-height: 1.45; color: rgba(255,255,255,.8); max-width: 1150px; margin-top: 36px; }
.t-lead.sm { font-size: 28px; margin-top: 24px; }
.t-body { font-size: 27px; line-height: 1.55; color: rgba(255,255,255,.8); max-width: 900px; }
.t-body strong { color: #fff; }
.theme-light .t-body strong { color: #1B1E3F; }
.t-quote { margin: 0; font-family: "Fraunces", serif; font-weight: 380; font-style: italic; font-size: 104px; line-height: 1.12; letter-spacing: -.03em; max-width: 1560px; }
.t-quote::before { content: "“"; display: block; font-size: 220px; line-height: .6; color: #fff; opacity: .5; font-style: normal; }

/* ------------------------------------------------ cover / closing */
.cover, .closing { display: flex; flex-direction: column; align-items: flex-start; }
.cover__logo { width: 170px; margin-bottom: 56px; filter: drop-shadow(0 20px 50px rgba(83,176,75,.35)); }
.cover__meta { display: flex; gap: 18px; margin-top: 64px; }
.cover__meta span { padding: 14px 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); font-size: 22px; font-weight: 600; }
.cover__meta span:first-child { background: var(--green); border-color: var(--green); font-weight: 800; letter-spacing: .06em; }
.closing { align-items: center; text-align: center; }
.closing .t-display { max-width: 1500px; }
.closing .t-lead { margin-inline: auto; }
.closing .cover__logo { width: 140px; margin-bottom: 40px; }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 56px; }
.contacts span { display: inline-flex; gap: 12px; align-items: center; padding: 18px 28px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 26px; font-weight: 600; }

/* ------------------------------------------------ grids */
.grid2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 110px; align-items: center; }
.grid2--wide { grid-template-columns: 1.1fr .9fr; }
.photo { border-radius: 36px; overflow: hidden; height: 720px; box-shadow: 0 50px 120px -40px rgba(0,0,0,.45); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.pillrow { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.pill { display: inline-flex; gap: 10px; align-items: center; padding: 14px 22px; border-radius: 999px; background: #fff; border: 1px solid rgba(27,30,63,.12); font-size: 22px; font-weight: 700; color: #1B1E3F; }
.pill .ms { color: var(--c); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.glass-card { padding: 56px; border-radius: 36px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(12px); }
.glass-card h3 { font-family: "Fraunces", serif; font-weight: 450; font-size: 56px; margin: 18px 0 20px; }

.values5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.vcard { position: relative; padding: 44px 34px; border-radius: 30px; background: #fff; border: 1px solid rgba(27,30,63,.1); box-shadow: 0 30px 60px -40px rgba(27,30,63,.4); min-height: 420px; }
.vcard .ms.big { color: var(--green); display: block; margin: 30px 0 26px; }
.vcard h3 { font-family: "Fraunces", serif; font-weight: 500; font-size: 40px; line-height: 1.1; margin-bottom: 14px; }
.vcard p { font-size: 21px; color: #5A5E80; line-height: 1.45; margin: 0; }
.vcard__n { position: absolute; top: 30px; right: 32px; font-family: "Fraunces", serif; font-size: 24px; color: #9a9db8; }

/* ------------------------------------------------ map */
.slide--map { padding-right: 60px; }
.mapslide { display: grid; grid-template-columns: 720px 1fr; gap: 40px; align-items: center; height: 100%; }
.mapslide .t-h2 { font-size: 78px; margin-bottom: 0; }
.mapstats { display: flex; gap: 46px; margin: 44px 0 40px; }
.mapstats strong { display: block; font-family: "Fraunces", serif; font-weight: 400; font-size: 92px; line-height: 1; color: #fff; letter-spacing: -.03em; }
.mapstats span { font-size: 20px; color: rgba(255,255,255,.65); }
.theme-light .mapstats strong { color: #1B1E3F; }
.loccard { position: relative; padding: 34px 38px; border-radius: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); min-height: 250px; overflow: hidden; }
.loccard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--teal), var(--green)); }
.loccard__tag { display: inline-block; font-size: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.loccard__name { font-family: "Fraunces", serif; font-weight: 450; font-size: 52px; margin: 8px 0 6px; }
.loccard__head { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.loccard__desc { font-size: 20px; color: rgba(255,255,255,.7); line-height: 1.45; }
.loccard__foot { display: flex; justify-content: space-between; gap: 16px; font-size: 18px; color: rgba(255,255,255,.6); margin-top: 6px; }
.loccard__metric { color: var(--mint); }
.bigmap { position: relative; height: 900px; }
.bigmap svg { width: 100%; height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 26%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
.bigmap .st { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.28); stroke-width: .5; vector-effect: non-scaling-stroke; }
.bigmap .st.on { fill: url(#mg); stroke: rgba(255,255,255,.7); }
.bigmap .uflabel { font: 800 9px "Jakarta", sans-serif; fill: #fff; text-anchor: middle; letter-spacing: .08em; opacity: 0; paint-order: stroke; stroke: rgba(18,21,58,.45); stroke-width: 2px; }
.mpin .dot { fill: #fff; stroke: var(--green); stroke-width: .9; }
.mpin.sede .dot { fill: var(--indigo); stroke: #fff; }
.mpin.parceria .dot { fill: #F5C542; stroke: #fff; }
.mpin .ring { fill: none; stroke: #fff; stroke-width: .5; opacity: 0; }
.mpin.is-on .dot { fill: var(--green); stroke: #fff; filter: url(#glow); }
.mpin.is-on .ring { opacity: 1; animation: ping 1.6s infinite var(--ease); transform-box: fill-box; transform-origin: center; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.maplegend { position: absolute; right: 20px; top: 0; display: flex; gap: 26px; font-size: 18px; color: rgba(255,255,255,.7); }
.maplegend span { display: inline-flex; align-items: center; gap: 10px; }
.lg { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 2px solid #fff; }
.lg.proj { background: #fff; border-color: var(--green); } .lg.parc { background: #F5C542; } .lg.sede { background: var(--indigo); }

/* ------------------------------------------------ stats */
.bigstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.bigstat { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 30px; }
.bigstat .ring { width: 300px; height: 300px; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3; }
.ring__fg { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; }
.bigstat__icon { position: absolute; top: 94px; font-size: 44px !important; color: #fff; opacity: .85; }
.bigstat strong { position: absolute; top: 140px; font-family: "Fraunces", serif; font-weight: 420; font-size: 76px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bigstat > span:last-child { margin-top: 28px; font-size: 28px; font-weight: 700; }

/* ------------------------------------------------ projects */
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.pcard { border-radius: 32px; overflow: hidden; background: #fff; color: #1B1E3F; box-shadow: 0 40px 80px -50px rgba(27,30,63,.6); }
.pcard__img { height: 330px; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { position: relative; padding: 50px 34px 38px; }
.pcard__icon { position: absolute; top: -40px; left: 34px; width: 80px; height: 80px; border-radius: 24px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 26px; box-shadow: 0 16px 30px -12px var(--c); }
.pcard h3 { font-family: "Fraunces", serif; font-weight: 500; font-size: 46px; margin-bottom: 10px; }
.pcard p { font-size: 22px; color: #5A5E80; line-height: 1.4; margin: 0; }

.programs { display: grid; gap: 18px; }
.prog { display: flex; align-items: center; gap: 26px; padding: 28px 32px; border-radius: 26px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); }
.prog__icon { width: 72px; height: 72px; flex: none; display: grid !important; place-items: center; border-radius: 20px; background: rgba(83,176,75,.25); color: var(--mint); font-size: 36px !important; }
.prog b { font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.prog h4 { font-size: 30px; font-weight: 700; margin-top: 4px; }
.prog--accent { background: linear-gradient(120deg, rgba(109,154,168,.4), rgba(83,176,75,.4)); }

.syscards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sys { padding: 50px 46px; }
.sys__icon { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; font-size: 30px; margin-bottom: 30px; }
.sys h3 { margin: 0 0 6px; font-size: 52px; }
.sys small { display: block; font-size: 20px; color: var(--mint); font-weight: 700; margin-bottom: 20px; letter-spacing: .04em; }
.sys .t-body { font-size: 22px; }

/* timeline */
.timeline { position: relative; margin-top: 40px; }
.timeline__line { position: absolute; left: 10%; top: 52px; width: 80%; height: 10px; }
.timeline__line path { stroke: url(#bgr); stroke: var(--green); stroke-width: 4; fill: none; vector-effect: non-scaling-stroke; }
.timeline__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.step { text-align: center; padding: 0 10px; }
.step__n { width: 108px; height: 108px; margin: 0 auto 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 4px solid var(--green); color: #1B1E3F; font-family: "Fraunces", serif; font-size: 48px; box-shadow: 0 20px 40px -20px rgba(83,176,75,.8); }
.step h3 { font-family: "Fraunces", serif; font-weight: 500; font-size: 40px; margin-bottom: 14px; }
.step p { font-size: 22px; line-height: 1.45; color: #4A4E72; }

/* board */
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bm { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.bm__av { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: linear-gradient(120deg, var(--indigo), var(--teal) 55%, var(--green)); }
.bm b { display: block; font-size: 20px; line-height: 1.25; }
.bm small { font-size: 16px; color: rgba(255,255,255,.6); }
.bm--lead { grid-column: 1 / -1; background: rgba(83,176,75,.2); border-color: rgba(83,176,75,.5); }
.bm--lead .bm__av { width: 70px; height: 70px; font-size: 22px; }

/* ------------------------------------------------ chrome */
.chrome { position: absolute; left: 150px; right: 150px; bottom: 56px; display: flex; justify-content: space-between; align-items: center; font-size: 20px; color: rgba(255,255,255,.55); z-index: 5; pointer-events: none; }
.chrome__brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; color: rgba(255,255,255,.8); }
.chrome__brand img { width: 34px; }
.chrome__count b { color: #fff; font-size: 26px; font-variant-numeric: tabular-nums; }
.deck[data-theme=light] .chrome, .deck[data-theme=light] .chrome__brand { color: rgba(27,30,63,.6); }
.deck[data-theme=light] .chrome__count b { color: #1B1E3F; }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; background: rgba(255,255,255,.08); z-index: 20; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--green)); transition: width .8s var(--ease); }
.progress.is-playing span { transition: none; }

.controls { position: fixed; z-index: 20; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(140%); display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(18,21,58,.78); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); transition: transform .5s var(--ease); }
.deck.show-ui .controls, .controls:focus-within { transform: translateX(-50%) translateY(0); }
.controls button, .controls a { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; text-decoration: none; transition: background .25s; }
.controls button:hover, .controls a:hover { background: rgba(255,255,255,.12); }
.controls .is-on { background: var(--green) !important; }
.controls .sep { width: 1px; height: 24px; background: rgba(255,255,255,.2); margin: 0 4px; }
.dots { position: fixed; z-index: 20; right: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; opacity: 0; transition: opacity .4s; }
.deck.show-ui .dots { opacity: 1; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: transform .3s, background .3s; }
.dots button.is-on { background: var(--green); transform: scale(1.5); }
.deck[data-theme=light] .dots button { background: rgba(27,30,63,.25); }
.deck[data-theme=light] .dots button.is-on { background: var(--green); }
.notes-panel { position: fixed; z-index: 21; left: 20px; bottom: 80px; max-width: 520px; padding: 18px 22px; border-radius: 16px; background: rgba(18,21,58,.92); border: 1px solid rgba(255,255,255,.15); font-size: 15px; line-height: 1.5; }
.notes-panel b { display: block; color: var(--mint); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }

/* overview */
.deck.is-grid .viewport { place-items: start center; overflow-y: auto; }
.deck.is-grid .stage { position: relative; left: auto; top: auto; transform: none !important; width: 100%; height: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 40px; }
.deck.is-grid .slide { position: relative; inset: auto; visibility: visible !important; opacity: 1 !important; height: 0; padding: 0; padding-bottom: 56.25%; overflow: hidden; border-radius: 14px; cursor: pointer; outline: 1px solid rgba(255,255,255,.15); background: var(--deep); }
.deck.is-grid .slide > :not(.slide__bgimg) { display: none; }
.deck.is-grid .slide::after { content: attr(data-title); right: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: absolute; left: 16px; bottom: 14px; font-size: 14px; color: rgba(255,255,255,.75); }
.deck.is-grid .slide.theme-light { background: #F5F4EF; }
.deck.is-grid .slide.theme-light::after { color: #1B1E3F; }
.deck.is-grid .slide.theme-green { background: #2d7f3a; }
.deck.is-grid .slide.is-active { outline: 3px solid var(--green); }
.deck.is-grid .chrome, .deck.is-grid .dots { display: none; }

.is-preview .controls { transform: translateX(-50%) translateY(0); }

/* dica de orientação no celular */
.rotate-hint { display: none; }
@media (orientation: portrait) and (max-width: 760px) {
  .rotate-hint { display: flex; position: fixed; z-index: 30; left: 50%; top: 18px; transform: translateX(-50%); gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(18,21,58,.85); border: 1px solid rgba(255,255,255,.15); font-size: 13px; white-space: nowrap; animation: hint-out .6s 5s forwards; }
  .rotate-hint .ms { color: var(--mint); animation: rot 1.6s infinite ease-in-out; }
  .controls { transform: translateX(-50%) translateY(0); }
}
@keyframes rot { 50% { transform: rotate(90deg); } }
@keyframes hint-out { to { opacity: 0; visibility: hidden; } }
