.hero .hero-container {
  gap: 2rem;
}

.hero-graphic {
  flex: 1;
  display: flex;
}

.hero-container-fixed {
  position: relative;
  width: 730px;
  height: 720px;
  transition: transform 0.3s ease;
}

.hero-card {
  position: absolute;
  width: 300px;
  cursor: pointer;
}

.hero-cards-mobile{
  display: none;
  
}

.hero-card:hover .card-content {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.ilha {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  transition: transform 0.3s ease;
}

.hero-card:hover .ilha {
  transform: translateY(-6px);
}

.ilha-1 {
  top: 0;
  left: 5px;
  max-width: 400px;
}
.ilha-2 {
  top: 42px;
  left: 48px;
  max-width: 360px;
}
.ilha-3 {
  top: -60px;
  left: -45px;
  max-width: 400px;
}

.card-content {
  background: #038175;
  border-radius: 20px;
  padding: 6rem 1.5rem 0.8rem;
  position: relative;
  z-index: 2;
  line-height: 1.5rem;
  margin-top: 150px;
}

.card-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-align: left;
}

.card-content h3 span {
  color: #99f31c;
}

.saiba-mais {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.5rem;
  color: #a6ffb9;
  text-decoration: none;
  font-weight: bold;
}

.saiba-mais .arrow {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  align-items: center;
  justify-self: center;
}

.card1 .card-content {
  z-index: 2;
  position: relative;
  left: 5px;
  border-radius: 20px;
  border: solid 4px #00fb69;
}
.card2 .card-content {
  top: -20%;
  left: 60px;
}
.card3 .card-content {
  top: -50px;
  left: 45px;
}

.card1 {
  top: 6px;
  left: 250px;
}
.card2 {
  top: 330px;
  left: 70px;
  width: 250px;
}
.card3 {
  top: 330px;
  left: 460px;
}

.card1 .card-content:hover {
  border-color: #99f31c;
}

.experience-section {
  background-color: var(--color-dark);
  padding: var(--spacing-lg) var(--spacing-sm);
}

.container-experience {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.container-experience h2 {
  text-align: center;
  font-size: var(--fs-lg);
  margin-bottom: 2rem;
  font-weight: 400;
  color: var(--color-light);
}

.container-experience h2 span {
  font-weight: 700;
}

.experience-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.experience-cards .card {
  background-color: var(--color-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.25rem;
  text-align: center;
  max-width: 400px;
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-cards .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.experience-cards .card img {
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.experience-cards .card:hover img {
  transform: scale(1.1);
}

.experience-cards h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: left;
}

.experience-cards p {
  font-size: var(--fs-sm);
  font-weight: 400;
  text-align: left;
}

.experience-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.experience-cards .card {
  max-width: 400px;
  flex: 1 1 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1200px) and (min-width: 769px) {
  .hero {
    padding: 1rem 1rem 2rem;
  }

  .hero-container-fixed {
    align-items: center;
    justify-content: center;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .hero-text {
    text-align: center;
    order: 1;
  }
  .hero-graphic {
    display: flex;
    order: 2;
    justify-content: center;

  }

  .hero-buttons {
    justify-content: center;
  }

    .hero-card { transition: transform 0.3s ease; }

    .hero-card.card1 {
      --shift1: clamp( -110px, (100vw - 1200px) * 0.333, -90px); 
      transform: translateX(var(--shift1));
    }

    .hero-card.card2 {
      --shift2: clamp(-110px, (100vw - 1200px) * 0.214, -90px);  
      transform: translateX(var(--shift2));
    }

    .hero-card.card3 {
      --shift3: clamp( -110px, (100vw - 1200px) * 0.524, -90px);
      transform: translateX(var(--shift3));
    }
  
}


@media (max-width: 768px) {
  .hero-container-fixed {
    display: none;
  }

  .hero-cards-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 4rem;
  }

  .hero-cards-mobile img {
    width: 100%;
    max-width: 350px;
    transition: transform 0.3 ease;
  }

  .hero-cards-mobile img:hover {
    transform: scale(1.05);
  }
    
  }