/* Inter é a única fonte que a página usa (wordmark, títulos, corpo, botões, labels).
   Arquivo variável (weight 400-700) auto-hospedado, sem requisição a fonts.googleapis.com.
   A hierarquia é feita variando peso/tamanho dentro dessa única família. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --depth-surface: #1B4543;
  --depth-mid: #163A38;
  --depth-deep: #102B29;
  --card: #1B7C5A;
  --card-hover: #106B3A;
  --gold: #C9A227;
  --paper: #F6F3EA;
  --text: var(--paper);
  --text-muted: rgba(246, 243, 234, 0.72);
  --divider: rgba(246, 243, 234, 0.18);
}

* { box-sizing: border-box; }

html {
  background: var(--depth-surface);
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--depth-surface) 0%, var(--depth-mid) 48%, var(--depth-deep) 85%);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

h1 {
  margin: 0;
}

h2 {
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 56px 0 40px;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-row {
    animation: rise 0.6s ease-out;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wordmark {
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.15;
  text-decoration: none;
  color: var(--text);
}

.utility-link {
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid rgba(246, 243, 234, 0.3);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.utility-link:hover {
  background: var(--depth-deep);
  color: var(--paper);
}

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider) 15%, var(--divider) 85%, transparent);
  margin: 24px 0;
}

.docs h2 {
  text-align: left;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  min-height: 108px;
  padding: 18px 44px 20px 20px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.doc-card:hover {
  background: var(--card-hover);
}

.doc-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: var(--depth-deep);
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1.4;
}

.doc-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.doc-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: block;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.15s ease, color 0.15s ease;
}

.doc-card:hover .doc-icon {
  color: var(--paper);
  transform: translateY(2px);
}

.canal {
  width: calc(100% - 48px);
  max-width: 1052px;
  margin: 40px auto;
  padding: 48px 24px;
  border-radius: 6px;
  background: var(--depth-deep);
}

.canal h2 {
  text-align: center;
}

.canal p {
  color: var(--text-muted);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 16px;
}

.canal p.canal-lead {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--paper);
  max-width: 680px;
  margin-bottom: 24px;
}

.canal a {
  color: var(--text);
}

.canal-cta {
  text-align: center;
  margin-top: 32px;
}

.canal-cta .canal-cta-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 12px auto 0;
}

.btn {
  display: inline-block;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 500;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background: var(--card-hover);
}

.wordmark:focus-visible,
.utility-link:focus-visible,
.doc-card:focus-visible,
.btn:focus-visible,
.canal a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

footer.wrap {
  text-align: center;
  padding: 0 24px 80px;
}

footer .divider {
  margin: 0 0 28px;
}

.footer-name {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.footer-address {
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 599px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .wordmark {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}
