/* Estilo: Mackenzie institucional (SUINF, 2026)
   Base no "suíço claro" da fábrica, com Roboto (família digital do Manual de Identidade Visual, p. 100)
   e o vermelho Pantone 185 C (#EB0029, p. 96). */

@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-ext-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; src: url("fontes/roboto-latin-ext-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F6F5F2;
  --surface: #FFFFFF;
  --fg: #1B1F24;
  --muted: #5B6168;
  --line: #D8D6D0;
  --accent: #EB0029;
  --accent-fg: #D4002A;
  --accent-ink: #FFFFFF;
  --ok: #2F6F55;
  --bad: #B8342B;

  /* papéis próprios desta apresentação */
  --grafite: #232A31;
  --grafite-2: #36404A;
  --indireto: #6F88A0;
  --indireto-claro: #DCE4EC;
  --vermelho-claro: #FCE3E8;
  --mapa-terra: #E4E2DC;
  --mapa-borda: #F6F5F2;

  --font-display: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-title: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-quote: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --w-display: 900;
  --w-title: 700;
  --w-body: 400;
  --w-strong: 700;
  --title-case: none;
  --title-tracking: -0.02em;
  --display-tracking: -0.035em;
  --lh-title: 1.02;
  --lh-body: 1.38;

  --t-label: 17px;
  --t-small: 22px;
  --t-body: 27px;
  --t-lead: 34px;
  --t-quote: 52px;
  --t-h3: 32px;
  --t-h2: 64px;
  --t-h1: 104px;
  --t-display: 200px;

  --pad-y: 132px;
  --pad-x: 96px;
  --gap: 28px;
  --radius: 4px;

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --dur: 650ms;

  --frame-fg: #1B1F24;
  --frame-muted: #6C7279;
  --frame-line: #CFCCC5;
}

/* ---------- base ---------- */

.reveal .kicker { color: var(--accent-fg); letter-spacing: 0.1em; }
.reveal .kicker span { color: var(--muted); }
.reveal .source { color: var(--muted); font-weight: 500; letter-spacing: 0.05em; }
.reveal .lead { color: var(--muted); font-weight: 300; }
.reveal h2 { max-width: 1400px; }
.reveal .w-light { font-weight: 300; }
.reveal .red { color: var(--accent-fg); }

/* passos invisíveis do passador: cada um é um clique de "avançar" */
.reveal .passo { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }

/* siglas: no modo passador o sublinhado fica quase invisível; no Explorar vira pista de clique */
.reveal dfn { font-style: normal; text-decoration: none; cursor: help; }
html.explorar .reveal dfn { text-decoration: underline dotted color-mix(in srgb, currentColor 55%, transparent); text-underline-offset: 0.18em; }

/* ---------- moldura ---------- */

.frame-title::before {
  width: clamp(40px, 3.15vw, 62px);
  height: clamp(40px, 3.15vw, 62px);
  border-radius: 0;
  background: url("../assets/img/logo/m-vermelho.svg") center / contain no-repeat;
}
.frame-title { align-items: center; gap: 16px; background: none; backdrop-filter: none; }
.frame-title b { letter-spacing: 0.12em; }
.frame-chapters { background: none; backdrop-filter: none; }
.frame-chapters button.is-current { color: var(--accent-fg); box-shadow: 0 2px 0 var(--accent); }
.frame-track i { background: var(--accent); }
.frame-instituicao { color: var(--frame-muted); white-space: nowrap; }
.frame-bottom button[data-acao="explorar"].is-on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* slides escuros (citação): moldura clara */
html.slide-escuro .frame { --frame-fg: #F2F1EE; --frame-muted: #9AA3AC; --frame-line: #4A545E; }
html.slide-escuro .frame-title::before { background-image: url("../assets/img/logo/m-branco.svg"); }
html.slide-escuro .frame-bottom button { background: transparent; }
html.slide-capa .frame { opacity: 0; pointer-events: none; }

/* cursor some no modo passador quando o mouse fica parado */
html.cursor-oculto, html.cursor-oculto * { cursor: none !important; }

/* ---------- capa ---------- */

.reveal .slides > section.s-capa { padding: 0; flex-direction: row; gap: 0; }
.reveal .s-capa .capa-texto {
  position: relative;
  flex: 0 0 860px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 80px 110px var(--pad-x);
  box-sizing: border-box;
}
.reveal .s-capa .capa-logo { width: 380px; height: auto; cursor: default; }
.reveal .s-capa .capa-sigla { font-size: 30px; font-weight: 700; letter-spacing: 0.32em; color: var(--accent-fg); margin-bottom: 26px; }
.reveal .s-capa h1 { font-size: 92px; line-height: 0.98; letter-spacing: -0.03em; font-weight: 900; max-width: 700px; }
.reveal .s-capa .capa-sub { margin-top: 34px; font-size: 30px; font-weight: 300; color: var(--muted); }
.reveal .s-capa .capa-meta { font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.reveal .s-capa .capa-meta b { color: var(--fg); }
.reveal .s-capa .capa-foto { position: relative; flex: 1; height: 100%; overflow: hidden; background: var(--grafite); }
.reveal .s-capa .capa-foto img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: default; }
.reveal .s-capa .capa-foto .placeholder { height: 100%; }
.reveal .s-capa .capa-aviso {
  position: absolute; right: 28px; top: 26px; padding: 8px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
}
/* anel do M: o recurso gráfico da apresentação */
.reveal .anel {
  position: absolute; border-radius: 50%; border: 14px solid var(--accent); pointer-events: none; box-sizing: border-box;
}
.reveal .s-capa .anel { width: 240px; height: 240px; left: 740px; top: 770px; z-index: 2; }

/* ---------- números ---------- */

.reveal .numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; border-top: 2px solid var(--fg); }
.reveal .numero { padding: 34px 40px 0 0; border-right: 1px solid var(--line); }
.reveal .numero + .numero { padding-left: 40px; }
.reveal .numero:last-child { border-right: 0; }
.reveal .numero .valor { font-size: 210px; font-weight: 900; letter-spacing: -0.05em; line-height: 0.9; color: var(--fg); font-variant-numeric: tabular-nums; }
.reveal .numero .valor.red { color: var(--accent); }
.reveal .numero .rotulo { margin-top: 18px; font-size: 32px; font-weight: 700; }
.reveal .numero .detalhe { margin-top: 8px; font-size: 22px; color: var(--muted); max-width: 440px; }

/* ---------- organograma ---------- */

.reveal .slides > section.s-org { padding-top: 120px; padding-bottom: 110px; }
.reveal .org { display: grid; grid-template-columns: 560px 1fr; gap: 64px; height: 100%; }
.reveal .org-arvore { position: relative; display: flex; flex-direction: column; gap: 0; padding-top: 6px; }
.reveal .org-titulo h2 { font-size: 52px; }
.reveal .org-titulo { margin-bottom: 30px; }

.reveal .org-no {
  all: unset; box-sizing: border-box; position: relative; display: flex; align-items: center; gap: 18px;
  padding: 10px 14px; border-radius: 12px; cursor: pointer; transition: background 400ms var(--ease), opacity 400ms var(--ease);
}
.reveal .org-no img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; cursor: pointer; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--line); transition: box-shadow 400ms var(--ease); }
.reveal .org-no .org-txt { display: flex; flex-direction: column; gap: 2px; }
.reveal .org-no .sigla { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent-fg); text-transform: uppercase; }
.reveal .org-no .nome { font-size: 24px; font-weight: 700; line-height: 1.15; }
.reveal .org-no .cargo { font-size: 18px; color: var(--muted); line-height: 1.25; }
.reveal .org-no.is-sup img { width: 96px; height: 96px; }
.reveal .org-no.is-ativo { background: var(--surface); box-shadow: 0 10px 30px rgba(27, 31, 36, 0.08); }
.reveal .org-no.is-ativo img { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--accent); }
.reveal .org[data-foco] .org-no:not(.is-ativo) { opacity: 0.55; }

.reveal .org-staff { position: relative; margin: 6px 0 6px 62px; padding-left: 40px; }
.reveal .org-staff::before { content: ""; position: absolute; left: 0; top: 48px; width: 40px; border-top: 2px dashed var(--muted); }
.reveal .org-staff .tag-staff { position: absolute; left: 6px; top: 56px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.reveal .org-coords { position: relative; margin-left: 62px; padding-left: 40px; display: flex; flex-direction: column; gap: 4px; }
.reveal .org-coords .org-no::before { content: ""; position: absolute; left: -40px; top: 50%; width: 40px; border-top: 2px solid var(--fg); }
.reveal .org-espinha { position: absolute; left: 61px; width: 0; border-left: 2px solid var(--fg); }
.reveal .org-dirad { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px 14px; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.reveal .org-dirad::after { content: ""; width: 60px; border-top: 1px solid var(--line); }

.reveal .org-palco { position: relative; }
.reveal .palco-cena { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s 500ms; }
.reveal .palco-cena.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 600ms var(--ease) 120ms, transform 600ms var(--ease) 120ms, visibility 0s; }

.reveal .pessoa { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; cursor: pointer; }
.reveal .pessoa img { display: block; border-radius: 50%; object-fit: cover; cursor: pointer; background: var(--surface); transition: transform 400ms var(--ease); }
html.explorar .reveal .pessoa:hover img { transform: scale(1.06); }
.reveal .pessoa .nome { font-size: 22px; font-weight: 700; line-height: 1.15; }
.reveal .pessoa .cargo { font-size: 19px; color: var(--muted); line-height: 1.2; }

.reveal .mosaico-todos { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px 14px; justify-items: center; }
.reveal .mosaico-todos .pessoa img { width: 112px; height: 112px; }
.reveal .mosaico-todos .pessoa .nome { font-size: 15px; font-weight: 500; color: var(--muted); }
.reveal .mosaico-legenda { margin-top: 30px; display: flex; gap: 30px; font-size: 20px; color: var(--muted); }
.reveal .mosaico-legenda b { color: var(--fg); }

.reveal .lider { display: flex; align-items: center; gap: 40px; margin-bottom: 40px; }
.reveal .lider .pessoa img { width: 200px; height: 200px; box-shadow: 0 0 0 6px var(--bg), 0 0 0 10px var(--accent); }
.reveal .lider .lider-txt .sigla { font-size: 18px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent-fg); text-transform: uppercase; }
.reveal .lider .lider-txt .nome { font-size: 52px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; margin-top: 6px; }
.reveal .lider .lider-txt .cargo { font-size: 26px; color: var(--muted); margin-top: 6px; }
.reveal .lider .lider-txt .desc { font-size: 22px; margin-top: 16px; max-width: 640px; }
.reveal .equipe-grade { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 18px; }
.reveal .equipe-grade .pessoa img { width: 128px; height: 128px; }
.reveal .palco-cena.is-sup { align-items: flex-start; }
.reveal .palco-cena.is-sup .lider .pessoa img { width: 300px; height: 300px; }
.reveal .palco-cena.is-sup .lider .lider-txt .nome { font-size: 72px; }

/* ficha da pessoa (Explorar) */
.ficha {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: rgba(27, 31, 36, 0.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity 300ms var(--ease);
}
.ficha.is-open { opacity: 1; }
.ficha[hidden] { display: none; }
.ficha-card {
  display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0; max-width: min(92vw, 1100px); max-height: 86vh;
  background: var(--surface); border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  font-family: var(--font-body); color: var(--fg);
}
.ficha-card img { display: block; height: min(80vh, 760px); width: auto; aspect-ratio: 2 / 3; object-fit: cover; background: #eee; }
.ficha-txt { padding: clamp(24px, 3vw, 56px); display: flex; flex-direction: column; gap: 10px; min-width: 300px; }
.ficha-txt .sigla { font-size: clamp(12px, 0.9vw, 17px); font-weight: 700; letter-spacing: 0.14em; color: var(--accent-fg); text-transform: uppercase; }
.ficha-txt .nome { font-size: clamp(28px, 3vw, 58px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; }
.ficha-txt .cargo { font-size: clamp(16px, 1.4vw, 26px); color: var(--muted); }
.ficha-txt .coord { font-size: clamp(14px, 1.05vw, 20px); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ficha-txt .dica { font-size: clamp(11px, 0.8vw, 14px); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 18px; }

/* ---------- tabela de perfis ---------- */

.reveal .perfis { display: grid; grid-template-columns: 330px repeat(5, auto) 110px; align-items: center; column-gap: 0; margin-top: 18px; }
.reveal .perfis > div { padding: 14px 18px; border-bottom: 1px solid var(--line); min-height: 64px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; box-sizing: border-box; }
.reveal .perfis .cab { font-size: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--fg); min-height: 0; }
.reveal .perfis .lin { font-size: 24px; font-weight: 700; flex-direction: column; align-items: flex-start; gap: 0; }
.reveal .perfis .lin small { font-size: 18px; font-weight: 400; color: var(--muted); }
.reveal .perfis .tot { font-size: 40px; font-weight: 900; justify-content: flex-end; font-variant-numeric: tabular-nums; }
.reveal .perfis .rod { border-bottom: 0; border-top: 2px solid var(--fg); font-size: 34px; font-weight: 900; }
.reveal .perfis .rod.lin { font-size: 22px; }
.reveal .perfis img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; cursor: default; }
.reveal .perfis .col-destaque { background: var(--vermelho-claro); transition: background 500ms var(--ease); }
.reveal .perfis:not(.is-destaque) .col-destaque { background: transparent; }

/* ---------- mapa ---------- */

.reveal .slides > section.s-mapa { padding-top: 120px; padding-bottom: 100px; }
.reveal .mapa-wrap { display: grid; grid-template-columns: 620px 1fr; gap: 40px; height: 100%; }
.reveal .mapa-info { display: flex; flex-direction: column; gap: 22px; }
.reveal .mapa-info h2 { font-size: 58px; }
.reveal .mapa-painel { position: relative; flex: 1; }
.reveal .mapa-cena { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(-12px); transition: opacity 450ms var(--ease), transform 450ms var(--ease), visibility 0s 450ms; }
.reveal .mapa-cena.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 550ms var(--ease) 250ms, transform 550ms var(--ease) 250ms, visibility 0s; }
.reveal .mapa-cena .regiao { font-size: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-fg); margin-bottom: 14px; }
.reveal .mapa-cena ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.reveal .mapa-cena li { padding-left: 22px; border-left: 3px solid var(--accent); }
.reveal .mapa-cena li b { display: block; font-size: 28px; }
.reveal .mapa-cena li span { display: block; font-size: 21px; color: var(--muted); line-height: 1.3; }
.reveal .mapa-resumo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
.reveal .mapa-resumo div { border-top: 2px solid var(--fg); padding-top: 10px; }
.reveal .mapa-resumo b { display: block; font-size: 56px; font-weight: 900; line-height: 1; }
.reveal .mapa-resumo span { font-size: 21px; color: var(--muted); }

.reveal .mapa-svg-box { position: relative; overflow: hidden; border-radius: 4px; }
.reveal .mapa-svg-box svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.reveal .mapa-svg-box .uf { fill: var(--mapa-terra); stroke: var(--mapa-borda); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: fill 600ms var(--ease); }
.reveal .mapa-svg-box .uf.tem { fill: #D5D2CA; }
.reveal .mapa-svg-box .uf.foco { fill: #D6D2C9; }
.reveal .mapa-svg-box .uf.tem.foco { fill: #F2BAC6; }
.reveal .mapa-rotulos { position: absolute; inset: 0; pointer-events: none; }
.reveal .pino { position: absolute; width: 0; height: 0; pointer-events: auto; }
.reveal .pino i {
  position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; box-sizing: border-box;
  border: 7px solid var(--accent); background: #fff; transform: scale(0); transition: transform 500ms cubic-bezier(0.3, 1.6, 0.5, 1);
}
.reveal .pino.is-on i { transform: scale(1); }
.reveal .pino span {
  position: absolute; left: 22px; top: -17px; white-space: nowrap; font-size: 21px; font-weight: 700; color: var(--fg);
  padding: 2px 8px; border-radius: 4px; background: color-mix(in srgb, var(--bg) 82%, transparent);
  opacity: 0; transition: opacity 400ms var(--ease);
}
.reveal .pino.esq span { left: auto; right: 22px; }
.reveal .pino.cima span { top: -46px; left: -10px; }
.reveal .pino.baixo span { top: 14px; left: -10px; }
.reveal .pino.rotulo span { opacity: 1; }
html.explorar .reveal .pino { cursor: pointer; }
.reveal .mapa-dica { position: absolute; right: 12px; bottom: 10px; font-size: 15px; color: var(--muted); display: none; }
html.explorar .reveal .mapa-dica { display: block; }

/* ---------- áreas pares ---------- */

.reveal .slides > section.s-areas { padding-top: 120px; padding-bottom: 100px; }
.reveal .areas-wrap { display: grid; grid-template-columns: 900px 1fr; gap: 40px; height: 100%; align-items: center; }
.reveal .areas-svg { width: 900px; height: 780px; overflow: visible; }
.reveal .areas-svg .lig { stroke: var(--line); stroke-width: 2; transition: stroke 500ms var(--ease), opacity 500ms var(--ease); }
.reveal .areas-svg .sat circle { fill: var(--surface); stroke: var(--line); stroke-width: 2; transition: fill 500ms var(--ease), stroke 500ms var(--ease), opacity 500ms var(--ease); }
.reveal .areas-svg .sat text { font-family: var(--font-ui); font-size: 22px; font-weight: 700; fill: var(--muted); text-anchor: middle; dominant-baseline: central; transition: fill 500ms var(--ease); }
.reveal .areas-svg .sat.on.direta circle { fill: var(--accent); stroke: var(--accent); }
.reveal .areas-svg .sat.on.indireta circle { fill: var(--indireto); stroke: var(--indireto); }
.reveal .areas-svg .sat.on text { fill: #fff; }
.reveal .areas-svg .lig.on.direta { stroke: var(--accent); stroke-width: 3; }
.reveal .areas-svg .lig.on.indireta { stroke: var(--indireto); stroke-width: 3; stroke-dasharray: 8 8; }
.reveal .areas-svg.tem-grupo .sat:not(.grupo) { opacity: 0.22; }
.reveal .areas-svg.tem-grupo .lig:not(.grupo) { opacity: 0.15; }
.reveal .areas-svg .centro circle { fill: var(--grafite); }
.reveal .areas-svg .centro text { fill: #fff; text-anchor: middle; font-family: var(--font-ui); }
.reveal .areas-svg .centro .c1 { font-size: 58px; font-weight: 900; letter-spacing: 0.04em; }
.reveal .areas-svg .centro .c2 { font-size: 19px; font-weight: 500; letter-spacing: 0.08em; fill: #C9CED4; }
html.explorar .reveal .areas-svg .sat { cursor: pointer; }

.reveal .areas-painel { position: relative; height: 100%; }
.reveal .areas-cena { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; opacity: 0; visibility: hidden; transition: opacity 450ms var(--ease), visibility 0s 450ms; }
.reveal .areas-cena.is-on { opacity: 1; visibility: visible; transition: opacity 550ms var(--ease) 150ms, visibility 0s; }
.reveal .areas-cena h2 { font-size: 52px; }
.reveal .legenda { display: flex; flex-direction: column; gap: 14px; font-size: 24px; }
.reveal .legenda span { display: flex; align-items: center; gap: 14px; }
.reveal .legenda i { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.reveal .legenda .l-direta i { background: var(--accent); }
.reveal .legenda .l-indireta i { background: var(--indireto); }
.reveal .legenda .l-suinf i { background: var(--grafite); }
.reveal .area-lista { display: flex; flex-direction: column; gap: 14px; }
.reveal .area-item { display: grid; grid-template-columns: 150px 1fr; gap: 6px 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.reveal .area-item .s { font-size: 24px; font-weight: 900; }
.reveal .area-item .s.direta { color: var(--accent-fg); }
.reveal .area-item .s.indireta { color: var(--indireto); }
.reveal .area-item .n { font-size: 21px; font-weight: 700; }
.reveal .area-item .d { grid-column: 2; font-size: 20px; color: var(--muted); line-height: 1.3; }

/* ---------- processo de obras ---------- */

.reveal .slides > section.s-fluxo { padding-top: 124px; padding-bottom: 100px; justify-content: flex-start; }
.reveal .fluxo-trilho { position: relative; display: grid; grid-template-columns: 200px repeat(5, 1fr) 170px; align-items: start; margin-top: 26px; }
.reveal .fluxo-linha { position: absolute; left: 100px; right: 85px; top: 60px; height: 4px; background: var(--line); }
.reveal .fluxo-linha i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--accent); transition: width 900ms var(--ease); }
.reveal .estacao { all: unset; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; cursor: default; }
html.explorar .reveal .estacao { cursor: pointer; }
.reveal .estacao .disco {
  width: 120px; height: 120px; border-radius: 50%; box-sizing: border-box; display: grid; place-items: center;
  background: var(--bg); border: 10px solid var(--line); color: var(--muted); font-size: 48px;
  transition: border-color 500ms var(--ease), background 500ms var(--ease), color 500ms var(--ease), transform 500ms var(--ease);
}
.reveal .estacao .num { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); }
.reveal .estacao .tit { font-size: 25px; font-weight: 700; line-height: 1.15; }
.reveal .estacao.feita .disco { border-color: var(--accent); color: var(--accent-fg); }
.reveal .estacao.atual .disco { border-color: var(--accent); background: var(--accent); color: #fff; transform: scale(1.12); }
.reveal .estacao.atual .num { color: var(--accent-fg); }
.reveal .estacao.entrada .disco, .reveal .estacao.fim .disco { width: 96px; height: 96px; margin-top: 12px; border-width: 0; background: var(--grafite); color: #fff; font-size: 42px; }
.reveal .estacao.fim .disco { background: var(--line); color: var(--muted); }
.reveal .estacao.fim.feita .disco { background: var(--accent); color: #fff; }
.reveal .estacao .sub { font-size: 18px; color: var(--muted); line-height: 1.25; }

.reveal .fluxo-detalhe { position: relative; flex: 1; margin-top: 40px; }
.reveal .fase-cena { position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 450ms var(--ease), transform 450ms var(--ease), visibility 0s 450ms; }
.reveal .fase-cena.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 550ms var(--ease) 200ms, transform 550ms var(--ease) 200ms, visibility 0s; }
.reveal .fase-cena h3 { font-size: 44px; font-weight: 900; letter-spacing: -0.02em; }
.reveal .fase-cena ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.reveal .fase-cena li { position: relative; padding-left: 30px; font-size: 25px; line-height: 1.3; }
.reveal .fase-cena li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--accent); box-sizing: border-box; }
.reveal .fase-lado { display: flex; flex-direction: column; gap: 22px; }
.reveal .fase-lado .rot { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.reveal .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.reveal .chip { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 21px; font-weight: 700; }
.reveal .chip.int { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.reveal .marco { display: flex; gap: 18px; align-items: flex-start; padding: 20px 24px; background: var(--vermelho-claro); border-left: 6px solid var(--accent); font-size: 22px; line-height: 1.3; }
.reveal .marco .ph { font-size: 34px; color: var(--accent-fg); }
.reveal .fase-cena.resumo { grid-template-columns: repeat(3, 1fr); align-items: start; }
.reveal .resumo-num b { display: block; font-size: 120px; font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; }
.reveal .resumo-num span { font-size: 24px; color: var(--muted); }
.reveal .botao-detalhe {
  all: unset; position: absolute; right: var(--pad-x); top: 132px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); cursor: pointer; display: none;
}
html.explorar .reveal .botao-detalhe { display: inline-flex; gap: 10px; align-items: center; }
.reveal .botao-detalhe:hover { border-color: var(--fg); color: var(--fg); }

/* painel do fluxo completo (11 etapas) */
.fluxo-completo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1500px; font-size: clamp(13px, 0.95vw, 18px); line-height: 1.35; }
.fluxo-completo .etapa { background: var(--surface); padding: 18px 20px; border-top: 4px solid var(--accent); }
.fluxo-completo .etapa .n { font-weight: 900; color: var(--accent-fg); font-size: 1.3em; }
.fluxo-completo .etapa h4 { margin: 4px 0 8px; font-size: 1.1em; }
.fluxo-completo .etapa ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.fluxo-completo .fase-rot { grid-column: 1 / -1; margin-top: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 6px; }

/* ---------- galeria ---------- */

.reveal .slides > section.s-galeria { padding-top: 120px; padding-bottom: 96px; }
.reveal .galeria-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.reveal .galeria-topo h2 { font-size: 56px; }
.reveal .galeria {
  flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); grid-auto-flow: dense; gap: 12px; margin-top: 8px;
  transition: opacity 500ms var(--ease), filter 500ms var(--ease);
}
.reveal .tile { all: unset; position: relative; overflow: hidden; border-radius: 3px; background: var(--line); cursor: default; }
html.explorar .reveal .tile { cursor: pointer; }
.reveal .tile.g { grid-column: span 2; grid-row: span 2; }
.reveal .tile.l { grid-column: span 2; }
.reveal .tile.a { grid-row: span 2; }
.reveal .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: inherit; transition: transform 900ms var(--ease); }
html.explorar .reveal .tile:hover img { transform: scale(1.04); }
.reveal .tile .rot {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}
.reveal .tile .rot b { display: block; font-size: 21px; line-height: 1.15; }
.reveal .tile .rot span { font-size: 16px; opacity: 0.85; letter-spacing: 0.04em; }
.reveal .tile .n { position: absolute; left: 14px; top: 12px; font-size: 15px; font-weight: 900; color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 10px; }

.reveal .projeto-foco {
  position: absolute; left: var(--pad-x); right: var(--pad-x); top: 118px; bottom: 96px; display: grid; grid-template-columns: 1fr 470px; gap: 40px;
  opacity: 0; visibility: hidden; transition: opacity 450ms var(--ease), visibility 0s 450ms; background: var(--bg); z-index: 3;
}
.reveal .projeto-foco.is-on { opacity: 1; visibility: visible; transition: opacity 500ms var(--ease), visibility 0s; }
.reveal .comparar { position: relative; overflow: hidden; border-radius: 3px; background: #222; touch-action: none; user-select: none; }
.reveal .comparar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: inherit; pointer-events: none; }
.reveal .comparar .depois { clip-path: inset(0 0 0 var(--corte, 100%)); }
.reveal .comparar .divisor { position: absolute; top: 0; bottom: 0; left: var(--corte, 100%); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); }
.reveal .comparar .divisor i {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--fg); font-size: 30px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
html.explorar .reveal .comparar { cursor: ew-resize; }
.reveal .comparar .et { position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; font-size: 16px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, 0.55); transition: opacity 300ms; }
.reveal .comparar .et-antes { left: 18px; }
.reveal .comparar .et-depois { right: 18px; background: var(--accent); }
.reveal .projeto-info { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.reveal .projeto-info .num { font-size: 18px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent-fg); }
.reveal .projeto-info h3 { font-size: 46px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.reveal .projeto-info .frase { font-size: 25px; line-height: 1.35; }
.reveal .projeto-info dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 21px; }
.reveal .projeto-info dt { color: var(--muted); }
.reveal .projeto-info dd { margin: 0; font-weight: 700; }
.reveal .projeto-info .prov { margin-top: auto; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.reveal .projeto-pontos { display: flex; gap: 8px; }
.reveal .projeto-pontos i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.reveal .projeto-pontos i.on { background: var(--accent); }

/* ---------- perspectivas ---------- */

.reveal .slides > section.s-visao { flex-direction: row; align-items: stretch; gap: 80px; padding-top: 140px; }
.reveal .s-visao .visao-txt { flex: 0 0 860px; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.reveal .s-visao h2 { font-size: 70px; line-height: 1.02; }
.reveal .s-visao .visao-txt p:not(.kicker) { font-size: 28px; line-height: 1.45; color: var(--grafite-2); max-width: 780px; }
.reveal .s-visao .visao-img { position: relative; flex: 1; }
.reveal .s-visao .visao-img .placeholder,
.reveal .s-visao .visao-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal .tres { display: flex; gap: 14px; flex-wrap: wrap; }
.reveal .tres span { padding: 10px 20px; border: 2px solid var(--fg); border-radius: 999px; font-size: 22px; font-weight: 700; }

.reveal .frentes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 18px; }
.reveal .frente { position: relative; padding: 30px 32px 34px; background: var(--surface); border-top: 6px solid var(--line); min-height: 280px; box-sizing: border-box; transition: border-color 500ms var(--ease), opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal .frente .ph { font-size: 52px; color: var(--muted); transition: color 500ms var(--ease); }
.reveal .frente .k { position: absolute; right: 26px; top: 26px; font-size: 44px; font-weight: 900; color: var(--line); }
.reveal .frente h3 { margin-top: 18px; font-size: 30px; font-weight: 700; }
.reveal .frente p { margin-top: 12px; font-size: 21px; line-height: 1.38; color: var(--muted); }
.reveal .frentes .frente.fragment { opacity: 0.12; transform: none; visibility: visible; }
.reveal .frentes .frente.fragment.visible { opacity: 1; }
.reveal .frentes .frente.fragment.current-fragment { border-top-color: var(--accent); }
.reveal .frentes .frente.fragment.current-fragment .ph { color: var(--accent-fg); }
.reveal .frentes .frente.destaque .selo { position: absolute; right: 26px; bottom: 22px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-fg); }

/* experiência do usuário */
.reveal .ux { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; margin-top: 16px; }
.reveal .ux-bloco .rot { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.reveal .usuarios { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; }
.reveal .usuario { display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 999px; background: var(--surface); font-size: 24px; font-weight: 700; }
.reveal .usuario .ph { font-size: 34px; color: var(--accent-fg); }
.reveal .empatia { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reveal .empatia > div { background: var(--surface); padding: 20px 24px; min-height: 138px; box-sizing: border-box; }
.reveal .empatia b { display: block; font-size: 27px; }
.reveal .empatia span { display: block; margin-top: 6px; font-size: 21px; color: var(--muted); line-height: 1.3; }
.reveal .empatia > div:nth-child(1) { border-left: 6px solid var(--accent); }
.reveal .empatia > div:nth-child(2) { border-left: 6px solid var(--grafite); }
.reveal .empatia > div:nth-child(3) { border-left: 6px solid var(--indireto); }
.reveal .empatia > div:nth-child(4) { border-left: 6px solid var(--muted); }
.reveal .escala { display: flex; flex-direction: column; gap: 12px; background: var(--surface); padding: 22px 26px; }
.reveal .escala .linha { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; font-size: 22px; }
.reveal .escala .pts { display: flex; gap: 8px; }
.reveal .escala .pts i { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--accent); box-sizing: border-box; }
.reveal .escala .pts i.on { background: var(--accent); }
.reveal .escala .ex { font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }

/* ---------- citação ---------- */

.reveal .slides > section.s-citacao { background: var(--grafite); justify-content: center; padding-left: 150px; }
.reveal .s-citacao .linha-cit { font-size: 118px; font-weight: 300; line-height: 1.08; letter-spacing: -0.03em; color: #F2F1EE; max-width: none; }
.reveal .s-citacao .linha-cit b { font-weight: 900; color: var(--accent); }
.reveal .s-citacao .linha-cit.fragment { opacity: 0.12; visibility: visible; }
.reveal .s-citacao .linha-cit.fragment.visible { opacity: 1; }
.reveal .s-citacao cite { margin-top: 40px; font-style: normal; font-size: 24px; letter-spacing: 0.2em; text-transform: uppercase; color: #9AA3AC; display: flex; align-items: center; gap: 22px; }
.reveal .s-citacao cite::before { content: ""; width: 80px; border-top: 3px solid var(--accent); }
.reveal .s-citacao .anel { width: 560px; height: 560px; right: -280px; top: 150px; border-width: 22px; opacity: 0.9; }

/* ---------- encerramento ---------- */

.reveal .slides > section.s-fim { flex-direction: row; gap: 70px; align-items: stretch; padding-top: 130px; padding-bottom: 110px; }
.reveal .s-fim .fim-txt { flex: 0 0 780px; display: flex; flex-direction: column; justify-content: space-between; }
.reveal .s-fim h2 { font-size: 150px; font-weight: 900; letter-spacing: -0.045em; line-height: 0.92; }
.reveal .s-fim .contato { margin-top: 30px; font-size: 30px; line-height: 1.4; }
.reveal .s-fim .contato b { display: block; font-size: 36px; }
.reveal .s-fim .contato span { color: var(--muted); }
.reveal .s-fim .versiculo { font-size: 30px; font-style: italic; font-weight: 300; line-height: 1.35; max-width: 720px; padding-left: 26px; border-left: 4px solid var(--accent); }
.reveal .s-fim .versiculo cite { display: block; margin-top: 12px; font-size: 19px; font-style: normal; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.reveal .s-fim .ipm { width: 420px; height: auto; cursor: default; }
.reveal .s-fim .fim-equipe { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-content: center; }
.reveal .s-fim .fim-equipe img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; cursor: default; }
.reveal .s-fim .fim-equipe .rot-equipe { grid-column: 1 / -1; font-size: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- glossário (tecla G) ---------- */

.siglas { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 40px; max-width: 1600px; font-size: clamp(14px, 1vw, 19px); }
.siglas div { padding: 14px 0; border-top: 1px solid var(--line); }
.siglas b { display: block; font-size: 1.25em; color: var(--accent-fg); }
.siglas span { display: block; font-weight: 700; }
.siglas p { margin: 4px 0 0; color: var(--muted); line-height: 1.35; }
.glossario-tip b { color: var(--accent-fg); }

/* ---------- modo estudo ---------- */

html.is-study .reveal .passo { display: none; }
