

.video-play-mark {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  flex: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.video-play-mark svg {
  width: 21px;
  height: 21px;
  margin-left: 3px;
  fill: currentColor;
}

.video-hero-link .video-play-mark::before,
.featured-video-start .video-play-mark::before {
  position: absolute;
  z-index: -1;
  inset: -5px;
  border: 1px solid #ffffffc9;
  border-radius: 50%;
  content: "";
  animation: marcela-video-pulse 2.8s ease-out infinite;
}

@keyframes marcela-video-pulse {
  0% { transform: scale(.96); opacity: .85; }
  76%, 100% { transform: scale(1.3); opacity: 0; }
}

.video-dialog {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid #dcc39860;
  border-radius: 14px;
  background: var(--navy-deep);
  color: var(--porcelain);
  box-shadow: 0 18px 80px #0008;
}

.video-dialog::backdrop {
  background: #031d2be0;
}

.video-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px 10px 18px;
}

.video-dialog h2 {
  margin: 0;
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 650;
}

.video-dialog button {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff69;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.video-dialog video {
  display: block;
  width: 100%;
  height: min(720px, calc(100dvh - 92px));
  background: #000;
  object-fit: contain;
}

html:has(.video-dialog[open]) {
  overflow: hidden;
}

@media (max-width: 760px) {
  .hero-actions .video-hero-link {
    justify-self: center;
    margin-block: 2px 4px;
  }

  .hero-actions:has(.video-hero-link) {
    gap: 13px;
  }

  .video-hero-link .video-play-mark {
    width: 39px;
    height: 39px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .video-hero-link .video-play-mark::before,
  .featured-video-start .video-play-mark::before {
    animation: none;
  }
}

.hero-visual > .video-hero-link {
  position: absolute;
  z-index: 4;
  top: 57%;
  left: 55%;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: max-content;
  max-width: min(170px, 19vw);
  transform: translate(-50%, -50%);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 650;
  text-decoration: none;
}



.hero-visual .video-hero-link .video-play-mark {
  width: clamp(72px, 7vw, 114px);
  height: clamp(72px, 7vw, 114px);
  border: 1px solid #f2eee7;
  background: #06283aae;
  box-shadow: 0 0 0 8px #f2eee738, 0 12px 32px #031d2b39;
}

.hero-visual .video-hero-link .video-play-mark svg,
.featured-video-start svg {
  width: 38%;
  height: 38%;
  filter: none;
}

.hero-visual .video-hero-link:hover .video-play-mark {
  background: #1b4b60;
}

.video-dialog {
  position: fixed;
  width: min(440px, calc((100dvh - 30px) * .5625), calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

.video-dialog video {
  height: auto;
  aspect-ratio: 9 / 16;
}

.video-dialog [data-video-close] {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #fff9;
  background: #031d2bbd;
  color: #fff;
  line-height: 1;
}

.featured-video {
  padding-block: clamp(38px, 6vw, 88px);
  background: var(--porcelain);
}

.featured-video + .featured-video {
  padding-block-start: 0;
}

.featured-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  max-width: 1120px;
  margin: 0 auto;
}

.featured-video-stage {
  position: relative;
  width: min(100%, var(--featured-video-width, 305px));
  justify-self: center;
  overflow: hidden;
  border-radius: 14px;
}

#sala-em-video .featured-video-stage {
  --featured-video-width: 374px;
}

.featured-video-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

#sala-em-video .featured-video-stage video {
  aspect-ratio: 432 / 586;
}

.featured-video-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
}

.featured-video-start[hidden] {
  display: none;
}

.featured-video-start .video-play-mark {
  width: clamp(64px, 7vw, 92px);
  height: clamp(64px, 7vw, 92px);
  background: #06283aae;
  box-shadow: 0 0 0 8px #fff4, 0 12px 30px #0004;
}

.featured-video-start:hover .video-play-mark {
  background: #1b4b60;
}

.featured-video-copy h2 {
  max-width: 16ch;
  margin: 12px 0 18px;
  font-size: clamp(32px, 4vw, 57px);
  line-height: 1.05;
  text-wrap: balance;
}

.featured-video-copy > p:not(.section-label) {
  max-width: 44ch;
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

.featured-video-meta {
  color: var(--navy);
  font-size: .84rem;
  font-weight: 650;
}

.care-film::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 1px 1px, #031d2b24 0 .65px, transparent .88px) 0 0 / 3px 3px;
  content: "";
}

@media (max-width: 760px) {
  .hero-visual > .video-hero-link {
    top: auto;
    right: 16px;
    bottom: 13px;
    left: auto;
    max-width: 140px;
    transform: none;
    gap: 6px;
    font-size: .71rem;
  }

  .hero-visual .video-hero-link .video-play-mark {
    width: 54px;
    height: 54px;
  }

  .featured-video-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    max-width: 460px;
  }

  #em-video .featured-video-stage {
    --featured-video-width: 290px;
  }

  .featured-video-copy {
    grid-row: 1;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 0;
  }

  .hero-visual {
    height: clamp(200px, calc(100svh - 478px), 450px);
  }

  [data-page="teste-respiratorio-sibo"] .hero-visual {
    height: clamp(200px, calc(100svh - 496px), 450px);
  }

  .hero-visual .hero-image {
    top: var(--header-height);
    height: calc(100% - var(--header-height));
    object-position: 50% 5%;
  }
  .hero-visual::after {
    position: absolute;
    z-index: 3;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(180deg, #f2eee700 0%, #f2eee753 44%, var(--pearl) 100%);
    pointer-events: none;
    content: "";
  }

  .hero-visual > .video-hero-link {
    right: auto;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-visual .video-hero-link .video-play-mark {
    width: 46px;
    height: 46px;
  }

  .hero-content {
    padding-block: 12px 20px;
  }
}

@media (max-width: 760px) {
  [data-page="consulta-saude-digestiva-barra-da-tijuca"]:not(.mobile-booking-visible) .site-header .header-link {
    display: none;
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-visual {
    height: clamp(232px, calc(100svh - 438px), 490px);
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-visual .hero-image {
    left: -12%;
    width: 115%;
    max-width: none;
    object-position: 50% 8%;
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-visual::after {
    height: 48%;
    background: linear-gradient(180deg, #f2eee700 0%, #f2eee739 29%, #f2eee7c9 63%, var(--pearl) 97%);
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-visual > .consultation-hero-video {
    bottom: 66px;
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-content {
    z-index: 5;
    margin-top: -58px;
    padding-top: 0;
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-eyebrow {
    margin-bottom: 6px;
  }
}

@media (max-width: 760px) and (max-height: 780px) {
  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-visual > .consultation-hero-video {
    bottom: 56px;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-visual {
    min-height: 246px;
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-visual .hero-image {
    object-position: 50% 21%;
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-visual > .consultation-hero-video {
    bottom: 28px;
  }

  [data-page="consulta-saude-digestiva-barra-da-tijuca"] .hero-content {
    margin-top: -33px;
  }
}
