/* ═══════════════════════════════════════════════════════════════════════════
   Ficha Cadastral (Start de Obra) — estilos EXCLUSIVOS do módulo.
   Todos os seletores começam em .fc- / #fc..., então este arquivo não toca em
   nada do resto do painel. Para remover a funcionalidade basta apagar este
   arquivo e o <link> dele no index.html.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Cabeçalhos das seções (mesma linguagem visual das faixas do modelo) ───── */
.fc-secao { border: 1px solid #e3e8ef; border-radius: 10px; overflow: hidden; background: #fff; }
.fc-secao > .fc-secao-head {
  font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em;
  color: #fff; background: var(--eng-navy, #2a6d9c); padding: .55rem .9rem;
}
.fc-secao-cliente > .fc-secao-head { background: #1a4f9c; }
.fc-secao-obra    > .fc-secao-head { background: #0891b2; }
.fc-secao-prazo   > .fc-secao-head { background: #b45309; }
.fc-secao-escopo  > .fc-secao-head { background: #1d7cb0; }
.fc-secao-imagem  > .fc-secao-head { background: #6d28d9; }
.fc-secao-obs     > .fc-secao-head { background: #475569; }

/* ── Bloco de prazos: é a informação mais consultada, então ganha destaque ─── */
.fc-prazo-box {
  border: 1px solid #f0c88a; background: #fff8ec; border-radius: 8px; padding: .6rem .8rem;
}
.fc-prazo-box .fc-prazo-rot {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  color: #92400e; margin-bottom: .25rem;
}
.fc-prazo-box .fc-prazo-val { font-size: 1.05rem; font-weight: 700; color: #7c2d12; }

/* ── Checklist do escopo ──────────────────────────────────────────────────── */
.fc-escopo-tab { font-size: .84rem; }
.fc-escopo-tab thead th {
  background: var(--eng-navy, #2a6d9c); color: #fff; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .03em; vertical-align: middle;
}
.fc-escopo-tab td { vertical-align: middle; }
.fc-escopo-tab .fc-col-resp { width: 108px; text-align: center; }
.fc-escopo-tab .fc-col-acao { width: 44px; text-align: center; }
.fc-escopo-tab input[type="radio"] { width: 1.05rem; height: 1.05rem; cursor: pointer; }

/* Etiqueta da responsabilidade na visualização/impressão */
.fc-resp { font-size: .72rem; font-weight: 700; padding: .12rem .45rem; border-radius: 4px; }
.fc-resp-engedelta { background: #dbeafe; color: #1e40af; }
.fc-resp-cliente   { background: #dcfce7; color: #166534; }
.fc-resp-na        { background: #e5e7eb; color: #4b5563; }
.fc-resp-vazio     { background: #fef3c7; color: #92400e; }

/* ── Visualização da ficha ────────────────────────────────────────────────── */
.fc-campo-rot { font-size: .72rem; font-weight: 700; text-transform: uppercase;
                letter-spacing: .02em; color: #64748b; }
.fc-campo-val { font-size: .92rem; color: #0f172a; word-break: break-word; }
.fc-campo-val.fc-vazio { color: #cbd5e1; font-style: italic; }
.fc-lista .fc-item { cursor: pointer; padding: 14px 18px; }
.fc-img-preview { max-width: 100%; max-height: 340px; border: 1px solid #dde5f0; border-radius: 8px; }

/* ── Situação da obra (NÃO INICIADA / EM ANDAMENTO / FINALIZADA) ───────────── */
.fc-sit { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .02em;
          padding: .16rem .5rem; border-radius: 4px; }
.fc-sit-nao { background: #e2e8f0; color: #334155; }
.fc-sit-and { background: #dbeafe; color: #1e40af; }
.fc-sit-fim { background: #dcfce7; color: #166534; }

/* ── Indicador de obras (topo da aba) ─────────────────────────────────────── */
.fc-ind-bloco { border: 1px solid #e3e8ef; border-radius: 8px; padding: .7rem .9rem;
                height: 100%; background: #fff; }
.fc-ind-bloco.fc-ind-and { border-color: #bfdbfe; background: #f5f9ff; }
.fc-ind-tit { font-size: .7rem; font-weight: 700; text-transform: uppercase;
              letter-spacing: .03em; color: #64748b; }
.fc-ind-total { font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--eng-navy, #2a6d9c); }
.fc-ind-and .fc-ind-total { color: #1e40af; }
.fc-ind-linha { display: flex; justify-content: space-between; gap: .75rem;
                font-size: .82rem; padding: .18rem 0; border-top: 1px dashed #e5e9f0; }
.fc-ind-linha span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.fc-ind-linha.fc-ind-zero { color: #a3adbb; }
