:root {
  --accent: #1f6feb;
  --accent-soft: #e8f1ff;
  --text-main: #1a1a1a;
  --text-muted: #4b5563;
  --text-subtle: #6b7280;
  --border-light: #e5e7eb;
  --bg-soft: #f8fafc;

  --uf-blue: #0021A5;
}

body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-main);
}

.navbar {
  border-bottom: 1px solid var(--border-light);
}

.navbar-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

main.content {
  max-width: 1200px;
}

.quarto-container {
  max-width: 1200px;
}

.page-columns {
  grid-template-columns: 1fr 3fr;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #0f4bb8;
  text-decoration: underline;
}

.hero {
  background: linear-gradient(135deg, #f5f5f5, #ffffff);
  padding: 2.5rem 2.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}

.quarto-title-banner {
  margin-bottom: 1rem;
}

.on-this-page {
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.on-this-page h2,
.on-this-page h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.on-this-page ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

h2 {
  position: relative;
  padding-left: 14px;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 70%;
  background-color: var(--uf-blue);
  border-radius: 2px;
}

h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
}

h2,
h3 {
  scroll-margin-top: 90px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 0.5rem;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-muted);
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.quick-links a:hover {
  background-color: var(--accent-soft);
  opacity: 1;
  transform: translateY(-1px);
}

.quick-links img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  display: inline-block;
  opacity: 0.85;
}

.quick-links a:hover img {
  opacity: 1;
  transform: scale(1.05);
  transition: 0.15s ease;
}

.quick-links span {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 2rem 0;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-right: 6px;
}

.page-footer-custom {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-align: right;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}