/* ============================================================
   MERIDIANO CAPITAL — folha de estilos compartilhada
   Identidade: azul-marinho profundo, cobre antigo, serif editorial
   ============================================================ */

:root {
  --navy: #0D1B2A;
  --navy-2: #10202f;
  --navy-deep: #08131e;
  --steel: #2E5D8E;
  --cream: #F5F0E8;
  --accent: #BE7F53;
  --accent-ink: #8A5533;
  --grid-line: color-mix(in srgb, #BE7F53 6%, transparent);
  --wm-font: 'Cormorant Garamond', serif;
  --text-font: 'Archivo', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); font-family: var(--text-font); color: var(--navy); }
::selection { background: var(--accent); color: var(--navy); }
a { color: inherit; text-decoration: none; }
section[id] { scroll-margin-top: 88px; }

.kicker { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.05; margin: 18px 0 0; }
.grid-texture { position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent 0 63px, var(--grid-line) 63px 64px),
                    repeating-linear-gradient(90deg, transparent 0 63px, var(--grid-line) 63px 64px); }

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--navy) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.18);
}
.site-header .inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 13px; color: var(--cream); }
.brand .wm { font-family: var(--wm-font); font-weight: 500; font-size: 21px; letter-spacing: 0.13em; line-height: 1; }
.brand .cap { font-size: 8px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--accent); margin-top: 4px; padding-left: 0.42em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: rgba(245,240,232,0.78); padding: 6px 0; position: relative; white-space: nowrap;
  transition: color 0.25s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent); transition: right 0.3s ease;
}
.nav a:hover, .nav a.active { color: var(--cream); }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(201,168,76,0.35); color: var(--accent); width: 44px; height: 44px; border-radius: 6px; font-size: 18px; cursor: pointer; }

/* ============ HERO (home) ============ */
.hero { position: relative; background: var(--navy); color: var(--cream); min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 140px 32px 100px; }
.hero-line { position: absolute; top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 35%, transparent) 20%, color-mix(in srgb, var(--accent) 55%, transparent) 50%, color-mix(in srgb, var(--accent) 35%, transparent) 80%, transparent); }
.hero .content { position: relative; text-align: center; max-width: 900px; }
.hero h1 { font-family: var(--wm-font); font-weight: 500; font-size: clamp(52px, 8vw, 92px); line-height: 0.98; letter-spacing: 0.06em; margin: 0; }
.hero .tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(20px, 2.6vw, 27px); color: rgba(245,240,232,0.82); margin: 44px auto 6px; max-width: 620px; line-height: 1.4; }
.hero .tagline-en { font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(245,240,232,0.5); }

/* ============ PAGE HERO (páginas internas) ============ */
.page-hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden;
  padding: 190px 32px 90px; }
.page-hero .container { position: relative; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(40px, 5.5vw, 64px); line-height: 1.02; margin: 18px 0 0; }
.page-hero p.sub { font-size: 16px; line-height: 1.7; color: rgba(245,240,232,0.65); max-width: 640px; margin: 26px 0 0; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 48px; padding: 15px 34px;
  border: 1px solid var(--accent); color: var(--accent); font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; font-weight: 600; transition: background 0.3s ease, color 0.3s ease;
  background: none; cursor: pointer; font-family: var(--text-font);
}
.btn:hover { background: var(--accent); color: var(--navy); }
.btn.on-light { color: var(--accent-ink); border-color: var(--accent-ink); }
.btn.on-light:hover { background: var(--accent-ink); color: var(--cream); }

.li-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; padding: 9px 16px; transition: background 0.25s ease, color 0.25s ease;
}
.li-btn svg { width: 13px; height: 13px; fill: currentColor; }
.li-btn:hover { background: var(--accent); color: var(--navy); }

/* ============ SEÇÕES ============ */
.section { padding: 120px 32px; position: relative; }
.container { max-width: 1160px; margin: 0 auto; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

.two-col { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.lead { font-size: 18px; line-height: 1.75; color: #33404d; margin: 0 0 24px; }
.lead strong { color: var(--navy); font-weight: 600; }
.lead em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 21px; color: var(--navy); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px;
  background: rgba(13,27,42,0.12); border: 1px solid rgba(13,27,42,0.12); }
.pillar { background: var(--cream); padding: 44px 38px; }
.pillar .num { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--accent); margin-bottom: 20px; }
.pillar h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 30px; margin: 0 0 4px; }
.pillar .en { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #7a8592; margin: 0 0 16px; }
.pillar p { font-size: 15px; line-height: 1.7; color: #4a5560; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 80px;
  background: rgba(201,168,76,0.25); border: 1px solid rgba(201,168,76,0.25); }
.stat { background: var(--navy); padding: 42px 38px; text-align: center; }
.stat .value { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 46px; color: var(--cream); line-height: 1; }
.stat .label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-top: 12px; }

/* ============ TIME ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.member { border: 1px solid rgba(201,168,76,0.22); background: rgba(255,255,255,0.02); padding: 40px 30px; text-align: center; display: flex; flex-direction: column; }
.member .avatar { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 34px; color: var(--cream);
  background: linear-gradient(160deg, #14263a, var(--navy)); position: relative; }
.member .avatar::after { content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 1px; background: color-mix(in srgb, var(--accent) 55%, transparent); }
.member h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 24px; margin: 0; color: var(--cream); }
.member .role { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 10px 0 16px; }
.member p { font-size: 13px; line-height: 1.65; color: rgba(245,240,232,0.6); margin: 0 0 22px; }
.member .li-btn { margin-top: auto; align-self: center; }

/* ============ FUNDOS ============ */
.funds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.fund {
  border: 1px solid rgba(13,27,42,0.15); background: #fff; display: flex; flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.fund:hover { border-color: var(--accent); box-shadow: 0 18px 44px -24px rgba(13,27,42,0.4); }
.fund .head { padding: 30px 32px 24px; border-bottom: 1px solid rgba(13,27,42,0.1); }
.fund .cat { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.fund h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 27px; line-height: 1.15; margin: 12px 0 0; color: var(--navy); }
.fund .body { padding: 24px 32px; flex: 1; }
.fund .body p { font-size: 14.5px; line-height: 1.7; color: #4a5560; margin: 0; }
.fund .meta { padding: 0 32px 26px; }
.fund .meta .row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(13,27,42,0.08); font-size: 13px; }
.fund .meta .row:last-child { border-bottom: none; }
.fund .meta .k { color: #7a8592; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; padding-top: 2px; }
.fund .meta .v { color: var(--navy); font-weight: 500; text-align: right; }
.fund .foot { padding: 20px 32px; border-top: 1px solid rgba(13,27,42,0.1); display: flex; gap: 22px; flex-wrap: wrap; }
.fund .foot a { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.fund .foot a:hover { color: var(--navy); }

/* teaser compacto de fundos na home */
.funds-teaser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px;
  background: rgba(201,168,76,0.25); border: 1px solid rgba(201,168,76,0.25); }
.fund-teaser { background: var(--navy); padding: 40px 36px; display: flex; flex-direction: column; transition: background 0.3s ease; }
.fund-teaser:hover { background: #14263a; }
.fund-teaser .cat { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.fund-teaser h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 25px; line-height: 1.15; margin: 14px 0 12px; color: var(--cream); }
.fund-teaser p { font-size: 13.5px; line-height: 1.65; color: rgba(245,240,232,0.6); margin: 0 0 20px; }
.fund-teaser .go { margin-top: auto; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* ============ ANÁLISES / BLOG ============ */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.post {
  border: 1px solid rgba(13,27,42,0.15); background: #fff; padding: 34px 32px; display: flex; flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.post:hover { border-color: var(--accent); box-shadow: 0 18px 44px -24px rgba(13,27,42,0.4); }
.post .tags { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.post .tag { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); border: 1px solid color-mix(in srgb, var(--accent-ink) 40%, transparent); padding: 4px 10px; }
.post .date { font-size: 11px; color: #9aa4ae; letter-spacing: 0.1em; }
.post h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 26px; line-height: 1.15; margin: 0 0 14px; color: var(--navy); }
.post p { font-size: 14px; line-height: 1.7; color: #4a5560; margin: 0 0 24px; }
.post .go { margin-top: auto; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.post.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; background: var(--navy); border-color: rgba(201,168,76,0.3); }
.post.featured h3 { color: var(--cream); font-size: 34px; }
.post.featured p { color: rgba(245,240,232,0.65); }
.post.featured .go { color: var(--accent); }
.post.featured .visual { align-self: stretch; min-height: 220px; border: 1px solid rgba(201,168,76,0.25); display: flex; align-items: center; justify-content: center; background:
  repeating-linear-gradient(0deg, transparent 0 31px, var(--grid-line) 31px 32px),
  repeating-linear-gradient(90deg, transparent 0 31px, var(--grid-line) 31px 32px); }

/* ============ NA MÍDIA ============ */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.media-item {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid rgba(201,168,76,0.22); background: rgba(255,255,255,0.02); padding: 28px 32px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.media-item:hover { border-color: var(--accent); background: rgba(201,168,76,0.05); }
.media-item .outlet { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.media-item h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 23px; line-height: 1.2; margin: 10px 0 8px; color: var(--cream); }
.media-item .date { font-size: 11px; color: rgba(245,240,232,0.4); letter-spacing: 0.1em; }
.media-item .go { font-size: 18px; color: var(--accent); flex-shrink: 0; }

/* ============ COMPLIANCE ============ */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.doc {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid rgba(13,27,42,0.15); background: #fff; padding: 20px 26px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.doc:hover { border-color: var(--accent); box-shadow: 0 12px 30px -18px rgba(13,27,42,0.35); }
.doc .name { font-size: 15px; font-weight: 500; color: var(--navy); }
.doc .tag { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #7a8592; margin-top: 4px; }
.doc .dl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.reg-note { margin-top: 48px; border-left: 2px solid var(--accent); padding: 6px 0 6px 26px; }
.reg-note p { font-size: 14px; line-height: 1.75; color: #4a5560; margin: 0 0 12px; }
.reg-note p:last-child { margin: 0; }

/* ============ CONTATO ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; margin-top: 56px; align-items: start; }
.contact-info .item { padding: 22px 0; border-bottom: 1px solid rgba(201,168,76,0.18); }
.contact-info .item:first-child { padding-top: 0; }
.contact-info .k { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.contact-info .v { font-size: 16px; line-height: 1.6; color: rgba(245,240,232,0.85); }
.form label { display: block; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.form input, .form textarea {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.25);
  color: var(--cream); font-family: var(--text-font); font-size: 15px; padding: 14px 16px; margin-bottom: 22px;
  outline: none; transition: border-color 0.25s ease;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { margin-top: 4px; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: rgba(245,240,232,0.5); padding: 70px 32px 50px; border-top: 1px solid rgba(201,168,76,0.15); }
.footer .container { max-width: 1160px; }
.footer .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(245,240,232,0.08); }
.footer .links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer .links a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245,240,232,0.55); transition: color 0.25s; }
.footer .links a:hover { color: var(--accent); }
.footer .disclaimer { font-size: 11.5px; line-height: 1.8; color: rgba(245,240,232,0.38); margin-top: 36px; text-align: justify; }
.footer .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,240,232,0.35); }

/* ============ RESPONSIVO ============ */
@media (max-width: 1100px) {
  .nav { position: fixed; top: 84px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy-deep); border-bottom: 1px solid rgba(201,168,76,0.2);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
  .nav.open { max-height: 560px; }
  .nav a { padding: 18px 32px; width: 100%; border-top: 1px solid rgba(245,240,232,0.06); }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .two-col, .contact-grid, .docs, .media-grid { grid-template-columns: 1fr; }
  .two-col { gap: 36px; }
  .pillars, .stats, .funds-grid, .funds-teaser, .posts-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .post.featured { grid-template-columns: 1fr; }
  .section { padding: 90px 24px; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .site-header .inner { padding: 0 20px; }
}
