/* ===== 3 · Acompanhamento (papel com malha) ===== */
.ch-abre { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 6rem); align-items: end; }
.ch-h2 { max-width: 15ch; font-size: clamp(2.4rem, 1.2rem + 4vw, 5.4rem); }
.ch-h2 i { color: var(--acento); }
.ch-lead { color: var(--tinta-2); max-width: 30rem; }

.ch-fig { margin-top: clamp(3rem, 6vw, 5.5rem); display: grid; gap: 1rem; }
.ch-graf { position: relative; }
.ch-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }

/* área do gráfico: faixa "meta" no alto, eixo embaixo */
.ch-plot { position: relative; height: clamp(28rem, 20rem + 18vw, 38rem); }
.ch-meta {
  position: absolute; left: 0; right: 0; top: 0; height: 46%;
  background: rgb(179 38 30 / .09);
  border-top: 1px dashed rgb(179 38 30 / .7); border-bottom: 1px dashed rgb(179 38 30 / .7);
  padding: clamp(.8rem, 1.6vw, 1.3rem) clamp(1rem, 2vw, 1.6rem);
}
.ch-meta-rot { font-size: var(--t-mini); letter-spacing: .16em; text-transform: uppercase; color: var(--acento); font-weight: 500; }
.ch-festa { list-style: none; margin-top: .8rem; width: 78%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.4rem); }
.ch-festa blockquote p { font-style: italic; font-size: clamp(1.2rem, .8rem + 1.05vw, 1.75rem); line-height: 1.22; color: var(--tinta); }
.ch-fonte { margin-top: .45rem; font-size: .8rem; letter-spacing: .06em; color: var(--tinta-3); }
.ch-fogo-cel { display: none; }
.js .ch-graf.ch-espera .ch-festa li { opacity: .28; transform: translateY(6px); }
.ch-festa li { transition: opacity .7s ease, transform .8s var(--ease); }
.ch-graf.ch-chegou .ch-festa li:nth-child(2) { transition-delay: .18s; }
.ch-graf.ch-chegou .ch-festa li:nth-child(3) { transition-delay: .36s; }
.ch-eixo-y { position: absolute; left: .6rem; top: calc(46% + .6rem); font-size: .8rem; letter-spacing: .06em; color: var(--tinta-2); }
.ch-eixo-x { position: absolute; right: 0; bottom: .6rem; font-size: .8rem; letter-spacing: .06em; color: var(--tinta-2); }

/* pontos: cinco colunas sob o eixo, ligadas ao ponto por um fio */
.ch-pontos { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(4.5rem, 7vw, 6rem); position: relative; z-index: 2; }
.ch-pt { display: grid; align-content: start; gap: .5rem; padding-top: .9rem; border-top: 1px solid var(--tinta); }
.ch-ano { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .45rem; line-height: 1; }
.ch-ano .mono { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-3); }
.ch-n { font-family: var(--mono); font-weight: 400; font-size: clamp(2.6rem, 1.4rem + 2.6vw, 4.2rem); letter-spacing: -.04em; color: var(--tinta); }
.ch-pt--fim .ch-n { color: var(--acento); }
.ch-pt blockquote p { font-size: 1.125rem; line-height: 1.45; }
.ch-pt .ch-fonte { margin-top: 0; }

/* svg */
.ch-eixo { stroke: var(--tinta); stroke-width: 1.2; fill: none; }
.ch-tick { stroke: var(--tinta); stroke-width: 1; }
.ch-tick-txt { font-family: var(--mono); font-size: 12px; fill: var(--tinta-2); }
.ch-linha { stroke: var(--tinta); stroke-width: 2; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.ch-fio { stroke: var(--tinta-3); stroke-width: 1; stroke-dasharray: 2 4; fill: none; }
.ch-ponto { fill: var(--papel); stroke: var(--tinta); stroke-width: 1.6; }
.ch-ponto.final { fill: var(--acento); stroke: var(--acento); }
.ch-ponto { transition: r .25s var(--ease), stroke-width .25s; }
.ch-ponto.acesa:not(.final) { fill: var(--tinta); }
.ch-fio { transition: stroke .25s; }
.ch-fio.aceso { stroke: var(--acento); stroke-dasharray: none; }
.ch-pt { transition: border-color .25s; }
.ch-pt.ch-acesa { border-top-color: var(--acento); }
.ch-pt:focus-visible { outline-offset: 6px; }
.ch-fogo { stroke: var(--acento); stroke-linecap: round; fill: none; }
.ch-fogo-pt { fill: var(--acento); }

.ch-legenda { font-size: .8rem; line-height: 1.5; color: var(--tinta-2); max-width: 60rem; margin-top: .5rem; }
.ch-legenda b { color: var(--tinta); font-weight: 500; }

.ch-fecho { margin-top: clamp(3rem, 6vw, 5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem clamp(1.5rem, 3vw, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--tinta); position: relative; }
.ch-fecho::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 1px solid var(--tinta); }
.ch-nota { display: flex; align-items: baseline; gap: .8rem; font-family: var(--mono); font-size: 1rem; letter-spacing: .04em; color: var(--tinta-2); }
.ch-nota strong { font-family: var(--serifa); color: var(--tinta); font-weight: 500; font-size: clamp(3rem, 2rem + 3vw, 4.6rem); line-height: 1; letter-spacing: -.02em; }
.ch-estrela { color: var(--acento); font-size: 1.6rem; align-self: center; }
.ch-nota span:last-child { white-space: nowrap; }

/* ===== celular e tablet: o tempo desce, a meta fica no fim ===== */
@media (max-width: 900px) {
  .ch-abre { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .ch-svg { display: none; }
  .ch-graf { display: flex; flex-direction: column; }
  .ch-plot { display: contents; }
  .ch-eixo-y, .ch-eixo-x { display: none; }
  .ch-pontos { order: 1; grid-template-columns: minmax(0, 1fr); gap: 2.2rem; margin-top: 0; padding-left: 2.4rem; }
  .ch-pontos::before { content: ""; position: absolute; left: .55rem; top: 1.9rem; bottom: -2.4rem; border-left: 1.5px solid var(--tinta); }
  .ch-pt { border-top: 0; padding-top: 0; position: relative; }
  .ch-pt::before { content: ""; position: absolute; left: -2.35rem; top: 1.55rem; width: 13px; height: 13px; border-radius: 50%; background: var(--papel); border: 1.5px solid var(--tinta); }
  .ch-meta { order: 2; position: relative; height: auto; margin-top: 2.4rem; padding: 1.4rem 1.2rem 1.6rem 2.4rem; }
  .ch-meta::before { content: ""; position: absolute; left: .55rem; top: -1px; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: var(--acento); margin-left: .75px; }
  .ch-fogo-cel { display: block; position: absolute; left: .6rem; top: 0; width: 110px; height: 110px; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
  .ch-festa { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .ch-festa blockquote p { font-size: 1.35rem; }
  .ch-pt .ch-n { font-size: 3.2rem; }
  .ch-leg-larga { display: none; }
}
@media (max-width: 420px) {
  .ch-nota { flex-wrap: wrap; row-gap: .3rem; }
  .ch-nota span:last-child { flex-basis: 100%; }
}
