
/* Layout: galeria escura onde os casos reais (fundo preto) flutuam, alternada com seções claras como o interior cinza e branco da clínica. Ousadia concentrada no comparador antes e depois. */
:root {
  --ink: #0F1216;        /* grafite da fachada, puxado para o marinho */
  --ink-2: #181C23;      /* superfície elevada no escuro */
  --line-dark: #262B33;
  --steel: #98A1AD;      /* cinza da faceta do monograma */
  --paper: #F2F3F5;      /* paredes e porcelanato da clínica */
  --white: #FFFFFF;
  --line: #DFE2E6;
  --text: #15181D;
  --muted: #59616C;
  --navy: #1D2D4A;       /* cadeiras e uniforme */
  --navy-2: #2A4068;
  --wa: #1F8A4C;
  --font-display: "Questrial", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --top: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(80px + var(--top)); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--top); z-index: 60; background: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--navy); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sec { padding-block: clamp(64px, 9vw, 112px); }
.dark { background: var(--ink); color: #E9ECEF; }
.paper { background: var(--paper); }
.whitebg { background: var(--white); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 60ch; }
.dark .lead { color: var(--steel); }
.sec-head { display: grid; gap: 16px; align-content: start; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 4px; font: 500 15px/1.2 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #E3E7EC; }
.btn-ghost { border-color: #3A414B; color: #E9ECEF; background: transparent; }
.btn-ghost:hover { border-color: var(--steel); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: var(--line); color: var(--text); background: var(--white); }
.btn-line:hover { border-color: var(--navy); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.hdr { position: sticky; top: var(--top); z-index: 50; background: rgba(15,18,22,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: #C9CED5; text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--white); }
.nav .btn { min-height: 42px; padding: 0 16px; color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: calc(72px + var(--top)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter-r) 20px var(--gutter-l); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-txt { display: grid; gap: 24px; min-width: 0; }
.loc { display: inline-flex; align-items: center; gap: 8px; color: var(--steel); font-size: 15px; }
.loc svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(36px, 4.8vw, 58px); line-height: 1.04; color: var(--white); }
.hero .lead { color: #AEB5BF; }
.rt { font-size: 13px; color: #7E8794; border-top: 1px solid var(--line-dark); padding-top: 18px; }

/* comparador antes e depois */
.ba { display: grid; gap: 16px; min-width: 0; }
.ba-frame { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: #000; border-radius: 6px; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: rgba(255,255,255,.9); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 46px; height: 46px; transform: translate(-50%, -50%); pointer-events: none; }
.ba-knob::before { content: ""; position: absolute; inset: 0; background: var(--white); clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%); }
.ba-knob svg { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; color: var(--ink); }
.ba-tag { position: absolute; top: 14px; padding: 4px 10px; font-size: 13px; color: var(--white); background: rgba(15,18,22,.66); border-radius: 3px; pointer-events: none; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-frame:has(.ba-range:focus-visible) { outline: 2px solid var(--steel); outline-offset: 3px; }
.ba-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ba-cap { font-size: 14px; color: var(--steel); }
.ba-cap b { color: #E9ECEF; font-weight: 500; }
.ba-thumbs { display: flex; gap: 8px; }
.ba-thumbs button { width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; background: #000; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.ba-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--white); }
.ba-thumbs button:hover { opacity: 1; }
.ba-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ba-note { font-size: 12.5px; color: #7E8794; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ba { max-width: 520px; }
}

/* hero imagem */
.hero-im { margin: 0; position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 6px; overflow: hidden; background: var(--ink-2); }
.hero-im img { width: 100%; height: 100%; object-fit: cover; }
.hero-im figcaption { position: absolute; left: 14px; bottom: 14px; font-size: 13px; color: var(--white); background: rgba(15,18,22,.7); padding: 4px 10px; border-radius: 3px; }
@media (max-width: 900px) { .hero-im { aspect-ratio: 4 / 3; max-width: 560px; } }

/* avaliação */
.aval { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.aval-tx { display: grid; gap: 24px; min-width: 0; }
.aval-tx .checks li { font-size: 16px; }
.aval .steps { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
@media (max-width: 900px) { .aval { grid-template-columns: 1fr; } }

/* grupos de tratamento */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gcard { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-columns: 2fr 3fr; }
.gcard .im { background: var(--ink); min-height: 100%; }
.gcard .im img { width: 100%; height: 100%; object-fit: cover; }
.gcard .tx { padding: 24px 24px 12px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.gcard h3 { font-size: 25px; }
.gcard .tx > p { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.glist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 16px; font-weight: 500; }
.glist a:hover { color: var(--navy); }
.glist svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
@media (max-width: 1000px) { .groups { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gcard { grid-template-columns: 1fr; } .gcard .im { aspect-ratio: 16 / 9; } }

/* casos */
.casos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.casos-tx { display: grid; gap: 22px; min-width: 0; }
.casos-grid .ba { max-width: 520px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .casos-grid { grid-template-columns: 1fr; } .casos-grid .ba { justify-self: start; } }

/* depoimentos */
.rev-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.revs { columns: 3 300px; column-gap: 20px; }
.rev { break-inside: avoid; margin: 0 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px; display: grid; gap: 14px; }
.rev blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: #2F353D; white-space: pre-line; }
.rev footer { display: flex; align-items: center; gap: 12px; }
.av { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 500 15px/1 var(--font-body); flex: none; }
.rev .nm { font-weight: 500; font-size: 15px; color: var(--text); line-height: 1.3; }
.rev .src { font-size: 13px; color: var(--muted); }
.stars { display: flex; gap: 2px; color: #E8A317; }
.stars svg { width: 16px; height: 16px; }

/* tratamentos */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.fcard { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: border-color .2s; }
.fcard:hover { border-color: var(--navy); }
.fcard .im { aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.fcard .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fcard:hover .im img { transform: scale(1.03); }
.fcard .tx { padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; }
.fcard h3 { font-size: 24px; }
.fcard p { color: var(--muted); font-size: 15px; }
.more { font-size: 14px; font-weight: 500; color: var(--navy); margin-top: 6px; }
.idx-title { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.idx { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.idx a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 20px 4px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.idx a:hover h3 { color: var(--navy); }
.idx h3 { font-size: 21px; transition: color .2s; }
.idx p { grid-column: 1; color: var(--muted); font-size: 14.5px; }
.idx svg { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; color: var(--muted); }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .idx { grid-template-columns: 1fr; } }
@media (min-width: 560px) and (max-width: 900px) { .feat { grid-template-columns: 1fr 1fr; } }

/* passos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.step { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--line); padding-top: 22px; }
.step .n { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--navy); }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* doutor */
.doc { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.doc .ph { border-radius: 6px; overflow: hidden; aspect-ratio: 757 / 823; background: var(--paper); }
.doc .ph img { width: 100%; height: 100%; object-fit: cover; }
.doc-tx { display: grid; gap: 20px; min-width: 0; }
.doc-tx p { color: var(--muted); max-width: 60ch; }
#bio { display: grid; gap: 14px; }
.cred { display: flex; flex-wrap: wrap; gap: 10px; }
.cred span { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--text); background: var(--white); }
@media (max-width: 820px) { .doc { grid-template-columns: 1fr; } .doc .ph { max-width: 440px; } }

/* estrutura */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.mosaic figure { margin: 0; border-radius: 6px; overflow: hidden; background: var(--ink-2); position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13px; color: var(--white); background: rgba(15,18,22,.7); padding: 4px 10px; border-radius: 3px; }
.mosaic .a { grid-row: span 2; min-height: 420px; }
.mosaic .a img { position: absolute; inset: 0; }
.mosaic .b { aspect-ratio: 4 / 3; }
.mosaic .d { aspect-ratio: auto; display: grid; align-content: center; gap: 12px; padding: 28px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.mosaic .d p { color: var(--steel); }
@media (max-width: 820px) {
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .a { grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
}

/* unidades */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.unit { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.map { aspect-ratio: 16 / 10; background: #E4E7EB; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 20px; color: var(--muted); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px, #EBEDF0; }
.map-ph svg { width: 34px; height: 34px; color: var(--navy); }
.unit .tx { padding: 24px; display: grid; gap: 14px; align-content: start; }
.unit h3 { font-size: 26px; }
.unit dl { margin: 0; display: grid; gap: 8px; font-size: 15px; }
.unit dl div { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.unit dt svg { width: 18px; height: 18px; color: var(--muted); margin-top: 3px; }
.unit dd { margin: 0; color: var(--muted); }
.unit .btns { margin-top: 6px; }
@media (max-width: 820px) { .units { grid-template-columns: 1fr; } }

/* blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.pcard { display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.pcard .cv { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--ink); }
.pcard .cv img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .cv img { transform: scale(1.03); }
.pcard h3 { font-size: 22px; }
.pcard:hover h3 { color: var(--navy); }
.pcard p { color: var(--muted); font-size: 15px; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.meta .cat { color: var(--navy); font-weight: 500; }
.tcover { width: 100%; height: 100%; display: grid; place-items: center; background: var(--ink); position: relative; overflow: hidden; }
.tcover img { width: 22% !important; height: auto !important; object-fit: contain; opacity: .9; transform: none !important; }
.tcover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 55%, rgba(255,255,255,.04) 55% 70%, transparent 70%); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.sec-foot { margin-top: 40px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 80px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-size: 20px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 64ch; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* cta final */
.band { background: var(--navy); color: var(--white); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.band h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 20ch; }
.band p { color: #C2CBDA; margin-top: 10px; }

/* footer */
.ftr { background: var(--ink); color: #AEB5BF; font-size: 14.5px; padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr h4 { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--white); margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a { color: #AEB5BF; text-decoration: none; }
.ftr a:hover { color: var(--white); }
.ftr .logo { height: 40px; width: auto; margin-bottom: 18px; }
.ftr-bot { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7E8794; }
.sel { user-select: all; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: 1fr; } }

/* whatsapp flutuante */
.wa-float { position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(15,18,22,.28); }
.wa-float svg { width: 28px; height: 28px; }

/* páginas internas */
.phero { padding-block: clamp(36px, 5vw, 64px); }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero-grid > div { display: grid; gap: 20px; min-width: 0; }
.phero h1 { font-size: clamp(36px, 4.8vw, 58px); color: var(--white); }
.phero .im { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #000; position: relative; }
.phero-grid > .im { display: block; }
.phero .im img { width: 100%; height: 100%; object-fit: cover; }
.ilus { position: absolute; right: 10px; bottom: 10px; font-size: 12px; color: var(--white); background: rgba(15,18,22,.7); padding: 3px 8px; border-radius: 3px; }
.crumb { font-size: 14px; color: var(--steel); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--steel); text-decoration: none; }
.crumb a:hover { color: var(--white); }
@media (max-width: 860px) { .phero-grid { grid-template-columns: 1fr; } }

.pbody { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pmain { display: grid; gap: 52px; min-width: 0; }
.pmain section { display: grid; gap: 18px; }
.pmain h2 { font-size: clamp(26px, 2.6vw, 32px); }
.pmain p { color: #3B424C; font-size: 17px; max-width: 66ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16.5px; color: #3B424C; }
.checks svg { width: 20px; height: 20px; color: var(--navy); margin-top: 3px; }
.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: o; }
.olist li { counter-increment: o; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16.5px; color: #3B424C; }
.olist li::before { content: counter(o); font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--navy); }
.small-note { font-size: 14px; color: var(--muted); }
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.gal div { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--paper); }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.aside { position: sticky; top: calc(96px + var(--top)); display: grid; gap: 24px; }
.acta { background: var(--navy); color: var(--white); border-radius: 6px; padding: 26px; display: grid; gap: 14px; }
.acta h3 { font-size: 24px; }
.acta p { color: #C2CBDA; font-size: 15px; }
.acta .btn { justify-content: center; }
.alist h4 { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.alist a { display: block; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 15px; }
.alist a:hover { color: var(--navy); }
@media (max-width: 960px) { .pbody { grid-template-columns: 1fr; } .aside { position: static; } }

/* blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chips button { font: 500 14px/1 var(--font-body); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.art { max-width: 720px; margin-inline: auto; }
.art-cover { aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--ink); margin-bottom: 40px; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 18px; line-height: 1.75; color: #2F353D; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; color: var(--text); margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; display: grid; gap: .5em; }
.prose strong { color: var(--text); font-weight: 600; }
.tbl { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-weight: 600; color: var(--text); border-bottom: 2px solid var(--text); }
.prose tbody th { font-weight: 500; color: var(--muted); }
.art-cta { margin-top: 56px; background: var(--paper); border-radius: 6px; padding: 28px; display: grid; gap: 12px; }
.art-cta h3 { font-size: 24px; }
.art-cta p { color: var(--muted); }
.art-by { margin-top: 32px; display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--muted); }
.art-by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.related { margin-top: 72px; }
.related h2 { font-size: 28px; margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ===== multipágina ===== */
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--steel); }
@media (max-width: 1080px) { .nav a[aria-current="page"] { box-shadow: none; } }

/* carrossel do topo */
.car { margin: 0; position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 6px; overflow: hidden; background: var(--ink-2); }
.car-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.car-slide.is-on { opacity: 1; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6.5s linear; }
.car-slide.is-on img { transform: scale(1); }
.car-cap { position: absolute; left: 14px; bottom: 16px; font-size: 13px; color: var(--white); background: rgba(15,18,22,.72); padding: 5px 10px; border-radius: 3px; }
.car-dots { position: absolute; right: 14px; top: 12px; display: flex; gap: 6px; }
.car-dots button { width: 26px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.car-dots i { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.car-dots i::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.car-dots button[aria-current="true"] i::after { animation: carfill var(--dur, 5s) linear forwards; }
.car.paused .car-dots button[aria-current="true"] i::after { animation-play-state: paused; }
.car-dots button.done i::after { transform: scaleX(1); }
@keyframes carfill { to { transform: scaleX(1); } }
.car-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(15,18,22,.55); color: var(--white); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; }
.car:hover .car-nav, .car-nav:focus-visible { opacity: 1; }
.car-nav svg { width: 20px; height: 20px; }
.car-nav.prev { left: 12px; } .car-nav.prev svg { transform: scaleX(-1); }
.car-nav.next { right: 12px; }
@media (max-width: 900px) { .car { aspect-ratio: 4 / 3; max-width: 560px; } .car-nav { opacity: 1; } }

/* casos em fundo claro */
.light .ba-cap { color: var(--muted); }
.light .ba-cap b { color: var(--text); }
.light .ba-note { color: var(--muted); }
.light .ba-thumbs button { border-color: var(--line); }
.light .ba-thumbs button[aria-pressed="true"] { border-color: var(--navy); }
.light .ba-frame:has(.ba-range:focus-visible) { outline-color: var(--navy); }

/* visão geral de tratamentos */
.tgroup { display: grid; gap: 24px; }
.tgroup + .tgroup { margin-top: clamp(56px, 7vw, 88px); }
.tgroup-head { display: grid; gap: 8px; max-width: 640px; }
.tgroup-head h2 { font-size: clamp(26px, 2.8vw, 34px); }
.tgroup-head p { color: var(--muted); }
.feat { margin-bottom: 0; }
.see-all { margin-top: 28px; }

/* teaser do doutor */
.doc-short p { color: var(--muted); max-width: 60ch; }
