.specialty-hero{display:grid;grid-template-columns:48% 52%;background:#dfcbb5;min-height:620px}.specialty-heading{padding:12% 10%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.specialty-heading h1{font-size:clamp(48px,5vw,80px);font-weight:300;letter-spacing:-.05em;line-height:1.1;margin:26px 0}.specialty-heading p{font-size:20px;line-height:1.7}.specialty-photo{min-height:620px}.specialty-photo img{width:100%;height:100%;object-fit:cover}.specialty-body{max-width:900px;padding:85px 7%;margin:auto}.specialty-body h2,.specialty-other h2{font-size:clamp(30px,4vw,46px);line-height:1.25;margin:42px 0 18px}.specialty-body p{font-size:19px;line-height:1.85}.specialty-other{padding:60px 9%;background:#e7d8c5}.specialty-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}.specialty-links a{display:flex;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #a99d91}.specialty-links a:hover{background:#ffffff45}@media(max-width:760px){.specialty-page{padding-top:68px}.specialty-page~footer{padding-bottom:100px}.specialty-hero{display:flex;flex-direction:column}.specialty-heading{padding:42px 7%}.specialty-heading h1{font-size:clamp(38px,10vw,55px)}.specialty-heading p{font-size:19px}.specialty-photo{min-height:0}.specialty-photo img{height:auto;max-height:80svh;object-fit:cover}.specialty-body{padding:42px 7%}.specialty-body p{font-size:19px;line-height:1.75}.specialty-other{padding:35px 7%}.specialty-links{grid-template-columns:1fr}.header{background:#51473e!important}}
/* Endodontia v15.13: somente a pagina da especialidade */
.endo-diagnosis{display:grid;grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);gap:clamp(24px,5vw,65px);align-items:center;margin:60px 0}.endo-diagnosis figure{margin:0}.endo-diagnosis img{display:block;width:100%;height:auto;max-height:660px;object-fit:cover}.endo-diagnosis h2{margin-top:0}.endo-video-section{text-align:center;background:#e7d8c5;padding:75px 7% 85px}.endo-video-section h2{font-size:clamp(32px,4vw,54px);font-weight:300;letter-spacing:-.035em;margin:20px auto}.endo-video-section p{max-width:640px;margin:0 auto 35px;font-size:19px;line-height:1.7}.endo-video-section video{display:block;width:min(100%,390px);max-height:650px;object-fit:contain;margin:auto;background:#d9c7b4;border-radius:3px}.specialty-page .specialty-photo img{object-position:center 43%}@media(max-width:760px){.endo-diagnosis{grid-template-columns:1fr;gap:24px;margin:40px 0}.endo-diagnosis img{max-height:none}.endo-video-section{padding:50px 7% 65px}.endo-video-section video{width:min(100%,340px)}}
/* v15.14 — ajustes exclusivos da Endodontia */
@media (min-width: 761px) {
  .endodontia-page .specialty-hero { height: min(760px, calc(100svh - 90px)); min-height: 540px; }
  .endodontia-page .specialty-photo { min-height: 0; height: 100%; overflow: hidden; }
  .endodontia-page .specialty-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
  .endodontia-page .endo-diagnosis { width: min(1100px, calc(100vw - 112px)); max-width: none; position: relative; left: 50%; transform: translateX(-50%); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); margin: 72px 0; }
  .endodontia-page .endo-diagnosis img { width: 100%; height: min(650px, 65vw); max-height: 650px; object-fit: cover; object-position: center; }
  .endodontia-page .endo-video-section video { width: min(100%, 480px); max-height: 690px; }
}
@media (max-width: 760px) {
  .endodontia-page .endo-diagnosis figure { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
  .endodontia-page .endo-diagnosis img { display: block; width: 100%; height: auto; max-height: none; object-fit: cover; }
  .endodontia-page .endo-video-section { padding-left: 0; padding-right: 0; }
  .endodontia-page .endo-video-section > .eyebrow,
  .endodontia-page .endo-video-section > h2,
  .endodontia-page .endo-video-section > p { display: block; margin-left: 7%; margin-right: 7%; }
  .endodontia-page .endo-video-section video { display: block; width: 100%; max-width: none; max-height: none; height: auto; border-radius: 0; object-fit: contain; }
}

/* v15.15 — Implantodontia: layout isolado e responsivo */
@media(min-width:761px){
.implantodontia-page .specialty-hero{height:min(760px,calc(100svh - 90px));min-height:540px}
.implantodontia-page .specialty-photo{height:100%;min-height:0;overflow:hidden}
.implantodontia-page .specialty-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 53%}
.implantodontia-page .specialty-body{max-width:920px}
.implantodontia-page .impl-feature{position:relative;left:50%;transform:translateX(-50%);width:min(1120px,calc(100vw - 112px));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(36px,5vw,78px);margin:85px 0}
.implantodontia-page .impl-feature-reverse figure{order:2}
.implantodontia-page .impl-feature-reverse .impl-feature-copy{order:1}
.implantodontia-page .impl-feature img{display:block;width:100%;height:min(590px,55vw);object-fit:cover;object-position:center}
}
.implantodontia-page .impl-feature figure{margin:0}
.implantodontia-page .impl-feature-copy h2{margin:16px 0 22px}
.implantodontia-page .impl-feature-copy p{font-size:19px;line-height:1.8}
.implantodontia-page .impl-closing{margin-top:65px}
@media(max-width:760px){
.implantodontia-page .specialty-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.implantodontia-page .impl-feature{display:flex;flex-direction:column;gap:30px;margin:58px 0}
.implantodontia-page .impl-feature figure{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}
.implantodontia-page .impl-feature img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.implantodontia-page .impl-feature-reverse figure{order:0}
.implantodontia-page .impl-feature-reverse .impl-feature-copy{order:1}
.implantodontia-page .impl-feature-copy h2{margin-top:12px}
}

/* v15.16 — Periodontia: estilos isolados, desktop equilibrado e imagens mobile imersivas */
@media(min-width:761px){
.periodontia-page .specialty-hero{height:min(720px,calc(100svh - 90px));min-height:520px}
.periodontia-page .specialty-photo{height:100%;min-height:0;overflow:hidden}
.periodontia-page .specialty-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.periodontia-page .perio-feature{position:relative;left:50%;transform:translateX(-50%);width:min(1100px,calc(100vw - 112px));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(36px,5vw,76px);margin:82px 0}
.periodontia-page .perio-reverse figure{order:2}.periodontia-page .perio-reverse .perio-copy{order:1}
.periodontia-page .perio-feature img{display:block;width:100%;height:min(570px,53vw);object-fit:cover;object-position:center}
}
.periodontia-page .perio-feature figure{margin:0}.periodontia-page .perio-copy h2{margin:16px 0 20px}.periodontia-page .perio-copy p{font-size:19px;line-height:1.8}.periodontia-page .perio-closing{margin-top:65px}
@media(max-width:760px){
.periodontia-page .specialty-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.periodontia-page .perio-feature{display:flex;flex-direction:column;gap:28px;margin:55px 0}
.periodontia-page .perio-feature figure{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}
.periodontia-page .perio-feature img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.periodontia-page .perio-reverse figure{order:0}.periodontia-page .perio-reverse .perio-copy{order:1}
.periodontia-page .perio-copy h2{margin-top:12px}
}

/* v15.17 — Reabilitação oral: alterações restritas à página */
@media(min-width:761px){
.reabilitacao-page .specialty-hero{height:min(720px,calc(100svh - 90px));min-height:520px}
.reabilitacao-page .specialty-photo{height:100%;min-height:0;overflow:hidden}
.reabilitacao-page .specialty-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 42%}
.reabilitacao-page .reab-feature{position:relative;left:50%;transform:translateX(-50%);width:min(1100px,calc(100vw - 112px));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(36px,5vw,76px);margin:82px 0}
.reabilitacao-page .reab-reverse figure{order:2}.reabilitacao-page .reab-reverse .reab-copy{order:1}
.reabilitacao-page .reab-feature img{display:block;width:100%;height:min(570px,53vw);object-fit:cover;object-position:center}
}
.reabilitacao-page .reab-feature figure{margin:0}.reabilitacao-page .reab-copy h2{margin:16px 0 20px}.reabilitacao-page .reab-copy p{font-size:19px;line-height:1.8}.reabilitacao-page .reab-closing{margin-top:65px}
@media(max-width:760px){
.reabilitacao-page .specialty-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.reabilitacao-page .reab-feature{display:flex;flex-direction:column;gap:28px;margin:55px 0}
.reabilitacao-page .reab-feature figure{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)}
.reabilitacao-page .reab-feature img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.reabilitacao-page .reab-reverse figure{order:0}.reabilitacao-page .reab-reverse .reab-copy{order:1}
.reabilitacao-page .reab-copy h2{margin-top:12px}
}

/* v15.18 — correção exclusiva das duas fotografias internas de Reabilitação Oral no celular. */
@media (max-width:760px) {
  .reabilitacao-page .specialty-body .reab-feature {
    display:flex; flex-direction:column; width:100%; max-width:none;
  }
  .reabilitacao-page .specialty-body .reab-feature > figure {
    display:block; position:relative; box-sizing:border-box;
    width:100vw !important; max-width:none !important;
    margin:0 0 0 calc(50% - 50vw) !important; padding:0 !important;
    flex:none; overflow:hidden;
  }
  .reabilitacao-page .specialty-body .reab-feature > figure > img {
    display:block; width:100% !important; max-width:none !important;
    height:auto !important; max-height:none !important;
    object-fit:contain; border-radius:0; margin:0;
  }
}

/* v15.19 — exclusivamente Odontologia Restauradora */
@media(min-width:761px){
.restauradora-page .specialty-hero{height:min(720px,calc(100svh - 90px));min-height:520px}
.restauradora-page .specialty-photo{height:100%;min-height:0;overflow:hidden}
.restauradora-page .specialty-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 46%}
.restauradora-page .rest-feature{position:relative;left:50%;transform:translateX(-50%);width:min(1100px,calc(100vw - 112px));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(36px,5vw,76px);margin:82px 0}
.restauradora-page .rest-reverse figure{order:2}.restauradora-page .rest-reverse .rest-copy{order:1}
.restauradora-page .rest-feature img{display:block;width:100%;height:min(570px,53vw);object-fit:cover;object-position:center}
}
.restauradora-page .rest-feature figure{margin:0}.restauradora-page .rest-copy h2{margin:16px 0 20px}.restauradora-page .rest-copy p{font-size:19px;line-height:1.8}.restauradora-page .rest-closing{margin-top:65px}
@media(max-width:760px){
.restauradora-page .specialty-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.restauradora-page .specialty-body .rest-feature{display:flex;flex-direction:column;gap:28px;margin:55px 0;width:100%;max-width:none}
.restauradora-page .specialty-body .rest-feature>figure{display:block;position:relative;box-sizing:border-box;width:100vw!important;max-width:none!important;margin:0 0 0 calc(50% - 50vw)!important;padding:0!important;flex:none;overflow:hidden}
.restauradora-page .specialty-body .rest-feature>figure>img{display:block;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:contain;border-radius:0;margin:0}
.restauradora-page .rest-reverse figure{order:0}.restauradora-page .rest-reverse .rest-copy{order:1}
.restauradora-page .rest-copy h2{margin-top:12px}
}

/* v15.20 — restauradora: desktop contido, mobile imersivo */
@media(min-width:761px){
 .restauradora-page .specialty-hero{height:min(680px,calc(100svh - 110px));min-height:460px}
 .restauradora-page .specialty-photo img{object-position:center 35%}
 .restauradora-page .rest-prevention-photo{width:min(760px,100%);margin:76px auto 28px}
 .restauradora-page .rest-prevention-photo img{display:block;width:100%;max-height:580px;object-fit:cover;object-position:center 45%}
}
.restauradora-page .rest-prevention-photo{padding:0}
@media(max-width:760px){
 .restauradora-page .specialty-body .rest-prevention-photo{display:block;position:relative;box-sizing:border-box;width:100vw;max-width:none;margin:55px 0 35px calc(50% - 50vw);overflow:hidden}
 .restauradora-page .specialty-body .rest-prevention-photo img{display:block;width:100%;height:auto;max-width:none;max-height:none;object-fit:contain;border-radius:0}
}

/* v15.21 — restauradora: abertura equilibrada no desktop, imersiva no celular */
@media (min-width:761px){
 .restauradora-page .specialty-hero{height: min(640px,calc(100svh - 115px));min-height:450px;grid-template-columns:1fr 1fr}
 .restauradora-page .specialty-photo{height:100%;min-height:0;overflow:hidden}
 .restauradora-page .specialty-photo img{width:100%;height:100%;object-fit:cover;object-position:center 48%}
 .restauradora-page .rest-closing{margin-top:72px}
}
@media (max-width:760px){
 .restauradora-page .specialty-hero .specialty-photo{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;overflow:hidden}
 .restauradora-page .specialty-hero .specialty-photo img{display:block;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;object-fit:contain}
}
