/* Estilos para a seção Sobre Nós com animações */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.value-item {
  background-color: var(--dark-secondary);
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(30, 30, 30, 0) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.value-item:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.value-item:hover .value-icon {
  transform: scale(1.2) rotate(10deg);
}

.value-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.value-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.4s ease;
}

.value-item:hover .value-title::after {
  width: 100%;
}

/* Animações específicas para cada valor */
.value-results .animated-chart {
  width: 100%;
  height: 150px;
  margin: 1.5rem 0;
  position: relative;
}

.chart-bar {
  position: absolute;
  bottom: 0;
  width: 20px;
  background-color: var(--primary-color);
  border-radius: 5px 5px 0 0;
  transition: height 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  height: 0;
}

.chart-bar:nth-child(1) {
  left: 20%;
  height: 0;
}

.chart-bar:nth-child(2) {
  left: 40%;
  height: 0;
}

.chart-bar:nth-child(3) {
  left: 60%;
  height: 0;
}

.chart-bar:nth-child(4) {
  left: 80%;
  height: 0;
}

.value-item:hover .chart-bar:nth-child(1) {
  height: 60%;
  transition-delay: 0.1s;
}

.value-item:hover .chart-bar:nth-child(2) {
  height: 80%;
  transition-delay: 0.2s;
}

.value-item:hover .chart-bar:nth-child(3) {
  height: 100%;
  transition-delay: 0.3s;
}

.value-item:hover .chart-bar:nth-child(4) {
  height: 90%;
  transition-delay: 0.4s;
}

/* Animação para inovação */
.value-innovation .tech-icons {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  gap: 1rem;
}

.tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
  transform: translateY(20px);
  opacity: 0;
}

.value-item:hover .tech-icon {
  transform: translateY(0);
  opacity: 1;
}

.value-item:hover .tech-icon:nth-child(1) {
  transition-delay: 0.1s;
}

.value-item:hover .tech-icon:nth-child(2) {
  transition-delay: 0.2s;
}

.value-item:hover .tech-icon:nth-child(3) {
  transition-delay: 0.3s;
}

.value-item:hover .tech-icon:nth-child(4) {
  transition-delay: 0.4s;
}

/* Animação para parceria */
.value-partnership .partnership-animation {
  position: relative;
  height: 100px;
  margin: 1.5rem 0;
}

.hand {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: all 0.5s ease;
}

.hand-left {
  left: 30%;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hand-right {
  right: 30%;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.value-item:hover .hand-left {
  left: 40%;
  transform: translateY(-50%) rotate(0deg);
}

.value-item:hover .hand-right {
  right: 40%;
  transform: translateY(-50%) rotate(0deg);
}

/* Responsividade */
@media screen and (max-width: 992px) {
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}
