#bc-paths .bc-trail { padding-block:33px 38px; background:#fffcf7; }
#bc-paths .bc-map-heading { margin-bottom:23px; }
#bc-paths .bc-trail-surface { container:bctrail/inline-size; }
#bc-paths .bc-atlas { --bc-selection:#f3eafd; display:grid; grid-template-columns:minmax(0,2fr) minmax(210px,1fr); gap:9px; padding:8px; border:1px solid #e9dfed; border-radius:22px; background:#fff; box-shadow:0 12px 28px #5135690b; }
#bc-paths .bc-atlas[data-active="kids"] { --bc-selection:#fff0e6; }
#bc-paths .bc-atlas[data-active="performance"] { --bc-selection:#eaf4ee; }
#bc-paths .bc-atlas[data-active="secretariado"] { --bc-selection:#f9eaf0; }
#bc-paths .bc-atlas[data-active="desenvolvimento"] { --bc-selection:#eeedfc; }
#bc-paths .bc-atlas[data-active="digital-essencial"] { --bc-selection:#eaf5ef; }
#bc-paths .bc-atlas-map { --bc-map-compact:0; position:relative; min-height:480px; margin:0; border:1px solid #eee5ec; border-radius:15px; background:#faf2eb url('trilha-conceitual.jpg') center/cover no-repeat; overflow:hidden; isolation:isolate; }
#bc-paths .bc-map-hint { position:absolute; top:13px; left:13px; padding:4px 9px; border-radius:20px; background:#fffefa; color:#796782; font-size:11px; }
#bc-paths .bc-map-lines { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
#bc-paths :is(.bc-map-edge,.bc-map-trace) { fill:none; stroke-linecap:round; stroke-linejoin:round; }
#bc-paths .bc-map-edge { stroke:#c6b3d7; stroke-width:2.1; }
#bc-paths .bc-map-edge-optional { stroke-dasharray:3 7; }
#bc-paths .bc-map-trace { stroke:#8953b7; stroke-width:3.3; opacity:0; }
#bc-paths .bc-map-trace.is-active { opacity:1; }
#bc-paths .bc-map-trace.is-drawing { animation:bc-trail-trace .55s ease-out; }
@keyframes bc-trail-trace { from { stroke-dasharray:1; stroke-dashoffset:1; } to { stroke-dasharray:1; stroke-dashoffset:0; } }
#bc-paths .bc-orb { position:absolute; left:clamp(calc(var(--bc-node-width) * .55 + 8px),var(--bc-x),calc(100% - var(--bc-node-width) * .55 - 8px)); top:var(--bc-y); width:var(--bc-node-width); min-height:61px; display:flex; align-items:center; gap:clamp(8px,1cqi,11px); padding:9px 12px; border:1px solid #e2d7e9; border-radius:999px; background:#fffefa; color:var(--bc-ink); text-align:left; box-shadow:0 4px 12px #5432640d; transform:translate(-50%,-50%) scale(1); z-index:2; transition:transform .36s cubic-bezier(.2,.8,.2,1),box-shadow .25s,border-color .25s; }
#bc-paths .bc-orb[aria-pressed="true"] { transform:translate(-50%,-50%) scale(1.10); border-color:#a477c8; background:#fff; box-shadow:0 0 0 4px #e8daf37a,0 8px 19px #5432641c; z-index:3; }
#bc-paths .bc-orb:hover { border-color:#b595cc; }
#bc-paths .bc-orb-dot { flex:0 0 9px; width:9px; height:9px; border-radius:50%; background:var(--bc-mark); box-shadow:0 0 0 4px var(--bc-bubble); }
#bc-paths .bc-orb-text { display:grid; gap:3px; min-width:0; }
#bc-paths .bc-orb-text strong { font-size:clamp(14px,1.95cqi,20px); line-height:1.15; letter-spacing:-.025em; font-weight:750; white-space:nowrap; }
#bc-paths .bc-orb-text small { font-size:clamp(11px,1.3cqi,13px); line-height:1.2; color:var(--bc-sub); white-space:nowrap; }
#bc-paths .bc-orb-kids { --bc-x:18%; --bc-y:18%; --bc-node-width:clamp(108px,15.6cqi,151px); --bc-mark:#bf7755; --bc-bubble:#fff0e2; }
#bc-paths .bc-orb-essencial { --bc-x:45%; --bc-y:39%; --bc-node-width:clamp(136px,19.6cqi,190px); --bc-mark:#9860c8; --bc-bubble:#f2e7fc; }
#bc-paths .bc-orb-performance { --bc-x:78%; --bc-y:20%; --bc-node-width:clamp(151px,21.8cqi,211px); --bc-mark:#598d70; --bc-bubble:#e5f2e9; }
#bc-paths .bc-orb-desenvolvimento { --bc-x:78%; --bc-y:57%; --bc-node-width:clamp(166px,23.95cqi,232px); --bc-mark:#7479ba; --bc-bubble:#ececfc; }
#bc-paths .bc-orb-secretariado { --bc-x:47%; --bc-y:82%; --bc-node-width:clamp(153px,22.1cqi,214px); --bc-mark:#b87990; --bc-bubble:#fbeaf0; }
#bc-paths .bc-orb-digital { --bc-x:24%; --bc-y:62%; --bc-node-width:clamp(173px,24.95cqi,242px); --bc-mark:#599a91; --bc-bubble:#e6f6f0; }
#bc-paths .bc-step-detail { display:flex; flex-direction:column; align-items:stretch; min-width:0; min-height:480px; padding:12px; border-radius:15px; background:var(--bc-selection); transition:background .25s; }
#bc-paths .bc-step-image { display:block; width:100%; height:auto; max-height:205px; aspect-ratio:1.5; object-fit:contain; border-radius:12px; background:#faf0e7; }
#bc-paths .bc-step-copy { min-width:0; padding:12px 1px 8px; }
#bc-paths .bc-selected-label { display:block; margin-bottom:5px; color:#72528b; font-size:clamp(10px,1.1cqi,12px); font-weight:750; text-transform:uppercase; letter-spacing:.05em; }
#bc-paths .bc-step-copy h3 { font-size:clamp(21px,2.3cqi,25px); line-height:1.12; letter-spacing:-.035em; font-weight:750; overflow-wrap:break-word; }
#bc-paths .bc-step-copy p { margin-top:9px; color:#51475d; font-size:clamp(13px,1.45cqi,15px); line-height:1.55; }
#bc-paths .bc-step-copy .bc-course-audience { margin-top:11px; color:#6b507f; }
#bc-paths .bc-step-detail .bc-outline { align-self:flex-start; min-height:44px; margin-top:auto; border-color:#decaec; border-radius:11px; background:#fffdfd; font-size:12px; color:#6d329e; }
#bc-paths .bc-step-copy.is-changing { animation:bc-trail-detail .28s ease-out; }
@keyframes bc-trail-detail { from { transform:translateX(5px); } to { transform:translateX(0); } }
@container bctrail (max-width:640px) {
  #bc-paths .bc-atlas { grid-template-columns:minmax(0,1fr); }
  #bc-paths .bc-atlas-map { --bc-map-compact:1; min-height:620px; height:620px; }
  #bc-paths .bc-map-hint { display:none; }
  #bc-paths .bc-orb { padding-inline:10px; gap:7px; }
  #bc-paths .bc-orb-text strong { font-size:13px; }
  #bc-paths .bc-orb-text small { font-size:11px; }
  #bc-paths .bc-orb-kids { --bc-x:28%; --bc-y:10%; --bc-node-width:104px; }
  #bc-paths .bc-orb-essencial { --bc-x:65%; --bc-y:26%; --bc-node-width:130px; }
  #bc-paths .bc-orb-performance { --bc-x:35%; --bc-y:43%; --bc-node-width:142px; }
  #bc-paths .bc-orb-desenvolvimento { --bc-x:38%; --bc-y:60%; --bc-node-width:148px; }
  #bc-paths .bc-orb-secretariado { --bc-x:64%; --bc-y:75%; --bc-node-width:147px; }
  #bc-paths .bc-orb-digital { --bc-x:40%; --bc-y:90%; --bc-node-width:166px; }
  #bc-paths .bc-step-detail { min-height:0; }
  #bc-paths .bc-step-image { max-height:180px; }
  #bc-paths .bc-selected-label { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { #bc-paths :is(.bc-orb,.bc-step-detail) { transition:none; } #bc-paths :is(.bc-map-trace.is-drawing,.bc-step-copy.is-changing) { animation:none; } }
