
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
      font-family: 'Montserrat', sans-serif;
      background-color: #fff;
      margin: 0;
      padding: 0;
    }
    .carousel-item img {
      width: 100%;
      height: 105vh;
      object-fit:fill;
      margin-top: 90px; /* altura combinada da top-bar + header */
    }
    .carousel-item::before {
      content: "";
      position: absolute;
      top: 0; 
      left: 0; 
      bottom: 0; 
      right: 0;
      background: rgba(0, 0, 0, 0.45); /* escurece mais a imagem */
      z-index: 1;
    }
  
    .carousel-caption {
      z-index: 2;
      position: absolute;
      top: 40%;
      left: 8%; /* distância da margem esquerda */
      transform: translateY(-50%);
      text-align: left; /* texto alinhado à esquerda */
      max-width: 600px; /* limita a largura do texto */
    }
  
    .carousel-caption h1 {
      font-size: 3rem;
      font-weight: bold;
      color: #fff;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
      margin-top: 100px;
      padding-top: 90px;
      text-transform: uppercase; /* <-- deixa o texto em maiúsculas */
    }
    .cards-banner {
      position: relative;
      top: -60px;
      z-index: 1050;
      display: flex;
      justify-content: center;
      padding: 0 15px;
    }
    .container-cards {
      background: #fff;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      border-radius: 20px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      padding: 25px 10px;
      max-width: 1200px;
      width: 100%;
      gap: 20px;
    }    
    .card-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 120px;
      transition: transform 0.3s ease;
      text-align: center;
    }
    .card-item:hover {
      transform: translateY(-5px);
    }
    .card-item .icon {
      font-size: 32px;
      color:  #0599DB;
      margin-bottom: 10px;
    }
    .card-item p {
      font-size: 14px;
      font-weight: bold;
      color: #161616;
      margin: 0;
    }

    /* Responsivo para tablets */
@media (max-width: 991px) {
  .carousel-item img {
    height: 40vh;
    margin-top: 70px;
  }

  .carousel-caption h1 {
    font-size: 2rem;
    margin-top: 60px;
    padding-top: 60px;
  }
}

/* Responsivo para celulares */
@media (max-width: 768px) {
  .carousel-item img {
    height: 45vh;
    width: 100%;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
    margin-top: 40px;
    padding-top: 100px;
    text-align: center;
  }

  .carousel-caption p {
    display: none;
  }
}


    /* Responsivo */
    @media (max-width: 768px) {
      .container-cards {
        flex-direction: row;
        justify-content: center;
        padding: 20px 10px;
      }
      .card-item {
        width: 100px;
      }
      .card-item .icon {
        font-size: 28px;
      }
      .card-item p {
        font-size: 12px;
      }
    }
    .parceria-etugeste {
      padding: 60px 20px;
      background-color: #f5f5f5;
    }
    
    .conteudo-parceria {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      max-width: 1200px;
      margin: 0 auto;
      gap: 90px;
    }
    
    .imagem-parceria img {
      width: 380px;
      height: 300px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      margin-right: 0;
    }
    
    .imagem-parceria {
      flex: 1 1 45%;
      display: flex;
      justify-content: flex-end; /* Alinha a imagem à direita */
    }
    
    .texto-parceria {
      flex: 1 1 45%;
      min-width: 300px;
    }
    
    .texto-parceria h2 {
      font-size: 2rem;
      color: #0599DB;
      margin-bottom: 20px;
    }
    
    .texto-parceria p {
      font-size: 1.1rem;
      color: #333;
      line-height: 1.6;
      text-align: justify;
    }
    
    /* ===== RESPONSIVO PARA SMARTPHONES ===== */
    @media (max-width: 768px) {
      .conteudo-parceria {
        flex-direction: column;
        gap: 40px;
        text-align: center;
      }
    
      .imagem-parceria {
        display: none; /* Oculta a imagem em smartphones */
      }
    
      .texto-parceria {
        flex: 1 1 100%;
      }
    
      .texto-parceria h2 {
        font-size: 1.5rem; /* Reduz o tamanho do título */
      }
    
      .texto-parceria p {
        text-align: center; /* Centraliza o texto */
        font-size: 1.2rem; /* Ajusta levemente o tamanho da fonte */
      }
    }
        .cards-banner {
      text-align: center;
    }

    .container-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .card-item {
      background-color: #f9f9f9;
      border: 1px solid #ddd;
      padding: 20px;
      width: 250px;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      cursor: pointer;
      transition: transform 0.3s;
    }

    .card-item:hover {
      transform: scale(1.05);
    }

       @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
      .container-cards, .extra-boxes {
        flex-direction: column;
        align-items: center;
      }
    }
    
.carousel-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.carousel-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
  text-align: left;
  padding-left: 80px;
}

.highlight-red {
  color: #0599DB; /* vermelho sombrio (dark red) */
  font-weight: 700 
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome */
}
.service-card {
  flex: 0 0 33.333%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.badge {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
  background: linear-gradient(to right, #0A2540, #0599DB); /* Azul sombrio */
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 5px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #0d2235;
  margin: 10px 0;
}

.service-card p {
  color: #444;
  font-size: 0.95rem;
}
/* Botões laterais */
.carousel-btn {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  color: #002d62;
  border: none;
  font-size: 1.5rem;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease;
}
.carousel-btn:hover {
  background-color: rgba(0,0,0,0.8);
}
.carousel-btn.prev {
  left: -5px;
}
.carousel-btn.next {
  right: -20px;
}
.galeria-wrapper {
  overflow: hidden;
  width: 100%;
  background: #fffefe;
  padding: 20px 0;
}
.faixa-imagens {
  display: flex;
  gap: 45px; /* Espaço entre imagens */
  height: 90px;
  width: max-content;
  width: calc(250px * 10);
  animation: deslizar 20s linear infinite;
}
.imagem-item {
  width: 300px;
  height: 160px;
  object-fit: cover;
  margin: 0 100px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}
.imagem-item:hover {
  transform: scale(1.1);
}
@keyframes deslizar {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-20%);
  }
}

@media (max-width: 1024px) {
  .service-card {
    flex: 0 0 33.333%;
  }
}

@media (max-width: 900px) {
  .service-card {
    flex: 0 0 50%;
  }
}

/* Tablets pequenos e celulares grandes (até 768px) - 2 cards por tela */
@media (max-width: 768px) {
  .service-card {
    flex: 0 0 50%;
  }
}

/* Smartphones (até 576px) - apenas 1 serviço por tela */
@media (max-width: 576px) {
  .service-card {
    flex: 0 0 100%;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  .carousel-title {
    font-size: 1.5rem;
    padding-left: 20px;
  }
}