:root {
  --ink: #0b0f0d;
  --ink-2: #151b18;
  --paper: #f3f1e9;
  --paper-2: #e8e5dc;
  --white: #fffef8;
  --acid: #caff3d;
  --line-dark: rgba(255,255,255,.14);
  --line-light: rgba(11,15,13,.18);
  --muted: #9ba39f;
  --max: 1240px;
}

/* Newsroom refresh: compact, softer and easier to scan. */
.home-page .news-reference {
  margin-top: 18px;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(8,122,73,.11);
  border-radius: 32px;
  background: linear-gradient(145deg, #eef8f2 0%, #f8fbf9 52%, #edf6f0 100%);
  box-shadow: 0 24px 60px rgba(7,40,24,.07);
}
.home-page .hero-reference {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 22px 55px rgba(7,18,13,.14);
}
.home-page .news-toolbar { margin-bottom: 1rem; }
.home-page .news-toolbar h2 { font-size: clamp(1.85rem, 2.35vw, 2.95rem); }
.home-page .news-reference .news-grid {
  min-height: 0;
  grid-template-rows: repeat(2, 250px);
  gap: 16px;
}
.home-page .news-reference .news-card,
.home-page .news-reference .news-card-featured {
  min-height: 0;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(7,40,24,.08);
}
.home-page .news-reference .news-card-featured {
  min-height: 516px;
}
.home-page .news-reference .news-card:not(.news-card-featured) {
  grid-template-columns: minmax(118px, 38%) minmax(0, 62%);
  grid-template-rows: 1fr;
  background: #fff;
}
.home-page .news-reference .news-card:not(.news-card-featured) .news-card-image {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-right: 1px solid rgba(7,18,13,.08);
  object-position: center;
}
.home-page .news-reference .news-card:not(.news-card-featured) a {
  grid-column: 2;
  grid-row: 1;
  padding: 1.15rem;
}
.home-page .news-reference .news-card:not(.news-card-featured) h3 {
  margin: .65rem 0 .45rem;
  font-size: clamp(1rem, 1.12vw, 1.25rem);
  line-height: 1.1;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.home-page .news-reference .news-card:not(.news-card-featured) p {
  margin-bottom: .7rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .75rem;
  line-height: 1.4;
}
.home-page .news-reference .news-card-featured h3 {
  max-width: 88%;
  margin-bottom: .75rem;
  font-size: clamp(2rem, 2.55vw, 3rem);
  line-height: 1.02;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
.home-page .news-reference .news-card-featured a { padding: 1.65rem; }
.home-page .news-reference .news-card-featured p {
  max-width: 72%;
  margin-bottom: .75rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: .9rem;
  line-height: 1.4;
}
.home-page .news-reference .read-more { border-radius: 999px; }

@media (max-width: 1180px) {
  .home-page .news-reference .news-grid { grid-template-rows: auto; }
  .home-page .news-reference .news-card-featured { min-height: 470px; }
  .home-page .news-reference .news-card:not(.news-card-featured) {
    min-height: 270px;
    grid-template-columns: 38% 62%;
    grid-template-rows: 1fr;
  }
  .home-page .news-reference .news-card:not(.news-card-featured) .news-card-image { grid-column: 1; grid-row: 1; }
  .home-page .news-reference .news-card:not(.news-card-featured) a { grid-column: 2; grid-row: 1; }
}

@media (max-width: 820px) {
  .home-page .hero-reference { border-radius: 22px; }
  .home-page .news-reference { width: calc(100% - 24px); padding: 22px; border-radius: 24px; }
  .home-page .news-reference .news-grid { grid-template-columns: 1fr; }
  .home-page .news-reference .news-card,
  .home-page .news-reference .news-card-featured { grid-column: 1; grid-row: auto; }
  .home-page .news-reference .news-card-featured { min-height: 420px; }
  .home-page .news-reference .news-card:not(.news-card-featured) { min-height: 240px; }
}

@media (max-width: 560px) {
  .home-page .hero-reference { border-radius: 18px; }
  .home-page .news-reference { padding: 16px; border-radius: 20px; }
  .home-page .news-reference .news-card,
  .home-page .news-reference .news-card-featured { border-radius: 18px; }
  .home-page .news-reference .news-card-featured { min-height: 390px; }
  .home-page .news-reference .news-card:not(.news-card-featured) {
    min-height: 360px;
    grid-template-columns: 1fr;
    grid-template-rows: 150px 1fr;
  }
  .home-page .news-reference .news-card:not(.news-card-featured) .news-card-image { grid-column: 1; grid-row: 1; border-right: 0; border-bottom: 1px solid rgba(7,18,13,.08); }
  .home-page .news-reference .news-card:not(.news-card-featured) a { grid-column: 1; grid-row: 2; }
  .home-page .news-reference .news-card-featured h3 { max-width: 100%; font-size: clamp(1.9rem, 9vw, 2.45rem); }
}

/* A tabela completa de cotações vive em uma página própria. */
.home-page .market-live { display: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--acid); color: var(--ink); padding: .8rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(11,15,13,.12); background: rgba(255,255,255,.97); box-shadow: 0 12px 30px rgba(11,15,13,.08); backdrop-filter: blur(16px); color: var(--ink); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(138,184,15,.72), transparent); opacity: .5; pointer-events: none; }
.header-inner { width: min(var(--max), calc(100% - 48px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; font-family: "Manrope", sans-serif; font-size: 1.15rem; font-weight: 500; text-decoration: none; letter-spacing: -.03em; }
.brand-wordmark { width: 178px; height: auto; flex: 0 0 auto; }
.main-nav { display: flex; align-items: center; gap: 2.15rem; }
.main-nav a { position: relative; color: #333b37; text-decoration: none; font-size: .9rem; font-weight: 700; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 2px; background: var(--acid); transition: right .2s ease; }
.main-nav a:not(.nav-cta):hover { color: var(--ink); }
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .78rem 1.05rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.whatsapp-cta { display: inline-flex; align-items: center; gap: .55rem; border-color: #25d366; border-radius: 999px; background: #25d366; color: #07150d !important; box-shadow: 0 8px 24px rgba(37,211,102,.18); }
.whatsapp-cta:hover { background: #35e676; border-color: #35e676; box-shadow: 0 10px 28px rgba(37,211,102,.34); transform: translateY(-2px); }
.whatsapp-icon { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; fill: currentColor; }
.whatsapp-cta .whatsapp-icon, .whatsapp-about .whatsapp-icon { fill: #fff; }
.nav-cta span { margin-left: .35rem; }
.nav-cta .whatsapp-icon { margin: 0; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(11,15,13,.25); border-radius: 999px; background: none; color: var(--ink); }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 6px auto; background: currentColor; transition: transform .2s ease; }

.hero { min-height: 570px; display: grid; grid-template-columns: 1.08fr .92fr; background: var(--ink); color: var(--white); }
.hero-copy { padding: clamp(3.2rem, 5vw, 5.2rem) max(32px, calc((100vw - var(--max))/2)) 3rem; padding-right: clamp(3rem, 6vw, 7rem); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: #b4bcb8; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--acid); }
.hero h1 { max-width: 760px; margin: 1.2rem 0 1.25rem; font-family: "Manrope", sans-serif; font-size: clamp(2.8rem, 4.25vw, 5rem); line-height: .96; letter-spacing: -.065em; font-weight: 700; }
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 0; color: #b4bcb8; font-size: clamp(1rem, 1.2vw, 1.18rem); }
.hero-actions { display: flex; gap: .9rem; margin-top: 1.8rem; }
.button { min-height: 52px; padding: 0 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 2.3rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: var(--ink); }
.button-ghost { border: 1px solid rgba(255,255,255,.28); color: var(--white); }
.button-ghost:hover { background: var(--white); color: var(--ink); }
.trust-list { margin: 2.5rem 0 0; padding-top: 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; border-top: 1px solid var(--line-dark); }
.trust-list div { padding-right: .6rem; }
.trust-list dt { color: var(--acid); font-family: "Manrope", sans-serif; font-size: 1.05rem; font-weight: 800; }
.trust-list dd { margin: .15rem 0 0; color: #8d9692; font-size: .72rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.hero-visual { position: relative; min-height: 570px; overflow: hidden; }
.hero-visual > img { height: 100%; object-fit: cover; filter: saturate(.55) contrast(1.08) brightness(.72); }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0, transparent 25%), linear-gradient(0deg, rgba(11,15,13,.86), transparent 60%); }
.hero-visual::after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.visual-top { position: absolute; top: 1.7rem; left: 2rem; right: 2rem; z-index: 1; display: flex; justify-content: space-between; color: white; font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.visual-top span:first-child { color: var(--acid); }
.visual-card { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; z-index: 1; padding: 1.4rem; background: rgba(11,15,13,.78); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(10px); }
.visual-card small { color: var(--acid); font-weight: 700; letter-spacing: .1em; }
.visual-card strong { display: block; margin-top: .5rem; font-family: "Manrope", sans-serif; font-size: 1.7rem; letter-spacing: -.04em; }
.visual-card p { margin: .15rem 0 0; color: #aeb5b2; }

.signal-strip { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.1); background: #080c0b; color: #d9dfdc; }
.ticker-track { width: max-content; display: flex; align-items: center; padding: .68rem 0; animation: ticker 30s linear infinite; }
.ticker-item { display: inline-flex; align-items: baseline; gap: .48rem; padding: 0 1.35rem; border-right: 1px solid rgba(255,255,255,.14); font-family: "DM Sans", Arial, sans-serif; font-size: .73rem; white-space: nowrap; }
.ticker-item b { color: #f2f5f3; font-size: .78rem; letter-spacing: .04em; }
.ticker-item small { color: #909a95; font-size: .72rem; }
.ticker-item i { font-style: normal; font-size: .72rem; font-weight: 800; }
.ticker-up { color: #20c985; }
.ticker-down { color: #f05d62; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .signal-strip div { animation: none; } }

.news-section, .learn-section, .about-section { padding: clamp(4.5rem, 7vw, 7rem) max(24px, calc((100vw - var(--max))/2)); }
.news-section { scroll-margin-top: 96px; background: #fff; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: end; margin-bottom: 2.2rem; }
.section-index { display: block; margin-bottom: 1rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.section-heading h2, .about-copy h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(2.5rem, 4vw, 4.6rem); line-height: 1; letter-spacing: -.06em; }
.section-heading > p { margin: 0 0 .45rem; color: #5e6762; font-size: 1rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.news-card { min-height: 300px; overflow: hidden; border: 1px solid rgba(11,15,13,.14); border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(11,15,13,.055); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.news-card a { height: 100%; min-height: inherit; padding: 1.5rem; display: flex; flex-direction: column; text-decoration: none; }
.news-card:hover { border-color: rgba(95,131,0,.45); background: #f8faf6; color: var(--ink); box-shadow: 0 18px 40px rgba(11,15,13,.1); transform: translateY(-4px); }
.news-card-featured { grid-column: span 2; background: linear-gradient(135deg, rgba(202,255,61,.2), #fff 54%); color: var(--ink); }
.news-card-featured:hover { background: linear-gradient(135deg, rgba(202,255,61,.3), #fff 58%); color: var(--ink); }
.news-card-featured a { padding: 2rem; }
.card-meta { display: flex; align-items: center; justify-content: flex-start; gap: .55rem; color: #526057; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card-meta::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #8fbe14; }
.card-meta span { padding: .38rem .62rem; border-radius: 999px; background: #edf2e9; }
.news-card-featured .card-meta, .news-card:hover .card-meta { color: #526057; }
.news-card h3 { margin: 2.5rem 0 1rem; max-width: 880px; font-family: "Manrope", sans-serif; font-size: clamp(1.35rem, 2vw, 2.1rem); line-height: 1.12; letter-spacing: -.04em; }
.news-card-featured h3 { margin-top: 3rem; font-size: clamp(2rem, 3.2vw, 3.7rem); }
.news-card p { max-width: 650px; margin: 0 0 1.2rem; color: #aeb6b1; }
.news-card-featured p { color: #5e6762; }
.read-more { width: fit-content; margin-top: auto; padding: .64rem .9rem; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .78rem; font-weight: 800; }
.read-more b { color: var(--acid); margin-left: .25rem; }
.source-note { max-width: 780px; margin: 1.1rem 0 0; color: #69716d; font-size: .75rem; }

.learn-section { background: var(--ink); color: var(--white); }
.section-heading-light > p { color: #9ba39f; }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.learn-card { border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: background .2s ease; }
.learn-card:hover { background: var(--ink-2); }
.learn-image { margin: 1rem 1rem 0; aspect-ratio: 4/3; overflow: hidden; background: #232b27; }
.learn-image img { height: 100%; object-fit: cover; filter: grayscale(.3) saturate(.65); transition: transform .45s ease, filter .45s ease; }
.learn-card:hover .learn-image img { transform: scale(1.035); filter: grayscale(0) saturate(.9); }
.learn-body { padding: 1.35rem 1.5rem 1.7rem; }
.learn-body > span { color: var(--acid); font-size: .68rem; font-weight: 800; letter-spacing: .11em; }
.learn-body h3 { margin: 1.1rem 0 .7rem; font-family: "Manrope", sans-serif; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.04em; }
.learn-body p { min-height: 50px; margin: 0 0 1.5rem; color: #99a19d; font-size: .92rem; }
.learn-body b { font-size: .8rem; }

.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about-photo { position: relative; min-height: 560px; }
.about-photo img { height: 100%; min-height: 560px; object-fit: cover; object-position: center; }
.photo-label { position: absolute; right: -1.2rem; bottom: 2rem; width: 180px; padding: 1.2rem; background: var(--acid); }
.photo-label span { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .1em; }
.photo-label b { display: block; margin-top: .35rem; font-family: "Manrope", sans-serif; font-size: 1.7rem; letter-spacing: -.04em; }
.about-copy h2 { max-width: 800px; }
.about-copy p { max-width: 720px; color: #505a54; font-size: 1.05rem; }
.about-copy p:first-of-type { margin-top: 2rem; }
.text-link { display: inline-flex; align-items: center; gap: 3rem; margin-top: 1.1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); text-decoration: none; font-weight: 800; }
.text-link:hover { color: #476300; border-color: var(--acid); }
.whatsapp-about { gap: .7rem; padding: .85rem 1.1rem; border: 0; border-radius: 999px; background: #25d366; color: #07150d; box-shadow: 0 8px 22px rgba(37,211,102,.2); }
.whatsapp-about:hover { border: 0; background: #1fc45b; color: #07150d; }
.whatsapp-about b { margin-left: 1.2rem; }

.closing-cta { min-height: 520px; padding: clamp(4rem, 8vw, 8rem) max(24px, calc((100vw - var(--max))/2)); display: grid; grid-template-columns: 1fr 2fr auto; gap: 2rem; align-items: center; background: var(--acid); }
.closing-cta > span { align-self: start; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.closing-cta h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(3.3rem, 6vw, 7rem); line-height: .88; letter-spacing: -.07em; }
.closing-cta h2 em { font-style: normal; color: #456000; }
.button-dark { align-self: end; background: var(--ink); color: var(--white); }

.site-footer { padding: 2.2rem max(24px, calc((100vw - var(--max))/2)); display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 2.5rem; align-items: start; border-top: 1px solid var(--line-light); background: #fff; color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand .brand-wordmark { width: 184px; }
.site-footer p { margin: 0; color: #59635e; font-size: .73rem; }
.site-footer > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; font-size: .72rem; }
.site-footer a { text-decoration: none; color: #5f8300; }

.article-page { padding: clamp(4rem, 8vw, 7rem) max(24px, calc((100vw - var(--max))/2)) 7rem; background: var(--paper); }
.article-shell { max-width: 980px; margin: 0 auto; }
.article-back { display: inline-flex; align-items: center; margin-bottom: 3rem; padding: .7rem 1rem; border: 1px solid rgba(11,15,13,.16); border-radius: 999px; background: #fff; color: #4f7000; box-shadow: 0 8px 20px rgba(11,15,13,.05); font-size: .82rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.article-back:hover { border-color: #8fbe14; box-shadow: 0 12px 24px rgba(11,15,13,.09); transform: translateY(-2px); }
.article-kicker { display: flex; align-items: center; gap: .7rem; color: #6f7a73; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.article-kicker span { width: 28px; height: 2px; background: var(--acid); }
.article-page h1 { max-width: 900px; margin: 1.4rem 0 1.25rem; font-family: "Manrope", sans-serif; font-size: clamp(3rem, 6vw, 6.6rem); line-height: .94; letter-spacing: -.07em; }
.article-deck { max-width: 720px; margin: 0; color: #5e6762; font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.45; }
.article-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line-light); color: #707873; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-hero-image { margin: 3.5rem 0 0; }
.article-hero-image img { width: 100%; max-height: 520px; object-fit: cover; filter: saturate(.7) contrast(1.04); }
.article-hero-image figcaption { margin-top: .65rem; color: #808983; font-size: .72rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(3rem, 8vw, 7rem); margin-top: 4rem; }
.article-content { max-width: 680px; }
.article-content p { color: #3f4943; font-size: 1.08rem; line-height: 1.75; }
.article-content .article-lead { color: var(--ink); font-size: 1.3rem; line-height: 1.55; }
.article-content h2 { margin: 3rem 0 .8rem; font-family: "Manrope", sans-serif; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.05em; }
.article-note { display: grid; gap: .25rem; margin: 2rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--acid); background: rgba(202,255,61,.17); }
.article-note strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.article-note span { color: #4f5a53; font-size: .88rem; line-height: 1.5; }
.article-source { margin-top: .8rem; }
.article-aside { align-self: start; padding: 1.4rem; border-top: 2px solid var(--acid); background: #fff; }
.article-aside .section-index { margin-bottom: 1.5rem; color: #6f7a73; }
.article-aside strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.5rem; line-height: 1.05; letter-spacing: -.04em; }
.article-aside p { margin: .85rem 0 0; color: #626c66; font-size: .9rem; line-height: 1.5; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 5.5rem 28px 3rem; }
  .hero-visual { min-height: 540px; }
  .trust-list { margin-top: 4rem; }
  .section-heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card-featured { grid-column: span 2; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
  .about-section { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .closing-cta { grid-template-columns: 1fr; }
  .closing-cta > span, .button-dark { align-self: auto; justify-self: start; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 720px) {
  body.menu-open { overflow: hidden; }
  .header-inner { width: calc(100% - 32px); min-height: 78px; }
  .menu-toggle { display: block; flex: 0 0 46px; width: 46px; height: 46px; border-color: rgba(11,15,13,.34); background: rgba(11,15,13,.03); cursor: pointer; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; min-height: calc(100dvh - 78px); max-height: calc(100dvh - 78px); overflow-y: auto; padding: .7rem 1rem 1.25rem; display: none; align-items: stretch; flex-direction: column; gap: 0; background: linear-gradient(180deg, #fff 0%, #f4f6f2 100%); border-top: 1px solid rgba(11,15,13,.15); box-shadow: 0 24px 44px rgba(11,15,13,.18); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.nav-cta) { display: flex; align-items: center; min-height: 54px; padding: .7rem .8rem; border-bottom: 1px solid rgba(11,15,13,.12); color: #18201c; font-size: .95rem; }
  .main-nav > a:not(.nav-cta):hover { color: var(--ink); }
  .main-nav > a:not(.nav-cta)::before { flex: 0 0 2.8rem; width: 2.8rem; color: #86b300; font-size: .82rem; font-weight: 900; letter-spacing: .05em; }
  .main-nav > a:nth-child(1)::before { content: "01"; }
  .main-nav > a:nth-child(2)::before { content: "02"; }
  .main-nav > a:nth-child(3)::before { content: "03"; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .main-nav .whatsapp-cta { display: flex; min-height: 54px; margin-top: 1rem; padding: .9rem 1rem; align-items: center; justify-content: center; gap: .55rem; text-align: center; font-size: .94rem; }
  .hero { min-height: auto; }
  .hero-copy { padding-top: 3.4rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .trust-list { gap: .6rem; }
  .trust-list dd { font-size: .62rem; }
  .hero-visual { min-height: 390px; }
  .visual-top, .visual-card { left: 1rem; right: 1rem; }
  .news-section, .learn-section, .about-section { padding-left: 20px; padding-right: 20px; }
  .news-grid, .learn-grid { grid-template-columns: 1fr; }
  .news-card-featured { grid-column: auto; }
  .news-card, .news-card a { min-height: 260px; }
  .news-card-featured h3 { font-size: 2.2rem; }
  .about-section { grid-template-columns: 1fr; }
  .about-photo, .about-photo img { min-height: 440px; }
  .photo-label { right: -.4rem; }
  .closing-cta { min-height: 520px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { grid-column: auto; grid-row: auto; }
  .site-footer > div:last-child { align-items: flex-start; }
  .article-page { padding-top: 3.2rem; padding-bottom: 4.5rem; }
  .article-back { margin-bottom: 2.2rem; }
  .article-meta { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .article-hero-image { margin-top: 2.5rem; }
  .article-layout { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; }
  .article-aside { max-width: 420px; }
}

@media (max-width: 440px) {
  .brand-wordmark { width: 158px; }
  .header-inner { width: calc(100% - 24px); }
  .main-nav { padding-left: .75rem; padding-right: .75rem; }
  .hero h1 { font-size: 3rem; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list div { display: grid; grid-template-columns: 60px 1fr; align-items: center; }
  .hero-visual { min-height: 420px; }
  .section-heading h2, .about-copy h2 { font-size: 2.7rem; }
  .closing-cta h2 { font-size: 3.6rem; }
}

/* Professional editorial redesign */
:root {
  --ink: #07120d;
  --ink-2: #0d1d15;
  --paper: #f4f7f3;
  --paper-2: #e8eee9;
  --white: #ffffff;
  --acid: #b8ff3d;
  --emerald: #00ad65;
  --line-light: rgba(7,18,13,.12);
  --max: 1180px;
}

body { background: #fff; }

.site-header { border-bottom-color: rgba(7,18,13,.09); box-shadow: 0 8px 30px rgba(7,18,13,.07); }
.site-header::after { display: none; }
.header-inner { min-height: 76px; }
.brand-wordmark { width: 188px; }
.main-nav { gap: 2rem; }
.main-nav a { color: #354039; font-size: .86rem; }
.nav-cta { min-height: 44px; padding: .68rem 1rem; }

.hero { min-height: 690px; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); background: var(--ink); }
.hero-copy { position: relative; overflow: hidden; padding-top: clamp(5.5rem, 8vw, 7.5rem); padding-bottom: 4rem; background: radial-gradient(circle at 18% 14%, rgba(184,255,61,.09), transparent 28%), linear-gradient(145deg, #07120d 0%, #0a1710 100%); }
.hero-copy::after { content: ""; position: absolute; width: 420px; height: 420px; right: -280px; bottom: -260px; border: 1px solid rgba(184,255,61,.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(184,255,61,.025), 0 0 0 140px rgba(184,255,61,.018); pointer-events: none; }
.eyebrow { color: #a8b4ad; font-size: .7rem; letter-spacing: .15em; }
.eyebrow span { width: 36px; background: var(--emerald); }
.hero h1 { max-width: 690px; margin: 1.4rem 0 1.5rem; font-size: clamp(3.5rem, 5.2vw, 5.8rem); line-height: .94; letter-spacing: -.07em; }
.hero h1 em { color: var(--acid); }
.hero-copy > p { max-width: 570px; color: #aeb9b2; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.65; }
.hero-actions { margin-top: 2rem; }
.button { min-height: 50px; padding: 0 1.25rem; gap: 1.7rem; font-size: .84rem; box-shadow: none; }
.button-primary { background: var(--acid); }
.button-primary:hover { background: #c7ff65; }
.button-ghost { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.025); }
.trust-list { position: relative; z-index: 1; margin-top: 4.2rem; padding-top: 1.5rem; gap: 1.4rem; }
.trust-list dt { color: var(--acid); font-size: 1rem; }
.trust-list dd { color: #7f8c84; font-size: .65rem; }

.hero-visual { min-height: 690px; }
.hero-visual > img { filter: saturate(.72) contrast(1.07) brightness(.64); transform: scale(1.02); }
.visual-shade { background: linear-gradient(90deg, rgba(7,18,13,.82), transparent 24%), linear-gradient(0deg, rgba(7,18,13,.92), transparent 62%); }
.hero-visual::after { opacity: .1; background-size: 56px 56px; }
.visual-top { top: 1.5rem; left: 1.5rem; right: 1.5rem; }
.visual-card { left: 1.5rem; right: 1.5rem; bottom: 1.5rem; padding: 1.35rem 1.4rem; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(6,16,11,.74); box-shadow: 0 18px 50px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
.visual-card small { color: var(--acid); font-size: .66rem; }
.visual-card strong { font-size: 1.55rem; }

.signal-strip { border-bottom-color: rgba(255,255,255,.08); background: #050a07; }
.ticker-track { padding: .62rem 0; animation-duration: 34s; }

.news-section, .learn-section, .about-section { padding-top: clamp(5.5rem, 8vw, 8rem); padding-bottom: clamp(5.5rem, 8vw, 8rem); }
.news-section { background: var(--paper); }
.section-heading { grid-template-columns: 1.12fr .68fr; gap: clamp(2.5rem, 7vw, 6rem); margin-bottom: 2.6rem; }
.section-index { width: max-content; margin-bottom: 1.1rem; padding: .38rem .65rem; border-radius: 999px; background: rgba(0,173,101,.09); color: #087146; font-size: .65rem; letter-spacing: .12em; }
.section-heading h2, .about-copy h2 { font-size: clamp(2.7rem, 4.25vw, 4.8rem); line-height: .96; }
.section-heading > p { max-width: 440px; color: #5b6861; line-height: 1.65; }

.news-grid { grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 0; border: 0; }
.news-card { grid-column: span 4; min-height: 280px; overflow: hidden; border: 1px solid rgba(7,18,13,.1); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(7,18,13,.045); transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease; }
.news-card:hover { transform: translateY(-4px); background: #fff; color: var(--ink); box-shadow: 0 18px 44px rgba(7,18,13,.1); }
.news-card-featured { grid-column: span 8; min-height: 360px; border-color: transparent; background: linear-gradient(145deg, #0a1811, #132a1d); color: #fff; box-shadow: 0 20px 52px rgba(7,18,13,.14); }
.news-card-featured:hover { background: linear-gradient(145deg, #0c1c14, #173222); color: #fff; }
.news-card a { padding: 1.5rem; }
.news-card-featured a { padding: 2rem; }
.card-meta { color: #6f7b74; font-size: .65rem; }
.card-meta::before { width: 28px; background: var(--emerald); }
.news-card-featured .card-meta, .news-card-featured:hover .card-meta { color: #9eaba3; }
.news-card h3 { margin: 3rem 0 1rem; font-size: clamp(1.3rem, 1.8vw, 1.8rem); line-height: 1.08; }
.news-card-featured h3 { max-width: 760px; margin-top: 4.2rem; font-size: clamp(2.35rem, 3.5vw, 3.9rem); }
.news-card p { color: #647069; }
.news-card-featured p { color: #a5b1aa; }
.read-more { color: #fff; }
.news-card-featured .read-more { color: #fff; }
.read-more b { color: var(--emerald); }
.source-note { margin-top: 1.4rem; }

.learn-section { background: linear-gradient(160deg, #07120d 0%, #0b1a12 100%); }
.section-heading-light .section-index { background: rgba(184,255,61,.1); color: var(--acid); }
.section-heading-light > p { color: #929e97; }
.learn-grid { gap: 16px; border: 0; }
.learn-card { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.025); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.learn-card:hover { transform: translateY(-5px); border-color: rgba(184,255,61,.3); background: rgba(255,255,255,.055); }
.learn-image { margin: 0; aspect-ratio: 16/10; }
.learn-image img { filter: saturate(.72) contrast(1.02); }
.learn-body { padding: 1.5rem; }
.learn-body > span { color: var(--acid); }
.learn-body h3 { font-size: 1.4rem; }
.learn-body p { color: #96a39b; }

.about-section { grid-template-columns: .86fr 1.14fr; background: #fff; }
.about-photo { min-height: 530px; overflow: hidden; border-radius: 24px; box-shadow: 0 24px 60px rgba(7,18,13,.12); }
.about-photo img { min-height: 530px; filter: saturate(.88) contrast(1.02); }
.photo-label { right: 1rem; bottom: 1rem; border-radius: 14px; background: rgba(184,255,61,.94); box-shadow: 0 12px 30px rgba(7,18,13,.16); }
.about-copy .section-index { margin-bottom: 1.5rem; }
.about-copy p { color: #55625b; line-height: 1.7; }
.whatsapp-about { transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-about:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,211,102,.28); }

.closing-cta { min-height: 470px; background: radial-gradient(circle at 84% 20%, rgba(255,255,255,.38), transparent 23%), linear-gradient(135deg, #c2ff4f 0%, #92e929 100%); }
.closing-cta h2 { max-width: 760px; font-size: clamp(3.4rem, 6vw, 6.8rem); line-height: .9; }
.closing-cta h2 em { color: #315000; }
.button-dark { box-shadow: 0 12px 28px rgba(7,18,13,.2); }

.site-footer { padding-top: 2.8rem; padding-bottom: 2.8rem; background: #fff; }
.site-footer p { max-width: 520px; line-height: 1.6; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; padding: 6rem 28px 3.4rem; }
  .hero-visual { min-height: 520px; }
  .news-card { grid-column: span 6; }
  .news-card-featured { grid-column: span 12; }
  .about-section { gap: 3.5rem; }
}

@media (max-width: 720px) {
  .header-inner { min-height: 74px; }
  .brand-wordmark { width: 162px; }
  .main-nav { top: 74px; min-height: calc(100dvh - 74px); max-height: calc(100dvh - 74px); }
  .hero-copy { min-height: auto; padding-top: 4.8rem; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.35rem); }
  .hero-visual { min-height: 450px; }
  .trust-list { margin-top: 3.5rem; }
  .news-card, .news-card-featured { grid-column: 1 / -1; min-height: 260px; }
  .news-card-featured { min-height: 340px; }
  .news-card-featured h3 { font-size: 2.25rem; }
  .learn-grid { gap: 14px; }
  .about-photo, .about-photo img { min-height: 430px; }
  .closing-cta { min-height: 470px; }
}

@media (max-width: 440px) {
  .brand-wordmark { width: 148px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  .visual-card { left: 1rem; right: 1rem; bottom: 1rem; }
  .section-heading h2, .about-copy h2 { font-size: 2.65rem; }
  .closing-cta h2 { font-size: 3.55rem; }
}

/* Reference-led market newsroom layout */
:root { --wide: 1540px; }

body { overflow-x: hidden; background: #fff; }
.header-inner { width: min(var(--wide), calc(100% - 64px)); max-width: none; }

.hero-reference {
  position: relative;
  width: min(var(--wide), calc(100% - 48px));
  min-height: 520px;
  margin: 0 auto;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #06130d;
  color: #fff;
  isolation: isolate;
}
.hero-reference-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(.82) contrast(1.08) brightness(.76);
  transform: scale(1.02);
}
.hero-reference-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(4,14,9,.98) 0%, rgba(4,14,9,.91) 34%, rgba(4,14,9,.38) 61%, rgba(4,14,9,.16) 100%), linear-gradient(0deg, rgba(4,14,9,.54), transparent 58%);
}
.hero-reference::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 48%, #000);
  pointer-events: none;
}
.hero-reference-content {
  width: min(720px, 58%);
  min-height: 520px;
  padding: clamp(4rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
  color: var(--acid);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 32px; height: 2px; background: var(--acid); }
.hero-reference h1 {
  max-width: 710px;
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero-reference h1 em { color: var(--acid); font-style: normal; }
.hero-reference-content > p {
  max-width: 640px;
  margin: 1.35rem 0 1.65rem;
  color: #d5ddd8;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.55;
}
.hero-reference .button-primary {
  min-width: 190px;
  justify-content: space-between;
  border: 0;
  color: #07120d;
}
.hero-mantra {
  position: absolute;
  right: clamp(2.5rem, 7vw, 7rem);
  bottom: 3rem;
  width: 190px;
  margin: 0;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,.38);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: .95rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-mantra span { display: block; width: 36px; height: 5px; margin-top: .85rem; border-radius: 99px; background: var(--acid); }

.news-reference {
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto;
  padding: 2.4rem 0 1.6rem;
  background: #fff;
}
.news-toolbar {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.4rem;
}
.news-toolbar h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.25rem, 3.15vw, 4rem);
  line-height: 1;
  letter-spacing: -.06em;
}
.news-toolbar h2 em { margin-left: .16em; color: #087a49; font-style: normal; }
.news-filters { display: flex; align-items: center; gap: .5rem; scrollbar-width: none; }
.news-filters::-webkit-scrollbar { display: none; }
.filter-chip {
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f1f4f2;
  color: #3c4841;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.filter-chip:hover { transform: translateY(-1px); background: #e5eee8; }
.filter-chip.is-active { background: #087a49; color: #fff; box-shadow: 0 8px 20px rgba(8,122,73,.16); }
.news-all-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #087a49;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.news-all-link:hover { color: #055e38; }

.news-reference .news-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(270px, 1fr));
  gap: 14px;
}
.news-reference .news-card {
  position: relative;
  grid-column: span 3;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(7,122,73,.18);
  border-radius: 16px;
  background: #f7faf8;
  color: var(--ink);
  box-shadow: none;
  isolation: isolate;
}
.news-reference .news-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(7,18,13,.1); }
.news-reference .news-card-featured {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 554px;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 40px rgba(7,18,13,.13);
}
.news-card-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(1.04);
  transition: transform .45s ease, filter .45s ease;
}
.news-card:hover .news-card-image { transform: scale(1.035); filter: saturate(1) contrast(1.05); }
.news-card-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(249,252,250,.99) 0%, rgba(249,252,250,.95) 50%, rgba(249,252,250,.16) 100%), linear-gradient(0deg, rgba(249,252,250,.86), transparent 72%);
}
.news-card-featured .news-card-shade {
  background: linear-gradient(90deg, rgba(4,15,10,.94) 0%, rgba(4,15,10,.75) 54%, rgba(4,15,10,.12) 100%), linear-gradient(0deg, rgba(4,15,10,.72), transparent 66%);
}
.news-reference .news-card a {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  padding: 1.35rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.news-reference .news-card-featured a { padding: 2rem; }
.news-reference .card-meta { color: #0a5c39; }
.news-reference .card-meta::before { display: none; }
.news-reference .card-meta span {
  padding: .4rem .7rem;
  border-radius: 999px;
  background: #aef4ce;
  color: #074b30;
  font-size: .65rem;
}
.news-reference .news-card-featured .card-meta span { background: var(--acid); color: #07120d; }
.news-reference .news-card h3 {
  max-width: 64%;
  margin: 2.2rem 0 .65rem;
  font-size: clamp(1.25rem, 1.5vw, 1.7rem);
  line-height: 1.05;
}
.news-reference .news-card p { max-width: 58%; margin: 0 0 1rem; color: #4d5a53; font-size: .85rem; line-height: 1.35; }
.news-reference .news-card-featured h3 {
  max-width: 72%;
  margin-top: auto;
  font-size: clamp(2.6rem, 4.25vw, 5.1rem);
  color: #fff;
}
.news-reference .news-card-featured p { max-width: 62%; color: #d5ddd8; font-size: 1.05rem; }
.news-reference .read-more {
  margin-top: auto;
  padding: .7rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #07120d;
  color: #fff;
}
.news-reference .read-more b { color: #fff; }
.news-reference .news-card-featured .read-more { border: 1px solid rgba(255,255,255,.4); background: rgba(7,18,13,.46); backdrop-filter: blur(12px); }
.news-reference .source-note { margin: 1rem 0 0; }
.news-reference .card-meta time {
  margin-left: auto;
  color: rgba(255,255,255,.74);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: none;
}
.news-reference .news-card:not(.news-card-featured) .card-meta time { color: #718078; }

.daily-news-dialog[hidden] { display: none; }
.daily-news-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.daily-news-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,12,8,.72);
  backdrop-filter: blur(8px);
}
.daily-news-dialog-card {
  position: relative;
  width: min(680px, 100%);
  max-height: min(680px, calc(100vh - 40px));
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 26px;
  background: #fff;
  color: #07120d;
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}
.daily-news-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7,18,13,.14);
  border-radius: 50%;
  background: #f5f8f6;
  color: #07120d;
  font: 500 1.55rem/1 Arial, sans-serif;
  cursor: pointer;
}
.daily-news-dialog-close:hover,
.daily-news-dialog-close:focus-visible { border-color: #0a9459; outline: none; }
.daily-news-dialog-meta {
  margin-bottom: 1.35rem;
  padding-right: 3rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #647269;
  font-size: .76rem;
  font-weight: 800;
}
.daily-news-dialog-meta span:first-child {
  padding: .42rem .7rem;
  border-radius: 999px;
  background: #caff3d;
  color: #07120d;
  text-transform: uppercase;
}
.daily-news-dialog-card h3 {
  margin: 0 0 1.25rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.daily-news-dialog-card > p {
  margin: 0 0 1.5rem;
  color: #4f5d55;
  font-size: 1.06rem;
  line-height: 1.7;
}
.daily-news-dialog-card small { color: #728078; font-size: .76rem; line-height: 1.45; }
.news-dialog-open { overflow: hidden; }

@media (max-width: 560px) {
  .daily-news-dialog { padding: 10px; align-items: end; }
  .daily-news-dialog-card { max-height: calc(100vh - 20px); padding: 1.35rem; border-radius: 22px; }
  .daily-news-dialog-card h3 { font-size: 1.9rem; }
  .daily-news-dialog-card > p { font-size: 1rem; }
}

/* Square newsroom treatment and expanded live stock board. */
main#conteudo { padding-top: 24px; }
.site-header {
  position: static;
  inset: auto;
  width: 100%;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(7,18,13,.08);
}
.header-inner { width: min(var(--wide), calc(100% - 48px)); }
.hero-reference,
.market-live,
.news-reference .news-card,
.news-reference .news-card-featured { border-radius: 0; }

.stock-board { border-top: 1px solid rgba(255,255,255,.1); background: #fff; color: #07120d; }
.stock-board-heading { padding: 1.15rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(7,18,13,.12); }
.stock-board-heading span:first-child { color: #087a49; font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.stock-board-heading h4 { margin: .15rem 0 0; font-family: "Manrope", sans-serif; font-size: 1.35rem; letter-spacing: -.035em; }
.stock-board-status { display: inline-flex; align-items: center; gap: .5rem; color: #5b6861; font-size: .72rem; font-weight: 700; }
.stock-board-status i { width: 8px; height: 8px; border-radius: 50%; background: #16bd6e; box-shadow: 0 0 0 5px rgba(22,189,110,.12); }
.stock-table-wrap { overflow-x: auto; }
.stock-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .79rem; }
.stock-table th, .stock-table td { padding: .82rem 1.1rem; border-bottom: 1px solid rgba(7,18,13,.09); text-align: right; white-space: nowrap; }
.stock-table thead th { background: #f3f6f4; color: #657168; font-size: .64rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.stock-table th:first-child { text-align: left; }
.stock-table tbody th { display: flex; align-items: baseline; gap: .65rem; }
.stock-table tbody th b { color: #07120d; font-size: .82rem; }
.stock-table tbody th span { color: #77827b; font-size: .67rem; font-weight: 800; }
.stock-table tbody tr:hover { background: #f6faf7; }
.stock-table .is-positive { color: #008b52; font-weight: 900; }
.stock-table .is-negative { color: #d23642; font-weight: 900; }

/* Give every story image enough space and preserve its natural focus. */
.news-reference .news-card:not(.news-card-featured) { grid-template-columns: 1fr; grid-template-rows: minmax(190px, 48%) 1fr; }
.news-reference .news-card:not(.news-card-featured) .news-card-image { grid-column: 1; grid-row: 1; width: 100%; border: 0; border-bottom: 1px solid rgba(7,18,13,.08); object-position: center 38%; filter: saturate(1.05) contrast(1.04); }
.news-reference .news-card:not(.news-card-featured) a { grid-column: 1; grid-row: 2; }
.news-card-image { image-rendering: auto; }

@media (max-width: 720px) {
  main#conteudo { padding-top: 16px; }
  .site-header { top: auto; left: auto; right: auto; border-radius: 0; }
  .header-inner { width: calc(100% - 24px); }
  .main-nav { top: 74px; left: 0; right: 0; border-radius: 0; }
  .main-nav > a:nth-child(1)::before { content: "01"; }
  .main-nav > a:nth-child(2)::before { content: "02"; }
  .main-nav > a:nth-child(3)::before { content: "03"; }
  .main-nav > a:nth-child(4)::before { content: "04"; }
  .stock-board-heading { align-items: flex-start; flex-direction: column; }
  .stock-table th, .stock-table td { padding: .75rem .85rem; }
}

/* Keep live-news headlines balanced even when the source publishes long titles. */
.news-reference .news-card-featured h3 {
  max-width: 86%;
  font-size: clamp(2.25rem, 3.35vw, 4rem);
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .news-reference .news-card-featured h3 {
    max-width: 100%;
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }
}

/* Final square layout: the header stays in document flow and never floats over content. */
body:has(> .site-header) { padding-top: 0; }
main#conteudo { padding-top: 24px; }
.site-header {
  position: static;
  inset: auto;
  width: 100%;
  margin: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(7,18,13,.08);
}
.site-header .header-inner { width: min(var(--wide), calc(100% - 48px)); }
.hero-reference,
.market-live,
.news-reference .news-card,
.news-reference .news-card-featured { border-radius: 0; }

/* Larger, uncropped editorial images on secondary stories. */
.news-reference .news-card:not(.news-card-featured) {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(190px, 48%) 1fr;
}
.news-reference .news-card:not(.news-card-featured) .news-card-image {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(7,18,13,.08);
  object-position: center 38%;
  filter: saturate(1.05) contrast(1.04);
}
.news-reference .news-card:not(.news-card-featured) a { grid-column: 1; grid-row: 2; }

@media (max-width: 720px) {
  main#conteudo { padding-top: 16px; }
  .site-header { margin: 0; border-radius: 0; }
  .site-header .header-inner { width: calc(100% - 24px); }
  .main-nav { top: 70px; left: 0; right: 0; border-radius: 0; }
  .main-nav > a:nth-child(1)::before { content: "01"; }
  .main-nav > a:nth-child(2)::before { content: "02"; }
  .main-nav > a:nth-child(3)::before { content: "03"; }
  .main-nav > a:nth-child(4)::before { content: "04"; }
}

/* Portrait supplied by the founder: preserve the face, laptop and headline. */
.about-photo img {
  object-position: center 42%;
}
.news-card[hidden] { display: none !important; }
.news-grid.is-filtered { min-height: auto; grid-template-rows: auto; }
.news-grid.is-filtered .news-card,
.news-grid.is-filtered .news-card-featured { grid-column: span 4; grid-row: auto; min-height: 340px; }
.news-grid.is-filtered .news-card h3,
.news-grid.is-filtered .news-card-featured h3 { max-width: 75%; font-size: clamp(1.55rem, 2vw, 2.2rem); }

.signal-strip-light {
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto 2rem;
  overflow: hidden;
  border: 1px solid rgba(0,173,101,.11);
  border-radius: 999px;
  background: #edfbf3;
  color: #17221c;
}
.signal-strip-light .ticker-track { padding: .85rem 0; animation-duration: 38s; }
.signal-strip-light .ticker-item { border-color: rgba(7,18,13,.16); }
.signal-strip-light .ticker-item small { color: #647069; }
.signal-strip-light .ticker-up { color: #008f55; }
.signal-strip-light .ticker-down { color: #df3333; }
.ticker-label { display: inline-flex; align-items: center; gap: .55rem; padding-left: 1.2rem; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.ticker-label > i { width: 9px; height: 9px; border-radius: 50%; background: #20cf72; }

.search-shortcut {
  width: 42px;
  height: 42px;
  margin-left: .2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(7,18,13,.12);
  color: var(--ink) !important;
}
.search-shortcut svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.main-nav a.search-shortcut::after { display: none; }
.search-shortcut:hover { color: #087a49 !important; }

.hero-reference + .signal-strip {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #050a07;
  color: #fff;
}
.hero-reference + .signal-strip .ticker-track { padding: .62rem 0; animation-duration: 34s; }

.news-card-image {
  image-rendering: auto;
  filter: saturate(1) contrast(1.03);
}
.news-reference .news-card:not(.news-card-featured) .news-card-image { object-position: 72% center; }
.news-card-shade {
  background: linear-gradient(90deg, rgba(249,252,250,.985) 0%, rgba(249,252,250,.91) 48%, rgba(249,252,250,.05) 100%), linear-gradient(0deg, rgba(249,252,250,.78), transparent 72%);
}

.about-actions {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.about-actions .whatsapp-about { margin-top: 0; }
.founder-signature { display: flex; align-items: flex-start; flex-direction: column; color: #233029; }
.founder-signature > span {
  display: block;
  transform: rotate(-3deg);
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.06em;
}
.founder-signature small {
  margin-top: .45rem;
  color: #66716b;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .news-toolbar { grid-template-columns: 1fr auto; }
  .news-filters { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; padding-bottom: .2rem; }
  .hero-reference-content { width: 66%; }
}

@media (max-width: 820px) {
  .header-inner { width: calc(100% - 32px); }
  .hero-reference { width: calc(100% - 24px); min-height: 600px; border-radius: 14px; }
  .hero-reference-image { object-position: 66% center; }
  .hero-reference-overlay { background: linear-gradient(90deg, rgba(4,14,9,.96), rgba(4,14,9,.64)), linear-gradient(0deg, rgba(4,14,9,.75), transparent 55%); }
  .hero-reference-content { width: 82%; min-height: 600px; padding: 4rem 2rem; }
  .hero-reference h1 { font-size: clamp(3.2rem, 10vw, 5rem); }
  .hero-mantra { display: none; }
  .news-reference { width: calc(100% - 32px); padding-top: 2.8rem; }
  .news-toolbar { grid-template-columns: 1fr; gap: 1.2rem; }
  .news-filters { grid-column: auto; grid-row: auto; order: 3; }
  .news-all-link { justify-self: start; }
  .news-reference .news-grid { min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .news-reference .news-card,
  .news-reference .news-card-featured { grid-column: span 1; grid-row: auto; min-height: 320px; }
  .news-reference .news-card-featured { grid-column: 1 / -1; min-height: 460px; }
  .news-reference .news-card h3 { max-width: 72%; }
  .news-grid.is-filtered .news-card,
  .news-grid.is-filtered .news-card-featured { grid-column: span 1; }
  .signal-strip-light { width: calc(100% - 24px); border-radius: 16px; }
  .about-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .hero-reference { min-height: 560px; }
  .hero-reference-content { width: 100%; min-height: 560px; padding: 4rem 1.35rem 2.2rem; justify-content: flex-end; }
  .hero-reference h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-reference-content > p { font-size: 1rem; }
  .news-reference { width: calc(100% - 24px); }
  .news-toolbar h2 { font-size: 2.45rem; }
  .news-filters { margin-right: -12px; padding-right: 12px; }
  .filter-chip { flex: 0 0 auto; }
  .news-reference .news-grid { grid-template-columns: 1fr; gap: 12px; }
  .news-reference .news-card,
  .news-reference .news-card-featured,
  .news-grid.is-filtered .news-card,
  .news-grid.is-filtered .news-card-featured { grid-column: 1; min-height: 340px; }
  .news-reference .news-card-featured { min-height: 440px; }
  .news-reference .news-card h3,
  .news-grid.is-filtered .news-card h3,
  .news-grid.is-filtered .news-card-featured h3 { max-width: 84%; }
  .news-reference .news-card-featured h3 { font-size: 2.45rem; }
  .news-reference .news-card p,
  .news-reference .news-card-featured p { max-width: 78%; }
  .main-nav .search-shortcut { display: none; }
  .founder-signature > span { font-size: 1.75rem; }
}

@media (max-width: 720px) {
  .main-nav .search-shortcut { display: none; }
}

/* Keep the about section readable on wider phones and small tablets. */
@media (max-width: 900px) {
  .about-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo,
  .about-photo img { min-height: 430px; }
  .about-copy h2 { max-width: 100%; }
}

/* Editorial footer */
.site-footer {
  padding: 0 max(24px, calc((100vw - var(--wide))/2));
  display: block;
  border-top: 1px solid rgba(7,18,13,.11);
  background: #fff;
  color: var(--ink);
}
.footer-main {
  min-height: 176px;
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(320px, 1.4fr) auto minmax(190px, .8fr);
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: center;
}
.footer-brand { display: inline-flex; align-items: center; width: fit-content; }
.footer-brand .brand-wordmark { width: 185px; height: auto; }
.footer-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 2.4vw, 3rem); }
.footer-nav a { color: #26312b; font-size: .82rem; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.footer-nav a:hover { color: #008f55; }
.footer-social { display: flex; align-items: center; gap: 1rem; }
.social-placeholder { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: #4e5a53; cursor: default; }
.social-placeholder svg { width: 20px; height: 20px; fill: currentColor; }
.social-placeholder .social-cutout { fill: #fff; stroke: none; }
.social-placeholder .social-cutout-fill { fill: currentColor; stroke: none; }
.social-text { font-size: 1.08rem; font-weight: 900; line-height: 1; }
.social-x { font-size: 1rem; }
.footer-meta { min-height: 70px; padding-left: clamp(1.4rem, 2.5vw, 3rem); display: flex; justify-content: center; flex-direction: column; gap: .35rem; border-left: 1px solid rgba(7,18,13,.17); }
.footer-meta span { color: #69736d; font-size: .68rem; }
.footer-meta strong { color: #4f5b54; font-size: .72rem; line-height: 1.45; }
.footer-bottom { padding: 1rem 0 1.2rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(7,18,13,.08); }
.site-footer .footer-bottom p { max-width: 720px; margin: 0; color: #768079; font-size: .65rem; line-height: 1.5; }
.footer-bottom a { flex: 0 0 auto; color: #527300; font-size: .68rem; font-weight: 800; text-decoration: none; }

@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr auto auto; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-bottom: 1.4rem; }
  .footer-meta { grid-column: 3; grid-row: 1; }
  .footer-social { grid-column: 2; grid-row: 1; }
}

@media (max-width: 640px) {
  .site-footer { padding-left: 20px; padding-right: 20px; }
  .footer-main { padding: 2.1rem 0 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1.6rem 1rem; }
  .footer-brand .brand-wordmark { width: 164px; }
  .footer-social { grid-column: 2; grid-row: 1; gap: .7rem; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; padding: 1.25rem 0; justify-content: space-between; gap: .8rem; border-top: 1px solid rgba(7,18,13,.09); border-bottom: 1px solid rgba(7,18,13,.09); }
  .footer-nav a { font-size: .75rem; }
  .footer-meta { grid-column: 1 / -1; grid-row: 3; min-height: auto; padding-left: 0; border-left: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .8rem; }
}

@media (max-width: 400px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-social { grid-column: 1; grid-row: 2; }
  .footer-nav { grid-row: 3; flex-wrap: wrap; justify-content: flex-start; gap: 1rem 1.5rem; }
  .footer-meta { grid-row: 4; }
}

/* Fixed floating navigation bar requested for the homepage. The existing WhatsApp
   button keeps its original dimensions, color and interaction styles. */
body:has(> .site-header) { padding-top: 0; }
main#conteudo { padding-top: 112px; }
.site-header {
  position: fixed;
  top: 18px;
  left: 24px;
  right: 24px;
  width: auto;
  border: 1px solid rgba(7,18,13,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 38px rgba(7,18,13,.12);
}
.header-inner { min-height: 94px; width: min(var(--wide), calc(100% - 72px)); }
.brand { gap: 0; }
.brand-wordmark {
  width: 320px;
}
.brand-tagline { margin: -1.1rem 0 0 6.1rem; color: #607067; font-size: .52rem; font-weight: 800; letter-spacing: .24em; white-space: nowrap; }
.main-nav > a:first-child { padding: .7rem 1.15rem; border-radius: 999px; background: #edfbf3; color: #009d5f; }
.main-nav > a:first-child::after { display: none; }

@media (max-width: 720px) {
  body:has(> .site-header) { padding-top: 0; }
  main#conteudo { padding-top: 94px; }
  .site-header { top: 10px; left: 12px; right: 12px; border-radius: 30px; }
  .header-inner { min-height: 74px; width: calc(100% - 24px); }
  .brand-wordmark { width: 205px; }
  .brand-tagline { display: none; }
  .main-nav { top: 84px; left: 12px; right: 12px; border-radius: 24px; }
}

@media (max-width: 440px) {
  .brand-wordmark { width: 190px; }
}

/* Live market panel */
.market-live {
  margin: 1.8rem 0 2rem;
  overflow: hidden;
  border: 1px solid rgba(7,18,13,.12);
  border-radius: 22px;
  background: #07120d;
  color: #fff;
  box-shadow: 0 16px 42px rgba(7,18,13,.09);
}
.market-live-head {
  padding: 1.1rem 1.25rem .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.market-live-heading { display: flex; align-items: center; gap: .8rem; }
.market-live-heading h3 { margin: 0; font-family: "Manrope", sans-serif; font-size: 1rem; letter-spacing: -.025em; }
.market-live-heading p { margin: .12rem 0 0; color: #91a098; font-size: .72rem; line-height: 1.35; }
.market-refresh {
  min-height: 36px;
  padding: 0 .85rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #eef5f1;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.market-refresh:hover { border-color: rgba(184,255,61,.55); background: rgba(184,255,61,.09); }
.market-refresh:disabled { cursor: wait; opacity: .72; }
.market-refresh svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.market-refresh.is-loading svg { animation: market-spin .8s linear infinite; }
.market-quotes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.market-quote {
  min-height: 96px;
  padding: 1.15rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem .8rem;
  align-content: center;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .3s ease;
}
.market-quote:last-child { border-right: 0; }
.market-quote.is-updated { background: rgba(184,255,61,.08); }
.market-symbol { grid-column: 1 / -1; color: #91a098; font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.market-price { color: #fff; font-family: "Manrope", sans-serif; font-size: 1.12rem; letter-spacing: -.03em; }
.market-change { align-self: center; font-size: .76rem; font-weight: 900; white-space: nowrap; }
.market-live .ticker-up { color: #32dc89; }
.market-live .ticker-down { color: #ff6464; }
.market-live-note { margin: 0; padding: .7rem 1.25rem; border-top: 1px solid rgba(255,255,255,.08); color: #7f8e86; font-size: .65rem; line-height: 1.4; }
@keyframes market-spin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .market-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-quote:nth-child(2) { border-right: 0; }
  .market-quote:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 480px) {
  .market-live { margin-top: 1.4rem; border-radius: 17px; }
  .market-live-head { align-items: flex-start; padding: 1rem; }
  .market-live-heading p { max-width: 180px; }
  .market-refresh { width: 36px; padding: 0; justify-content: center; }
  .market-refresh svg { width: 16px; height: 16px; }
  .market-refresh { font-size: 0; }
  .market-quote { min-height: 88px; padding: 1rem; }
  .market-price { font-size: 1rem; }
  .market-change { font-size: .69rem; }
  .market-live-note { padding: .7rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .market-refresh.is-loading svg { animation: none; }
}

/* Cleaner multi-market dashboard */
.market-live {
  margin: 1.8rem 0 2.2rem;
  border: 1px solid rgba(184,255,61,.14);
  border-radius: 24px;
  background: #07120d;
  color: #fff;
  box-shadow: 0 16px 38px rgba(3,12,8,.12);
}
.market-live-head {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
}
.market-live-heading { gap: .85rem; }
.market-live-eyebrow { display: block; margin-bottom: .08rem; color: var(--acid); font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.market-live-heading h3 { color: #fff; font-size: 1.05rem; }
.market-live-heading p { margin-top: .15rem; color: #829188; font-size: .75rem; }
.market-refresh {
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
  color: #eef5f1;
  box-shadow: none;
}
.market-refresh:hover { border-color: rgba(184,255,61,.45); background: rgba(184,255,61,.08); }
.market-quotes {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .65rem;
  padding: .75rem;
  background: transparent;
}
.market-quotes .market-quote {
  min-height: 138px;
  padding: 1rem;
  grid-template-columns: 1fr auto;
  gap: .35rem .6rem;
  align-content: start;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: #0b1812;
  box-shadow: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .3s ease;
}
.market-quotes .market-quote:hover { transform: translateY(-2px); border-color: rgba(184,255,61,.28); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.market-quotes .market-quote.is-updated { background: #12251a; }
.market-quote-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.market-type { padding: .22rem .48rem; border-radius: 999px; background: rgba(184,255,61,.09); color: var(--acid); font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.market-symbol { grid-column: auto; color: #bff075; font-size: .72rem; letter-spacing: .07em; }
.market-name { grid-column: 1 / -1; overflow: hidden; color: #829188; font-size: .72rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.market-price { margin-top: .35rem; color: #fff; font-size: 1.12rem; line-height: 1.15; }
.market-change { align-self: end; padding: .22rem .42rem; border-radius: 999px; background: rgba(255,255,255,.055); color: #87958d; font-size: .66rem; line-height: 1.2; }
.market-live .ticker-up { background: rgba(37,211,102,.11); color: #3ce290; }
.market-live .ticker-down { background: rgba(255,90,98,.1); color: #ff6e76; }
.market-live-note { padding: .72rem 1.25rem .85rem; border-top: 0; color: #6f7f76; font-size: .68rem; text-align: right; }

@media (max-width: 1100px) {
  .market-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .market-live { border-radius: 20px; }
  .market-live-head { align-items: center; padding: 1rem; }
  .market-quotes { display: flex; overflow-x: auto; gap: .65rem; padding: .7rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .market-quotes .market-quote { min-width: min(76vw, 245px); min-height: 130px; flex: 0 0 auto; padding: .9rem; scroll-snap-align: start; }
  .market-live-note { padding: .55rem 1rem .8rem; text-align: left; }
}

/* Compact market strip: preserves the original black, quiet presentation. */
.market-live {
  border-color: rgba(255,255,255,.09);
  border-radius: 20px;
  box-shadow: none;
}
.market-live-head { padding: .95rem 1.15rem .85rem; }
.market-live-heading { gap: .7rem; }
.market-live-eyebrow { display: none; }
.market-live-heading h3 { font-size: .98rem; }
.market-live-heading p { font-size: .7rem; }
.market-actions { display: flex; align-items: center; gap: .55rem; }
.market-carousel-controls { display: flex; align-items: center; gap: .3rem; }
.market-nav {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.045);
  color: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.market-nav:hover, .market-nav:focus-visible { border-color: rgba(184,255,61,.58); background: rgba(184,255,61,.1); color: var(--acid); outline: none; }
.market-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.market-refresh { min-height: 34px; padding-inline: .8rem; }
.market-quotes {
  display: flex;
  gap: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.market-quotes::-webkit-scrollbar { display: none; }
.market-quotes .market-quote {
  min-width: 215px;
  min-height: 94px;
  padding: .9rem 1.15rem;
  flex: 1 0 215px;
  align-content: center;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: start;
}
.market-quotes .market-quote:last-child { border-right: 0; }
.market-quotes .market-quote:hover { transform: none; border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.025); box-shadow: none; }
.market-quotes .market-quote.is-updated { background: rgba(184,255,61,.045); }
.market-quote-top { justify-content: flex-start; }
.market-type, .market-name { display: none; }
.market-symbol { color: #aab7b0; font-size: .68rem; }
.market-price { margin-top: .2rem; font-size: 1.05rem; }
.market-change { padding: 0; background: transparent; font-size: .7rem; }
.market-live .ticker-up, .market-live .ticker-down { background: transparent; }
.market-live-note { padding: .55rem 1.15rem .65rem; border-top: 1px solid rgba(255,255,255,.07); font-size: .64rem; text-align: left; }

@media (max-width: 720px) {
  .market-live { border-radius: 17px; }
  .market-live-head { padding: .9rem 1rem .8rem; }
  .market-actions { gap: .35rem; }
  .market-nav { width: 36px; height: 36px; }
  .market-quotes { padding: 0; gap: 0; }
  .market-quotes .market-quote { min-width: 180px; min-height: 88px; flex-basis: 180px; padding: .8rem 1rem; }
  .market-live-note { padding: .55rem 1rem .65rem; }
}

@media (max-width: 420px) {
  .market-live-heading p { max-width: 150px; }
  .market-refresh { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .market-quotes { scroll-behavior: auto; }
}

/* Editorial news cards: content-first layout with clear, topic-specific imagery. */
.news-reference .news-grid {
  grid-template-rows: repeat(2, minmax(300px, 1fr));
}
.news-reference .news-card:not(.news-card-featured) {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(125px, 42%);
  grid-template-rows: 1fr;
  border-color: rgba(7,18,13,.12);
  background: #fff;
}
.news-reference .news-card:not(.news-card-featured) .news-card-image {
  position: relative;
  inset: auto;
  z-index: 0;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.02);
  border-left: 1px solid rgba(7,18,13,.08);
}
.news-reference .news-card:not(.news-card-featured):hover .news-card-image {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.04);
}
.news-reference .news-card:not(.news-card-featured) .news-card-shade { display: none; }
.news-reference .news-card:not(.news-card-featured) a {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 100%;
  padding: 1.25rem;
  background: #fff;
}
.news-reference .news-card:not(.news-card-featured) .card-meta span {
  padding: .36rem .62rem;
  background: #e6f8ee;
  color: #087a49;
  font-size: .62rem;
}
.news-reference .news-card:not(.news-card-featured) h3 {
  max-width: 100%;
  margin: 1.1rem 0 .65rem;
  font-size: clamp(1.2rem, 1.45vw, 1.55rem);
  line-height: 1.08;
}
.news-reference .news-card:not(.news-card-featured) p {
  max-width: 100%;
  margin-bottom: 1rem;
  color: #5f6c65;
  font-size: .82rem;
  line-height: 1.45;
}
.news-reference .news-card:not(.news-card-featured) .read-more {
  padding: 0;
  gap: .45rem;
  border-radius: 0;
  background: transparent;
  color: #07120d;
  font-size: .76rem;
}
.news-reference .news-card:not(.news-card-featured) .read-more b {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #07120d;
  color: var(--acid);
  transition: transform .2s ease, background .2s ease;
}
.news-reference .news-card:not(.news-card-featured):hover .read-more b {
  transform: translateX(3px);
  background: #087a49;
}

@media (max-width: 1100px) {
  .news-reference .news-card:not(.news-card-featured) {
    grid-template-columns: 1fr;
    grid-template-rows: 155px 1fr;
  }
  .news-reference .news-card:not(.news-card-featured) .news-card-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    border-left: 0;
    border-bottom: 1px solid rgba(7,18,13,.08);
  }
  .news-reference .news-card:not(.news-card-featured) a {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 820px) {
  .news-reference .news-grid { grid-template-rows: auto; }
  .news-reference .news-card:not(.news-card-featured) { min-height: 390px; }
}

@media (max-width: 560px) {
  .news-reference .news-card:not(.news-card-featured) {
    min-height: 410px;
    grid-template-rows: 185px 1fr;
  }
  .news-reference .news-card:not(.news-card-featured) a { padding: 1.2rem; }
  .news-reference .news-card:not(.news-card-featured) h3 { font-size: 1.45rem; }
  .news-reference .news-card:not(.news-card-featured) p { font-size: .9rem; }
}

/* Learning cards refresh: brighter surfaces, stronger hierarchy, and clear actions. */
.learn-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.learn-card {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #f3f7f3;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
  transition: transform .25s ease, box-shadow .25s ease;
}
.learn-card::before {
  content: "01";
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.learn-card:nth-child(2)::before { content: "02"; }
.learn-card:nth-child(3)::before { content: "03"; }
.learn-card:hover {
  transform: translateY(-7px);
  border-color: transparent;
  background: #f7fbf7;
  box-shadow: 0 24px 58px rgba(0,0,0,.23);
}
.learn-image {
  flex: 0 0 228px;
  margin: 0;
  aspect-ratio: auto;
  background: #dce8df;
}
.learn-image img {
  filter: saturate(.9) contrast(1.04);
  transition: transform .55s ease, filter .55s ease;
}
.learn-card:hover .learn-image img {
  transform: scale(1.055);
  filter: saturate(1.06) contrast(1.04);
}
.learn-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.55rem 1.65rem 1.65rem;
}
.learn-body > span {
  color: #168354;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.learn-body h3 {
  max-width: 18ch;
  margin: 1rem 0 .7rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.35vw, 2.05rem);
  line-height: 1.02;
}
.learn-body p {
  min-height: 0;
  margin: 0;
  color: #5a6a61;
  font-size: .98rem;
  line-height: 1.5;
}
.learn-body b {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: .72rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .01em;
}
.learn-card:nth-child(2) { background: var(--acid); }
.learn-card:nth-child(2):hover { background: #d1ff72; }
.learn-card:nth-child(2) .learn-body > span { color: #3c5c00; }
.learn-card:nth-child(2) .learn-body p { color: #3d520f; }
.learn-card-renda-extra .learn-image { background: #f7f5ef; }
.learn-card-renda-extra::before { left: 1rem; right: auto; }
.learn-card-renda-extra .learn-image img {
  object-fit: cover;
  object-position: center;
  filter: saturate(1) contrast(1.01);
}
.learn-card-renda-extra:hover .learn-image img { filter: saturate(1.08) contrast(1.02); }

.learn-card.learn-card-art {
  min-height: 0;
  aspect-ratio: 820 / 1251;
  align-self: stretch;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: transparent;
}
.learn-card.learn-card-art::before { display: none; }
.learn-card.learn-card-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: scale(1.018);
  transition: transform .45s ease;
}
.learn-card.learn-card-art:hover > img { transform: scale(1.032); }

.article-hero-image-renda-extra { background: #f7f5ef; }
.article-hero-image-renda-extra img {
  max-height: 760px;
  object-fit: contain;
  object-position: center;
  background: #f7f5ef;
}

@media (max-width: 900px) {
  .learn-grid { gap: 16px; }
  .learn-card { min-height: 470px; }
}

@media (max-width: 720px) {
  .learn-grid { grid-template-columns: 1fr; gap: 16px; }
  .learn-card { min-height: 0; }
  .learn-image { flex-basis: 210px; }
  .learn-body h3 { max-width: 22ch; font-size: 1.85rem; }
}

/* Footer identity: supplied avatar and wordmark stay crisp on every viewport. */
.footer-brand-art {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  width: min(100%, 430px);
}
.footer-brand-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-brand-slogan { max-width: 390px; }

@media (max-width: 640px) {
  .footer-brand-slogan { max-width: 320px; }
}

/* One static, consistent navigation bar across the homepage and article pages. */
body:has(> .site-header) { padding-top: 0; }
main#conteudo { padding-top: 0; }
.site-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  margin: 14px 18px 24px;
  z-index: 1000;
  border: 1px solid rgba(7,18,13,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 38px rgba(7,18,13,.14);
  backdrop-filter: blur(18px);
}
.site-header .header-inner {
  width: min(var(--wide), calc(100% - 64px));
  min-height: 88px;
}
.site-header .brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 320px;
}
.site-header .brand-wordmark {
  content: url("./assets/sic-logo-horizontal-transparent.png");
  display: block;
  width: 320px;
  height: 72px;
  object-fit: contain;
}
.site-header .brand::after {
  content: "CONHECIMENTO QUE GERA LIBERDADE";
  margin-top: -15px;
  color: #607067;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .24em;
  white-space: nowrap;
}
.site-header .brand-tagline,
.site-header .brand-slogan,
.site-header .search-shortcut {
  display: none;
}

@media (max-width: 720px) {
  main#conteudo { padding-top: 0; }
  .site-header { top: auto; left: auto; right: auto; margin: 8px 10px 16px; border-radius: 28px; }
  .site-header .header-inner { width: calc(100% - 24px); min-height: 70px; }
  .site-header .brand { width: 205px; align-items: flex-start; }
  .site-header .brand-wordmark { width: 205px; height: 58px; }
  .site-header .brand::after { display: none; }
}

/* Final live-news sizing override: long headlines must stay inside the card. */
.news-reference .news-card-featured h3 {
  max-width: 86%;
  font-size: clamp(2.25rem, 3.35vw, 4rem);
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .news-reference .news-card-featured h3 {
    max-width: 100%;
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }
}

/* Final square layout: keep the navigation in flow and make market/news surfaces straight. */
body:has(> .site-header) { padding-top: 0; }
main#conteudo { padding-top: 24px; }
.site-header {
  position: static;
  inset: auto;
  width: 100%;
  margin: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(7,18,13,.08);
}
.site-header .header-inner { width: min(var(--wide), calc(100% - 48px)); }
.hero-reference,
.market-live,
.news-reference .news-card,
.news-reference .news-card-featured { border-radius: 0; }

/* Give each secondary story a full-width, higher-impact image. */
.news-reference .news-card:not(.news-card-featured) {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(190px, 48%) 1fr;
}
.news-reference .news-card:not(.news-card-featured) .news-card-image {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(7,18,13,.08);
  object-position: center 38%;
  filter: saturate(1.05) contrast(1.04);
}
.news-reference .news-card:not(.news-card-featured) a { grid-column: 1; grid-row: 2; }

@media (max-width: 720px) {
  main#conteudo { padding-top: 16px; }
  .site-header { margin: 0; border-radius: 0; }
  .site-header .header-inner { width: calc(100% - 24px); }
  .main-nav { top: 70px; left: 0; right: 0; border-radius: 0; }
  .main-nav > a:nth-child(1)::before { content: "01"; }
  .main-nav > a:nth-child(2)::before { content: "02"; }
  .main-nav > a:nth-child(3)::before { content: "03"; }
  .main-nav > a:nth-child(4)::before { content: "04"; }
}
