/* IEJB: a cor da igreja (vermelho) e as peças que só este case tem. */
.case-page {
  --client: #8f0d0b; --client-soft: #fbf3ec; --client-bg: #fbf3ec;
  --ratio: 1400 / 956; --screens-ratio: 1400 / 956;
}
/* "Antes": a planilha e o grupo de WhatsApp, desenhados em HTML. */
.compare .before { background: #eef1ec; color: #1d2a20; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 3%; padding: 4%; font-size: clamp(8px, 1.25vw, 14px); }
.sheet { background: #fff; border: 1px solid #c9d3c9; border-radius: 6px; overflow: hidden; align-self: start; }
.sheet .bar { background: #1e7a46; color: #fff; padding: .6em .8em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet table { border-collapse: collapse; width: 100%; font-family: var(--f-mono); font-size: .9em; table-layout: fixed; }
.sheet td, .sheet th { border: 1px solid #dfe6df; padding: .45em .55em; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet th { background: #f3f6f3; font-weight: 500; }
.sheet .warn { background: #fff4c2; }
.chat { background: #e6ddd4; border-radius: 6px; padding: .8em; display: flex; flex-direction: column; gap: .5em; overflow: hidden; }
.chat .h { font-weight: 700; color: #1d2a20; margin-bottom: .2em; }
.chat p { background: #fff; border-radius: .7em .7em .7em .2em; padding: .45em .7em; max-width: 88%; line-height: 1.3; }
.chat p.me { align-self: flex-end; background: #d6f5c8; border-radius: .7em .7em .2em .7em; }
.chat p small { display: block; color: #6b7a6f; font-size: .8em; }

/* Publicar evento: o cartão sai do app e aparece no site. */
.flowdemo { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.flowdemo .panel { min-height: 260px; }
.arrow { display: grid; place-items: center; color: var(--pencil); font: 500 1.4rem/1 var(--f-mono); }
@media (max-width: 760px) { .flowdemo { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); min-height: 56px; } }
.ev { border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; background: var(--client-soft); display: grid; gap: 2px; view-transition-name: evento; }
.ev strong { font: 800 1.05rem/1.2 var(--f-display); color: var(--client); }
.ev span { color: var(--soft); font-size: .9rem; }
.ev .count { color: var(--client); }
.slot { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 12px 14px; color: var(--soft); font-size: .9rem; }
.agenda-item { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.agenda-item span:last-child { color: var(--soft); }
::view-transition-group(evento) { animation-duration: 700ms; animation-timing-function: var(--ease); }
