/* co · A consulta (versão 3): a mesa dela se desfaz no mármore, à esquerda, presa; à direita os quatro tempos; o fio de luz desce pela margem e vira o L no fecho */
.co { --co-ouro: color-mix(in oklab, var(--ouro) 72%, var(--tinta)); }
.co-so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.co-abre { max-width: 54rem; }
.co-corpo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2.5rem, 6vw, 6.5rem); align-items: start; margin-top: clamp(2.5rem, 5.5vw, 5rem); }

/* lado preso */
.co-lado { position: sticky; top: clamp(1.5rem, 6vh, 4rem); }
.co-foto { margin: 0; display: flex; flex-direction: column-reverse; }
.co-foto img { display: block; width: 100%; height: auto; max-height: 46vh; aspect-ratio: 5 / 4; object-fit: cover; object-position: 42% 100%; filter: saturate(.9) sepia(.08) brightness(1.02); -webkit-mask-image: linear-gradient(180deg, #000 58%, rgb(0 0 0 / .5) 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 58%, rgb(0 0 0 / .5) 82%, transparent 100%); }
.co-legenda { margin-bottom: .8rem; font-size: var(--t-rotulo); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--tinta-2); }
.co-conta { position: relative; margin: .25rem 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; font-size: var(--t-texto); line-height: 1.55; color: var(--tinta-2); }
.co-conta b { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(2.6rem, 4.2vw, 3.9rem); line-height: .95; color: var(--tinta); white-space: nowrap; }
.co-conta b i { font-size: .45em; color: var(--co-ouro); }
.co-indice { list-style: none; counter-reset: co; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--linha); display: grid; gap: .55rem; font-size: .95rem; color: var(--tinta-2); }
.co-indice li { counter-increment: co; display: flex; align-items: center; gap: .9rem; transition: color .6s; }
.co-indice li::before { content: counter(co); font-family: var(--f-titulo); font-size: 1.15rem; width: 1ch; color: var(--co-ouro); }
.co-indice li::after { content: ""; order: -1; width: 0; opacity: 0; height: 2px; border-radius: 2px; background: var(--fio); box-shadow: 0 0 0 1px rgb(201 163 111 / .5), 0 0 12px rgb(255 205 130 / .95); transition: width .7s var(--curva), opacity .5s; }
.co-indice li.co-ativo { color: var(--tinta); font-weight: 600; }
.co-indice li.co-ativo::after { width: 1.75rem; opacity: 1; }

/* trilho */
.co-trilho { position: relative; padding-left: clamp(2.25rem, 4vw, 3.75rem); }
.co-fio { position: absolute; left: 0; top: 2.4rem; bottom: 1px; width: 1px; background: rgb(43 37 30 / .2); }
.co-fio-luz { position: absolute; left: -1px; top: 0; width: 3px; height: var(--co-p, 100%); border-radius: 2px; background: var(--fio); box-shadow: 0 0 0 1px rgb(201 163 111 / .6), 0 0 10px #fff3dc, 0 0 26px 2px rgb(255 200 120 / .95), 0 0 70px 6px rgb(255 190 110 / .55); }
.co-ponta { position: absolute; left: -5px; top: var(--co-p, 100%); width: 11px; height: 11px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgb(201 163 111 / .7), 0 0 16px 5px rgb(255 214 150 / .95), 0 0 46px 16px rgb(255 190 110 / .6); }
.co:not(.co-vivo) .co-ponta { display: none; }

.co-tempos { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3.5rem, 7vw, 6.5rem); }
.co-tempo { position: relative; }
.co-tempo::before { content: ""; position: absolute; z-index: -1; left: -30%; top: -22%; width: 110%; height: 130%; background: radial-gradient(closest-side in oklab, rgb(255 246 226 / .9), rgb(255 246 226 / 0)); opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.co-no { position: absolute; left: calc(-1 * clamp(2.25rem, 4vw, 3.75rem) - 6px); top: 2.4rem; width: 13px; height: 13px; border-radius: 50%; background: var(--marmore); box-shadow: 0 0 0 1px rgb(43 37 30 / .4); transition: background-color .8s, box-shadow .8s; }
.co-topo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1rem, 2.4vw, 2rem); align-items: end; }
.co-num { display: block; min-width: .62em; font-family: var(--f-titulo); font-size: clamp(5.5rem, 9.5vw, 9rem); line-height: .74; color: var(--ouro); transition: opacity 1s; }
.co-tempo .wf-h3 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.05; }
.co-quantos { margin: .55rem 0 0; font-size: var(--t-rotulo); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--tinta-2); }
.co-quantos b { font-weight: 600; color: var(--co-ouro); }
.co-tempo .wf-texto { margin-top: 1.5rem; }
.co-voz { margin-top: clamp(1.6rem, 3vw, 2.25rem); max-width: 36rem; }
.co-menor { margin-top: 1.5rem; }
.co-menor blockquote { font-size: 1.22rem; line-height: 1.35; }
.co-dela { margin: clamp(1.6rem, 3vw, 2.25rem) 0 0; padding: 1.2rem 1.4rem 1.3rem; max-width: 34rem; border-radius: var(--raio); background: linear-gradient(180deg in oklab, rgb(255 250 240 / .86), rgb(255 246 230 / .6)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7), 0 24px 50px -30px rgb(84 56 20 / .5); font-family: var(--f-titulo); font-size: 1.3rem; line-height: 1.32; color: var(--tinta); }
.co-dela .wf-rotulo { display: block; margin-bottom: .5rem; font-family: var(--f-texto); color: var(--co-ouro); }
.co-dela q { quotes: "“" "”"; }

/* o que ainda está na meia-luz (só enfeite muda: o texto fica sempre legível) */
.co-vivo .co-tempo:not(.co-aceso) .co-num { opacity: .32; }
.co-vivo .co-tempo.co-aceso::before { opacity: 1; }
.co-vivo .co-tempo.co-aceso .co-no, .co:not(.co-vivo) .co-no { background: #fff; box-shadow: 0 0 0 1px rgb(201 163 111 / .8), 0 0 14px 4px rgb(255 205 130 / .9); }

/* o fecho: o fio chega ao pé do trilho e vira o L */
.co-fecho { margin-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(2rem, 3.5vw, 3rem); display: grid; gap: 1.75rem; justify-items: start; }
.co-fecho .wf-cita { max-width: 38rem; }
.co-fecho .wf-cita blockquote { font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.1; text-wrap: balance; }
.co-pe { position: absolute; left: -1px; bottom: 0; height: 3px; width: min(72%, 30rem); border-radius: 2px; background: var(--fio); box-shadow: 0 0 0 1px rgb(201 163 111 / .6), 0 0 10px #fff3dc, 0 0 26px 2px rgb(255 200 120 / .95), 0 0 70px 6px rgb(255 190 110 / .55); transform-origin: left; transition: transform 1.3s var(--curva), opacity .8s; }
.co-vivo .co-pe { transform: scaleX(0); opacity: 0; }
.co-vivo.co-chegou .co-pe { transform: none; opacity: 1; }
.co-vivo.co-chegou .co-ponta { opacity: 0; }
.co-ponta { transition: opacity .5s; }

@media (max-width: 899.98px) {
  .co-corpo { grid-template-columns: minmax(0, 1fr); }
  .co-lado { position: static; }
  .co-foto img { aspect-ratio: 4 / 3; max-height: none; }
  .co-conta { margin-top: -1.1rem; }
  .co-no { top: 1.6rem; }
  .co-fio { top: 1.6rem; }
  .co-num { font-size: 5rem; }
  .co-indice { display: none; }
  .co-trilho { padding-left: 1.75rem; }
  .co-no { left: calc(-1.75rem - 6px); }
  .co-pe { width: 62%; }
  .co-fecho .wf-botao { width: 100%; max-width: 22rem; }
}
@media (max-width: 420px) { .co-conta { grid-template-columns: minmax(0, 1fr); gap: .6rem; } }
@media (min-width: 600px) and (max-width: 899.98px) { .co-foto img { aspect-ratio: 16 / 9; object-position: 50% 78%; } }
@media (min-width: 900px) and (max-width: 1199.98px) { .co-conta { grid-template-columns: minmax(0, 1fr); gap: .6rem; } }
