/* ===== Specialty page — shared layout =====
 * Used by every specialty page (psiquiatria, psicologia-clinica, etc).
 * Page-specific overrides — notably the desktop `.team-row-grid` column
 * count which depends on team size — stay in each page's <style> block.
 */

.breadcrumbs { font-size: 13px; color: var(--ink-500); display: flex; gap: 8px; align-items: center; margin-bottom: 28px; }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--emerald-700); }

.spec-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); background: var(--cream-50); border-bottom: 1px solid var(--line); }
.spec-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.spec-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); max-width: 14ch; margin: 16px 0 24px; }
.spec-hero h1 em { font-style: italic; color: var(--emerald-700); font-weight: 300; }
.spec-hero .lead { max-width: 50ch; margin-bottom: 0; }

.spec-img { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; }
.spec-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.spec-body { background: var(--bg); }
.body-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.body-side { position: sticky; top: 100px; }

.side-card { background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side-card h4 { font-family: var(--font-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); font-weight: 500; margin: 0 0 16px; }
.side-card .price { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--emerald-700); margin: 0 0 4px; letter-spacing: -0.01em; }
.side-card .price-meta { font-size: 13px; color: var(--ink-500); margin: 0 0 24px; }
.side-card .btn { width: 100%; justify-content: center; margin-bottom: 8px; }
.side-list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.side-list li { display: flex; justify-content: space-between; color: var(--ink-700); }
.side-list li strong { color: var(--ink-900); font-weight: 500; }

.body-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 16px; }
.body-main h2:not(:first-child) { margin-top: 56px; }
.body-main p { color: var(--ink-700); line-height: 1.7; max-width: 64ch; font-size: 1rem; }

.indications-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.indication { background: var(--cream-50); padding: 24px; }
.indication h4 { margin: 0 0 6px; font-size: 1rem; }
.indication p { margin: 0; font-size: 14px; color: var(--ink-500); line-height: 1.55; }

.process-list { list-style: none; padding: 0; margin: 24px 0 0; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step .step-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--emerald-700); font-weight: 300; letter-spacing: -0.02em; }
.process-step h4 { margin: 6px 0 4px; font-size: 1.05rem; }
.process-step p { margin: 0; font-size: 14.5px; color: var(--ink-500); }

.note-card { background: var(--cream-50); border: 1px solid var(--line); border-left: 3px solid var(--emerald-700); border-radius: var(--radius); padding: 24px 28px; margin-top: 32px; max-width: 64ch; }
.note-card h4 { margin: 0 0 6px; font-size: 1rem; font-family: var(--font-display); font-weight: 500; }
.note-card p { margin: 0; font-size: 14.5px; color: var(--ink-700); line-height: 1.6; }

.team-row { background: var(--cream-50); }
.tr-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; }
.tr-photo { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--cream-100); }
.tr-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.tr-photo .placeholder { height: 100%; border-radius: 0; }
.tr-name { font-family: var(--font-display); font-size: 1.1rem; margin: 0; }
.tr-role { font-size: 12.5px; color: var(--ink-500); margin: 2px 0 0; letter-spacing: .03em; }
.tr-card:hover .tr-name { color: var(--emerald-700); }

@media (max-width: 880px) {
  .spec-hero-grid { grid-template-columns: 1fr; }
  .spec-img { aspect-ratio: 4/3; }
  .body-grid { grid-template-columns: 1fr; }
  .body-side { position: static; }
  .indications-grid { grid-template-columns: 1fr; }
  .team-row-grid { grid-template-columns: 1fr; }
}
</content>
</invoke>
<invoke name="Read">
<parameter name="file_path">/Users/miguel/workspace/clinica/includes/head.php