/* Reset */
@font-face {
  font-family: Poppins;
  src: url('fontes/Poppins-Regular.ttf');
}

:root {
  --backgroud-color: #003289;
  --accent-color: rgb(255, 255, 255);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Sans-serif;
}

html {
  height: 100%;
  /* scroll-behavior: smooth; */
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  transition: scroll-snap-type 0.3s ease-in-out;
}

.navbar {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -100%);
  transition: all 0.3s ease;
  opacity: 0;

  /* background: rgba(75, 128, 184, 0); */
  /* background-color: #0063CB; */
  /* background-color: #02468f85; */
  background-color: #0063cb5c;

  /* height: 12vh; */
  width: 95vw;
  margin: 10px auto;
  border-radius: 22px;
  z-index: 1000;

  display: flex;
  align-items: center;
  color: white;

  box-shadow: #000000 0px 0px 4px 0px;

  animation: navbarFadeIn 0.8s ease-out forwards;
  animation-delay: 0.3s;

}

.navbar.sem-espaco {
  top: 0px;
  width: 100vw;
  margin: 0;
  border-radius: 0;
  /* background-color: #02478f; */
  background-color: #0063CB;
}

.nav-site {
  padding: 15px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

@keyframes navbarFadeIn {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
    /* posição final */
  }
}

.div-opcoes-navbar {
  display: flex;
}

.opcoes-navbar {
  text-shadow: #1f4a9f 2px 2px 4px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px;
  color: white;
  transition: color 0.3s ease;
}

.resultado-de-exames {
  font-weight: bold;
  text-decoration: none;
  padding: 10px;
  color: white;
  background-color: #d22730;

  border-radius: 10px;

  /* Transições suaves */
  transition: background-color 0.3s ease, color 1s ease;
}

.resultado-de-exames:hover {
  background-color: #9b1c22;
}

.resultado-de-exames:hover {
  background-color: #9b1c22;
}

.opcoes-navbar:hover {
  color: #888888;
}

.carousel-wrapper {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

.carousel {
  cursor: grab;
  user-select: none;
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
  scroll-behavior: smooth;
  width: 100vw;
  height: 100vh;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.carousel::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.slide {
  scroll-snap-align: start;
  min-width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  transition: transform 0.5s ease;
}

.um {
  /* background-color: #0063CB; */
  /* background: linear-gradient(90deg, #0063CB, #0036cb); */
  background: var(--backgroud-color)
}

.dois {
  /* background-color: #0063CB; */
  /* background: linear-gradient(270deg, #0063CB, #0036cb); */
  background: var(--backgroud-color);
  color: #111;
}

.dois>.div-sld-dois {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.div-sld-dois>h3 {
  color: white;
}

.img-sld-dois {
  height: 60vh;
  width: auto;
  filter: drop-shadow(0 0 1rem rgba(247, 80, 80, 0.756));
}

.tres {
  /* background: linear-gradient(90deg, #0063CB, #0036cb); */
  background: var(--backgroud-color);
  /* color: #111; */
  display: flex;
  flex-direction: row;
  z-index: 5;
}

.panel {
  z-index: 9;
  flex-grow: 1;
  height: 100vh;
  transition: flex-grow 1s ease;

  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.panel:hover {
  flex-grow: 8;
  /* muda ao passar o mouse */
}

/* .panel:nth-child(1) {
  background-image: url('images/tomografia_grow.webp');
  background-size: cover;
}

.panel:nth-child(1):hover svg {
  opacity: 0;
  transition: opacity 1s ease;
} */

.panel:nth-child(1) {
  position: relative;
  overflow: hidden;
}

.panel:nth-child(1)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/tomografia_grow.webp');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  /* z-index: 0; */
}

/* svg por cima do fundo */
.panel:nth-child(1) svg {
  position: relative;
  /* z-index: 1; */
  transition: opacity 1s ease;
}

.panel:nth-child(1):hover svg {
  opacity: 0;
}

.panel:nth-child(1):hover::before {
  opacity: 1;
}


.panel:nth-child(2) {
  background-size: cover;
  /* background-color: rgb(23, 100, 168); */
  /* background-image: url('images/3.jpg'); */
}

.panel:nth-child(3) {
  background-size: cover;
  /* background-color: rgb(53, 218, 141); */
  /* background-image: url('images/1.jpg'); */
}

.svg-panel {
  /* max-width: 50%; */
  max-width: 40%;
  max-height: 40%;
}

.arrow-slide {
  position: absolute;
  display: flex;
  flex-direction: row;
  height: 100vh;
  align-items: center;
  justify-content: space-between;
  width: 99vw;
  padding: 10px;
  /* z-index: 8; */
}

.arrow-slide .arrow-left,
.arrow-slide .arrow-right {
  z-index: 10;
}

.arrow-left svg:hover {
  cursor: pointer;
  /* background-color: #07396ec9; */
}

.arrow-right svg:hover {
  cursor: pointer;
  /* background-color: #07396ec9; */
}

/* Dots */
#dot-1 {
  opacity: 1;
}

.nav-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 100;
}

.nav-dots button {
  width: 12px;
  height: 12px;
  background-color: white;
  border: none;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-dots button.active {
  background-color: #ffffff;
  opacity: 1;
  transform: scale(1.2);
}

.nav-dots button:hover {
  opacity: 1;
}

/* Seções tipo "slideshow" */
.full-screen {
  /* transition: all 0.7s ease-in-out; */
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Seção com scroll normal */
.scroll-normal {
  scroll-snap-align: start;
  scroll-snap-type: y unset;
  scroll-snap-align: none;
  padding: 60px 20px;
}

/* .content {
  min-height: 50vh;
  min-width: 50vw;
  margin: auto;
  line-height: 1.8;
}

.content p {
  border: white solid 1px;
  border-radius: 16px;
  margin: 10px;
  padding: 8px;
  background-color: white;
  color: black;
} */

.google-reviews {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  color: #000;
}

.google-reviews h2 {
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.review-card {
  display: flex;
  align-items: flex-start;
  background-color: #fff;
  border-radius: 16px;
  padding: 20px 25px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.avatar {
  background-color: var(--background-color, #003289);
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

.review-text p {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
}

.review-text strong {
  color: #003289;
  font-weight: 600;
}

/* Tipografia */
h1,
h2 {
  text-align: center;
  margin-bottom: 20px;
}

#inicio {
  background-size: cover;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Faz o vídeo preencher sem distorcer */
}

.card {
  /* position: relative; */
  top: 19%;
  margin: 0px 20px 0px 20px;
  padding: 12px;
  /* background-color: #e7e7e7; */
  /* width: 15vw;
  height: 40vh; */
  width: 17vw;
  height: 43vh;
  /* box-shadow: black 0px 0px 20px 0px; */
  /* border-radius: 10px; */
}

.card {
  background: #f5f5f5;
  color: #333;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 30px 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* .card p {
  font-size: 60%;
} */

.card.play-animation h3 {
  margin-top: 15px;
  color: #003289;
  font-size: 1.8rem;
  font-weight: 600;
}

.card h3 {
  margin-top: 15px;
  color: #003289;
  font-size: 1.1rem;
  font-weight: 600;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 10px;
  color: #222;
}

.card.small p {
  font-size: medium;
}

.espec-title {
  position: sticky;
  top: 14vh;
  height: 10vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.espec-title .qtd-espec {
  background: #d22730;
  margin-left: 10px;
  padding-left: 2px;
  padding-right: 2px;
  margin-right: 10px;
}


.card.small {
  width: 10vw;
  height: 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}


.card.midle {
  width: 14vw;
  height: 34vh;
}

.cd-start {
  animation: ext-to-left 2s ease forwards;
}

.cd-mid {
  animation: show-mid 2s ease forwards;
}

.cd-end {
  animation: ext-to-right 2s ease forwards;
}

.play-animation {
  display: block;
}

.stop-animation {
  display: none;
}

.cube-wrapper {
  perspective: 1000px;
  width: 600px;
  height: 200px;
  margin: 50px auto;
}

.cube-slide {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(0deg);
  transition: transform 1s ease-in-out;
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: #0063CB; */
  /* background: linear-gradient(270deg, #0063CB, #0036cb); */
  /* background: linear-gradient(270deg, #0051cc, #003dcb); */
  background: var(--backgroud-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  /* border: solid 1px red; */
  /* border-radius: 10px; */
}

.face>img {
  padding-right: 10px;
}

/* .face>h4 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
} */

/* Posições das faces no eixo X */
.face--um {
  transform: rotateX(0deg) translateZ(100px);
}

.face--dois {
  transform: rotateX(-90deg) translateZ(100px);
}

.face--tres {
  transform: rotateX(-180deg) translateZ(100px);
}

/* 
.face--quatro {
  transform: rotateX(-90deg) translateZ(100px);
} */

.especialidades {
  display: flex;
  /* background: linear-gradient(89deg, #0063CB, #0036cb); */
  background: var(--backgroud-color);
  color: white;
  flex-direction: column;

  padding-left: 20vw;
  padding-right: 20vw;
}

.especialidades p {
  font-size: 2em;
}

/* .ct-especialidades {
  min-width: 100vw;
  height: 70vh;

  display: flex;
  flex-direction: row;
  animation: scroll-cards 30s linear infinite alternate;
} */

.ct-especialidades {
  /* min-width: 100vw; */
  height: 70vh;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  justify-items: center;
}

.ct-especialidades .card {
  transition: transform 0.3s ease;
  /* Define a transição */
}

.card img {
  width: 30%;
}

.ct-especialidades .card:hover {
  transform: scale(1.1);
  cursor: pointer;
  /* Aumenta ao passar o mouse */
}

@keyframes scroll-cards {
  from {
    transform: translateX(35%);
  }

  to {
    transform: translateX(-35%);
  }
}

@keyframes ext-to-left {
  from {
    transform: translateX(100%);
    opacity: 0.5;
  }

  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes ext-to-right {
  from {
    transform: translateX(-100%);
    opacity: 0.5;
  }

  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

.cor-azul {
  filter: invert(25%) sepia(100%) saturate(500%) hue-rotate(180deg) brightness(90%) contrast(100%);
}

.div-mvv {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  margin-bottom: 5%;
  align-items: center;
}

@media screen and (max-width: 1366px) and (max-height: 800px) {
  .card {
    padding: 8px 8px;
  }

  .card p {
    font-size: 40%;
  }

  .card.small p {
    font-size: 80%;
  }

  .espec-title {
    top: 16vh;
  }

  .card img {
    width: 45%;
  }

  .especialidades p {
    font-size: 1.5em;
  }

  .card h3 {
    margin-top: 1px;
  }

  .card-icon img {
    width: 70px;
  }
}

@media screen and (max-width: 1600px) and (max-height: 800px) {
  .card {
    padding: 8px 8px;
  }

  .card p {
    font-size: 40%;
  }

  .container .card p {
    font-size: 75%;
  }

  .card.small p {
    font-size: 80%;
  }

  .espec-title {
    top: 16vh;
  }

  .card img {
    width: 35%;
  }

  .especialidades p {
    font-size: 1.5em;
  }

}

.whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  position: fixed;
  width: 65px;
  height: 65px;
  background-color: #25d366;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
}

.whatsapp:hover {
  cursor: pointer;
  background-color: #22c05c;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  left: 75px;
  /* afastado do botão */
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mostrar no hover */
.whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.div-body-maisdnois {
  /* background-color: blanchedalmond; */
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row-mdn {
  height: 30%;

  display: flex;
  background-color: var(--backgroud-color);
  /* flex-direction: row-reverse; */
  /* align-items: flex-end; */
  flex-wrap: nowrap;
  padding: 0% 10% 0% 10%;
  /* align-items: normal; */
}

.txt-mdn {
  text-wrap: auto;
  /* width: 50%; */
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.card-mdn {
  width: 100%;
  justify-items: center;
}

.card-mdn .card {
  top: 0%;
  margin: 0px 20px 0px 20px;
  padding: 12px;
  background-color: #e7e7e7;
  width: 21vw;
  height: 29vh;
  box-shadow: black 0px 0px 20px 0px;
  border-radius: 10px;
}

.ct-modal-body {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.ct-modal-body div {
  border-style: solid;
  border-color: black;
  /* border: 1px; */
}

.play {
  position: relative;
  left: 50%;
  bottom: -15%;
  z-index: 1000;

  width: 20px;
  height: 20px;
}

.play:hover {
  cursor: pointer;
}

.card-atendimento.card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.card-atendimento.card {
  padding-bottom: 30px;
}

.card-atendimento img {
  width: 60%;
}

.card-atendimento p {
  font-size: medium;
  color: black;
}

.agendamento-section {
  background-color: var(--backgroud-color);
  color: white;
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  width: 100vw;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* gap: 40px; */
  /* max-width: 1200px; */
  justify-items: center;
  margin: 0 auto;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-icon {
  position: relative;
  display: inline-block;
}

.card-icon img {
  width: 90px;
  /* height: 90px; */
}

/* .footer {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

footer {
  background-color: var(--backgroud-color);
  color: white;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  height: 15vh;
}

iframe {
  border: black solid 1px;
  border-radius: 18px;
  width: 97vw;
  height: 60vh;
  margin-bottom: 20px;
} */


.footer {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-color: var(--background-color);
  color: white;
}

.footer h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: black;
}

iframe {
  border: 1px solid #000;
  border-radius: 18px;
  width: 90vw;
  height: 45vh;
  margin-bottom: 40px;
}

footer {
  background-color: var(--backgroud-color);
  width: 100%;
  height: 20vh;
  color: white;
  text-align: center;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

footer img {
  width: 200px;
  margin-bottom: 15px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

footer li a {
  color: white;
  font-size: 0.95rem;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.2s;
}

footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  width: 100%;
  padding: 10px 0;
  font-size: 0.8rem;
  background-color: var(--backgroud-color);
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.google-avaliation-apan {
  background-color: var(--backgroud-color);
  color: white;
  margin: 10px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}