:root {
  --green: #325242;
  --green-hover: #45685A;
  --green-dark: #24392E;
  --sage: #56705F;
  --sand: #E7E5D9;
  --paper: #FBFAF6;
  --ink: #1F2A24;
  --body: #2E3832;
  --muted: #4F5A53;
  --muted-2: #5F6A63;
  --line: #E3E1D5;
  --line-2: #D3D1C2;
  --chip: #C9C8B8;
  --mint: #C9D6CC;
  --mist: #E3E8E2;
  --footer-label: #A9B8AD;
  --wa: #3E6B4F;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Open Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(56px, 8vw, 112px);
  --track-pad: max(var(--gutter), calc((100% - var(--max)) / 2 + 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--sage); }
button { font-family: inherit; }
h1, h2, h3 { font-weight: 400; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.bg-sand { background: var(--sand); }
.bg-green { background: var(--green); color: var(--paper); }
.border-top { border-top: 1px solid var(--line); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 10px 14px; }

/* Typography */
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.h-display { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.025em; margin: 18px 0 0; text-wrap: balance; }
.h-section { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.02em; margin: 16px 0 0; text-wrap: balance; }
.h-sub { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; }
.lead-lg { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 640px; margin: 24px 0 0; }
.mono { font-family: var(--mono); }
.label-mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted-2); }
.note { font-size: 13px; line-height: 1.6; color: var(--muted-2); }
em.accent { font-style: italic; color: var(--sage); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 1px solid transparent; font-size: 15px; font-weight: 500; padding: 16px 28px; border-radius: 999px; text-decoration: none; transition: background .15s, border-color .15s, color .15s; line-height: 1.2; }
.btn-dark { background: var(--green); color: var(--paper); }
.btn-dark:hover { background: var(--green-hover); color: var(--paper); }
.btn-light { background: var(--sand); color: var(--green); font-weight: 600; }
.btn-light:hover { background: #fff; color: var(--green); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(231, 229, 217, .6); }
.btn-ghost-light:hover { border-color: var(--paper); color: var(--paper); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--chip); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-sm { font-size: 14px; padding: 12px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-btn { all: unset; cursor: pointer; font-size: 15px; border-bottom: 1px solid var(--green); padding-bottom: 2px; }
.link-btn:hover { color: var(--sage); }
.link-btn:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.arrow { cursor: pointer; width: 52px; height: 52px; border-radius: 50%; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.arrow-outline { border: 1px solid var(--green); background: transparent; color: var(--green); }
.arrow-outline:hover { background: var(--sand); }
.bg-sand .arrow-outline:hover { background: #fff; }
.arrow-solid { border: 0; background: var(--green); color: var(--paper); }
.arrow-solid:hover { background: var(--green-hover); }
.arrows { display: flex; align-items: center; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; white-space: nowrap; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--chip); background: transparent; color: var(--green); }
.chip[aria-selected="true"], .chip.is-active { background: var(--green); color: var(--paper); border-color: var(--green); }
.pill { display: inline-block; white-space: nowrap; font-size: 13px; padding: 8px 14px; border-radius: 999px; background: #fff; }

/* Top bar + header */
.topbar { background: var(--green); color: var(--sand); font-size: 13px; }
.topbar .wrap { padding-top: 9px; padding-bottom: 9px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.logo { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-word { font-family: var(--serif); font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.logo-word em { font-style: italic; color: var(--sage); }
.logo-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.main-nav a.nav-link { font-size: 15px; padding: 6px 0; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.main-nav a.nav-link:hover { color: var(--green); }
.main-nav a.nav-link[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
.menu-toggle { display: none; cursor: pointer; border: 1px solid var(--chip); background: transparent; color: var(--green); border-radius: 999px; padding: 10px 16px; font-size: 14px; }

@media (max-width: 1080px) {
  .logo-sub { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a.nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a.nav-link[aria-current="page"] { border-bottom-color: var(--line); font-weight: 600; }
  .main-nav .btn { margin-top: 16px; }
}

/* Breadcrumb */
.crumbs { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted-2); }
.crumbs a { color: var(--muted-2); }
.crumbs [aria-current] { color: var(--green); }
.crumbs .sep { margin-right: 8px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green); color: var(--paper); min-height: calc(100svh - 110px); display: flex; flex-direction: column; justify-content: center; }
.hero-mural { position: absolute; top: 0; left: 0; height: 100%; width: 62%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); }
.hero-portrait { position: absolute; top: 0; right: 0; height: 100%; width: min(58%, 1000px); object-fit: cover; object-position: center 25%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(50, 82, 66, .9) 0%, rgba(50, 82, 66, .82) 38%, rgba(50, 82, 66, .45) 58%, rgba(50, 82, 66, .15) 100%); }
.hero-inner { position: relative; width: 100%; padding-top: clamp(24px, 4vh, 56px); padding-bottom: clamp(24px, 3.5vh, 44px); }
.hero-copy { max-width: 700px; }
.hero-tag { display: inline-block; white-space: nowrap; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); border: 1px solid rgba(231, 229, 217, .5); border-radius: 999px; padding: 7px 16px; }
.hero-brand { font-family: 'Poppins', var(--sans); font-weight: 700; font-size: clamp(30px, min(3.8vw, 6vh), 52px); line-height: 1.08; letter-spacing: -.02em; margin: clamp(14px, 2.2vh, 24px) 0 0; color: var(--paper); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.02em; margin: clamp(12px, 2vh, 20px) 0 0; color: var(--paper); text-wrap: balance; }
.hero h1 span { color: var(--mint); }
.hero-lead { font-size: clamp(16px, 2.1vh, 18px); line-height: 1.6; color: var(--mist); max-width: 580px; margin: clamp(14px, 2.4vh, 24px) 0 0; }
.hero .btn-row { margin-top: clamp(18px, 3vh, 32px); }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 24px; margin: clamp(24px, 4.5vh, 48px) 0 0; padding-top: clamp(14px, 2.2vh, 22px); border-top: 1px solid rgba(231, 229, 217, .3); max-width: 680px; }
.hero-stats dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); font-weight: 700; }
.hero-stats dd { margin: 6px 0 0; font-size: 16px; color: var(--paper); }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-mural { width: 100%; opacity: .35; }
  .hero-portrait { width: 100%; opacity: .4; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
  .hero-shade { background: linear-gradient(180deg, rgba(50, 82, 66, .92) 0%, rgba(50, 82, 66, .8) 100%); }
  .hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .hero-tag { white-space: normal; }
}

/* Section header row */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* Horizontal tracks (carousels) */
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 0 var(--track-pad); scroll-padding: 0 var(--track-pad); }
.track::-webkit-scrollbar { display: none; }

.t-card { flex: 0 0 clamp(260px, 27vw, 330px); scroll-snap-align: start; position: relative; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; display: flex; align-items: flex-end; background: var(--green); text-decoration: none; color: var(--paper); }
.t-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.t-card:hover img { transform: scale(1.04); }
.t-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(50, 82, 66, 0) 35%, rgba(50, 82, 66, .95) 82%); }
.t-card .body { position: relative; z-index: 2; padding: 24px; display: grid; gap: 10px; width: 100%; }
.t-card .meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mint); }
.t-card h3 { font-family: var(--serif); font-size: 25px; line-height: 1.2; margin: 0; color: var(--paper); }
.t-card p { font-size: 14px; line-height: 1.5; color: var(--mist); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-card .more { justify-self: start; margin-top: 6px; font-size: 13px; font-weight: 600; background: var(--sand); color: var(--green); padding: 8px 14px; border-radius: 999px; }
.count { font-family: var(--mono); font-size: 13px; color: var(--muted-2); margin-right: 8px; }
.progress-row { margin-top: 28px; display: flex; align-items: center; gap: 20px; }
.progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 12%; background: var(--green); transition: width .2s; }

/* Group cards (especialidades) */
.g-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.track .g-card { flex: 0 0 clamp(290px, 36vw, 400px); scroll-snap-align: start; }
.g-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.g-card .body { padding: 24px 26px 28px; }
.g-card h3 { font-family: var(--serif); font-size: 26px; margin: 0; }
.g-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
.link-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: 15px; color: var(--ink); text-decoration: none; }
.link-list a:hover { color: var(--sage); }

/* Two-column feature (sobre) */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; align-items: center; }
.split > img { aspect-ratio: 4/5; width: 100%; height: 100%; object-fit: cover; display: block; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted-2); }
.facts dd { margin: 4px 0 0; font-size: 16px; }

/* Events */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 14px; margin-top: 48px; }
.event { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.event .ph { position: relative; }
.event img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.event .flag { position: absolute; top: 12px; left: 12px; background: var(--green); color: var(--paper); font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.event .body { padding: 16px 16px 20px; display: grid; gap: 8px; }
.event .when { font-family: var(--mono); font-size: 11px; color: var(--sage); }
.event h3 { font-family: var(--serif); font-size: 19px; line-height: 1.25; margin: 0; }
.event p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Cases */
.badge-light { display: inline-block; font-size: 13px; color: var(--green); background: var(--sand); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 48px; }
.cases figure { margin: 0; border-radius: 20px; overflow: hidden; background: var(--ink); }
.cases img { width: 100%; aspect-ratio: 1206/1250; object-fit: cover; display: block; }
.techs { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(231, 229, 217, .3); display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.techs h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin: 0; }
.techs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.techs li { font-size: 14px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--paper); }

/* Testimonials */
.depo-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-top: 40px; }
.depo-track::-webkit-scrollbar { display: none; }
.depo { margin: 0; flex: 0 0 max(280px, calc((100% - 32px) / 3)); scroll-snap-align: start; background: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.depo blockquote { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink); }
.depo figcaption, .quote figcaption { font-size: 14px; font-weight: 600; color: var(--green); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 32px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.55; }

/* Posts */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; margin-top: 48px; }
.post-link { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.post-link:hover { color: var(--ink); }
.post-link:hover h3 { color: var(--sage); }
.post-link img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; border-radius: 16px; }
.post-link .meta { font-size: 13px; color: var(--sage); }
.post-link h3 { font-family: var(--serif); font-size: 24px; line-height: 1.25; margin: 0; text-wrap: balance; transition: color .15s; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px; }
.faq { border-top: 1px solid var(--line-2); }
.faq.light { border-color: var(--line); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq.light details { border-color: var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: inherit; margin: 0; }
.faq summary::after { content: '+'; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 24px; font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 620px; }

/* Units */
.units { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; margin-top: 40px; }
.unit-link { display: grid; gap: 20px; text-decoration: none; color: var(--ink); }
.unit-link:hover { color: var(--ink); }
.unit-link img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-radius: 16px; }
.unit-link h3 { font-family: var(--serif); font-size: 28px; margin: 0; }
.unit-link p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
.unit-link .more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--green); padding-bottom: 2px; }

/* Footer */
.site-footer { background: var(--green); color: var(--mist); }
.footer-grid { padding-top: 64px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.footer-logo { font-family: var(--serif); font-size: 30px; color: var(--paper); }
.footer-logo em { color: var(--mint); }
.footer-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--footer-label); }
.footer-links { display: grid; gap: 10px; margin-top: 16px; font-size: 15px; }
.footer-links a { color: var(--mist); text-decoration: none; }
.footer-links a:hover { color: var(--paper); }
.footer-bottom { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--green-hover); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--footer-label); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; background: var(--wa); color: #fff; font-size: 15px; font-weight: 500; padding: 15px 22px; border-radius: 999px; box-shadow: 0 6px 20px rgba(50, 82, 66, .25); text-decoration: none; }
.wa-float:hover { color: #fff; background: var(--green); }

/* Clínica */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 56px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery > img { aspect-ratio: 16/10; }
.gallery .stack { display: grid; gap: 16px; }
.gallery .stack img { min-height: 0; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } .gallery .stack { grid-template-columns: 1fr 1fr; } .gallery .stack img { aspect-ratio: 1; } }
.bio-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16px; color: var(--mist); }
.bio-list li { padding-bottom: 12px; border-bottom: 1px solid var(--green-hover); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; margin-top: 48px; }
.values > div { border-top: 1px solid var(--green); padding-top: 24px; }
.values .n { font-family: var(--mono); font-size: 12px; color: var(--sage); }
.values h3 { font-family: var(--serif); font-size: 28px; margin: 12px 0 0; }
.values p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 12px 0 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 40px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.photo-grid.rounded img { aspect-ratio: 4/5; border-radius: 16px; }
.photo-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Tratamentos list */
.t-group { padding-top: 56px; padding-bottom: 24px; }
.t-group-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px 48px; padding-bottom: 28px; border-bottom: 1px solid var(--green); }
.t-group-head h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.02em; margin: 0; }
.t-group-head p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; }
.t-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.t-item { background: var(--paper); padding: 28px 24px 32px 0; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.t-item:hover { background: #F2F1EA; color: var(--ink); }
.t-item h3 { font-family: var(--serif); font-size: 24px; margin: 0; }
.t-item p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.t-item span { font-size: 14px; font-weight: 500; }

/* Tratamento detail */
.d-hero { background: var(--green); color: var(--paper); border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; }
.d-hero .copy { flex: 1.3 1 440px; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.d-hero .tag { align-self: flex-start; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); border: 1px solid rgba(231, 229, 217, .5); border-radius: 999px; padding: 7px 14px; }
.d-hero h1 { font-family: var(--serif); font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 22px 0 0; color: var(--paper); text-wrap: balance; }
.d-hero .copy > p { font-size: 18px; line-height: 1.65; color: var(--mist); margin: 22px 0 0; max-width: 560px; }
.dash-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--mist); }
.dash-list li { display: flex; gap: 10px; }
.dash-list li::before { content: '—'; color: var(--mint); }
.d-hero .btn-row { margin-top: 34px; }
.video { flex: 1 1 360px; position: relative; min-height: 520px; }
.video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 42, 36, 0) 45%, rgba(31, 42, 36, .85) 100%); pointer-events: none; }
.play { cursor: pointer; position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; border: 0; background: rgba(251, 250, 246, .95); color: var(--green); font-size: 28px; padding-left: 6px; box-shadow: 0 10px 40px rgba(31, 42, 36, .35); }
.video-msg { position: absolute; inset: 0; z-index: 3; background: rgba(31, 42, 36, .9); display: flex; align-items: center; justify-content: center; padding: 32px; text-align: center; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--mist); }
.video-cap { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: var(--paper); }
.video-cap .label-mono { color: var(--mint); }
.video-cap div + div { font-family: var(--serif); font-size: 21px; margin-top: 6px; }
@media (max-width: 760px) { .video { min-height: 360px; } }

.book { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; align-items: end; }
.book label { display: block; margin-bottom: 6px; }
.book input, .book select { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; font-family: inherit; font-size: 15px; background: var(--paper); color: var(--ink); }
.book button { cursor: pointer; border: 0; background: var(--green); color: var(--paper); font-size: 15px; font-weight: 600; padding: 15px 20px; border-radius: 12px; }
.book button:hover { background: var(--green-hover); }
.pt { padding-top: clamp(64px, 8vw, 112px); }
.indic { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 40px; }
.indic > div { background: var(--sand); border-radius: 20px; padding: 28px; display: grid; gap: 28px; align-content: space-between; min-height: 180px; }
.indic .n { font-family: var(--mono); font-size: 12px; color: var(--sage); }
.indic h3 { font-family: var(--serif); font-size: 24px; line-height: 1.3; margin: 0; }
.steps-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.steps-wrap > img { flex: 1 1 380px; min-width: 0; width: 100%; max-width: 560px; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; display: block; }
.steps-wrap > div { flex: 1 1 420px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; }
.steps h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; margin: 0; }
.steps p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 8px 0 0; }
.specs { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; }
.specs > div { background: var(--paper); padding: 26px; }
.specs dd { margin: 8px 0 0; font-family: var(--serif); font-size: 22px; }
.doctor { background: var(--sand); border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; }
.doctor > img { flex: 1 1 300px; min-width: 0; max-width: 460px; width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.doctor > div { flex: 1.4 1 400px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.doctor h2 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); margin: 14px 0 0; }
.doctor p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 18px 0 0; }
.doctor .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cta { background: var(--green); color: var(--paper); border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; margin: 0; color: var(--paper); text-wrap: balance; }
.cta p { font-size: 16px; line-height: 1.6; color: var(--mist); margin: 14px 0 0; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 32px; }
.r-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.r-card:hover { border-color: var(--green); color: var(--ink); }
.r-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.r-card .body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.r-card h3 { font-family: var(--serif); font-size: 22px; margin: 0; }
.r-card p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
.r-card .meta { font-family: var(--mono); font-size: 12px; color: var(--sage); }

/* Blog */
.blog-hero { background: var(--green); color: var(--paper); border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-end; justify-content: space-between; }
.blog-hero > div:first-child { flex: 1 1 420px; }
.blog-hero > div:last-child { flex: 1 1 360px; display: grid; gap: 16px; }
.blog-hero h1 { font-family: var(--serif); font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.02em; margin: 16px 0 0; color: var(--paper); }
.blog-hero p { font-size: 18px; line-height: 1.6; color: var(--mist); max-width: 520px; margin: 18px 0 0; }
.search { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(231, 229, 217, .35); border-radius: 14px; padding: 14px 18px; }
.search span { font-family: var(--mono); font-size: 12px; color: var(--mint); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 16px; color: var(--paper); }
.search input::placeholder { color: rgba(227, 232, 226, .6); }
.chip-dark { cursor: pointer; white-space: nowrap; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(231, 229, 217, .4); background: transparent; color: var(--paper); }
.chip-dark[aria-pressed="true"] { background: var(--sand); color: var(--green); }
.featured { display: flex; flex-wrap: wrap; gap: 20px; }
.feat-main { flex: 2 1 560px; position: relative; min-height: 520px; border-radius: 20px; overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: var(--paper); background: var(--sand) center/cover no-repeat; }
.feat-main::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 42, 36, 0) 30%, rgba(31, 42, 36, .9) 100%); }
.feat-main > div { position: relative; padding: clamp(24px, 4vw, 40px); }
.feat-main .badge-light { font-size: 12px; padding: 6px 12px; }
.feat-main .mono { font-size: 12px; color: var(--mist); }
.feat-main h2 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; margin: 16px 0 0; color: var(--paper); text-wrap: balance; }
.feat-main p { font-size: 16px; line-height: 1.6; color: var(--mist); margin: 14px 0 0; max-width: 560px; }
.feat-side { flex: 1 1 320px; display: grid; gap: 20px; }
.feat-side .r-card img { aspect-ratio: 16/8; }
.feat-side .r-card h2 { font-family: var(--serif); font-size: 22px; line-height: 1.3; margin: 0; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card .cat { font-size: 12px; font-weight: 600; color: var(--green); background: var(--sand); padding: 5px 11px; border-radius: 999px; }
.post-card h2 { font-family: var(--serif); font-size: 23px; line-height: 1.28; margin: 0; text-wrap: balance; }
.post-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.reviewed { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.reviewed img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* Post */
.post-head { max-width: 820px; margin: 0 auto; padding: 40px clamp(20px, 4vw, 32px) 0; }
.post-head h1 { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.025em; margin: 16px 0 0; text-wrap: balance; }
.post-head > p { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 22px 0 0; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.byline img { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; }
.post-cover { max-width: 1080px; margin: 40px auto 0; padding: 0 var(--gutter); }
.post-cover div { width: 100%; aspect-ratio: 21/9; background: var(--sand) center/cover no-repeat; border-radius: 20px; }
.post-body { max-width: 820px; margin: 0 auto; padding: 48px clamp(20px, 4vw, 32px) clamp(56px, 8vw, 96px); }
.toc { background: var(--sand); padding: 24px 28px; }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.post-body h2 { font-family: var(--serif); font-size: 32px; line-height: 1.2; margin: 48px 0 0; scroll-margin-top: 110px; }
.post-body section p { font-size: 18px; line-height: 1.8; color: var(--body); margin: 16px 0 0; }
.post-cta { margin-top: 56px; background: var(--green); color: var(--sand); padding: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.post-cta .t { font-family: var(--serif); font-size: 26px; margin-top: 6px; }
.btn-paper { background: var(--paper); color: var(--green); }
.btn-paper:hover { background: #fff; color: var(--green); }

/* Unit */
.unit-head { padding-top: 40px; padding-bottom: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-end; }
.unit-head > div { flex: 2 1 520px; }
.unit-info { flex: 1 1 320px; margin: 0; background: var(--sand); border-radius: 20px; padding: 28px; display: grid; gap: 18px; }
.unit-info dd { margin: 6px 0 0; font-size: 16px; line-height: 1.5; }
.map { margin-top: 16px; height: clamp(220px, 33vw, 480px); border-radius: 16px; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.placeholder { background: repeating-linear-gradient(135deg, var(--sand) 0 12px, #F1F0E8 12px 24px); display: flex; align-items: flex-end; padding: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; margin-top: 40px; }

.empty { font-size: 17px; color: var(--muted); padding-top: 48px; }

@media (prefers-reduced-motion: reduce) {
  html, .track, .depo-track { scroll-behavior: auto; }
  .t-card img { transition: none; }
}

@media (min-width: 1100px) {
  .hero-brand { white-space: nowrap; font-size: clamp(36px, 3.1vw, 48px); }
}
