/* banner */

.banner {
  position: relative;
  width: 100%;
  /* background-image: url('./../../images/banner-home.webp'); */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 105vh;
  max-width: 1920px;
  margin: auto;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: 45%;
  color: #fff;
  line-height: 1.15;
  z-index: 2;
}

.banner-text h1 {
  color: white;
}

.banner-text h1 span {
  color: var(--primary-color);
  display: block;
  font-weight: 700;
}

/* informacoes funcionamento */

.agende-consulta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(to top, var(--tertiary-color) 73%, var(--primary-color) 73%);
  padding: 2rem 1rem 8rem 1rem;
  z-index: 2;
  position: relative;
}

.agende-consulta>p {
  text-align: center;
  max-width: 850px;
  margin: auto;
  color: #fff;
  line-height: 1.5;
}

.informacoes-funcionamento {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
  padding: 0 1rem;
}

.como-funciona,
.onde-atendemos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  /* padding: 0 1rem; */
}

.como-funciona ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem
}

.onde-atendemos div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* icones */

.icones {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: 2rem;
}

.icone-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icone-wrapper p {
  text-align: center;
  color: var(--secondary-color);
  font-weight: 700;
}

.icone-wrapper img {
  width: 100%;
}

/* como cuidamos */

.como-cuidamos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem 4rem 1rem;
}

.como-cuidamos>h3 {
  display: inline;
  background-color: var(--secondary-color);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  transform: translateY(-30px);
}

.como-cuidamos-conteudo {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.card-1 {
  background-color: var(--primary-color);
  display: grid;
  grid-template-columns: 40% 60%;
  color: #fff;
  border-radius: 50px;
  overflow: hidden;
}

.card-1 .titulo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 3rem;
}

.como-cuidamos-conteudo img {
  width: 100%;
  height: 102%;
}

.como-cuidamos .agendamento {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  padding: 0 1rem;
  max-width: 1000px;
  margin: auto;
}

.card-2 {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: flex-end;
}

.card-2 .card-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.card-2 img {
  width: 130%;
  transform: translateX(-25%);
}

.card-2 h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.card-2-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.linha-vertical {
  height: 350px;
  width: 20px;
  background-color: var(--secondary-color);
}

/* parceria e saúde */

.parceria-e-saude {
  color: #fff;
  background-color: var(--primary-color);
  width: 100%;
}

.parceria-e-saude .info-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  text-align: center;
  margin: auto;
  padding: 2rem;
}

/* -------------- */
/* RESPONSIVIDADE */
/* -------------- */

@media all and (max-width: 500px) {
  .banner-image {
    width: 125%;
    height: 100%;
    transform: translateX(-20%);
    overflow: visible;
  }

  .banner {
    position: relative;
    width: 100%;
    overflow: visible;
    height: auto;
  }
}

@media all and (max-width: 768px) {

  .agende-consulta {
    background: linear-gradient(to top, var(--tertiary-color) 80%, var(--primary-color) 80%);
  }

  .como-funciona,
  .onde-atendemos {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .icones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .card-1 {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding-top: 1rem;
  }

  .como-cuidamos-conteudo img {
    transform: translateY(10px);
  }

  .card-2 {
    display: flex;
    flex-direction: column;
  }

  .card-2 img {
    width: 100%;
    transform: translateX(0);
  }

  .banner {
    height: 35vh;
    background-position: 60% top;
    padding-bottom: 0;
  }
}


.bg_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  /* Fallback com a imagem do poster caso o vídeo não carregue */
  background: url('../../images/poster001.png') no-repeat center center/cover;
}

.bg_video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* Proporção 16:9 para cobrir a área */
  min-width: 100%;
  height: 56.25vw; /* Proporção 16:9 para cobrir a área */
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Impede que o usuário clique no iframe */
}