/* Vagas no computador (>= 1024px). No celular os blocos .vg-only ficam escondidos e nada muda. */
.vg-only { display: none; }
@media (min-width: 0px) {
  .vg-only { display: block; }
  .student-header, .safe-bottom { display: none !important; }
  .vg-desk { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; max-width: 1420px; margin: 0 auto; padding: 18px 24px 48px; align-items: start; }
  .vg-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
  .vg-side { display: flex; flex-direction: column; gap: 14px; }
  .vg-main > section, .vg-side > section, .vg-banner { background: var(--bg-card); border: 1px solid rgba(80,110,230,.28); border-radius: 22px; }
  .cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
  .cab h3 { font-size: 17px; font-weight: 800; color: var(--text-strong); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .cab h3 small { font-size: 12px; font-weight: 400; color: var(--text-dim); }
  .cab a { font-size: 12px; font-weight: 700; color: #7fa6ff; white-space: nowrap; }

  /* banner */
  .vg-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 0 24px; background: linear-gradient(90deg, #0a1030 0%, #0d1648 60%, #101b5a 100%); border-color: rgba(80,110,230,.4); }
  .vg-banner-txt { display: flex; align-items: center; gap: 16px; position: relative; z-index: 2; }
  .vg-banner-txt .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; font-size: 28px; background: rgba(245,168,0,.15); border: 1px solid rgba(245,168,0,.5); }
  .vg-banner h1 { font-size: 30px; font-weight: 900; color: #fff; letter-spacing: -.01em; } .vg-banner p { font-size: 14px; color: rgba(190,200,240,.85); margin-top: 3px; }
  .vg-banner-img { position: absolute; left: 46%; top: 0; height: 100%; width: auto; max-width: 36%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 85%, transparent); }
  .vg-banner-logo { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; } .vg-banner-logo img { height: 34px; width: auto; }
  .vg-banner-logo span { font-size: 11px; font-weight: 700; color: #fbbf24; padding: 5px 12px; border-radius: 999px; background: rgba(8,12,34,.85); border: 1px solid rgba(245,168,0,.45); }

  /* match */
  .vg-main > .vg-match { display: grid; grid-template-columns: 130px minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px 24px; border-color: rgba(245,168,0,.45); background: radial-gradient(ellipse at 0% 0%, rgba(245,168,0,.16), transparent 55%), var(--bg-card); }
  .vg-anel { position: relative; width: 118px; height: 118px; } .vg-anel svg { width: 100%; height: 100%; } .vg-anel circle { fill: none; stroke-width: 11; } .vg-anel .t { stroke: var(--surface-2); } .vg-anel .a { stroke: #f5a800; stroke-linecap: round; } .vg-anel .a.v { stroke: #34d399; }
  .vg-anel div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .vg-anel b { font-size: 34px; font-weight: 900; color: #fff; line-height: 1; } .vg-anel b small { font-size: 18px; } .vg-anel span { font-size: 9px; color: var(--text-soft); margin-top: 2px; }
  .vg-anel.peq { width: 92px; height: 92px; flex: none; } .vg-anel.peq b { font-size: 24px; } .vg-anel.peq circle { stroke-width: 10; }
  .vg-match-txt h3 { font-size: 20px; font-weight: 900; color: #fbbf24; } .vg-match-txt p { font-size: 13px; color: var(--text-soft); margin: 4px 0 12px; }
  .barra { height: 12px; border-radius: 8px; background: var(--surface-2); overflow: hidden; } .barra i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #f5a800, #fbbf24); }
  .vg-match-lista { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--surface-2); display: flex; flex-direction: column; gap: 10px; }
  .vg-match-lista li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); } .vg-match-lista li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 900; color: #04210f; background: #34d399; flex: none; }

  /* filtros e busca */
  .vg-filtros { display: flex; gap: 10px; flex-wrap: wrap; }
  .vg-filtros button { font: inherit; font-size: 14px; font-weight: 700; padding: 11px 18px; border-radius: 999px; cursor: pointer; background: var(--bg-card); border: 1px solid var(--surface-3); color: var(--text-soft); }
  .vg-filtros button.on { background: linear-gradient(135deg, #fbbf24, #e09a00); color: #1a1205; border-color: transparent; box-shadow: 0 0 16px rgba(245,168,0,.3); }
  .vg-busca { display: flex; gap: 12px; }
  .vg-busca label { flex: 1; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: 14px; background: var(--bg-card); border: 1px solid rgba(80,110,230,.35); }
  .vg-busca input { flex: 1; background: none; border: 0; outline: 0; font: inherit; font-size: 14px; color: var(--text); }
  .vg-busca button { font: inherit; font-size: 14px; font-weight: 700; padding: 0 20px; border-radius: 14px; cursor: pointer; background: var(--bg-card); border: 1px solid var(--surface-3); color: var(--text); }

  /* cards de vagas */
  .vg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .vg-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: var(--bg-card); border: 1px solid rgba(80,110,230,.28); min-width: 0; }
  .vg-card .topo { display: flex; align-items: center; gap: 10px; }
  .vg-card .lg { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-weight: 900; font-size: 17px; color: #1a1205; background: #fbbf24; flex: none; }
  .vg-card .emp { flex: 1; min-width: 0; font-size: 13px; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vg-card .match { font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
  .match.verde { color: #34d399; border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.1); } .match.ambar { color: #fbbf24; border-color: rgba(245,168,0,.5); background: rgba(245,168,0,.1); } .match.cinza { color: var(--text-soft); border-color: var(--surface-3); }
  .vg-card .salva { background: none; border: 0; cursor: pointer; font-size: 18px; opacity: .75; } .vg-card .salva.on { opacity: 1; }
  .vg-card h4 { font-size: 17px; font-weight: 800; color: var(--text-strong); line-height: 1.25; }
  .vg-card .loc { display: flex; gap: 6px; font-size: 13px; color: var(--text-soft); flex-wrap: wrap; }
  .vg-card .tags { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; align-content: flex-start; }
  .vg-card .tags span { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: var(--bg-elevated); border: 1px solid var(--surface-3); color: var(--text-soft); } .vg-card .tags .sal { color: #34d399; border-color: rgba(52,211,153,.4); }
  .vg-card .acoes { display: flex; gap: 8px; }
  .vg-card .wa { display: block; text-align: center; padding: 11px 8px; border-radius: 10px; font-size: 13px; font-weight: 800; color: #25d366; background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.5); }
  .vg-card .acoes button { flex: 1; font: inherit; font-size: 13px; font-weight: 800; padding: 12px 8px; border-radius: 10px; cursor: pointer; }
  .vg-card .ver { background: rgba(15,24,70,.7); color: var(--text-strong); border: 1px solid rgba(80,110,230,.4); }
  .vg-card .cand { background: linear-gradient(135deg, #fbbf24, #e09a00); color: #1a1205; border: 0; } .vg-card .cand.feito { white-space: nowrap; background: rgba(52,211,153,.14); color: #34d399; border: 1px solid rgba(52,211,153,.4); cursor: default; }
  .vg-vazio { grid-column: 1 / -1; padding: 32px; text-align: center; font-size: 14px; color: var(--text-dim); background: var(--bg-card); border: 1px dashed var(--surface-3); border-radius: 18px; }

  /* candidaturas + como conquistar */
  .vg-baixo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
  .vg-baixo > section { padding: 18px 20px; border-radius: 22px; background: var(--bg-card); border: 1px solid rgba(80,110,230,.28); min-width: 0; }
  .vg-cands-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .vg-cand { display: flex; align-items: center; gap: 10px; padding: 12px; text-align: left; font: inherit; cursor: pointer; border-radius: 14px; background: var(--bg-elevated); border: 1px solid var(--surface-2); color: var(--text); min-width: 0; }
  .vg-cand .lg { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; font-weight: 900; color: #1a1205; background: #fbbf24; flex: none; }
  .vg-cand > div:nth-child(2) { flex: 1; min-width: 0; } .vg-cand b { display: block; font-size: 13px; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vg-cand small { font-size: 11px; color: var(--text-dim); }
  .vg-cand .dir { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
  .st { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; border: 1px solid; } .st.azul { color: #7fb4ff; border-color: rgba(59,130,246,.5); } .st.roxo { color: #c4b0ff; border-color: rgba(139,92,246,.5); } .st.verde { color: #34d399; border-color: rgba(52,211,153,.5); } .st.cinza { color: var(--text-soft); border-color: var(--surface-3); }
  .vg-como-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .vg-como-grid > div { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; border: 1px solid var(--surface-2); background: var(--bg-elevated); }
  .vg-como-grid .c1 { border-color: rgba(245,168,0,.5); background: rgba(245,168,0,.07); } .vg-como-grid .c2 { border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.08); } .vg-como-grid .c3 { border-color: rgba(56,189,248,.5); background: rgba(56,189,248,.07); }
  .vg-como-grid .ic { font-size: 26px; } .vg-como-grid b { font-size: 14px; color: var(--text-strong); } .vg-como-grid small { font-size: 12px; line-height: 1.4; color: var(--text-dim); flex: 1; }
  .vg-como-grid a { display: block; text-align: center; padding: 9px; border-radius: 9px; font-size: 12px; font-weight: 800; color: #1a1205; background: #fbbf24; }
  .vg-como-grid .c2 a { background: #6d5df6; color: #fff; } .vg-como-grid .c3 a { background: #38bdf8; color: #04202e; }

  /* coluna lateral */
  .vg-side > section { padding: 18px 20px; }
  .vg-perfil-corpo { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--bg-elevated); border: 1px solid var(--surface-2); } .vg-perfil-corpo b { font-size: 17px; color: var(--text-strong); } .vg-perfil-corpo p { font-size: 13px; line-height: 1.4; color: var(--text-soft); margin-top: 4px; }
  .dif { font-size: 15px; font-weight: 800; color: var(--text-strong); margin: 18px 0 10px; }
  .vg-dif { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .vg-dif li { display: grid; grid-template-columns: 1fr 1.3fr 74px; gap: 10px; align-items: center; font-size: 13px; color: var(--text); }
  .vg-dif .t { height: 7px; border-radius: 5px; background: var(--surface-2); overflow: hidden; } .vg-dif .t i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #38bdf8, #6d5df6); }
  .vg-dif em { font-style: normal; font-size: 12px; font-weight: 700; text-align: right; } .vg-dif .mf, .vg-dif .f { color: #38bdf8; } .vg-dif .b { color: #fbbf24; } .vg-dif .e { color: var(--text-soft); }
  .vg-dica { font-size: 13px; color: var(--text-dim); }
  .vg-acao { 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); }
  .vg-acao .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-size: 19px; background: rgba(139,92,246,.2); flex: none; } .vg-acao > div { flex: 1; min-width: 0; } .vg-acao b { display: block; font-size: 14px; color: var(--text-strong); } .vg-acao small { font-size: 12px; color: var(--text-dim); } .vg-acao i { font-style: normal; font-size: 20px; color: var(--text-dim); }
  .vg-mais { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 22px; background: linear-gradient(135deg, #2a1f7a, #3b2aa6 60%, #1c1458); border: 1px solid rgba(139,92,246,.55); }
  .vg-mais b { display: block; font-size: 17px; line-height: 1.25; color: #fff; } .vg-mais small { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: rgba(220,215,255,.8); } .vg-mais span { font-size: 54px; }
}
@media (max-width: 1399px) {
  .vg-desk { grid-template-columns: minmax(0, 1fr); } .vg-side { display: grid; grid-template-columns: 1fr 1fr; } .vg-mais { grid-column: 1 / -1; }
  .vg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vg-main > .vg-match { grid-template-columns: 120px 1fr; } .vg-match-lista { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .vg-baixo { grid-template-columns: 1fr; }
}

/* ===== celular ===== */
@media (max-width: 767px) {
  .vg-desk { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 10px 12px calc(92px + env(safe-area-inset-bottom)); }
  .vg-main { gap: 12px; } .vg-side { display: flex; flex-direction: column; }
  .vg-banner { min-height: 0; padding: 16px; border-radius: 20px; } .vg-banner h1 { font-size: 22px; } .vg-banner p { font-size: 12px; } .vg-banner-txt .ic { width: 46px; height: 46px; font-size: 22px; } .vg-banner-img, .vg-banner-logo { display: none; }
  .vg-main > .vg-match { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; } .vg-anel { width: 92px; height: 92px; } .vg-anel b { font-size: 26px; } .vg-match-txt h3 { font-size: 16px; }
  .vg-match-lista { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .vg-filtros { flex-wrap: nowrap; overflow-x: auto; margin-right: -12px; padding-right: 12px; scrollbar-width: none; } .vg-filtros::-webkit-scrollbar { display: none; } .vg-filtros button { flex: none; padding: 10px 16px; }
  .vg-busca { gap: 8px; } .vg-busca button { padding: 0 14px; }
  .vg-grid { grid-template-columns: minmax(0, 1fr); } .vg-baixo { grid-template-columns: minmax(0, 1fr); } .vg-como-grid { grid-template-columns: minmax(0, 1fr); }
  .vg-dif li { grid-template-columns: 1fr 1fr 64px; }
}
