/* =============================================================
   Larissa Ruza — páginas internas
   Reaproveita tokens e 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(132px, 14vw, 200px) clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
  background: var(--sand-soft);
}

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

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

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

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
}

.page-hero__stamp {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Duas borboletas atravessam o topo das internas — o mesmo bando,
   em voo mais discreto. Herdam data-parallax/data-float. */
.page-hero__flight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.page-hero__flight .butterfly { filter: none; opacity: 0.9; }
.page-hero .butterfly--a { right: 4%;  top: 18%;  width: clamp(96px, 13vw, 190px); rotate: -10deg; }
.page-hero .butterfly--b { right: 21%; bottom: -8%; width: clamp(64px, 8vw, 118px); rotate: 14deg; }

/* ---------------------------------------------------------------
   2. Longform — os blocos de "O que eu trato"
   --------------------------------------------------------------- */
.topic-long {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border);
  scroll-margin-top: 110px;
}

.topic-long__head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  align-self: start;
  position: sticky;
  top: 108px;
}
/* Numerador é texto, e texto pequeno pede 4,5:1 — por isso rust (6,6:1)
   e não terracota (3,0:1). A terracota fica na forma, nunca na letra. */
.topic-long__num {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  color: var(--accent-ink);
}
.topic-long__title {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--accent-ink);
}
.topic-long__tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-sm);
}
.tag {
  padding: 5px var(--sp-lg);
  border-radius: var(--r-pill);
  background: var(--sand-pale);
  color: var(--accent-ink);
  font-size: var(--t-xs);
  font-weight: 500;
}

.topic-long__body {
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 62ch;
}
.topic-long__body p + p { margin-top: var(--sp-2xl); }

.topic-long__media {
  margin-top: var(--sp-4xl);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--sand-soft);
}
.topic-long__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------
   3. Sobre — história, formação, filosofia
   --------------------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.story__body { max-width: 60ch; }
.story__body p {
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--fg-muted);
}
.story__body p + p { margin-top: var(--sp-2xl); }
.story__media {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand-soft);
  box-shadow: var(--inset-hairline);
}
.story__media img { width: 100%; height: 100%; object-fit: cover; }

.note {
  max-width: 68ch;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-card);
  background: var(--terracota-soft);
}
.note p {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  letter-spacing: -0.015em;
  color: var(--accent-ink);
}
.note p + p { margin-top: var(--sp-2xl); }

/* Abordagens — lista numerada, sem cartão: é leitura, não catálogo */
.approach-list {
  display: flex;
  flex-direction: column;
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
}
.approach {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--sp-3xl);
  align-items: baseline;
  padding-block: var(--sp-4xl);
  border-bottom: 1px solid var(--border);
}
.approach__num {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  color: var(--accent-ink);
}
.approach__name {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--accent-ink);
}
.approach__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

.registry {
  margin-top: var(--sp-4xl);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-xl) var(--sp-3xl);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--accent-ink);
}
.registry svg { width: 20px; height: 18px; flex: none; color: var(--accent); }

/* Filosofia — 3 cards */
.creed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3xl);
  margin-top: clamp(40px, 5vw, 64px);
}
.creed__item {
  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);
}
.creed__title {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--accent-ink);
}
.creed__text {
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}

/* ---------------------------------------------------------------
   4. Contato — canais
   --------------------------------------------------------------- */
.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.channel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  padding: var(--sp-4xl);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--inset-hairline);
  transition:
    background-color var(--dur-fast) var(--ease-snap),
    translate var(--dur-fast) var(--ease-snap);
}
a.channel:hover { background: var(--sand-soft); translate: 0 -2px; }

.channel__label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.channel__value {
  font-family: var(--font-display);
  font-size: var(--t-h5);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--accent-ink);
  word-break: break-word;
}
.channel__note {
  margin-top: var(--sp-xs);
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}
.channel--primary { background: var(--rust); color: var(--sand); }
a.channel--primary:hover { background: var(--rust-deep); }
.channel--primary .channel__label { color: var(--fg-on-rust-muted); }
.channel--primary .channel__value { color: var(--sand); }
.channel--primary .channel__note { color: var(--fg-on-rust-muted); }

/* Consultório + online */
.place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.place__media {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--sand-soft);
  box-shadow: var(--inset-hairline);
}
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place__body { display: flex; flex-direction: column; gap: var(--sp-xl); align-items: flex-start; }
.place__address {
  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(--accent-ink);
}
.place__body p {
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 52ch;
}

/* Horários */
.hours {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  max-width: 64ch;
}
.hours li {
  display: flex;
  gap: var(--sp-xl);
  align-items: flex-start;
  font-size: var(--t-body);
  line-height: var(--lh-relaxed);
  color: var(--fg-muted);
}
.hours li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 2px;
  margin-top: 0.68em;
  background: var(--accent);
  border-radius: 2px;
}

/* Urgência — bloco de alto contraste, deliberadamente sem sutileza */
.urgent {
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-card);
  background: var(--ink-deep);
  color: var(--sand);
}
.urgent__title {
  font-size: var(--t-h3);
  line-height: var(--lh-tight);
}
.urgent__text {
  margin-top: var(--sp-2xl);
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--fg-on-dark-muted);
  max-width: 58ch;
}
.urgent__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: clamp(28px, 4vw, 40px);
}
.urgent__item {
  padding: var(--sp-3xl);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-on-dark);
  background: rgba(251, 248, 245, 0.06);
}
.urgent__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--ls-display);
  color: var(--sand-pale);
}
.urgent__what {
  display: block;
  margin-top: var(--sp-md);
  font-size: var(--t-sm);
  line-height: var(--lh-loose);
  color: var(--fg-on-dark-muted);
}
.urgent__close {
  margin-top: clamp(28px, 4vw, 40px);
  font-size: var(--t-body);
  color: var(--sand);
}

/* ---------------------------------------------------------------
   5. Formulário — compositor de WhatsApp
   Não há servidor e não há coleta: o texto digitado vira a mensagem
   que abre no WhatsApp do próprio visitante. Nada sai deste browser.
   --------------------------------------------------------------- */
.wa-form {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3xl);
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--inset-hairline);
}
.wa-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2xl);
  width: 100%;
}

.field { display: flex; flex-direction: column; gap: var(--sp-sm); }
.field--wide { grid-column: 1 / -1; }

.field label {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--fg);
}
.field__hint {
  font-size: var(--t-xs);
  color: var(--fg-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px var(--sp-xl);
  font: inherit;
  font-size: var(--t-sm);
  color: var(--fg);
  background: var(--sand);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast) var(--ease-snap);
}
.field textarea { resize: vertical; min-height: 128px; line-height: var(--lh-loose); }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: var(--focus-ring);
}

.wa-form__note {
  display: flex;
  gap: var(--sp-lg);
  font-size: var(--t-xs);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
}
.wa-form__note::before {
  content: '';
  flex: none;
  width: 3px;
  align-self: stretch;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------------------------------------------------------------
   6. FAQ — página dedicada
   --------------------------------------------------------------- */
.faq-group { scroll-margin-top: 110px; }
.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);
  color: var(--accent-ink);
  margin-bottom: var(--sp-2xl);
}
.faq__list--wide { max-width: 900px; }

/* ---------------------------------------------------------------
   7. Documentos legais
   --------------------------------------------------------------- */
.legal {
  max-width: 74ch;
  font-size: var(--t-sm);
  line-height: 1.72;
  color: var(--fg-muted);
}
.legal section { scroll-margin-top: 110px; }
.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(36px, 5vw, 56px) 0 var(--sp-xl);
}
.legal h3 {
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--fg);
  margin: var(--sp-3xl) 0 var(--sp-sm);
}
.legal p + p { margin-top: var(--sp-xl); }
.legal ul { margin-top: var(--sp-xl); display: flex; flex-direction: column; gap: var(--sp-md); }
.legal li {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
}
.legal li::before {
  content: '';
  flex: none;
  width: 12px;
  height: 2px;
  margin-top: 0.72em;
  background: var(--accent);
  border-radius: 2px;
}
.legal strong { color: var(--fg); font-weight: 600; }
.legal a { color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Sumário lateral dos documentos */
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  padding-left: var(--sp-xl);
  border-left: 2px solid var(--border);
}
.legal-toc a {
  font-size: var(--t-xs);
  line-height: var(--lh-snug);
  color: var(--fg-muted);
  transition: color var(--dur-fast) var(--ease-snap);
}
.legal-toc a:hover { color: var(--accent-ink); }

/* ---------------------------------------------------------------
   8. Responsivo
   --------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .topic-long { grid-template-columns: 1fr; }
  .topic-long__head { position: static; }
  .story { grid-template-columns: 1fr; }
  .story__media { max-width: 420px; }
  .creed { grid-template-columns: 1fr; }
  .channels { grid-template-columns: repeat(2, 1fr); }
  .place { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: var(--sp-lg) var(--sp-3xl); }
}

@media (max-width: 699.98px) {
  .channels { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; gap: var(--sp-md); }
  .urgent__list { grid-template-columns: 1fr; }
  .wa-form__grid { grid-template-columns: 1fr; }
  .wa-form .btn { width: 100%; justify-content: center; }
  .page-hero__actions { width: 100%; flex-direction: column; }
  .page-hero__actions .btn { justify-content: center; }
  .page-hero .butterfly--a { width: 110px; top: auto; bottom: 4%; right: 2%; opacity: 0.75; }
  .page-hero .butterfly--b { display: none; }
}
