:root {
  --black: #050505;
  --white: #fff;
  --paper: #f7f7fa;
  --ink: #090909;
  --muted: #67676c;
  --line: #dcdce1;
  --pad: clamp(24px, 5.8vw, 84px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { text-wrap: balance; orphans: 3; widows: 3; }
p, li, a { text-wrap: pretty; orphans: 3; widows: 3; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.page-shell, .container { width: 100%; }
.container { padding-inline: var(--pad); }
.icon { font-size: 1.1em; line-height: 1; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.site-header {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  color: var(--black);
  background: rgba(255, 255, 255, .7);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .55), 0 10px 32px rgba(0, 0, 0, .055);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .16) 52%, rgba(0, 0, 0, .1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.site-header.is-dark { color: var(--white); background: rgba(5, 5, 5, .64); }
.site-header.is-dark::before { background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .14)); }
.header-inner {
  position: relative;
  z-index: 3;
  min-height: 82px;
  display: grid;
  grid-template-columns: 290px 1fr auto;
  gap: 34px;
  align-items: center;
}
.brand { width: 278px; display: inline-flex; align-items: center; }
.brand img { width: 100%; height: auto; }
.site-header.is-dark .brand img { filter: invert(1); }
.desktop-nav { display: flex; justify-content: center; gap: 32px; }
.desktop-nav a { position: relative; padding: 9px 0; font-size: 13px; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }

.btn, .text-link, .square-link {
  position: relative;
  overflow: hidden;
}
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  transition: color .25s, background .25s, border-color .25s;
}
.btn-dark { color: var(--white); background: var(--black); }
.btn-dark:hover { color: var(--black); background: var(--white); border-color: var(--black); }
.btn-white { color: var(--black); background: var(--white); }
.btn-white:hover { color: var(--white); background: transparent; border-color: var(--white); }
.site-header.is-dark .btn-dark { color: var(--black); background: var(--white); }
.btn::before, .btn::after, .text-link::before, .text-link::after, .square-link::before, .square-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  pointer-events: none;
}
.btn::before, .text-link::before, .square-link::before { opacity: .2; }
.btn::after, .text-link::after, .square-link::after { transform: scaleX(0); transform-origin: left; transition: transform .42s var(--ease); }
.btn:hover::after, .text-link:hover::after, .square-link:hover::after { transform: scaleX(1); }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 8px; font-size: 13px; }
.menu-button { width: 44px; height: 44px; display: none; align-items: center; justify-content: center; border: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 22px; }

.mobile-menu {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  padding: 24px;
  grid-template-rows: auto 1fr auto;
  color: var(--white);
  background: var(--black);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.mobile-menu.open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu-top, .mobile-menu-foot { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-logo { width: 184px; height: auto; }
.mobile-nav { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mobile-nav a { padding: 13px 0; border-bottom: 1px solid #2d2d2f; font-size: clamp(30px, 10vw, 48px); line-height: 1; }
.mobile-menu-foot { color: #777; font-size: 10px; }

.page-hero { min-height: 510px; display: flex; align-items: flex-end; padding: 150px 0 72px; background: var(--white); }
.page-hero.dark { color: var(--white); background: var(--black); }
.page-hero h1 { max-width: 1020px; margin: 0; font-size: clamp(58px, 7vw, 104px); font-weight: 400; letter-spacing: -.06em; line-height: .92; }
.page-hero p { max-width: 690px; margin: 38px 0 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 23px); line-height: 1.38; }
.page-hero.dark p { color: #a1a1a6; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; color: var(--muted); font-size: 11px; }

.section { padding: 72px 0; }
.section.paper { background: var(--paper); }
.section.dark { color: var(--white); background: var(--black); }
.section-head { display: flex; justify-content: space-between; gap: 48px; align-items: flex-start; }
.section-head h2 { max-width: 760px; margin: 0; font-size: clamp(40px, 4.5vw, 64px); font-weight: 400; letter-spacing: -.05em; line-height: .98; }
.section-head p { max-width: 520px; margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.featured-card { display: grid; grid-template-columns: 1.15fr .85fr; margin-top: 48px; background: var(--black); color: var(--white); }
.featured-media { position: relative; min-height: 390px; background: #d7d7dc; }
.featured-media::after, .media-placeholder::after { content: "Imagem do artigo"; position: absolute; right: 18px; bottom: 16px; color: #88888d; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.featured-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 54px; }
.featured-copy h2 { margin: 0 0 28px; font-size: clamp(38px, 4vw, 58px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.featured-copy p { color: #a1a1a7; font-size: 13px; line-height: 1.55; }
.featured-copy .text-link { align-self: flex-start; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; margin-top: 58px; }
.article-card { display: flex; flex-direction: column; }
.media-placeholder { position: relative; width: 100%; aspect-ratio: 1.45 / 1; margin-bottom: 26px; background: #d7d7dc; }
.article-card time { margin-bottom: 14px; color: var(--muted); font-size: 10px; }
.article-card h2 { margin: 0 0 18px; font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.16; }
.article-card p { margin-bottom: 24px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.article-card .text-link { align-self: flex-start; margin-top: auto; }

.article-cover { min-height: 570px; background: #d7d7dc; }
.content-layout { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: clamp(70px, 10vw, 170px); align-items: start; }
.content-nav { position: sticky; top: 112px; }
.content-nav h2 { margin-bottom: 24px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.content-nav ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: section; }
.content-nav a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.content-nav a::before { counter-increment: section; content: "0" counter(section); color: #aaaab0; }
.content-nav a:hover { color: var(--black); }
.prose { max-width: 820px; }
.prose section { scroll-margin-top: 110px; padding-bottom: 54px; }
.prose section + section { padding-top: 54px; border-top: 1px solid var(--line); }
.prose h2 { margin: 0 0 28px; font-size: clamp(34px, 3.4vw, 50px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.prose h3 { margin: 34px 0 14px; font-size: 20px; }
.prose p, .prose li { color: #36363a; font-size: 15px; line-height: 1.75; }
.prose ul { display: grid; gap: 10px; padding-left: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.quote { margin: 34px 0; padding: 28px 30px; color: var(--white); background: var(--black); font-size: clamp(21px, 2.4vw, 32px); line-height: 1.24; }
.legal-note { margin-bottom: 46px; padding: 24px 26px; background: var(--paper); font-size: 12px; line-height: 1.55; }

.faq-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(60px, 9vw, 150px); align-items: start; }
.faq-categories { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 10px; }
.faq-categories a { padding: 10px 0; color: var(--muted); font-size: 12px; }
.faq-categories a:hover { color: var(--black); }
.faq-group { scroll-margin-top: 110px; margin-bottom: 58px; }
.faq-group > h2 { margin: 0 0 22px; font-size: 32px; font-weight: 400; letter-spacing: -.035em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 22px 0; border: 0; background: transparent; cursor: pointer; text-align: left; font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 720px; margin: 0; padding: 0 44px 26px 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 52px; background: var(--line); }
.sitemap-card { min-height: 340px; padding: 38px; background: var(--white); }
.sitemap-card h2 { margin: 0 0 30px; font-size: 28px; font-weight: 400; letter-spacing: -.035em; }
.sitemap-links { display: grid; gap: 22px; }
.sitemap-links a { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.sitemap-links strong { display: block; margin-bottom: 4px; font-size: 14px; }
.sitemap-links span { color: var(--muted); font-size: 10px; line-height: 1.4; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 50px; background: var(--line); }
.process-card { min-height: 260px; padding: 34px; background: var(--white); }
.process-card strong { display: block; margin-bottom: 48px; color: #c6c6cb; font-size: 36px; font-weight: 500; }
.process-card h2 { margin: 0 0 16px; font-size: 22px; font-weight: 500; }
.process-card p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.payment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.payment-card { min-height: 270px; padding: 34px; border: 1px solid #262628; }
.payment-card h3 { margin-bottom: 20px; font-size: 27px; font-weight: 400; }
.payment-card p { color: #9a9aa0; font-size: 12px; line-height: 1.6; }

.final-cta { min-height: 390px; display: flex; align-items: center; color: var(--white); background: var(--black); text-align: center; }
.final-cta .container { display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { max-width: 920px; margin-bottom: 36px; font-size: clamp(38px, 4.6vw, 66px); font-weight: 400; letter-spacing: -.05em; line-height: .98; }

.site-footer { color: var(--white); background: var(--black); }
.footer-main { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(70px, 10vw, 170px); padding-top: 70px; padding-bottom: 68px; }
.footer-brand img { width: min(390px, 100%); height: auto; }
.footer-brand p { max-width: 360px; margin: 28px 0 0; color: #929297; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.footer-col h2 { margin: 0 0 12px; color: #69696e; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a, .footer-col span { font-size: 12px; }
.footer-col a:hover { opacity: .58; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding-bottom: 28px; color: #65656a; font-size: 9px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .72s var(--ease), transform .72s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .header-inner { min-height: 72px; grid-template-columns: 1fr auto; }
  .brand { width: 180px; }
  .menu-button { display: inline-flex; }
  .page-hero { min-height: 430px; padding-top: 122px; padding-bottom: 58px; }
  .featured-card, .content-layout, .faq-layout { grid-template-columns: 1fr; }
  .featured-media { min-height: 320px; }
  .content-nav, .faq-categories { position: static; }
  .content-nav ol { grid-template-columns: 1fr 1fr; }
  .faq-categories { flex-direction: row; flex-wrap: wrap; margin-bottom: 20px; }
  .article-grid, .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 54px; }
  .footer-links { max-width: 700px; }
}

@media (max-width: 620px) {
  :root { --pad: 20px; }
  .header-inner { min-height: 68px; }
  .brand { width: 150px; }
  .menu-button { width: 40px; height: 40px; }
  .page-hero { min-height: 390px; padding-top: 118px; padding-bottom: 48px; }
  .page-hero h1 { font-size: 52px; }
  .page-hero p { margin-top: 28px; font-size: 16px; }
  .section { padding: 54px 0; }
  .section-head { flex-direction: column; gap: 22px; }
  .featured-card { margin-top: 38px; }
  .featured-media { min-height: 240px; }
  .featured-copy { padding: 30px 24px; }
  .article-grid, .sitemap-grid, .process-grid { grid-template-columns: 1fr; }
  .article-grid { gap: 38px; margin-top: 42px; }
  .article-cover { min-height: 340px; }
  .content-nav ol { grid-template-columns: 1fr; }
  .prose section { padding-bottom: 40px; }
  .prose section + section { padding-top: 40px; }
  .prose p, .prose li { font-size: 14px; }
  .faq-group { margin-bottom: 46px; }
  .faq-question { min-height: 74px; font-size: 18px; }
  .sitemap-card { min-height: 0; padding: 30px 24px; }
  .process-card { min-height: 0; }
  .payment-card { min-height: 0; padding: 28px 24px; }
  .final-cta { min-height: 350px; }
  .footer-main { padding-top: 56px; padding-bottom: 52px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
