﻿/* Reservado para estilos do módulo projetos.css */

/* v3.7.7 — Projetos */
.projetos-page {
  display: grid;
  gap: 22px;
}

.projetos-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid var(--baruk-border);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--baruk-surface), var(--baruk-surface-soft));
  box-shadow: var(--baruk-shadow);
}

.projetos-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--baruk-primary);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.projetos-hero h2,
.projeto-header h2 {
  margin: 0;
  font-size: 28px;
}

.projetos-hero p,
.projeto-header p {
  margin: 10px 0 0;
  color: var(--baruk-muted);
  line-height: 1.5;
}

.projetos-hero__badge {
  min-width: 190px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: var(--baruk-primary);
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

.projetos-hero__badge span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.projetos-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.projeto-summary__item {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--baruk-border);
  border-radius: 16px;
  background: var(--baruk-surface);
  box-shadow: var(--baruk-shadow);
}

.projeto-summary__item span {
  color: var(--baruk-muted);
  font-size: 12px;
  font-weight: 700;
}

.projeto-summary__item strong {
  font-size: 24px;
}

.projetos-layout {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 18px;
}

.projetos-list-panel,
.projeto-panel,
.projeto-section {
  border: 1px solid var(--baruk-border);
  border-radius: 18px;
  background: var(--baruk-surface);
  box-shadow: var(--baruk-shadow);
}

.projetos-list-panel {
  padding: 16px;
  align-self: start;
}

.projetos-list-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.projetos-list-panel h3 {
  margin: 0;
}

.projetos-list-panel span {
  color: var(--baruk-muted);
  font-size: 13px;
}

.projetos-list {
  display: grid;
  gap: 10px;
}

.projetos-card {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--baruk-border);
  border-radius: 14px;
  background: var(--baruk-surface-soft);
  cursor: pointer;
}

.projetos-card:hover,
.projetos-card.is-selected {
  border-color: var(--baruk-primary);
  background: #f6f9ff;
}

.projetos-card strong {
  display: block;
  margin-bottom: 4px;
}

.projetos-card span,
.projetos-card small {
  color: var(--baruk-muted);
}

.projeto-panel {
  padding: 18px;
}

.projeto-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.projeto-idbox {
  min-width: 230px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  background: var(--baruk-surface-soft);
  word-break: break-all;
}

.projeto-idbox span {
  color: var(--baruk-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.projeto-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.projeto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.projeto-section {
  padding: 16px;
}

.projeto-section h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.projeto-data {
  display: grid;
  gap: 10px;
  margin: 0;
}

.projeto-data div {
  display: grid;
  gap: 3px;
}

.projeto-data dt {
  color: var(--baruk-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.projeto-data dd {
  margin: 0;
}

.projeto-list {
  display: grid;
  gap: 9px;
}

.projeto-list__item {
  display: grid;
  gap: 5px;
  padding: 11px;
  border-radius: 12px;
  background: var(--baruk-surface-soft);
}

.projeto-list__item span,
.projeto-list__item small,
.projeto-empty {
  color: var(--baruk-muted);
}

@media (max-width: 1100px) {
  .projetos-layout,
  .projeto-grid {
    grid-template-columns: 1fr;
  }

  .projetos-summary,
  .projeto-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .projetos-hero,
  .projeto-header {
    flex-direction: column;
  }

  .projetos-summary,
  .projeto-summary {
    grid-template-columns: 1fr;
  }
}
