/* ============ TRATAMENTO SUBPAGE SYSTEM ============ */
:root { --green: #2E7D5B; --green-50: #ECFDF5; }

/* BREADCRUMB */
.breadcrumb { padding: 24px 0 0; font-size: 13px; color: var(--ink-60); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-40); }
.breadcrumb a { color: var(--ink-60); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* HERO — light editorial (não cinematográfico, pra diferenciar das páginas de Especialidades) */
.trat-hero { background: var(--cream); padding: 120px 0 60px; position: relative; }
.trat-hero .badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--green-50); color: var(--green); font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.trat-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 68px); font-weight: 500; line-height: 1.04; letter-spacing: -0.03em; color: var(--navy); max-width: 22ch; margin: 0 0 28px; }
.trat-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--orange); }
.trat-hero .lead { font-family: var(--font-serif); font-weight: 300; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; color: var(--ink-60); max-width: 58ch; margin: 0 0 36px; }
.trat-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-wa { display: inline-flex; align-items: center; gap: 12px; background: var(--orange); color: white; font-weight: 500; font-size: 15px; padding: 15px 24px; border-radius: 100px; transition: all 0.3s var(--ease); text-decoration: none; }
.btn-wa:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-wa svg { width: 18px; height: 18px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--navy); font-weight: 500; font-size: 14px; padding: 14px 22px; border-radius: 100px; border: 1px solid var(--ink-15); transition: all 0.3s var(--ease); text-decoration: none; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* INDEX RAPIDO */
.trat-toc { max-width: 720px; margin: 48px auto 0; padding: 24px 28px; background: var(--bone); border: 1px solid var(--ink-08); border-radius: var(--r-md); }
.trat-toc .lbl { display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 14px; }
.trat-toc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.trat-toc a { font-family: var(--font-body); font-size: 14px; color: var(--navy); text-decoration: none; border-bottom: 1px dashed var(--ink-15); padding-bottom: 2px; transition: all 0.2s var(--ease); }
.trat-toc a:hover { color: var(--orange); border-color: var(--orange); }

/* BODY */
.trat-body-wrap { background: var(--bone); padding: 80px 0; }
.trat-body { max-width: 720px; margin: 0 auto; font-family: var(--font-body); color: var(--ink); font-size: 17px; line-height: 1.75; }
.trat-body p { margin: 0 0 24px; }
.trat-body h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; color: var(--navy); margin: 56px 0 20px; scroll-margin-top: 80px; }
.trat-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.005em; color: var(--navy); margin: 36px 0 14px; }
.trat-body a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.trat-body a:hover { text-decoration-thickness: 2px; }
.trat-body strong, .trat-body b { color: var(--navy); font-weight: 600; }
.trat-body ul, .trat-body ol { margin: 0 0 26px; padding-left: 24px; }
.trat-body li { margin: 0 0 10px; }
.trat-body li::marker { color: var(--orange); }
.trat-body blockquote { margin: 36px 0; padding: 20px 28px; background: var(--cream); border-left: 3px solid var(--orange); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--font-serif); font-size: 20px; line-height: 1.45; font-style: italic; font-weight: 400; color: var(--navy); }
.trat-body blockquote p { margin: 0; }
.trat-body blockquote strong { color: var(--orange); font-weight: 500; }

/* COMO FUNCIONA — 4 passos */
.trat-steps { padding: 100px 0; background: var(--cream); }
.trat-steps .eyebrow { margin-bottom: 14px; }
.trat-steps h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; color: var(--navy); margin: 0 0 56px; max-width: 16ch; }
.trat-steps h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--orange); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: var(--bone); border-radius: var(--r-lg); padding: 32px 28px; border: 1px solid var(--ink-08); display: flex; flex-direction: column; gap: 14px; }
.step-card .n { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 36px; font-weight: 500; color: var(--orange); line-height: 1; letter-spacing: -0.02em; }
.step-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.005em; color: var(--navy); margin: 0; }
.step-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-60); margin: 0; }

/* FAQ */
.trat-faq { padding: 100px 0; background: var(--bone); }
.trat-faq-grid { max-width: 880px; margin: 0 auto; }
.trat-faq .eyebrow { margin-bottom: 14px; }
.trat-faq h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; color: var(--navy); margin: 0 0 36px; max-width: 14ch; }
.trat-faq h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--orange); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--ink-08); padding: 4px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--ink-08); }
.faq-item summary { cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-display); font-size: 16.5px; font-weight: 500; color: var(--navy); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink-15); align-items: center; justify-content: center; font-size: 16px; font-weight: 400; color: var(--navy); transition: all 0.3s var(--ease); flex-shrink: 0; }
.faq-item[open] .plus { background: var(--navy); color: var(--bone); border-color: var(--navy); transform: rotate(45deg); }
.faq-item .answer { padding: 4px 0 28px; color: var(--ink-60); font-size: 15.5px; line-height: 1.65; }

/* PLANOS ACEITOS — resumido */
.trat-planos-mini { padding: 60px 0; background: var(--cream); border-top: 1px solid var(--ink-08); }
.planos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; max-width: 900px; margin: 0 auto; }
.planos-row .lbl { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-60); margin-right: 8px; }
.planos-row .item { font-family: var(--font-display); font-size: 13px; color: var(--navy); font-weight: 500; padding: 8px 14px; background: var(--bone); border: 1px solid var(--ink-08); border-radius: 999px; }

/* CTA FINAL */
.svc-final { padding: 100px 0; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-600) 100%); color: white; text-align: center; position: relative; overflow: hidden; }
.svc-final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 50%); pointer-events: none; }
.svc-final h2 { color: white; font-size: clamp(32px, 4vw, 56px); margin-bottom: 20px; max-width: 22ch; margin-left: auto; margin-right: auto; position: relative; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.svc-final h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: rgba(255,255,255,0.92); }
.svc-final p { color: rgba(255,255,255,0.88); font-size: 17px; line-height: 1.55; max-width: 56ch; margin: 0 auto 36px; position: relative; }
.svc-final-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.svc-final .btn-wa { background: white; color: var(--orange); }
.svc-final .btn-wa:hover { background: rgba(255,255,255,0.92); transform: translateY(-1px); }
.btn-ghost-light { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: white; font-weight: 500; font-size: 14px; padding: 14px 22px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.35); transition: all 0.3s var(--ease); text-decoration: none; }
.btn-ghost-light:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* BIO DR */
.trat-dr { padding: 80px 0; background: var(--bone); }
.dr-card { max-width: 720px; margin: 0 auto; padding: 40px; background: var(--cream); border-radius: var(--r-lg); display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start; }
.dr-card .avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #E8B896, #C97E58); object-fit: cover; object-position: center top; display: block; }
.dr-card img.avatar { background: none; border-radius: 0; object-fit: contain; }
.dr-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--navy); margin: 0 0 6px; }
.dr-card .crm { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 14px; }
.dr-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-60); margin: 0; }

/* RELATED */
.trat-related { padding: 80px 0 120px; background: var(--bone); }
.trat-related .eyebrow { margin-bottom: 14px; }
.trat-related h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px); font-weight: 500; letter-spacing: -0.015em; margin: 0 0 44px; color: var(--navy); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: var(--cream); border: 1px solid var(--ink-08); border-radius: var(--r-lg); padding: 28px; text-decoration: none; color: inherit; transition: all 0.35s var(--ease); display: flex; flex-direction: column; }
.related-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 30px 60px -30px rgba(15,27,45,0.12); }
.related-card .tag { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); font-weight: 500; margin-bottom: 14px; }
.related-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.2; color: var(--navy); margin: 0 0 10px; }
.related-card p { font-size: 14px; line-height: 1.55; color: var(--ink-60); margin: 0 0 18px; flex: 1; }
.related-card .arrow { font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--orange); }

/* WhatsApp floating */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; color: white; box-shadow: 0 10px 30px rgba(37,211,102,0.4); z-index: 100; transition: transform 0.3s var(--ease); text-decoration: none; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0.4; animation: wa-pulse 2s ease-out infinite; z-index: -1; }
.wa-float svg { width: 28px; height: 28px; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }

/* MOBILE */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .trat-body { font-size: 16px; }
  .trat-hero { padding: 80px 0 40px; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .dr-card { grid-template-columns: 1fr; }
}
