/*Index*/
html {
  scroll-behavior: smooth;
}

.container-banner-index {
  position: relative;
  background-color: #00f953;
}

.container-banner-index img {
  width: 100%;
  display: block;
}

.container-banner-index-logo {
  width: 50% !important;
}

/* Texto centralizado sobre a imagem */
.banner-text {
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  color: #013129;
  z-index: 5;
  line-height: 1.7em;
  font-size: 1.8em;
  text-align: left;
  max-width: 35%;
}

.btn-banner {
  background-color: #013129;
  color: #00f953;
  border: 2px solid #013129;
  padding: 10px 38px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.4s ease, background-color 0.4s ease, border 0.4s ease;
}

.btn-banner:hover {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: #013129;
  font-weight: bold;
  transform: scale(1.1);
}

.banner-text h1 {
  font-size: 3em;
  margin: 0;
}

.banner-text p {
  font-size: 1.5em;
  margin: 0.5em 0 0;
}

/* Botão de rolagem */
.scroll-down-btn {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #013129;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  z-index: 10;
}

.scroll-down-btn:hover {
  transform: translateX(-50%) scale(1.05);
}

.scroll-down-btn img {
  width: 70px;
  height: 70px;
}

/* Botão flutuante */
.whatsapp-button {
  position: fixed;
  bottom: 8%;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.whatsapp-button:hover {
  background-color: #1ebc59;
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
}

.container-a1 {
  max-width: 50%;
  margin: 3em auto;
  padding: 1em;
}

.container-a4 {
  max-width: 36.5%;
  margin: 3em auto;
  padding: 1em;
  background-color: #ffffff;
}

.container-a5-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  max-width: 60%;
  margin: 0 auto;
  padding: 1em;
}

.container-a5-base-text {
  max-width: 60%;
  margin: 0 auto;
  padding-top: 2em;
  padding-bottom: 2em;
}

.container-a5 {
  flex: 1 1 25%;
  padding-top: 1em;
  padding-bottom: 1em;
  border: 2px solid #00f953;
  border-radius: 0.5em;
  box-sizing: border-box;
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
  height: 100%; /* Altura fixa ou ajustável conforme sua necessidade */
  font-size: 1.3em;
}

.container-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em;
  margin: 0 auto;
  max-width: 60%;
}

.align-items-end {
  align-items: flex-end;
}
.align-items-center {
  align-items: center;
}
.container-a2 {
  flex: 1 1 300px;
  text-align: center;
  max-width: 70%;
}

.container-a2 video {
  width: 70% !important;
}

.container-a3 {
  flex: 1 1 300px;
  text-align: center;
  max-width: 30%;
}

.grafico-01-size {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.doutor-size {
  max-width: 90%;
  height: auto;
  object-fit: contain;
  padding-bottom: 3em;
}

.doutor-size-2 {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  padding-bottom: 3em;
}

.carousel-container {
  position: relative;
  max-width: 50%;
  overflow: hidden;
  margin: 0 auto;
  padding-left: 1em;
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  align-items: center;
}

.carousel-item {
  min-width: calc((100% - 1em) / 3);
  box-sizing: border-box;
  text-align: center;
}

.carousel-item img {
  width: 60%;
}

.carousel-button {
  position: absolute;
  top: 38%;
  background-color: rgba(136, 135, 135, 0.5);
  border: none;
  color: white;
  font-size: 2em;
  padding: 0.2em 0.5em;
  cursor: pointer;
  z-index: 1;
  border-radius: 5px;
}

.carousel-button.left {
  left: 0.2em;
}

.carousel-button.right {
  right: 0.2em;
}

.carousel-dots {
  text-align: center;
  margin-top: 1em;
}

.carousel-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #555;
}

.relative-container {
  position: relative;
}

.texto-sobreposto {
  position: absolute;
  top: 10px;
  left: 65%;
  transform: translateX(-50%);
  padding: 0.5em 1em;
  text-align: left;
  border-radius: 4px;
  z-index: 1;
  width: 50%;
  height: 77%;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: normal;
  word-wrap: break-word;
}

/* Estilo da barra de rolagem personalizada (WebKit) */
.texto-sobreposto::-webkit-scrollbar {
  width: 6px;
}

.texto-sobreposto::-webkit-scrollbar-track {
  background: transparent;
}

.texto-sobreposto::-webkit-scrollbar-thumb {
  background-color: #00a878;
  border-radius: 3px;
}

.texto-sobreposto::-webkit-scrollbar-thumb:hover {
  background-color: #00795c;
}

.margin-left-a1 {
  margin-left: 20%;
}

.container-flex-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em;
  margin: 0 auto;
  margin-top: 2em;
  margin-bottom: 2em;
  max-width: 60%;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
}

.container-a6,
.container-a7 {
  flex: 1 1 300px;
  padding: 1em;
  box-sizing: border-box;
}

.container-a6 {
  text-align: left;
  max-width: 45%;
}

.container-a7 {
  text-align: center;
  max-width: 55%;
}
.container-flex-a8 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* estica os filhos para terem a mesma altura */
  max-width: 60%;
  margin: 0 auto;
  gap: 0;
}

.container-a8 {
  flex: 0 1 32%;
  padding-top: 1em;
  padding-bottom: 2em;
  display: flex;
  flex-direction: column;
}


.container-a8-text {
  width: 80%;
}

.container-a8-icon {
  max-width: 30%;
  display: inline-block;
  margin-bottom: 1em;
}
.container-a8-icon img {
  max-width: 100%;
  height: auto;
}
.container-a8-border-bottom {
  border-bottom: 1px solid #979797;
}
.container-a8-border-right {
  border-right: 1px solid #979797;
}
.banner1-size {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.container-infografico {
  width: 90%;
  text-align: center;
}
.infografico-size {
  max-width: 100%;
}

.btn-index {
  background-color: #00f953;
  color: #013129;
  border: 2px solid #00f953;
  padding: 8px 38px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.4s ease, background-color 0.4s ease, border 0.4s ease;
}

.btn-index:hover {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  transform: scale(1.1);
}

@media (max-width: 1600px) {
  .infografico-size {
    max-width: 70%;
  }
}

/* Responsivo para mobile */
@media (max-width: 768px) {

.container-index{
  width: 90%;
  padding-top: 1em;
  padding-bottom: 1em;
}

  .banner-text {
    position: absolute;
    top: 44%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: #013129;
    z-index: 5;
    line-height: 1.2em;
    font-size: 1.5em;
    text-align: left;
    max-width: 60%;
    height: auto;
  }

  .banner-text h1 {
    font-size: 1.2em;
  }

  .banner-text p {
    font-size: 0.8em;
  }

  .container-banner-index-logo {
  width: 70% !important;
}

  .btn-banner {
  background-color: #013129;
  color: #00f953;
  border: 2px solid #013129;
  padding: 0.4em;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 2px;
  margin-left: 2%;
  transition: transform 0.4s ease, background-color 0.4s ease, border 0.4s ease;
}

.btn-banner:hover {
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: #013129;
  font-weight: bold;
  transform: scale(1.1);
}

  .scroll-down-btn {
    width: 70px;
    height: 70px;
    bottom: -35px;
    -webkit-tap-highlight-color: transparent;
  }

  .scroll-down-btn img {
    width: 40px;
    height: 40px;
  }

  .whatsapp-button {
  position: fixed;
  bottom: 15%;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

  .container-a1 {
    max-width: 95%;
    padding: 1em;
  }

  .container-a1 p {
    font-size: 1.3em !important;
  }

  .container-flex {
    flex-direction: column;
    align-items: center;
    max-width: 90%;
  }

  .carousel-container {
    position: relative;
    max-width: 95%;
    overflow: hidden;
    margin: 0 auto;
  }

  .container-a2,
  .container-a3,
  .container-a4 {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .container-a2 video {
    width: 100% !important;
  }

  .grafico-01-size {
    max-width: 100%;
    height: auto;
  }

  .doutor-size {
    max-width: 80%;
    height: auto;
  }

  .carousel-track {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    align-items: center;
  }

  .carousel-item {
    flex: 0 0 100%; /* 1 por vez no mobile */
    min-width: 100%;
  }

  .relative-container {
    position: relative;
  }

  .texto-sobreposto {
    position: absolute;
    top: 10px;
    left: 66%;
    transform: translateX(-50%);
    padding: 0.5em 1em;
    text-align: left;
    border-radius: 4px;
    z-index: 1;
    width: 60%;
    max-height: 70%;
    overflow-y: auto;
    overflow-x: hidden;
    white-space: normal;
    word-wrap: break-word;
  }

  .texto-sobreposto p {
    font-size: 0.8em !important;
  }

  .texto-sobreposto strong {
    font-size: 1em !important;
  }

  /* Estilo da barra de rolagem personalizada (WebKit) */
  .texto-sobreposto::-webkit-scrollbar {
    width: 3px;
  }

  .texto-sobreposto::-webkit-scrollbar-track {
    background: transparent;
  }

  .texto-sobreposto::-webkit-scrollbar-thumb {
    background-color: #00a878;
    border-radius: 3px;
  }

  .texto-sobreposto::-webkit-scrollbar-thumb:hover {
    background-color: #00795c;
  }

  .margin-left-a1 {
    margin-left: 5%;
  }

  .container-a5-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    min-width: 95%;
    margin: 0 auto;
    padding: 1em;
  }

  .container-a5-base-text {
    min-width: 95%;
    margin: 0 auto;
    padding: 1em;
  }

  .container-a5 {
    flex: 1 1 100%;
    height: 100px;
    display: flex;
    align-items: center; /* Alinha verticalmente */
  }

  .container-flex-base {
    flex-direction: column;
    align-items: center;
    max-width: 90%;
  }

  .container-a6,
  .container-a7 {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .banner1-size {
    max-width: 100%;
    height: auto;
  }

  .container-flex-a8 {
    flex-direction: column;
    align-items: center;
    max-width: 95%;
  }
  .container-a8 {
    width: 100%;
    flex: 1 1 100%;
    text-align: center;
    padding: 1em;
  }

  .container-a8-icon {
    width: 20%;
    height: 40px;
    display: inline-block;
  }

  .container-a8-border-bottom {
    border-bottom: 1px solid #ffffff;
  }
  .container-a8-border-right {
    border-right: 1px solid #ffffff;
  }
  .btn-index {
    background-color: #00f953;
    color: #013129;
    border: 2px solid #00f953;
    padding: 8px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 2px;
    text-align: center;
  }

  .container-infografico {
    width: 90%;
    text-align: center;
  }

  .infografico-size {
    max-width: 90%;
  }
}
