:root {
  --brand: #1e3a8a;
  --brand-dark: #172554;
  --brand-soft: #e8eefc;
  --accent: #d97706;
  --surface: #ffffff;
  --background: #f6f5f1;
  --text: #172033;
  --muted: #64748b;
  --border: #e2e8f0;
  --success: #047857;
  --danger: #b91c1c;
  --radius: 16px;
  --shadow: 0 12px 34px rgb(15 23 42 / 9%);
  --max-width: 1200px;
  --font-ui: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-reading: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--background);
  font-family: var(--font-ui);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

a:hover {
  color: var(--brand-dark);
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 80%, white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-dark);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.topbar {
  padding: 8px 0;
  color: #e2e8f0;
  background: var(--brand-dark);
  font-size: .82rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.logo small {
  display: block;
  color: var(--brand);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: var(--text);
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff !important;
  background: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.nav-cta:hover,
.button:hover {
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.hero {
  padding: clamp(64px, 9vw, 112px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 36%, transparent), transparent 34%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero p {
  max-width: 720px;
  margin: 0 0 26px;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-feature {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 22px;
  background: rgb(255 255 255 / 9%);
  box-shadow: 0 22px 60px rgb(0 0 0 / 22%);
}

.hero-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-feature-copy {
  padding: 20px;
}

.hero-feature-copy a {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 900;
}

.section {
  padding: 64px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.section-heading p {
  max-width: 650px;
  margin: 6px 0 0;
  color: var(--muted);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pills a {
  padding: 8px 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border));
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 3px 14px rgb(15 23 42 / 5%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  overflow: hidden;
  background: var(--brand-soft);
}

.card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease;
}

.card:hover .card-media img {
  transform: scale(1.025);
}

.card-body {
  padding: 22px;
}

.card-category {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.32;
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

.article-hero {
  padding: 46px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.article-hero .container {
  max-width: 900px;
}

.breadcrumb {
  margin-bottom: 14px;
  color: rgb(255 255 255 / 72%);
  font-size: .82rem;
  overflow-wrap: anywhere;
}

.breadcrumb a {
  color: #fff;
}

.article-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.14;
  text-wrap: balance;
}

.article-summary {
  max-width: 790px;
  margin: 0 0 16px;
  color: rgb(255 255 255 / 84%);
  font-size: 1.05rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: rgb(255 255 255 / 76%);
  font-size: .85rem;
}

.article-layout {
  width: min(calc(100% - 40px), 1380px);
  margin: 42px auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 290px;
  gap: 26px;
  align-items: start;
}

.article-layout > * {
  min-width: 0;
}

.article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 3px 16px rgb(15 23 42 / 5%);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-content {
  padding: clamp(24px, 5vw, 52px);
  font-family: var(--font-reading);
  font-size: clamp(1.06rem, 1.35vw, 1.16rem);
  line-height: 1.9;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 21px;
}

.article-lead {
  color: #26344d;
  font-size: 1.12em;
}

.article-lead::first-letter {
  float: left;
  margin: .1em .12em 0 0;
  color: var(--brand);
  font-family: var(--font-ui);
  font-size: 3.4em;
  font-weight: 900;
  line-height: .78;
}

.article-content h2,
.article-content h3 {
  font-family: var(--font-ui);
  line-height: 1.25;
  text-wrap: balance;
}

.article-content h2 {
  margin: 44px 0 17px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--brand-soft);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.article-content h3 {
  margin: 30px 0 12px;
  color: var(--brand);
  font-size: 1.22rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px;
  padding-left: 26px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-image {
  margin: 34px 0;
}

.article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
}

.article-image figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: .8rem;
}

.article-left-rail {
  position: sticky;
  top: 104px;
  min-width: 0;
  display: grid;
  gap: 18px;
}

.article-toc,
.article-share {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 8px 24px rgb(15 23 42 / 6%);
}

.article-toc {
  max-height: calc(100vh - 220px);
  padding: 18px;
  overflow: auto;
}

.article-toc strong,
.article-share > span {
  display: block;
  margin-bottom: 12px;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.article-toc li {
  counter-increment: toc;
}

.article-toc li + li {
  margin-top: 10px;
}

.article-toc a {
  color: var(--muted);
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 7px;
  font-size: .78rem;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 900;
}

.article-toc a:hover {
  color: var(--brand);
}

.article-share {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-share > span {
  flex-basis: 100%;
  margin-bottom: 2px;
}

.article-share a,
.article-share button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-soft);
  display: inline-grid;
  place-items: center;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.article-share a:hover,
.article-share button:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.related-section {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.related-grid .card {
  box-shadow: 0 8px 24px rgb(15 23 42 / 7%);
}

.info-box,
.warning-box {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  background: var(--brand-soft);
  font-family: var(--font-ui);
  font-size: .94rem;
}

.warning-box {
  border-color: var(--accent);
  background: #fff7ed;
}

.table-wrap {
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: .9rem;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  color: #fff;
  background: var(--brand);
}

.sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 20px;
}

.widget {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.widget h2,
.widget h3 {
  margin: 0 0 13px;
  font-size: 1.05rem;
}

.widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 16px 0;
  border: 0;
  color: var(--text);
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  color: var(--muted);
}

.ad-slot {
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  overflow: hidden;
  text-align: center;
}

.ad-slot[hidden] {
  display: none !important;
}

.ad-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.pagination .current {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.site-footer {
  margin-top: 64px;
  padding: 54px 0 24px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
}

.footer-grid h2,
.footer-grid h3 {
  margin-top: 0;
  color: #fff;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: #cbd5e1;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: #94a3b8;
  font-size: .82rem;
}

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: var(--accent);
}

@media (max-width: 1180px) {
  .article-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .article-layout > .sidebar {
    grid-column: 2;
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-left-rail,
  .article-layout > .sidebar {
    grid-column: auto;
    position: static;
  }

  .article-left-rail {
    order: 2;
  }

  .article-layout > .article {
    order: 1;
  }

  .article-layout > .sidebar {
    order: 3;
  }

  .article-toc {
    max-height: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container,
  .article-layout {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    inset: 76px 14px auto;
    display: none;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .hero {
    padding: 54px 0;
  }

  .hero-grid {
    gap: 30px;
  }

  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 46px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .article-layout {
    margin-block: 24px;
  }

  .article-content {
    padding: 24px 20px;
  }

  .article-layout > .sidebar {
    grid-template-columns: 1fr;
  }

  .article-left-rail {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Ajustes solicitados: marca e preferências de cookies */
.logo{display:inline-flex;align-items:center;gap:9px}.logo-mark{width:30px;height:30px;flex:none;color:var(--brand)}.logo span{white-space:nowrap}.cookie-banner{position:fixed;right:20px;bottom:20px;z-index:200;width:min(460px,calc(100% - 40px));padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.cookie-banner h2{margin:0 0 8px;font-size:1.08rem}.cookie-banner p{margin:0 0 12px;color:var(--muted);font-size:.9rem;line-height:1.55}.cookie-policy a{font-weight:800;color:var(--brand)}.cookie-actions{display:flex;flex-wrap:wrap;gap:10px}.cookie-actions button{min-height:40px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font-weight:800;cursor:pointer}.cookie-actions .cookie-accept{border-color:var(--brand);background:var(--brand);color:#fff}.cookie-preferences{display:inline-flex;margin-top:12px;border:0;background:transparent;color:#cbd5e1;text-decoration:underline;cursor:pointer}@media(max-width:760px){.logo-mark{width:27px;height:27px}.cookie-banner{right:14px;bottom:14px;width:calc(100% - 28px)}}

/* Ajustes solicitados: marca e preferências de cookies */
.logo{display:inline-flex;align-items:center;gap:9px}.logo-mark{width:30px;height:30px;flex:none;color:var(--brand)}.logo span{white-space:nowrap}.cookie-banner{position:fixed;right:20px;bottom:20px;z-index:200;width:min(460px,calc(100% - 40px));padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.cookie-banner h2{margin:0 0 8px;font-size:1.08rem}.cookie-banner p{margin:0 0 12px;color:var(--muted);font-size:.9rem;line-height:1.55}.cookie-policy a{font-weight:800;color:var(--brand)}.cookie-actions{display:flex;flex-wrap:wrap;gap:10px}.cookie-actions button{min-height:40px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font-weight:800;cursor:pointer}.cookie-actions .cookie-accept{border-color:var(--brand);background:var(--brand);color:#fff}.cookie-preferences{display:inline-flex;margin-top:12px;border:0;background:transparent;color:#cbd5e1;text-decoration:underline;cursor:pointer}@media(max-width:760px){.logo-mark{width:27px;height:27px}.cookie-banner{right:14px;bottom:14px;width:calc(100% - 28px)}}

/* Ajustes solicitados: marca e preferências de cookies */
.logo{display:inline-flex;align-items:center;gap:9px}.logo-mark{width:30px;height:30px;flex:none;color:var(--brand)}.logo span{white-space:nowrap}.cookie-banner{position:fixed;right:20px;bottom:20px;z-index:200;width:min(460px,calc(100% - 40px));padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.cookie-banner h2{margin:0 0 8px;font-size:1.08rem}.cookie-banner p{margin:0 0 12px;color:var(--muted);font-size:.9rem;line-height:1.55}.cookie-policy a{font-weight:800;color:var(--brand)}.cookie-actions{display:flex;flex-wrap:wrap;gap:10px}.cookie-actions button{min-height:40px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font-weight:800;cursor:pointer}.cookie-actions .cookie-accept{border-color:var(--brand);background:var(--brand);color:#fff}.cookie-preferences{display:inline-flex;margin-top:12px;border:0;background:transparent;color:#cbd5e1;text-decoration:underline;cursor:pointer}@media(max-width:760px){.logo-mark{width:27px;height:27px}.cookie-banner{right:14px;bottom:14px;width:calc(100% - 28px)}}

/* Ajustes solicitados: marca e preferências de cookies */
.logo{display:inline-flex;align-items:center;gap:9px}.logo-mark{width:30px;height:30px;flex:none;color:var(--brand)}.logo span{white-space:nowrap}.cookie-banner{position:fixed;right:20px;bottom:20px;z-index:200;width:min(460px,calc(100% - 40px));padding:22px;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.cookie-banner h2{margin:0 0 8px;font-size:1.08rem}.cookie-banner p{margin:0 0 12px;color:var(--muted);font-size:.9rem;line-height:1.55}.cookie-policy a{font-weight:800;color:var(--brand)}.cookie-actions{display:flex;flex-wrap:wrap;gap:10px}.cookie-actions button{min-height:40px;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font-weight:800;cursor:pointer}.cookie-actions .cookie-accept{border-color:var(--brand);background:var(--brand);color:#fff}.cookie-preferences{display:inline-flex;margin-top:12px;border:0;background:transparent;color:#cbd5e1;text-decoration:underline;cursor:pointer}@media(max-width:760px){.logo-mark{width:27px;height:27px}.cookie-banner{right:14px;bottom:14px;width:calc(100% - 28px)}}

/* Institucional: largura de leitura e contato */
.institutional-layout{width:min(calc(100% - 40px),960px);grid-template-columns:minmax(0,1fr);justify-content:center}.institutional-layout .article{width:100%}.institutional-layout .article-content{max-width:none;padding:clamp(30px,5vw,58px)}.institutional-layout .article-content section+section{margin-top:38px}.contact-form{display:grid;gap:16px;margin-top:22px}.contact-form label{display:grid;gap:7px;font-weight:800;color:var(--text)}.contact-form input,.contact-form textarea{width:100%;border:1px solid var(--border);border-radius:10px;padding:12px;font:inherit;color:var(--text);background:#fff}.contact-form textarea{resize:vertical}.contact-form .button{justify-self:start;border:0;cursor:pointer}.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}@media(max-width:760px){.institutional-layout{width:min(calc(100% - 28px),960px)}.institutional-layout .article-content{padding:28px 20px}}

/* Aviso de cookies normalizado */
.cookie-banner{max-width:460px}.cookie-preferences{display:inline-block!important;margin:0!important;color:var(--brand)!important;font-weight:800;text-decoration:underline;background:transparent}.cookie-policy{margin-bottom:16px!important}@media(max-width:760px){.cookie-banner{max-width:none}}
