/* =============================================================
   Patrícia Spessi — páginas internas
   Reaproveita os tokens e os componentes de styles.css.
   Só entra aqui o que a home não usa.
   ============================================================= */

/* ---------------------------------------------------------------
   1. Hero das páginas internas
   --------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(124px, 13vw, 190px) clamp(48px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 0%, var(--teal-veil) 0%, rgba(234, 241, 239, 0) 62%),
    var(--paper);
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3xl);
  max-width: 60ch;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--t-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  text-wrap: balance;
}
.page-hero__title em {
  font-style: normal;
  font-weight: var(--display-emph-weight);
  color: var(--display-emph-color);
}

.page-hero__lead {
  font-size: var(--t-lead);
  line-height: var(--lh-relaxed);
  color: var(--fg-muted);
  max-width: 56ch;
}

.page-hero__meta {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   2. Longform
   --------------------------------------------------------------- */
.prose {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--fg-muted);
}
.prose strong { color: var(--fg); font-weight: 600; }

.prose--intro {
  font-size: var(--t-lead);
  line-height: var(--lh-relaxed);
  color: var(--fg);
}

/* Bloco longo de atendimento (service.html).
   As pílulas da home apontam para o id de cada bloco; como o header é
   fixo, a âncora precisa da própria margem de rolagem — senão o título
   pousa embaixo da barra. */
.svc-block {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border);
  align-items: start;
  scroll-margin-top: 116px;
}
.svc-block__title {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  position: sticky;
  top: 108px;
}
.svc-block__index {
  display: block;
  margin-bottom: var(--sp-lg);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: var(--ls-caps);
  color: var(--gold);
}

/* ---------------------------------------------------------------
   3. Grid de features (formação, filosofia, limites)
   --------------------------------------------------------------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3xl);
  margin-top: clamp(32px, 4vw, 56px);
}
.feat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: var(--sp-4xl);
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--inset-hairline);
}
.feat__title {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.feat p {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}
.feat p + p { margin-top: var(--sp-md); }
.feat strong { color: var(--fg); font-weight: 600; }

/* ---------------------------------------------------------------
   4. Nota de destaque (honestidade, limites)
   --------------------------------------------------------------- */
.note {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3vw, 40px);
  max-width: 70ch;
  border-radius: var(--r-card);
  background: var(--paper-warm);
  border-left: 3px solid var(--gold);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--fg);
}

/* ---------------------------------------------------------------
   5. Canais de contato
   --------------------------------------------------------------- */
.channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3xl);
}

.channel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding: var(--sp-4xl);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--inset-hairline);
}
.channel--primary {
  background: var(--teal-deep);
  color: var(--paper);
  box-shadow: none;
}
.channel--primary .channel__label { color: var(--gold-soft); }
.channel--primary .channel__text  { color: var(--fg-on-dark-muted); }

.channel__label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--teal);
}
.channel__value {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
.channel__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}
.channel .btn { align-self: flex-start; margin-top: var(--sp-sm); }

/* ---------------------------------------------------------------
   6. Lista numerada — o que acontece depois
   --------------------------------------------------------------- */
.flow {
  display: flex;
  flex-direction: column;
  margin-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--border);
  max-width: 78ch;
}
.flow__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-3xl);
  align-items: baseline;
  padding-block: var(--sp-3xl);
  border-bottom: 1px solid var(--border);
}
.flow__num {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  color: var(--gold);
}
.flow__text {
  font-size: var(--t-body);
  line-height: var(--lh-relaxed);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   7. FAQ — página dedicada
   --------------------------------------------------------------- */
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 80px); }
.faq-group__title {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  margin-bottom: var(--sp-3xl);
}
.faq__list--wide { max-width: 940px; }

/* ---------------------------------------------------------------
   8. Documentos legais
   --------------------------------------------------------------- */
.legal {
  max-width: 74ch;
  font-size: var(--t-sm);
  line-height: 1.7;
  color: var(--fg-muted);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--fg);
  margin: clamp(32px, 4vw, 48px) 0 var(--sp-xl);
}
.legal p + p { margin-top: var(--sp-xl); }
.legal ul { margin-top: var(--sp-xl); display: flex; flex-direction: column; gap: var(--sp-lg); }
.legal li { margin-left: var(--sp-3xl); list-style: disc; }
.legal strong { color: var(--fg); font-weight: 600; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--teal-ink); }

/* ---------------------------------------------------------------
   9. CTA de fim de página interna
   --------------------------------------------------------------- */
.page-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3xl);
  padding: clamp(40px, 5vw, 72px);
  border-radius: var(--r-card);
  background: var(--teal-deep);
  color: var(--paper);
}
.page-cta__title {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: var(--display-weight);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  max-width: 20ch;
}
.page-cta__text {
  font-size: var(--t-lead);
  line-height: var(--lh-relaxed);
  color: var(--fg-on-dark-muted);
  max-width: 48ch;
}
.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-lg);
}

/* ---------------------------------------------------------------
   10. Responsivo
   --------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .svc-block { grid-template-columns: 1fr; }
  .svc-block__title { position: static; }
}

@media (max-width: 699.98px) {
  .feat-grid,
  .channels { grid-template-columns: 1fr; }

  .flow__item { grid-template-columns: 1fr; gap: var(--sp-sm); }

  .page-cta { border-radius: var(--r-xl); }
  .page-cta__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .page-cta__actions .btn,
  .page-cta__actions .cta__phone { justify-content: center; }
}
