/*Hero Section*/
.hero-section {
    position: relative;

    width: 100%;
    height: 600px; /* ou ajuste como quiser */
    background-image: url('../src/images/hero-solucoes.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    align-items: center;
    display: flex;
    text-align: center;
    justify-content: center;
    color: #ffffff;
  }
  .hero-section h1{
    font-weight: 700;
    font-size: 4.5vw;
    margin: 0;
  }

  .hero-section h2{
    font-size: 1.2em;
  }
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15); /* camada preta com 50% opacidade */
    z-index: 1;
  }

  .wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    opacity: 0.9;
    line-height: 0;
  }
  
  .wave-bottom svg {
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-section-title{
    display: flex;
    text-align: center;
    justify-content: center;
  }
  .hero-section-subtitle{
    display: flex;
    text-align: center;
    justify-content: center;
  }

  .overlay-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    max-width: 80%;
    height: auto;
  }

/* Carrossel Grid */
  .solucoes-grid {
    display: grid;
    justify-items: center;
    grid-template-columns: repeat(3,  1fr);
    gap: 45px; /* Mantendo o espaçamento entre os cards */
    padding: 20px;
    background-color: #fff;
    grid-row-gap: 40px;
    margin-bottom: 40px; /* Espaçamento entre grids */
  }
  
  
  
  .solucao-card {
    background: #2a2a2a; /* cinza escuro como base */
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    margin-bottom: 20px;
    position: relative;
  }
  

.solucao-card:hover {
  transform: translateY(-5px);
}


  .solucao-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .solucao-card h2 {
    font-size: auto;
    margin: 15px 0 10px;
    color: #ff1b1c;
  }
  
  .solucao-card p {
    text-align: justify;
    padding: 0 25px 15px;
    color: #d1d1d1;
  }
  
  .icone i{
    color: #ff1b1c;
    font-size: 1.4rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s;
  }


  

  @media (max-width: 1024px) {
    .solucoes-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .solucoes-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .carousel-section {
    width: 100%;
    background-color: #fff;
    padding: 40px 0;
  }
  
  .custom-carousel {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .carousel-wrapper {
    overflow: hidden;
    width: 100%;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-card {
    position: relative;
    flex: 0 0 50%;
    height: 500px;
    margin: 0 10px;
    border-radius: 20px;
    overflow: hidden;
  }
  
  .carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
    transition: transform 0.3s ease;
  }
  
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
  }
  
  .card-overlay h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  .card-overlay p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .card-overlay button {
    background-color: red;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00000000;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
  }
  
  .carousel-arrow.left {
    left: 10px;
  }
  
  .carousel-arrow.right {
    right: 10px;
  }
  
  .carousel-dots {
    text-align: center;
    margin-top: 15px;
  }
  
  .carousel-dots button {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
  }
  
  .carousel-dots button.active {
    background: #007bff;
  }
  