@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-italic.woff2') format('woff2'); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F7F2EA; --bg-2: #EFE7DA; --card: #FFFDF9;
  --ink: #1F2420; --ink-2: #464B43; --ink-3: #575B4E;
  --olive: #3E5A44; --olive-2: #2E4433; --olive-soft: #DCE4D6;
  --honey: #E2A23B; --honey-ink: #7E5210; --honey-soft: #F5E3C2;
  --line: rgba(31,36,32,.14); --line-2: rgba(31,36,32,.28);
  --err: #A3372B; --ok: #2F6B3F;
  --serif: 'Fraunces', Georgia, serif; --sans: 'Inter Tight', system-ui, sans-serif;
  --gut: clamp(16px, 4.5vw, 64px); --max: 1240px; --r: 18px;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
.a11y-contrast { --bg: #FFF; --bg-2: #F2F2F2; --card: #FFF; --ink: #000; --ink-2: #111; --ink-3: #222; --olive: #1F3524; --olive-2: #0F2416; --honey-ink: #4D3000; --line: rgba(0,0,0,.6); --line-2: #000; }
.a11y-big { font-size: 118.75%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-color: #CFC4B2 var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: var(--honey); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--olive); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; } p { margin: 0; text-wrap: pretty; }
input, button, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: transform .35s var(--out), background-color .2s, border-color .2s, box-shadow .35s var(--out); }
.btn--solid { background: var(--olive); color: #FBF8F2; box-shadow: 0 10px 24px -14px rgba(46,68,51,.9); }
.btn--solid:hover { background: var(--olive-2); transform: translateY(-2px); }
.btn--line { border-color: var(--line-2); background: rgba(255,253,249,.6); }
.btn--line:hover { border-color: var(--ink); }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn:active { transform: scale(.98); } .btn:disabled { opacity: .6; }

/* Topo */
.top { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.top--solid { background: rgba(247,242,234,.88); backdrop-filter: blur(12px); border-color: var(--line); }
.top__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 14px var(--gut); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__mark path { fill: var(--honey-soft); stroke: var(--honey-ink); stroke-width: 1.6; } .brand__mark circle { fill: var(--olive); }
.brand__name { font: 600 1.2rem/1 var(--serif); letter-spacing: -.01em; }
.brand__md { color: var(--ink-3); font-weight: 400; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 10px 12px; border-radius: 999px; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav__list a:hover { background: rgba(62,90,68,.08); color: var(--ink); }
.nav__list a[aria-current] { color: var(--olive); background: var(--olive-soft); }
.nav__toggle { display: none; }
.top__actions { display: flex; align-items: center; gap: 10px; }
.a11y { position: relative; }
.a11y__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: rgba(255,253,249,.6); font-weight: 600; font-size: .9rem; }
.a11y__btn svg { width: 20px; height: 20px; fill: currentColor; }
.a11y__btn[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
.a11y__panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(310px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px; box-shadow: 0 24px 50px -20px rgba(31,36,32,.35); animation: up .35s var(--out); }
.a11y__title { font-weight: 700; margin-bottom: 8px; }
.a11y__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.switch { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 8px; border: 0; border-radius: 10px; background: none; text-align: left; font-weight: 500; }
.switch:hover { background: var(--bg-2); }
.switch__track { flex: none; width: 40px; height: 24px; border-radius: 99px; background: var(--bg-2); border: 1.5px solid var(--line-2); position: relative; transition: background-color .2s; }
.switch__track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink-3); transition: transform .3s var(--out), background-color .2s; }
.switch[aria-pressed="true"] .switch__track { background: var(--olive); border-color: var(--olive); }
.switch[aria-pressed="true"] .switch__track::after { transform: translateX(16px); background: #FBF8F2; }
.a11y__note { margin-top: 10px; font-size: .82rem; color: var(--ink-3); line-height: 1.5; }

/* Abertura */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 110px 0 60px; overflow: hidden; background: radial-gradient(60% 70% at 78% 50%, var(--honey-soft), transparent 70%), var(--bg); }
.lobules { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 58%); mask-image: linear-gradient(90deg, transparent 18%, #000 58%); }
.hero__in { position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero__title { font: 500 clamp(2.8rem, 6.2vw, 5.4rem)/1 var(--serif); letter-spacing: -.035em; }
.hero__title em { display: block; font-style: italic; font-weight: 400; color: var(--olive); }
.hero__sub { margin: 26px 0 32px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ''; width: 10px; height: 11px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hero__portrait { position: relative; margin: 0; justify-self: end; width: min(440px, 100%); }
.hero__portrait img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(46,40,24,.55), 0 10px 24px -14px rgba(46,40,24,.35); }
.hero__caption { position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: 10px; max-width: 290px; padding: 12px 16px; border-radius: 16px; background: var(--card); box-shadow: 0 18px 40px -20px rgba(31,36,32,.45); font-size: .88rem; line-height: 1.4; color: var(--ink-2); }
.hero__caption b { color: var(--olive); font-variant-numeric: tabular-nums; }
.hero__pulse { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 0 rgba(226,162,59,.6); animation: pulse 2.4s var(--out) infinite; }

/* Credenciais */
.creds { border-block: 1px solid var(--line); background: var(--card); }
.creds ul { list-style: none; margin: 0 auto; padding: 26px var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 32px; color: var(--ink-2); font-size: .95rem; }
.creds strong { display: block; font: 600 1.25rem/1.2 var(--serif); color: var(--ink); letter-spacing: -.01em; }

/* Seções */
.section { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--gut) 0; }
.h2 { font: 500 clamp(2rem, 4.4vw, 3.6rem)/1.05 var(--serif); letter-spacing: -.03em; }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__head > .h2 { max-width: 22ch; }
.section__head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.section__intro { color: var(--ink-2); max-width: 46ch; }

/* Áreas */
.care__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.care__tabs { display: grid; border-top: 1px solid var(--line); }
.care__tab { display: grid; gap: 2px; text-align: left; padding: 24px 8px 24px 0; border: 0; border-bottom: 1px solid var(--line); background: none; position: relative; transition: padding-left .4s var(--out); }
.care__tab::before { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 16px; margin-top: -8px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transform: scale(0); transition: transform .4s var(--out); }
.care__tab-title { font: 500 clamp(1.4rem, 2.4vw, 2rem)/1.15 var(--serif); letter-spacing: -.02em; color: var(--ink-3); transition: color .2s; }
.care__tab-sub { font-size: .92rem; color: var(--ink-3); }
.care__tab:hover .care__tab-title { color: var(--ink); }
.care__tab[aria-selected="true"] { padding-left: 30px; }
.care__tab[aria-selected="true"]::before { transform: scale(1); }
.care__tab[aria-selected="true"] .care__tab-title { color: var(--ink); }
.care__panel { display: grid; gap: 24px; }
.care__panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; }
.care__panel.in img { animation: settle .9s var(--out); } .care__panel.in .care__body { animation: rise .7s var(--out) .08s both; }
.care__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; color: var(--ink-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 500; color: var(--ink); }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ''; flex: none; width: 9px; height: 10px; background: var(--olive); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* Fibroscan */
.fibro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 40px); }
.tissue { width: 100%; height: auto; --fib: 0; }
.lob__band { fill: rgb(calc(214 - var(--fib) * 22), calc(190 - var(--fib) * 30), calc(160 - var(--fib) * 34)); stroke: rgb(calc(214 - var(--fib) * 22), calc(190 - var(--fib) * 30), calc(160 - var(--fib) * 34)); stroke-width: calc(1px + var(--fib) * 2.4px); stroke-linejoin: round; transition: fill .5s var(--out) var(--d), stroke-width .5s var(--out) var(--d); }
.lob__cell { fill: rgb(calc(238 - var(--fib) * 10), calc(186 - var(--fib) * 12), calc(98 + var(--fib) * 4)); transform-box: fill-box; transform-origin: center; transform: scale(calc(1 - var(--fib) * .085)); transition: transform .6s var(--out) var(--d), fill .5s; }
.lob__vein { fill: var(--olive); opacity: .8; }
.kpa { display: grid; gap: 6px; }
.kpa__label { font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.kpa__value { font: 500 clamp(3rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.kpa__value span { font: 500 1.2rem var(--sans); color: var(--ink-3); letter-spacing: 0; }
.kpa input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin-top: 8px; background: transparent; --p: 8%; }
.kpa input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--olive) var(--p), var(--bg-2) var(--p)); }
.kpa input::-moz-range-track { height: 8px; border-radius: 8px; background: var(--bg-2); }
.kpa input::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--olive); }
.kpa input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--card); border: 3px solid var(--olive); box-shadow: 0 4px 12px -4px rgba(31,36,32,.5); }
.kpa input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 3px solid var(--olive); }
.kpa input:focus-visible { outline: none; } .kpa input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(62,90,68,.35); }
.stages { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; grid-template-columns: 5fr 2.5fr 3fr 27.5fr; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.stages li { border-top: 3px solid var(--line); padding-top: 6px; transition: color .2s, border-color .3s; }
.stages li.on { color: var(--olive); border-color: var(--olive); }
.stage { min-height: 9.5em; }
.stage__name { font: 600 1.35rem/1.25 var(--serif); letter-spacing: -.01em; margin-bottom: 8px; }
.stage__text { color: var(--ink-2); }
.fibro__note { margin-top: 18px; font-size: .85rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 28px 0 0; counter-increment: s; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps h3 { font: 600 1.15rem/1.3 var(--sans); margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }
.steps h3::before { content: counter(s); font: 500 1.6rem/1 var(--serif); color: var(--honey-ink); }
.steps p { color: var(--ink-2); font-size: .98rem; }

/* Condições */
.cond__search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: end; margin-bottom: 18px; }
.cond__label { grid-column: 1 / -1; font-weight: 600; font-size: .95rem; }
.cond__field { position: relative; }
.cond__field svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.cond__field input { width: 100%; min-height: 56px; padding: 0 18px 0 50px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); font-size: 1.02rem; caret-color: var(--olive); transition: border-color .2s, box-shadow .2s; }
.cond__field input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(62,90,68,.18); }
.cond__field input::placeholder { color: var(--ink-3); }
.cond__count { color: var(--ink-3); font-size: .92rem; padding-bottom: 16px; }
.cond__list { border-top: 1px solid var(--line); }
.cond { border-bottom: 1px solid var(--line); }
.cond summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; }
.cond summary::-webkit-details-marker { display: none; }
.cond__name { font: 500 clamp(1.2rem, 2vw, 1.55rem)/1.25 var(--serif); letter-spacing: -.015em; transition: color .2s; }
.cond summary:hover .cond__name { color: var(--olive); }
.cond summary svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .4s var(--out); }
.cond[open] summary svg { transform: rotate(135deg); }
.cond__body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0 0 28px; }
.cond[open] .cond__body { animation: rise .5s var(--out); }
.cond__body dt { font-size: .82rem; font-weight: 700; color: var(--honey-ink); margin-bottom: 4px; }
.cond__body dd { margin: 0; color: var(--ink-2); font-size: .98rem; }
.cond__empty { padding: 28px 0; color: var(--ink-2); }

/* Consultas */
.seg { border: 0; margin: 0 0 28px; padding: 4px; display: inline-flex; gap: 4px; border-radius: 999px; background: var(--bg-2); }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; color: var(--ink-2); transition: background-color .25s, color .25s; }
.seg__opt input:checked + span { background: var(--card); color: var(--ink); box-shadow: 0 4px 12px -6px rgba(31,36,32,.4); }
.seg__opt input:focus-visible + span { outline: 2.5px solid var(--olive); outline-offset: 2px; }
.visit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px 64px; }
.visit.in { animation: rise .55s var(--out); }
.visit__facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.visit__facts div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 7rem 1fr; gap: 16px; }
.visit__facts dt { color: var(--ink-3); font-weight: 600; font-size: .92rem; }
.visit__facts dd { margin: 0; font-weight: 500; }
.check { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.check legend { font: 600 1.25rem/1.3 var(--serif); margin-bottom: 10px; padding: 0; }
.check label { display: flex; gap: 14px; align-items: center; min-height: 52px; padding: 10px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s; }
.check label:hover { border-color: var(--line-2); }
.check input { flex: none; appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 7px; border: 1.8px solid var(--line-2); background: var(--card); display: grid; place-items: center; transition: background-color .2s, border-color .2s; cursor: pointer; }
.check input::after { content: ''; width: 10px; height: 6px; border: 2.2px solid #FBF8F2; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .3s var(--out); }
.check input:checked { background: var(--olive); border-color: var(--olive); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input:checked + span { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-2); }
.check label:has(input:checked) { background: var(--bg-2); }
.visit__progress { margin-top: 18px; font-weight: 600; color: var(--ink-2); }
.visit__progress.ok { color: var(--ok); }

/* Sobre */
.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.js .foto-reveal img { clip-path: inset(0 round 28px); transition: clip-path 1.2s var(--out), transform 1.6s var(--out); }
.js .foto-reveal.wait img { clip-path: inset(16% 0 0 0 round 28px); transform: scale(1.06); }
.about__role { margin: 10px 0 30px; color: var(--honey-ink); font-weight: 600; }
.about__quote { margin: 0 0 28px; padding: 0; }
.about__quote p { font: 400 italic clamp(1.4rem, 2.4vw, 1.9rem)/1.35 var(--serif); letter-spacing: -.01em; color: var(--olive-2); }
.about__text > p { color: var(--ink-2); max-width: 60ch; margin-bottom: 14px; }
.about__langs { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.about__langs li { padding: 6px 14px; border-radius: 999px; background: var(--olive-soft); color: var(--olive-2); font-weight: 600; font-size: .9rem; }

/* Journal */
.chips { border: 0; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2.5px solid var(--olive); outline-offset: 2px; }
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.posts.in .post:not([hidden]) { animation: rise .5s var(--out) both; }
.post__link { display: grid; grid-template-columns: 8rem minmax(0, 1fr) 9rem 28px; gap: 6px 28px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post__type { font-size: .82rem; font-weight: 700; color: var(--honey-ink); }
.post__title { font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.3 var(--serif); letter-spacing: -.01em; grid-column: 2; grid-row: 1; transition: color .2s; }
.post__desc { grid-column: 2; color: var(--ink-2); font-size: .98rem; }
.post__meta { grid-column: 3; grid-row: 1 / span 2; display: grid; color: var(--ink-3); font-size: .88rem; }
.post__arrow { grid-column: 4; grid-row: 1; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--out); }
.post__link:hover .post__title { color: var(--olive); } .post__link:hover .post__arrow { transform: translateX(5px); }

/* Agendar */
.book__card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; background: var(--olive-2); color: #F3EEE4; border-radius: 32px; padding: clamp(28px, 5vw, 64px); }
.book__intro > p { color: #D5DCCF; margin: 14px 0 30px; }
.book__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: b; }
.book__steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #B9C4B2; counter-increment: b; }
.book__steps li::before { content: counter(b); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(243,238,228,.4); font-size: .88rem; transition: background-color .3s, color .3s, border-color .3s; }
.book__steps li[aria-current="step"] { color: #FBF8F2; } .book__steps li[aria-current="step"]::before { background: var(--honey); color: var(--ink); border-color: var(--honey); }
.book__steps li.done::before { content: '✓'; background: rgba(243,238,228,.16); border-color: transparent; color: #FBF8F2; }
.book__alt { margin-top: 32px !important; color: #D5DCCF; font-size: .95rem; } .book__alt a { color: #FBF8F2; font-weight: 600; }
.book__form { background: var(--card); color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 36px); align-self: start; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step.in { animation: rise .5s var(--out); }
.step__title { font: 500 1.6rem/1.2 var(--serif); letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.step__title:focus { outline: none; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 54px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); font-weight: 500; transition: border-color .2s, background-color .2s; }
.opt input:hover + span { border-color: var(--ink-3); }
.opt input:checked + span { border-color: var(--olive); background: var(--olive-soft); color: var(--olive-2); font-weight: 600; }
.opt input:focus-visible + span { outline: 2.5px solid var(--olive); outline-offset: 2px; }
.field-label { font-weight: 600; margin: 22px 0 10px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; } .field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.opt-tag { font-weight: 500; color: var(--ink-3); }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--card); caret-color: var(--olive); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(62,90,68,.18); }
.field [aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: .9rem; font-weight: 500; margin-top: 8px; } .err:empty { display: none; }
.field .err { margin-top: 0; }
.review { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg); font-size: .95rem; color: var(--ink-2); }
.review__title { font-weight: 700; color: var(--ink); }
.book__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.book__nav .btn--solid { margin-left: auto; }
.done { text-align: left; padding: 10px 0; } .done:focus { outline: none; }
.done svg { width: 56px; height: 56px; margin-bottom: 16px; }
.done svg path:first-child { fill: var(--olive-soft); stroke: var(--olive); stroke-width: 1.6; } .done svg path:last-child { fill: none; stroke: var(--olive); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s var(--out) .2s forwards; }
.done h3 { font: 500 1.8rem/1.2 var(--serif); margin-bottom: 8px; } .done p { color: var(--ink-2); }

/* Perguntas */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px 64px; align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; font-weight: 600; font-size: 1.08rem; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .4s var(--out); }
.accordion details[open] summary::after { transform: rotate(135deg); }
.accordion summary:hover { color: var(--olive); }
.accordion p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 64ch; }
.accordion details[open] p { animation: rise .45s var(--out); }

/* Rodapé */
.foot { margin-top: clamp(90px, 12vw, 160px); border-top: 1px solid var(--line); }
.foot__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 40px var(--gut) 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.foot__addr { margin-top: 12px; color: var(--ink-2); font-size: .95rem; }
.foot__note { color: var(--ink-3); font-size: .9rem; max-width: 60ch; justify-self: end; }

@keyframes up { from { opacity: 0; transform: translateY(-6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes settle { from { opacity: .4; transform: scale(1.04); filter: saturate(.6); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(226,162,59,0); } 100% { box-shadow: 0 0 0 0 rgba(226,162,59,0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.a11y-still { scroll-behavior: auto; }
.a11y-still *, .a11y-still *::before, .a11y-still *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

@media (max-width: 1060px) {
  .nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line-2); background: rgba(255,253,249,.6); }
  .nav__bars { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
  .nav__list { position: fixed; inset: 70px 12px auto; flex-direction: column; padding: 12px; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(31,36,32,.4); display: none; }
  .nav-open .nav__list { display: flex; animation: up .3s var(--out); }
  .nav__list a { padding: 14px 16px; font-size: 1.05rem; }
  .nav { order: 3; margin-left: 0; } .top__actions { margin-left: auto; }
  .a11y__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .a11y__btn { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 820px) {
  .top__actions .btn { display: none; }
  .hero { padding: 96px 0 40px; align-items: start; }
  .lobules { -webkit-mask-image: linear-gradient(180deg, transparent 45%, #000 80%); mask-image: linear-gradient(180deg, transparent 45%, #000 80%); }
  .hero__in { grid-template-columns: 1fr; gap: 36px; }
  .hero__portrait { justify-self: center; width: min(340px, 86%); }
  .hero__caption { left: -14px; bottom: 18px; max-width: 250px; }
  .btn--lg { width: 100%; }
  .creds ul { grid-template-columns: 1fr 1fr; }
  .section__head--split, .care__grid, .care__body, .fibro__grid, .visit, .about, .faq, .book__card, .foot__in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; } .steps li, .steps li + li { padding: 0; border: 0; }
  .cond__search { grid-template-columns: 1fr; } .cond__count { padding: 0; }
  .cond__body { grid-template-columns: 1fr; gap: 14px; }
  .seg { display: flex; } .seg__opt { flex: 1; } .seg__opt span { justify-content: center; }
  .post__link { grid-template-columns: minmax(0, 1fr) 24px; } .post__type { grid-column: 1; } .post__title { grid-column: 1; grid-row: auto; } .post__desc { grid-column: 1; } .post__meta { grid-column: 1; grid-row: auto; display: flex; gap: 14px; } .post__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .opts, .opts--3, .fields { grid-template-columns: 1fr; }
  .foot__note { justify-self: start; }
  .book__card { padding: 24px 16px; border-radius: 26px; } .book__intro { padding: 0 8px; }
}

/* ===================== Versão premiada ===================== */
/* Preloader */
.preload { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; transition: clip-path 1s cubic-bezier(.76,0,.24,1); clip-path: inset(0 0 0 0); }
.preload svg { width: 88px; height: 88px; }
.preload path { fill: none; stroke: var(--honey-ink); stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.1s var(--out) forwards; }
.preload__num { position: absolute; right: var(--gut); bottom: 28px; font: 400 clamp(3rem, 9vw, 7rem)/1 var(--serif); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.is-loaded .preload { clip-path: inset(0 0 100% 0); pointer-events: none; }
@media (max-width: 819px), (pointer: coarse) { .preload { display: none; } .js .chap--hero .hero__sub, .js .chap--hero .hero__ctas, .js .scroll-hint { opacity: 1; transform: none; transition: none; } .js .line__in { transform: none; transition: none; } }

/* Cursor */
.cur { position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: 0; transition: opacity .3s; }
.cur.on { opacity: 1; }
.cur__dot { position: fixed; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ink); transform: translate(var(--x), var(--y)); }
.cur__ring { position: fixed; left: 0; top: 0; width: 0; height: 0; }
.cur__ring::before { content: ''; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); transition: transform .45s var(--out), background-color .3s, border-color .3s, opacity .3s; }
.cur__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font: 600 12px var(--sans); letter-spacing: .04em; color: #FBF8F2; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cur[data-state="hover"] .cur__ring::before { transform: scale(1.7); background: rgba(226,162,59,.22); border-color: transparent; }
.cur[data-state="drag"] .cur__ring::before, .cur[data-state="view"] .cur__ring::before { transform: scale(2.2); background: var(--olive); border-color: var(--olive); }
.cur[data-state="drag"] .cur__label, .cur[data-state="view"] .cur__label { opacity: 1; }
.cur[data-state="drag"] .cur__dot, .cur[data-state="view"] .cur__dot { opacity: 0; }
.cur[data-state="text"] .cur__ring::before, .cur[data-state="text"] .cur__dot { opacity: 0; }
@media (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary, .has-cursor input[type="range"], .has-cursor input[type="radio"], .has-cursor input[type="checkbox"] { cursor: none; } }
.a11y-contrast .cur { display: none; }
.a11y-contrast.has-cursor, .a11y-contrast.has-cursor * { cursor: auto; }

/* História */
.story { position: relative; }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(55% 60% at 70% 48%, var(--honey-soft), transparent 72%), var(--bg); }
.liver3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__chapters { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.chap { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 110px var(--gut) 90px; }
.chap--hero { flex-direction: column; align-items: flex-start; justify-content: center; position: relative; }
.hero__title { font: 400 clamp(3.4rem, 7vw, 6.6rem)/.94 var(--serif); letter-spacing: -.045em; margin: 0; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line__in { display: block; }
.line--em .line__in { font-style: italic; color: var(--olive); }
.js .line__in { transform: translateY(108%); transition: transform 1.2s var(--out); }
.js .line:nth-child(2) .line__in { transition-delay: .08s; } .js .line:nth-child(3) .line__in { transition-delay: .16s; }
.is-loaded .line__in { transform: none; }
.chap--hero .hero__sub { max-width: 34ch; margin: 30px 0 34px; }
.js .chap--hero .hero__sub, .js .chap--hero .hero__ctas, .js .scroll-hint { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--out) .45s, transform .9s var(--out) .45s; }
.is-loaded .chap--hero .hero__sub, .is-loaded .chap--hero .hero__ctas, .is-loaded .scroll-hint { opacity: 1; transform: none; }
.hero__ctas { align-items: center; gap: 18px; }
.doc-chip { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--card); text-decoration: none; box-shadow: 0 10px 30px -18px rgba(31,36,32,.5); transition: transform .4s var(--out); }
.doc-chip:hover { transform: translateY(-2px); }
.doc-chip img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.doc-chip > span { display: grid; line-height: 1.25; font-size: .85rem; color: var(--ink-3); }
.doc-chip b { color: var(--ink); font-size: .95rem; }
.scroll-hint { position: absolute; left: var(--gut); bottom: 34px; display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 500; color: var(--ink-3); }
.scroll-hint span { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-hint span::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--olive); animation: drip 2s var(--out) infinite; }
.chap__panel { max-width: 30rem; }
.chap__num { font: 500 .9rem var(--sans); color: var(--honey-ink); font-variant-numeric: tabular-nums; margin-bottom: 18px; letter-spacing: .02em; }
.chap__title { font: 400 clamp(2.4rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -.035em; margin-bottom: 22px; }
.chap__panel > p:not(.chap__num) { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 38ch; }
.chap__panel .btn { margin-top: 30px; }
.hud { position: absolute; inset: auto var(--gut) 34px auto; z-index: 3; display: grid; justify-items: end; gap: 16px; text-align: right; }
.hud__chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.hud__chapters li { display: flex; align-items: center; justify-content: flex-end; gap: 10px; transition: color .3s; }
.hud__chapters li::after { content: ''; width: 8px; height: 9px; background: var(--line-2); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background-color .3s, transform .4s var(--out); }
.hud__chapters li.on { color: var(--ink); } .hud__chapters li.on::after { background: var(--honey); transform: scale(1.5); }
.hud__kpa { position: absolute; right: 0; bottom: calc(100% + 18px); display: grid; justify-items: end; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--out), transform .6s var(--out); }
.hud--kpa .hud__kpa { opacity: 1; transform: none; }
.hud__kpa-label { font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.hud__kpa-num { font: 400 clamp(3rem, 6vw, 5rem)/1 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--olive-2); }
.hud__kpa-unit { font-size: .9rem; color: var(--ink-3); font-weight: 600; }
.liver3d { opacity: 0; transition: opacity .6s; } .webgl-on .liver3d { opacity: 1; }
@media (max-width: 819px) { .story__stage { background: url('img/poster-m.webp') center top / cover no-repeat, var(--bg); } }
.no-webgl .story__stage { background: url('img/retrato.webp') right 8% center / auto 70% no-repeat, var(--bg); }

/* Créditos em faixa contínua */
.creds { overflow: hidden; }
.creds__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.creds__track:hover { animation-play-state: paused; }
.creds ul { display: flex; gap: 64px; max-width: none; margin: 0; padding: 26px 32px; grid-template-columns: none; }
.creds li { white-space: nowrap; display: flex; align-items: baseline; gap: 10px; }
.creds li::before { content: ''; width: 9px; height: 10px; align-self: center; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.creds strong { display: inline; }

/* Títulos palavra por palavra */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w__i { display: inline-block; }
.js .w__i { transform: translateY(112%); transition: transform 1s var(--out) calc(var(--k, 0) * 45ms); }
.js .is-in .w__i { transform: none; }
.care__panel img, .about__photo img { translate: 0 var(--py, 0); }

/* Rodapé com assinatura gigante */
.foot { overflow: hidden; }
.foot__giant { display: block; width: 100%; height: auto; padding: 40px var(--gut) 0; }
.foot__giant text { font: 400 150px var(--serif); letter-spacing: -.05em; fill: var(--honey-soft); }

@keyframes drip { to { top: 100%; } }
@keyframes marquee { to { transform: translateX(-50%); } }

.a11y-still .js .line__in, .a11y-still .w__i, .a11y-still .line__in { transform: none !important; }
.a11y-still .creds__track { animation: none; flex-wrap: wrap; width: auto; }
@media (prefers-reduced-motion: reduce) { .line__in, .w__i { transform: none !important; } .creds__track { animation: none; flex-wrap: wrap; width: auto; } .chap--hero .hero__sub, .chap--hero .hero__ctas, .scroll-hint { opacity: 1 !important; transform: none !important; } }

@media (max-width: 820px) {
  .chap { align-items: flex-end; padding: 96px var(--gut) 40px; }
  .chap--hero { justify-content: flex-end; padding-bottom: 96px; }
  .hero__title { font-size: clamp(3rem, 14vw, 4.4rem); }
  .chap__panel { background: var(--card); border-radius: 22px; padding: 24px; box-shadow: 0 20px 50px -30px rgba(31,36,32,.5); }
  .chap__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hud { inset: 74px var(--gut) auto auto; }
  .hud__chapters { display: none; }
  .hud__kpa { position: static; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .doc-chip { align-self: flex-start; }
  .scroll-hint { display: none; }
}
