/* ===== Documentos institucionais Armata — identidade das propostas ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F4F6F7;
  font-family: 'Manrope', system-ui, sans-serif;
  color: #2E353B;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
a { color: #157E92; text-decoration: none; }
a:hover { color: #11697A; }

/* Barra superior (só na tela) */
.doc-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #DDE3E7;
}
.doc-topbar .in {
  max-width: 900px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.doc-topbar img { height: 32px; display: block; }
.doc-topbar .acts { display: flex; gap: 10px; }
.doc-topbar .btn-pdf {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1995AD; color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 15px; border-radius: 8px;
  box-shadow: 0 8px 20px rgba(25,149,173,.3); white-space: nowrap;
}
.doc-topbar .btn-pdf:hover { background: #157E92; color: #fff; }
.doc-topbar .btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid #DDE3E7; color: #6B7780; font-weight: 700; font-size: 14px;
  padding: 9px 15px; border-radius: 8px; white-space: nowrap;
}
.doc-topbar .btn-back:hover { border-color: #1995AD; color: #1995AD; }

/* Capa escura */
.doc-hero { background: #1E2429; color: #fff; }
.doc-hero .in { max-width: 900px; margin: 0 auto; padding: 54px 24px 44px; }
.doc-hero img { height: 40px; display: block; margin-bottom: 30px; }
.doc-hero .kick {
  font-family: 'Manrope', sans-serif; font-size: 12.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: #7FC6D4; margin-bottom: 12px;
}
.doc-hero h1 {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 40px;
  letter-spacing: -.02em; line-height: 1.12; margin: 0 0 12px;
}
.doc-hero .sub { color: #AEB8BF; font-size: 16px; max-width: 620px; margin: 0; }

/* Ficha de controle */
.doc-meta { max-width: 900px; margin: -26px auto 0; padding: 0 24px; position: relative; }
.doc-meta .card {
  background: #fff; border: 1px solid #DDE3E7; border-radius: 12px;
  box-shadow: 0 12px 30px rgba(30,36,41,.08);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.doc-meta .cell { padding: 14px 18px; border-left: 1px solid #EDF1F3; }
.doc-meta .cell:first-child { border-left: none; }
.doc-meta .k {
  font-size: 10.5px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: #8C97A0; margin-bottom: 3px;
}
.doc-meta .v { font-size: 13.5px; font-weight: 700; color: #2E353B; }

/* Corpo */
.doc-body { max-width: 900px; margin: 0 auto; padding: 40px 24px 70px; }
.doc-body section { margin-bottom: 30px; }
.doc-body h2 {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 21px;
  letter-spacing: -.01em; color: #1E2429; margin: 0 0 10px;
  padding-top: 8px; border-top: 2px solid #E1F1F4;
}
.doc-body h2 .n { color: #1995AD; margin-right: 8px; }
.doc-body h3 {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px;
  color: #157E92; margin: 18px 0 6px;
}
.doc-body p { margin: 0 0 12px; font-size: 15.5px; }
.doc-body ul { margin: 0 0 14px; padding-left: 2px; list-style: none; }
.doc-body li {
  position: relative; padding: 3px 0 3px 24px; font-size: 15.5px;
}
.doc-body li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 7px; height: 7px; border-radius: 50%; background: #1995AD;
}
.doc-body .callout {
  background: #E1F1F4; border-left: 3px solid #1995AD; border-radius: 6px;
  padding: 14px 18px; margin: 0 0 14px; font-size: 15px;
}
.doc-body .sign {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid #DDE3E7;
}
.doc-body .sign .line {
  margin-top: 46px; border-top: 1.5px solid #2E353B; width: 340px; padding-top: 6px;
  font-size: 14px;
}
.doc-body .sign .who { font-weight: 800; }
.doc-body .sign .role { color: #6B7780; font-size: 13.5px; }

/* Rodapé institucional */
.doc-foot { background: #1E2429; color: #AEB8BF; }
.doc-foot .in {
  max-width: 900px; margin: 0 auto; padding: 26px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; line-height: 1.6;
}
.doc-foot img { height: 26px; display: block; opacity: .95; }

@media (max-width: 720px) {
  .doc-hero h1 { font-size: 29px; }
  .doc-hero .in { padding: 40px 20px 36px; }
  .doc-meta .card { grid-template-columns: 1fr 1fr; }
  .doc-meta .cell:nth-child(3) { border-left: none; }
  .doc-meta .cell { border-top: 1px solid #EDF1F3; }
  .doc-meta .cell:nth-child(-n+2) { border-top: none; }
  .doc-body { padding: 30px 18px 50px; }
  .doc-body h2 { font-size: 18px; }
}

/* Impressão / PDF */
@media print {
  .doc-topbar { display: none !important; }
  body { background: #fff; }
  .doc-hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc-meta .card { box-shadow: none; }
  .doc-body section { break-inside: avoid-page; }
  .doc-foot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
