/* Só a página do Performance (carregado depois do site.css). Vem de .superpowers/performance (sincronizar.py). */
/* =====================================================================
   PÁGINA DO PERFORMANCE (protótipo). Tokens, .sec, .wrap, .display, .lede, .btn, .kicker, .link e .faq vêm do
   site.css e dos estilos da home aprovada (16/11). Mesmo vocabulário da página do Academy, com prefixo pf-.
   Ritmo: navy (topo) > branco (partida) > névoa (plataforma) > navy (diretoria) > branco (RH e lideranças) >
   névoa (saúde) > branco (conexões) > navy (resumo) > branco (perguntas) > navy (chamada final).
   23/11: sem o resumo (as respostas foram para os cartões das três perguntas); conexões passa a névoa.
   ===================================================================== */
.performance { --shadow-card: 0 1px 2px rgba(11,20,48,.04), 0 12px 32px -18px rgba(11,20,48,.22); }
.performance h2.display { font-size: clamp(2rem, min(3.6vw, 6vh), 3.1rem); max-width: 17em; letter-spacing: -.01em; }
.performance h3 { font-family: var(--display); font-weight: 500; font-size: 1.12rem; line-height: 1.3; margin: 0; letter-spacing: -.003em; }
.pf-head { margin-bottom: clamp(28px, 4.4vh, 52px); max-width: 46rem; }
.pf-light { background: #E4EAF5; color: var(--ink); }
.pf-white { background: var(--white); color: var(--ink); }
.pf-dark { background: var(--navy); color: var(--white); }
.pf-light .lede, .pf-white .lede { color: var(--muted); }
.pf-dark .kicker, .pf-hero .kicker { color: var(--cyan); }
.performance svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pf-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-fict { margin: 16px 0 0; font-size: .875rem; color: var(--muted); }
.pf-fict-escuro, .pf-hero .pf-fict { color: var(--muted-dark); }
/* Seções curtas não ocupam uma janela inteira no computador */
@media (min-width: 1024px) { .home > .pf-curta { min-height: 0; padding: clamp(72px, 11vh, 120px) 0; } }

/* Entradas: só com html.motion; sem script ou com movimento reduzido, tudo já está visível */
html.motion .performance [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.motion .performance [data-reveal].is-in { opacity: 1; transform: none; }
html.motion .performance .pf-perguntas [data-reveal]:nth-child(2) { transition-delay: .08s; }
html.motion .performance .pf-perguntas [data-reveal]:nth-child(3) { transition-delay: .16s; }

/* ---------- Topo ---------- */
.pf-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy); }
.pf-hero { padding: calc(var(--header) + 40px) 0 clamp(48px, 7vh, 80px); }
.pf-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 60% at 78% 42%, rgba(34,144,201,.32), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(37,63,133,.55), transparent 70%),
    linear-gradient(160deg, var(--navy) 40%, #142250); }
.pf-hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 70% at 75% 45%, #000, transparent 75%);
          mask-image: radial-gradient(60% 70% at 75% 45%, #000, transparent 75%); }
.pf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.pf-assin { display: block; width: 260px; height: auto; margin-bottom: clamp(18px, 3vh, 28px); }
.pf-hero h1 { font-size: clamp(2.3rem, min(4vw, 6.4vh), 3.6rem); max-width: 13em; letter-spacing: -.015em; }
.pf-hero .lede { color: rgba(255,255,255,.84); margin-top: clamp(14px, 2.4vh, 24px); max-width: 32em; }
.pf-hero .pf-ctas { margin-top: clamp(20px, 3.4vh, 36px); }
.pf-hero-fig { margin: 0; }
.pf-janela { border-radius: 14px; overflow: hidden; background: #F6F7FB; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.pf-janela-barra { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.pf-janela-barra i { width: 9px; height: 9px; border-radius: 50%; background: #D5DBE8; }
.pf-janela-barra span { margin-left: 10px; font-size: .875rem; font-weight: 500; color: var(--muted); }
.pf-janela img { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
  /* 23/11: a regra da home (.home > .sec, padding: var(--sec-y) 0) tirava o recuo do cabeçalho fixo e o notebook subia
     para baixo do menu, cobrindo o "Agendar demonstração". O topo volta a reservar a altura do cabeçalho. */
  .home > .pf-hero { min-height: 100vh; min-height: 100svh; padding: calc(var(--header) + clamp(24px, 4vh, 48px)) 0 clamp(32px, 5vh, 64px); }
  .pf-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
  .pf-hero-fig { margin-right: calc(-1 * clamp(0px, 4vw, 64px)); }
}

/* ---------- O ponto de partida ---------- */
.pf-perguntas, .pf-pontos { list-style: none; margin: 0; padding: 0; }
.pf-perguntas { display: grid; gap: 16px; }
.pf-perguntas li { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vh, 32px); display: grid; gap: 12px; align-content: start; }
.pf-perguntas h3 { font-size: 1.3rem; }
.pf-perguntas p { margin: 0; color: var(--muted); }
.pf-num { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--blue-mid); letter-spacing: .02em; }
@media (min-width: 860px) { .pf-perguntas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.pf-tambem { margin: clamp(22px, 3vh, 32px) 0 0; color: var(--muted); max-width: 50em; }
.pf-tambem b { color: var(--ink); font-weight: 500; }

/* ---------- Pontos (título em negrito e texto) ---------- */
.pf-pontos { display: grid; gap: 16px; margin-top: 20px; }
/* 24/11: sem o filete lateral (dava cara de texto de IA); o título em negrito já separa cada ponto */
.pf-pontos li { color: var(--muted); line-height: 1.5; }
.pf-pontos b { display: block; color: var(--ink); font-weight: 500; font-size: 1.03rem; margin-bottom: 2px; }
.pf-dark .pf-pontos li { color: rgba(255,255,255,.78); }
.pf-dark .pf-pontos b { color: var(--white); }
.pf-obs { margin: 18px 0 0; font-size: .9375rem; color: var(--muted); }
.pf-dark .pf-obs { color: var(--muted-dark); }

/* ---------- Telas ---------- */
.pf-tela { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #F6F7FB; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.pf-tela img { display: block; width: 100%; height: auto; }
.pf-tela[data-zoom] { cursor: zoom-in; }
.pf-tela[data-zoom]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.pf-dark .pf-tela { border-color: rgba(255,255,255,.1); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }

/* ---------- Para a diretoria: abas ---------- */
.pf-abas-lista { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(22px, 3vh, 32px); }
.pf-abas-lista button { font: inherit; font-weight: 500; font-size: .98rem; cursor: pointer; border-radius: 999px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: rgba(255,255,255,.82); transition: background .2s, color .2s, border-color .2s; }
.pf-abas-lista button:hover { border-color: rgba(255,255,255,.5); color: var(--white); }
.pf-abas-lista button[aria-selected="true"] { background: var(--white); border-color: var(--white); color: var(--navy); }
.pf-abas-lista button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pf-aba { display: grid; gap: 28px; align-items: center; }
.pf-aba[hidden] { display: none; }
.pf-aba:focus-visible { outline: none; }
.pf-aba h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 400; }
@media (min-width: 1024px) { .pf-aba { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } }
html.motion .pf-aba:not([hidden]) { animation: pf-entra .45s var(--ease); }
@keyframes pf-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Tela ampliada ---------- */
.pf-zoom { border: 0; padding: 0; background: transparent; max-width: min(1600px, 94vw); max-height: 92vh; overflow: visible; }
.pf-zoom::backdrop { background: rgba(11,20,48,.82); }
.pf-zoom img { display: block; max-width: min(1600px, 94vw); max-height: 88vh; width: auto; height: auto; border-radius: 12px; background: #F6F7FB; }
.pf-zoom-x { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.pf-zoom-x:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 640px) { .pf-zoom-x { top: -48px; right: 0; } }

/* ---------- Abas em fundo claro (Biblioteca da Saúde) ---------- */
.pf-abas-claro .pf-abas-lista button { border-color: var(--line); color: var(--muted); }
.pf-abas-claro .pf-abas-lista button:hover { border-color: var(--ink); color: var(--ink); }
.pf-abas-claro .pf-abas-lista button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Biblioteca da Saúde ---------- */
.pf-bib { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .pf-bib { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; } }
.pf-bib-p[hidden] { display: none; }
.pf-bib-p:focus-visible { outline: none; }
html.motion .pf-bib-p:not([hidden]) { animation: pf-entra .45s var(--ease); }
.pf-bib-pub { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.pf-comps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pf-comps li { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; background: var(--white); }
.pf-comps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pf-comps p { margin: 0; color: var(--muted); }
.pf-comps .pf-observe { margin-top: 10px; padding: 10px 14px; border-radius: var(--r-md); background: var(--mist); color: var(--ink); font-size: .97rem; line-height: 1.5; }
.pf-observe b { color: var(--blue-mid); font-weight: 500; }
.pf-escala { background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vh, 30px); }
.pf-escala h3 { font-size: 1.2rem; }
.pf-escala-sub { margin: 8px 0 18px; color: var(--muted-dark); font-size: .95rem; }
.pf-escala ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pf-escala li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: .95rem; line-height: 1.45; color: rgba(255,255,255,.8); }
.pf-escala li b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgba(255,255,255,.1); color: var(--white); }
.pf-escala li:nth-child(3) b { background: var(--cyan); color: var(--navy); }
.pf-escala strong { color: var(--white); font-weight: 500; }

/* ---------- Antes e depois (portado do Academy, 11/11 e 16/11): planilha em HTML x tela da plataforma ---------- */
.a-cmp { --pos: 50%; }
.a-cmp-quadro { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #F7F8FB; box-shadow: var(--shadow-card); isolation: isolate; }
.a-cmp-lado { position: absolute; inset: 0; display: grid; place-items: center; }
.a-cmp-antes { background: #ECEFF5; padding: 4%; }
.a-cmp-depois { background: #F7F8FB; clip-path: inset(0 0 0 var(--pos)); padding: 3%; }
.a-cmp-depois img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 10px 30px -18px rgba(11,20,48,.35); background: var(--white); }
.a-cmp-tag { position: absolute; top: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 500; pointer-events: none; }
.a-cmp-tag-antes { left: 12px; background: rgba(86,98,133,.92); color: var(--white); }
.a-cmp-tag-depois { right: 12px; background: var(--navy); color: var(--white); }
.a-cmp-linha { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(11,20,48,.12); z-index: 2; pointer-events: none; }
.a-cmp-knob { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(11,20,48,.6); }
.a-cmp-knob svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a-cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.a-cmp-quadro:has(.a-cmp-range:focus-visible) .a-cmp-knob { outline: 3px solid var(--cyan); outline-offset: 3px; }
.a-cmp-btns { display: none; gap: 8px; margin-top: 10px; }
.a-cmp-btns button { all: unset; cursor: pointer; flex: 1; text-align: center; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink); background: var(--white); }
.a-cmp-btns button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.a-cmp-btns button:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 2px; }
html.motion .a-cmp.is-dica .a-cmp-linha { transition: left .9s var(--ease); }
html.motion .a-cmp.is-dica .a-cmp-depois { transition: clip-path .9s var(--ease); }
@media (max-width: 639px) {
  .a-cmp-btns { display: flex; }
  .a-cmp-range, .a-cmp-linha { display: none; }
  .a-cmp-quadro { aspect-ratio: 4 / 3.4; }
}
/* Sem script: um lado embaixo do outro, cada um com o seu rótulo */
.a-cmp:not(.is-js) .a-cmp-quadro { aspect-ratio: auto; display: grid; gap: 1px; background: var(--line); }
.a-cmp:not(.is-js) .a-cmp-lado { position: relative; inset: auto; clip-path: none; min-height: 260px; }
.a-cmp:not(.is-js) .a-cmp-lado::before { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 500; color: var(--white); z-index: 2; }
.a-cmp:not(.is-js) .a-cmp-antes::before { content: "Antes"; background: #566285; }
.a-cmp:not(.is-js) .a-cmp-depois::before { content: "Com o Medportal"; background: var(--navy); }
.a-cmp:not(.is-js) .a-cmp-tag, .a-cmp:not(.is-js) .a-cmp-linha, .a-cmp:not(.is-js) .a-cmp-range, .a-cmp:not(.is-js) .a-cmp-btns { display: none; }
.ab-win { width: 100%; max-width: 560px; background: var(--white); border-radius: 10px; box-shadow: 0 14px 34px -18px rgba(11,20,48,.45); overflow: hidden; font-size: 11px; color: #2B2F38; position: relative; text-align: left; }
.ab-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #E9ECF2; font-size: 10.5px; color: #4A5168; }
.ab-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9CFDC; }
.ab-bar span { margin-left: 8px; font-weight: 500; }
.ab-xls .ab-bar { background: #1E6E42; color: #fff; }
.ab-xls .ab-bar i { background: rgba(255,255,255,.45); }
.ab-xls-tools { display: flex; gap: 14px; padding: 5px 10px; background: #F3F6F4; border-bottom: 1px solid #D9DED9; font-size: 10px; color: #3C4A40; }
.ab-grid { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.ab-grid th, .ab-grid td { border: 1px solid #DCE0E6; padding: 4px 6px; white-space: nowrap; }
.ab-grid th { background: #F2F4F7; color: #4B5563; font-weight: 500; }
.ab-grid td:first-child { background: #F2F4F7; color: #4B5563; text-align: center; width: 18px; }
.ab-grid tr.h td:not(:first-child) { font-weight: 700; background: #EAF3EC; }
.ab-grid tr.p td:not(:first-child) { background: #FDECEC; }
.ab-grid tr.p td:last-child { color: #9B1C1C; font-weight: 700; }
.ab-mail { position: absolute; right: 10px; bottom: 10px; width: 58%; background: var(--white); border: 1px solid #DCE0E6; border-radius: 8px; padding: 8px 10px; box-shadow: 0 12px 26px -12px rgba(11,20,48,.4); display: grid; gap: 2px; }
.ab-mail b { font-size: 10.5px; }
.ab-mail span { font-size: 10px; color: #4F5666; line-height: 1.35; }
.a-cmp-quadro { -webkit-user-select: none; user-select: none; touch-action: pan-y; }

/* =====================================================================
   REVISÃO 16/11: prova, em jogo, ciclo clicável, redesenhos, topo animado, rotina em abas, respostas e fontes.
   Ritmo novo: navy (topo) > névoa (prova) > branco (em jogo) > névoa (plataforma) > navy (diretoria) > branco
   (biblioteca) > névoa (rotina) > branco (implantação) > navy (segurança) > branco (conexões) > navy (respostas) >
   branco (perguntas) > navy (chamada) > branco (fontes).
   ===================================================================== */

/* ---------- Prova (números aprovados da home) ---------- */
.pf-prova { background: #E4EAF5; color: var(--ink); padding: clamp(22px, 3.4vh, 34px) 0; }
.pf-prova-in { display: grid; gap: 14px; align-items: center; }
.pf-prova-k { margin: 0; color: var(--muted); font-size: .95rem; }
.pf-prova-n { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pf-prova-n div { display: grid; gap: 2px; }
.pf-prova-n dt { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--ink); line-height: 1.1; }
.pf-prova-n dd { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (min-width: 1024px) { .pf-prova-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; } }

/* ---------- O que está em jogo ---------- */
.pf-jogo { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 1024px) { .pf-jogo { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 28px; } }
.pf-jogo-dest { margin: 0; background: var(--navy); color: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 3.6vh, 40px); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.pf-jogo-anel { position: relative; width: clamp(120px, 12vw, 160px); aspect-ratio: 1; }
.pf-jogo-anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pf-jogo-anel circle { fill: none; stroke-width: 12; }
.pf-jogo-anel .t { stroke: rgba(255,255,255,.14); }
.pf-jogo-anel .v { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: var(--p) 100; }
.pf-jogo-anel b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
html.motion .pf-jogo-dest:not(.is-in) .pf-jogo-anel .v { stroke-dasharray: 0 100; }
html.motion .pf-jogo-anel .v { transition: stroke-dasharray 1.4s var(--ease) .2s; }
.pf-jogo-n { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.25; }
.pf-jogo-s { margin: 12px 0 0; color: rgba(255,255,255,.78); }
.pf-jogo sup a { color: var(--blue); font-size: .8em; margin-left: 2px; text-decoration: none; }
.pf-jogo-dest sup a { color: var(--cyan); }
.pf-jogo-apoio { display: grid; gap: 16px; }
.pf-jogo-item { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.pf-jogo-item figcaption { color: var(--muted); font-size: 1.02rem; line-height: 1.45; }
.pf-jogo-item b { color: var(--ink); font-weight: 700; }
.pf-pessoas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pf-pessoas i { aspect-ratio: 3 / 5; margin-top: 10px; border-radius: 999px 999px 6px 6px; background: #D5DCEA; position: relative; }
.pf-pessoas i::before { content: ""; position: absolute; left: 50%; top: -2px; width: 62%; aspect-ratio: 1; transform: translate(-50%, -60%); border-radius: 50%; background: inherit; }
.pf-pessoas i.on { background: var(--blue-mid); }
.pf-barras { height: 84px; display: flex; align-items: flex-end; gap: 14px; padding: 0 12px; border-bottom: 2px solid var(--line); }
.pf-barras span { flex: 1; height: var(--h); background: #D5DCEA; border-radius: 8px 8px 0 0; position: relative; }
.pf-barras span.on { background: var(--blue-mid); }
.pf-barras i { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-style: normal; font-weight: 700; font-size: .875rem; color: var(--ink); }
html.motion .pf-jogo-item:not(.is-in) .pf-barras span { height: 4%; }
html.motion .pf-barras span { transition: height 1s var(--ease) .25s; }
@media (max-width: 520px) { .pf-jogo-dest { grid-template-columns: 1fr; } .pf-jogo-item { grid-template-columns: 1fr; } }
.pf-ponte { margin-top: clamp(28px, 4.4vh, 48px); }
.pf-ponte-k { margin: 0 0 14px; font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.pf-ponte .pf-perguntas h3 { font-size: 1.12rem; }

/* ---------- Redesenhos (pfx: visual da plataforma, legível na página) ---------- */
.pf-redes { display: grid; gap: 14px; min-width: 0; }
.pf-ver { justify-self: start; font: inherit; font-weight: 500; font-size: .9375rem; cursor: zoom-in; border-radius: 999px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); }
.pf-ver:hover { border-color: var(--white); }
.pf-ver:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pfx-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(16px, 2vw, 24px); box-shadow: 0 30px 70px -40px rgba(0,0,0,.55); margin: 0; min-width: 0; }
.pfx-kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pfx-kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pfx-kpi { background: var(--white); color: var(--ink); border-radius: 14px; padding: 14px 14px 12px; display: grid; gap: 4px; align-content: start; border: 1px solid var(--line); }
.pfx-kpi b { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1; }
.pfx-kpi span { display: flex; align-items: baseline; gap: 6px; font-size: .875rem; color: var(--muted); font-weight: 500; line-height: 1.25; }
.pfx-kpi span i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #64748B; }
.pfx-ok span i { background: #047857; }
.pfx-warn span i { background: #C2410C; }
.pfx-danger span i { background: #B91C1C; }
.pfx-delta { font-size: .875rem; font-weight: 500; }
.pfx-dn { color: #B91C1C; }
.pfx-up { color: #047857; }
.pfx-decs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pfx-dec { background: var(--white); color: var(--ink); border-radius: 14px; padding: 16px 16px 14px; display: grid; gap: 8px; align-content: start; border: 1px solid var(--line); }
.pfx-dec-t { margin: 0; font-weight: 700; font-size: 1rem; line-height: 1.3; display: flex; gap: 8px; }
.pfx-dec-t i { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: .45em; background: #B91C1C; }
.pfx-dec[data-sev="alta"] .pfx-dec-t i { background: #C2410C; }
.pfx-dec[data-sev="atencao"] .pfx-dec-t i { background: #B45309; }
.pfx-dec[data-sev="positiva"] .pfx-dec-t i { background: #047857; }
.pfx-dec-ev { margin: 0; font-size: .9375rem; line-height: 1.45; color: #2B3550; }
.pfx-dec-ac { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--muted); font-style: italic; }
.pfx-dec-btn { justify-self: start; margin-top: 4px; font-size: .875rem; font-weight: 500; padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
@media (max-width: 1100px) { .pfx-decs { grid-template-columns: 1fr; } .pfx-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pfx-kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Matriz */
.pfx-mat { display: block; width: 100%; height: auto; font-family: var(--body); }
.pfx-q { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.pfx-qd { font-size: 12px; fill: #566285; }
.pfx-ax { font-size: 12px; fill: #566285; }
.pfx-axt { font-weight: 600; font-size: 13px; }
.pfx-corte { stroke: #8A94AB; stroke-dasharray: 5 4; stroke-opacity: .6; }
.pfx-bl { font-size: 14px; font-weight: 600; fill: #1E2D5C; }
.pfx-selo circle { fill: #1E3A8A; stroke: var(--white); stroke-width: 2; }
.pfx-selo text { font-size: 12px; font-weight: 700; fill: var(--white); }
.pfx-b circle { stroke: var(--white); stroke-width: 2; }
.pfx-b { transform-box: fill-box; transform-origin: center; }
html.motion .pfx-mat-card .pfx-b { transition: opacity .5s var(--ease) calc(var(--i) * 70ms), transform .6s var(--spring) calc(var(--i) * 70ms); }
html.motion .pfx-mat-card:not(.is-on) .pfx-b { opacity: 0; transform: scale(.4); }
.pfx-leg { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .875rem; color: var(--muted); }
.pfx-leg li { display: flex; align-items: center; gap: 7px; }
.pfx-leg i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.pfx-leg .pfx-leg-tam { width: 18px; background: radial-gradient(circle at 30% 50%, #A7AFBF 40%, transparent 42%), radial-gradient(circle at 80% 50%, #A7AFBF 25%, transparent 27%); }
.pfx-leg .pfx-leg-selo { width: 16px; height: 16px; background: #1E3A8A; color: var(--white); font-style: normal; font-size: 10px; font-weight: 700; display: grid; place-items: center; }

/* Estratégico */
.pfx-est { display: grid; gap: 12px; }
.pfx-est-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 900px) { .pfx-est-g { grid-template-columns: 1fr; } }
.pfx-card figcaption { font-weight: 700; font-size: .9375rem; letter-spacing: .02em; color: var(--ink); margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; }
.pfx-card figcaption small { font-weight: 500; color: var(--blue); font-size: .875rem; }
.pfx-nb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pfx-nb li { border-radius: 10px; padding: 10px; display: grid; gap: 2px; min-height: 78px; }
.pfx-nb span { font-size: .875rem; font-weight: 600; color: #4B5563; }
.pfx-nb b { font-family: var(--display); font-size: 1.5rem; }
.pfx-nb small { font-size: .875rem; color: #6B7280; justify-self: end; }
.pfx-nb-bom { background: #DFF1E8; }
.pfx-nb-neu { background: #EEF0F4; }
.pfx-nb-atn { background: #F7E3E3; }
.pfx-eixo { margin: 10px 0 0; font-size: .875rem; color: var(--muted); }
.pfx-trend { width: 100%; height: auto; display: block; }
.pfx-ta { fill: rgba(37,63,133,.08); }
.pfx-tl { fill: none; stroke: #2F4FA8; stroke-width: 3; }
.pfx-trend circle { fill: #2F4FA8; stroke: var(--white); stroke-width: 2; }
.pfx-tv { font-size: 14px; font-weight: 700; fill: #1E2D5C; }
.pfx-tc { font-size: 12px; fill: #566285; }

/* Lacunas */
.pfx-lac { overflow-x: auto; }
.pfx-lac table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.pfx-lac caption { text-align: left; font-size: .875rem; color: var(--muted); padding-bottom: 12px; caption-side: top; }
.pfx-lac th { text-align: left; font-weight: 600; font-size: .875rem; color: #4B5563; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.pfx-lac thead th:not(:first-child) { text-align: right; }
.pfx-lac tbody th { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.pfx-lac tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }
.pfx-lac td { text-align: right; padding: 10px 12px; font-weight: 600; border-bottom: 2px solid var(--white); white-space: nowrap; }
.pfx-l0 { background: #F3CFCF; color: #9B1C1C; }
.pfx-l1 { background: #F8E2E2; color: #92400E; }
.pfx-l2 { background: #F3EFE6; color: #6B4E16; }
.pfx-l3 { background: #E1F1E9; color: #047857; }
.pfx-l4 { background: #C9E8D8; color: #046C4E; }
.pfx-lx { color: var(--muted); font-weight: 400; }
.pfx-seta { font-size: .8em; margin-left: 4px; }

/* ---------- Topo: o quadro da semana da diretoria ---------- */
.pfx-hero { position: relative; padding-bottom: 64px; }
.pfx-hero-painel { background: #F4F6FB; border-radius: var(--r-lg); padding: 18px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.pfx-hero-k { margin: 0 0 12px; font-weight: 700; font-size: 1rem; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; }
.pfx-hero-k span { font-weight: 500; color: var(--muted); font-size: .875rem; }
.pfx-hero .pfx-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pfx-hero .pfx-kpi { padding: 10px 10px 9px; }
.pfx-hero .pfx-kpi b { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.pfx-hero-mat { margin-top: 10px; background: var(--white); border-radius: 12px; padding: 6px; border: 1px solid var(--line); }
.pfx-hero-dec { position: absolute; right: -14px; bottom: 0; width: min(380px, 70%); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); border-color: transparent; }
.pfx-hero-novo { margin: 0; font-size: .875rem; font-weight: 600; color: var(--blue-mid); }
@media (max-width: 1023px) { .pfx-hero-dec { right: 0; } }
/* Sequência (uma vez): bolhas entram; a UTI sai da posição do ciclo anterior e desliza até a de agora; o cartão sobe. */
html.motion .pfx-hero.is-pronto .pfx-b { opacity: 0; transform: scale(.4); }
html.motion .pfx-hero.is-pronto .pfx-b-uti { opacity: 1; transform: translateX(var(--dx)); }
html.motion .pfx-hero.is-pronto .pfx-b-uti .pfx-selo { opacity: 0; }
html.motion .pfx-hero.is-pronto .pfx-hero-dec { opacity: 0; transform: translateY(24px); }
html.motion .pfx-hero.is-tocando .pfx-b { opacity: 1; transform: none; transition: opacity .45s var(--ease) calc(var(--i) * 60ms), transform .55s var(--spring) calc(var(--i) * 60ms); }
html.motion .pfx-hero.is-tocando .pfx-b-uti { transition: transform 1.3s cubic-bezier(.45,0,.2,1) 1.1s; }
html.motion .pfx-hero.is-tocando .pfx-b-uti .pfx-selo { opacity: 1; transition: opacity .4s var(--ease) 2.5s; }
html.motion .pfx-hero.is-tocando .pfx-hero-dec { opacity: 1; transform: none; transition: opacity .6s var(--ease) 2.9s, transform .7s var(--spring) 2.9s; }
/* No celular: só o cartão de decisão, legível */
@media (max-width: 640px) {
  .pfx-hero { padding-bottom: 0; }
  .pfx-hero-painel { display: none; }
  .pfx-hero-dec { position: static; width: auto; }
}

/* ---------- Fontes ---------- */
.pf-notas { background: var(--white); padding: clamp(28px, 4vh, 44px) 0; border-top: 1px solid var(--line); }
.pf-notas-t { margin: 0 0 10px; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.pf-fontes { margin: 0; padding: 0 0 0 18px; font-size: .8125rem; line-height: 1.5; color: var(--muted); display: grid; gap: 4px; }
.pf-fontes li:target { color: var(--ink); }

/* Diretoria: mais largura para os redesenhos */
@media (min-width: 1024px) { #diretoria .pf-aba { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 44px; } }
#diretoria .pfx-kpi b { font-size: clamp(1.3rem, 1.7vw, 1.6rem); }
/* O SVG da matriz é desenhado em 1000 px e mostrado com cerca de 780: letras maiores para ficarem com 13 px ou mais */
.pfx-mat-card .pfx-bl { font-size: 18px; }
.pfx-mat-card .pfx-q { font-size: 16px; }
.pfx-mat-card .pfx-qd, .pfx-mat-card .pfx-ax { font-size: 16px; }
.pfx-mat-card .pfx-axt { font-size: 17px; }
.pfx-mat-card .pfx-selo text { font-size: 14px; }
/* Celular: abas numa linha só, roláveis de lado */
@media (max-width: 640px) {
  .pf-abas-lista { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .pf-abas-lista::-webkit-scrollbar { display: none; }
  .pf-abas-lista button { flex: none; }
}

.pf-abas, .pf-bib > *, .pf-aba > *, .pf-cic-p > * { min-width: 0; }

/* ---------- Topo: notebook desenhado (o mesmo do Academy e do Sensus), com o quadro da Visão Executiva na tela ---------- */
.pf-prova .wrap { display: block; }
.pf-prova-n { max-width: 980px; }
.pf-mac { position: relative; }
.pf-mac-tampa { position: relative; padding: 2.4% 2.4% 2.9%; border-radius: 4.2% 4.2% 1.2% 1.2% / 6.6% 6.6% 1.9% 1.9%; background: #0A0B0F; box-shadow: 0 0 0 1.5px #3B4150, inset 0 0 0 1px rgba(255,255,255,.06), 0 40px 90px -40px rgba(0,0,0,.8); }
.pf-mac-tela { position: relative; border-radius: 6px; overflow: hidden; background: #F4F6FB; aspect-ratio: 16 / 10; container-type: inline-size; }
.pf-mac-tela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 28%, rgba(255,255,255,0) 42%); pointer-events: none; }
.pf-mac-base { position: relative; height: 0; padding-bottom: 3.2%; margin: 0 -7.5%; border-radius: 0 0 46% 46% / 0 0 100% 100%; background: linear-gradient(180deg, #F3F5F9 0%, #D4D9E2 30%, #A7AEBC 75%, #7D8496 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 40px -18px rgba(0,0,0,.75); }
.pf-mac-base span { position: absolute; left: 50%; top: 0; width: 15%; height: 42%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #9AA1B0, #C6CBD5); }
/* O quadro ocupa a tela inteira do notebook: título, KPIs e a matriz no espaço que sobra */
.pf-mac .pfx-hero-painel { position: absolute; inset: 0; display: grid; grid-template-rows: auto auto minmax(0, 1fr); padding: 2.6cqw; border-radius: 0; box-shadow: none; background: #F4F6FB; }
.pf-mac .pfx-hero-k { margin-bottom: 1.6cqw; font-size: max(11px, 2.2cqw); }
.pf-mac .pfx-hero-k span { font-size: max(10px, 1.9cqw); }
.pf-mac .pfx-kpis { gap: 1.2cqw; }
.pf-mac .pfx-kpi { padding: 1.4cqw 1.4cqw 1.2cqw; border-radius: 1.6cqw; gap: .4cqw; }
.pf-mac .pfx-kpi b { font-size: max(13px, 3.3cqw); }
.pf-mac .pfx-kpi span { font-size: max(9px, 1.75cqw); gap: .8cqw; }
.pf-mac .pfx-kpi span i { width: 1.2cqw; height: 1.2cqw; }
.pf-mac .pfx-delta { font-size: max(9px, 1.75cqw); }
.pf-mac .pfx-hero-mat { margin-top: 1.4cqw; padding: .6cqw; border-radius: 1.6cqw; min-height: 0; display: grid; }
.pf-mac .pfx-hero-mat svg { width: 100%; height: 100%; }
.pfx-hero { padding-bottom: 72px; }
.pfx-hero-dec { right: -22px; bottom: 0; }
@media (max-width: 640px) {
  .pfx-hero .pf-mac { display: none; }
}

/* =====================================================================
   FUNDOS (16/11, "estamos poupando esforços no background"): o mesmo vocabulário do Academy.
   Navy: brilhos azuis + grade fina com máscara. Claros: um brilho suave por seção, sem competir com o conteúdo.
   Fotos (Canva, mãos e aparelhos, sem rostos, aprovadas pelo Guilherme em 16/11): topo, cartão dos 70% e chamada final, sob o navy.
   ===================================================================== */
#emjogo, #plataforma, #diretoria, #biblioteca { position: relative; isolation: isolate; overflow: hidden; }
#diretoria::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 60% at 88% 18%, rgba(34,144,201,.24), transparent 70%), radial-gradient(40% 55% at 0% 100%, rgba(37,63,133,.5), transparent 70%); }
#diretoria::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(55% 70% at 85% 20%, #000, transparent 75%); mask-image: radial-gradient(55% 70% at 85% 20%, #000, transparent 75%); }
#emjogo::before, #biblioteca::before { content: ""; position: absolute; z-index: -1; right: -12%; top: 6%; width: 52%; aspect-ratio: 1; pointer-events: none; background: radial-gradient(closest-side, rgba(34,144,201,.13), transparent); }
#plataforma::before { content: ""; position: absolute; z-index: -1; left: -14%; bottom: -18%; width: 58%; aspect-ratio: 1; pointer-events: none; background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent); }
#plataforma::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -12%; width: 46%; aspect-ratio: 1; pointer-events: none; background: radial-gradient(closest-side, rgba(34,144,201,.16), transparent); }
/* Pontilhado leve atrás do ciclo, ligando as etapas */
#plataforma .wrap { position: relative; }
#plataforma .wrap::before { content: ""; position: absolute; z-index: -1; inset: 30% -2% 10%; pointer-events: none;
  background-image: radial-gradient(rgba(30,45,92,.14) 1.2px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%); }
/* Fotos sob o navy (como no Academy): topo com o lado do texto bem escuro; chamada final mais aberta */
.pf-bg-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.pf-hero .pf-bg-foto img { object-position: 70% 50%; opacity: .55; }
.pf-hero .pf-bg-foto::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,20,48,.95) 36%, rgba(11,20,48,.78) 62%, rgba(11,20,48,.62) 100%), linear-gradient(0deg, rgba(11,20,48,.9), transparent 38%); }
.pf-hero .pf-bg-foto::after { z-index: 1; }
/* Cartão dos 70%: a foto da 1:1 ao fundo, com o navy por cima */
.pf-jogo-dest { position: relative; overflow: hidden; isolation: isolate; }
.pf-jogo-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; opacity: .5; }
.pf-jogo-dest::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,20,48,.97) 0%, rgba(11,20,48,.88) 55%, rgba(11,20,48,.6) 100%); }
/* Ajuste: fotos e brilhos mais presentes (16/11) */
.pf-hero .pf-bg-foto img { opacity: .8; object-position: 78% 40%; }
.pf-hero .pf-bg-foto::before { background: linear-gradient(90deg, var(--navy) 0%, rgba(11,20,48,.92) 34%, rgba(11,20,48,.6) 60%, rgba(11,20,48,.38) 100%), linear-gradient(0deg, rgba(11,20,48,.92), transparent 34%); }
.pf-jogo-foto { opacity: .85; object-position: 60% 55%; }
.pf-jogo-dest::before { background: linear-gradient(100deg, rgba(11,20,48,.96) 0%, rgba(11,20,48,.82) 48%, rgba(11,20,48,.45) 100%); }
#emjogo::before, #biblioteca::before { background: radial-gradient(closest-side, rgba(34,144,201,.2), transparent); }
#plataforma::after { background: radial-gradient(closest-side, rgba(34,144,201,.24), transparent); }
#plataforma .wrap::before { background-image: radial-gradient(rgba(30,45,92,.22) 1.3px, transparent 1.5px); }

/* =====================================================================
   FEEDBACK DO CLIENTE (23/11): biblioteca com 3 exemplos e "Ver as 23", segurança em faixa, implantação em 3 linhas.
   ===================================================================== */
.pf-pac { margin: 0 0 4px; font-size: .875rem; font-weight: 500; color: var(--blue-mid); }
.pf-mais { all: unset; box-sizing: border-box; cursor: pointer; margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); font-weight: 500; font-size: 1rem; }
.pf-mais::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.pf-mais[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.pf-mais:hover { background: var(--ink); color: var(--white); }
.pf-mais:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.pf-mais[hidden], .pf-todas[hidden] { display: none; }
.pf-todas { margin-top: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--mist); border: 1px solid var(--line); }
html.motion .pf-todas.is-abrindo { animation: pf-entra .45s var(--ease); }
.pf-todas-grade { display: grid; gap: 18px 28px; }
@media (min-width: 600px) { .pf-todas-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf-todas-g h4 { margin: 0 0 6px; font-size: .875rem; font-weight: 500; color: var(--blue-mid); }
.pf-todas-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pf-todas-g li { font-size: 1rem; color: var(--ink); line-height: 1.4; }
.pf-todas-k { margin: 20px 0 6px; font-size: .875rem; font-weight: 500; color: var(--blue-mid); }
.pf-todas-pac { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9375rem; color: var(--muted); }
.pf-todas-pac b { color: var(--ink); font-weight: 500; }


/* Sem o sobretítulo (23/11): o título abre a seção e a linha de apoio ganha respiro */
.pf-head .lede { margin-top: clamp(12px, 2vh, 20px); }

/* =====================================================================
   REUNIÃO DE 24/11/2026 (aplicado em 25/11): o ciclo e o bloco das telas viram um bloco só (#plataforma).
   Cada etapa do ciclo é uma aba (pílulas ligadas por um fio) e mostra a tela real dela ali mesmo. No computador o bloco
   cabe numa janela (1366 x 768: 696 px úteis): a moldura da tela tem altura tirada da janela e mostra o alto da tela;
   a tela inteira abre no clique. O topo também cabe numa janela, mesmo nas mais baixas (1366 x 657 com as barras).
   ===================================================================== */
.pf-cic-tabs { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 20px; padding: 2px 2px 8px; }
.pf-cic-tabs::-webkit-scrollbar { display: none; }
.pf-cic-tabs button { all: unset; box-sizing: border-box; cursor: pointer; flex: none; position: relative; overflow: hidden; display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid rgba(30,45,92,.16); background: var(--white); color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.pf-cic-tabs button:hover { border-color: var(--blue-mid); }
.pf-cic-tabs button:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 2px; }
.pf-cic-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--ink); font-weight: 700; font-size: .9rem; }
.pf-cic-l { display: grid; line-height: 1.2; min-width: 0; }
.pf-cic-l b { font-weight: 500; font-size: 1rem; white-space: nowrap; }
.pf-cic-l small { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.pf-cic-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pf-cic-tabs button[aria-selected="true"] .pf-cic-n { background: var(--cyan); color: var(--navy); }
.pf-cic-tabs button[aria-selected="true"] small { color: rgba(255,255,255,.78); }
.pf-cic-extra .pf-cic-n { background: transparent; border: 1.5px dashed rgba(30,45,92,.35); }
.pf-cic-tabs .pf-cic-extra { border-style: dashed; }
.pf-cic-tabs .pf-cic-extra[aria-selected="true"] { border-style: solid; }
/* Tempo até a próxima etapa: uma linha que enche dentro da pílula aberta */
.pf-cic-tabs button::after { content: ""; position: absolute; left: 46px; right: 18px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.pf-cic.is-contando .pf-cic-tabs button[aria-selected="true"]::after { animation: pf-cic-tempo var(--rot-t, 7s) linear forwards; }
@keyframes pf-cic-tempo { to { transform: scaleX(1); } }

.pf-cic-p { display: grid; gap: 22px; align-items: start; }
.pf-cic-p[hidden] { display: none; }
.pf-cic-p:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 6px; border-radius: var(--r-md); }
html.motion .pf-cic-p:not([hidden]) { animation: pf-entra .45s var(--ease); }
.pf-cic-txt h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 400; }
.pf-cic .pf-pontos { margin-top: 14px; gap: 12px; }
.pf-cic .pf-pontos li { font-size: .9375rem; line-height: 1.45; }
.pf-cic .pf-pontos b { font-size: 1rem; }
.pf-cic-tela { position: relative; }
.pf-cic .a-cmp-quadro { aspect-ratio: 16 / 11; }
.pf-cic .a-cmp-depois { padding: 2%; }
.pf-cic .a-cmp-depois picture { display: contents; }
.pf-cic .ab-win { max-width: 600px; }
.pf-cic .ab-grid { font-size: 12px; }
.pf-cic .ab-mail { width: 62%; }
.pf-cic .ab-mail b { font-size: 12px; }
.pf-cic .ab-mail span { font-size: 11.5px; }
#plataforma .pf-fict { margin-top: 14px; }
@media (max-width: 639px) { .pf-cic .a-cmp-quadro { aspect-ratio: 4 / 3.4; } }

@media (min-width: 1024px) {
  /* Altura da moldura: a janela menos o cabeçalho, o respiro da seção, o título, as pílulas e o aviso das telas */
  #plataforma { --cic-h: clamp(290px, calc(100vh - var(--header) - 2 * var(--sec-y) - 236px), 600px); }
  @supports (height: 100svh) { #plataforma { --cic-h: clamp(290px, calc(100svh - var(--header) - 2 * var(--sec-y) - 236px), 600px); } }
  #plataforma .pf-head { margin-bottom: clamp(16px, 2.6vh, 28px); max-width: none; }
  #plataforma h2.display { max-width: 24em; }
  .pf-cic-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.08fr); gap: 16px; overflow: visible; padding: 0; margin-bottom: clamp(16px, 2.4vh, 24px); }
  /* O fio liga as cinco etapas (passa nos vãos entre as pílulas); a experiência fica à parte */
  .pf-cic-tabs::before { content: ""; position: absolute; left: 20px; top: 50%; height: 2px; margin-top: -1px; right: calc((100% - 80px) * 1.08 / 6.08 + 16px + 20px); background: rgba(30,45,92,.22); }
  .pf-cic-tabs button { min-width: 0; }
  /* A moldura dá a altura do painel: as seis abas têm a mesma altura e nada pula ao trocar de etapa */
  .pf-cic-p { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 3.4vw, 48px); min-height: var(--cic-h); }
  .pf-cic-tela { height: var(--cic-h); }
  .pf-cic-tela picture { display: block; height: 100%; }
  .pf-cic-tela img { height: 100%; object-fit: cover; object-position: top center; }
  .pf-cic-tela::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none; background: linear-gradient(rgba(246,247,251,0), rgba(246,247,251,.96)); }
  .pf-cic .a-cmp-quadro { aspect-ratio: auto; height: var(--cic-h); }

  /* Topo: o notebook encolhe com a altura da janela, para o topo caber nela */
  .pf-hero-fig { justify-self: end; width: min(calc(100% + clamp(0px, 4vw, 64px)), calc((100vh - 250px) * 1.5)); }
  @supports (height: 100svh) { .pf-hero-fig { width: min(calc(100% + clamp(0px, 4vw, 64px)), calc((100svh - 250px) * 1.5)); } }
}
/* Entre 1024 e 1279 px as seis pílulas ficam estreitas: sem a linha de apoio, número menor */
@media (min-width: 1024px) and (max-width: 1279px) {
  .pf-cic-tabs { gap: 10px; }
  .pf-cic-tabs::before { right: calc((100% - 50px) * 1.08 / 6.08 + 10px + 20px); }
  .pf-cic-tabs button { padding: 7px 10px 7px 7px; gap: 7px; }
  .pf-cic-n { width: 26px; height: 26px; font-size: .85rem; }
  .pf-cic-l b { font-size: .9375rem; }
  .pf-cic-l small { display: none; }
  .pf-cic-tabs button::after { left: 38px; right: 12px; bottom: 4px; }
}


/* ---------- Telas soltas em aparelho (pedido de 25/11) ----------
   No computador, cada captura fica num notebook (tampa preta e base prateada). Até 640 px, a captura vertical do
   celular fica num celular, com a tela recortada do topo. */
.pf-tela { position: relative; overflow: visible; border: 0; border-radius: clamp(8px, 1.1vw, 14px) clamp(8px, 1.1vw, 14px) 4px 4px; padding: 2.3% 2.1% 2.8%;
  background: linear-gradient(180deg, #1A1D26, #0B0D13); box-shadow: 0 0 0 1px #3A3F4C, inset 0 0 0 1px rgba(255,255,255,.07), 0 34px 60px -30px rgba(11,20,48,.7);
  margin-bottom: clamp(9px, 1.2vw, 15px); }
.pf-tela > picture, .pf-tela > img { display: block; border-radius: 3px; overflow: hidden; background: #F6F7FB; }
.pf-tela::before { content: ""; position: absolute; left: 50%; top: .9%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #262A35; z-index: 1; }
.pf-tela::after { content: ""; position: absolute; left: -6.5%; right: -6.5%; top: 100%; bottom: auto; height: clamp(8px, 1.15vw, 15px); border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #E3E7EF 0%, #B9C0CD 55%, #8A92A3 100%); box-shadow: 0 16px 26px -14px rgba(0,0,0,.6); pointer-events: none; }
@media (min-width: 641px) {
  .pf-cic-tela { height: auto; }
  .pf-cic-tela picture { height: var(--cic-h); position: relative; }
  .pf-cic-tela picture::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; pointer-events: none; background: linear-gradient(rgba(246,247,251,0), rgba(246,247,251,.96)); }
}
@media (max-width: 640px) {
  .pf-tela-cel { width: min(290px, 78vw); margin: 0 auto; padding: 3.4%; border-radius: 13% / 6.2%; background: #0A0B0F; box-shadow: 0 0 0 2px #7E8697, 0 0 0 3.5px #3B4150, 0 26px 44px -18px rgba(11,20,48,.7); }
  .pf-tela-cel > picture, .pf-tela-cel > img { border-radius: 10% / 4.8%; aspect-ratio: 9 / 19; }
  .pf-tela-cel picture img, .pf-tela-cel > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .pf-tela-cel::before { top: 2.6%; width: 30%; height: 1.6%; margin-left: -15%; border-radius: 999px; background: #000; }
  .pf-tela-cel::after { display: none; }
}
/* Convite à interação (25/11): a dica fica no respiro acima das abas, à direita, sem aumentar o bloco */
.pf-cic, .pf-abas { position: relative; }
.pf-cic > .convite-dica, .pf-abas > .convite-dica { position: absolute; right: 0; bottom: 100%; margin: 0 0 6px; }
@media (max-width: 1023px) { .pf-cic > .convite-dica, .pf-abas > .convite-dica { position: static; margin: 0 0 12px; } }


/* ---------- Fotos humanas (25/11, noite, aprovadas na prévia) ----------
   Fotos documentais sem rostos, sem telas com conteúdo e sem texto (img/amostras/), no lugar das ilustrações. */
.pf-jogo-item { grid-template-columns: 180px 1fr !important; }
.h-mini { position: relative; border-radius: 14px; overflow: hidden; }
.h-mini img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.h-mini::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,48,0) 40%, rgba(11,20,48,.75)); }
.h-mini b { position: absolute; z-index: 1; left: 10px; bottom: 8px; color: #fff; font: 300 1.7rem/1 var(--display); }
.h-grande { display: grid; gap: 2px; align-content: center; padding: 10px 14px; border-radius: 14px; background: linear-gradient(135deg, #1E2D5C, #2290C9); color: #fff; min-height: 120px; }
.h-grande b { font: 300 3.4rem/1 var(--display); letter-spacing: -.02em; }
.h-grande span { font-size: .875rem; line-height: 1.3; opacity: .9; }
.h-mini img { aspect-ratio: 16 / 10; }
.h-grande { min-height: 0; padding: 12px 14px; }
.h-grande b { font-size: 3rem; }
.pf-jogo-item .h-grande b, .pf-jogo-item .h-mini b { color: #fff; font-weight: 300; }

/* Comparador de antes e depois igual ao da home e do Academy (25/11): a mãozinha só na faixa do divisor (.a-cmp-grip),
   o botão navy com borda branca que cresce no hover e no arraste; o range continua para o teclado e o leitor de tela. */
.a-cmp-linha { width: 3px; margin-left: -1.5px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(11,20,48,.3); pointer-events: none; }
.a-cmp-grip { position: absolute; top: 0; bottom: 0; left: -22px; width: 44px; pointer-events: auto; cursor: pointer; touch-action: pan-y; }
.a-cmp-knob { pointer-events: none; transition: background-color .2s ease, transform .2s ease; }
.a-cmp-linha:has(.a-cmp-grip:hover) .a-cmp-knob, .a-cmp.is-dragging .a-cmp-knob { background: #253F85; transform: scale(1.08); }
.a-cmp-range { pointer-events: none; cursor: default; }
.a-cmp.is-dragging, .a-cmp.is-dragging * { cursor: pointer !important; }

/* Biblioteca de competências numa tela só (25/11, noite): o texto de apoio ao lado do título, os três exemplos lado a
   lado e respiros mais curtos. No celular, nada muda. */
@media (min-width: 1024px) {
  .home > #biblioteca { padding-block: clamp(24px, 3.6vh, 44px); }
  #biblioteca .pf-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end; max-width: none; margin-bottom: clamp(16px, 2.6vh, 26px); }
  #biblioteca .pf-head .lede { margin: 0; }
  #biblioteca .pf-comps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #biblioteca .pf-comps li { padding: 14px 14px 16px; display: flex; flex-direction: column; }
  #biblioteca .pf-comps h3 { font-size: 1.02rem; }
  #biblioteca .pf-comps p { font-size: .9rem; line-height: 1.45; }
  #biblioteca .pf-comps .pf-observe { margin-top: auto; padding: 8px 10px; font-size: .875rem; line-height: 1.45; }
  #biblioteca .pf-comps li > p:not(.pf-pac):not(.pf-observe) { margin-bottom: 10px; }
  #biblioteca .pf-escala ol { gap: 8px; }
  #biblioteca .pf-escala li { font-size: .9rem; line-height: 1.4; }
  #biblioteca .pf-tambem { margin-top: clamp(14px, 2.2vh, 22px); }
}

/* Carrossel das 23 competências (25/11, noite): três por vez no computador, um e um pedaço do próximo no celular.
   Passa sozinho um cartão por vez; setas, contador e pausa embaixo. */
.pf-car { position: relative; min-width: 0; }
.pf-car .pf-comps { display: grid; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px; margin: -2px; }
.pf-car .pf-comps::-webkit-scrollbar { display: none; }
.pf-car .pf-comps:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 4px; border-radius: var(--r-lg); }
.pf-car .pf-comp { scroll-snap-align: start; }
@media (min-width: 1024px) { .pf-car .pf-comps { grid-auto-columns: calc((100% - 24px) / 3); } }
@media (prefers-reduced-motion: reduce) { .pf-car .pf-comps { scroll-behavior: auto; } }
.pf-car-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.pf-car-b { all: unset; box-sizing: border-box; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease); }
.pf-car-b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pf-car-b:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pf-car-b:focus-visible, .pf-car-pausa:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 3px; }
.pf-car-n { min-width: 6.5em; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.pf-car-pausa { all: unset; box-sizing: border-box; cursor: pointer; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.pf-car-pausa:hover { color: var(--ink); border-color: var(--ink); }
.pf-car-pausa[hidden] { display: none; }
.pf-car-dica { margin: 0 0 0 auto; }
.pf-car.is-tocado .pf-car-dica { opacity: 0; transform: translateY(-4px); }
@media (max-width: 639px) { .pf-car-dica { margin-left: 0; width: 100%; } }
