/* E — capa fotográfica contínua. A fotografia é o próprio plano de fundo,
   sem moldura, com a mensagem sobreposta e o menu transparente. */
:root {
  --white: #fffdfb;
  --paper: #f8f4f0;
  --ink: #51463f;
  --text: #6b5f58;
  --blush: #876256;
  --photo-paper: #d9d7d4;
}
.site-header { position: absolute; inset: 0 0 auto; background: transparent; }
.header-inner { min-height: 112px; }
.main-nav { margin-right: 0; gap: 40px; }
.main-nav a { font-size: 13px; color: #51463f; }
.brand { width: 170px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--photo-paper); }
.hero > .wrap { width: 100%; }
.hero-layout { position: relative; display: flex; justify-content: flex-end; align-items: center; gap: 0; height: 100svh; min-height: 900px; max-height: 1120px; padding: 500px 40px 60px; }
.hero-portrait { position: absolute; inset: 0; z-index: -2; width: 100%; max-width: none; height: 100%; margin: 0; background: transparent; overflow: hidden; }
.hero-portrait img { position: absolute; left: 50%; top: -6%; width: auto; max-width: none; height: 108%; object-fit: contain; object-position: center; translate: -50% 0; scale: 1; filter: grayscale(1) sepia(.08) brightness(1.035); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(249 247 243 / 23%) 0%, transparent 23%, transparent 40%, rgb(248 245 240 / 62%) 68%, rgb(255 253 251 / 98%) 100%); }
.hero-copy { width: 100%; max-width: 980px; text-align: center; padding: 0; }
.hero-copy h1 { font-size: clamp(47px, 4.8vw, 68px); line-height: 1.06; letter-spacing: -.035em; }
.hero-copy h1 em { display: block; color: var(--ink); }
.hero-description { color: #5e5149; max-width: 560px; margin: 22px auto 0; font-size: 16px; line-height: 1.65; }
.hero-actions { margin-top: 24px; gap: 26px; justify-content: center; }
.hero-actions .text-link { font-size: 12px; font-weight: 400; color: var(--text); }

/* Traço fino, superfície vazada e gestos discretos em toda a página. */
.button,
.button-light,
.button-instagram,
.results .cases-more .button,
.closing .button { background: transparent; border: 1px solid #ad9586; color: var(--ink); border-radius: 0; min-height: 50px; padding: 14px 31px; font-size: 12px; font-weight: 400; letter-spacing: .035em; box-shadow: none; }
.button:hover,
.button-light:hover,
.button-instagram:hover,
.results .cases-more .button:hover,
.closing .button:hover { background: rgb(234 221 211 / 34%); border-color: #887162; color: #493b34; }
.button-instagram::before { display: none; }
.button-instagram { width: fit-content; }

/* Tratamento de exibição dos retratos; os registros clínicos ficam intactos. */
.method-portrait { aspect-ratio: 3 / 4; }
.method-portrait img { object-position: 50% 42%; filter: grayscale(1) sepia(.09) contrast(.92) brightness(1.07); }
.doctor-portrait img { filter: saturate(.68) contrast(.95) brightness(1.025); }
.office-photos img { filter: saturate(.65) contrast(.94) brightness(1.04); }
.hero-portrait.scroll-ready { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-portrait img { animation: capa-chega 1800ms cubic-bezier(.16,1,.3,1) both; }
  @keyframes capa-chega { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1100px) {
 .hero-layout { padding-inline: 40px; min-height: 880px; }
 .hero-copy { max-width: 850px; }
 .hero-copy h1 { font-size: 54px; }
}
@media (max-width: 800px) {
 .header-inner { min-height: 108px; }
 .main-nav { gap: 28px; display: flex; }
 .hero-layout { min-height: 950px; max-height: 1100px; padding: 490px 38px 62px; }
 .hero-copy h1 { font-size: 52px; }
 .hero-portrait { width: 100%; height: 100%; }
 .hero-portrait img { top: -4%; height: 108%; object-position: center; }
 .hero-description { font-size: 16px; }
}
@media (max-width: 640px) {
 .header-inner { flex-direction: column; justify-content: center; gap: 8px; min-height: 132px; padding-block: 20px 12px; }
 .brand { width: 156px; }
 .main-nav { margin: 0; gap: 27px; display: flex; }
 .main-nav a { padding: 6px 0; min-height: 32px; font-size: 12px; }
 .hero-layout { min-height: 860px; height: 100svh; max-height: 1000px; padding: 460px 24px 45px; }
 .hero-portrait { width: 100%; height: 100%; order: 0; }
 .hero-portrait img { top: 5%; height: 88%; width: auto; scale: 1; object-position: center; mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent), linear-gradient(180deg, transparent, #000 12%, #000 94%, transparent); mask-composite: intersect; }
 .hero::after { background: linear-gradient(180deg, rgb(249 247 243 / 18%) 0%, transparent 27%, transparent 42%, rgb(248 245 240 / 78%) 73%, #fffdfb 100%); }
 .hero-copy { max-width: 480px; }
 .hero-copy h1 { font-size: clamp(34px, 8.75vw, 44px); line-height: 1.08; text-wrap: balance; }
 .hero-copy h1 em { display: inline; }
 .hero-description { max-width: 325px; font-size: 14px; margin-top: 20px; }
 .hero-actions { gap: 16px; margin-top: 24px; flex-direction: column; }
 .hero-actions .button { width: auto; font-size: 12px; min-height: 50px; }
 .button-instagram { width: 100%; }
}
@media (max-width: 360px) {
 .hero-layout { padding-inline: 20px; min-height: 840px; }
 .hero-copy h1 { font-size: 32px; }
 .hero-description { font-size: 13px; }
 .main-nav { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { .hero-portrait img { animation: none; } }
