/* ============================================================
   B3 Finance — Editorial site (Futurum-inspired)
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #2b0f0d; overflow-x: clip; }
body { margin: 0; padding: 0; overflow-x: clip; background: var(--bt-burgundy); color: var(--bt-cream); }
img, video, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

:root {
  --ink: var(--bt-cream);
  --ink-dim: rgba(242, 222, 196, 0.72);
  --ink-faint: rgba(242, 222, 196, 0.5);
  --hairline: rgba(242, 222, 196, 0.16);
  --hairline-strong: rgba(242, 222, 196, 0.28);
  --bg: var(--bt-burgundy);
  --bg-deep: #2b0f0d;
}

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .container { padding: 0 22px; } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background 300ms var(--ease-out), backdrop-filter 300ms var(--ease-out), padding 300ms var(--ease-out), border-color 300ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(32, 10, 9, 0.72);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: var(--hairline);
  padding: 14px 40px;
}
.nav-logo img { height: 22px; display: block; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-link {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; opacity: 0.72;
  transition: opacity 180ms var(--ease-out);
  padding: 4px 0; position: relative;
}
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--bt-gold-gradient);
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-dim); background: transparent;
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 8px 14px; cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.lang-toggle:hover { color: var(--ink); border-color: var(--hairline-strong); }
.lang-toggle .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--bt-gold-light); }

.nav-cta {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.02em;
  background: var(--bt-gold-gradient); color: var(--bt-burgundy);
  border: 0; padding: 11px 18px; border-radius: 999px;
  cursor: pointer; text-decoration: none;
  transition: filter 180ms var(--ease-out), transform 180ms var(--ease-out);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

.nav-mobile-toggle, .nav-mobile-btn {
  display: none;
  background: transparent; border: 1px solid var(--hairline);
  color: var(--ink); width: 40px; height: 40px;
  border-radius: 999px; align-items: center; justify-content: center;
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav { padding: 16px 22px; }
  .nav.scrolled { padding: 12px 22px; }
  .nav-links { display: none; }
  .lang-toggle { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle, .nav-mobile-btn { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-deep);
  display: flex; flex-direction: column;
  padding: 22px 22px 32px;
  animation: fadeIn 220ms var(--ease-out);
  overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-head img { height: 22px; }
.mobile-menu-head button { background: transparent; border: 1px solid var(--hairline); color: var(--ink); width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 0; margin-top: 48px; flex: 1; }
.mobile-menu-links a {
  font-family: var(--font-display); font-size: clamp(32px, 8vw, 44px); line-height: 1.1; letter-spacing: -0.015em;
  color: var(--ink); text-decoration: none; padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  transition: color .2s ease, padding-left .2s ease;
}
.mobile-menu-links a:hover, .mobile-menu-links a:focus { color: var(--bt-gold-light); padding-left: 8px; }
.mobile-menu-links a.active { color: var(--bt-gold-light); }
.mobile-menu-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--hairline); gap: 12px; flex-wrap: wrap; }
.mobile-menu-foot .lang-toggle, .mobile-menu-foot .nav-cta { display: inline-flex; }
body.menu-open { overflow: hidden; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 180px 0 80px; overflow: hidden; color: var(--bt-cream);
}
/* When embedded in an iframe, do not force full-viewport hero (avoids empty pages on small parent frames) */
html.embedded .hero { min-height: auto; padding-top: 140px; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("textures/fundo.png");
  background-size: cover; background-position: center; z-index: 0;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,5,5,0.35) 0%, rgba(20,5,5,0.15) 40%, rgba(20,5,5,0.75) 100%),
    radial-gradient(80% 60% at 70% 30%, rgba(198,156,109,0.18), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; }

.hero-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 32px; max-width: 22ch;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, #C69C6D, #E3BC8B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
  margin-top: 36px;
  font-family: var(--font-body); font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.6; color: var(--ink-dim); max-width: 58ch;
}
.hero-actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-footer {
  position: relative; z-index: 2; margin-top: 120px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: end;
  padding-top: 28px; border-top: 1px solid var(--hairline);
  font-family: var(--font-body); font-size: 11.5px;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint);
}
.hero-footer .mid { text-align: center; }
.hero-footer .right { text-align: right; }
.scroll-indicator { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-dim); }
.scroll-indicator .line {
  width: 36px; height: 1px; background: var(--ink-dim);
  position: relative; overflow: hidden;
}
.scroll-indicator .line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bt-gold-light);
  transform: translateX(-100%);
  animation: scrollLine 2.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 720px) {
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero-footer { grid-template-columns: 1fr; gap: 14px; }
  .hero-footer .mid, .hero-footer .right { text-align: left; }
}

/* ============ RESPONSIVE GLOBAL ============ */
@media (max-width: 960px) {
  .hero-title { font-size: clamp(34px, 6vw, 56px); }
  .stats-manifesto { font-size: clamp(28px, 4.6vw, 44px); }
  .cta-title { font-size: clamp(34px, 6vw, 56px); }
  .section-title { font-size: clamp(28px, 4.6vw, 44px); }
  .section-title--md { font-size: clamp(26px, 4vw, 38px); }
  .section-title--sm { font-size: clamp(24px, 3.6vw, 34px); }
  .verticals-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section-title, .section-title--md, .section-title--sm, .stats-manifesto, .cta-title, .hero-title { max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .verticals-grid, .leadership-grid { gap: 16px; }
  .vertical-card { padding: 28px 22px; min-height: auto !important; }
  .stat { padding: 28px 0; }
  .stats-grid--2 { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(30px, 7.2vw, 44px); line-height: 1.08; word-wrap: break-word; }
  .hero-lede { font-size: 15px; }
  section { padding: 80px 0 !important; }
  .container { padding: 0 22px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(26px, 7.8vw, 34px); letter-spacing: -0.012em; }
  .cta-title { font-size: clamp(26px, 7.5vw, 38px); }
  .stats-manifesto { font-size: clamp(24px, 7vw, 32px); }
  .nav-logo img { height: 18px; }
  .nav { padding: 14px 18px; }
  .container { padding: 0 18px; }
  .section-label { font-size: 10px; }
  .footer-inner { gap: 24px; }
}

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  letter-spacing: 0.01em; border: 0; padding: 16px 26px;
  border-radius: 999px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 220ms var(--ease-out); white-space: nowrap; line-height: 1;
}
.btn-gold {
  background: var(--bt-gold-gradient); color: var(--bt-burgundy);
  box-shadow: 0 10px 30px rgba(166, 124, 82, 0.22);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(166, 124, 82, 0.35); }
.btn-gold:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline-strong); }
.btn-ghost:hover { background: rgba(242, 222, 196, 0.06); border-color: var(--ink); }
.btn .arrow { display: inline-flex; transition: transform 220ms var(--ease-out); }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* Mobile: let long button text wrap inside the pill and cap pill width.
   Placed AFTER base .btn rules so it overrides white-space: nowrap. */
@media (max-width: 720px) {
  .btn-gold {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 14px 22px;
    max-width: 320px;
  }
}

/* ============ SECTIONS ============ */
section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }

.section-label {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-dim); display: inline-flex; align-items: center; gap: 12px;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--bt-gold-light); }

.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05; letter-spacing: -0.015em;
  margin: 28px 0 0; text-wrap: balance; max-width: 22ch;
}
.section-title--md { font-size: clamp(28px, 3.4vw, 48px); }
.section-title--sm { font-size: clamp(26px, 3vw, 42px); }
.section-lede {
  font-family: var(--font-body); font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6; color: var(--ink-dim); max-width: 58ch; margin-top: 24px;
}

/* ============ DRIVERS / LISTS ============ */
.drivers-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
@media (max-width: 860px) { .drivers-head { grid-template-columns: 1fr; gap: 24px; } }

.drivers-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.driver-row {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 40px; padding: 30px 0;
  border-bottom: 1px solid var(--hairline); align-items: center;
  transition: background 300ms var(--ease-out);
}
.driver-row.driver-row--no-arrow { grid-template-columns: 80px 1fr; }
.driver-row:hover { background: rgba(242, 222, 196, 0.03); }
.driver-num { font-family: var(--font-display); font-size: 24px; color: var(--bt-gold-light); letter-spacing: 0.04em; }
.driver-text {
  font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.15; color: var(--ink); letter-spacing: -0.005em; margin: 0;
}
@media (max-width: 720px) {
  .driver-row, .driver-row.driver-row--no-arrow { grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; }
  .driver-num { font-size: 18px; }
}

/* ============ VERTICALS ============ */
.verticals-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.verticals-head .section-title { margin-top: 20px; }
.verticals-note { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--ink-dim); max-width: 40ch; }
@media (max-width: 860px) { .verticals-head { grid-template-columns: 1fr; } }

.verticals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.verticals-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .verticals-grid { grid-template-columns: 1fr; } }

.vertical-card {
  position: relative; padding: 28px 26px 26px;
  background: rgba(242, 222, 196, 0.04);
  border: 1px solid var(--hairline); border-radius: 20px;
  overflow: hidden; cursor: pointer;
  transition: all 400ms var(--ease-out);
  min-height: 340px;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.vertical-card--tight { min-height: 320px; }
.vertical-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(198,156,109,0.12), transparent 60%);
  opacity: 0; transition: opacity 400ms var(--ease-out);
}
.vertical-card:hover { background: rgba(242, 222, 196, 0.06); border-color: var(--hairline-strong); transform: translateY(-4px); }
.vertical-card:hover::before { opacity: 1; }
.vertical-num {
  font-family: var(--font-body); font-size: 10.5px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: auto; position: relative; z-index: 1;
}
.vertical-title {
  font-family: var(--font-display); font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.0; letter-spacing: -0.015em;
  margin: 60px 0 0; color: var(--ink); position: relative; z-index: 1;
}
.vertical-desc {
  font-family: var(--font-body); font-size: 14px; line-height: 1.6;
  color: var(--ink-dim); margin: 16px 0 0; position: relative; z-index: 1;
}
.vertical-link {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bt-gold-light); position: relative; z-index: 1;
}
.vertical-link .arrow { transition: transform 220ms var(--ease-out); }
.vertical-card:hover .vertical-link .arrow { transform: translate(4px, -4px); }

/* ============ STATS ============ */
.stats-section {
  position: relative; padding: clamp(100px, 12vw, 160px) 0;
  background: var(--bg-deep); overflow: hidden;
}
.stats-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(198,156,109,0.14), transparent 60%),
    radial-gradient(50% 60% at 20% 80%, rgba(64,23,20,0.6), transparent 60%);
  pointer-events: none;
}
.stats-inner { position: relative; z-index: 1; }
.stats-manifesto {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1; letter-spacing: -0.01em;
  margin: 32px 0 0; max-width: 24ch;
}
.stats-manifesto em { font-style: normal; color: var(--bt-gold-light); }

.stats-grid {
  margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--hairline);
}
.stats-grid--2 { grid-template-columns: repeat(2, 1fr); }
.stats-grid--1 { grid-template-columns: 1fr; max-width: 720px; }
@media (max-width: 860px) {
  .stats-grid, .stats-grid--2, .stats-grid--1 { grid-template-columns: 1fr; }
}
.stat { padding: 40px 32px 28px 0; border-right: 1px solid var(--hairline); position: relative; }
.stat:last-child { border-right: 0; }
@media (max-width: 860px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 32px 0; }
  .stat:last-child { border-bottom: 0; }
}
.stat-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint);
}
.stat-number {
  font-family: var(--font-display); font-size: clamp(44px, 5.2vw, 80px);
  line-height: 1; letter-spacing: -0.018em; margin: 22px 0 0;
  color: var(--ink); display: flex; align-items: baseline; gap: 4px;
}
.stat-number .unit {
  font-size: 0.42em; color: var(--bt-gold-light);
  letter-spacing: 0; font-family: var(--font-display);
}
.stat-caption {
  font-family: var(--font-body); font-size: 14px; line-height: 1.55;
  color: var(--ink-dim); margin: 20px 0 0; max-width: 34ch;
}

/* ============ MANIFESTO ============ */
.manifesto-section { padding: clamp(100px, 12vw, 160px) 0; }
.manifesto-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.02; letter-spacing: -0.018em;
  margin: 32px 0 0; text-wrap: balance; max-width: 22ch;
}
.manifesto-title--md { font-size: clamp(28px, 3.6vw, 52px); }
.manifesto-title em {
  font-style: normal;
  background: linear-gradient(90deg, #C69C6D, #E3BC8B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.manifesto-body { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .manifesto-body { grid-template-columns: 1fr; gap: 20px; } }
.manifesto-body p { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--ink-dim); margin: 0; }

.manifesto-pillars {
  margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-top: 36px; border-top: 1px solid var(--hairline);
}
@media (max-width: 960px) { .manifesto-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .manifesto-pillars { grid-template-columns: 1fr; } }
.pillar { padding: 4px 0; }
.pillar-num { font-family: var(--font-display); font-size: 13px; color: var(--bt-gold-light); letter-spacing: 0.04em; }
.pillar-title { font-family: var(--font-display); font-size: 20px; line-height: 1.15; margin: 16px 0 0; color: var(--ink); }
.pillar-desc { font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--ink-dim); margin: 10px 0 0; }

/* ============ LEADERSHIP ============ */
.leadership-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  border-top: 1px solid var(--hairline); padding-top: 48px;
}
@media (max-width: 860px) { .leadership-grid { grid-template-columns: 1fr; } }
.leader { display: flex; flex-direction: column; }
.leader-photo {
  aspect-ratio: 4/5; border-radius: 12px; overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--hairline);
  margin-bottom: 24px;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
/* Desktop only: cap leader photo size so it doesn't get huge on wide screens */
@media (min-width: 861px) {
  .leader .leader-photo { width: 100%; max-width: 360px; }
}
@media (max-width: 860px) {
  .leader { align-items: center; text-align: center; max-width: 360px; margin: 0 auto; }
  .leader .leader-photo { aspect-ratio: 1/1 !important; width: 240px; max-width: 240px; height: 240px; margin-left: auto; margin-right: auto; }
  .leader-meta { justify-content: center; flex-wrap: wrap; gap: 8px; }
  .leader-bio { text-align: left; }
}
@media (max-width: 480px) {
  .leader .leader-photo { width: 200px; max-width: 200px; height: 200px; }
}
.leader-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.leader-role { color: var(--bt-gold-light); }
.leader-num { color: var(--ink-faint); }
.leader-name {
  font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1; letter-spacing: -0.015em; margin: 0; color: var(--ink);
}
.leader-bio { font-family: var(--font-body); font-size: 15px; line-height: 1.65; color: var(--ink-dim); margin-top: 20px; max-width: 46ch; }

/* Senior team carousel */
.team-carousel { padding-top: 64px; margin-top: 80px; border-top: 1px solid var(--hairline); }
.team-carousel-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.team-carousel-lede { font-family: var(--font-body); font-size: 15px; color: var(--ink-dim); margin: 14px 0 0; max-width: 44ch; }
.team-carousel-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.team-carousel-track { display: flex; gap: 48px; width: max-content; will-change: transform; }
.senior-card {
  flex: none; width: 240px;
  display: flex; flex-direction: column;
}
.senior-photo {
  aspect-ratio: 4/5; border-radius: 6px; overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--hairline);
  margin-bottom: 14px;
}
.senior-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.senior-name { font-family: var(--font-display); font-size: 20px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 2px; }
.senior-role { font-family: var(--font-body); font-size: 10px; line-height: 1.3; letter-spacing: 0.04em; color: var(--bt-gold-light); margin: 0; }
@media (max-width: 560px) { .senior-card { width: 200px; } }

/* ============ CTA FINAL ============ */
.cta-section {
  position: relative;
  padding: clamp(110px, 13vw, 180px) 0 clamp(100px, 12vw, 150px);
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background-image: url("textures/fundo.png");
  background-size: cover; background-position: center;
  opacity: 0.55;
}
.cta-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bt-burgundy) 0%, rgba(64,23,20,0.5) 40%, var(--bt-burgundy) 100%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.02; letter-spacing: -0.018em;
  margin: 32px 0 0; text-wrap: balance; max-width: 20ch;
}
.cta-title em {
  font-style: normal;
  background: linear-gradient(90deg, #C69C6D, #E3BC8B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-actions { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-contact-row {
  margin-top: 80px; padding-top: 36px; border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
}
@media (max-width: 860px) { .cta-contact-row { grid-template-columns: 1fr; gap: 24px; } }
.cta-contact h5 {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 12px;
}
.cta-contact a {
  font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.2; color: var(--ink); text-decoration: none;
  transition: color 180ms var(--ease-out);
  display: inline-flex; align-items: center; gap: 10px;
}
.cta-contact a:hover { color: var(--bt-gold-light); }

/* ============ FOOTER ============ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-deep);
}
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand img { height: 26px; }
.footer-parent { margin-top: 20px; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.footer h5 { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bt-gold-light); margin: 0 0 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer a { font-family: var(--font-body); font-size: 14px; color: var(--ink); opacity: 0.72; text-decoration: none; transition: opacity 180ms var(--ease-out); }
.footer a:hover { opacity: 1; }
.footer-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; } .footer-bottom { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 500ms; }

/* ============ TWEAKS ============ */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 300px;
  background: rgba(32, 10, 9, 0.92); backdrop-filter: blur(18px);
  color: var(--bt-cream); border: 1px solid var(--hairline); border-radius: 18px;
  padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  font-family: var(--font-body); display: none;
}
.tweaks.on { display: block; }
.tweaks h4 { margin: 0 0 16px; font-family: var(--font-body); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bt-gold-light); font-weight: 600; }
.tweak-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 13px; }
.tweak-row:first-of-type { border-top: 0; }
.tweak-row label { opacity: 0.88; flex: 1; }
.tweak-switch { appearance: none; width: 36px; height: 20px; background: rgba(242,222,196,0.14); border-radius: 999px; position: relative; cursor: pointer; transition: background 200ms var(--ease-out); }
.tweak-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: var(--bt-cream); border-radius: 999px; transition: left 200ms var(--ease-out); }
.tweak-switch:checked { background: var(--bt-gold-gradient); }
.tweak-switch:checked::after { left: 18px; }

body[data-show-stats="false"] .stats-section { display: none; }
body[data-texture="false"] .hero-bg,
body[data-texture="false"] .cta-bg { background-image: none; }
body[data-texture="false"] .hero-bg::after { background: linear-gradient(180deg, #2b0f0d 0%, var(--bt-burgundy) 50%, #2b0f0d 100%); }
body[data-texture="false"] .cta-bg::after { background: var(--bt-burgundy); }

/* ============ MOBILE STATS FIX (placed last so it wins the cascade) ============ */
@media (max-width: 860px) {
  /* Stack the two stats with clear vertical breathing room and force left alignment.
     Earlier rules in this file get overridden because these rules come last. */
  .stats-grid--2 { grid-template-columns: 1fr; gap: 0; }
  .stat {
    padding: 36px 0 36px 0;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .stat:first-child { padding-top: 0; }
  .stat:last-child { border-bottom: 0; }
  .stat-label,
  .stat-number,
  .stat-caption {
    text-align: left;
    margin-left: 0;
  }
  .stat-number { justify-content: flex-start; }
  .stat-caption { max-width: 100%; }
}
