.specifications-section {
  background: var(--gradiente-1);
}

.specifications-container {
  max-width: 800px;
  margin: 0 auto;

}

/* Spec Points Section */
.product-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 60px 50px;
}

.chair-container {
  position: relative;
  display: inline-block;
}

.chair-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 3 / 4;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
  display: block;
}

.spec-point {
  position: absolute;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4a5568, #2d3748);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: pulse-gray 2s infinite;
  z-index: 1000;
}

.spec-point:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, var(--azul-primario), #2d2f5a);
  animation: pulse-blue 2s infinite;
}

.spec-point::before {
  content: '+';
  color: white;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.spec-point {
  position: absolute;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4a5568, #2d3748);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: pulse-gray 2s infinite;
  z-index: 1000;
}

.spec-point:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.spec-point::before {
  content: '+';
  color: white;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.spec-point.active {
  background: linear-gradient(135deg, var(--azul-primario), #2d2f5a);
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-gray {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 85, 104, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 85, 104, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 85, 104, 0);
  }
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(58, 60, 118, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(58, 60, 118, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(58, 60, 118, 0);
  }
}

/* Posicionamento dos pontos */
.spec-point-1 {
  top: 20%;
  left: -5%;
}

.spec-point-2 {
  top: 18%;
  right: 20%;
}

.spec-point-3 {
  bottom: 20%;
  left: 5%;
}

.spec-point-4 {
  bottom: 20%;
  right: 5%;
}

/* Linhas conectoras */
.spec-line {
  position: absolute;
  background: var(--azul-primario);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
  transform-origin: 0% 50%;
  border-radius: 1px;
  transform: scaleX(0);
  height: 2px;
}

/* Cards base - compartilhado */
.spec-card {
  position: absolute;
  background: white;
  color: #2d3748;
  padding: 20px 24px; /* Aumentado de 16px 20px */
  border-radius: 12px;
  font-size: 14px;
  min-width: 240px; /* Aumentado de 200px */
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1001;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  transform: translateY(10px) scale(0.95);
}

/* Card à direita (borda azul à esquerda) */
.spec-card-right {
  border-left: 3px solid var(--azul-primario);
}

/* Card à esquerda (borda azul à direita) */
.spec-card-left {
  border-right: 3px solid var(--azul-primario);
}

.spec-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2d3748;
}

.spec-card p {
  color: #4a5568;
  line-height: 1.5;
  margin: 0;
  font-size: 14px;
}

/* Estados ativos e hover */
.spec-point:hover .spec-line,
.spec-point.active .spec-line {
  opacity: 1;
  visibility: visible;
  transform: scaleX(1);
}

.spec-point:hover .spec-card,
.spec-point.active .spec-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Configurações específicas por ponto */
.spec-point-1 .spec-line {
  width: 120px;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: 100% 50%;
}

.spec-point-1 .spec-card {
  top: -50px;
  right: 140px;
}

.spec-point-2 .spec-line {
  width: 120px;
  top: 50%;
  left: 16px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: 0% 50%;
}

.spec-point-2 .spec-card {
  top: -50px;
  left: 140px;
}

.spec-point-3 .spec-line {
  width: 120px;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: 100% 50%;
}

.spec-point-3 .spec-card {
  bottom: -50px;
  right: 140px;
}

.spec-point-4 .spec-line {
  width: 120px;
  top: 50%;
  left: 16px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: 0% 50%;
}

.spec-point-4 .spec-card {
  bottom: -50px;
  left: 140px;
}

/* Animações específicas por ponto */
.spec-point-1:hover .spec-line,
.spec-point-1.active .spec-line {
  transform: translateY(-50%) scaleX(1);
}

.spec-point-2:hover .spec-line,
.spec-point-2.active .spec-line {
  transform: translateY(-50%) scaleX(1);
}

.spec-point-3:hover .spec-line,
.spec-point-3.active .spec-line {
  transform: translateY(-50%) scaleX(1);
}

.spec-point-4:hover .spec-line,
.spec-point-4.active .spec-line {
  transform: translateY(-50%) scaleX(1);
}

/* Card mobile */
.mobile-info-card {
  display: none;
  background: white;
  border-radius: 12px;
  padding: 20px 24px; /* Aumentado para mobile também */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  border-left: 2px solid var(--azul-primario);
  z-index: 1002;
  margin: 20px;
}

.mobile-info-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2d3748;
}

.mobile-info-card p {
  color: #4a5568;
  line-height: 1.5;
  margin: 0;
  font-size: 14px;
}

.mobile-info-indicator {
  display: none;
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #718096;
}

/* Animação automática para mobile cards */
.mobile-card-1 {
  animation: mobile-cycle-active 16s infinite;
  animation-delay: 0s;
}

.mobile-card-2 {
  animation: mobile-cycle-active 16s infinite;
  animation-delay: 4s;
}

.mobile-card-3 {
  animation: mobile-cycle-active 16s infinite;
  animation-delay: 8s;
}

.mobile-card-4 {
  animation: mobile-cycle-active 16s infinite;
  animation-delay: 12s;
}

@keyframes mobile-cycle-active {
  0%, 20% {
    opacity: 1;
    visibility: visible;
  }
  25%, 100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Wrapper para mobile */
.mobile-section-wrapper {
  position: relative;
}

/* Media queries para mobile */
@media (max-width: 768px) {
  .mobile-section-wrapper .section-title {
    font-size: 32px;
  }

  .mobile-section-wrapper .section-subtitle {
    font-size: 24px;
  }

  .product-section .chair-image {
    width: 300px;
  }

  .product-section {
    min-height: 400px;
    margin: 40px 0 0 0;
    padding: 0 20px;
    flex-direction: column;
  }

  .product-section .spec-point {
    width: 28px;
    height: 28px;
  }

  .product-section .spec-point::before {
    font-size: 16px;
  }

  .product-section .spec-line {
    display: none;
  }

  .product-section .spec-card {
    display: none;
  }

  .mobile-info-card {
    display: block;
    position: static;
    margin: 20px;
    border-left: 2px solid var(--azul-primario);
  }

  .mobile-info-indicator {
    display: block;
    padding-bottom: 40px;
  }

  .mobile-section-wrapper .section-footer .section-title {
    font-size: 32px;
  }

  .mobile-section-wrapper {
    overflow: visible;
  }
}