/* ═══════════════════════════════════════════════════════════════
   JH AUTONOMIA — Global CSS
   João Henrique · Plano de Autonomia
   Identidade: Moderno, Clean, Preto & Branco, Tipografia Forte
═══════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --black:       #0A0A0A;
  --off-black:   #111111;
  --charcoal:    #1C1C1C;
  --mid:         #4A4A4A;
  --muted:       #8A8A8A;
  --border:      #E2E2E2;
  --off-white:   #F7F7F7;
  --white:       #FFFFFF;
  --accent:      #0A0A0A;
  --green:       #1A7A4A;
  --green-bg:    #EAF5EF;
  --red:         #C0392B;
  --red-bg:      #FDECEA;
  --yellow:      #B8860B;
  --yellow-bg:   #FEF9E7;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --radius:  4px;
  --radius-lg: 8px;
  --shadow:  0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.13);

  --max-w: 1160px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

a { color: var(--black); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }

img { max-width: 100%; height: auto; display: block; }

/* ── Header / Navbar ─────────────────────────────────────────── */
.jh-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.jh-navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.jh-navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jh-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--black);
  line-height: 1.1;
}
.jh-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.jh-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jh-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--transition);
}
.jh-nav a:hover, .jh-nav a.active { color: var(--black); opacity: 1; }

/* ── Buttons ─────────────────────────────────────────────────── */
.jh-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.jh-btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.jh-btn--primary:hover {
  background: var(--charcoal);
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.jh-btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--border);
}
.jh-btn--outline:hover {
  border-color: var(--black);
  opacity: 1;
  transform: translateY(-1px);
}
.jh-btn--large {
  padding: 15px 36px;
  font-size: 15px;
}

/* ── Hero (Página Inicial) ───────────────────────────────────── */
.jh-hero {
  padding: 140px 24px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 90vh;
}

.jh-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.jh-hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--muted);
}

.jh-hero__title {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.jh-hero__title em {
  font-style: italic;
  color: var(--mid);
}

.jh-hero__subtitle {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 460px;
}

.jh-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.jh-hero__visual {
  position: relative;
}
.jh-hero__card-preview {
  background: var(--off-black);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.jh-hero__card-preview::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.jh-preview-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.jh-preview-ticker {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.jh-preview-name {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.jh-preview-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.jh-preview-metric label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.jh-preview-metric span {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}
.jh-preview-metric span.green { color: #4ADE80; }
.jh-preview-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(74, 222, 128, 0.15);
  color: #4ADE80;
}

/* ── Stats ───────────────────────────────────────────────────── */
.jh-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 60px 0;
}
.jh-stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.jh-stat:last-child { border-right: none; }
.jh-stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.jh-stat__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ── Section Headers ─────────────────────────────────────────── */
.jh-section {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.jh-section--gray { background: var(--off-white); max-width: 100%; }
.jh-section--gray .jh-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 24px;
}

.jh-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.jh-section__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.jh-section__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin: 0;
}

/* ── Análises Grid ───────────────────────────────────────────── */
.jh-analises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.jh-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jh-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--black);
}

.jh-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.jh-card__ticker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  background: var(--off-white);
  padding: 4px 10px;
  border-radius: var(--radius);
}
.jh-card__rec {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.jh-rec--positiva  { background: var(--green-bg);  color: var(--green); }
.jh-rec--neutra    { background: var(--yellow-bg); color: var(--yellow); }
.jh-rec--negativa  { background: var(--red-bg);    color: var(--red); }

.jh-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1.3;
}
.jh-card__setor {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.jh-card__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.jh-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 4px 0;
}
.jh-metric {
  background: var(--off-white);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.jh-metric__label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.jh-metric__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--font-mono);
}

.jh-upside--positivo { color: var(--green) !important; }
.jh-upside--negativo { color: var(--red) !important; }

.jh-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.jh-card__actions .jh-btn { flex: 1; justify-content: center; padding: 10px 12px; font-size: 12px; }

/* ── Filtro de Setores ───────────────────────────────────────── */
.jh-filtro {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.jh-filtro__btn {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all var(--transition);
}
.jh-filtro__btn:hover,
.jh-filtro__btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── Hero da Análise Individual ──────────────────────────────── */
.jh-hero-analise {
  background: var(--off-black);
  color: var(--white);
  padding: 120px 24px 60px;
  margin-bottom: 60px;
}
.jh-hero-analise__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.jh-hero-analise__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.jh-hero-analise__ticker {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: var(--radius);
}
.jh-hero-analise__title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 10px;
}
.jh-hero-analise__setor {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  font-family: var(--font-mono);
}
.jh-hero-analise__metrics {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.jh-hero-metric__label {
  display: block;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.jh-hero-metric__value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-mono);
}

.jh-disclaimer-mini {
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.5;
}

/* ── Sobre ───────────────────────────────────────────────────── */
.jh-sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.jh-sobre__photo {
  aspect-ratio: 4/5;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.jh-sobre__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jh-sobre__content {}
.jh-sobre__name {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 4px;
}
.jh-sobre__role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.jh-sobre__bio {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 32px;
}
.jh-sobre__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.jh-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--mid);
  letter-spacing: 0.3px;
}

/* ── YouTube Section ─────────────────────────────────────────── */
.jh-yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.jh-yt-embed {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-black);
}
.jh-yt-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Footer ──────────────────────────────────────────────────── */
.jh-footer {
  background: var(--off-black);
  color: var(--white);
  padding: 60px 24px 32px;
  margin-top: 100px;
}
.jh-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.jh-footer__brand { }
.jh-footer__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.jh-footer__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}
.jh-footer__social {
  display: flex;
  gap: 14px;
}
.jh-footer__social a {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.jh-footer__social a:hover { color: var(--white); opacity: 1; }

.jh-footer__col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.jh-footer__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jh-footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.jh-footer__col ul a:hover { color: var(--white); opacity: 1; }

.jh-footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jh-footer__copy {
  font-size: 12px;
  color: var(--muted);
}
.jh-footer__disclaimer {
  font-size: 11px;
  color: var(--muted);
  max-width: 480px;
  text-align: right;
  line-height: 1.5;
}

/* ── Contato ─────────────────────────────────────────────────── */
.jh-contato {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.jh-contato__info h2 {
  font-size: 40px;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.jh-contato__info p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 36px;
}
.jh-contato__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jh-contato__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  color: var(--black);
}
.jh-contato__link:hover {
  border-color: var(--black);
  background: var(--off-white);
  opacity: 1;
  transform: translateX(4px);
}
.jh-contato__link-icon { font-size: 20px; }
.jh-contato__link-text { font-size: 14px; font-weight: 600; }
.jh-contato__link-sub { font-size: 12px; color: var(--muted); }

/* ── Utilitários ─────────────────────────────────────────────── */
.jh-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* ── Responsivo ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .jh-hero, .jh-sobre, .jh-contato {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .jh-hero { padding-top: 100px; min-height: auto; }
  .jh-hero__visual { display: none; }
  .jh-stats { grid-template-columns: repeat(2, 1fr); }
  .jh-stat { border-bottom: 1px solid var(--border); }
  .jh-footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .jh-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .jh-footer__disclaimer { text-align: center; }
  .jh-nav { display: none; }
}

@media (max-width: 600px) {
  .jh-stats { grid-template-columns: 1fr 1fr; }
  .jh-analises-grid { grid-template-columns: 1fr; }
  .jh-card__actions { flex-direction: column; }
  .jh-hero-analise__metrics { gap: 28px; }
  .jh-section__header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   PORTFÓLIO — CSS
════════════════════════════════════════════════════════════════ */

/* ── KPIs ── */
.jh-port-header { display:flex; justify-content:flex-end; margin-bottom:8px; }
.jh-port-update-label { font-family:var(--font-mono); font-size:11px; color:var(--muted); }

.jh-port-kpis {
  display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; margin-bottom:48px;
}
.jh-port-kpi {
  padding:30px 24px; border-right:1px solid var(--border);
  transition:background var(--transition);
}
.jh-port-kpi:last-child { border-right:none; }
.jh-port-kpi:hover { background:var(--off-white); }
.jh-port-kpi__label {
  font-family:var(--font-mono); font-size:9px; letter-spacing:2.5px;
  text-transform:uppercase; color:var(--muted); margin-bottom:10px;
}
.jh-port-kpi__value {
  font-family:var(--font-display); font-size:30px; font-weight:900;
  line-height:1; margin-bottom:6px; color:var(--black);
}
.jh-port-kpi__sub { font-size:11px; color:var(--muted); }

/* ── Cores resultado ── */
.jh-port-pos { color:var(--green) !important; font-weight:700; font-family:var(--font-mono); }
.jh-port-neg { color:var(--red) !important; font-weight:700; font-family:var(--font-mono); }
.jh-port-neu { color:var(--muted) !important; font-family:var(--font-mono); }

/* ── Tabs ── */
.jh-port-tabs {
  display:flex; gap:0; border-bottom:2px solid var(--border);
  margin-bottom:36px; overflow-x:auto;
}
.jh-port-tab {
  padding:13px 28px; font-size:13px; font-weight:600; color:var(--muted);
  cursor:pointer; border:none; border-bottom:2px solid transparent;
  margin-bottom:-2px; transition:all var(--transition); background:transparent;
  font-family:var(--font-body); white-space:nowrap;
}
.jh-port-tab:hover { color:var(--black); }
.jh-port-tab.active { color:var(--black); border-bottom-color:var(--black); }

.jh-port-panel { display:none; }
.jh-port-panel.active { display:block; }

/* ── Tabela ── */
.jh-table-wrap { overflow-x:auto; }
.jh-port-table { width:100%; border-collapse:collapse; font-size:14px; }
.jh-port-table thead tr { background:var(--black); color:var(--white); }
.jh-port-table th {
  padding:13px 16px; text-align:left; font-size:10px;
  letter-spacing:.8px; text-transform:uppercase; font-weight:600; white-space:nowrap;
}
.jh-port-table td { padding:14px 16px; border-bottom:1px solid var(--border); vertical-align:middle; }
.jh-port-table tr:last-child td { border-bottom:none; }
.jh-port-table tr:hover td { background:var(--off-white); }
.jh-port-table tbody tr:nth-child(even) td { background:rgba(247,247,247,.5); }
.jh-port-table tbody tr:nth-child(even):hover td { background:var(--off-white); }

.jh-port-ticker {
  font-family:var(--font-mono); font-size:12px; font-weight:500;
  background:var(--off-white); padding:3px 8px; border-radius:var(--radius);
  display:inline-block; color:var(--mid);
}
.jh-port-company { font-size:13px; font-weight:700; color:var(--black); margin-bottom:2px; }
.jh-port-setor   { font-size:11px; color:var(--muted); }
.jh-port-num     { font-family:var(--font-mono); font-size:13px; color:var(--mid); }

.jh-port-bar-wrap  { display:flex; align-items:center; gap:8px; }
.jh-port-bar-track { background:var(--border); border-radius:2px; height:5px; width:72px; overflow:hidden; flex-shrink:0; }
.jh-port-bar-fill  { height:100%; border-radius:2px; background:var(--black); transition:width 1s ease; }

/* ── Operações Opções ── */
.jh-op-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:32px; }
.jh-op-card {
  border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:22px; transition:all var(--transition);
}
.jh-op-card:hover { border-color:var(--black); box-shadow:0 4px 20px rgba(0,0,0,.07); }
.jh-op-card__top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:12px; }
.jh-op-estrategia {
  font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  padding:4px 10px; border-radius:20px; background:var(--off-white); color:var(--mid);
}
.jh-op-resultado { font-family:var(--font-mono); font-size:18px; font-weight:700; }
.jh-op-ticker { font-family:var(--font-mono); font-size:13px; color:var(--black); font-weight:500; margin-bottom:8px; }
.jh-op-desc { font-size:13px; color:var(--mid); line-height:1.65; margin-bottom:14px; }
.jh-op-footer { display:flex; gap:8px; flex-wrap:wrap; }
.jh-op-tag {
  font-size:11px; color:var(--muted); background:var(--off-white);
  padding:3px 10px; border-radius:var(--radius); font-family:var(--font-mono);
}

/* ── Disclaimer & footnote ── */
.jh-port-disclaimer {
  background:var(--off-white); border-left:3px solid var(--border);
  border-radius:0 var(--radius) var(--radius) 0; padding:16px 20px; margin-top:36px;
}
.jh-port-disclaimer p { font-size:12px; color:var(--muted); line-height:1.6; margin:0; }
.jh-port-footnote { font-family:var(--font-mono); font-size:11px; color:var(--muted); text-align:right; margin-top:10px; }

/* ── Responsivo ── */
@media (max-width:900px) {
  .jh-port-kpis { grid-template-columns:1fr 1fr; }
  .jh-port-kpi { border-bottom:1px solid var(--border); }
  .jh-op-grid  { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .jh-port-kpis { grid-template-columns:1fr; }
  .jh-port-tab  { padding:12px 16px; font-size:12px; }
}
