.res-nav { display: flex; align-items: center; gap: 1.5rem; font-size: .8rem; }
.res-back { color: var(--muted); transition: color .2s var(--ease); }
.res-back:hover { color: var(--text); }
.site-header .res-nav { display: flex; }

/* Topo */
.res-hero {
  position: relative;
  text-align: center;
  padding: calc(var(--header) + clamp(4rem, 10vh, 7rem)) var(--pad) clamp(3rem, 6vw, 4.5rem);
}
.res-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 60%;
  width: min(60rem, 140vw);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(217, 119, 87, .14), transparent);
  pointer-events: none;
  z-index: -1;
}
.res-hero h1 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: 1.04; margin: .75rem 0 1.25rem; }
.res-hero h1 span { color: var(--acid); }
.res-hero p { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34rem; margin: 0 auto; }

/* Case */
.case { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad) clamp(5rem, 10vw, 8rem); }
.case-head { text-align: center; margin-bottom: 2.5rem; }
.case-tags { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-bottom: 1.25rem; }
.case-tags span { font-size: .8rem; font-weight: 600; background: var(--surface-2); color: var(--muted); border-radius: 980px; padding: .35rem .8rem; }
.case-tags span:first-child { background: var(--acid-soft); color: var(--acid); }
.case-head h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 .6rem; }
.case-head p { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin: 0; }
.case-ig { display: inline-flex; align-items: center; gap: .3rem; min-height: 2rem; margin-top: .25rem; color: var(--faint); font-size: .8rem; transition: color .2s var(--ease); }
.case-ig svg { width: .85rem; height: .85rem; fill: none; stroke: currentColor; stroke-width: 2; }
.case-ig svg .dot { fill: currentColor; stroke: none; }
.case-ig:hover { color: var(--acid); }

/* Números em destaque */
.stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.stat { background: var(--surface); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.stat b { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); margin-top: .6rem; font-size: 1rem; }
.stat-hero { background: var(--acid); color: #000; }
.stat-hero b { font-size: clamp(3.6rem, 7vw, 5.5rem); }
.stat-hero span { color: rgba(0, 0, 0, .7); font-weight: 600; }
.stat-hero p { margin: auto 0 0; padding-top: 2rem; font-size: 1.0625rem; line-height: 1.45; color: rgba(0, 0, 0, .78); max-width: 24rem; }
.stat-hero strong { color: #000; }

/* Gráfico de barras */
.chart { margin: 0; }
.chart figcaption h3 { margin-bottom: .35rem; }
.chart figcaption p { color: var(--muted); margin: 0; font-size: .95rem; }
.bars {
  --h: 15rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(.75rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  padding-top: 2rem;
  position: relative;
}
.bars::after { content: ""; position: absolute; left: 0; right: 0; top: calc(2rem + var(--h)); height: 1px; background: var(--line-strong); }
.bar-col { display: flex; flex-direction: column; align-items: center; }
.bar-col > .bar {
  position: relative;
  width: min(100%, 5rem);
  height: calc(var(--h) * var(--v) / 9);
  margin-top: calc(var(--h) - var(--h) * var(--v) / 9);
  background: #48484a;
  border-radius: 8px 8px 2px 2px;
  transform-origin: bottom;
  transition: background .2s var(--ease), transform 1.1s var(--ease);
}
.js .chart:not(.visible) .bar { transform: scaleY(0); }
.bar-col:nth-child(2) .bar { transition-delay: .06s; }
.bar-col:nth-child(3) .bar { transition-delay: .12s; }
.bar-col:nth-child(4) .bar { transition-delay: .18s; }
.bar-col:nth-child(5) .bar { transition-delay: .24s; }
.bar-col:hover .bar { background: #636366; }
.bar-col.is-peak .bar, .bar-col.is-peak:hover .bar { background: var(--acid); }
.tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + .5rem);
  transform: translateX(-50%);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.bar-col:hover .tip, .bar-col.is-peak .tip { opacity: 1; }
.bar-month { margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.bar-value { margin-top: .15rem; font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-col.is-peak .bar-month { color: var(--acid); }
.chart-note { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .8rem; }

/* Segundo case */
.case-next { padding-top: clamp(5rem, 10vw, 8rem); border-top: 1px solid var(--line); }

@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-hero { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .res-back { display: none; }
  .stats { grid-template-columns: 1fr; }
  .bars { --h: 11rem; }
  .bar-month { font-size: .75rem; }
  .bar-value { font-size: .85rem; }
  .tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .chart:not(.visible) .bar { transform: none; }
}
