.bg-yellow-gradient {
    background: linear-gradient(to right, #F29D00, #E0BA24);
    overflow: hidden;
}

.feature-icon {
  width: 2rem;
}

.chip {
  font-family: 'Days One';
  font-weight: 400;
  font-size: 1rem;
  color: white;
  background-color: #008D3B;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  width: fit-content;
  white-space: nowrap;
}

.feature-title {
  font-family: 'Days One';
  font-weight: 400;
  font-size: 2.5rem;
  display: flex;
  z-index: 10;
  color: white;
  margin: 0;
  @media (min-width: 1280px) {
    font-size: 3.25rem;
  }
}

.feature-cta {
  font-family: 'Days One';
  font-weight: 400;
  font-size: 1rem;
  color: white;
  img {
    width: 33px;
    height: 23px;;
    transition: width 0.2s ease-in-out;
  }
  &:hover {
    img {
      width: 33px;
    }
  }
}

.feature-card {
  background-color: #008D3B;
  width: 13rem;
  z-index: 10;
  height: 7rem;
  border-radius: 1rem;
	text-decoration: none;
  justify-content: center;
  font-family: 'Days One';
  font-weight: 400;
  padding-left: 2.5rem;;
  h3 {
    margin: 0;
    color: #FFCB00;
    font-size: 1.5rem;
    font-weight: 400;
  }
  p {
    margin: 0;
    color: white;
    font-size: 0.875rem;
  }
  transition: background 0.2s, transform 0.2s;
  &:hover {
    background: #007A2D;
    transform: scale(1.05);
  }
  svg {
    color: white;
  }
}

.cta {
  background: #008D3B1A;
  margin-top: -3.5rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  span {
    font-family: 'Archivo';
    font-weight: 500;
    font-size: 1.25rem;
    color: #222853;
  }
  a {
    font-family: 'Archivo';
    font-weight: 700;
    font-size: 1rem;
    color: white;
    background: #008D3B;
    border: none;
    border-radius: 0.5rem;
    padding: 2rem 3rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background 0.2s, transform 0.2s;
    &:hover {
      background: #007A2D;
      transform: scale(1.05);
    }
  }
}
.feature-image {
  object-fit: contain;
}
.destaque-image {
  width: 110%;
  height: 110%; 
  max-height: none;
  position: absolute;
  right: -35rem;
  bottom: -2rem; /* Ajusta posicionamento vertical */
  object-fit: contain;
  z-index: 5; /* Garante que fica atrás dos cards */

  @media (min-width: 1280px) {
    max-height: none;
    bottom: -1rem;
  }
}

@media (max-width: 768px) {
  .destaque-image {
    position: absolute !important;
    right: -18rem;
    bottom: 0;
    width: auto;
    height: 35rem;
    object-fit: contain;
    margin: 3;
    z-index: 2;
  }
}

.floating-cards {
  overflow-y: auto;
  overflow-x: visible;
  height: 10rem;
  display: flex;
  align-items: center;
  padding-left: 2rem;
  padding-right: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 0rem; /* Puxa os cards mais para baixo */
  position: relative;
  z-index: 15; /* Garante que ficam acima das imagens */
}
.floating-cards::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .cta .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .cta .container > div {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .cta a {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14rem;
    height: 7rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 1rem;
    background-color: #008D3B;
    font-family: 'Archivo';
    font-size: 1rem;
    font-weight: bold;
    flex-direction: column;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin: 1rem auto 0 auto;
  }

  .cta a:hover {
    background: #007A2D;
    transform: scale(1.05);
  }
}

@media (min-width: 1024px) {
  .floating-cards {
    margin-left: 10rem; 
      margin-top: -5rem; /* Puxa os cards mais para baixo */

  }
}

.bg-yellow-capacitacao {
  background: linear-gradient(to right, #E39400, #D6AF19); 
  overflow: hidden;
}

.btn-green {
  font-family: 'Archivo';
  font-weight: bold;
  font-size: 1rem;
  color: white;
  background-color: #008D3B;
  border: none;
  border-radius: 0.5rem;
  padding: 1rem 1rem; 
  width: fit-content; 
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}

.btn-green:hover {
  background-color: #007A2D;
  transform: scale(1.05);
}

.carrossel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 557px;
  margin-top:-30px; /* Puxa para baixo para não cortar com header */
}


.carrossel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 557px;
}

.carrossel {
  position: relative;
  background: linear-gradient(to right, #FFBC05, #FFC72E);
}

.carrossel-slide {
  display: none;
  position: absolute;
  width: 100%;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.carrossel-slide.ativo {
  display: block;
  position: relative;
  opacity: 1;
}

.carrossel-banner {
  width: 100%;
  max-width: 1319px;
  height: auto;
  max-height: 557px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.carrossel-prev,
.carrossel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 2rem; /* Reduz área clicável para evitar sobreposição */
  cursor: pointer;
  z-index: 10;
}

.carrossel-prev {
  left: 10px; /* Aumenta distância da borda esquerda */
}

.carrossel-next {
  right: 10px; /* Aumenta distância da borda direita */
}

.carrossel-prev svg,
.carrossel-next svg {
  stroke: #FFFFFF;
  width: 50px;
  height: 50px;
  filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.25));
  transition: transform 0.2s ease;
}

.carrossel-prev:hover svg,
.carrossel-next:hover svg {
  transform: scale(1.1);
}

.carrossel-indicadores {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.ativo {
  background-color: #2D1970;
}



@media (max-width: 768px) {
  .carrossel-wrapper {
    max-height: 200px;
    margin: 1rem 0 0 0; /* Mantém espaço do header no mobile */
  }

  .carrossel-banner {
    width: 100%;
    height: 200px;
    max-height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .carrossel-slide {
    position: relative;
  }

  .carrossel-prev,
  .carrossel-next {
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carrossel-prev {
    left: 10px;
  }

  .carrossel-next {
    right: 10px;
  }

  .carrossel-prev svg,
  .carrossel-next svg {
    width: 24px;
    height: 24px;
    stroke: #FFFFFF;
  }

  .carrossel-indicadores {
    bottom: 15px;
    gap: 6px;
  }

  .dot {
    height: 10px;
    width: 10px;
  }
}

/* Media query para dispositivos muito pequenos */
@media (max-width: 480px) {
  .carrossel-wrapper {
    max-height: 180px;
  }

  .carrossel-banner {
    height: 200px;
    max-height: 200px;
  }

  .carrossel-prev,
  .carrossel-next {
    width: 40px;
    height: 40px;
    padding: 0.4rem;
  }

  .carrossel-prev svg,
  .carrossel-next svg {
    width: 20px;
    height: 20px;
  }

  .carrossel-indicadores {
    bottom: 12px;
    gap: 4px;
  }

  .dot {
    height: 8px;
    width: 8px;
  }
}
