/* ---------- Planejamento da construção ---------- */
.pt2-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.pt2-strip button { position: relative; overflow: hidden; display: grid; gap: 2px; text-align: left; padding: 10px 12px 14px; border-radius: var(--r-md); background: var(--s1); border: 1px solid var(--line); transition: all var(--t-fast); min-width: 0; }
.pt2-strip button:hover { border-color: var(--line-3); }
.pt2-strip button.on { border-color: var(--ec); background: color-mix(in srgb, var(--ec) 12%, var(--s1)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ec) 40%, transparent); }
.pt2-strip span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3); }
.pt2-strip b { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt2-strip i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p); background: var(--ec); transition: width .8s var(--ease); }
.pboard2 { grid-template-columns: repeat(4, minmax(250px, 1fr)); }
.pt2__stic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--s3); color: var(--tx-2); }
.pt2__stic svg { width: 14px; height: 14px; }
.pt2__stic.andamento { color: var(--info); background: var(--info-soft); } .pt2__stic.andamento svg { animation: spin 3s linear infinite; }
.pt2__stic.revisao { color: var(--warn); background: var(--warn-soft); } .pt2__stic.feito { color: var(--ok); background: var(--ok-soft); }
.pt-card2 { position: relative; padding: 12px 14px; border-radius: var(--r-md); background: linear-gradient(180deg, var(--s3), var(--s2)); border: 1px solid var(--line); border-left: 3px solid var(--ec); cursor: grab; display: grid; gap: 6px; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 40ms); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med); }
.pt-card2:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.9); }
.pt-card2.dragging { opacity: .35; } .pt-card2.landed { animation: landed .8s var(--ease); }
.pt2__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pt2__et { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ec); }
.pt2__et svg { width: 12px; height: 12px; }
.pt2__top .pill { height: 20px; font-size: 10px; padding: 0 8px; }
.pt2__t { font-size: 13.5px; font-weight: 500; line-height: 1.35; } .pt2__t.done { text-decoration: line-through; color: var(--tx-3); }
.pt2__d { font-size: 11.5px; color: var(--tx-3); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt2__foot { display: flex; align-items: center; gap: 8px; font-size: 11px; border-top: 1px dashed var(--line-2); padding-top: 8px; }
.pt2__who { color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pt2__date { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--tx-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt2__date svg { width: 12px; height: 12px; } .pt2__date.late { color: var(--crit); }
.pt2__add { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: var(--r-md); border: 1.5px dashed var(--line-3); color: var(--tx-3); font-size: 12.5px; transition: all var(--t-fast); }
.pt2__add:hover { border-color: var(--red-line); color: var(--tx); background: var(--red-soft); }
.pt2__add svg { width: 15px; height: 15px; }

/* Visão macro */
.gantt { position: relative; padding: 36px 20px 18px; margin-bottom: 18px; overflow: hidden; }
.gantt__months { position: relative; height: 18px; margin-left: 170px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.gantt__months span { position: absolute; top: -4px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--tx-3); }
.gantt__row { display: grid; grid-template-columns: 170px 1fr; align-items: center; height: 40px; }
.gantt__lbl { display: grid; line-height: 1.2; } .gantt__lbl b { font-size: 11px; color: var(--tx-3); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; } .gantt__lbl span { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt__track { position: relative; height: 26px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 37 - 1px), var(--line) calc(100% / 37 - 1px) calc(100% / 37)); border-radius: 6px; }
.gantt__bar { position: absolute; top: 0; bottom: 0; border-radius: 7px; overflow: hidden; background: color-mix(in srgb, var(--ec) 28%, var(--s2)); border: 1px solid color-mix(in srgb, var(--ec) 70%, transparent); transform-origin: left; animation: grow-x .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 200ms); box-shadow: 0 0 18px -6px var(--ec); }
.gantt__bar i { position: absolute; inset: 0 auto 0 0; background: var(--ec); opacity: .9; }
.gantt__bar em { position: relative; font-style: normal; font-size: 10.5px; padding: 0 8px; line-height: 24px; white-space: nowrap; color: var(--tx); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.gantt__rec { position: absolute; top: -2px; bottom: -2px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 4px, transparent 4px 8px); border-radius: 4px; }
.gantt__today { position: absolute; top: 28px; bottom: 12px; width: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); }
.gantt__today span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--red-tx); text-transform: uppercase; letter-spacing: .1em; }
.stg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.stg { position: relative; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--s2), var(--s1)); border: 1px solid var(--line); border-top: 3px solid var(--ec); display: grid; gap: 14px; align-content: start; }
.stg.first { background: radial-gradient(120% 90% at 100% 0, rgba(200, 214, 106, .12), transparent 60%), linear-gradient(180deg, var(--s2), var(--s1)); }
.stg__h { display: flex; gap: 14px; align-items: center; }
.stg__n { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; font-family: "Bebas Neue", var(--font); font-size: 28px; color: #0B0A0C; background: var(--ec); box-shadow: 0 8px 24px -8px var(--ec); }
.stg__h > div { flex: 1; min-width: 0; } .stg__h small { font-size: 11px; color: var(--tx-3); } .stg__h h3 { font-size: var(--fs-lg); }
.stg__ic { color: var(--ec); } .stg__ic svg { width: 22px; height: 22px; }
.stg__obj { font-size: var(--fs-sm); color: var(--tx-2); }
.stg__mods { display: flex; flex-wrap: wrap; gap: 6px; } .stg__mods .chip { border-color: color-mix(in srgb, var(--ec) 50%, transparent); background: color-mix(in srgb, var(--ec) 12%, transparent); }
.stg__cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.stg__cols small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-4); margin-bottom: 6px; }
.stg__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.stg__cols li { display: flex; gap: 6px; font-size: 12.5px; color: var(--tx-2); } .stg__cols li svg { width: 14px; height: 14px; color: var(--ec); flex: none; margin-top: 2px; }
.stg__cols p { font-size: 12.5px; color: var(--tx-2); }
.stg__f { display: flex; align-items: center; gap: 10px; border-top: 1px dashed var(--line-2); padding-top: 12px; } .stg__f .progress { flex: 1; } .stg__f .num { font-size: 12px; color: var(--tx-2); }
@media (max-width: 1280px) { .pt2-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pt2-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stg-grid { grid-template-columns: 1fr; } .stg__cols { grid-template-columns: 1fr; } .gantt__months, .gantt__row { margin-left: 0; } .gantt__row { grid-template-columns: 110px 1fr; } .gantt__months { margin-left: 110px; } }
.gantt__bar { overflow: visible; } .gantt__bar i { border-radius: 6px; }
.gantt__start { position: absolute; top: 10px; right: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--lime, #C8D66A); letter-spacing: .06em; }
.gantt__start svg { width: 13px; height: 13px; }
