/* ===== Tokens ===== */
:root {
  --navy: #1a2a3a;
  --navy-2: #233649;
  --navy-deep: #0f1c2a;
  --gold: #d4af37;
  --gold-soft: #e6c971;
  --ink: #2c2c2c;
  --ink-soft: #555;
  --muted: #777;
  --bg: #ffffff;
  --bg-soft: #f7f6f2;
  --bg-dark: #0f1c2a;
  --line: #e6e6e6;
  --pos: #2e7d32;
  --neg: #c62828;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max: 1180px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 28, 42, 0.08);
  --nav-height: 70px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.18;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 14px; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 14px;
}
.gold-eyebrow { color: var(--gold); }
.gold { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  padding: 8px 16px;
  font-size: 0.85rem;
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--nav-height);
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 58px;
  color: var(--navy);
}
.brand-logo {
  width: clamp(190px, 24vw, 270px);
  height: auto;
  transform: translateY(17px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 58px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.btn-ghost { color: var(--navy); }
.nav-links a.btn-ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

@media (max-width: 720px) {
  .nav-inner { min-height: 60px; padding: 6px 18px; }
  .nav-brand { height: 48px; }
  .brand-logo { width: min(210px, 52vw); height: auto; transform: translateY(13px); }
  .nav-links { min-height: 48px; }
  .nav-links a:not(.btn-ghost) { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: clamp(56px, 8svh, 88px) 0;
  scroll-margin-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(212, 175, 55, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(212, 175, 55, 0.10), transparent 60%),
    linear-gradient(180deg, #0f1c2a 0%, #1a2a3a 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
}
.hero-title {
  color: #fff;
  max-width: 880px;
  margin-bottom: 22px;
}
.hero-sub {
  max-width: 640px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
}
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.stat-value {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold);
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 42px 0; }
}

/* ===== Sections ===== */
.section {
  min-height: calc(100svh - var(--nav-height));
  padding: clamp(52px, 8svh, 88px) 0;
  display: flex;
  align-items: center;
  background: var(--bg);
  scroll-margin-top: var(--nav-height);
}
.section > .container {
  width: 100%;
}
.section-muted { background: var(--bg-soft); }
.section-dark {
  background: var(--navy);
  color: #fff;
}
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.7); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(28px, 5svh, 56px);
  text-align: center;
}
.section-sub {
  color: var(--muted);
  font-size: 1.02rem;
  margin-top: 10px;
}

/* ===== Sobre — grid ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.grid-2-aligned {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.prose p { font-size: 1.02rem; color: var(--ink-soft); }
.prose strong { color: var(--navy); }

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.pillar-icon {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.pillar h3 { margin-bottom: 6px; font-size: 1.05rem; }
.pillar p { font-size: 0.93rem; color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .grid-2, .grid-2-aligned { grid-template-columns: 1fr; gap: 36px; }
  .pillars { grid-template-columns: 1fr 1fr; }
}

/* ===== Performance — métricas ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}
.metric-value {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold);
}
.metric-value.pos { color: #7ee19a; }
.metric-value.neg { color: #ff8a80; }
.metric-bench {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 980px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .metrics-grid { grid-template-columns: 1fr; } }

/* ===== Monthly returns table ===== */
.monthly-returns-block {
  margin-bottom: 32px;
}
.monthly-returns-block h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.05rem;
}
.monthly-returns-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.monthly-returns-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums lining-nums;
}
.monthly-returns-table th {
  padding: 8px 7px;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.monthly-returns-table td {
  padding: 7px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
}
.monthly-returns-table .row-label {
  color: #fff;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.monthly-returns-table .positive { color: #7ee19a; }
.monthly-returns-table .negative { color: #ff8a80; }

/* ===== Chart ===== */
.chart-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px 20px 16px;
}
.chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.chart-block h3 { margin-bottom: 0; font-size: 1.05rem; }
.chart-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
}
.chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.chart-legend-line {
  width: 28px;
  height: 0;
  border-top: 2px solid currentColor;
}
.chart-legend-line-fund { color: var(--gold); }
.chart-legend-line-benchmark {
  color: #90a4ae;
  border-top-style: dashed;
}
.chart-wrap {
  position: relative;
  height: 360px;
}
@media (max-width: 720px) {
  .chart-heading { align-items: flex-start; flex-direction: column; }
  .chart-legend { justify-content: flex-start; }
  .chart-wrap { height: 280px; }
}

.performance-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Estratégias ===== */
.strategies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.strategy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.strategy:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.strategy-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}
.strategy h3 { color: var(--navy); margin-bottom: 8px; }
.strategy p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

@media (max-width: 980px) { .strategies { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .strategies { grid-template-columns: 1fr; } }

/* ===== Filosofia ===== */
.bullets {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.bullets li::before {
  content: "◆";
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  line-height: 1.7;
}

/* ===== CTA ===== */
.section-cta {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(212, 175, 55, 0.12), transparent 70%),
    var(--navy);
  color: #fff;
}
.section-cta h2 { color: #fff; }
.cta-card {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: center;
  text-align: left;
}
.cta-copy > p:not(.eyebrow):not(.cta-fineprint) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-fineprint {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.investment-info {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
}
.investment-info h3 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.25rem;
}
.investment-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
}
.investment-info-item {
  min-height: 88px;
  padding: 15px 16px;
  background: rgba(15, 28, 42, 0.82);
}
.investment-info-item-wide {
  grid-column: 1 / -1;
}
.investment-info dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}
.investment-info dd {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}
.investment-info-item-wide dd {
  color: var(--gold-soft);
  font-size: 1.22rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
  font-size: 0.85rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 32px;
  align-items: start;
}
.footer-brand {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.footer-contact a { color: var(--gold); }
.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: justify;
  color: rgba(255, 255, 255, 0.5);
}
.footer-seal {
  justify-self: end;
}
.footer-seal img {
  width: 111px;
  height: auto;
}
.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 860px) {
  .cta-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-seal { justify-self: start; }
  .footer-seal img { width: 111px; }
}

@media (max-width: 720px) {
  :root { --nav-height: 60px; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.35rem); }
  h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .section { padding: 40px 0; }
  .hero-sub,
  .section-sub,
  .prose p { font-size: 0.95rem; }
  .hero-sub { margin-bottom: 24px; }
  .hero-cta { margin-bottom: 32px; }
  .hero-stats { gap: 12px; padding-top: 20px; }
  .stat-value { font-size: 1.45rem; }
  .section-head { margin-bottom: 28px; }
  .metrics-grid { gap: 12px; margin-bottom: 32px; }
  .chart-wrap { height: 240px; }
  .strategies { gap: 12px; }
  .cta-actions { align-items: stretch; flex-direction: column; }
  .investment-info { padding: 18px; }
  .investment-info-grid { grid-template-columns: 1fr; }
  .investment-info-item { min-height: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 34px 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar,
  .strategy,
  .metric-card { padding: 18px; }
}

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