/* Complementos do manual — mesma linguagem visual do cronograma OA5 */

.phase-content > p + .g-block { margin-top: 30px; }
.g-block + .g-block { margin-top: 30px; }

.g-block h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 760;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.g-block h4 em {
  color: var(--orange-dark);
  font-family: var(--font-mono);
  font-size: .58rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.g-block > p { margin: 0 0 0; color: #393531; font-size: .92rem; font-weight: 550; line-height: 1.6; }
.g-block > p + p { margin-top: 9px; }
.g-block strong { font-weight: 750; }

/* lista */
.g-list { margin: 12px 0 0; padding: 0; list-style: none; }
.g-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 20px;
  color: #393531;
  font-size: .92rem;
  font-weight: 550;
  line-height: 1.6;
}
.g-list li::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--orange);
  content: "";
}

/* caminho de menu */
.g-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
}
.g-path span {
  padding: 6px 11px;
  border: 1px solid #bbb4a8;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
}
.g-path i { color: var(--orange-dark); font-style: normal; font-weight: 700; }

/* tabela */
.g-table { width: 100%; margin-top: 14px; border-collapse: collapse; }
.g-table th {
  padding: 0 14px 9px 0;
  border-bottom: 1.5px solid #bbb4a8;
  color: #6f6961;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-align: left;
  text-transform: uppercase;
}
.g-table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid #ddd7cc;
  color: #393531;
  font-size: .88rem;
  font-weight: 550;
  line-height: 1.55;
  vertical-align: top;
}
.g-table td:first-child { padding-right: 22px; font-weight: 750; white-space: nowrap; }

/* bloco de código / prompt */
.g-code {
  margin-top: 14px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(25, 24, 22, .12);
}
.g-code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid #ddd7cc;
  background: var(--paper-deep);
}
.g-code__lbl {
  color: #6f6961;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.g-copy {
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.g-copy:hover { background: var(--orange); transform: translate(-1px, -1px); }
.g-copy.is-done { border-color: var(--green); background: var(--green); color: var(--white); }
.g-code pre {
  margin: 0;
  padding: 14px 15px;
  overflow-x: auto;
  color: #26231f;
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.72;
  white-space: pre-wrap;
  word-break: break-word;
}

/* nota */
.g-note {
  margin-top: 14px;
  padding: 15px 18px;
  border: 1.5px solid #bbb4a8;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  color: #393531;
  font-size: .88rem;
  font-weight: 550;
  line-height: 1.6;
}
.g-note b {
  display: block;
  margin-bottom: 6px;
  color: var(--orange-dark);
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* download dentro do módulo */
.g-dl {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(25, 24, 22, .12);
  text-decoration: none;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms ease, background 180ms ease;
}
.g-dl:hover { background: var(--orange); box-shadow: 6px 6px 0 var(--ink); transform: translate(-3px, -3px); }
.g-dl__ext {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .06em;
}
.g-dl__name { display: block; font-family: var(--font-mono); font-size: .84rem; font-weight: 500; }
.g-dl__desc { display: block; margin-top: 2px; color: #5e5851; font-size: .76rem; font-weight: 550; }
.g-dl:hover .g-dl__desc { color: #4b1e0e; }
.g-dl__arrow { margin-left: auto; font-size: 1.1rem; }

/* link externo em linha */
.g-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  border-bottom: 1.5px solid rgba(255, 79, 18, .4);
  color: var(--orange-dark);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 160ms ease;
}
.g-link:hover { border-color: var(--orange); }

/* âncora dos módulos */
.phase { scroll-margin-top: 24px; }

@media (max-width: 720px) {
  .g-block h4 { font-size: 1rem; }
  .g-code pre { font-size: .74rem; }
  .g-table td:first-child { white-space: normal; }
}
