/* Carreira no computador (>= 1024px). No celular os blocos .cr-only ficam escondidos e nada muda. */
.cr-only { display: none; }
@media (min-width: 0px) {
  .cr-only { display: block; }
  .student-header { display: none; }
  .cr-desk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1320px; margin: 0 auto; padding: 20px 24px 0; }
  .cr-desk > section { min-width: 0; background: var(--bg-card); border: 1px solid rgba(80,110,230,.28); border-radius: 22px; padding: 20px 22px; }
  /* a parte de baixo antiga (índice, trilhas por DISC, badges, currículo...) não aparece no computador; no celular continua */
  .cr-sep, .safe-bottom { display: none !important; }
  .cr-desk { padding-bottom: 48px; }

  .cr-tit { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--text-strong); margin-bottom: 14px; }
  .cr-tit .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 18px; background: rgba(245,168,0,.14); }
  .cr-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; } .cr-cab .cr-tit { margin: 0; }
  .cr-vt { font-size: 13px; font-weight: 700; color: #7fa6ff; white-space: nowrap; }
  .cr-vazio { padding: 14px; font-size: 13px; color: var(--text-dim); }
  .cr-btn, .cr-btn-linha { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; padding: 12px 20px; border-radius: 12px; border: 1px solid; white-space: nowrap; }
  .cr-btn, .cr-btn.ouro { color: #1a1205; background: linear-gradient(135deg, #fbbf24, #e09a00); border-color: transparent; box-shadow: 0 0 18px rgba(245,168,0,.3); }
  .cr-btn-linha { color: var(--text-strong); background: rgba(15,24,70,.6); border-color: rgba(80,110,230,.5); font-weight: 700; }
  .cr-btn-linha.cheio { display: flex; width: 100%; margin-top: 14px; color: #fbbf24; border-color: rgba(245,168,0,.55); background: transparent; }

  /* hero */
  .cr-desk > .cr-hero { grid-column: 1 / -1; position: relative; overflow: hidden; min-height: 330px; padding: 0; border-radius: 24px; border-color: rgba(80,110,230,.4);
    background: radial-gradient(ellipse at 15% 0%, rgba(40,70,180,.3), transparent 55%), linear-gradient(135deg, #070b1f, #0b1230 60%, #0d1540); }
  .cr-hero-txt { position: relative; z-index: 3; max-width: 52%; padding: 36px 40px; }
  .cr-kick { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: rgba(190,200,240,.85); margin-bottom: 14px; } .cr-kick b { color: #f5a800; }
  .cr-hero h1 { font-size: clamp(28px, 2.8vw, 44px); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; color: #fff; }
  .cr-hero h1 span { color: #f5a800; }
  .cr-hero p { margin-top: 16px; font-size: 15px; line-height: 1.55; color: rgba(190,200,240,.85); max-width: 470px; }
  .cr-hero-btns { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
  .cr-hero-img { position: absolute; z-index: 1; top: 0; bottom: 0; right: 290px; height: 100%; width: auto; max-width: 52%; object-fit: cover; object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%); }
  .cr-hero::before { content: ''; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 60%; background: url(../img/carreira/hero.jpg) right center / cover; filter: blur(24px); opacity: .5;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%); mask-image: linear-gradient(90deg, transparent, #000 50%); }
  .cr-hero-cita { position: absolute; z-index: 4; top: 40px; right: 28px; width: 250px; margin: 0; padding: 18px 20px; border-radius: 18px; font-size: 15px; line-height: 1.45; font-weight: 500; color: #fff; background: rgba(12,20,56,.82); border: 1px solid rgba(90,110,220,.4); backdrop-filter: blur(6px); }
  .cr-hero-cita i { display: block; font-style: normal; font-size: 44px; line-height: .8; color: #f5a800; font-family: Georgia, serif; margin-bottom: 6px; }
  .cr-hero-cita cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; color: rgba(190,200,240,.8); } .cr-hero-cita cite b { color: #f5a800; }

  /* jornada */
  .cr-desk > .cr-jornada { grid-column: 1 / -1; }
  .cr-passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
  .cr-passos li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: var(--text-dim); padding-top: 2px; }
  .cr-passos li::before { content: ''; position: absolute; top: 24px; left: -50%; width: 100%; height: 3px; background: var(--surface-3); }
  .cr-passos li:first-child::before { display: none; }
  .cr-passos li.ok::before, .cr-passos li.atual::before { background: linear-gradient(90deg, #34d399, var(--c)); }
  .cr-passos .bola { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; font-weight: 900; margin-bottom: 4px; background: var(--bg-card); border: 3px solid var(--surface-3); color: var(--text-dim); }
  .cr-passos li b { font-size: 16px; color: var(--c); } .cr-passos li small { font-size: 13px; line-height: 1.3; max-width: 150px; }
  .cr-passos li.ok .bola, .cr-passos li.atual .bola { border-color: var(--c); color: var(--c); box-shadow: 0 0 16px color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 14%, var(--bg-card)); }
  .cr-passos li:not(.ok):not(.atual) b { color: var(--c); opacity: .8; }

  /* etapa atual / progresso */
  .cr-desk > .cr-etapa { grid-column: span 2; }
  .cr-etapa-corpo { display: flex; align-items: center; gap: 16px; }
  .cr-num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 24px; font-weight: 900; color: #fff; background: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 50%, transparent); flex: none; }
  .cr-etapa-txt { flex: 1; } .cr-etapa-txt h3 { font-size: 24px; font-weight: 900; color: var(--text-strong); } .cr-etapa-txt p { font-size: 15px; font-weight: 600; }
  .cr-etapa-barra { width: 34%; } .cr-etapa-barra small { display: block; text-align: right; font-size: 12px; font-weight: 700; color: var(--text-soft); margin-bottom: 6px; }
  .cr-etapa-barra .trilho { height: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; } .cr-etapa-barra .trilho i { display: block; height: 100%; border-radius: 6px; }
  .cr-etapa-cita { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .cr-etapa-cita em { display: block; font-size: 14px; color: var(--text-soft); margin-bottom: 6px; } .cr-etapa-cita span { font-size: 15px; line-height: 1.5; color: var(--text); }
  .cr-prog-corpo { display: flex; align-items: center; gap: 18px; }
  .cr-anel { position: relative; width: 150px; height: 150px; flex: none; } .cr-anel svg { width: 100%; height: 100%; } .cr-anel circle { fill: none; stroke-width: 11; } .cr-anel .t { stroke: var(--surface-2); } .cr-anel .a { stroke: #4f7dff; stroke-linecap: round; }
  .cr-anel div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .cr-anel b { font-size: 32px; font-weight: 900; color: #8b8bff; } .cr-anel small { font-size: 11px; line-height: 1.25; color: var(--text-soft); }
  .cr-barras { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .cr-barras li { display: grid; grid-template-columns: 22px 84px 1fr 38px; align-items: center; gap: 8px; font-size: 12px; color: var(--text-soft); }
  .cr-barras i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 900; color: #1a1205; }
  .cr-barras .t { height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; } .cr-barras u { display: block; height: 100%; border-radius: 4px; } .cr-barras em { font-style: normal; text-align: right; font-weight: 700; color: var(--text-strong); }

  /* conquistar / missões */
  .cr-desk > .cr-conq { grid-column: span 2; }
  .cr-conq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .cr-conq-it { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .cr-conq-it .ic { font-size: 26px; } .cr-conq-it b { display: block; font-size: 13px; color: var(--text-strong); margin-bottom: 3px; } .cr-conq-it small { font-size: 12px; line-height: 1.35; color: var(--text-dim); }
  .cr-miss-it { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .cr-miss-it .ic { font-size: 20px; } .cr-miss-it b { flex: 1; font-size: 13px; color: var(--text-strong); font-weight: 600; } .cr-miss-it em { font-style: normal; font-size: 13px; font-weight: 800; color: #f5a800; } .cr-miss-it i { font-style: normal; color: var(--text-dim); }

  /* ferramentas */
  .cr-desk > .cr-ferr { grid-column: 1 / -1; }
  .cr-ferr-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .cr-ferr-it { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .cr-ferr-it > div { flex: 1; } .cr-ferr-it b { display: block; font-size: 15px; color: var(--text-strong); } .cr-ferr-it small { font-size: 12px; line-height: 1.35; color: var(--text-dim); }
  .cr-ferr-it .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: 22px; }
  .cr-ferr-it .az { background: #2f5be6; } .cr-ferr-it .ro { background: #8b5cf6; } .cr-ferr-it .ve { background: #10b981; } .cr-ferr-it .am { background: #f5a800; } .cr-ferr-it .vm { background: #ef4444; }
  .cr-ferr-it .b { display: flex; align-items: center; justify-content: center; padding: 9px; border-radius: 10px; font-size: 13px; font-weight: 800; color: #fff; } .cr-ferr-it .b.am { color: #1a1205; } .cr-ferr-it .b.ve { color: #04210f; }

  /* conteúdos / vagas */
  .cr-desk > .cr-cont { grid-column: span 2; }
  .cr-cont-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .cr-cont-it { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .cr-cont-it .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 24px; margin-bottom: 6px; } .cr-cont-it .c0 { background: #1d4ed8; } .cr-cont-it .c1 { background: #7c3aed; } .cr-cont-it .c2 { background: #db2777; } .cr-cont-it .c3 { background: #059669; }
  .cr-cont-it small { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #7fa6ff; } .cr-cont-it b { font-size: 14px; line-height: 1.25; color: var(--text-strong); } .cr-cont-it em { font-style: normal; font-size: 12px; color: var(--text-dim); } .cr-cont-it em.on { color: #34d399; font-weight: 700; }
  .cr-vaga { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border-radius: 14px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .cr-vaga .lg { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; font-weight: 900; font-size: 18px; color: #1a1205; background: #fbbf24; flex: none; }
  .cr-vaga .tx { flex: 1; min-width: 0; } .cr-vaga b { display: block; font-size: 14px; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cr-vaga small { display: block; font-size: 12px; color: var(--text-dim); } .cr-vaga em { font-style: normal; font-size: 11px; color: var(--text-soft); }
  .cr-vaga .cr-btn { padding: 8px 12px; font-size: 12px; }

  /* objetivo / resultados */
  .cr-obj-txt { min-height: 70px; padding: 14px 16px; border-radius: 14px; background: var(--bg-elevated); font-size: 16px; line-height: 1.4; color: var(--text-strong); margin-bottom: 12px; } .cr-obj-txt.vazio { color: var(--text-dim); }
  .cr-obj-txt textarea { width: 100%; font: inherit; font-size: 14px; padding: 10px; border-radius: 10px; border: 1.5px solid #f5a800; background: var(--bg-card); color: var(--text); resize: none; margin-bottom: 8px; }
  .cr-obj-btns { display: flex; gap: 10px; flex-wrap: wrap; } .cr-obj-btns .cr-btn-linha { padding: 10px 14px; font-size: 13px; }
  .cr-desk > .cr-res { grid-column: span 2; }
  .cr-res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .cr-res-grid > div { padding: 14px; border-radius: 14px; background: var(--bg-elevated); border: 1px solid var(--surface-2); display: flex; flex-direction: column; gap: 2px; }
  .cr-res-grid .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 20px; margin-bottom: 6px; } .cr-res-grid .v { background: rgba(16,185,129,.2); } .cr-res-grid .o { background: rgba(245,168,0,.2); } .cr-res-grid .a { background: rgba(59,130,246,.2); } .cr-res-grid .r { background: rgba(139,92,246,.2); }
  .cr-res-grid b { font-size: 26px; font-weight: 900; color: var(--text-strong); } .cr-res-grid small { font-size: 12px; color: var(--text-dim); }
}
@media (max-width: 1279px) {
  .cr-hero-txt { max-width: 58%; } .cr-hero-cita { display: none; } .cr-hero-img { right: 0; max-width: 46%; }
  .cr-desk > .cr-etapa, .cr-desk > .cr-prog, .cr-desk > .cr-conq, .cr-desk > .cr-miss, .cr-desk > .cr-cont, .cr-desk > .cr-vagas, .cr-desk > .cr-obj, .cr-desk > .cr-res { grid-column: 1 / -1; }
  .cr-ferr-grid { grid-template-columns: repeat(3, 1fr); } .cr-conq-grid, .cr-cont-grid, .cr-res-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── ajustes para ficar igual à arte ── */
@media (min-width: 0px) {
  /* barra do topo */
  .cr-desk > .cr-topo { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 0; background: none; border: 0; }
  .cr-busca { position: relative; flex: 1; max-width: 860px; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-radius: 16px; background: var(--bg-card); border: 1px solid rgba(80,110,230,.4); box-shadow: 0 0 0 4px rgba(60,90,220,.06); }
  .cr-busca span { font-size: 18px; opacity: .8; } .cr-busca input { flex: 1; background: none; border: 0; outline: 0; font: inherit; font-size: 14px; color: var(--text); }
  .cr-busca .res { display: none; position: absolute; top: 58px; left: 0; right: 0; z-index: 30; background: var(--bg-elevated); border: 1px solid var(--surface-3); border-radius: 14px; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
  .cr-busca .res a, .cr-busca .res span { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--text); } .cr-busca .res a:hover { background: rgba(245,168,0,.14); color: #fbbf24; }
  .cr-sino { position: relative; margin-left: auto; font-size: 24px; } .cr-sino i { position: absolute; top: -4px; right: -6px; width: 16px; height: 16px; border-radius: 50%; background: #ef4444; }
  .cr-perfil { display: flex; align-items: center; gap: 12px; } .cr-perfil b { display: block; font-size: 15px; color: var(--text-strong); } .cr-perfil small { font-size: 12px; color: #fbbf24; } .cr-perfil em { font-style: normal; color: var(--text-dim); }
  .cr-perfil .av { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 900; color: #fff; background: linear-gradient(135deg, #8b5cf6, #3b82f6) center / cover; border: 2px solid rgba(245,168,0,.7); }

  /* jornada: todas as etapas com a própria cor (igual à arte) */
  .cr-passos li::before { height: 4px; top: 25px; background: linear-gradient(90deg, var(--cp), var(--c)); opacity: .55; }
  .cr-passos li.ok::before, .cr-passos li.atual::before { opacity: 1; background: linear-gradient(90deg, var(--cp), var(--c)); }
  .cr-passos .bola { width: 52px; height: 52px; border-width: 4px; border-color: var(--c); color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--bg-card)); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 40%, transparent); }
  .cr-passos li.ok .bola { background: var(--c); color: #0b1020; }
  .cr-passos li.atual .bola { background: color-mix(in srgb, var(--c) 25%, var(--bg-card)); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 65%, transparent); }
  .cr-passos li small { color: var(--text-soft); }

  /* etapa atual com a ilustração */
  .cr-desk > .cr-etapa { display: flex; gap: 14px; align-items: stretch; }
  .cr-etapa-img { width: 132px; height: auto; align-self: flex-end; border-radius: 14px; flex: none; object-fit: cover; }
  .cr-etapa-main { flex: 1; min-width: 0; }
  .cr-etapa-corpo { margin-left: -4px; }

  /* próximas missões: ícones coloridos */
  .cr-miss-it .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: 14px; }
  .cr-miss-it .ic.v { background: rgba(239,68,68,.2); color: #f87171; } .cr-miss-it .ic.a { background: rgba(59,130,246,.2); } .cr-miss-it .ic.r { background: rgba(139,92,246,.22); }
  .cr-miss-it { border-radius: 10px; padding: 9px 12px; }

  /* resultados e objetivo */
  .cr-res-grid > div { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  .cr-res-grid .ic { margin: 0; grid-row: span 2; } .cr-res-grid b { font-size: 24px; } .cr-res-grid small { flex-basis: 100%; }
  .cr-btn-linha.cheio { border: 1.5px solid #f5a800; border-radius: 14px; font-size: 14px; padding: 14px; background: rgba(245,168,0,.04); }
  .cr-obj-btns .cr-btn-linha { background: transparent; border-color: var(--surface-3); color: #fbbf24; }
}

/* ===== celular ===== */
@media (max-width: 767px) {
  .cr-desk { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px 12px calc(92px + env(safe-area-inset-bottom)); }
  .cr-desk > section { padding: 16px; border-radius: 18px; }
  .cr-desk > .cr-etapa, .cr-desk > .cr-conq, .cr-desk > .cr-ferr, .cr-desk > .cr-cont, .cr-desk > .cr-res, .cr-desk > .cr-prog, .cr-desk > .cr-miss, .cr-desk > .cr-vagas, .cr-desk > .cr-obj { grid-column: 1 / -1; }
  .cr-desk > .cr-topo { padding: 0; }
  .cr-busca { max-width: none; height: 44px; } .cr-perfil b, .cr-perfil small, .cr-perfil em { display: none; } .cr-sino { margin-left: 0; font-size: 22px; }
  .cr-desk > .cr-hero { min-height: 0; border-radius: 20px; }
  .cr-hero-txt { max-width: 100%; padding: 22px 18px; } .cr-hero h1 { font-size: 26px; } .cr-hero p { font-size: 13px; margin-top: 10px; } .cr-kick { font-size: 10px; margin-bottom: 8px; }
  .cr-hero-img, .cr-hero-cita { display: none; } .cr-hero::before { width: 100%; opacity: .3; }
  .cr-hero-btns { gap: 8px; } .cr-btn, .cr-btn-linha { padding: 11px 14px; font-size: 13px; }
  .cr-passos { grid-template-columns: repeat(3, 1fr); row-gap: 16px; } .cr-passos li::before { display: none; } .cr-passos .bola { width: 44px; height: 44px; font-size: 17px; } .cr-passos li small { font-size: 11px; } .cr-passos li b { font-size: 13px; }
  .cr-desk > .cr-etapa { flex-direction: column; } .cr-etapa-img { display: none; } .cr-etapa-corpo { flex-wrap: wrap; } .cr-etapa-barra { width: 100%; } .cr-etapa-txt h3 { font-size: 20px; }
  .cr-prog-corpo { flex-direction: column; align-items: stretch; } .cr-anel { margin: 0 auto; width: 130px; height: 130px; }
  .cr-conq-grid, .cr-cont-grid, .cr-res-grid, .cr-ferr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cr-barras li { grid-template-columns: 22px 1fr 38px; } .cr-barras li > span { display: none; }
  .cr-vaga .cr-btn { padding: 7px 10px; }
}
