/* ============================================================
   BRChina — HISTÓRIAS · área documental de cases
   Identidade própria: escuro, cinematográfico, narrativo
   ============================================================ */
.hist-page { background: var(--green-dark); color: #e9efe9; }
.hist-page ::selection { background: var(--red); }

/* hero */
.hh {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.hh::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(110, 229, 154, 0.07), transparent 70%),
    radial-gradient(700px 400px at 0% 110%, rgba(223, 43, 32, 0.06), transparent 70%);
}
.hh .wrap { position: relative; }
.hh .hh-k {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: #6ee59a;
  display: inline-flex; align-items: center; gap: 12px;
}
.hh .hh-k::before { content: ""; width: 30px; height: 2px; background: var(--red); }
.hh h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.02; letter-spacing: -0.025em;
  margin: 22px 0 18px;
  max-width: 18ch;
}
.hh h1 em { font-style: normal; color: #6ee59a; }
.hh .hh-sub { font-size: clamp(1rem, 1.5vw, 1.2rem); color: #a8bdaf; max-width: 52ch; line-height: 1.6; }

/* chapter index */
.hh-index {
  margin-top: clamp(32px, 5vw, 56px);
  display: flex; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  flex-wrap: wrap;
}
.hh-index a {
  flex: 1; min-width: 200px;
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: baseline; gap: 14px;
  transition: background 0.25s;
}
.hh-index a + a { padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.08); }
.hh-index a:hover { background: rgba(255,255,255,0.04); }
.hh-index .n { font-family: var(--f-display); font-weight: 800; color: transparent; -webkit-text-stroke: 1px #6ee59a; font-size: 1.3rem; }
.hh-index .t { font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1.25; letter-spacing: -0.01em; }
.hh-index .s { display: block; font-family: var(--f-body); font-size: 0.78rem; color: #7e9486; margin-top: 4px; }

/* ---------- case chapter ---------- */
.case {
  padding: clamp(56px, 9vw, 120px) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.case .ch-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.case .ch-num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(110, 229, 154, 0.7);
  line-height: 1;
}
.case .ch-meta { display: flex; flex-direction: column; gap: 4px; }
.case .ch-seg { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.case .ch-meta h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.05; letter-spacing: -0.02em;
  max-width: 24ch;
}
.case .ch-route { margin-left: auto; font-size: 0.78rem; color: #7e9486; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; align-self: center; }
@media (max-width: 760px) { .case .ch-route { margin-left: 0; } }

.case-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
.case-media { position: sticky; top: 110px; }
.case-media .cm-photo {
  aspect-ratio: 4 / 4.4; overflow: hidden; position: relative;
}
.case-media .cm-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05); }
.case-media .cm-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,20,13,0.55), transparent 45%);
}
.case-media .cm-play {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 10px 22px 10px 12px;
  font-weight: 700; font-size: 0.88rem; font-family: var(--f-body);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.case-media .cm-play:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.28); }
.case-media .cm-play .tri {
  width: 34px; height: 34px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center;
}
.case-media .cm-play .tri::after {
  content: ""; width: 0; height: 0;
  border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  margin-left: 2px;
}
.case-media .cm-cap { font-size: 0.75rem; color: #7e9486; margin-top: 10px; font-family: var(--f-body); }

.case-story { font-family: var(--f-body); font-size: 1.04rem; line-height: 1.7; color: #c9d6cc; }
.case-story > * + * { margin-top: 1.2em; }
.case-story .cs-label {
  font-family: var(--f-body); font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: #6ee59a;
  display: block; margin-top: 2em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.case-story .cs-label:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.case-story strong { color: #fff; }

.case-quote {
  font-family: var(--f-body); font-style: italic; font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.4; color: #fff;
  border-left: 3px solid var(--red);
  padding-left: 24px;
  margin: 1.8em 0 !important;
}
.case-quote .q-who {
  display: block; font-style: normal;
  font-family: var(--f-body); font-size: 0.85rem; font-weight: 700;
  color: #7e9486; margin-top: 14px;
}
.case-quote .q-who b { color: #e9efe9; }

/* results strip */
.case-results {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.2em !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.cres { padding: 18px 18px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.cres + .cres { padding-left: 18px; border-left: 1px solid rgba(255,255,255,0.12); }
.cres .v { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; color: #fff; }
.cres .v em { font-style: normal; color: #6ee59a; }
.cres .k { font-family: var(--f-body); font-size: 0.8rem; color: #7e9486; margin-top: 4px; line-height: 1.4; }
@media (max-width: 560px) {
  .case-results { grid-template-columns: 1fr; }
  .cres + .cres { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); }
}

@media (max-width: 880px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-media { position: static; }
  .case-media .cm-photo { aspect-ratio: 16 / 10; }
}

/* ---------- final CTA ---------- */
.hist-cta {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: clamp(56px, 9vw, 110px) 0;
  text-align: center;
}
.hist-cta h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  letter-spacing: -0.02em; line-height: 1.06;
  max-width: 22ch; margin: 0 auto 16px;
}
.hist-cta h2 em { font-style: normal; color: #6ee59a; }
.hist-cta p { color: #a8bdaf; max-width: 46ch; margin: 0 auto 30px; font-size: 1.05rem; }
.hist-cta .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* header permanece branco sobre a página escura */
