:root {
  --ink: #061B33;
  --muted: #5d6875;
  --line: #d8dee6;
  --paper: #f7f8fa;
  --white: #ffffff;
  --brand: #061B33;
  --brand-2: #C79A4B;
  --soft: #f2eadc;
  --black: #111111;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, iframe { max-width: 100%; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(6,27,51,.96); border-bottom: 1px solid rgba(199,154,75,.38); backdrop-filter: blur(10px); }
.wrap { margin: 0 auto; max-width: 1180px; padding-left: 22px; padding-right: 22px; }
.nav { align-items: center; display: flex; gap: 22px; justify-content: space-between; padding-bottom: 14px; padding-top: 14px; }
.brand { align-items: center; color: var(--white); display: inline-flex; font-weight: 800; gap: 10px; }
.brand-logo { display: block; height: 56px; max-width: 240px; object-fit: contain; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--white); font-weight: 650; }
.menu a:hover { color: var(--brand-2); }
.button, .wp-block-button__link { background: var(--brand); border-radius: 7px; color: #fff; display: inline-flex; font-weight: 750; justify-content: center; min-height: 44px; padding: 10px 16px; }
.button:hover, .wp-block-button__link:hover { background: #092744; color: #fff; text-decoration: none; }
.button-outline { border: 1px solid var(--brand); border-radius: 7px; color: var(--brand); display: inline-flex; font-weight: 750; min-height: 44px; padding: 10px 16px; }
.hero { background: linear-gradient(90deg, rgba(6,27,51,.92), rgba(6,27,51,.62)), url("../brand/hero-firmitas-rio.png") center / cover; color: #fff; min-height: 500px; }
.hero .wrap { display: grid; min-height: 500px; padding-bottom: 80px; padding-top: 80px; place-items: center start; }
.hero-content { max-width: 800px; }
.eyebrow { color: var(--brand-2); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hero .eyebrow { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.16; margin: 0 0 14px; }
h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 760px; }
.section { padding-bottom: 64px; padding-top: 64px; }
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .article-body { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.tag { background: var(--soft); border-radius: 999px; color: var(--brand); display: inline-flex; font-size: .78rem; font-weight: 800; margin-bottom: 12px; padding: 5px 9px; }
.meta { color: var(--muted); font-size: .92rem; }
.article-layout { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr) 310px; }
.article-body { padding: clamp(24px, 5vw, 48px); }
.video { aspect-ratio: 16/9; background: #101816; border-radius: 8px; margin: 24px 0; overflow: hidden; }
.video iframe { border: 0; height: 100%; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.article-footer-cta { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 22px; }
.article-footer-cta p { margin: 0 0 8px; }
.article-footer-cta a { color: var(--brand); font-weight: 800; }
.cta-box { background: var(--brand); border-radius: 8px; color: #fff; padding: 24px; }
.cta-box .button { background: #fff; color: var(--brand); }
.sidebar { align-self: start; display: grid; gap: 16px; position: sticky; top: 88px; }
.site-footer { background: var(--brand); color: #eaf0ed; margin-top: 54px; border-top: 3px solid var(--brand-2); }
.site-footer .wrap { display: grid; gap: 20px; grid-template-columns: 1.4fr 1fr 1fr; padding-bottom: 42px; padding-top: 42px; }
.site-footer a { color: #eaf0ed; }
@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .brand-logo { height: 46px; max-width: 210px; }
  .grid.three, .grid.two, .article-layout, .site-footer .wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
