:root {
  --bg: #FFF8F3;
  --bg-soft: #FFF1E8;
  --surface: #FFFFFF;
  --ink: #1C2434;
  --muted: #5C6578;
  --line: #E8DFD6;
  --orange: #ED4E00;
  --orange-deep: #D44500;
  --shadow: 0 16px 40px rgba(28, 36, 52, 0.08);
  --display: "Fraunces", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1120px;
  --prose: 42rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.brand-mark { width: 36px; height: 36px; border-radius: 9px; }
.brand-name { font-weight: 800; letter-spacing: -0.03em; font-size: 1.05rem; }
.brand-name .ouro { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--orange-deep); }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.28);
}
.btn-primary:hover { background: var(--orange-deep); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.blog-hero {
  padding: 2.25rem 0 1.5rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.blog-hero .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.45rem;
}
.blog-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22ch;
}
.blog-hero p {
  margin-top: 0.55rem;
  color: var(--muted);
  max-width: 38rem;
  font-size: 0.95rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.25rem;
  align-items: start;
  padding: 1.75rem 0 3.5rem;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}
.blog-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 1.15rem 0;
  overflow: visible;
  box-shadow: none;
  transition: none;
}
.blog-card:first-child { padding-top: 0.35rem; }
.blog-card:last-child { border-bottom: 0; }
.blog-card:hover {
  transform: none;
  box-shadow: none;
}
.blog-card:hover h2 { color: var(--orange-deep); }
.blog-card-media {
  width: 120px;
  height: 80px;
  max-width: 120px;
  max-height: 80px;
  aspect-ratio: auto;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.blog-card-media img {
  width: 120px;
  height: 80px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  min-width: 0;
}
.blog-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
}
.blog-card .tag {
  color: var(--orange-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
}
.blog-card h2 {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.15s;
}
.blog-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-aside {
  position: sticky;
  top: 80px;
  display: grid;
  gap: 1.25rem;
}
.aside-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.05rem 1.1rem;
}
.aside-box h3 {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--orange-deep);
  margin-bottom: 0.85rem;
}
.aside-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  counter-reset: aside;
}
.aside-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
}
.aside-list li::before {
  counter-increment: aside;
  content: counter(aside);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.aside-list a {
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}
.aside-list a:hover { color: var(--orange-deep); }
.aside-cta p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}
.aside-cta .btn {
  width: 100%;
  font-size: 0.88rem;
  padding: 0.7rem 1rem;
}

.article-wrap {
  width: min(100% - 2rem, var(--prose));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}
.article-wrap .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.article-wrap .tag { color: var(--orange-deep); }
.article-wrap h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.article-wrap .lede {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 1.25rem;
}
.article-hero {
  margin: 0 0 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  width: min(100%, 220px);
  float: right;
  margin-left: 1.25rem;
  clear: right;
}
.article-hero img {
  width: 220px;
  height: 132px;
  max-width: 100%;
  max-height: 132px;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
}
.article-hero figcaption {
  padding: 0.4rem 0.55rem 0.5rem;
  font-size: 0.68rem;
  color: var(--muted);
  background: var(--surface);
  line-height: 1.35;
}
.article-wrap::after {
  content: "";
  display: table;
  clear: both;
}
.data-box {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--orange);
}
.data-box p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.data-box strong { color: var(--ink); }
.sources {
  margin-top: 2rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: var(--bg-soft, #FFF1E8);
  border: 1px solid var(--line);
}
.sources h2 { margin-top: 0; font-size: 1.1rem; }
.sources ol {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.sources li { margin-bottom: 0.55rem; }
.sources a, a.inline {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-wrap a.inline {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sources {
  margin-top: 2rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.sources h2 {
  margin-top: 0;
  font-size: 1.1rem;
}
.sources ol {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.sources li { margin-bottom: 0.45rem; }
.sources a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.data-box {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border-left: 4px solid var(--orange);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-left-width: 4px;
  border-left-color: var(--orange);
}
.data-box p {
  margin: 0;
  font-size: 0.95rem;
}
.data-box strong { color: var(--ink); }
.article-wrap h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 1.75rem 0 0.65rem;
  letter-spacing: -0.02em;
}
.article-wrap p,
.article-wrap li {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.article-wrap ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.article-wrap li { margin-bottom: 0.45rem; }
.article-wrap strong { color: var(--ink); }
.article-cta {
  margin-top: 2.25rem;
  padding: 1.35rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(148deg, #FF8F58 0%, #FF6B35 48%, #ED4E00 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(255, 107, 53, 0.19);
}
.article-cta h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}
.article-cta .btn-primary {
  background: #fff;
  color: var(--orange-deep);
  box-shadow: none;
}
.article-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--surface);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.footer-links a:hover { color: var(--orange); }
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 52rem;
  margin-bottom: 0.75rem;
}
.footer-copy { font-size: 0.82rem; color: var(--muted); }

.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.35rem;
  z-index: 45;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(28, 36, 52, 0.1);
  color: #25D366;
}
.wa-float svg { width: 24px; height: 24px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav .nav-cta { display: none; }
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .blog-aside { position: static; }
  .blog-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.65rem;
  }
  .blog-card-media,
  .blog-card-media img {
    width: 96px;
    height: 64px;
    max-width: 96px;
    max-height: 64px;
  }
  .blog-card h2 { font-size: 0.92rem; }
  .blog-card p { display: none; }
  .article-hero {
    float: none;
    width: 100%;
    max-width: 200px;
    margin-left: 0;
  }
  .article-hero img {
    width: 100%;
    height: 120px;
    max-height: 120px;
  }
}
