/* Refinamento editorial — 02/11/2026.
   Preserva a identidade Casa aberta e as regras funcionais de styles.css. */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --opening-gutter: clamp(24px, 5.2vw, 75px);
  --space-section: clamp(64px, 7.2vw, 104px);
}
::selection { background: #dccaab; color: var(--navy); }
html { scrollbar-color: #b6aa96 var(--ivory); }
body { text-underline-offset: .22em; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.site-header { padding-block: 18px; }
.wordmark > span { font-size: clamp(27px, 2.3vw, 33px); }
.wordmark small { margin-top: 7px; font-size: 11px; letter-spacing: .12em; }
nav { gap: 18px; }
nav > a { min-height: 44px; display: inline-flex; align-items: center; }
nav .button { padding-inline: 25px; }
.button { transition: background .22s ease, color .22s ease, transform .22s var(--ease-out); }
.button:active { transform: translateY(1px); }
.text-link { min-height: 44px; border-bottom-width: 1px; gap: 15px; line-height: 1.4; }
.text-link svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.text-link svg, .button svg { transition: transform .3s var(--ease-out); }
.text-link:hover svg, .text-link:focus-visible svg,
.button:hover svg, .button:focus-visible svg { transform: translateX(4px); }
.social-link:hover svg { transform: translate(2px, -2px); }

/* Ações do site: a identidade do app, isolada do aviso de cookies. */
:is(.site-header, main > section, .mobile-contact, #content-dialog) .button.gold {
  background: #cba454; color: #0b1c34; font-weight: 500;
}
:is(.site-header, main > section, .mobile-contact, #content-dialog) .button.gold:hover {
  background: #dab873; color: #0b1c34;
}
:is(.site-header, main > section, .mobile-contact, #content-dialog) .button.gold:focus-visible {
  outline: 3px solid #366d8c; outline-offset: 4px;
}

/* Abertura compacta: nome, proposta e próximo passo formam um só grupo. */
.physician-hero {
  max-width: var(--page);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
  gap: 5.5%;
  padding: 0 var(--opening-gutter);
  min-height: clamp(520px, 42vw, 600px);
  align-items: stretch;
}
.physician-hero .hero-copy { align-self: center; padding-block: 28px; }
.physician-hero .hero-portrait { position: relative; overflow: hidden; background: #12355c; --portrait-position: 50% 33%; }
.physician-hero .portrait-layers { position: absolute; inset: 0; }
/* Only the scenery softens into Vivance navy; the aligned subject stays sharp. */
.physician-hero .portrait-foreground {
  -webkit-mask-image: var(--portrait-mask); mask-image: var(--portrait-mask);
  -webkit-mask-size: cover; mask-size: cover;
  -webkit-mask-position: var(--portrait-position); mask-position: var(--portrait-position);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; mask-mode: alpha;
  pointer-events: none;
}
.physician-hero .portrait-dissolve-ready .portrait-layers > img:not(.portrait-foreground) {
  opacity: calc(1 - var(--portrait-bg-fade, 0));
  filter: blur(calc(var(--portrait-bg-fade, 0) * 12px));
}
.physician-hero .hero-portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0;
  border-radius: 0; object-fit: cover; object-position: var(--portrait-position);
}
.physician-hero h1.hero-name {
  font-size: clamp(56px, 5.2vw, 76px); line-height: 1;
  letter-spacing: -.03em; max-width: 11ch;
}
.hero-line { display: block; }
.physician-hero .hero-lede {
  font: 400 clamp(26px, 2.1vw, 30px)/1.24 var(--serif);
  color: var(--navy); margin-top: 18px; max-width: 25ch; padding: 0;
  text-wrap: balance;
}
.physician-hero .hero-credentials {
  font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 18px;
  padding-top: 12px; border-top: 1px solid var(--line); max-width: 44ch;
}
.physician-hero .hero-intro > p { font-size: 18px; color: var(--navy); margin-top: 14px; max-width: 35ch; }
.physician-hero .hero-actions { margin-top: 18px; gap: 6px; }
.physician-hero .hero-actions .button { padding: 13px 28px; min-height: 50px; }
.physician-hero .hero-secondary { margin-top: 4px; font-size: 15px; }
.action-caption { font-size: 14px; }

/* Biografia: retrato em escala humana, sem repetir a assinatura da abertura. */
.about {
  max-width: var(--page); grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 10%; min-height: 0; padding: 64px 8.2% 48px;
  background: var(--ivory); align-items: center;
}
.about-photo { width: 100%; max-width: 420px; height: auto; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.about-photo::after { content: none; }
.about-photo img { object-position: 50% 29%; }
.about-copy { padding: 0; }
.about-copy h2 { font-size: clamp(39px, 4.15vw, 58px); max-width: 18ch; line-height: 1.08; }
.about-copy > p { font-size: 18px; line-height: 1.6; margin-top: 22px; max-width: 49ch; }
.about-copy > p + p { margin-top: 15px; }
.about-copy .text-link { margin-top: 26px; font-size: 15px; }

.about-featured-video { display: flex; align-items: center; gap: 18px; width: 100%; margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--line); text-align: left; }
.featured-video-cover { position: relative; flex: none; width: 112px; height: 92px; overflow: hidden; border-radius: 12px; background: var(--sand); }
.featured-video-cover > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.featured-video-play { position: absolute; bottom: 8px; left: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #cba454; color: #0b1c34; }
.featured-video-play svg { width: 17px; height: 17px; fill: currentColor; stroke-width: 1; }
.featured-video-copy { display: block; min-width: 0; }
.featured-video-title { display: block; font: 400 24px/1.15 var(--serif); text-wrap: pretty; }
.featured-video-action { display: flex; align-items: center; gap: 12px; margin-top: 9px; color: #76561d; font-size: 14px; }
.featured-video-action svg { width: 20px; height: 20px; }
.about-featured-video:hover .featured-video-action { text-decoration: underline; text-underline-offset: 4px; }

/* Bem-estar é um capítulo próprio, com abertura e fotografias alinhadas. */
.wellbeing-story {
  max-width: var(--page); margin: 0 auto;
  padding: 40px 5.2%; background: #f0f3ed; border-block: 1px solid #dce6d9;
}
.wellbeing-story figcaption { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 7%; margin: 0 0 28px; }
.wellbeing-heading h2 { font: 500 15px/1.4 var(--sans); letter-spacing: .015em; color: #34495b; margin: 0 0 10px; }
.wellbeing-heading p { max-width: 34ch; font: 400 clamp(27px, 2.5vw, 36px)/1.2 var(--serif); color: var(--navy); text-wrap: balance; }
.wellbeing-story .about-featured-video { margin: 0; padding: 0; border: 0; }
.wellbeing-composition {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(300px, 36vw, 520px); align-items: stretch; gap: 16px;
}
.wellbeing-photo { min-width: 0; min-height: 0; overflow: hidden; background: var(--sand); border-radius: 20px; }
.wellbeing-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wellbeing-walk { grid-column: 1; grid-row: 1 / 3; }
.wellbeing-walk img { object-position: 50% 15%; }
.wellbeing-food { grid-column: 2; grid-row: 1; }
.wellbeing-food img { object-position: 50% 15%; }
.wellbeing-yoga { grid-column: 2; grid-row: 2; }
.wellbeing-yoga img { object-position: 50% 15%; }

/* Uma sequência de leitura, em vez de mais uma fileira de cartões. */
.care-journey {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 10%; background: var(--ivory); padding-top: 64px; padding-bottom: 32px;
}
.care-journey .editorial-heading { display: block; }
.care-journey .editorial-heading h2 { font-size: clamp(40px, 4.4vw, 61px); }
.care-journey .editorial-heading > p { margin-top: 22px; max-width: 37ch; font-size: 18px; }
.journey-steps { display: block; margin: 0; }
.journey-steps li { position: relative; padding: 20px 0 20px 36px; border: 0; }
.journey-steps li:first-child { border-top: 0; }
.journey-steps li:not(:last-child)::before, .journey-track {
  position: absolute; left: 6px; top: 37px; height: 100%; width: 1px;
}
.journey-steps li:not(:last-child)::before { content: ""; background: var(--line); }
.journey-track { background: var(--gold); transform-origin: top; }
.journey-steps li::after {
  content: ""; position: absolute; top: 31px; left: 0; width: 13px; height: 13px;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--ivory);
}
.journey-steps h3 { font: 400 30px/1.15 var(--serif); }
.journey-steps p { margin-top: 8px; font-size: 17px; line-height: 1.6; max-width: 53ch; }

/* A tecnologia acompanha o cuidado em um plano claro, com decisão humana. */
.clinical-approach {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 8%;
  padding-block: 48px; align-items: center; background: var(--sand); color: var(--navy);
}
.technology-photo { width: 100%; max-width: 340px; overflow: hidden; border-radius: 20px; }
.technology-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.technology-copy { min-width: 0; }
.clinical-approach .approach-lead > h2 { font-size: clamp(34px, 3.2vw, 46px); max-width: 20ch; line-height: 1.12; }
.approach-lead > p { font-size: 17px; color: var(--navy); max-width: 48ch; margin-top: 23px; }
.approach-detail { padding: 26px 0 0; margin: 28px 0 0; border: 0; border-top: 1px solid var(--line-sand, #d8cbb5); }
.approach-detail p { font-size: 17px; color: var(--navy); line-height: 1.6; margin-top: 20px; }
.approach-detail p:first-child { font: 400 20px/1.5 var(--sans); color: var(--navy); margin: 0; text-wrap: pretty; }

/* A clínica: fachada e visita no mesmo eixo; interiores e cuidado em seguida. */
.clinic-proof { padding-block: 48px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 40px; align-items: start; }
.clinic-proof .clinic-intro { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; margin-bottom: 0; }
.clinic-proof .clinic-intro h2 { max-width: 17ch; font-size: clamp(40px, 4.4vw, 61px); }
.clinic-proof .clinic-intro p { padding-bottom: 3px; max-width: 43ch; }
.clinic-proof .clinic-architecture { width: 100%; max-width: none; }
.clinic-daylight-stage { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 16px; background: #0b1c34; }
.clinic-facade-camera { position: absolute; inset: 0; transform-origin: 55% 68%; }
.clinic-proof .clinic-facade-camera img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; filter: saturate(.94); }
.clinic-proof .clinic-night-photo { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.clinic-proof .clinic-facade-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; min-height: 44px; }
.clinic-facade-footer > span { min-width: 0; }
.facade-motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none; min-height: 44px; padding: 8px 4px 8px 10px; color: var(--navy); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.facade-motion-toggle[hidden] { display: none; }
.facade-motion-toggle svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; fill: none; }
.facade-motion-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.clinic-visit { display: grid; grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; padding: 24px; border: 0; border-radius: 20px; background: #fffdf9; }
.clinic-visit h3 { font: 500 26px/1.2 var(--sans); letter-spacing: -.015em; }
.clinic-visit address { font-size: 16px; margin-top: 10px; line-height: 1.5; }
.clinic-visit .text-link { margin-top: 4px; padding-block: 4px; min-height: 44px; font-size: 15px; }
.clinic-visit-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.clinic-visit-meta dt { font-size: 13px; line-height: 1.4; color: var(--muted); }
.clinic-visit-meta dd { font-size: 15px; line-height: 1.5; margin: 4px 0 0; }
.clinic-visit .button { justify-self: start; min-height: 46px; padding: 12px 24px; }
.clinic-map { width: 100%; overflow: hidden; border-radius: 12px; background: #ded5c6; }
.clinic-map iframe { display: block; width: 100%; height: 152px; border: 0; }
.clinic-interiors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.clinic-interiors figure { min-width: 0; margin: 0; }
.clinic-proof .clinic-interiors img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 55%; border-radius: 16px; }
.clinic-proof .clinic-interiors figcaption { margin-top: 8px; }
.clinic-services { align-self: start; }
.clinic-services h3 { font-size: 32px; }
.clinic-services dl { display: block; margin-top: 12px; }
.clinic-services dl > div { padding: 14px 0; }
.clinic-services dt { font-size: 18px; }
.clinic-services dd { font-size: 16px; }
.clinic-services .service-note { margin-top: 16px; }
.tel-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration-thickness: 1px; }

/* Áreas de cuidado: superfícies suaves, tipografia navy e detalhes dourados. */
.treatments { padding-block: 64px 32px; }
.treatments .section-heading { align-items: end; gap: 10%; }
.treatments .section-heading > h2 { font-size: clamp(38px, 3.7vw, 54px); max-width: 23ch; }
.treatments .section-heading > p { font-size: 17px; line-height: 1.6; max-width: 39%; }
.theme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; gap: 16px; }
.theme {
  --theme-surface: #e7eee5; --theme-hover: #dce6d9; --theme-accent: #946b28;
  align-items: flex-start; text-align: left; padding: 22px; gap: 12px;
  min-width: 0; border: 0; border-radius: 16px; background: var(--theme-surface); color: #0b1c34;
}
.theme:nth-child(2) { --theme-surface: #e5edf3; --theme-hover: #d8e5ed; }
.theme:nth-child(3) { --theme-surface: #f5e8df; --theme-hover: #efded1; }
.theme:nth-child(4) { --theme-surface: #eee8f2; --theme-hover: #e4daeb; }
.theme + .theme::before { content: none; }
.theme-icon { width: 38px; height: 38px; background: transparent; border-radius: 0; color: var(--theme-accent); }
.theme-icon svg { width: 36px; height: 36px; stroke: currentColor; stroke-width: 1.7; }
.theme:hover { background: var(--theme-hover); }
.theme:hover .theme-icon { background: transparent; }
.theme:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.theme .theme-title { font: 400 26px/1.15 var(--serif); text-wrap: balance; }
.theme .theme-description { font: 400 16px/1.45 var(--sans); max-width: 28ch; color: #34495b; }
.theme-discover {
  display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding: 6px 0 0; min-height: 32px;
  border-radius: 0; background: transparent; color: #76561d; font-size: 15px; text-decoration: none;
}
.theme:hover > .theme-discover { text-decoration: underline; text-underline-offset: 4px; }
.theme-discover svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }

/* Duas formas de começar; a modalidade presencial segue em primeiro plano. */
.attendance { padding-block: 40px 64px; }
.attendance .editorial-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12%; align-items: end; }
.attendance .editorial-heading > p { max-width: 43ch; font-size: 18px; line-height: 1.6; }
.attendance .care-paths { grid-template-columns: 1fr 1fr; gap: 7%; margin-top: 40px; }
.attendance .care-path { display: block; min-height: 0; border-radius: 0; background: transparent; color: var(--navy); }
.attendance .path-copy { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 28px 0 0; border-top: 1px solid var(--line); }
.attendance .path-copy h3 { font-size: 34px; }
.attendance .path-copy p { font-size: 17px; line-height: 1.5; max-width: 42ch; }
.attendance .path-copy .path-detail { font-size: 15px; line-height: 1.6; }
.attendance .path-copy .text-link { justify-content: space-between; min-height: 48px; font-size: 16px; margin-top: 24px; padding: 12px 18px; color: #0b1c34; border: 0; border-radius: 999px; background: #cba454; text-decoration: none; }
.attendance .path-copy .text-link svg { color: inherit; stroke: currentColor; }
.attendance .online .path-copy .text-link { background: #e9e4da; }
.attendance .path-copy .text-link:hover { background: #dab873; }
.attendance .path-copy .text-link:focus-visible { outline-color: var(--focus); }
.attendance-note { font-size: 14px; max-width: 90ch; line-height: 1.6; margin-top: 24px; }

/* Vídeo e leitura: uma superfície contínua, com navegação horizontal nativa. */
.conversation { --content-navy: #0b1c34; --content-gold: #cba454; padding-block: 64px 24px; background: var(--ivory); border-top: 0; }
.conversation h2 { font-size: clamp(44px, 4.8vw, 68px); }
.conversation-heading { margin-bottom: 18px; }
.conversation-heading > div { display: flex; align-items: end; justify-content: space-between; gap: 40px; width: 100%; }
.conversation-heading > div > p { font-size: 18px; line-height: 1.5; max-width: 31ch; margin-top: 0; }
.skip-conversation { margin-bottom: 28px; font-size: 14px; }
.skip-conversation svg { width: 18px; height: 18px; }
.rail-heading h3 { font-size: clamp(30px, 3vw, 42px); }
.rail-heading .carousel-controls { margin-top: 0; }
.rail-filters { gap: 10px; margin-top: 21px; margin-bottom: 24px; }
.rail-filters button { min-height: 44px; padding: 10px 17px; border: 0; border-radius: 999px; font-size: 15px; background: #e6e0d5; color: var(--navy); }
.rail-filters button:hover { background: #d9d1c2; }
.rail-filters button[aria-pressed=true] { background: var(--content-navy); color: #fbf9f5; }
.rail-filters button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.conversation-rail .article-track {
  gap: 24px; grid-auto-columns: calc((100% - 48px) / 3.12); align-items: stretch;
  padding: 6px 5px 14px; margin-inline: -5px; scroll-padding-inline: 5px;
  scroll-snap-type: x proximity; scrollbar-color: #a68e63 #e4dccd;
}
.conversation .article-card {
  display: flex; flex-direction: column; background: #fffdf9; color: var(--navy);
  border-radius: 22px; overflow: hidden; box-shadow: 0 5px 18px #1027380a;
}
.conversation .article-card:focus-within { outline: 3px solid var(--content-navy); outline-offset: 2px; }
.conversation-rail .article-image.video-trigger {
  display: block; position: relative; flex: none; width: 100%; padding: 0; overflow: hidden;
  min-height: 0; height: auto; aspect-ratio: 3 / 2; text-align: left; border-radius: 22px 22px 0 0; cursor: pointer;
}
.conversation-rail .article-image > img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .65s var(--ease-out); }
.conversation .article-card:hover .article-image > img { transform: scale(1); }
.conversation .video-trigger:hover > img, .conversation .video-trigger:focus-visible > img { transform: scale(1.025); }
.conversation .video-play {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: auto; height: auto; min-height: 44px; padding: 10px 14px;
  border-radius: 999px; background: var(--content-gold); color: var(--content-navy);
  font: 500 14px/1.3 var(--sans); white-space: nowrap; transition: background .2s ease;
}
.conversation .video-play svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.3; flex: none; }
.conversation .video-trigger:hover .video-play, .conversation .video-trigger:focus-visible .video-play { background: #dfbd79; }
.conversation .video-duration { bottom: 20px; right: 16px; min-height: 28px; padding: 5px 8px; border-radius: 8px; background: #0b1c34; color: #fbf9f5; font-size: 13px; line-height: 1.4; }
.conversation .video-trigger:focus-visible { outline: 3px solid var(--content-gold); outline-offset: -6px; }
.conversation-rail .article-body { display: flex; flex-direction: column; padding: 23px 23px 18px; flex: 1; }
.conversation-rail .article-byline { font-size: 13px; line-height: 1.4; margin-bottom: 10px; }
.conversation-rail .article-byline span { font-size: 12px; }
.conversation-rail .article-topic { font-size: 13px; line-height: 1.4; text-transform: none; letter-spacing: 0; margin-bottom: 10px; color: #685738; }
.conversation .article-card h4 { font-size: 28px; line-height: 1.14; text-wrap: pretty; }
.conversation-rail .article-summary {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  flex: none; font-size: 16px; line-height: 1.5; margin-top: 12px; margin-bottom: 20px; color: var(--muted);
}
.conversation-rail .article-actions {
  justify-content: space-between; flex-wrap: nowrap; gap: 12px; margin-top: auto; padding-top: 10px; border-top: 1px solid #e6e0d5;
}
.conversation-rail .article-actions .read { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 3px 0; font-size: 15px; color: var(--content-navy); }
.conversation-rail .article-actions .read svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease-out); }
.conversation-rail .article-actions .read:hover svg { transform: translateX(3px); }
.conversation-rail .article-reading-time { font-size: 13px; line-height: 1.4; color: var(--muted); }
.conversation-rail + .conversation-rail { margin-top: 46px; padding-top: 38px; }
.content-note { margin-top: 24px; font-size: 14px; line-height: 1.6; max-width: 85ch; }
.faq-section {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  column-gap: clamp(32px, 5vw, 72px); align-items: start;
  padding-block: clamp(36px, 3.8vw, 54px) clamp(42px, 4.2vw, 60px);
}
.faq-section .editorial-heading h2 { font-size: clamp(38px, 4vw, 54px); }
.faq-list summary { font-size: 18px; min-height: 64px; font-weight: 500; gap: 24px; }
.faq-list summary svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #e8e8e2; stroke: #0b1c34; }
.faq-list details[open] summary { color: #0b1c34; }
.faq-list details > p { font-size: 17px; line-height: 1.65; }
.closing { padding-block: 72px; background: #0b1c34; color: #fbf9f5; }
.closing > div > p, .closing-actions > p { color: #d5deea; }
.closing > div > h2 { font-size: clamp(38px, 4.1vw, 58px); max-width: 23ch; }
.contact-switch { margin-top: 20px; }

/* Final de leitura e painéis usam a mesma escala e o mesmo acabamento. */
#site-footer > p { font-size: 14px; line-height: 1.6; max-width: 64ch; }
#site-footer .footer-address { font-size: 14px; line-height: 1.6; }
#content-dialog { width: min(820px, calc(100% - 48px)); border-radius: 24px; }
#content-dialog .dialog-toolbar { padding: 15px 24px; }
#content-dialog .close-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; border-radius: 50%; background: #e9e4da; }
#content-dialog .close-button:hover { background: #ddd5c6; }
#dialog-body { padding: 30px 36px 36px; }
#content-dialog #dialog-title { font-size: clamp(34px, 4vw, 46px); line-height: 1.1; }
#content-dialog .contact-choice { border-radius: 16px; }

/* Preferência preservada, com personagem e texto originais. */
.cookie-banner {
  position: fixed; inset: auto auto max(12px, env(safe-area-inset-bottom, 0px)) 50%; transform: translateX(-50%);
  z-index: 15; max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center;
  width: calc(100% - 48px); max-width: 1040px; margin: 0;
  gap: 24px; padding: 24px 28px;
  border: 1px solid var(--line); border-radius: 0; box-shadow: none;
}
.cookie-banner > img { width: 64px; height: 64px; }
.cookie-copy { min-width: 0; }
.cookie-copy strong { font-size: 24px; }
.cookie-copy p { font-size: 15px; }
.cookie-copy small { font-size: 13px; }
.cookie-actions { width: auto; margin: 0; flex-direction: column; gap: 8px; }
.cookie-actions .button { min-width: 112px; }

/* A abertura é o momento principal. Nenhum texto espera animação para aparecer. */
@keyframes facade-light-cycle {
  0%, 12%, 96%, 100% { opacity: 0; }
  46%, 62% { opacity: 1; }
}
@keyframes facade-camera-cycle {
  0%, 12%, 96%, 100% { transform: perspective(1100px) translateX(var(--facade-pan-from, 1%)) rotateY(0deg) scale(var(--facade-scale-from, 1.055)); }
  46%, 62% { transform: perspective(1100px) translateX(var(--facade-pan-to, -1.2%)) rotateY(var(--facade-turn, 3deg)) scale(var(--facade-scale-to, 1.065)); }
}
@keyframes portrait-settle { from { transform: scale(1.025); } to { transform: scale(1); } }
@keyframes sheet-in { from { opacity: .75; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .physician-hero .portrait-layers { animation: portrait-settle .7s var(--ease-out) both; }
  .facade-night-ready .clinic-night-photo { animation: facade-light-cycle 24s cubic-bezier(.45, 0, .55, 1) infinite both; animation-play-state: paused; }
  .facade-night-ready .clinic-facade-camera { animation: facade-camera-cycle 24s cubic-bezier(.45, 0, .55, 1) infinite both; animation-play-state: paused; }
  .facade-is-playing :is(.clinic-night-photo, .clinic-facade-camera) { animation-play-state: running; }
  .facade-scroll.facade-night-ready .clinic-night-photo { animation: none; opacity: var(--facade-light, 0); }
  .facade-scroll.facade-night-ready .clinic-facade-camera {
    animation: none;
    transform: perspective(1100px)
      translateX(calc(var(--facade-pan-from, 1%) + (var(--facade-pan-to, -1.2%) - var(--facade-pan-from, 1%)) * var(--facade-light, 0)))
      rotateY(calc(var(--facade-turn, 3deg) * var(--facade-light, 0)))
      scale(calc(var(--facade-scale-from, 1.055) + (var(--facade-scale-to, 1.065) - var(--facade-scale-from, 1.055)) * var(--facade-light, 0)));
  }
  .journey-motion .journey-track { transform: scaleY(var(--journey-progress, 0)); }
  .journey-motion li::after { transition: background-color .2s ease; }
  .journey-motion li.is-reached::after { background: var(--gold); }
  .faq-list summary svg { transition: transform .22s var(--ease-out), background .2s ease; }
  dialog[open] .dialog-shell { animation: sheet-in .26s var(--ease-out) both; }
  .mobile-contact:not([hidden]) { animation: sheet-in .26s var(--ease-out) both; }
  :is(main, .site-header, .mobile-contact, #content-dialog) :is(.button, .theme, .about-featured-video, .article-play) {
    transition: transform .12s var(--ease-out), background-color .22s ease;
  }
  :is(main, .site-header, .mobile-contact, #content-dialog) :is(.button, .theme, .about-featured-video, .article-play):active { transform: scale(.98); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .theme:hover { transform: translateY(-2px); }
  :is(main, .site-header, .mobile-contact, #content-dialog) :is(.text-link, .button):hover svg { transform: translateX(3px); }
}
@media (hover: none) {
  :is(main, .site-header, .mobile-contact, #content-dialog) :is(.text-link, .button):hover svg { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  :is(main, .site-header, .mobile-contact, #content-dialog) :is(.button:active, .button svg, .text-link svg, .article-image > img, .theme:active) { transform: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (min-width: 761px) {
  .editorial-section { padding-inline: 5.2%; }
}
@media (max-width: 1200px) {
  :root { --opening-gutter: 24px; }
}
@media (max-width: 1050px) {
  .site-header { padding: 20px 24px; }
  .physician-hero { padding-left: 24px; gap: 5%; min-height: 560px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .physician-hero h1.hero-name { font-size: clamp(50px, 6.1vw, 64px); }
  .physician-hero .hero-copy { padding-block: 24px; }
  .physician-hero .hero-lede { font-size: 27px; }
  .about { padding-inline: 6%; gap: 9%; }
  .about-copy > p { font-size: 17px; }
  .about-copy h2 { font-size: 43px; }
  .wellbeing-composition { gap: 14px; }
  .care-journey { gap: 7%; }
  .clinical-approach { gap: 6%; padding-block: 48px; }
  .clinical-approach .approach-lead > h2 { font-size: 38px; }
  .approach-detail p:first-child { font-size: 27px; }
  .clinic-proof .clinic-intro { grid-template-columns: 1.2fr 1fr; gap: 8%; }
  .clinic-proof .clinic-intro h2 { font-size: 47px; }
  .clinic-services h3 { font-size: 32px; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme { padding: 22px; }
  .theme .theme-description { max-width: 34ch; }
  .conversation-rail .article-track { grid-auto-columns: calc((100% - 24px) / 2.12); }
  .conversation .article-card h4 { font-size: 27px; }
  .conversation-rail .article-body { padding: 21px 21px 16px; }
}
@media (max-width: 760px) {
  :root { --space-section: 64px; }
  .physician-hero { min-height: 560px; }
  .physician-hero h1.hero-name { font-size: 56px; }
  .physician-hero .hero-lede { font-size: 25px; }
  .about { grid-template-columns: .82fr 1fr; padding: 56px 24px; gap: 7%; }
  .about-photo { height: 380px; aspect-ratio: auto; }
  .about-copy h2 { font-size: 38px; }
  .about-copy > p { font-size: 16px; line-height: 1.6; }
  .care-journey { grid-template-columns: 1fr; gap: 24px; }
  .care-journey .editorial-heading > p { max-width: 52ch; font-size: 17px; margin-top: 18px; }
  .journey-steps li:first-child { border: 0; padding-top: 20px; }
  .clinical-approach { display: block; padding-block: 40px; }
  .technology-photo { max-width: 300px; margin: 0 auto 28px; }
  .clinical-approach .approach-lead > h2 { font-size: 38px; }
  .approach-detail { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-sand, #d8cbb5); }
  .approach-detail p:first-child { font-size: 18px; }
  .clinic-proof .clinic-intro { display: block; }
  .clinic-proof .clinic-intro h2 { font-size: 43px; }
  .clinic-proof .clinic-intro p { margin-top: 20px; font-size: 17px; max-width: 54ch; }
  .clinic-visit h3 { font-size: 26px; }
  .clinic-visit address { font-size: 16px; }
  .treatments .section-heading { display: block; }
  .treatments .section-heading > h2 { font-size: 42px; }
  .treatments .section-heading > p { max-width: 52ch; font-size: 17px; margin-top: 18px; }
  .theme-grid { gap: 16px; margin-top: 28px; }
  .theme { padding: 20px; gap: 12px; }
  .attendance .editorial-heading { display: block; }
  .attendance .editorial-heading > p { font-size: 17px; max-width: 52ch; }
  .attendance .care-paths { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
  .attendance .path-copy { padding: 24px 0 0; }
  .attendance .path-copy h3 { font-size: 32px; }
  .conversation-heading > div { display: block; }
  .conversation-heading > div > p { margin-top: 16px; max-width: 36ch; }
  .conversation-rail .article-track { grid-auto-columns: 88%; gap: 18px; }
  .rail-heading { flex-direction: row; align-items: end; justify-content: space-between; }
  .rail-heading h3 { font-size: 33px; max-width: 19ch; }
  .rail-heading .carousel-controls { gap: 7px; }
  .carousel-count { margin-right: 3px; font-size: 13px; }
  .rail-filters { gap: 9px; }
  .faq-list summary { min-height: 64px; padding-block: 17px; font-size: 16px; gap: 20px; }
  .closing { padding-block: 48px; }
  .closing > div > h2 { font-size: 43px; }
}
@media (max-width: 640px) {
  .site-header { padding: 15px 20px; }
  .wordmark > span { font-size: 26px; }
  .wordmark small { font-size: 11px; letter-spacing: .06em; }
  .physician-hero { grid-template-columns: 1fr; min-height: 0; gap: 0; padding: 0; }
  .physician-hero .hero-portrait { grid-column: 1; grid-row: 1; min-height: 0; height: clamp(280px, 75vw, 400px); }
  .physician-hero .hero-portrait { --portrait-position: 50% 30%; }
  .physician-hero .hero-copy { padding: 20px 22px 40px; }
  .physician-hero h1.hero-name { font-size: clamp(43px, 10.4vw, 60px); line-height: 1; max-width: none; letter-spacing: -.03em; }
  .hero-line { display: inline; }
  .physician-hero .hero-lede { font-size: 26px; line-height: 1.2; margin-top: 10px; max-width: 27ch; }
  .physician-hero .hero-credentials { font-size: 13px; margin-top: 20px; padding-top: 16px; max-width: none; }
  .physician-hero .hero-intro > p { font-size: 16px; line-height: 1.5; margin-top: 12px; max-width: 36ch; }
  .physician-hero .hero-actions { margin-top: 14px; gap: 8px; }
  .physician-hero .hero-actions .button { width: 100%; min-height: 50px; padding: 14px 28px; }
  .physician-hero .hero-secondary { font-size: 14px; }
  .action-caption { font-size: 13px; }
  .about { grid-template-columns: 1fr; padding: 24px 22px 32px; gap: 24px; }
  .about-photo { width: 100%; height: auto; aspect-ratio: 1.12; max-width: none; border-radius: 20px; }
  .about-photo img { object-position: 50% 29%; }
  .about-copy h2 { font-size: 38px; max-width: 20ch; }
  .about-copy > p { font-size: 16px; margin-top: 18px; line-height: 1.65; }
  .about-copy .text-link { margin-top: 19px; }
  .wellbeing-story { padding: 30px 22px; }
  .about-featured-video { gap: 14px; margin-top: 20px; padding-top: 18px; }
  .featured-video-cover { width: 96px; height: 90px; }
  .featured-video-title { font-size: 22px; }
  .wellbeing-photo { border-radius: 16px; }
  .wellbeing-composition { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; gap: 12px; align-items: stretch; }
  .wellbeing-photo img { height: auto; aspect-ratio: 3 / 2; }
  .wellbeing-walk { grid-column: 1 / -1; grid-row: 1; }
  .wellbeing-walk img { aspect-ratio: 3 / 2; }
  .wellbeing-food { grid-column: 1; grid-row: 2; }
  .wellbeing-yoga { grid-column: 2; grid-row: 2; }
  .wellbeing-story figcaption { display: block; margin: 0 0 22px; }
  .wellbeing-heading p { max-width: 28ch; font-size: 29px; line-height: 1.2; }
  .wellbeing-story .about-featured-video { margin-top: 18px; padding-top: 16px; border-top: 1px solid #dce6d9; }
  .care-journey { padding: 40px 22px 20px; }
  .care-journey .editorial-heading > p, .journey-steps p { font-size: 16px; line-height: 1.6; }
  .care-journey .editorial-heading h2 { font-size: 38px; max-width: 18ch; }
  .journey-steps h3 { font-size: 28px; }
  .clinical-approach .approach-lead > h2 { font-size: 38px; }
  .clinical-approach { padding: 40px 22px; }
  .technology-photo { max-width: 260px; }
  .approach-lead > p, .approach-detail p { font-size: 16px; line-height: 1.6; }
  .approach-detail p:first-child { font-size: 18px; line-height: 1.5; }
  .clinic-proof { padding: 40px 22px; gap: 24px; }
  .clinic-proof .clinic-intro h2 { font-size: 38px; }
  .clinic-proof .clinic-intro p { font-size: 16px; line-height: 1.6; }
  .clinic-services h3 { font-size: 30px; }
  .clinic-services dl { display: block; }
  .clinic-visit h3 { font-size: 26px; }
  .clinic-visit address { font-size: 16px; }
  .treatments { padding: 40px 22px 32px; }
  .treatments .section-heading > h2 { font-size: 38px; }
  .treatments .section-heading > p { font-size: 16px; }
  .attendance { padding: 24px 22px 40px; }
  .attendance .editorial-heading h2 { font-size: 38px; }
  .attendance .editorial-heading > p { font-size: 16px; line-height: 1.6; }
  .attendance .care-paths { grid-template-columns: 1fr; gap: 30px; }
  .attendance .path-copy { padding: 24px 0 0; }
  .attendance .path-copy h3 { font-size: 31px; }
  .attendance .path-copy p { font-size: 16px; }
  .attendance .path-copy .path-detail { font-size: 15px; line-height: 1.55; }
  .attendance .path-copy .text-link { width: 100%; font-size: 15px; margin-top: 20px; padding: 12px 18px; }
  .conversation { padding: 40px 22px 16px; }
  .conversation h2 { font-size: 44px; }
  .conversation-heading > div > p { font-size: 18px; }
  .rail-heading { align-items: start; }
  .rail-heading h3 { font-size: 31px; }
  .rail-heading .carousel-controls { align-self: end; }
  .rail-heading .carousel-count { display: none; }
  .circle-button { width: 42px; height: 42px; }
  .rail-filters { gap: 8px; }
  .rail-filters button { font-size: 14px; padding-inline: 14px; }
  .conversation .article-card h4 { font-size: 27px; }
  .conversation-rail .article-summary { font-size: 15px; }
  .conversation-rail .article-body { padding: 20px 20px 15px; }
  .conversation .video-play { left: 13px; bottom: 13px; padding-inline: 12px; font-size: 13px; }
  .conversation .video-duration { right: 13px; bottom: 21px; font-size: 12px; padding: 4px 7px; min-height: 0; }
  .cookie-banner { grid-template-columns: 48px minmax(0, 1fr); width: calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin: 0; padding: 16px; gap: 12px; }
  .cookie-banner > img { width: 48px; height: 48px; }
  .cookie-copy { min-width: 0; }
  .cookie-copy strong { font-size: 22px; }
  .cookie-actions { grid-column: 1 / -1; width: 100%; margin: 0; flex-direction: row; }
  .cookie-actions .button { flex: 1; }
}
@media (max-width: 560px) {
  .theme-grid { grid-template-columns: 1fr; gap: 12px; }
  .theme { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; padding: 16px 18px; align-items: start; }
  .theme-icon { grid-column: 1; grid-row: 1; width: 34px; height: 34px; }
  .theme-icon svg { width: 32px; height: 32px; }
  .theme .theme-title { grid-column: 2; font-size: 24px; line-height: 1.15; text-wrap: pretty; }
  .theme .theme-description { grid-column: 2; font-size: 15px; line-height: 1.45; max-width: none; }
  .theme-discover { grid-column: 2; margin-top: 2px; min-height: 28px; padding: 2px 0; font-size: 14px; }
}
@media (min-width: 1051px) and (max-width: 1200px) {
  .site-header { padding-inline: 24px; gap: 20px; }
  .wordmark > span { font-size: 27px; }
  nav { gap: 12px; }
  nav > a { font-size: 13px; white-space: nowrap; }
  nav .button { padding-inline: 18px; }
}
@media (max-width: 360px) {
  .site-header { flex-wrap: nowrap; gap: 8px; padding-inline: 16px; }
  .wordmark { min-width: 0; }
  .wordmark > span { font-size: 23px; white-space: nowrap; }
  .wordmark small { font-size: 10px; letter-spacing: 0; }
  .physician-hero h1.hero-name { font-size: 42px; }
  .physician-hero .hero-portrait { height: 260px; }
  .about-copy h2, .treatments .section-heading > h2 { font-size: 38px; }
  .conversation-rail .article-track { grid-auto-columns: 94%; }
  .conversation .article-card h4 { font-size: 26px; }
  .conversation .video-play { left: 11px; padding-inline: 10px; gap: 7px; }
  .conversation .video-duration { right: 11px; }
}

@media (max-width: 640px) {
  .faq-section { padding: 24px 22px 40px; }
  .faq-section .editorial-heading h2 { font-size: 38px; }
  .faq-list details > p { padding: 0 0 22px; font-size: 16px; line-height: 1.65; }
  .closing { padding: 48px 22px; }
  .closing > div > h2 { font-size: 38px; line-height: 1.1; }
  .closing > div > p { font-size: 16px; line-height: 1.6; }
  .closing-actions { margin-top: 24px; }
  #site-footer > p, #site-footer .footer-address { font-size: 14px; }
  #content-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  #content-dialog .dialog-toolbar { padding: 12px 16px; }
  #dialog-body { padding: 24px 22px 28px; }
  #content-dialog #dialog-title { font-size: 34px; }
  #content-dialog .article-panel > p, #content-dialog .demo-content > p { font-size: 16px; line-height: 1.65; }
}

@media (max-width: 959px) {
  .faq-section { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .faq-list { margin: 0; }
  .clinic-proof { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .clinic-proof .clinic-intro { display: block; }
  .clinic-proof .clinic-intro p { margin-top: 14px; max-width: 52ch; }
  .clinic-visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 24px; }
  .clinic-visit-copy { grid-row: 1 / 3; }
  .clinic-visit .button { align-self: start; }
  .clinic-map { grid-column: 1 / -1; }
  .clinic-proof .clinic-interiors img { aspect-ratio: 5 / 4; }
  .clinic-services dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
  .clinic-proof { --facade-pan-from: .5%; --facade-pan-to: -.7%; --facade-turn: 1.5deg; --facade-scale-from: 1.035; --facade-scale-to: 1.035; }
  .clinic-visit { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .clinic-visit-copy { grid-row: auto; }
  .clinic-visit .button { width: 100%; }
  .clinic-map iframe { height: 148px; }
  .clinic-proof .clinic-interiors img { aspect-ratio: 1; }
  .clinic-services dl { display: block; }
}

@media (min-width: 641px) {
  .site-header, .physician-hero, .treatments {
    max-width: var(--page);
    margin-inline: auto;
    padding-inline: var(--opening-gutter);
  }
}
@media (min-width: 761px) {
  .treatments .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
    gap: 5.5%;
  }
  .treatments .section-heading > p { max-width: 44ch; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .treatments .section-heading { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 5%; }
}
