/* =========================================================
   Páginas de tratamento — complementa styles.css
   Só usa os tokens aprovados do :root de styles.css.
   ========================================================= */

/* ---------- Topo ---------- */
.page-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 64px;
  padding-top: 132px;
  padding-bottom: 128px;
}
.page-hero .hero__title { font-size: clamp(2.1rem, 4vw, 2.9rem); }
.page-hero .hero__title .line { display: block; text-wrap: balance; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
}
.link-down {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--gold-100);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.link-down::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s var(--ease);
}
.link-down:hover::after { transform: translateY(1px) rotate(45deg); }
.page-hero__media {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
}
.page-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7);
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

/* ---------- Antes e depois no topo (slider original da landing, com caso real) ---------- */
.page-hero__result { justify-self: center; width: min(100%, 480px); }
.compare {
  --pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 431 / 178);
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: #e9e7e3;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7);
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-50%);
  background: var(--gold-300);
  pointer-events: none;
}
.compare__knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-btn);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(4, 10, 43, .35);
  transition: transform .25s var(--ease);
}
.compare.is-dragging .compare__knob { transform: translate(-50%, -50%) scale(1.08); }
.compare__knob svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* As etiquetas Antes/Depois e os pares lado a lado ficam em styles.css: a landing também usa. */
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare:has(.compare__range:focus-visible) .compare__knob { outline: 2px solid var(--white); outline-offset: 4px; }
.result__caption { margin-top: 14px; font-size: .78rem; line-height: 1.55; color: rgba(255, 255, 255, .66); }
.result__hint { display: block; margin-bottom: 4px; font-weight: 600; color: var(--gold-100); }

/* ---------- Texto + conteúdo pendente ---------- */
.split--text { grid-template-columns: 6fr 5fr; align-items: start; }
.split__text .card__link { padding-top: 26px; }

/* Marcador de conteúdo que depende do Dr. Mateus. Não vai ao ar preenchido por agente. */
.pending {
  padding: 28px 30px;
  border: 1px dashed var(--gold-700);
  border-radius: var(--radius);
  background: var(--white);
}
.pending__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pending .checks { margin-top: 16px; padding-top: 16px; }
.faq .pending { margin-top: 28px; }

/* ---------- Painel com listas (indicação, avaliação) ---------- */
.panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 50px -40px rgba(4, 10, 43, .4);
}
.panel h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.3; }
.panel .checks, .panel .dashes { margin-top: 14px; padding-top: 16px; }
.panel .checks + h3, .panel .dashes + h3 { margin-top: 28px; }
.dashes { display: grid; gap: 10px; border-top: 1px solid var(--line); }
.dashes li { position: relative; padding-left: 26px; font-size: .92rem; }
.dashes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .8em;
  width: 12px;
  height: 1.6px;
  background: var(--gold-700);
}
.panel__note { margin-top: 20px; font-size: .84rem; color: var(--ink-soft); }
.head .h2 + p { margin-top: 16px; color: var(--ink-soft); }
.cards + .section-note { margin-top: 28px; text-align: center; color: var(--ink-soft); }

/* ---------- Recuperação e crescimento ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.timeline li {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--gold-text);
}
.timeline__when {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.25;
}
.timeline p { color: var(--ink-soft); font-size: .94rem; }
.timeline__note { margin-top: 24px; text-align: center; font-size: .84rem; color: var(--ink-soft); }

/* ---------- Citação do Dr. Mateus ---------- */
.quote {
  margin: 32px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold-500);
}
.quote p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
}

/* ---------- Quem realiza ---------- */
.about { max-width: 720px; text-align: center; }
.about p:not(.kicker):not(.crm) { color: var(--ink-soft); }
.about .h2 { margin-bottom: 22px; }
.about .card__link { align-self: auto; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 112px;
    padding-bottom: 96px;
  }
  .page-hero__media { width: min(100%, 400px); }
  .split--text { grid-template-columns: 1fr; gap: 32px; }
  .pending, .panel { padding: 24px 22px; }
  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .quote p { font-size: 1.12rem; }
}
@media (max-width: 480px) {
  .hero__actions .btn--chip { width: 100%; justify-content: space-between; }
}
