
:root {
  --bg: #f9fafb;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border-subtle: #e5e7eb;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-strong: #1d4ed8;
  --text: #0f172a;
  --muted: #6b7280;
  --muted-soft: #4b5563;
  --danger: #b91c1c;
  --radius: 0.9rem;
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #e5f0ff 0, #f9fafb 55%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", ui-sans-serif, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-avatar {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #bfdbfe, #2563eb 60%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.55);
}

.brand-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.nav-link {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.nav-link:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(248, 250, 252, 0.9);
}

.nav-link.active {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.45);
}

.nav-cta {
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  background: linear-gradient(120deg, #2563eb, #4f46e5);
  color: #f9fafb;
  border: 1px solid rgba(37, 99, 235, 0.6);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover {
  filter: brightness(1.05);
}

/* MAIN */

.site-main {
  flex: 1;
}

/* HERO */

.hero {
  padding: 2.6rem 0 2.3rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.6fr 1.1fr;
    align-items: center;
  }
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: #2563eb;
  margin-bottom: 0.7rem;
}

.hero-title {
  font-size: clamp(2rem, 3.1vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0;
}

.hero-body {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: var(--muted-soft);
  max-width: 35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.btn,
.btn-outline {
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn {
  background: linear-gradient(120deg, #2563eb, #4f46e5);
  color: #f9fafb;
  border-color: rgba(37, 99, 235, 0.75);
  box-shadow: 0 11px 28px rgba(37, 99, 235, 0.4);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: #ffffff;
  color: var(--muted-soft);
  border-color: rgba(148, 163, 184, 0.8);
}

.btn-outline:hover {
  color: var(--accent-strong);
  border-color: rgba(37, 99, 235, 0.7);
  background: rgba(239, 246, 255, 0.9);
}

.hero-side {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.3rem;
  font-size: 0.8rem;
}

.hero-side-block {
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #f9fafb;
  margin-bottom: 0.7rem;
}

.hero-side-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.hero-side-main {
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.hero-side-metric {
  font-weight: 600;
  color: #1d4ed8;
}

/* SEÇÕES E CARDS */

.section {
  padding: 1.8rem 0 2.4rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
}

.section-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-title {
  font-size: 1.2rem;
  font-weight: 650;
}

.section-sub {
  font-size: 0.82rem;
  color: var(--muted-soft);
  max-width: 32rem;
}

.pillars-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 840px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  border-radius: 1rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  padding: 0.95rem 1.05rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out,
    transform 0.12s ease-out;
}

.card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.card-meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(239, 246, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.9);
  color: #1d4ed8;
}

.card-body {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted-soft);
}

/* LISTAS, ARTIGOS, SIDEBAR */

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.list-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.list-sub {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.two-col {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 880px) {
  .two-col {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.05fr);
  }
}

.article {
  padding: 2rem 0 2rem;
}

.article-header {
  margin-bottom: 1.1rem;
}

.article-eyebrow {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.article-title {
  font-size: 1.4rem;
  font-weight: 650;
}

.article-meta {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted-soft);
}

.breadcrumbs {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.breadcrumbs a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(148, 163, 184, 0.9);
}

.article-body {
  font-size: 0.9rem;
  color: var(--muted-soft);
  line-height: 1.6;
}

.article-body p {
  margin: 0 0 0.8rem;
}

.sidebar-card {
  border-radius: 1rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  padding: 0.95rem 1rem;
  font-size: 0.8rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.sidebar-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sidebar-text {
  font-size: 0.78rem;
  color: var(--muted-soft);
}

/* FAQ E GLOSSÁRIO */

.faq-details {
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
}

.faq-details + .faq-details {
  margin-top: 0.6rem;
}

.faq-summary {
  cursor: pointer;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::before {
  content: "›";
  display: inline-block;
  transform: rotate(90deg);
  margin-right: 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
}

details[open] .faq-summary::before {
  transform: rotate(270deg);
}

.faq-answer {
  margin-top: 0.35rem;
  color: var(--muted-soft);
}

.definition-list {
  margin: 0;
  padding: 0;
}

.definition-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #ffffff;
  padding: 0.8rem 0.95rem;
  font-size: 0.8rem;
}

.definition-item + .definition-item {
  margin-top: 0.6rem;
}

.definition-term {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.definition-def {
  color: var(--muted-soft);
  font-size: 0.8rem;
}

/* AUTOR E FOOTER */

.author-bio {
  font-size: 0.88rem;
  color: var(--muted-soft);
  line-height: 1.65;
}

.author-bio p {
  margin: 0 0 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  background: #f3f4f6;
  margin-top: 1.8rem;
}

.footer-inner {
  display: grid;
  gap: 1.1rem;
  padding: 1.4rem 0 1.2rem;
}

@media (min-width: 880px) {
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-soft);
  margin-bottom: 0.25rem;
}

.footer-text {
  font-size: 0.78rem;
  color: var(--muted-soft);
  margin: 0.1rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.6rem 0 0.8rem;
  font-size: 0.72rem;
  color: rgba(107, 114, 128, 0.9);
  text-align: right;
}
