/* Só a página do Academy (carregado depois do site.css). Vem de .superpowers/academy (sincronizar.py). */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500&display=swap");
/* =====================================================================
   PÁGINA DO ACADEMY (protótipo): estilos próprios. Tokens, .sec, .wrap, .display, .lede, .btn, .kicker e .faq vêm do
   site.css; a altura de uma janela por seção no computador vem da regra .home > .sec do site.css.
   Ritmo: navy (topo) > névoa (biblioteca) > navy (aprender) > branco (rotina) > névoa (suporte) > azul-claro
   (depoimentos, da home) > branco (perguntas) > navy (chamada final).
   Entradas: [data-reveal] sobe e aparece ao entrar na tela, só com html.motion (sem script ou com movimento
   reduzido, tudo já está visível).
   ===================================================================== */
.academy { --shadow-card: 0 1px 2px rgba(11,20,48,.04), 0 12px 32px -18px rgba(11,20,48,.22); }
.academy h2.display { font-size: clamp(2rem, min(3.6vw, 6vh), 3.1rem); max-width: 17em; letter-spacing: -.01em; }
.academy .a-head { margin-bottom: clamp(28px, 4.4vh, 52px); max-width: 46rem; }
.academy .a-head .lede { margin-top: clamp(12px, 1.8vh, 18px); }
.a-light { background: var(--mist); color: var(--ink); }
.a-white { background: var(--white); color: var(--ink); }
.a-dark { background: var(--navy); color: var(--white); }
.a-light .lede, .a-white .lede { color: var(--muted); }
.a-dark .lede { color: rgba(255,255,255,.82); }
.a-dark .kicker, .a-hero .kicker, .a-final .kicker { color: var(--cyan); }
.academy h3 { font-family: var(--display); font-weight: 500; font-size: 1.08rem; line-height: 1.3; margin: 0; letter-spacing: -.003em; }
.academy .a-fict { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.a-dark .a-fict, .a-hero .a-fict { color: var(--muted-dark); }
.academy svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.academy .a-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.academy .a-ic svg { width: 22px; height: 22px; }
.a-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Entradas */
html.motion .academy [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.motion .academy [data-reveal].is-in { opacity: 1; transform: none; }
html.motion .academy .a-momentos [data-reveal]:nth-child(2), html.motion .academy .a-passos [data-reveal]:nth-child(2) { transition-delay: .08s; }
html.motion .academy .a-momentos [data-reveal]:nth-child(3), html.motion .academy .a-passos [data-reveal]:nth-child(3) { transition-delay: .16s; }
html.motion .academy .a-passos [data-reveal]:nth-child(4) { transition-delay: .24s; }

/* ---------- Topo ---------- */
.a-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy); padding: calc(var(--header) + 40px) 0 clamp(48px, 7vh, 80px); }
.a-hero-bg, .a-final-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.a-hero-bg {
  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);
}
.a-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%);
}
.a-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.a-assin { display: block; width: 240px; height: auto; margin-bottom: clamp(18px, 3vh, 28px); }
.a-hero h1 { font-size: clamp(2.4rem, min(4.6vw, 7vh), 4.2rem); max-width: 12em; letter-spacing: -.015em; }
.a-hero .lede { color: rgba(255,255,255,.84); margin-top: clamp(14px, 2.4vh, 24px); max-width: 32em; }
.a-hero .a-ctas { margin-top: clamp(20px, 3.4vh, 36px); }
.a-prova { list-style: none; margin: clamp(24px, 4vh, 44px) 0 0; padding: clamp(16px, 2.4vh, 24px) 0 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 12px 28px; }
.a-prova li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: rgba(255,255,255,.88); }
.a-prova svg { width: 20px; height: 20px; color: var(--cyan); }
.a-hero-fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.a-stage { position: relative; padding: 24px 0; }
.a-phone {
  position: relative; width: 272px; aspect-ratio: 9 / 18.6; border-radius: 40px; padding: 10px;
  background: linear-gradient(155deg, #34467F, #121D3F 60%);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.14) inset, 0 0 120px -30px rgba(34,144,201,.55);
}
.a-phone-scr { height: 100%; border-radius: 31px; background: #F7F9FD; color: var(--ink); padding: 12px 15px 16px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.a-ph-top { display: flex; justify-content: center; margin-bottom: 2px; }
.a-ph-top i { width: 70px; height: 20px; border-radius: 12px; background: var(--navy); }
.a-k { margin: 4px 0 0; font-size: .66rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.a-card { border-radius: 16px; padding: 12px 14px 14px; background: linear-gradient(140deg, var(--navy-4), var(--navy-3)); color: var(--white); display: grid; gap: 2px; }
.a-card b { font-weight: 500; font-size: .95rem; }
.a-card > span { font-size: .76rem; color: rgba(255,255,255,.8); }
.a-card .a-prog { display: block; margin-top: 10px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
.a-prog i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--cyan); }
.a-next { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.a-thumb { flex: none; width: 52px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--blue-mid), var(--navy-4)); display: grid; place-items: center; }
.a-thumb i { width: 0; height: 0; border-left: 9px solid var(--white); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.a-next b { display: block; font-size: .82rem; font-weight: 500; }
.a-next small { display: block; font-size: .7rem; color: var(--muted); }
.a-tl { list-style: none; margin: 2px 0 0; padding: 0 0 0 4px; display: grid; gap: 8px; }
.a-tl li { position: relative; padding-left: 24px; font-size: .82rem; color: var(--muted); }
.a-tl li::before { content: ""; position: absolute; left: 0; top: .12em; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--rail); box-sizing: border-box; background: var(--white); }
.a-tl li:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 1.15em; height: calc(100% - .3em); width: 2px; background: var(--line); }
.a-tl li.ok::before { background: var(--blue-mid); border-color: var(--blue-mid); }
.a-tl li.ok::after { background: var(--blue-mid); }
.a-tl li.now { color: var(--ink); font-weight: 500; }
.a-tl li.now::before { border-color: var(--blue-mid); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 8px var(--blue-mid); }
.a-cta { margin-top: auto; text-align: center; border-radius: 999px; padding: 10px; background: var(--navy); color: var(--white); font-size: .84rem; font-weight: 500; }
.a-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 24px 48px -20px rgba(0,0,0,.6); white-space: nowrap;
}
.a-float b { display: block; font-size: .84rem; font-weight: 500; }
.a-float small { display: block; font-size: .72rem; color: var(--muted); }
.a-fi { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--cyan-soft); color: var(--blue); }
.a-fi.ok { background: var(--blue-mid); color: var(--white); }
.a-fi svg { width: 18px; height: 18px; }
/* Os cartões flutuam sobre a área vazia da tela (abaixo da lista e ao lado do entalhe), nunca sobre texto */
.a-f1 { bottom: 96px; left: -150px; }
.a-f2 { top: -30px; right: -120px; }
/* Telas baixas: o celular encolhe e os cartões cobririam texto; saem */
@media (max-height: 759px) { .a-float { display: none; } }
html.motion .a-float { animation: a-float-in .9s var(--ease) both; }
html.motion .a-f1 { animation-delay: .5s; }
html.motion .a-f2 { animation-delay: .8s; }
@keyframes a-float-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@media (min-width: 1024px) {
  .a-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .home > .a-hero { padding-top: calc(var(--header) + clamp(16px, 3vh, 40px)); }
  .a-phone { width: min(272px, 40vh); }
}
@media (min-width: 1024px) and (max-width: 1279px) { .a-f1 { left: -110px; } .a-f2 { right: -60px; top: -30px; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .a-hero-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; }
  .a-phone { width: 230px; aspect-ratio: 9 / 16.4; }
  .a-float { display: none; }
}
@media (max-width: 639px) { .a-hero-fig { display: none; } }

/* ---------- Diferencial 1: biblioteca ---------- */
.a-bib-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.a-momentos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.momento { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.6vh, 26px) 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-content: start; box-shadow: var(--shadow-card); }
.momento .a-n { grid-row: span 2; font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--blue-mid); font-variant-numeric: tabular-nums; }
.momento p { margin: 0; color: var(--muted); }
.a-lib { position: relative; overflow: hidden; background: var(--navy); color: var(--white); border-radius: var(--r-xl); padding: clamp(24px, 3.6vh, 38px) clamp(22px, 3vw, 38px); display: flex; flex-direction: column; gap: clamp(14px, 2.2vh, 22px); min-width: 0; box-shadow: 0 30px 60px -36px rgba(11,20,48,.7); }
.a-lib::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(34,144,201,.28), transparent); pointer-events: none; }
.a-lib > * { position: relative; }
.a-lib .lib-stats { margin: 0; }
.a-lib .lib-stats div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.a-lib .lib-stats dt { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, min(4vw, 6.4vh), 3.6rem); line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.a-lib .lib-stats dd { margin: 0; font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 500; color: var(--cyan); }
#biblioteca .g-temas { margin: 0; }
#biblioteca .g-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
#biblioteca .g-tags li { padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.26); font-size: .875rem; line-height: 1.3; color: var(--white); }
#biblioteca .g-tags li.mais { border-color: transparent; padding-inline: 4px; color: var(--cyan); }
#biblioteca .g-temas.is-tick { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; }
#biblioteca .g-tick {
  flex: 1 1 auto; min-width: 0; overflow: hidden; padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 40px), transparent 100%);
}
#biblioteca .g-temas.is-tick .g-tags { flex-wrap: nowrap; width: max-content; padding-right: 6px; animation: a-tick var(--tick-dur, 60s) linear infinite; }
#biblioteca .g-temas.is-tick .g-tags li { flex: none; white-space: nowrap; }
#biblioteca .g-temas.is-hold .g-tags { animation-play-state: paused; }
@keyframes a-tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { #biblioteca .g-temas.is-tick .g-tags { animation: none; } }
#biblioteca .g-rot-btn {
  all: unset; box-sizing: border-box; position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); color: var(--white);
}
#biblioteca .g-rot-btn::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
#biblioteca .g-rot-btn:hover { background: rgba(255,255,255,.1); }
#biblioteca .g-rot-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
#biblioteca .g-rot-btn svg { width: 14px; height: 14px; fill: currentColor; }
#biblioteca .g-rot-btn .i-play, #biblioteca .g-rot-btn.is-paused .i-pause { display: none; }
#biblioteca .g-rot-btn.is-paused .i-play { display: block; }
.a-atalhos { list-style: none; margin: 0; padding: clamp(14px, 2.2vh, 20px) 0 0; border-top: 1px solid var(--navy-line); display: grid; gap: clamp(12px, 2vh, 18px); }
.atalho { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.atalho .a-ic { background: rgba(0,166,223,.12); color: var(--cyan); }
.atalho h3 { font-size: 1rem; }
.atalho p { margin: 3px 0 0; font-size: .92rem; color: rgba(255,255,255,.78); }
.a-lib .btn { align-self: flex-start; }
@media (min-width: 1024px) {
  .a-bib-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .a-momentos { grid-auto-rows: 1fr; }
  .momento { align-content: center; }
}

/* ---------- Diferencial 2: aprender fazendo ---------- */
#aprender { position: relative; overflow: hidden; isolation: isolate; }
#aprender::before { content: ""; position: absolute; z-index: -1; right: -10%; top: 10%; width: 55%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(34,144,201,.2), transparent); pointer-events: none; }
.a-apr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3.6vw, 56px); align-items: start; }
.a-formatos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.a-formatos li { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--navy-line); border-radius: var(--r-lg); padding: 16px 20px 16px 16px; background: rgba(255,255,255,.035); }
.a-formatos .a-ic { background: rgba(0,166,223,.12); color: var(--cyan); }
.a-formatos p { margin: 4px 0 0; color: rgba(255,255,255,.78); font-size: .95rem; }
.a-recursos { list-style: none; margin: clamp(18px, 2.8vh, 28px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.a-recursos li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.35; }
.a-recursos svg { flex: none; width: 22px; height: 22px; color: var(--cyan); }
.a-junto { list-style: none; margin: clamp(18px, 2.8vh, 28px) 0 0; padding: clamp(14px, 2.2vh, 20px) 0 0; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; gap: 12px 32px; }
.a-junto li { display: grid; }
.a-junto b { font-weight: 500; }
.a-junto span { font-size: .88rem; color: var(--muted-dark); }
.a-demo { background: var(--white); color: var(--ink); border-radius: var(--r-xl); padding: clamp(22px, 3.2vh, 34px) clamp(20px, 2.6vw, 34px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); }
.a-demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.a-demo-k { font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.rascunho { display: inline-block; margin: 0; padding: 3px 10px; border-radius: 999px; border: 1px dashed var(--muted); font-size: .74rem; color: var(--muted); }
.a-demo h3 { font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.35; outline-offset: 4px; }
.a-ops { display: grid; gap: 10px; margin-top: 18px; }
.demo-op {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); font-size: .95rem; line-height: 1.38; color: var(--ink); background: var(--white);
  transition: border-color .2s, background-color .2s, transform .2s;
}
.demo-op:hover { border-color: var(--blue-mid); transform: translateY(-1px); }
.demo-op:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 2px; }
.demo-op .a-l { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font-weight: 500; transition: background-color .2s, color .2s; }
.demo-op.is-certa { border-color: #1D7A4E; background: #EAF6EF; }
.demo-op.is-certa .a-l { background: #1D7A4E; color: var(--white); }
.demo-op.is-errada { border-color: #B23A3A; background: #FBEDED; }
.demo-op.is-errada .a-l { background: #B23A3A; color: var(--white); }
.a-demo:not(.is-js) .demo-op { cursor: default; pointer-events: none; }
.a-ret { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-md); font-size: .95rem; line-height: 1.45; color: #8E2B2B; background: #FBEDED; }
.a-ret.ok { color: #17613E; background: #EAF6EF; }
.a-ret:empty { display: none; }
.a-reset { all: unset; cursor: pointer; margin-top: 12px; font-size: .9rem; font-weight: 500; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.a-reset:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 3px; }
.a-reset[hidden] { display: none; }
.demo-resposta { margin-top: 14px; font-size: .95rem; }
.demo-resposta summary { cursor: pointer; font-weight: 500; color: var(--blue); }
.demo-resposta p { margin: 8px 0 0; color: var(--muted); }
.a-demo.is-js .demo-resposta { display: none; }
.a-quote { margin: clamp(28px, 4.4vh, 48px) 0 0; padding-top: clamp(18px, 2.8vh, 26px); border-top: 1px solid var(--navy-line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 28px; align-items: center; }
.a-quote img { width: 120px; height: auto; background: var(--white); border-radius: var(--r-sm); padding: 6px 10px; box-sizing: content-box; }
.a-quote blockquote { margin: 0; }
.a-quote p { margin: 0; font-size: 1.04rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.a-quote figcaption { font-size: .88rem; color: var(--muted-dark); }
@media (min-width: 1024px) {
  .a-apr-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .a-quote { grid-template-columns: auto minmax(0, 1fr); }
  .a-quote figcaption { grid-column: 2; }
}
@media (max-width: 560px) { .a-recursos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Diferencial 3: rotina ---------- */
.a-passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.passo { display: flex; flex-direction: column; gap: 12px; }
.a-pt { display: flex; align-items: flex-start; gap: 12px; }
.passo .a-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 500; font-size: .9rem; }
.passo h3 { padding-top: 2px; }
.passo p { margin: 0; color: var(--muted); font-size: .95rem; }
.a-scr { background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; height: 100%; min-height: 168px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-card); }
.a-st { margin: 0; font-size: .82rem; font-weight: 500; color: var(--ink); }
.a-chips { display: grid; gap: 6px; }
.a-chips span { display: flex; justify-content: space-between; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 5px 8px; font-size: .76rem; color: var(--ink); }
.a-chips i { font-style: normal; color: var(--muted); }
.a-pill { align-self: flex-start; margin-top: auto; border-radius: 999px; padding: 5px 12px; background: var(--navy); color: var(--white); font-size: .76rem; font-weight: 500; }
.a-pill.ok { background: var(--blue-mid); }
.a-tl.sm { gap: 9px; }
.a-tl.sm li { font-size: .78rem; }
.a-tl.sm li::before { background: var(--mist); }
.a-tl.sm li.ok::before { background: var(--blue-mid); }
.a-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.a-rows li { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 8px; font-size: .76rem; }
.a-rows i { width: 10px; height: 10px; border-radius: 3px; background: var(--navy-4); }
.a-rows i.v { background: var(--blue-mid); }
.a-rows i.s { background: var(--cyan); }
.a-kp { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.a-kp li { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; font-size: .76rem; color: var(--muted); }
.a-kp i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--blue-mid) calc(var(--v) * 100%), var(--line) 0); }
.a-rot-foot { margin-top: clamp(24px, 3.6vh, 40px); padding: clamp(16px, 2.4vh, 22px) clamp(18px, 2vw, 24px); border-radius: var(--r-lg); background: var(--mist); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; align-items: center; }
.a-rot-foot .a-fict { margin: 0; }
@media (min-width: 640px) { .a-passos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
@media (min-width: 1024px) {
  .a-passos { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto; row-gap: 0; }
  @supports (grid-template-rows: subgrid) {
    .passo { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 0; }
    .passo .a-scr { margin-bottom: 16px; }
    .passo .a-pt { margin-bottom: 8px; }
  }
}

/* ---------- Diferencial 4: gente que cuida ---------- */
.a-cui-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.a-cui-txt .lede { margin-top: clamp(12px, 1.8vh, 18px); }
.a-fatos { list-style: none; margin: clamp(22px, 3.4vh, 36px) 0 0; padding: 0; display: grid; gap: 18px; }
.a-fatos li { display: flex; gap: 14px; align-items: flex-start; }
.a-fatos .a-ic { background: var(--white); color: var(--blue-mid); box-shadow: var(--shadow-card); }
.a-fatos h3 { font-size: 1.02rem; }
.a-fatos p { margin: 3px 0 0; color: var(--muted); font-size: .95rem; }
.a-cs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.aguardando-cs { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); color: var(--muted); box-shadow: var(--shadow-card); font-size: .92rem; }
.aguardando-cs b { font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.a-cs-tag { align-self: flex-start; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; border: 1px dashed var(--muted); font-size: .72rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); background: var(--mist); }
.a-dial { width: 92px; height: 46px; margin: 6px 0 6px; position: relative; overflow: hidden; }
.a-dial::before { content: ""; position: absolute; inset: 0 0 -46px; border-radius: 50%; border: 9px solid var(--line); border-bottom-color: transparent; border-left-color: var(--rail); border-top-color: var(--rail); box-sizing: border-box; transform: rotate(-45deg); }
.a-dial i { position: absolute; left: 50%; bottom: 0; width: 2px; height: 34px; background: var(--rail); transform-origin: bottom; transform: rotate(30deg); }
.a-aspas { font-family: Georgia, serif; font-size: 3.4rem; line-height: .7; height: 28px; color: var(--rail); }
.a-linhas { display: grid; gap: 7px; margin-top: 8px; }
.a-linhas i { display: block; height: 8px; border-radius: 4px; background: var(--mist); }
.a-linhas i:nth-child(1) { width: 92%; } .a-linhas i:nth-child(2) { width: 78%; } .a-linhas i:nth-child(3) { width: 60%; }
@media (min-width: 768px) {
  .a-cs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-cs-pos { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .a-cui-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* ---------- Chamada final ---------- */
.a-final { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); }
.a-final-bg {
  background:
    radial-gradient(45% 70% at 85% 50%, rgba(34,144,201,.3), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(37,63,133,.6), transparent 70%);
}
.a-final-bg::after {
  content: ""; position: absolute; inset: 0;
  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% 80% at 80% 50%, #000, transparent 75%);
          mask-image: radial-gradient(55% 80% at 80% 50%, #000, transparent 75%);
}
.a-final-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: end; }
.a-final h2.display { font-size: clamp(2.3rem, min(4.2vw, 7vh), 3.8rem); max-width: 13em; }
/* A chamada final é um fecho, não uma tela inteira */
@media (min-width: 1024px) { .home > .a-final { min-height: 0; padding: clamp(80px, 13vh, 150px) 0; } }
.a-final-acao p { margin: 0 0 24px; color: rgba(255,255,255,.84); font-size: 1.1rem; max-width: 26em; }
@media (min-width: 1024px) { .a-final-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }

/* ---------- Fotos (geradas no Canva em 09/11/2026, aprovadas pelo Guilherme; mãos e aparelhos, sem rostos) ---------- */
.a-hero-bg img, .a-final-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
/* Topo: espelhada, para as mãos com o celular ficarem à direita, atrás do celular desenhado; o navy cobre o lado do texto */
.a-hero-bg img { transform: scaleX(-1); object-position: 30% 50%; opacity: .55; }
.a-hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,20,48,.94) 38%, rgba(11,20,48,.7) 65%, rgba(11,20,48,.55) 100%), linear-gradient(0deg, rgba(11,20,48,.85), transparent 35%); }
.a-final-bg img { object-position: 50% 40%; opacity: .5; }
.a-final-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,20,48,.96) 0%, rgba(11,20,48,.86) 50%, rgba(11,20,48,.6) 100%); }
.a-foto { margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); background: var(--line); }
.a-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a-cs-foto { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.a-cs-foto img { object-position: 50% 60%; }
/* A foto do tablet tem pessoas desfocadas ao fundo, à direita: o recorte fica nas mãos */

/* ---------- Painéis do administrador (telas reais, valores desfocados) ---------- */
.a-pai-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.a-tela { margin: 0; }
.a-tela img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 30px 60px -34px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.a-tela figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted-dark); }
.a-pai-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: center; }
.a-pai-lista li { padding-left: 0; }
.a-pai-lista p { margin: 4px 0 0; font-size: .95rem; color: rgba(255,255,255,.78); }
#paineis .a-fict { margin-top: clamp(16px, 2.4vh, 24px); }
@media (min-width: 1024px) {
  .a-pai-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .a-tela-funil { grid-column: 1 / -1; }
}

/* ---------- Telas reais (capturadas em 09/11/2026 numa conta de dados fictícios; nomes, títulos e valores desfocados) ---------- */
.a-janela { width: 100%; max-width: 560px; border-radius: 16px; overflow: hidden; background: #F4F6FB; box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.14), 0 0 120px -30px rgba(34,144,201,.5); }
.a-janela-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #E6EBF5; }
.a-janela-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C7CFE0; }
.a-janela-bar span { margin-left: 10px; font-size: .74rem; font-weight: 500; color: var(--muted); }
.a-janela img { display: block; width: 100%; height: auto; }
.a-janela img + img { border-top: 1px solid var(--line); }
.a-shot { margin: 0 0 14px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-card); }
.a-shot img { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
  .a-passos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
  .passo { display: flex; flex-direction: column; grid-row: auto; gap: 12px; }
  .passo .a-shot { aspect-ratio: 16 / 9; }
  .passo .a-shot { display: grid; place-items: center; background: #F7F8FB; }
  .passo .a-shot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
}

/* ---------- Comparativos da rotina: Antes (HTML, dados fictícios) x Com o Medportal (tela real) ----------
   --pos = quanto do quadro mostra o "Antes", da esquerda para a direita (0% = só Medportal, 100% = só Antes).
   Sem script: os dois lados um embaixo do outro. Celular: botões Antes / Com o Medportal no lugar do arraste. */
.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; }

/* Layout da rotina: um passo por linha, comparativo e texto alternando de lado */
.a-passos { grid-template-columns: minmax(0, 1fr) !important; gap: clamp(32px, 6vh, 64px) !important; }
.passo .a-pt { margin-top: 14px; }
@media (min-width: 1024px) {
  .passo { display: grid !important; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; column-gap: 48px; row-gap: 12px; align-content: center; }
  .passo .a-cmp { grid-column: 1; grid-row: 1 / span 2; }
  .passo .a-pt { grid-column: 2; align-self: end; margin: 0; }
  .passo > p { grid-column: 2; align-self: start; }
  .passo:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .passo:nth-child(even) .a-cmp { grid-column: 2; }
  .passo:nth-child(even) .a-pt, .passo:nth-child(even) > p { grid-column: 1; }
  .passo .a-pt h3 { font-size: 1.3rem; }
  .passo > p { font-size: 1.02rem; }
}

/* ---------- Telas "Antes" (HTML com dados fictícios) ---------- */
.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; }
.ab-chat { background: #EFE9E0; }
.ab-chat .ab-bar { background: #0F5E54; color: #fff; }
.ab-chat .ab-bar i { background: rgba(255,255,255,.45); }
.ab-msgs { display: grid; gap: 6px; padding: 10px; }
.ab-msgs .m { margin: 0; max-width: 78%; background: var(--white); border-radius: 8px; padding: 6px 9px; font-size: 10.5px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.ab-msgs .m b { display: block; font-size: 9.5px; color: #0B6457; margin-bottom: 1px; }
.ab-msgs .m.eu { justify-self: end; background: #DCF5C6; }
.ab-msgs .m.eu b { color: #3D6522; }
.ab-pasta .ab-bar { background: #F1F3F7; }
.ab-files { list-style: none; margin: 0; padding: 8px 10px 64px; display: grid; gap: 2px; }
.ab-files li { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 5px; font-size: 10.5px; }
.ab-files li:nth-child(2) { background: #E6F0FF; }
.ab-files li::before { content: ""; width: 14px; height: 16px; border-radius: 2px; background: #9AA3B5; flex: none; }
.ab-files li.ppt::before { background: #D35230; }
.ab-files li.pdf::before { background: #C4261D; }
.ab-files li.mp4::before { background: #6B5BD2; }
.ab-files li.doc::before { background: #2B5FB8; }
.ab-files li.xls::before { background: #1E6E42; }
.ab-papel-wrap { position: relative; width: 100%; max-width: 520px; }
.ab-papel { background: #FFFEF8; border-radius: 4px; padding: 14px 16px 18px; box-shadow: 0 16px 34px -18px rgba(11,20,48,.5); transform: rotate(-1.2deg); background-image: repeating-linear-gradient(transparent 0 23px, rgba(37,63,133,.08) 23px 24px); }
.ab-papel .t { margin: 0 0 8px; font-weight: 700; font-size: 11.5px; color: #2B2F38; }
.ab-papel table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.ab-papel th, .ab-papel td { border-bottom: 1px solid #C9CFDC; padding: 4px; text-align: left; }
.ab-papel th { font-size: 9.5px; color: #5B6270; font-weight: 500; }
.ab-papel td.ass { font-family: "Caveat", cursive; font-size: 15px; color: #1F3A8A; }
.ab-postit { position: absolute; right: -6px; bottom: -14px; width: 150px; padding: 10px 11px; background: #D9ECFB; font-family: "Caveat", cursive; font-size: 15px; line-height: 1.1; color: #3B3320; transform: rotate(3deg); box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); }
@media (max-width: 639px) {
  .ab-win, .ab-mail span, .ab-msgs .m { font-size: 9.5px; }
  .ab-grid { font-size: 9px; }
  .ab-grid th, .ab-grid td { padding: 3px 4px; }
  .ab-mail { width: 70%; }
  .ab-postit { width: 120px; font-size: 13px; }
}

/* ---------- Quem fala (ethos): números aprovados da home na cabeça dos depoimentos ---------- */
#depoimentos .a-ethos { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; align-self: flex-end; }
#depoimentos .a-ethos div { display: grid; gap: 2px; }
#depoimentos .a-ethos dt { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
#depoimentos .a-ethos dd { margin: 0; font-size: .92rem; color: var(--muted); max-width: 13em; }
#depoimentos .kicker { color: var(--blue); }

/* ---------- O que está em jogo (pathos): dados com fonte ---------- */
.a-jogo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); }
.a-jogo li { border: 1px solid var(--navy-line); border-radius: var(--r-lg); padding: clamp(20px, 3vh, 30px) clamp(18px, 2vw, 26px); background: rgba(255,255,255,.035); display: flex; flex-direction: column; gap: 8px; }
.a-jogo-n { margin: 0; font-size: 1rem; color: rgba(255,255,255,.82); }
.a-jogo-n b { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: var(--cyan); letter-spacing: -.02em; }
.a-jogo-sem b { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; }
.a-jogo-n sup { font-size: .8rem; margin-left: 2px; vertical-align: top; position: relative; top: .35em; }
.a-jogo-n sup a { color: var(--white); text-decoration: none; }
.a-jogo-n sup a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.a-jogo-k { margin: 0; font-weight: 500; color: var(--white); }
.a-jogo-t { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--navy-line); font-size: .95rem; color: rgba(255,255,255,.78); }
.a-fontes { margin: clamp(18px, 3vh, 28px) 0 0; padding: 0 0 0 18px; font-size: .8rem; color: var(--muted-dark); display: grid; gap: 4px; }
@media (min-width: 768px) { .a-jogo { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Rotina num bloco só (11/11): abas das 4 etapas + comparativo da etapa escolhida ----------
   Sem script: as abas somem e as 4 etapas aparecem empilhadas, cada uma com o seu título. */
.a-rot-tabs { display: none; }
.a-rot-painel { display: grid; gap: 16px; }
.a-rot-painel + .a-rot-painel { margin-top: 40px; }
.a-rot-txt h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; }
.a-rot-txt h3 .a-n, .a-rot-tab .a-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 500; font-size: .9rem; }
.a-rot-txt p { margin: 8px 0 0; color: var(--muted); max-width: 46em; }
.a-rot.is-js .a-rot-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; padding-bottom: 2px; }
.a-rot.is-js .a-rot-tabs::-webkit-scrollbar { display: none; }
.a-rot.is-js .a-rot-painel + .a-rot-painel { margin-top: 0; }
.a-rot.is-js .a-rot-painel[hidden] { display: none; }
.a-rot.is-js .a-rot-txt h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a-rot.is-js .a-rot-txt p { margin-top: 0; }
.a-rot-painel:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 6px; border-radius: var(--r-md); }
.a-rot-tab { all: unset; box-sizing: border-box; cursor: pointer; flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.3; transition: background-color .2s, border-color .2s, color .2s; }
.a-rot-tab .a-n { background: var(--mist); color: var(--ink); transition: background-color .2s, color .2s; }
.a-rot-tab:hover { border-color: var(--blue-mid); }
.a-rot-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.a-rot-tab[aria-selected="true"] .a-n { background: var(--cyan); color: var(--navy); }
.a-rot-tab:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 2px; }
@media (max-width: 639px) { .a-rot-tt { max-width: 15em; white-space: normal; } }
@media (min-width: 1024px) {
  .a-rot.is-js { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
  .a-rot.is-js .a-rot-tabs { flex-direction: column; overflow: visible; margin: 0; position: sticky; top: calc(var(--header) + 24px); }
  .a-rot.is-js .a-rot-tab { padding: 16px 18px 16px 14px; font-size: 1.02rem; }
  .a-rot.is-js .a-rot-txt p { font-size: 1.02rem; }
}
.a-rot-dica { display: none; }
@media (min-width: 1024px) {
  .a-rot.is-js .a-rot-dica { display: flex; align-items: center; gap: 10px; grid-column: 1; grid-row: 2; align-self: start; margin: 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); font-size: .9rem; color: var(--muted); }
  .a-rot.is-js .a-rot-dica svg { width: 20px; height: 20px; flex: none; color: var(--blue-mid); }
  .a-rot.is-js .a-rot-tabs { grid-row: 1; position: static; }
  .a-rot.is-js .a-rot-paineis { grid-column: 2; grid-row: 1 / span 2; }
  .a-rot.is-js { grid-template-rows: auto 1fr; }
}

/* =====================================================================
   BIBLIOTECA (11/11): cabeça, parede de capas, Insights, áreas cobertas e usos
   ===================================================================== */
.a-bib { overflow: hidden; }
.a-bib-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.a-bib-head h2.display { max-width: 14em; }
.a-bib-head .lede { margin-top: clamp(12px, 1.8vh, 18px); max-width: 36em; }
.a-bib-num { background: var(--navy); color: var(--white); border-radius: var(--r-xl); padding: clamp(22px, 3vh, 30px) clamp(22px, 2.6vw, 32px); box-shadow: 0 30px 60px -36px rgba(11,20,48,.7); position: relative; overflow: hidden; }
.a-bib-num::before { content: ""; position: absolute; right: -30%; top: -50%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(34,144,201,.35), transparent); pointer-events: none; }
.a-bib-num > * { position: relative; }
.a-bib-num .lib-stats { margin: 0 0 16px; }
.a-bib-num .lib-stats div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.a-bib-num .lib-stats dt { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 5vw, 4.4rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.a-bib-num .lib-stats dd { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--cyan); }
.a-bib-fatos { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--navy-line); display: grid; gap: 10px; }
.a-bib-fatos li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: rgba(255,255,255,.9); }
.a-bib-fatos svg { flex: none; width: 22px; height: 22px; color: var(--cyan); }
@media (min-width: 1024px) { .a-bib-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* Parede de capas: três faixas que andam devagar, em sentidos alternados. Só com html.motion; pausa no botão, no cursor
   e fora da tela; movimento reduzido ou sem script, as capas ficam paradas. */
.a-capas-wrap { position: relative; margin: clamp(28px, 5vh, 52px) 0 clamp(28px, 5vh, 52px); }
.a-capas { display: grid; gap: 12px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.a-capas-linha { display: flex; width: max-content; }
.a-capas-set { display: flex; gap: 12px; padding-right: 12px; }
.a-capas img { display: block; width: clamp(180px, 17vw, 260px); height: auto; aspect-ratio: 16 / 9; border-radius: 12px; box-shadow: 0 10px 24px -16px rgba(11,20,48,.55); background: var(--line); }
.a-capas-l2 { margin-left: -120px; }
html.motion .a-capas-linha { animation: a-capas-mov var(--dur, 140s) linear infinite; }
html.motion .a-capas-l2 { --dur: 170s; animation-direction: reverse; }
html.motion .a-capas-l3 { --dur: 155s; }
html.motion .a-capas.is-paused .a-capas-linha { animation-play-state: paused; }
@keyframes a-capas-mov { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .a-capas-linha { animation: none !important; } }
.a-capas-pausa { all: unset; box-sizing: border-box; position: absolute; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); bottom: -40px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.a-capas-pausa[hidden] { display: none; }
.a-capas-pausa:hover { border-color: var(--blue-mid); }
.a-capas-pausa:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 2px; }
.a-capas-pausa svg { width: 14px; height: 14px; fill: currentColor; }
.a-capas-pausa .i-play, .a-capas-pausa.is-paused .i-pause { display: none; }
.a-capas-pausa.is-paused .i-play { display: block; }
.a-capas-leg { margin: 12px 0 0; padding: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); font-size: .8rem; color: var(--muted); }

/* Insights: demonstração com os exemplos do próprio catálogo */
.a-bib-meio { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; margin-top: clamp(12px, 2vh, 20px); }

/* O que a biblioteca cobre */
.a-cobre-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vh, 28px) clamp(18px, 2vw, 26px); box-shadow: var(--shadow-card); }
.a-cobre { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 22px; }
.a-cobre li { display: flex; gap: 12px; align-items: flex-start; }
.a-cobre svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--cyan-soft); color: var(--blue); box-sizing: border-box; }
.a-cobre b { display: block; font-weight: 500; color: var(--ink); }
.a-cobre span { display: block; margin-top: 2px; font-size: .88rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 640px) { .a-cobre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .a-bib-meio { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* Pé: usos e atalhos */
.a-bib-pe { margin-top: clamp(24px, 4vh, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.a-bib-usos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.a-bib-usos li { padding: 14px 16px; background: var(--white); border-radius: var(--r-md); }
.a-bib-usos b { display: block; font-weight: 500; color: var(--ink); }
.a-bib-usos span { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); }
.a-bib-cta { display: grid; gap: 14px; justify-items: start; }
.a-bib-atalhos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink); }
.a-bib-atalhos li { display: flex; gap: 8px; align-items: baseline; }
.a-bib-atalhos li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-mid); transform: translateY(-2px); }
@media (min-width: 768px) { .a-bib-usos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .a-bib-pe { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
@media (max-width: 639px) {
  .a-cobre { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .a-cobre li { flex-direction: column; gap: 6px; }
  .a-cobre span { display: none; }
  .a-cobre b { font-size: .92rem; line-height: 1.3; }
  .a-bib-usos { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .a-bib-usos li { scroll-snap-align: start; }
}

/* Revisão de 11/11 */
.a-cmp-quadro { -webkit-user-select: none; user-select: none; touch-action: pan-y; }
.a-cmp { --pos: 35%; }
@media (max-width: 639px) {
  .a-bib-usos { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
  .a-cobre span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; }
}

/* =====================================================================
   BIBLIOTECA NUMA TELA (11/11): capas como fundo vivo + mensagem + painel com abas
   ===================================================================== */
#biblioteca.a-bib { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); }
.a-bib-fundo { position: absolute; inset: -40px -60px; z-index: -1; display: grid; align-content: center; gap: 14px; transform: rotate(-4deg); pointer-events: none; }
.a-bib-fundo .a-capas-linha { display: flex; width: max-content; }
.a-bib-fundo .a-capas-set { display: flex; gap: 14px; padding-right: 14px; }
.a-bib-fundo img { display: block; width: clamp(170px, 15vw, 240px); height: auto; aspect-ratio: 16 / 9; border-radius: 12px; opacity: .2; filter: saturate(.6); transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s var(--ease), box-shadow .5s; }
.a-bib-fundo.is-foco img { opacity: .08; }
.a-bib-fundo img.is-match { opacity: .95; filter: none; transform: scale(1.06); box-shadow: 0 0 0 3px var(--cyan), 0 20px 40px -18px rgba(0,0,0,.8); }
html.motion .a-bib-fundo .a-capas-linha { animation: a-capas-mov var(--dur, 160s) linear infinite; }
html.motion .a-bib-fundo .a-capas-l2 { --dur: 190s; animation-direction: reverse; }
html.motion .a-bib-fundo .a-capas-l3 { --dur: 175s; }
html.motion .a-bib-fundo .a-capas-l4 { --dur: 205s; animation-direction: reverse; }
html.motion .a-bib-fundo.is-paused .a-capas-linha { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .a-bib-fundo .a-capas-linha { animation: none !important; } }
#biblioteca.a-bib::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,20,48,.92) 0%, rgba(11,20,48,.7) 42%, rgba(11,20,48,.25) 70%, rgba(11,20,48,.55) 100%); }

.a-bib-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; position: relative; }
.a-bib-lado h2.display { font-size: clamp(1.9rem, min(3vw, 5.2vh), 2.7rem); max-width: 13em; color: var(--white); }
.a-bib-lado .kicker { color: var(--cyan); }
.a-bib-lado .lede { margin-top: clamp(10px, 1.6vh, 16px); color: rgba(255,255,255,.84); font-size: clamp(.98rem, 1.1vw, 1.08rem); max-width: 30em; }
.a-bib-lado .a-bib-num { margin-top: clamp(14px, 2.4vh, 24px); background: rgba(11,20,48,.55); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: var(--r-lg); padding: clamp(14px, 2vh, 20px) 20px; box-shadow: none; }
.a-bib-lado .a-bib-num::before { display: none; }
.a-bib-lado .lib-stats { margin: 0 0 10px; }
.a-bib-lado .lib-stats dt { font-size: clamp(2.4rem, min(4vw, 6.4vh), 3.4rem); }
.a-bib-lado .a-bib-fatos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding-top: 10px; }
.a-bib-lado .a-bib-fatos li { align-items: flex-start; font-size: .86rem; line-height: 1.3; }
.a-bib-lado .a-bib-fatos svg { width: 18px; height: 18px; }
.a-bib-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: clamp(14px, 2.4vh, 22px); }
.a-bib-acoes .a-capas-pausa { position: static; width: 36px; height: 36px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: var(--white); }
.a-bib-acoes .a-capas-leg { margin: 0; padding: 0; font-size: .8rem; color: var(--muted-dark); }

.a-bib-painel { background: var(--white); color: var(--ink); border-radius: var(--r-xl); padding: clamp(14px, 2vh, 20px); box-shadow: 0 40px 80px -36px rgba(0,0,0,.8); }
.a-bib-tabs { display: flex; gap: 6px; padding: 4px; background: var(--mist); border-radius: 999px; margin-bottom: clamp(10px, 1.8vh, 16px); }
.a-bib-tabs [role="tab"] { all: unset; cursor: pointer; flex: 1; text-align: center; padding: 8px 10px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s; }
.a-bib-tabs [role="tab"][aria-selected="true"] { background: var(--navy); color: var(--white); }
.a-bib-tabs [role="tab"]:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 2px; }
.a-bib-p[hidden] { display: none; }
.a-bib-ph { font-size: clamp(1.02rem, 1.3vw, 1.15rem); font-weight: 500; line-height: 1.35; margin: 0 0 10px; color: var(--ink); }
.a-bib-ph span { font-weight: 400; font-size: .82rem; color: var(--muted); }
.a-bib-painel .a-cobre { gap: 8px 14px; }
.a-bib-painel .a-cobre li { padding: 8px; margin: -8px; border-radius: var(--r-md); cursor: default; transition: background-color .2s; }
.a-bib-painel .a-cobre li:hover, .a-bib-painel .a-cobre li:focus-visible { background: var(--mist); outline: none; }
.a-bib-painel .a-cobre li:focus-visible { box-shadow: 0 0 0 3px var(--blue-mid); }
.a-bib-painel .a-cobre span { font-size: .8rem; }
.a-bib-painel .a-bib-usos { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.a-bib-painel .a-bib-usos li { padding: 10px 14px; background: var(--mist); }
.a-bib-painel .a-bib-atalhos { margin-top: 14px; }
@media (min-width: 1024px) {
  .a-bib-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .home > #biblioteca.a-bib { padding: clamp(20px, 3vh, 40px) 0; }
}
@media (max-width: 639px) {
  .a-bib-lado .a-bib-fatos { grid-template-columns: minmax(0, 1fr); }
  .a-bib-tabs [role="tab"] { font-size: .8rem; padding: 8px 6px; white-space: normal; }
  .a-bib-fundo img { width: 140px; }
}
/* Sem script: as abas somem e os três painéis aparecem em sequência */
.a-bib-painel:not(.is-js) .a-bib-tabs { display: none; }
.a-bib-painel:not(.is-js) .a-bib-p + .a-bib-p { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
/* Ajuste do fundo (11/11): a camada escura fica só atrás do texto; o resto mostra as capas, e as que acendem brilham */
#biblioteca.a-bib::after { background: linear-gradient(90deg, rgba(11,20,48,.9) 0%, rgba(11,20,48,.72) 38%, rgba(11,20,48,.15) 58%, rgba(11,20,48,0) 100%), linear-gradient(0deg, rgba(11,20,48,.55), transparent 22%, transparent 78%, rgba(11,20,48,.55)); }
.a-bib-fundo { z-index: -2; }
.a-bib-fundo img { opacity: .34; filter: saturate(.75) brightness(.9); }
.a-bib-fundo.is-foco img { opacity: .12; filter: saturate(.3) brightness(.7); }
.a-bib-fundo img.is-match { opacity: 1; filter: none; transform: scale(1.08); box-shadow: 0 0 0 3px var(--cyan), 0 0 40px 4px rgba(0,166,223,.45); }
.a-bib-lado .a-bib-fatos li:first-child { grid-column: 1 / -1; }
.a-bib-fundo img { opacity: .55; filter: saturate(.85); }
.a-bib-fundo.is-foco img { opacity: .14; filter: saturate(.2) brightness(.6); }
.a-bib-fundo img.is-match { opacity: 1; filter: none; }
#biblioteca.a-bib::after { background: linear-gradient(90deg, rgba(11,20,48,.94) 0%, rgba(11,20,48,.82) 36%, rgba(11,20,48,.35) 56%, rgba(11,20,48,.2) 100%), linear-gradient(0deg, rgba(11,20,48,.5), transparent 25%, transparent 75%, rgba(11,20,48,.5)); }

/* Divisor igual ao da home (11/11): botão navy com borda branca, que fica azul e cresce no hover e no arraste; a mãozinha
   só na faixa do divisor (.a-cmp-grip, 44 px). 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 { background: #0B1430; border: 3px solid #FFFFFF; box-shadow: 0 6px 16px -6px rgba(0,0,0,.55); transition: background-color .2s ease, transform .2s ease; pointer-events: none; }
.a-cmp-knob svg { stroke-width: 2.2; }
.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; }

/* =====================================================================
   CADA SEÇÃO NUMA TELA (11/11): painéis em abas, rotina e aprender compactos, ajustes para telas baixas
   ===================================================================== */
/* Painéis: texto e lista à esquerda; as duas telas em abas à direita */
.a-pai-grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.a-pai-lado .a-head { margin-bottom: clamp(16px, 2.6vh, 28px); }
.a-pai-lado .a-pai-lista { gap: 12px; }
.a-pai-lado .a-fict { margin-top: clamp(14px, 2.2vh, 22px); }
.a-pai-tabs { display: none; }
.a-pai-telas.is-js .a-pai-tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); border-radius: 999px; width: max-content; max-width: 100%; }
.a-pai-tabs [role="tab"] { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.78); white-space: nowrap; }
.a-pai-tabs [role="tab"][aria-selected="true"] { background: var(--white); color: var(--navy); }
.a-pai-tabs [role="tab"]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.a-pai-p[hidden] { display: none; }
.a-pai-p + .a-pai-p { margin-top: 20px; }
.a-pai-telas.is-js .a-pai-p + .a-pai-p { margin-top: 0; }
.a-pai-p .a-tela img { max-height: calc(100svh - 300px); width: 100%; object-fit: contain; object-position: left top; background: var(--white); }
.a-pai-leg { margin: 10px 0 0; font-size: .84rem; color: var(--muted-dark); }
@media (min-width: 1024px) { .a-pai-grid2 { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

/* Rotina: título numa linha e quadro com altura limitada pela tela */
#rotina .a-head { margin-bottom: clamp(16px, 2.8vh, 32px); max-width: none; }
#rotina h2.display { max-width: none; font-size: clamp(1.9rem, min(3vw, 5vh), 2.6rem); }
#rotina .a-rot-foot { margin-top: clamp(14px, 2.2vh, 24px); padding: 12px 18px; }
@media (min-width: 1024px) {
  #rotina .a-rot.is-js .a-cmp-quadro { aspect-ratio: auto; height: clamp(280px, calc(100svh - 440px), 500px); }
  #rotina .a-rot.is-js .a-rot-painel { gap: 10px; }
  #rotina .a-rot.is-js .a-rot-tab { padding: 12px 16px 12px 12px; }
  .home > #rotina { padding: clamp(20px, 3.4vh, 48px) 0; }
}

/* Aprender: menos respiro entre os blocos */
@media (min-width: 1024px) {
  #aprender .a-head { margin-bottom: clamp(16px, 2.6vh, 32px); }
  #aprender .a-formatos li { padding: 12px 16px 12px 12px; }
  #aprender .a-recursos { margin-top: clamp(12px, 2vh, 20px); gap: 10px 20px; }
  #aprender .a-junto { margin-top: clamp(12px, 2vh, 20px); padding-top: clamp(10px, 1.6vh, 16px); }
  #aprender .a-quote { margin-top: clamp(14px, 2.4vh, 28px); padding-top: clamp(12px, 2vh, 18px); }
  #aprender .a-quote p { font-size: .98rem; }
  #aprender .a-demo { padding: clamp(18px, 2.6vh, 28px) clamp(18px, 2.2vw, 28px); }
  #aprender .a-ops { margin-top: 12px; gap: 8px; }
  #aprender .demo-op { padding: 10px 12px; }
  .home > #aprender { padding: clamp(20px, 3.4vh, 48px) 0; }
}
/* Telas baixas (até 820 px de altura): tudo um pouco mais junto */
@media (min-width: 1024px) and (max-height: 820px) {
  #aprender h2.display, #cuidado h2.display, #depoimentos h2 { font-size: clamp(1.8rem, 4.6vh, 2.4rem); }
  #aprender .a-quote img { width: 96px; }
  #aprender .a-formatos p, #aprender .a-recursos li { font-size: .9rem; }
  #depoimentos .depo-head { margin-bottom: 16px; }
  #depoimentos .a-ethos dt { font-size: 1.7rem; }
  #cuidado .a-cs-foto { aspect-ratio: 16 / 5; }
  #cuidado .a-fatos { margin-top: 16px; gap: 12px; }
  #cuidado .aguardando-cs { padding: 14px 18px; }
  .home > #depoimentos, .home > #cuidado { padding: clamp(16px, 3vh, 36px) 0; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  #paineis h2.display { font-size: clamp(1.8rem, 4.6vh, 2.4rem); }
  #paineis .a-head .lede { font-size: .98rem; }
  #paineis .a-pai-lista { gap: 8px; }
  #paineis .a-pai-lista p { font-size: .88rem; }
  .home > #paineis { padding: clamp(16px, 3vh, 36px) 0; }
}
/* Celular: as abas da rotina rolam dentro da própria faixa; as abas dos painéis quebram em duas linhas */
@media (max-width: 1023px) {
  .a-rot.is-js .a-rot-tabs { max-width: 100%; }
  .a-rot.is-js { min-width: 0; }
  #rotina .wrap { overflow: hidden; }
  .a-pai-telas.is-js .a-pai-tabs { width: auto; border-radius: var(--r-md); }
  .a-pai-tabs [role="tab"] { flex: 1; text-align: center; white-space: normal; padding: 8px 10px; border-radius: var(--r-sm); }
}

/* ---------- O que está em jogo (11/11): infográfico de 20 pessoas (OPAS 2026) ---------- */
#emjogo { position: relative; overflow: hidden; isolation: isolate; }
#emjogo::before { content: ""; position: absolute; z-index: -1; right: -12%; top: 50%; width: 60%; aspect-ratio: 1; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(0,166,223,.16), transparent); pointer-events: none; }
.a-jogo-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: center; }
.a-jogo-txt h2.display { max-width: 13em; font-size: clamp(2rem, min(3.4vw, 5.6vh), 3rem); }
.a-jogo-txt .lede { margin-top: clamp(12px, 2vh, 20px); font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.5; max-width: 30em; }
.a-jogo-txt .lede b { color: var(--cyan); font-weight: 700; }
.a-jogo-txt sup a, .a-jogo-apoio sup a { color: var(--white); text-decoration: none; font-size: .78em; }
.a-jogo-txt sup a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.a-jogo-apoio { list-style: none; margin: clamp(18px, 3vh, 30px) 0 0; padding: clamp(14px, 2.2vh, 20px) 0 0; border-top: 1px solid var(--navy-line); display: grid; gap: 14px; }
.a-jogo-apoio li { display: grid; grid-template-columns: 7.2rem 1fr; gap: 14px; align-items: baseline; }
.a-jogo-apoio b { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1; color: var(--white); white-space: nowrap; }
.a-jogo-apoio li:last-child b { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.a-jogo-apoio span { font-size: .95rem; color: rgba(255,255,255,.82); line-height: 1.45; }
.a-info-fig { margin: 0; }
.a-info { background: rgba(255,255,255,.04); border: 1px solid var(--navy-line); border-radius: var(--r-xl); padding: clamp(20px, 3vh, 32px); }
.a-info-grade { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.a-pessoa { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: rgba(255,255,255,.05); }
.a-pessoa svg { width: 62%; height: 62%; fill: rgba(255,255,255,.28); }
.a-pessoa.is-dano { background: rgba(0,166,223,.14); box-shadow: inset 0 0 0 2px var(--cyan); }
.a-pessoa.is-dano svg { fill: var(--cyan); }
.a-pessoa.is-evitavel { background: rgba(255,255,255,.95); box-shadow: inset 0 0 0 2px var(--white), 0 0 0 4px rgba(0,166,223,.35); position: relative; }
.a-pessoa.is-evitavel svg { fill: var(--navy); }
.a-pessoa.is-evitavel::after { content: ""; position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.a-info-leg { display: grid; gap: 8px; margin-top: 14px; font-size: .92rem; color: rgba(255,255,255,.86); }
.a-info-leg span { display: flex; align-items: center; gap: 10px; }
.a-info-leg b { color: var(--white); }
.a-info-leg i { flex: none; width: 16px; height: 16px; border-radius: 5px; }
.a-info-leg .k-dano { box-shadow: inset 0 0 0 2px var(--cyan); background: rgba(0,166,223,.14); }
.a-info-leg .k-evit { background: var(--white); box-shadow: 0 0 0 3px rgba(0,166,223,.35); }
#emjogo .a-fontes { grid-column: 1 / -1; margin: 0; }
/* Entrada: as pessoas aparecem em sequência; depois acendem as 2 com dano e, por último, a evitável */
html.motion #emjogo .a-info-fig:not(.is-in) .a-pessoa { opacity: 0; transform: scale(.85); }
html.motion #emjogo .a-info-fig .a-pessoa { transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .5s, box-shadow .5s; transition-delay: calc(var(--i) * 35ms); }
html.motion #emjogo .a-info-fig.is-in .a-pessoa.is-dano { transition-delay: calc(var(--i) * 35ms), calc(var(--i) * 35ms), 1s, 1s; }
html.motion #emjogo .a-info-fig.is-in .a-pessoa.is-evitavel { transition-delay: calc(var(--i) * 35ms), calc(var(--i) * 35ms), 1.6s, 1.6s; }
html.motion #emjogo .a-info-fig:not(.is-in) .a-pessoa.is-dano { background: rgba(255,255,255,.05); box-shadow: none; }
@media (min-width: 1024px) { .a-jogo-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
@media (max-width: 639px) { .a-jogo-apoio li { grid-template-columns: 1fr; gap: 4px; } }

/* Ajustes do infográfico: pictogramas cheios (a regra geral dos ícones é só traço) e coluna dos números mais larga */
#emjogo .a-pessoa svg { stroke: none; }
#emjogo .a-pessoa:not(.is-dano) svg { fill: rgba(255,255,255,.3); }
.a-jogo-apoio li { grid-template-columns: 9.5rem 1fr; }
.a-jogo-apoio b small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted-dark); margin-bottom: 2px; }
.a-jogo-apoio li:last-child b { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.a-info-leg span { display: block; padding-left: 26px; position: relative; }
.a-info-leg i { position: absolute; left: 0; top: .2em; }
.a-info-leg b { white-space: nowrap; }
@media (max-width: 639px) { .a-jogo-apoio li { grid-template-columns: 1fr; } }
.a-jogo-apoio li { grid-template-columns: 6.5rem 1fr; }
@media (max-width: 639px) { .a-jogo-apoio li { grid-template-columns: 1fr; } }

/* ---------- Topo (12/11): notebook e celular com a área do aluno real (dados fictícios) ---------- */
.a-aparelhos { position: relative; display: block; padding: 0 0 8% 0; }
.a-note { position: relative; width: 100%; }
.a-note-tela { background: #0E1530; border-radius: 14px 14px 0 0; padding: 2.2% 2.2% 0; box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; }
.a-note-tela img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; }
.a-note-base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#C9D0DE, #8C96AD); box-shadow: 0 40px 70px -30px rgba(0,0,0,.85); position: relative; }
.a-note-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #7C86A0; }
.a-cel { position: absolute; right: -6%; bottom: 0; width: 27%; aspect-ratio: 364 / 788; padding: 2.2%; border-radius: 26px; background: linear-gradient(155deg, #34467F, #121D3F 60%); box-shadow: 0 30px 60px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.18) inset; }
.a-cel-tela { height: 100%; border-radius: 18px; overflow: hidden; background: #fff; }
.a-cel-tela img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.a-aparelhos .a-fict { position: absolute; left: 0; bottom: -6px; margin: 0; }
html.motion .a-note { animation: a-sobe .9s var(--ease) both .15s; }
html.motion .a-cel { animation: a-sobe .9s var(--ease) both .45s; }
@keyframes a-sobe { from { opacity: 0; transform: translateY(24px); } }
@media (min-width: 1024px) {
  .a-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .a-aparelhos { margin-right: 4%; }
}
@media (min-width: 640px) and (max-width: 1023px) { .a-hero-grid { grid-template-columns: minmax(0, 1fr); } .a-aparelhos { max-width: 560px; } }
.a-hero h1 { font-size: clamp(2.3rem, min(4vw, 6.4vh), 3.6rem); }
@media (min-width: 1024px) {
  .a-hero .lede { font-size: clamp(1rem, 1.15vw, 1.12rem); margin-top: clamp(10px, 1.8vh, 18px); }
  .a-hero .a-assin { margin-bottom: clamp(12px, 2vh, 20px); }
  .a-hero .a-ctas { margin-top: clamp(16px, 2.6vh, 28px); }
  .a-prova { margin-top: clamp(16px, 2.6vh, 28px); padding-top: clamp(12px, 2vh, 18px); }
}

/* =====================================================================
   TOPO (12/11, v2): notebook e celular realistas com a área do aluno real (telas em 2x, dados fictícios)
   ===================================================================== */
.a-devs { position: relative; margin: 0; display: block; }
.a-devs::before { content: ""; position: absolute; left: 10%; right: -4%; top: 6%; bottom: 0; background: radial-gradient(closest-side, rgba(0,166,223,.32), transparent 72%); filter: blur(10px); pointer-events: none; }
.a-devs-palco { position: relative; padding: 0 9% 9% 0; perspective: 2200px; }
.a-mac { position: relative; transform: rotateY(-9deg) rotateX(3deg); transform-origin: 60% 60%; }
.a-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 #A9B1C0, 0 0 0 3px #4B5263, inset 0 0 0 1px rgba(255,255,255,.07), 0 50px 90px -40px rgba(0,0,0,.9); }
.a-mac-notch { position: absolute; left: 50%; top: 0; width: 13%; height: 3.2%; transform: translateX(-50%); background: #0A0B0F; border-radius: 0 0 10px 10px; z-index: 2; display: grid; place-items: center; }
.a-mac-notch i { width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3A4A7A, #0D1022 70%); }
.a-mac-tela { position: relative; border-radius: 6px; overflow: hidden; background: #fff; }
.a-mac-tela img { display: block; width: 100%; height: auto; }
.a-mac-tela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 28%, rgba(255,255,255,0) 42%); pointer-events: none; }
.a-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); }
.a-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); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); }
.a-ip { position: absolute; right: 0; bottom: 0; width: 25%; padding: 1.15%; border-radius: 18% / 8.4%; background: #0A0B0F;
  box-shadow: 0 0 0 2px #7E8697, 0 0 0 3.5px #3B4150, inset 0 0 0 1px rgba(255,255,255,.08), -18px 30px 50px -18px rgba(0,0,0,.85); transform: rotate(-2deg); }
.a-ip::before, .a-ip::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #5A6172, #9CA3B2); }
.a-ip::before { left: -4.5px; top: 22%; height: 9%; box-shadow: 0 34px 0 #7E8697; }
.a-ip::after { right: -4.5px; top: 28%; height: 13%; }
.a-ip-tela { position: relative; aspect-ratio: 390 / 892; border-radius: 15.5% / 7%; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.a-ip-status { flex: none; height: 5.4%; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 11%; color: #0B1430; font: 600 clamp(7px, .62vw, 10px) / 1 var(--body); }
.a-ip-status span { display: flex; gap: 4px; align-items: center; }
.a-ip-status svg { height: .9em; width: auto; fill: currentColor; stroke: none; }
.a-ip-tela img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; display: block; }
.a-ip-ilha { position: absolute; left: 50%; top: 1.4%; width: 31%; height: 3.4%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.a-ip-barra { position: absolute; left: 50%; bottom: 1%; width: 34%; height: .55%; transform: translateX(-50%); border-radius: 999px; background: rgba(11,20,48,.55); }
.a-ip-tela::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 35%); pointer-events: none; }
.a-devs .a-fict { margin: 6px 0 0; text-align: left; }
html.motion .a-mac { animation: a-mac-in 1.1s var(--ease) both .1s; }
html.motion .a-ip { animation: a-ip-in 1.1s var(--ease) both .45s; }
@keyframes a-mac-in { from { opacity: 0; transform: rotateY(-18deg) rotateX(6deg) translateY(30px); } }
@keyframes a-ip-in { from { opacity: 0; transform: rotate(-6deg) translate(30px, 40px); } }
@media (max-width: 1023px) { .a-devs { max-width: 600px; margin: 0 auto; } }

/* ---------- Topo v3 (12/11): composição ---------- */
.a-devs-palco { padding: 3% 0 9% 7%; }
.a-mac { transform: none; }   /* de frente (12/11): a perspectiva deixava o lado esquerdo mais baixo que o direito */
.a-ip { left: -3%; right: auto; bottom: 0; width: 24%; transform: rotate(2.5deg); z-index: 3; }
@keyframes a-ip-in3 { from { opacity: 0; transform: rotate(6deg) translate(-30px, 40px); } }
.a-chao { position: absolute; left: 12%; right: 4%; bottom: 3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(8px); z-index: -1; }
.a-devs .a-fict { padding-left: 7%; }
@media (min-width: 1024px) {
  .a-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6.6fr); gap: 40px; }
  .a-devs { margin-right: calc(-1 * clamp(24px, 4vw, 80px)); }
}
/* Celular do visitante: só o celular, centralizado, abaixo dos botões */
@media (max-width: 639px) {
  .a-hero-fig.a-devs { display: block; margin-top: 8px; }
  .a-devs .a-mac, .a-devs .a-chao { display: none; }
  .a-devs-palco { padding: 0; perspective: none; }
  .a-devs .a-ip { position: relative; left: auto; bottom: auto; width: 64%; margin: 0 auto; transform: rotate(-2deg); }
  .a-devs .a-fict { padding-left: 0; text-align: center; margin-top: 14px; }
  .a-ip-status { font-size: 10px; }
}
@media (min-width: 640px) { .a-devs .a-fict { padding-left: 0; text-align: right; margin-top: -2%; } }

/* Barra de status: ícones mais compactos para não encostarem na ilha dinâmica */
.a-ip-status { padding: 0 7% 0 11%; }
.a-ip-status span { gap: 2.5px; }
.a-ip-status svg { height: .8em; }
.a-ip-ilha { width: 29%; }

/* =====================================================================
   TOPO (12/11, coerência): um acontecimento só, com consequência nas duas telas
   0 s      notebook sobe; 0,15 s o celular sobe igual (mesma curva, mesma distância); a sombra aparece junto
   1,35 s   o push "Matrícula automática" desce da ilha e o celular vibra no mesmo instante
   2,05 s   nas duas telas ao mesmo tempo: a lista desce um card, o contador vai de 2 para 3
   2,25 s   a trilha nova aparece no lugar, com um anel que se apaga em 2,4 s
   3,9 s    o push recolhe; tudo fica parado
   Entradas desaceleram (--seq); saídas aceleram (--seq-sai). Nada repete nem flutua.
   ===================================================================== */
.a-devs { --seq: cubic-bezier(.22, 1, .36, 1); --seq-sai: cubic-bezier(.64, 0, .78, 0); }
html.motion .a-mac, html.motion .a-ip { animation: none; }

/* Push (estilo de banner do sistema) */
.a-push { position: absolute; left: 4%; right: 4%; top: 6.4%; z-index: 3; display: flex; align-items: center; gap: 6%; padding: 4.5% 5%;
  border-radius: 14px; background: rgba(246,248,252,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px -10px rgba(11,20,48,.55), 0 0 0 .5px rgba(11,20,48,.08); color: #0B1430; }
.a-push-ic { flex: none; width: 16%; aspect-ratio: 1; border-radius: 24%; background: #0B1430; display: grid; place-items: center; }
.a-push-ic svg { width: 66%; height: 66%; }
.a-push-txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.a-push b { font-size: clamp(6.5px, .56vw, 9.5px); font-weight: 600; line-height: 1.15; white-space: nowrap; }
.a-push small { font-size: clamp(6px, .52vw, 9px); line-height: 1.2; color: #2B3550; }
@media (max-width: 639px) { .a-push b { font-size: 10px; } .a-push small { font-size: 9.5px; } }

/* Telas vivas: camadas sobre a captura real, em pixels da captura (--tu = 1 pixel dela) */
.a-mac-tela, .a-ip-app { container-type: inline-size; }
.a-ip-app { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.a-ip-tela .a-ip-app > img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.a-depois { position: absolute; inset: 0; pointer-events: none; }
.a-mac .a-depois { --tu: calc(100cqw / 1600); }
.a-ip .a-depois { --tu: calc(100cqw / 780); }
.a-devs .a-depois > *, .a-devs .a-nova > * { position: absolute; display: block; box-sizing: border-box; margin: 0;
  left: calc(var(--tx) * var(--tu)); top: calc(var(--ty) * var(--tu)); width: calc(var(--tw) * var(--tu)); height: calc(var(--th) * var(--tu)); }
.a-devs .a-vao { background: #fff; }
.a-devs .a-lista, .a-devs .a-nova { background-repeat: no-repeat; background-position: calc(var(--tx) * var(--tu) * -1) calc(var(--ty) * var(--tu) * -1); }
.a-mac .a-lista, .a-mac .a-nova { background-image: url(/img/academy/academy-hero-notebook.webp); background-size: calc(1600 * var(--tu)) auto; }
.a-ip .a-lista, .a-ip .a-nova { background-image: url(/img/academy/academy-hero-celular.webp); background-size: calc(780 * var(--tu)) auto; }
.a-devs .a-nova, .a-devs .a-nova-capa, .a-devs .a-nova i { border-radius: calc(var(--tr) * var(--tu)); }
.a-devs .a-nova-capa { object-fit: cover; }
.a-devs .a-nova i { background: #E7E6E9; box-shadow: 0 0 0 calc(2 * var(--tu)) #fff; }
.a-devs .a-nova b, .a-devs .a-nova small, .a-devs .a-conta { background: #fff; font-family: Nunito, Roboto, sans-serif; line-height: 1; white-space: nowrap; overflow: hidden;
  font-size: calc(var(--tfs) * var(--tu)); padding: calc(var(--tpt) * var(--tu)) calc(var(--tpr, 0) * var(--tu)) 0 calc(var(--tpl, 0) * var(--tu)); }
.a-devs .a-nova b { font-weight: 600; color: #000; }
.a-devs .a-nova small { font-weight: 400; text-align: right; }
.a-devs .a-conta { font-weight: 300; color: #8E908F; }
/* Notebook (captura de 1600 px): cards a cada 231 px */
.a-mac .a-vao { --tx: 395; --ty: 318; --tw: 1170; --th: 231; }
.a-mac .a-lista { --tx: 0; --ty: 318; --tw: 1600; --th: 682; translate: 0 calc(231 * var(--tu)); }
.a-mac .a-nova { --tx: 421; --ty: 326; --tw: 1118; --th: 211; --tr: 9; --tanel: 5; }
.a-mac .a-nova-capa { --tx: 12; --ty: 12; --tw: 328; --th: 186; --tr: 12; }
.a-mac .a-nova b { --tx: 379; --ty: 58; --tw: 535; --th: 40; --tfs: 22.6; --tpt: 8; --tpl: 3; }
.a-mac .a-nova small { --tx: 974; --ty: 88; --tw: 125; --th: 23; --tfs: 15.05; --tpt: 5; --tpr: 5; color: #282828; }
.a-mac .a-nova i { --tx: 933; --ty: 114; --tw: 160; --th: 8; --tr: 4; }
.a-mac .a-conta { --tx: 588; --ty: 268; --tw: 30; --th: 28; --tfs: 17; --tpt: 5; --tpl: 3; }
/* Celular (captura de 780 px): cards a cada 701 px */
.a-ip .a-vao { --tx: 45; --ty: 490; --tw: 690; --th: 701; }
.a-ip .a-lista { --tx: 0; --ty: 490; --tw: 780; --th: 1198; translate: 0 calc(701 * var(--tu)); }
.a-ip .a-nova { --tx: 82; --ty: 498; --tw: 617; --th: 668; --tr: 13; --tanel: 9; }
.a-ip .a-nova-capa { --tx: 21; --ty: 20; --tw: 576; --th: 327; --tr: 24; }
.a-ip .a-nova b { --tx: 18; --ty: 364; --tw: 590; --th: 60; --tfs: 32.12; --tpt: 15; --tpl: 5; }
.a-ip .a-nova small { --tx: 113; --ty: 592; --tw: 175; --th: 34; --tfs: 24; --tpt: 5; --tpr: 8; color: #1E2023; }
.a-ip .a-nova i { --tx: 24; --ty: 632; --tw: 255; --th: 12; --tr: 6; background: #E7E6EB; }
.a-ip .a-conta { --tx: 320; --ty: 410; --tw: 44; --th: 40; --tfs: 28; --tpt: 5; --tpl: 5; }

/* Antes de começar (só com script): aparelhos escondidos já na primeira pintura */
.a-devs.is-prep:not(.is-play) .a-mac, .a-devs.is-prep:not(.is-play) .a-ip, .a-devs.is-prep:not(.is-play) .a-chao { opacity: 0; }

/* Roteiro com movimento */
.a-devs.is-play .a-mac { animation: a-sobe .9s var(--seq) both; }
.a-devs.is-play .a-chao { animation: a-fade .9s ease both; }
.a-devs.is-play .a-ip { animation: a-sobe .9s var(--seq) .15s both, a-vibra .6s linear 1.35s; }
.a-devs.is-play .a-push { animation: a-push-desce .55s var(--seq) 1.35s both, a-push-sobe .45s var(--seq-sai) 3.9s forwards; }
.a-devs.is-play .a-lista { animation: a-lista-desce .7s var(--seq) 2.05s both; }
.a-devs.is-play .a-conta { animation: a-fade .3s ease 2.05s both; }
.a-devs.is-play .a-nova { animation: a-nova-entra .6s var(--seq) 2.25s both, a-fade-anel 2.4s ease-out 2.25s both; }
@keyframes a-sobe { from { opacity: 0; translate: 0 28px; } }
@keyframes a-fade { from { opacity: 0; } }
/* Vibração: duas rajadas de ~180 ms (cada passo de 5% = 30 ms), com pausa entre elas, como o vibracall */
@keyframes a-vibra {
  0% { translate: 0 0; rotate: 0deg; }
  5%, 55% { translate: -3px 0; rotate: -1.4deg; }
  10%, 60% { translate: 3px 0; rotate: 1.4deg; }
  15%, 65% { translate: -3px 0; rotate: -1.1deg; }
  20%, 70% { translate: 3px 0; rotate: 1.1deg; }
  25%, 75% { translate: -2px 0; rotate: -.6deg; }
  30%, 50%, 80%, 100% { translate: 0 0; rotate: 0deg; }
}
@keyframes a-push-desce { from { opacity: 0; translate: 0 -135%; } }
@keyframes a-push-sobe { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -135%; } }
@keyframes a-lista-desce { from { translate: 0 0; } }
@keyframes a-nova-entra { from { opacity: 0; scale: .96; } }
@keyframes a-fade-anel { 0%, 45% { box-shadow: 0 0 0 calc(var(--tanel) * var(--tu)) rgba(0,166,223,.75); } 100% { box-shadow: 0 0 0 calc(var(--tanel) * var(--tu)) rgba(0,166,223,0); } }
@keyframes a-fade-sai { to { opacity: 0; } }

/* Menos movimento: a mesma ordem, só com esmaecimento (o site.css zera animações com !important; estas vencem por
   serem mais específicas). As telas trocam do antes para o depois por esmaecimento, sem a lista deslizar. */
@media (prefers-reduced-motion: reduce) {
  .a-devs.is-play .a-mac, .a-devs.is-play .a-chao { animation: a-fade .6s ease both !important; }
  .a-devs.is-play .a-ip { animation: a-fade .6s ease .15s both !important; }
  .a-devs.is-play .a-push { animation: a-fade .4s ease 1.35s both, a-fade-sai .4s ease 3.9s forwards !important; }
  .a-devs.is-play .a-depois { animation: a-fade .5s ease 2.05s both !important; }
  .a-devs.is-play .a-lista, .a-devs.is-play .a-conta { animation: none !important; }
  .a-devs.is-play .a-nova { animation: a-fade-anel 2.4s ease-out 2.05s both !important; }
}




/* Números institucionais (12/11): distribuídos na largura toda. Título em cima; embaixo, três colunas iguais separadas
   por fios (a régua .stats da home, no tom do fundo claro) e o botão de pausa fechando a fileira, junto da esteira.
   No celular, lista compacta: número à esquerda, rótulo ao lado, fios entre as linhas. */
#depoimentos .depo-head { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(20px, 3vw, 40px); row-gap: clamp(16px, 2.4vh, 26px); align-items: end; }
#depoimentos .depo-head > div:first-child { grid-column: 1 / -1; }
#depoimentos .a-ethos { grid-column: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; align-self: end; }
#depoimentos .a-ethos > div { display: grid; align-content: start; gap: 6px; padding: 2px clamp(16px, 2.4vw, 32px); border-left: 1px solid rgba(11,20,48,.14); border-top: 0; }
#depoimentos .a-ethos > div:first-child { padding-left: 0; border-left: 0; }
#depoimentos .a-ethos dd { max-width: none; margin: 0; }
@media (max-width: 639px) {
  /* subgrid: a coluna dos números tem a largura do maior ("700 mil+") e fica alinhada nas três linhas */
  #depoimentos .a-ethos { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
  #depoimentos .a-ethos > div { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 16px; align-items: baseline; padding: 10px 0; border-left: 0; border-top: 1px solid rgba(11,20,48,.12); }
  #depoimentos .a-ethos dt { white-space: nowrap; }
  #depoimentos .a-ethos > div:first-child { padding-top: 0; border-top: 0; }
  #depoimentos .a-ethos dt { font-size: 1.5rem; }
  #depoimentos .a-ethos dd { font-size: .88rem; line-height: 1.35; }
}

/* =====================================================================
   FUNDOS INTERCALADOS (12/11): navy, azul-claro, branco, de cima a baixo
   O azul-claro é o dos depoimentos (#E4EAF5), também em "aprender" e "cuidado". "Em jogo" vai para o branco e
   "aprender" para o azul-claro; as cores pensadas para o escuro ganham a versão clara abaixo.
   ===================================================================== */
.a-light { background: #E4EAF5; }

/* O que está em jogo, no branco */
#emjogo.a-white::before { background: radial-gradient(closest-side, rgba(0,166,223,.09), transparent); }
#emjogo.a-white .a-jogo-txt .lede b { color: var(--blue); }
#emjogo.a-white .a-jogo-txt sup a, #emjogo.a-white .a-jogo-apoio sup a { color: var(--blue); }
#emjogo.a-white .a-jogo-txt sup a:focus-visible { outline-color: var(--blue-mid); }
#emjogo.a-white .a-jogo-apoio { border-top-color: var(--line); }
#emjogo.a-white .a-jogo-apoio b { color: var(--ink); }
#emjogo.a-white .a-jogo-apoio b small { color: var(--muted); }
#emjogo.a-white .a-jogo-apoio span { color: var(--muted); }
#emjogo.a-white .a-fontes { color: var(--muted); }
#emjogo.a-white .a-info { background: var(--mist); border-color: var(--line); }
#emjogo.a-white .a-pessoa { background: rgba(11,20,48,.05); }
#emjogo.a-white .a-pessoa:not(.is-dano) svg { fill: rgba(11,20,48,.26); }
#emjogo.a-white .a-pessoa.is-dano { background: rgba(0,166,223,.14); box-shadow: inset 0 0 0 2px var(--cyan); }
#emjogo.a-white .a-pessoa.is-dano svg { fill: #0089BA; }
/* A evitável inverte: cartão navy com a pessoa em branco (no escuro era o contrário) */
#emjogo.a-white .a-pessoa.is-evitavel { background: var(--navy); box-shadow: 0 0 0 4px rgba(0,166,223,.35); }
#emjogo.a-white .a-pessoa.is-evitavel svg { fill: var(--white); }
html.motion #emjogo.a-white .a-info-fig:not(.is-in) .a-pessoa.is-dano { background: rgba(11,20,48,.05); box-shadow: none; }
#emjogo.a-white .a-info-leg { color: var(--muted); }
#emjogo.a-white .a-info-leg b { color: var(--ink); }
#emjogo.a-white .a-info-leg .k-evit { background: var(--navy); }

/* Aprender fazendo, no azul-claro */
#aprender.a-light::before { background: radial-gradient(closest-side, rgba(34,144,201,.12), transparent); }
#aprender.a-light .a-formatos li { border-color: rgba(11,20,48,.08); background: var(--white); }
#aprender.a-light .a-formatos .a-ic { background: rgba(0,166,223,.12); color: var(--blue-mid); }
#aprender.a-light .a-formatos p { color: var(--muted); }
#aprender.a-light .a-recursos svg { color: var(--blue-mid); }
#aprender.a-light .a-junto { border-top-color: rgba(11,20,48,.12); }
#aprender.a-light .a-junto span { color: var(--muted); }
#aprender.a-light .a-quote { border-top-color: rgba(11,20,48,.12); }
#aprender.a-light .a-demo { box-shadow: 0 30px 60px -36px rgba(11,20,48,.35), 0 0 0 1px rgba(11,20,48,.06); }
#aprender.a-light .a-quote p { color: var(--ink); }
#aprender.a-light .a-quote figcaption { color: var(--muted); }

/* =====================================================================
   FUNIL EM VETOR (13/11): cópia fiel do painel de Trilhas, direto sobre o navy (sem cartão de fundo)
   Grade: total à esquerda; quatro colunas iguais com rótulo em cima, o funil no meio, porcentagem e quantidade embaixo;
   fios entre as colunas, como na tela original.
   ===================================================================== */
.a-funil { margin: 0; color: var(--white); }
.a-funil-t { display: block; margin: 0 0 14px; font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.78); }
.a-funil-g { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); grid-template-rows: auto clamp(150px, 24vh, 230px) auto auto; }
.a-funil-total { grid-column: 1; grid-row: 2; align-self: center; display: grid; justify-items: end; padding-right: clamp(12px, 1.6vw, 22px); }
.a-funil-total b { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.a-funil-total small { font-size: .86rem; color: rgba(255,255,255,.72); }
.a-funil-k { grid-row: 1; text-align: right; padding: 0 10px 12px; font-size: .82rem; line-height: 1.25; color: rgba(255,255,255,.72); }
.a-funil-k:nth-of-type(1) { grid-column: 2; } .a-funil-k:nth-of-type(2) { grid-column: 3; } .a-funil-k:nth-of-type(3) { grid-column: 4; } .a-funil-k:nth-of-type(4) { grid-column: 5; }
.a-funil-svg { grid-column: 2 / 6; grid-row: 2; width: 100%; height: 100%; display: block; }
.a-funil-pct { grid-row: 3; text-align: right; padding: 12px 10px 0; font-size: .98rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.a-funil-n { grid-row: 4; text-align: right; padding: 2px 10px 0; font-size: .74rem; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.a-funil-pct:nth-of-type(1), .a-funil-n:nth-of-type(1) { grid-column: 2; }
.a-funil-pct:nth-of-type(2), .a-funil-n:nth-of-type(2) { grid-column: 3; }
.a-funil-pct:nth-of-type(3), .a-funil-n:nth-of-type(3) { grid-column: 4; }
.a-funil-pct:nth-of-type(4), .a-funil-n:nth-of-type(4) { grid-column: 5; }
.a-funil-sep { grid-row: 1 / -1; pointer-events: none; border-left: 1px solid rgba(255,255,255,.14); }
.a-funil-sep:nth-of-type(1) { grid-column: 2; } .a-funil-sep:nth-of-type(2) { grid-column: 3; } .a-funil-sep:nth-of-type(3) { grid-column: 4; } .a-funil-sep:nth-of-type(4) { grid-column: 5; }
.a-funil-sep:nth-of-type(5) { grid-column: 5; border-left: 0; border-right: 1px solid rgba(255,255,255,.14); }
@media (max-width: 639px) {
  .a-funil-g { grid-template-rows: auto 130px auto auto; }
  .a-funil-total { padding-right: 8px; }
  .a-funil-total b { font-size: 1.15rem; }
  .a-funil-total small { font-size: .72rem; }
  .a-funil-k { padding: 0 4px 8px; font-size: .68rem; }
  .a-funil-pct { padding: 8px 4px 0; font-size: .74rem; }
  .a-funil-n { padding: 2px 4px 0; font-size: .64rem; }
}

/* Resultados (13/11): os quatro painéis de Visão, a Central de Exportação e a barra com os 13 filtros dos painéis */
.a-pai-k { margin: 0 0 10px; font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.a-pai-lado .a-pai-visao { gap: 10px; }
.a-pai-visao h3 { font-size: 1rem; }
.a-pai-visao p { margin-top: 2px; }
.a-pai-exp { margin: clamp(10px, 1.8vh, 14px) 0 0; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid var(--navy-line); font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.8); }
.a-pai-exp b { display: block; font-weight: 500; color: var(--white); }
.a-pai-filtros-box { margin-top: clamp(14px, 2.4vh, 22px); padding-top: clamp(12px, 2vh, 16px); border-top: 1px solid var(--navy-line); }
.a-pai-filtros-k { margin: 0 0 10px; font-size: .84rem; font-weight: 500; color: rgba(255,255,255,.78); }
.a-pai-filtros { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.a-pai-filtros li { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); font-size: .8rem; line-height: 1.2; color: rgba(255,255,255,.88); white-space: nowrap; }
@media (max-width: 639px) { .a-pai-filtros li { font-size: .74rem; padding: 4px 9px; } }
.a-pai-exp b { display: inline; margin-right: 6px; }

/* Quantitativos em HTML (13/11): os seis indicadores do painel de Evolução de Matrículas, direto sobre o navy */
.a-quant { margin: 0; color: var(--white); }
.a-quant-g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.a-quant-g li { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 2px; padding: clamp(8px, 1.2vh, 11px) 14px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); }
.a-quant-g span { justify-self: start; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.78); }
.a-quant-g b { align-self: center; font-size: clamp(1.8rem, 2.9vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; color: var(--white); font-variant-numeric: tabular-nums; }
.a-quant-g small { font-size: .74rem; font-weight: 500; color: rgba(255,255,255,.6); }
@media (max-width: 639px) { .a-quant-g b { font-size: 1.7rem; } .a-quant-g span { font-size: .72rem; } }

/* Cuidado (13/11): nota do suporte, comentário de avaliação e relato do IBCC, no lugar do que esperava o CS */
.a-cs-card { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); color: var(--muted); font-size: .92rem; }
.a-cs-k { margin: 0; font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.a-csat-n { margin: 2px 0 0; display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.a-csat-n b { font-family: var(--display); font-size: clamp(2.4rem, 3.4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.a-csat-n span { font-size: 1rem; color: var(--muted); }
/* Estrelas: cinco no tom da linha e, por cima, as mesmas no azul até a média (4,78 de 5 = 95,6%) */
.a-estrelas, .a-estrelas-v { display: block; height: 18px; background-repeat: repeat-x; background-size: 20px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M9 1.2l2.2 4.6 5 .6-3.7 3.5.9 5-4.4-2.4-4.4 2.4.9-5L1.8 6.4l5-.6z' fill='%23DFE5F2'/%3E%3C/svg%3E"); }
.a-estrelas { position: relative; width: 100px; }
.a-estrelas-v { position: absolute; left: 0; top: 0; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M9 1.2l2.2 4.6 5 .6-3.7 3.5.9 5-4.4-2.4-4.4 2.4.9-5L1.8 6.4l5-.6z' fill='%232290C9'/%3E%3C/svg%3E"); }
.a-cs-s { margin: 4px 0 0; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.a-cs-card blockquote { margin: 0; }
.a-cs-card blockquote p { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--ink); }
.a-cs-card figcaption { font-size: .8rem; color: var(--muted); }
.a-cs-ibcc .a-cs-tag { margin-bottom: 2px; }
@media (min-width: 768px) { .a-cs-ibcc { grid-column: 1 / -1; } }

/* Biblioteca arejada (13/11): menos itens por aba e mais espaço entre as partes */
.a-bib-painel { padding: clamp(18px, 2.6vh, 28px); }
.a-bib-painel .a-bib-tabs { margin-bottom: clamp(16px, 2.6vh, 24px); }
.a-bib-painel .a-bib-ph { margin: 0 0 clamp(12px, 2vh, 18px); font-size: clamp(1.08rem, 1.45vw, 1.26rem); font-weight: 400; line-height: 1.35; }
.a-bib-painel .a-cobre { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
.a-bib-painel .a-cobre li { margin: 0; padding: 16px; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--r-md); }
.a-bib-painel .a-cobre b { font-size: .98rem; }
.a-bib-painel .a-bib-usos { gap: 12px; }
.a-bib-painel .a-bib-usos li { padding: 16px 18px; }
.a-bib-painel .a-bib-usos span { margin-top: 4px; }
.a-bib-tambem { margin: 18px 0 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 639px) {
  .a-bib-painel .a-cobre li { flex-direction: row; padding: 12px; }
  .a-bib-painel .a-cobre b { font-size: .88rem; }
}

/* =====================================================================
   O QUE ESTÁ EM JOGO (13/11): a enfermaria
   ===================================================================== */
@media (min-width: 1024px) { #emjogo .a-jogo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
#emjogo .a-enf-fig .a-info { padding: clamp(10px, 1.6vh, 16px); background: var(--white); border-color: var(--line); box-shadow: var(--shadow-card); }
.a-enf { display: block; width: 100%; height: auto; }
.a-enf-chao { fill: #F4F7FC; }
.a-enf-parede { fill: #E4EAF5; }
.a-enf-corredor { stroke: #D3DCEC; stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; fill: none; }
.a-l-cama { fill: #FFFFFF; stroke: #C9D3E6; stroke-width: 1.5; }
.a-l-cab { fill: #C9D3E6; }
.a-l-trav { fill: #EEF2F9; }
.a-l-cabeca { fill: #B9C5DB; }
.a-l-cob { fill: #DCE5F4; }
.a-l-dobra { stroke: #FFFFFF; stroke-width: 1.5; fill: none; opacity: .85; }
.a-leito.is-dano .a-l-cob { fill: #BDE6F6; }
.a-leito.is-dano .a-l-cama { stroke: #00A6DF; stroke-width: 2.2; }
.a-l-mon { fill: #0B1430; }
.a-l-ecg { fill: none; stroke: #00A6DF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.a-l-pulso { fill: none; stroke: #00A6DF; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.a-escudo .s { fill: #0B1430; }
.a-escudo .c { fill: none; stroke: #FFFFFF; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.a-escudo { transform-box: fill-box; transform-origin: center; }
.a-enf-fig .a-leito .a-l-cob, .a-enf-fig .a-leito .a-l-cama, .a-enf-fig .a-leito .a-l-ecg { transition: fill .5s ease, stroke .5s ease; }
/* Legenda: o dano em ciano e o escudo em navy */
#emjogo.a-white .a-enf-fig .a-info-leg .k-evit { background: var(--navy); border-radius: 50% 50% 45% 45% / 30% 30% 70% 70%; box-shadow: none; }
/* Entrada (só com movimento): leitos em sequência, depois o dano acende, o monitor desenha, o pulso corre e o escudo surge */
html.motion .a-enf-fig .a-leito { transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 35ms); }
html.motion .a-enf-fig:not(.is-in) .a-leito { opacity: 0; transform: translateY(10px); }
html.motion .a-enf-fig:not(.is-in) .a-leito.is-dano .a-l-cob { fill: #DCE5F4; }
html.motion .a-enf-fig:not(.is-in) .a-leito.is-dano .a-l-cama { stroke: #C9D3E6; stroke-width: 1.5; }
html.motion .a-enf-fig:not(.is-in) .a-l-ecg { stroke-dashoffset: 40; }
html.motion .a-enf-fig .a-leito.is-dano .a-l-cob, html.motion .a-enf-fig .a-leito.is-dano .a-l-cama { transition: fill .6s ease 1.1s, stroke .6s ease 1.1s; }
html.motion .a-enf-fig .a-l-ecg { transition: stroke-dashoffset .9s ease 1.3s, stroke .5s ease; }
html.motion .a-enf-fig.is-in .a-l-pulso { animation: a-pulso 1.5s ease-out 1.3s 2; }
@keyframes a-pulso { 0% { opacity: .85; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.3); } }
html.motion .a-enf-fig .a-escudo { transition: opacity .4s ease 2.1s, transform .55s cubic-bezier(.3, 1.6, .5, 1) 2.1s; }
html.motion .a-enf-fig:not(.is-in) .a-escudo { opacity: 0; transform: scale(.3); }
/* Pictogramas dos dados de apoio */
.a-jogo-apoio li { grid-template-columns: 7.4rem 1fr; }
.a-jogo-apoio li > b { grid-column: 1; }
.a-pic { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 3px; margin-top: 6px; }
.a-jogo-apoio li > span:not(.a-pic) { grid-column: 2; grid-row: 1 / span 2; }
.a-pic svg { width: 17px; height: 17px; fill: none; stroke: #B9C5DB; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-pic svg.on { fill: var(--navy); stroke: var(--navy); }
.a-pic-5 svg.on { fill: none; stroke: var(--blue-mid); stroke-width: 2.2; }
.a-pic-3 svg.on { fill: var(--navy); stroke: none; }
.a-pic-3 svg.sai { fill: none; stroke: var(--blue-mid); stroke-width: 1.6; stroke-dasharray: 2.5 2.5; }
.a-pic-3 svg.seta { width: 14px; height: 14px; stroke: var(--blue-mid); stroke-width: 2.2; }
@media (max-width: 639px) {
  .a-jogo-apoio li { grid-template-columns: 1fr; }
  .a-jogo-apoio li > span:not(.a-pic) { grid-column: 1; grid-row: auto; }
  .a-pic { grid-row: auto; }
}

/* Enfermaria, acabamento (13/11) */
.a-enf-chao { fill: #F5F8FD; }
.a-enf-placa { stroke: #E9EEF7; stroke-width: 1; fill: none; }
.a-enf-parede { fill: #E1E8F4; }
.a-enf-criado { fill: #FFFFFF; stroke: #CDD6E8; stroke-width: 1; }
.a-enf-copo { fill: #DCE5F4; }
.a-enf-sombra, .a-l-sombra { fill: rgba(11,20,48,.07); }
.a-enf-mesa { fill: #FFFFFF; stroke: #CDD6E8; stroke-width: 1.2; }
.a-enf-tela { fill: #0B1430; }
.a-enf-tela-l { fill: none; stroke: #00A6DF; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.a-enf-papel { fill: #EEF2F9; stroke: #DCE3F0; stroke-width: 1; }
.a-enf-gaveta { stroke: #CDD6E8; stroke-width: 1.4; stroke-linecap: round; fill: none; }
.a-enf-roda { fill: #9AA8C2; }
.a-l-cama { fill: #FFFFFF; stroke: #CDD6E8; stroke-width: 1.4; }
.a-l-cab { fill: #AFBFD8; }
.a-l-trav { fill: #FFFFFF; stroke: #DCE3F0; stroke-width: 1; }
.a-l-cabeca { fill: #8F9DB8; }
.a-l-cob { fill: #D5E0F2; }
.a-l-lencol { fill: #FFFFFF; stroke: #DCE3F0; stroke-width: 1; }
.a-l-dobra { stroke: #C6D3EA; stroke-width: 1.2; fill: none; opacity: 1; }
.a-l-pe { fill: #C2CEE2; }
.a-leito.is-dano .a-l-cob { fill: #B5E3F5; }
.a-leito.is-dano .a-l-dobra { stroke: #8CD3EE; }
.a-leito.is-dano .a-l-cama { stroke: #00A6DF; stroke-width: 2.2; }
.a-l-mon { fill: #0B1430; }
.a-l-ecg { stroke-width: 1.7; stroke-dasharray: 48; }
.a-l-alerta { fill: #00A6DF; }
html.motion .a-enf-fig.is-in .a-l-alerta { animation: a-alerta 1s ease-in-out 1.3s 4; }
@keyframes a-alerta { 50% { opacity: .2; } }
.a-escudo .a { fill: rgba(255,255,255,.85); stroke: rgba(11,20,48,.12); stroke-width: 1; }
html.motion .a-enf-fig:not(.is-in) .a-l-ecg { stroke-dashoffset: 48; }
html.motion .a-enf-fig:not(.is-in) .a-leito.is-dano .a-l-dobra { stroke: #C6D3EA; }
html.motion .a-enf-fig .a-enf-posto, html.motion .a-enf-fig .a-enf-carro { transition: opacity .6s ease .7s; }
html.motion .a-enf-fig:not(.is-in) .a-enf-posto, html.motion .a-enf-fig:not(.is-in) .a-enf-carro { opacity: 0; }
/* Pictogramas: o aceso fica cheio */
.a-pic-5 svg.on { fill: var(--navy); stroke: var(--navy); stroke-width: 1.8; }

/* Como se aprende sem o caso (13/11): grade limpa, os formatos lado a lado e os recursos numa fileira */
#aprender .a-apr-grid { grid-template-columns: minmax(0, 1fr); }
#aprender .a-formatos { grid-template-columns: minmax(0, 1fr); }
#aprender .a-formatos li { padding: 20px 22px 20px 18px; }
@media (min-width: 768px) {
  #aprender .a-formatos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  #aprender .a-recursos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  #aprender .a-recursos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: clamp(22px, 3.4vh, 34px); }
  #aprender .a-junto { gap: 12px 56px; margin-top: clamp(22px, 3.4vh, 34px); }
}

/* Rotina avançando sozinha (13/11): barra fina na etapa ativa marca o tempo até a próxima */
.a-rot.is-js .a-rot-tab { position: relative; overflow: hidden; }
.a-rot.is-js .a-rot-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; opacity: 0; }
.a-rot.is-contando .a-rot-tab[aria-selected="true"]::after { opacity: 1; animation: a-rot-conta var(--rot-t, 7s) linear both; }
@keyframes a-rot-conta { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Cuidado (13/11): comentários alternando e os logotipos de quem elogiou */
.a-cs-frases { list-style: none; margin: 2px 0 0; padding: 0; display: grid; }
.a-cs-frases li { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.a-cs-frases li.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.a-cs-frases blockquote { margin: 0; }
.a-cs-frases blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.a-cs-frases li > span { font-size: .8rem; color: var(--muted); }
.a-cs-logos { display: grid; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); }
.a-cs-logos-l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.a-cs-logos img { height: 26px; width: auto; max-width: 100px; object-fit: contain; }
/* Cuidado (16/11): o relato do IBCC assinado com o logotipo deles (site oficial, autorizado) */
.a-cs-autor { display: flex; align-items: center; gap: 12px; }
.a-cs-autor img { flex: none; height: 36px; width: auto; border-radius: 6px; }

/* 16/11: o logotipo do IBCC grande e legível, à esquerda da citação */
.a-cs-ibcc { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; row-gap: 6px; align-items: center; }
.a-cs-ibcc-logo { grid-row: 1 / span 2; height: 64px; width: auto; border-radius: 10px; }
.a-cs-ibcc blockquote, .a-cs-ibcc figcaption { grid-column: 2; }
@media (max-width: 479px) { .a-cs-ibcc-logo { height: 48px; } }
/* 16/11: a assinatura do Medportal Academy na etiqueta "depois" das comparações */
.a-cmp-tag-depois { display: flex; align-items: center; padding: 6px 12px; }
.a-cmp-tag-depois img { display: block; height: 15px; width: auto; }

/* 16/11: assinatura do Academy direto sobre a tela do "depois", sem pílula */
.a-cmp-tag-depois.a-cmp-assin { background: none; padding: 0; top: 14px; right: 14px; }
.a-cmp-tag-depois.a-cmp-assin img { height: 18px; }
/* 16/11: logotipos de quem elogiou em carrossel contínuo, numa linha */
.a-cs-carrossel { display: block; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.a-cs-trilho { display: flex; align-items: center; gap: 24px; width: max-content; animation: a-cs-roda 16s linear infinite; }
.a-cs-copia { display: flex; align-items: center; gap: 24px; }
.a-cs-carrossel:hover .a-cs-trilho { animation-play-state: paused; }
@keyframes a-cs-roda { to { transform: translateX(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) {
  .a-cs-carrossel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .a-cs-copia { display: none; }
}
/* 16/11: filtros numa linha, com "e mais 8" */
.a-pai-filtros { flex-wrap: nowrap; overflow: hidden; }
.a-pai-filtros li { flex: none; }
.a-pai-filtros .a-pai-mais { border-style: dashed; color: rgba(255,255,255,.7); cursor: help; }
@media (max-width: 639px) { .a-pai-filtros { flex-wrap: wrap; } }
/* 16/11: Resultados alinhados ao topo: o texto começa na mesma linha das abas do funil */
#paineis .a-pai-grid2 { align-items: start; }

/* 16/11: Cuidado alinhado ao topo, como os resultados */
#cuidado .a-cui-grid { align-items: start; }

/* 16/11: Como se aprende ilustrado. Texto à esquerda; à direita, a foto com cartões que mostram a experiência */
@media (min-width: 1024px) {
  #aprender .a-apr-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 4vw, 64px); }
  #aprender .a-recursos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
  #aprender .a-junto { gap: 12px 40px; }
  #aprender .a-formatos { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #aprender .a-formatos li { padding: 14px 18px 14px 14px; }
}
.a-apr-vis { position: relative; margin: 0; padding: 18px 18px 26px 26px; }
.a-apr-foto { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 45% 60%; border-radius: var(--r-xl); box-shadow: 0 30px 60px -36px rgba(11,20,48,.45); }
.a-apr-ui { position: absolute; background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: 0 18px 36px -18px rgba(11,20,48,.45), 0 0 0 1px rgba(11,20,48,.06); }
.a-apr-caso { left: 0; top: 34%; width: min(64%, 270px); padding: 14px 14px 12px; display: grid; gap: 7px; font-size: .82rem; }
.a-apr-k { font-size: .66rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.a-apr-caso b { font-size: .9rem; font-weight: 500; line-height: 1.3; }
.a-apr-op { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 9px; font-weight: 500; color: var(--muted); }
.a-apr-op i { font-style: normal; font-weight: 400; color: var(--ink); flex: 1; }
.a-apr-op.is-certa { border-color: #1D7A4E; background: #EAF6EF; color: #1D7A4E; }
.a-apr-op svg { width: 16px; height: 16px; fill: none; stroke: #1D7A4E; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.a-apr-ret { font-size: .76rem; color: #17613E; }
.a-apr-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.a-apr-pill svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-mid); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a-apr-missao { right: 0; top: 8%; }
.a-apr-pontos { right: 6%; top: 52%; }
.a-apr-pontos svg { fill: var(--cyan-soft, #D9F2FB); }
.a-apr-cert { left: 22%; bottom: 0; }
html.motion .a-apr-vis .a-apr-ui { transition: opacity .5s var(--ease), transform .5s var(--ease); }
html.motion .a-apr-vis:not(.is-in) .a-apr-ui { opacity: 0; transform: translateY(10px); }
html.motion .a-apr-vis .a-apr-caso { transition-delay: .25s; }
html.motion .a-apr-vis .a-apr-missao { transition-delay: .55s; }
html.motion .a-apr-vis .a-apr-pontos { transition-delay: .75s; }
html.motion .a-apr-vis .a-apr-cert { transition-delay: .95s; }
@media (max-width: 639px) {
  .a-apr-vis { padding: 0 0 8px; }
  .a-apr-caso { position: relative; left: auto; top: auto; width: auto; margin: -40px 12px 0; }
  .a-apr-pill { position: static; margin: 10px 8px 0 0; }
}

/* 16/11: fontes ao final da página, numa nota discreta antes do rodapé */
.a-notas { background: var(--white); padding: clamp(28px, 4vh, 44px) 0; border-top: 1px solid var(--line); }
.a-notas-t { margin: 0 0 10px; font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.a-notas .a-fontes { margin: 0; padding: 0 0 0 18px; font-size: .8rem; line-height: 1.5; color: var(--muted); display: grid; gap: 4px; }
.a-notas .a-fontes li:target { color: var(--ink); }

/* 16/11: o CSAT só como número (os comentários não podem ser veiculados): cartão horizontal, nota à esquerda */
@media (min-width: 768px) {
  #cuidado .a-cs-csat { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px; }
}
.a-csat-nota { flex: none; display: grid; gap: 6px; }
.a-csat-txt { display: grid; gap: 6px; }
.a-csat-txt .a-cs-s { margin: 0; font-size: .92rem; }

/* 25/11 (reunião de 24/11): a biblioteca fica com duas abas, que trocam sozinhas (barra de tempo na aba ativa), uma
   dica de clique e, no fim do painel, o destaque de que a instituição inclui os próprios treinamentos */
.a-bib-dica { display: none; }
.a-bib-painel.is-js .a-bib-dica { display: flex; align-items: center; gap: 8px; margin: calc(-1 * clamp(6px, 1.2vh, 12px)) 0 clamp(12px, 2vh, 18px); font-size: .84rem; color: var(--muted); }
.a-bib-dica svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--blue-mid); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.motion .a-bib-painel.is-contando .a-bib-dica svg { animation: a-bib-toque 1.6s var(--ease) infinite; }
@keyframes a-bib-toque { 0%, 55%, 100% { transform: none; } 25% { transform: translateY(2px) scale(.9); } }
/* Os dois painéis na mesma célula: a altura não pula quando a aba troca */
.a-bib-painel.is-js .a-bib-ps { display: grid; }
.a-bib-painel.is-js .a-bib-p { grid-area: 1 / 1; }
.a-bib-painel.is-js .a-bib-p[hidden] { display: block; visibility: hidden; }
html.motion .a-bib-painel.is-js .a-bib-p:not([hidden]) { animation: a-bib-entra .45s var(--ease) both; }
@keyframes a-bib-entra { from { opacity: 0; transform: translateY(6px); } }
/* Barra de tempo na aba ativa (a mesma ideia da rotina) */
.a-bib-tabs [role="tab"] { position: relative; overflow: hidden; padding-top: 9px; padding-bottom: 11px; }
.a-bib-tabs [role="tab"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; opacity: 0; }
.a-bib-painel.is-contando [role="tab"][aria-selected="true"]::after { opacity: 1; animation: a-rot-conta var(--bib-t, 6s) linear both; }
.a-bib-tabs [role="tab"]:not([aria-selected="true"]):hover { color: var(--ink); background: rgba(255,255,255,.7); }
/* Destaque: os treinamentos da instituição entram junto */
/* Destaque "Inclua também" (25/11, tarde): faixa na largura toda, abaixo da apresentação e do painel, em azul vivo,
   com a conta biblioteca + cursos da instituição = trilhas. */
.a-bib-inclua { grid-column: 1 / -1; position: relative; overflow: hidden; display: grid; gap: 18px 40px; align-items: center;
  padding: clamp(20px, 3vh, 30px) clamp(20px, 2.6vw, 36px); border-radius: var(--r-xl);
  background: radial-gradient(60% 140% at 100% 0%, rgba(0,166,223,.55), transparent 70%), linear-gradient(120deg, #253F85 0%, #2290C9 100%);
  color: var(--white); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.16); }
.a-bib-inclua-t { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; color: var(--white); }
.a-bib-inclua-txt p { margin: 8px 0 0; font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.9); max-width: 34em; }
.a-bib-inclua-conta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.a-bib-inclua-conta span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 12px; font-size: .9rem; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.a-bib-inclua-conta svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-bib-inclua-conta .c-bib, .a-bib-inclua-conta .c-sua { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.a-bib-inclua-conta .c-sua { background: var(--white); color: var(--navy); border-color: var(--white); }
.a-bib-inclua-conta .c-tri { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.a-bib-inclua-conta .c-op { font-size: 1.3rem; font-weight: 300; color: rgba(255,255,255,.9); }
@media (min-width: 1100px) { .a-bib-inclua { grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; } }
@media (max-width: 479px) { .a-bib-inclua-conta span { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .a-bib-dica svg, .a-bib-painel .a-bib-p { animation: none !important; } }

/* 25/11: o cartão de satisfação só com a nota e o rótulo (sem contagem nem ano) */
#cuidado .a-cs-csat .a-cs-k { font-size: 1.05rem; line-height: 1.4; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink); }
@media (min-width: 1024px) and (max-height: 820px) {
  .a-bib-painel .a-bib-usos li { padding: 12px 18px; }
  .a-bib-painel .a-bib-tambem { margin-top: 14px; }
}


/* No lugar da barra lateral (pedido de 25/11): um marcador redondo com visto, na altura do título do item. */
.a-pai-lista li { position: relative; padding-left: 34px; }
.a-pai-lista li::before { content: ""; position: absolute; left: 0; top: .05em; width: 22px; height: 22px; border-radius: 50%; background: rgba(34,144,201,.14); box-shadow: inset 0 0 0 1px rgba(34,144,201,.22); }
.a-pai-lista li::after { content: ""; position: absolute; left: 6px; top: calc(.05em + 6px); width: 10px; height: 10px; background: #2290C9; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.a-pai-lista li::before { background: rgba(0,166,223,.16); box-shadow: inset 0 0 0 1px rgba(0,166,223,.4); }
.a-pai-lista li::after { background: var(--cyan); }

/* Terceira aba da biblioteca (25/11, tarde): treinamentos próprios. A conta vira três linhas, de cima para baixo. */
.a-bib-proprio-t { margin: 0 0 clamp(12px, 2vh, 18px); color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 40em; }
.a-bib-conta { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: 6px; }
.a-bib-conta span { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 1rem; font-weight: 500; white-space: normal; }
.a-bib-conta svg { width: 24px; height: 24px; }
.a-bib-conta .c-bib { background: var(--mist); border: 1px solid var(--line); color: var(--ink); }
.a-bib-conta .c-sua { background: #fff; border: 2px solid var(--blue-mid); color: var(--navy); }
.a-bib-conta .c-tri { background: var(--navy); color: #fff; border: 0; }
.a-bib-conta .c-op { justify-self: center; font-size: 1.4rem; line-height: 1; color: var(--blue-mid); }



/* ---------- 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. */
.h-foto { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11,20,48,.45); }
.h-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.h-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,48,0) 38%, rgba(11,20,48,.82) 100%); }
.h-num { position: absolute; z-index: 1; left: clamp(18px, 2.4vw, 30px); right: clamp(18px, 2.4vw, 30px); bottom: clamp(16px, 2.2vw, 26px); display: grid; gap: 4px; color: #fff; }
.h-num b { font: 300 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--display); letter-spacing: -.02em; }
.h-num span { font-size: 1.05rem; line-height: 1.35; max-width: 26em; }
.h-num em { justify-self: start; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--cyan); color: #0B1430; font-style: normal; font-weight: 500; font-size: .9rem; }

@media (min-width: 1024px) { .h-foto-fig { width: 100%; max-width: calc((100svh - var(--header) - 190px) * 1.333); justify-self: end; } }
