/* ============================================================
   FUNDAÇÃO JOSÉ LUIZ SETÚBAL — Relatório Anual 2025
   v2 — discreto, elegante, sem gradientes nem decoração extra.
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: 'Museo Sans Rounded FJLS';
  src: url('../fonts/MuseoSansRounded-500.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Museo Sans Rounded FJLS';
  src: url('../fonts/MuseoSansRounded-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Museo Sans FJLS';
  src: url('../fonts/MuseoSans-500.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  /* Brand — Fundação */
  --fundacao-dark: #002e80;
  --fundacao-medium: #648dd7;
  --fundacao-light: #b2c6eb;

  /* Brand — Sabará */
  --sabara-dark: #0056b5;
  --sabara-medium: #0066d5;
  --sabara-light: #89cdff;

  /* Brand — Pensi */
  --pensi-dark: #0a8929;
  --pensi-medium: #0bbf37;
  --pensi-light: #9de5af;

  /* Brand — Pensi Social */
  --pensisoc-dark: #cf4d00;
  --pensisoc-medium: #ff5f00;
  --pensisoc-light: #ffbc57;

  /* Brand — Infinis */
  --infinis-dark: #b50000;
  --infinis-medium: #fd0000;
  --infinis-light: #ffb5b4;

  /* Neutrals */
  --ink: #001645;
  --ink-80: rgba(0, 22, 69, .8);
  --ink-60: rgba(0, 22, 69, .58);
  --ink-40: rgba(0, 22, 69, .38);
  --ink-15: rgba(0, 22, 69, .15);
  --ink-08: rgba(0, 22, 69, .08);
  --bg: #fff;
  --bg-soft: #f6f7fa;

  /* Type */
  --font-heading: 'Museo Sans Rounded FJLS', 'Nunito', system-ui, sans-serif;
  --font-body: 'Museo Sans FJLS', 'Museo Sans Rounded FJLS', system-ui, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(.22, .8, .26, 1);
  --t: .25s;
  --tt: .5s;

  --topbar-h: 84px;
}

/* ---------- SLIDER (genérico, usado no hero e nos capítulos) ---------- */
.slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.slide.is-active { opacity: 1; }
.slide > .placeholder { width: 100%; height: 100%; }

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.01em;
}
em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ---------- TIPOGRAFIA UTILITÁRIA ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fundacao-dark);
  margin-bottom: 1rem;
}
.eyebrow--white { color: rgba(255,255,255,.85); }

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.section-lead {
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  color: var(--ink-80);
  max-width: 600px;
  margin: 0;
}

/* ============================================================
   TOPBAR — comportamento estilo MBM
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--t) var(--ease), top var(--tt) var(--ease), box-shadow var(--t) var(--ease);
}
/* Initial state — overlay sobre o hero */
.topbar.is-over-hero {
  background: transparent;
}
.topbar.is-over-hero .topbar__item { color: rgba(255, 255, 255, .85); }
.topbar.is-over-hero .topbar__item.is-active { color: #fff; }
.topbar.is-over-hero .topbar__item:hover { color: #fff; }
.topbar.is-over-hero .topbar__burger span { background: #fff; }
.topbar__brand { position: relative; display: block; height: 44px; }
.topbar__logo {
  display: block;
  height: 44px;
  width: auto;
  transition: opacity .3s var(--ease);
}
.topbar__logo--color {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.topbar.is-over-hero .topbar__logo--light { filter: brightness(0) invert(1); opacity: 1; }
.topbar.is-over-hero .topbar__logo--color { opacity: 0; }
.topbar.is-pinned .topbar__logo--light { opacity: 0; }
.topbar.is-pinned .topbar__logo--color { opacity: 1; }

/* Past hero — fundo branco, sombra leve */
.topbar.is-pinned {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1px 0 var(--ink-08);
}

/* Hidden on scroll-down */
.topbar.is-hidden { top: calc(-1 * var(--topbar-h)); }

.topbar__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.topbar__nav {
  display: flex;
  gap: clamp(.4rem, 1.5vw, 1.75rem);
  align-items: center;
}
.topbar__item {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-80);
  padding: .35rem 0;
  letter-spacing: .005em;
  transition: color var(--t) var(--ease);
}
.topbar__item::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.topbar__item:hover::after,
.topbar__item.is-active::after { transform: scaleX(1); }
.topbar__item.is-active { color: var(--fundacao-dark); }

.topbar__burger {
  display: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: flex-end;
}
.topbar__burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), width var(--t) var(--ease);
}
.topbar__burger span:nth-child(2) { width: 16px; }

@media (max-width: 880px) {
  .topbar__nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    padding: 4rem 1.5rem;
    transform: translateX(100%);
    transition: transform var(--tt) var(--ease);
    z-index: 5;
  }
  .topbar.is-mobile-open .topbar__nav { transform: translateX(0); }
  .topbar__item { font-size: 1.25rem; color: var(--ink) !important; }
  .topbar__burger { display: flex; }
  .topbar.is-mobile-open .topbar__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 22px; }
  .topbar.is-mobile-open .topbar__burger span:nth-child(2) { opacity: 0; }
  .topbar.is-mobile-open .topbar__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 22px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--topbar-h) + 1rem) var(--gutter) 5rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0;
}
.hero__year {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: var(--pensi-light);
  line-height: 1;
  margin-top: .65rem;
  letter-spacing: -.02em;
}
.hero__lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 460px;
  color: rgba(255, 255, 255, .9);
  margin: 1.75rem 0 2.5rem;
  line-height: 1.45;
}

/* ============================================================
   PLACEHOLDERS DE IMAGEM
   ============================================================ */
.placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  color: rgba(255, 255, 255, .9);
  font-family: var(--font-heading);
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 24px, rgba(255,255,255,0) 24px 48px),
    var(--fundacao-dark);
  position: relative;
}
.placeholder::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  /* border: 1px dashed rgba(255, 255, 255, .25); */
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}
.placeholder__label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.placeholder__hint {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
}
.placeholder--hero { background-color: var(--fundacao-dark); }
.placeholder--hero .placeholder__label { font-size: 1.15rem; }
.placeholder--portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background-color: var(--fundacao-medium);
}
.placeholder--portrait::after { border-color: rgba(255,255,255,.35); }
.placeholder--chapter { background-color: var(--chapter, var(--fundacao-dark)); }
.placeholder--chapter::after { border-color: rgba(255,255,255,.2); }

/* ============================================================
   FRASE PAULO COELHO
   ============================================================ */
.quote {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg);
  text-align: center;
}
.quote__text {
  position: relative;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}
.quote__mark {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--fundacao-light);
  margin-bottom: .5rem;
  font-style: normal;
}
.quote__author {
  margin-top: 1.5rem;
  font-style: normal;
  font-size: .95rem;
  color: var(--ink-60);
}
.quote__author strong {
  font-family: var(--font-heading);
  color: var(--fundacao-dark);
  font-weight: 700;
}

/* ============================================================
   MENSAGEM DA PRESIDÊNCIA
   ============================================================ */
.message {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg-soft);
}
.message__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.message__title {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.message__lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--ink-80);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.message__signature {
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .95rem;
}
.message__signature strong {
  font-family: var(--font-heading);
  color: var(--fundacao-dark);
}
.message__signature span { color: var(--ink-60); font-size: .85rem; }

@media (max-width: 880px) {
  .message__grid { grid-template-columns: 1fr; }
  .message__image { max-width: 380px; margin: 0 auto; width: 100%; }
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { transition: transform var(--t) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateY(2px); }

.btn--primary {
  background: var(--fundacao-dark);
  color: #fff;
}
.btn--primary:hover { background: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--fundacao-dark);
  border-color: var(--fundacao-dark);
}
.btn--ghost:hover { background: var(--fundacao-dark); color: #fff; }
.btn--ghost svg { transform: none; }
.btn--ghost:hover svg { transform: translateX(3px); }

.btn--light {
  background: #fff;
  color: var(--fundacao-dark);
}
.btn--light:hover { background: var(--fundacao-light); }

.btn--chapter {
  background: var(--chapter, var(--fundacao-dark));
  color: #fff;
}
.btn--chapter:hover { filter: brightness(1.08); }

/* ============================================================
   GRANDES NÚMEROS — redesign editorial, tipografia de display
   ============================================================ */
.numbers {
  background: var(--fundacao-dark);
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.numbers .section-title { color: #fff; }
.numbers .section-lead { color: rgba(255, 255, 255, .8); }

/* Número-herói — tipografia massiva, centralizada */
.num-hero {
  text-align: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.num-hero__label {
  display: block;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 1.5rem;
}
.num-hero__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4.5rem, 12vw, 9rem);
  line-height: .9;
  letter-spacing: -.035em;
  color: var(--pensi-light);
}
.num-hero__value em {
  font-style: normal;
  font-size: .33em;
  font-weight: 600;
  opacity: .75;
  vertical-align: middle;
  margin-right: .2em;
}
.num-hero__value small {
  font-size: .33em;
  font-weight: 500;
  opacity: .7;
  vertical-align: middle;
  margin-left: .1em;
}
.num-hero__desc {
  margin: 1.75rem auto 0;
  max-width: 380px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.6;
}

/* Strip de números secundários — separados por linhas verticais */
.num-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.num-strip__item {
  padding: 1.5rem clamp(.75rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  position: relative;
}
.num-strip__item + .num-strip__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75rem;
  bottom: .75rem;
  width: 1px;
  background: rgba(255, 255, 255, .1);
}
.num-strip__label {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
  line-height: 1.35;
}
.num-strip__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.num-strip__value em {
  font-style: normal;
  font-size: .48em;
  font-weight: 600;
  opacity: .65;
  margin-right: .1em;
}
.num-strip__value small {
  font-size: .48em;
  font-weight: 500;
  opacity: .65;
  margin-left: .05em;
}

@media (max-width: 880px) {
  .num-strip { grid-template-columns: repeat(2, 1fr); }
  .num-strip__item {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .num-strip__item + .num-strip__item::before { display: none; }
  .num-strip__item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
  .num-strip__item:last-child:nth-child(odd) { border-right: none; }
  .num-strip__value { font-size: 3rem; }
}
@media (max-width: 480px) {
  .num-strip { grid-template-columns: 1fr; }
  .num-strip__item:nth-child(odd) { border-right: none; }
}

/* Bloco filantrópico — barra proporcional colorida + legenda */
.num-giving {
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 3rem;
}
.num-giving__head { margin-bottom: 2rem; }
.num-giving__total {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: .95;
  color: var(--pensi-light);
  letter-spacing: -.025em;
  margin: .85rem 0 1rem;
}
.num-giving__total em {
  font-style: normal;
  font-size: .42em;
  font-weight: 600;
  opacity: .85;
  margin-right: .15em;
}
.num-giving__total small {
  font-size: .35em;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
  margin-left: .1em;
}
.num-giving__desc {
  margin: 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  max-width: 500px;
  line-height: 1.55;
}

/* Barra proporcional */
.num-bar {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.num-bar__seg {
  height: 100%;
  width: var(--w);
  background: var(--c);
}

/* Legenda da barra */
.num-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.num-legend__item {
  padding-top: .85rem;
  border-top: 2px solid var(--item-c, rgba(255, 255, 255, .2));
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.num-legend__pct {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1;
}
.num-legend__name {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.35;
}
.num-legend__val {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .4);
}

@media (max-width: 720px) {
  .num-legend { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .num-legend { grid-template-columns: 1fr; }
}

.numbers__cta {
  display: flex;
  justify-content: center;
}

/* Variante com foto — hero em layout split */
.num-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  text-align: left;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.num-hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: center / cover no-repeat var(--fundacao-dark);
}
.num-hero__data {
  display: flex;
  flex-direction: column;
}
.num-hero--split .num-hero__value {
  font-size: clamp(3rem, 7vw, 5.5rem);
}
.num-hero--split .num-hero__desc {
  margin-left: 0;
}

@media (max-width: 768px) {
  .num-hero--split {
    grid-template-columns: 1fr;
  }
  .num-hero__photo { aspect-ratio: 16 / 9; }
}

/* ============================================================
   FRENTES / EIXOS
   ============================================================ */
.fronts {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--bg);
}
.fronts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.front-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  transition: background var(--t) var(--ease);
}
.front-card:hover { background: #eef0f6; }
.front-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 1.25rem;
}
.front-card__title {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: .55rem;
  line-height: 1.25;
}
.front-card__text {
  margin: 0;
  color: var(--ink-80);
  font-size: .9rem;
  line-height: 1.55;
}
@media (max-width: 880px) { .fronts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fronts__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CHAPTERS — capa chapada (sem gradiente, sem bolas)
   ============================================================ */
.chapter {
  padding-bottom: clamp(4rem, 7vw, 6rem);
  background: var(--bg);
}
.chapter__head {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--chapter);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}
.chapter__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.chapter__overlay {
  position: absolute;
  inset: 0;
  background: var(--chapter);
  opacity: .7;
}
.chapter__head .container { position: relative; z-index: 2; }
.chapter__head-inner {
  max-width: 820px;
  position: relative;
}
.chapter__num {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .25em;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .5rem;
}
.chapter__brand {
  display: block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1.25rem;
}
.chapter__title {
  font-size: clamp(3rem, 7.5vw, 6rem);
  letter-spacing: -.03em;
  color: #fff;
  line-height: .95;
  margin: 0 0 1.25rem;
}
.chapter__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: rgba(255, 255, 255, .92);
  margin: 0;
  font-style: italic;
  max-width: 600px;
  line-height: 1.4;
}
.chapter__intro {
  margin: clamp(2.5rem, 5vw, 4rem) 0 2.5rem;
  max-width: 760px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.5;
  color: var(--ink-80);
}

/* Block-cards genéricos dentro dos capítulos */
.chapter__blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 880px) { .chapter__blocks { grid-template-columns: 1fr; } }
.block-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  transition: background var(--t) var(--ease);
}
.block-card:hover { background: #eef0f6; }
.block-card::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--chapter, var(--fundacao-dark));
  border-radius: 3px;
  margin-bottom: 1.25rem;
}
.block-card__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chapter, var(--fundacao-dark));
  margin-bottom: .65rem;
}
.block-card__title {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: .75rem;
}
.block-card__text {
  color: var(--ink-80);
  font-size: .9rem;
  line-height: 1.55;
  margin: 0;
}
.block-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-15);
}
.block-card__metrics > div { display: flex; flex-direction: column; gap: .15rem; }
.block-card__metrics strong {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--chapter, var(--fundacao-dark));
  letter-spacing: -.01em;
  line-height: 1;
}
.block-card__metrics span {
  font-size: .72rem;
  color: var(--ink-60);
  line-height: 1.35;
}

/* Strip de números no capítulo (Cuidar / Defender) */
.strip-numbers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ink-15);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.strip-numbers__item {
  background: var(--bg);
  padding: 1.5rem 1.1rem;
  text-align: center;
}
.strip-numbers__item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--chapter, var(--fundacao-dark));
  letter-spacing: -.02em;
  line-height: 1;
}
.strip-numbers__item small { font-size: .55em; color: var(--ink-60); margin-left: .15rem; font-weight: 500; }
.strip-numbers__item span {
  display: block;
  font-size: .78rem;
  color: var(--ink-60);
  margin-top: .4rem;
  line-height: 1.35;
}
@media (max-width: 880px) {
  .strip-numbers { grid-template-columns: repeat(2, 1fr); }
  .strip-numbers__item:not(:nth-child(odd)) { border-left: 1px solid var(--ink-15); }
}
@media (max-width: 880px) {
  .strip-numbers--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .strip-numbers { grid-template-columns: 1fr; }
}
/* Modificador 4 colunas — usado no bloco Defender (Infinis) */
.strip-numbers--4col { grid-template-columns: repeat(4, 1fr); }

/* Defender — temas */
.defender-themes {
  margin-bottom: 2.5rem;
  text-align: center;
}
.defender-themes__title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .82rem;
  color: var(--ink-60);
  letter-spacing: .08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.defender-themes__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}
.theme-chip {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.1rem;
  background: var(--chapter-soft);
  color: var(--chapter);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
}

.chapter__cta {
  display: flex;
  justify-content: center;
}

/* ============================================================
   FOOTER — discreto, sem menu
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  padding: clamp(2.75rem, 5vw, 4rem) 0 2rem;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__logo {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-footer__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .65);
  max-width: 520px;
}
.site-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .85rem;
  color: #fff;
  white-space: nowrap;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.site-footer__cta:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .45);
}
.site-footer__cta svg { transition: transform var(--t) var(--ease); }
.site-footer__cta:hover svg { transform: translateY(2px); }

.site-footer__legal {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
}
.site-footer__legal a { transition: color var(--t) var(--ease); }
.site-footer__legal a:hover { color: #fff; }

@media (max-width: 880px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer__logo { margin: 0 auto; }
  .site-footer__cta { justify-self: center; }
}

/* ============================================================
   BOTÃO FLUTUANTE FIXO
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.25rem;
  background: var(--fundacao-dark);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .01em;
  box-shadow: 0 10px 28px -10px rgba(0, 22, 69, .45);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background var(--t) var(--ease);
}
.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta:hover { background: var(--ink); transform: translateY(-2px); }
.floating-cta svg { flex-shrink: 0; }

@media (max-width: 480px) {
  .floating-cta {
    bottom: 1rem;
    right: 1rem;
    padding: .8rem 1rem;
  }
  .floating-cta span { display: none; }
  .floating-cta { padding: .9rem; border-radius: 50%; }
}

/* ============================================================
   FADE-UP ANIMATION
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  *, ::before, ::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
