/*
 * /comecar — a página nasce dentro do grupo da igreja: balões do grupo,
 * o cartão da próxima escala como resposta, a caixa de resposta com o
 * CTA. Tokens e base em /servobom.css.
 */

body {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}
.lead {
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 60ch;
}
.section {
  padding: 104px 0 96px;
  border-top: 1px solid var(--border);
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head .lead {
  margin-top: 16px;
}

/* ---------- balão do grupo ---------- */

.bubble {
  max-width: 340px;
  padding: 12px 16px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-block) var(--r-block) var(--r-block) 6px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.bubble .who {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
}

/* ---------- herói: o grupo ---------- */

.hero {
  padding: 40px 0 72px;
}
.hero-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.chat {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}
.chat li:nth-child(2) {
  margin-top: 30px;
}
.chat li:nth-child(3) {
  margin-top: 8px;
}
.hero h1 {
  grid-column: 1 / 9;
  font-weight: 800;
  font-size: clamp(2.25rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero .lead {
  grid-column: 1 / 8;
  margin-top: 24px;
}
.next {
  grid-column: 9 / 13;
  grid-row: 2 / 4;
  align-self: start;
  margin-top: 6px;
}
.next-card {
  border: 1px solid var(--green);
  border-radius: var(--r-panel);
  background: var(--green-ink);
  padding: 22px 22px 8px;
}
.next-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.next-when {
  margin: 4px 0 14px;
  color: var(--green-300);
  font-size: 0.9375rem;
  font-weight: 600;
}
.next-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}
.next-rows li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #1e3d2b;
}
.next-rows .icon {
  color: #9fcbb0;
}
.next-rows strong {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.next-rows span {
  color: #9fcbb0;
  font-size: 0.8125rem;
}
.faces {
  display: flex;
}
.faces i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -7px;
  border-radius: 999px;
  border: 2px solid var(--green-ink);
  background: #173a27;
  color: var(--green-300);
  font: 700 0.625rem/1 var(--body);
  font-style: normal;
}
.faces i:first-child {
  margin-left: 0;
}
.next-meta {
  margin: 8px 6px 0;
  color: var(--text-3);
  font-size: 0.8125rem;
}

.composer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding: 8px 8px 8px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
}
.composer p {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  color: var(--text-3);
  font-size: 1rem;
}
.composer .sb-btn {
  border-radius: 999px;
  white-space: nowrap;
}
.micro {
  grid-column: 1 / -1;
  margin: 14px 0 0 24px;
  color: var(--text-3);
  font-size: 0.875rem;
}
.micro a {
  font-weight: 700;
}

/* ---------- respostas: cada pergunta do grupo vira uma tela do app ---------- */

.exchanges {
  margin: 0;
  padding: 0;
  list-style: none;
}
.exchange {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.exchange:first-child {
  border-top: 0;
  padding-top: 8px;
}
.exchange .ask {
  justify-self: start;
  max-width: 400px;
  font-size: 1.125rem;
}
.exchange:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.exchange:nth-child(even) .ask {
  order: 2;
  justify-self: end;
}
.answer {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
}
.shot {
  display: block;
  width: min(270px, 62vw);
  height: auto;
  aspect-ratio: 780 / 1688;
  border-radius: var(--r-hero);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.answer figcaption h3 {
  margin-bottom: 10px;
}
.answer figcaption p {
  color: var(--text-2);
}
.demo-note {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 0.875rem;
}

/* A coreografia única da página: a pergunta chega, depois a resposta.
   Só com JS (html.js) — sem ele, tudo já aparece. */
.js .exchange .ask,
.js .exchange .answer {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.js .exchange .answer {
  transition-delay: 0.35s;
}
.js .exchange.in .ask,
.js .exchange.in .answer {
  opacity: 1;
  transform: none;
}

