/* Transplante capilar · conceito "Capítulos horizontais"
   Prefixo: .tc-  (topbar/brand do template estilizados aqui porque sections.css não é carregado) */

/* =========================================================
   TOPBAR + HERO
   ========================================================= */
.pg-hero { padding-top: 18px; }
.pg-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.brand { font-weight: 700; text-decoration: none; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.pg-topbar .brand, .pg-topbar__cta { min-height: 44px; display: inline-flex; align-items: center; }
.pg-topbar__mid { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); text-align: center; }
.pg-topbar__cta { text-decoration: none; font-weight: 600; gap: 6px; }
.pg-topbar__cta:hover { color: var(--accent-text); }
@media (max-width: 760px) { .pg-topbar__mid { display: none; } }

.tc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.tc-hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(46px, 7.2vw, 116px);
  line-height: .9;
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: 14ch;
}
.tc-hero__title em { font-style: italic; color: var(--accent); }
.tc-hero__title .w { display: inline-block; }
.tc-hero__sub { font-size: clamp(17px, 1.1vw + 11px, 21px); max-width: 54ch; margin-top: 28px; color: var(--ink-2); }
.tc-hero__actions { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; margin-top: 34px; }
.tc-hero__actions .link-arrow { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.tc-hero__note {
  background: var(--ink); color: var(--paper);
  border-radius: 16px; padding: 18px;
  font-size: 15px; line-height: 1.45;
  box-shadow: 12px 12px 0 var(--accent);
  margin-bottom: 12px;
}
.tc-hero__stamp {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark);
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px dashed var(--panel-line);
}
.tc-hero__stamp span:first-child { color: var(--accent-dark); font-weight: 700; }
.tc-hero__caption { font-family: var(--f-mono); font-size: 11px; color: var(--muted-dark); margin-top: 10px; letter-spacing: .04em; }

/* Balões de conversa (hero e capítulo 02) */
.tc-bubble { padding: 10px 13px; border-radius: 14px; margin-bottom: 8px; max-width: 90%; width: fit-content; }
.tc-bubble--in { background: var(--ink-2); color: var(--paper); border-bottom-left-radius: 4px; }
.tc-bubble--out { background: var(--paper); color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; }

@media (max-width: 900px) {
  .tc-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .tc-hero__note { max-width: 420px; margin-right: 12px; }
}

/* =========================================================
   DORES (livro-caixa editorial)
   ========================================================= */
.tc-pain__list { border-top: 1px solid var(--line); counter-reset: none; }
.tc-pain__list li {
  display: grid;
  grid-template-columns: 90px minmax(0, .9fr) minmax(0, 1.3fr);
  gap: 12px clamp(20px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.tc-pain__num { font-family: var(--f-display); font-style: italic; font-size: clamp(36px, 3.4vw, 52px); line-height: 1; color: var(--accent); }
.tc-pain__list h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.015em; }
.tc-pain__list p { color: var(--ink-2); max-width: 56ch; }
@media (max-width: 760px) {
  .tc-pain__list li { grid-template-columns: 56px minmax(0, 1fr); }
  .tc-pain__list p { grid-column: 2; }
}

/* =========================================================
   JORNADA · padrão: blocos verticais (mobile, movimento reduzido, sem GSAP)
   ========================================================= */
.tc-journey { padding-top: var(--section-y); background: var(--paper); }
.tc-journey__head .section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.tc-journey__hud { display: none; }
.tc-journey__track { border-top: 1px solid var(--line); }

.tc-ch { border-bottom: 1px solid var(--line); padding-block: clamp(56px, 8vw, 110px); }
.tc-ch--b { background: var(--paper-2); }
.tc-ch__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
.tc-ch__label {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.tc-ch__big {
  display: block;
  font-family: var(--f-display); font-size: clamp(84px, 12vw, 180px); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--ink);
  margin-bottom: 18px;
}
.tc-ch__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px); line-height: .98; letter-spacing: -.02em;
  text-wrap: balance; margin-bottom: 18px;
}
.tc-ch__title em { font-style: italic; color: var(--accent); }
.tc-ch__text > p:not(.tc-ch__label) { color: var(--ink-2); max-width: 52ch; }
.tc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tc-tags li {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.tc-tags li:first-child { background: var(--ink); color: var(--paper); }

.tc-ch__art { margin: 0; width: 100%; max-width: 460px; justify-self: end; }

/* Capítulo 01 · anúncio */
.tc-ad { background: #FBF8F3; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 10px 10px 0 var(--ink); }
.tc-ad__head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.tc-ad__head small { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: auto; }
.tc-ad__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; }
.tc-ad__body { font-size: 16px; line-height: 1.5; margin: 16px 0; padding: 18px 0; border-block: 1px solid var(--paper-2); }
.tc-ad__cta { display: flex; justify-content: space-between; font-weight: 700; background: var(--paper-2); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.tc-ad__rule { font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-top: 14px; letter-spacing: .03em; line-height: 1.5; }

/* Capítulo 02 · conversa */
.tc-chat { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 18px; font-size: 15px; line-height: 1.45; box-shadow: 10px 10px 0 var(--accent); }
.tc-chat__head { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; color: var(--muted-dark); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px dashed var(--panel-line); }
.tc-chat__head b { color: var(--paper); }
.tc-chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; }
.tc-chat__note { font-family: var(--f-mono); font-size: 11px; color: var(--muted-dark); margin-top: 8px; }

/* Capítulo 03 · pré-diagnóstico */
.tc-check { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--paper); }
.tc-check__head, .tc-time__head, .tc-card__head { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.tc-check__list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(20,18,16,.25); font-size: 15px; }
.tc-check__list span { color: var(--ink-2); }
.tc-check__list b { font-weight: 700; text-align: right; }
.tc-check__out { margin-top: 16px; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 12px 14px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }

/* Capítulo 04 · linha do tempo */
.tc-time { border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 8px; background: var(--paper); }
.tc-time__list li { position: relative; padding: 0 0 18px 28px; display: grid; gap: 2px; font-size: 15px; }
.tc-time__list li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.tc-time__list li::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--line); opacity: .4; }
.tc-time__list li:last-child::after { display: none; }
.tc-time__list li:last-child::before { background: var(--accent-text); border-color: var(--accent-text); }
.tc-time__list b { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tc-time__list span { color: var(--ink-2); }

/* Capítulo 05 · ficha no CRM */
.tc-card { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 20px; box-shadow: 10px 10px 0 var(--accent); }
.tc-card .tc-card__head { color: var(--accent-dark); }
.tc-card__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--panel-line); font-size: 15px; }
.tc-card__rows div:last-child { border-bottom: 0; }
.tc-card__rows dt { color: var(--muted-dark); }
.tc-card__rows dd { text-align: right; font-weight: 600; }
.tc-card__stage { color: var(--accent-dark); }

@media (max-width: 900px) {
  .tc-ch__inner { grid-template-columns: 1fr; }
  .tc-ch__art { justify-self: start; max-width: 440px; }
  .tc-ad, .tc-chat, .tc-card { margin-right: 10px; width: calc(100% - 10px); }
}

/* =========================================================
   JORNADA · modo horizontal (classe aplicada pelo JS só em >= 900px com GSAP e movimento liberado)
   ========================================================= */
.tc-journey.is-h .tc-journey__pin { height: 100vh; overflow: hidden; position: relative; border-top: 1px solid var(--line); }
.tc-journey.is-h .tc-journey__hud {
  display: flex; align-items: center; gap: 24px;
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  height: 56px; padding-inline: var(--gutter);
  background: var(--paper); border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.tc-journey__bar { flex: 1; height: 2px; background: rgba(20,18,16,.14); overflow: hidden; }
.tc-journey__bar i { display: block; height: 100%; background: var(--accent-text); transform: scaleX(0); transform-origin: 0 50%; }
.tc-journey__count b { color: var(--ink); font-weight: 700; }

.tc-journey.is-h .tc-journey__track { display: flex; height: 100%; width: max-content; border-top: 0; will-change: transform; }
.tc-journey.is-h .tc-ch {
  flex: none; width: var(--tc-w, 100vw); height: 100%;
  padding: 56px 0 0; border-bottom: 0; border-right: 1px solid var(--line);
  display: flex; align-items: center;
}
.tc-journey.is-h .tc-ch:last-child { border-right: 0; }
.tc-journey.is-h .tc-ch__inner { padding-block: clamp(20px, 4vh, 48px); }
.tc-journey.is-h .tc-ch__big { font-size: clamp(72px, 17vh, 190px); margin-bottom: 2vh; }
.tc-journey.is-h .tc-ch__title { font-size: clamp(30px, min(3.6vw, 6.2vh), 58px); }
.tc-journey.is-h .tc-ch__label { margin-bottom: 2.4vh; }
@media (max-height: 760px) {
  .tc-journey.is-h .tc-ch__text > p:not(.tc-ch__label) { font-size: 16px; }
  .tc-journey.is-h .tc-check__list li, .tc-journey.is-h .tc-card__rows div { padding-block: 7px; }
  .tc-journey.is-h .tc-time__list li { padding-bottom: 12px; }
}

/* =========================================================
   PROCEDIMENTOS
   ========================================================= */
.tc-procs { border-top: 1px solid var(--line); }
.tc-procs__table { border-top: 1px solid var(--line); }
.tc-procs__row {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 12px clamp(20px, 3vw, 48px);
  padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.tc-procs__row--head { padding: 14px 0; }
.tc-procs__row--head span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tc-procs__row h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.015em; }
.tc-procs__row p { color: var(--ink-2); }
@media (max-width: 760px) {
  .tc-procs__row { grid-template-columns: 1fr; gap: 10px; }
  .tc-procs__row--head { display: none; }
  .tc-procs__row p::before { content: attr(data-label); display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
}

.tc-pull {
  margin-top: clamp(48px, 7vw, 96px); padding-left: clamp(20px, 3vw, 40px);
  border-left: 2px solid var(--accent-text); max-width: 980px;
}
.tc-pull p { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.tc-pull em { font-style: italic; color: var(--accent); }

/* =========================================================
   PROVA
   ========================================================= */
.tc-proof { background: var(--ink); color: var(--paper); }
.tc-proof .lead { color: #D9D1C5; }
.tc-proof .h2 em { color: var(--accent-dark); }
.tc-proof__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--panel-line); }
.tc-proof__grid > div { padding: clamp(24px, 3vw, 40px) clamp(0px, 2vw, 32px) clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--panel-line); }
.tc-proof__grid > div:nth-child(odd) { border-right: 1px solid var(--panel-line); }
.tc-proof__grid > div:nth-child(even) { padding-left: clamp(20px, 3vw, 48px); }
.tc-proof__grid dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.tc-proof__grid dd { font-family: var(--f-display); font-size: clamp(44px, 6.4vw, 104px); line-height: 1; letter-spacing: -.03em; margin-top: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-proof__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 32px; }
.tc-proof__fine { font-family: var(--f-mono); font-size: 12px; color: var(--muted-dark); letter-spacing: .03em; }
.tc-proof .link-arrow { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tc-proof .link-arrow:hover { color: var(--accent-dark); }
@media (max-width: 700px) {
  .tc-proof__grid { grid-template-columns: 1fr; }
  .tc-proof__grid > div:nth-child(odd) { border-right: 0; }
  .tc-proof__grid > div:nth-child(even) { padding-left: 0; }
  .tc-proof__grid dd { font-size: clamp(40px, 12vw, 64px); }
}

/* =========================================================
   Movimento reduzido: tudo estático e visível
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .tc-journey__track { transform: none !important; }
}
