/* ==================== SEÇÕES ==================== */
#products,
#other-products {
  text-align: center;
  padding: 60px 8%;
  background-color: #fff9ea;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #1d1d1d;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: stretch;
}

/* ==================== CARD PADRÃO ==================== */
.product-card,
.product-card-grid-two,
.product-card-grid-three {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* deixa o conteúdo equilibrado */
  align-items: center;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  overflow: hidden;
  max-width: 380px;
  min-height: 620px; /* mesma altura para todos */
}

.product-card:hover,
.product-card-grid-two:hover,
.product-card-grid-three:hover {
  transform: translateY(-10px);
  border-color: #ff7b00;
  box-shadow: 0 15px 35px rgba(255, 123, 0, 0.15);
}

/* brilho suave */
.product-card::before,
.product-card-grid-two::before,
.product-card-grid-three::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 123, 0, 0.05), transparent 70%);
  z-index: 0;
}

/* ==================== TÍTULOS ==================== */
.product-card h3,
.product-card-grid-two h3,
.product-card-grid-three h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================== BARRA LARANJA ==================== */
.request,
.request-grid-two,
.request-grid-three {
  background-color: #ff7b00;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  width: 90%;
  margin: 0 auto 1rem;
  z-index: 2;
  position: relative;
  box-shadow: 0 3px 8px rgba(255, 123, 0, 0.4);
  text-transform: uppercase;
}

.request-text {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.5px;
}

/* ==================== IMAGENS ==================== */
.product-card img,
.product-card-grid-two img,
.product-card-grid-three img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
  margin: 1rem auto;
  transition: transform 0.5s ease;
  z-index: 2;
  position: relative;
  object-fit: contain;
}

.product-card:hover img,
.product-card-grid-two:hover img,
.product-card-grid-three:hover img {
  transform: scale(1.08);
}

/* ==================== DESCRIÇÃO ==================== */
.information-cable,
.information-cable-grid-two,
.information-cable-grid-three {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 0 10px;
  margin-bottom: auto;
  flex-grow: 1; /* ocupa o espaço necessário e alinha automaticamente */
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* ==================== BOTÕES ==================== */
.btn-default-products,
.btn-default-products-grid-two,
.btn-default-products-grid-three {
  text-decoration: none;
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff7b00;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  gap: 8px;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 14px rgba(255, 123, 0, 0.3);
  margin-top: 1.5rem;
}

.btn-default-products:hover,
.btn-default-products-grid-two:hover,
.btn-default-products-grid-three:hover {
  background-color: #e96a00;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(255, 123, 0, 0.4);
}

.btn-default-products i,
.btn-default-products-grid-two i,
.btn-default-products-grid-three i {
  font-size: 1.2rem;
}

/* ==================== TAMANHO DAS IMAGENS ==================== */
.amostras {
  width: 15rem;
}

.amostras-armacao {
  width: 8rem;
}

.amostras-conector {
  width: 10rem;
}

.amostras-duto {
  width: 10rem;
  margin-top: 40px;
}

.amostras-armacao-roldana {
  width: 8rem;
  margin-top: 30px;
}

.amostras-terminais {
  width: 10rem;
  margin-top: 30px;
}

.quadruplex {
  width: 23rem;
  height: auto;
  border-radius: 12px;
}

/* ==================== RESPONSIVIDADE ==================== */
@media screen and (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
  }

  .product-card,
  .product-card-grid-two,
  .product-card-grid-three {
    padding: 20px;
    max-width: 320px;
    min-height: 580px;
  }
}

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

  .request,
  .request-grid-two,
  .request-grid-three {
    width: 100%;
  }

  .btn-default-products,
  .btn-default-products-grid-two,
  .btn-default-products-grid-three {
    width: 100%;
  }

  .information-cable,
  .information-cable-grid-two,
  .information-cable-grid-three {
    min-height: auto;
  }
}

/* ==================== ANIMAÇÃO DE ENTRADA ==================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


