/* Percursos — camada visual da jornada Fundamentos → Conexões → Aprofundamento */
#catalogo{--stage-foundation:#3b7fd1;--stage-foundation-strong:#1f5da8;--stage-foundation-soft:#edf6ff;--stage-connections:#3267c4;--stage-connections-strong:#214b98;--stage-connections-soft:#eef3ff;--stage-deep:#394f9d;--stage-deep-strong:#263775;--stage-deep-soft:#f0f2ff}

.journey-overview{margin:2px 0 22px;padding:20px;border:1px solid #d8e5f3;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f7faff 58%,#eef5ff 100%);box-shadow:0 12px 30px rgba(20,55,90,.07)}
.journey-overview-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.journey-kicker{display:block;color:#47617d;font-size:11px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}
.journey-overview h3{margin:4px 0 4px;color:#123d73;font-size:clamp(23px,3vw,31px);line-height:1.08;letter-spacing:-.025em}
.journey-overview p{margin:0;color:#66798c;font-weight:800;font-size:14px}
.journey-flow-label{display:inline-flex;align-items:center;justify-content:center;min-width:88px;padding:8px 11px;border-radius:999px;background:#eaf2ff;color:#205ca9;font-size:13px;font-weight:1000;letter-spacing:.06em}

.journey-roadmap{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) 30px minmax(0,1fr);align-items:stretch;gap:8px;margin-top:16px}
.journey-arrow{display:grid;place-items:center;color:#8ca5c1;font-size:21px;font-weight:1000}
.journey-overview-card{--stage:#3b7fd1;--stage-strong:#1f5da8;--stage-soft:#edf6ff;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:92px;padding:13px 14px;border:1px solid color-mix(in srgb,var(--stage) 23%,#dce6f0);border-radius:18px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 7px 18px rgba(20,55,90,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.journey-overview-card[data-stage="fundamentos"]{--stage:var(--stage-foundation);--stage-strong:var(--stage-foundation-strong);--stage-soft:var(--stage-foundation-soft)}
.journey-overview-card[data-stage="conexoes"]{--stage:var(--stage-connections);--stage-strong:var(--stage-connections-strong);--stage-soft:var(--stage-connections-soft)}
.journey-overview-card[data-stage="aprofundamento"]{--stage:var(--stage-deep);--stage-strong:var(--stage-deep-strong);--stage-soft:var(--stage-deep-soft)}
.journey-overview-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--stage) 48%,#dce6f0);box-shadow:0 12px 26px rgba(20,55,90,.10)}
.journey-overview-icon,.journey-stage-icon{display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:var(--stage-soft);color:var(--stage);border:1px solid color-mix(in srgb,var(--stage) 17%,#fff)}
.journey-overview-icon{width:42px;height:42px}
.journey-overview-icon svg,.journey-stage-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.journey-overview-copy{display:flex;min-width:0;flex-direction:column;line-height:1.18}
.journey-overview-copy small{color:#76889a;font-size:10px;font-weight:1000;text-transform:uppercase;letter-spacing:.045em}
.journey-overview-copy strong{margin-top:3px;color:var(--stage-strong);font-size:16px;font-weight:1000}
.journey-overview-copy span{margin-top:3px;color:#667789;font-size:12px;font-weight:800}
.journey-overview-card>b{display:grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border-radius:999px;background:var(--stage-soft);color:var(--stage-strong);font-size:12px;font-weight:1000}

.catalog-grid.journey-grouped{display:block!important}
.journey-stage{--stage:#3b7fd1;--stage-strong:#1f5da8;--stage-soft:#edf6ff;position:relative;margin:0 0 30px;padding:22px;border:1px solid color-mix(in srgb,var(--stage) 20%,#dce6ef);border-radius:26px;background:linear-gradient(180deg,var(--stage-soft) 0%,color-mix(in srgb,var(--stage-soft) 45%,#fff) 120px,#fff 100%);box-shadow:0 10px 26px rgba(20,55,90,.055);overflow:hidden}
.journey-stage::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--stage),color-mix(in srgb,var(--stage) 52%,#fff))}
.journey-stage--fundamentos{--stage:var(--stage-foundation);--stage-strong:var(--stage-foundation-strong);--stage-soft:var(--stage-foundation-soft)}
.journey-stage--conexoes{--stage:var(--stage-connections);--stage-strong:var(--stage-connections-strong);--stage-soft:var(--stage-connections-soft)}
.journey-stage--aprofundamento{--stage:var(--stage-deep);--stage-strong:var(--stage-deep-strong);--stage-soft:var(--stage-deep-soft)}
.journey-stage-head{display:flex;align-items:center;gap:14px;min-height:72px;padding-bottom:18px;border-bottom:1px solid color-mix(in srgb,var(--stage) 17%,#dfe7ef)}
.journey-stage-icon{width:50px;height:50px;background:#fff;box-shadow:0 6px 16px rgba(20,55,90,.06)}
.journey-stage-copy{min-width:0;flex:1}
.journey-stage-copy small{display:block;color:var(--stage);font-size:10px;font-weight:1000;text-transform:uppercase;letter-spacing:.08em}
.journey-stage-copy h3{margin:2px 0 2px;color:var(--stage-strong);font-size:clamp(24px,3vw,32px);line-height:1.05;letter-spacing:-.025em}
.journey-stage-copy p{margin:0;color:#647789;font-size:13px;font-weight:800}
.journey-stage-count{flex:0 0 auto;padding:7px 10px;border:1px solid color-mix(in srgb,var(--stage) 18%,#fff);border-radius:999px;background:#fff;color:var(--stage-strong);font-size:11px;font-weight:1000;box-shadow:0 4px 12px rgba(20,55,90,.04)}
.journey-stage-grid{margin-top:18px;align-items:stretch}

.catalog-card[data-stage]{--card-stage:#3b7fd1;--card-stage-strong:#1f5da8;--card-stage-soft:#edf6ff;border-color:color-mix(in srgb,var(--card-stage) 15%,var(--line));background:linear-gradient(180deg,#fff 0%,#fff 78%,color-mix(in srgb,var(--card-stage-soft) 34%,#fff) 100%)}
.catalog-card[data-stage="fundamentos"]{--card-stage:var(--stage-foundation);--card-stage-strong:var(--stage-foundation-strong);--card-stage-soft:var(--stage-foundation-soft)}
.catalog-card[data-stage="conexoes"]{--card-stage:var(--stage-connections);--card-stage-strong:var(--stage-connections-strong);--card-stage-soft:var(--stage-connections-soft)}
.catalog-card[data-stage="aprofundamento"]{--card-stage:var(--stage-deep);--card-stage-strong:var(--stage-deep-strong);--card-stage-soft:var(--stage-deep-soft)}
.catalog-card[data-stage]::before{height:5px;background:linear-gradient(90deg,var(--card-stage),color-mix(in srgb,var(--card-stage) 38%,#fff));opacity:1}
.catalog-card[data-stage] .card-group{gap:6px;background:var(--card-stage-soft);color:var(--card-stage-strong);border:1px solid color-mix(in srgb,var(--card-stage) 13%,#fff)}
.catalog-card[data-stage] .card-group::before{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--card-stage);color:#fff;font-size:8px;line-height:1}
.catalog-card[data-stage="fundamentos"] .card-group::before{content:"■"}
.catalog-card[data-stage="conexoes"] .card-group::before{content:"◆"}
.catalog-card[data-stage="aprofundamento"] .card-group::before{content:"▲"}
.catalog-card[data-stage] h3{color:var(--card-stage-strong)}
.catalog-card[data-stage]:hover{border-color:color-mix(in srgb,var(--card-stage) 45%,var(--line));box-shadow:0 16px 34px color-mix(in srgb,var(--card-stage) 12%,transparent)}
.catalog-card[data-stage] .btn.primary{background:linear-gradient(135deg,var(--card-stage-strong),var(--card-stage));box-shadow:0 7px 16px color-mix(in srgb,var(--card-stage) 19%,transparent)}

@media(max-width:850px){
  .journey-roadmap{grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr) 22px minmax(0,1fr);gap:6px}
  .journey-overview-card{grid-template-columns:38px minmax(0,1fr);padding:12px}
  .journey-overview-icon{width:38px;height:38px}
  .journey-overview-card>b{grid-column:2;justify-self:start;height:25px;min-width:25px;margin-top:-2px}
  .journey-stage{padding:19px}
}

@media(max-width:640px){
  .journey-overview{padding:17px}
  .journey-overview-head{align-items:flex-start}
  .journey-flow-label{display:none}
  .journey-roadmap{display:grid;grid-template-columns:1fr;gap:9px}
  .journey-arrow{display:none}
  .journey-overview-card{grid-template-columns:40px minmax(0,1fr) auto;min-height:78px}
  .journey-overview-card>b{grid-column:auto;justify-self:auto;margin:0;height:30px;min-width:30px}
  .journey-stage{margin-bottom:22px;padding:16px;border-radius:22px}
  .journey-stage-head{align-items:flex-start;gap:11px;padding:4px 0 15px}
  .journey-stage-icon{width:44px;height:44px}
  .journey-stage-count{position:absolute;right:14px;top:14px;padding:6px 8px}
  .journey-stage-copy{padding-right:58px}
  .journey-stage-copy h3{font-size:24px}
  .journey-stage-copy p{font-size:12px}
  .journey-stage-grid{margin-top:15px}
}

@media(prefers-reduced-motion:reduce){.journey-overview-card{transition:none}.journey-overview-card:hover{transform:none}}
