/* ============================================================
   LUMINI · PROJETOS · portfólio (29/out/2026)
   Mesma família do Comercial: Lumini White de base, Warm Ivory
   de respiro, Mirante nos títulos, dourado só como selo/progresso.
   Sem azul, sem faixa amarela, sem glow.
   ============================================================ */
.pj { --pj-white: #F6F2EE; --pj-ivory: #E8E0CE; display: block; }

/* ── topo ─────────────────────────────────────────────────── */
.pj-hero { background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card-lg); box-shadow: var(--v2-shadow); padding: 22px 24px 20px; }
.pj-eyebrow { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-sub); font-weight: 600; }
.pj-hero-tit { font-family: 'Mirante', 'Helvetica Neue', serif; font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); color: var(--v2-ink); margin: 6px 0 4px; line-height: 1.2; text-wrap: balance; }
.pj-hero-sub { font-size: 12px; color: var(--v2-sub); line-height: 1.55; margin: 0; max-width: 680px; }
.pj-nums { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 12px; margin-top: 18px; }
.pj-num { background: var(--pj-white); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.pj-num-rot { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-sub); font-weight: 600; }
.pj-num-val { font-size: 22px; font-weight: 600; color: var(--v2-ink); margin-top: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pj-num-sub { font-size: 11px; color: var(--v2-sub); margin-top: 2px; }

/* ── seções ───────────────────────────────────────────────── */
.pj-sec { background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card-lg); box-shadow: var(--v2-shadow); padding: 18px 20px; margin-top: 16px; min-width: 0; }
.pj-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pj-sec-head h3 { font-family: 'Mirante', 'Helvetica Neue', serif; font-weight: 500; font-size: 18px; color: var(--v2-ink); margin: 0; }
.pj-sec-head span { font-size: 11px; color: var(--v2-sub); }
.pj-mais { display: flex; justify-content: center; margin-top: 10px; }

/* botões · par escuro do Painel (sem Dia/Noite no Painel) */
.pj-btn, .pj-btn-sec { font-family: inherit; font-size: 11.5px; font-weight: 600; border-radius: var(--v2-r-btn); padding: 7px 12px; cursor: pointer; white-space: nowrap; line-height: 1.2; }
.pj-btn { background: var(--v2-ink); color: var(--pj-white, #F6F2EE); border: 1px solid var(--v2-ink); }
.pj-btn:hover { background: #3A332D; }
.pj-btn-sec { background: #FFFFFF; color: var(--v2-ink); border: 1px solid var(--v2-line-strong); }
.pj-btn-sec:hover { border-color: var(--v2-ink); }
.pj-link { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; color: var(--v2-link); font-weight: 600; cursor: pointer; border-bottom: 1px solid rgba(202,169,103,.5); }
.pj-tag { display: inline-block; font-size: 10px; font-weight: 500; padding: 1px 7px; border-radius: var(--v2-r-chip); background: var(--pj-ivory); color: #5A4A33; margin-left: 8px; vertical-align: 1px; }

/* ── pra decidir ──────────────────────────────────────────── */
.pj-decs { display: flex; flex-direction: column; }
.pj-dec { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--v2-line); }
.pj-dec:first-child { border-top: 0; }
.pj-dec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v2-ter); }
.pj-dec-dot.is-parado { background: var(--v2-terracota); }
.pj-dec-main { min-width: 0; }
.pj-dec-nome { font-size: 13px; font-weight: 600; color: var(--v2-ink); overflow-wrap: anywhere; }
.pj-dec-sub { font-size: 11.5px; color: var(--v2-sub); margin-top: 2px; font-variant-numeric: tabular-nums; }
.pj-dec-quando { font-size: 11px; color: var(--v2-sub); white-space: nowrap; }
.pj-dec-acoes { display: flex; gap: 6px; }

/* ── corpo · frentes + entregues ──────────────────────────── */
.pj-corpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 16px; align-items: start; }
.pj-frentes { min-width: 0; }
.pj-frente { background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card-lg); box-shadow: var(--v2-shadow); padding: 18px 20px; margin-top: 16px; }
.pj-frente-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pj-frente-tit { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.pj-frente-tit h3 { font-family: 'Mirante', 'Helvetica Neue', serif; font-weight: 500; font-size: 19px; color: var(--v2-ink); margin: 0; }
.pj-frente-conta { font-size: 11.5px; color: var(--v2-sub); }
.pj-frente-acoes { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pj-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 14px; }
.pj-card { display: flex; flex-direction: column; gap: 9px; background: var(--pj-white); border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; cursor: pointer; min-width: 0; transition: border-color .15s ease; }
.pj-card:hover { border-color: rgba(202,169,103,.6); }
.pj-card-tit { font-size: 13px; font-weight: 600; color: var(--v2-ink); line-height: 1.35; overflow-wrap: anywhere; }
.pj-card-nota { font-size: 11px; color: var(--v2-sub); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pj-card-pe { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.pj-card-pe > button { margin-top: 0 !important; }
.pj-card-data { font-size: 10.5px; color: var(--v2-sub); }
.pj-fase { display: flex; align-items: center; gap: 8px; }
.pj-passos { display: flex; gap: 3px; flex: 0 0 auto; }
.pj-passo { width: 16px; height: 4px; border-radius: 2px; background: rgba(46,42,38,.1); }
.pj-passo.is-on { background: var(--v2-gold); }
.pj-fase-nome { font-size: 11px; color: #5A5049; font-weight: 500; }
.pj-vazio { font-size: 12px; color: var(--v2-sub); padding: 12px 2px 2px; line-height: 1.5; }
.pj-feitos-bt { background: none; border: 0; padding: 0; margin-top: 12px; font: inherit; font-size: 11.5px; color: var(--v2-sub); cursor: pointer; }
.pj-feitos-bt:hover { color: var(--v2-ink); }
.pj-feitos { display: flex; flex-direction: column; margin-top: 6px; }
.pj-feito { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; text-align: left; background: none; border: 0; border-top: 1px solid var(--v2-line); padding: 8px 2px; font: inherit; cursor: pointer; }
.pj-feito:hover .pj-feito-tit { color: var(--v2-ink); }
.pj-check { color: var(--v2-verde); font-size: 12px; }
.pj-feito-tit { font-size: 12px; color: #5A5049; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-feito-data { font-size: 10.5px; color: var(--v2-sub); white-space: nowrap; }
.pj-vazias { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.pj-vazia { display: flex; flex-direction: column; gap: 3px; background: #FFFFFF; border: 1px solid var(--v2-line); border-radius: var(--v2-r-card); padding: 14px 16px; min-width: 0; text-align: left; font: inherit; }
.pj-vazia-tit { font-family: 'Mirante', 'Helvetica Neue', serif; font-size: 15px; color: var(--v2-ink); }
.pj-vazia-sub { font-size: 11px; color: var(--v2-sub); }
.pj-vazia-acoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pj-vazia-nova { background: transparent; border: 1px dashed var(--v2-line-strong); cursor: pointer; justify-content: center; }
.pj-vazia-nova:hover { border-color: var(--v2-ink); }

/* linha do tempo das entregas */
.pj-entregas { position: sticky; top: 12px; }
.pj-tempo { list-style: none; margin: 0; padding: 0 0 0 4px; }
.pj-tempo li { position: relative; padding-left: 16px; border-left: 1px solid var(--v2-line-strong); }
.pj-tempo li:last-child { border-left-color: transparent; }
.pj-tempo li::before { content: ''; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--v2-gold); }
.pj-tempo button { display: flex; flex-direction: column; gap: 1px; width: 100%; text-align: left; background: none; border: 0; padding: 0 0 14px; font: inherit; cursor: pointer; }
.pj-tempo-data { font-size: 10.5px; color: var(--v2-sub); letter-spacing: .02em; }
.pj-tempo-tit { font-size: 12.5px; font-weight: 600; color: var(--v2-ink); line-height: 1.35; }
.pj-tempo button:hover .pj-tempo-tit { text-decoration: underline; text-decoration-color: rgba(202,169,103,.7); }
.pj-tempo-frente { font-size: 11px; color: var(--v2-sub); }

/* modal "pôr num quadro" */
.pj-modal-txt { font-size: 12.5px; color: #5A5049; line-height: 1.5; margin: 0 0 12px; }
.pj-modal-ops { display: flex; flex-direction: column; gap: 6px; }
.pj-modal-op { text-align: left; background: var(--pj-white, #F6F2EE); border: 1px solid var(--v2-line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--v2-ink); cursor: pointer; }
.pj-modal-op:hover { border-color: rgba(202,169,103,.7); }

@media (max-width: 1080px) {
  .pj-nums { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-corpo { grid-template-columns: minmax(0, 1fr); }
  .pj-entregas { position: static; }
}
@media (max-width: 640px) {
  .pj-hero { padding: 18px 16px; }
  .pj-sec, .pj-frente { padding: 16px 14px; }
  .pj-dec { grid-template-columns: 10px minmax(0, 1fr) auto; row-gap: 8px; }
  .pj-dec-main { grid-column: 2 / 4; }
  .pj-dec-quando { grid-column: 2; white-space: normal; }
  .pj-dec-acoes { grid-column: 3; }
  .pj-cards { grid-template-columns: minmax(0, 1fr); }
}
