/* =========================================
   Descrição de Produto – Categoria: Automação
   Fundo: Cinza (descrição) > Laranja (para quem) > Branco (benefícios) > Cinza (características)
   ========================================= */

.produto-automacao #product-overview{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  max-width:1100px;
  margin:0 auto;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(15,23,42,.06);
}

/* Reset e bases */
.produto-automacao #product-overview ul{
  list-style:none;           /* some bullets originais */
  margin:0;
  padding:0;
}
.produto-automacao #product-overview h2{
  margin:0;
  font-size:1.35rem;
  font-weight:800;
  line-height:1.25;
}

/* ---------- DESCRIÇÃO DO PRODUTO (parágrafo inicial) ---------- */
.produto-automacao #product-overview > p:first-of-type,
.produto-automacao #product-overview > div > p:first-of-type{
  background:#4d4c4f;
  color:#fff;
  padding:26px 24px;
  font-size:1.06rem;
  line-height:1.8;
  text-align:justify;
}

/* ---------- SEÇÃO 1: PARA QUEM É INDICADA (H2 #1 + UL #1) ---------- */
.produto-automacao #product-overview h2:nth-of-type(1),
.produto-automacao #product-overview h2:nth-of-type(1) + ul{
  background:#f97316; /* laranja */
  color:#111;
}
.produto-automacao #product-overview h2:nth-of-type(1){
  padding:22px 24px 10px 24px;
 
}
.produto-automacao #product-overview h2:nth-of-type(1)+ul{
  padding:0 24px 24px 24px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
/* cards da seção 1 */
.produto-automacao #product-overview h2:nth-of-type(1)+ul li{
  background:#fff;
  color:#111;
  border:1px solid rgba(0,0,0,.08);
  border-radius:10px;
  padding:14px 16px 14px 42px;
  box-shadow:0 1px 4px rgba(0,0,0,.06);
  position:relative;
}
/* bullet limpo e alinhado */
.produto-automacao #product-overview h2:nth-of-type(1)+ul li::before{
  content:"";
  position:absolute;
  left:14px; top:16px;
  width:10px; height:10px; border-radius:999px;
  background:#000;
  opacity:.9;
}

/* ---------- SEÇÃO 2: RECURSOS E BENEFÍCIOS (H2 #2 + UL #2) ---------- */
.produto-automacao #product-overview h2:nth-of-type(2),
.produto-automacao #product-overview h2:nth-of-type(2) + ul{
  background:#fff;     /* branco */
  color:#111;
}
.produto-automacao #product-overview h2:nth-of-type(2){
  padding:22px 24px 10px 24px;
  
}
.produto-automacao #product-overview h2:nth-of-type(2)+ul{
  padding:0 24px 24px 24px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
/* cards da seção 2 (um pouco mais suaves) */
.produto-automacao #product-overview h2:nth-of-type(2)+ul li{
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:14px 16px 14px 42px;
  box-shadow:0 1px 4px rgba(0,0,0,.04);
  position:relative;
}
.produto-automacao #product-overview h2:nth-of-type(2)+ul li::before{
  content:"";
  position:absolute;
  left:14px; top:16px;
  width:10px; height:10px; border-radius:999px;
  background:#f97316;           /* ponto laranja */
}

/* ===== SEÇÃO 3: CARACTERÍSTICAS – versão com força total ===== */

/* Título (topo cinza com raio) */
.produto-automacao #product-overview h2:nth-of-type(3){
  background:#4d4c4f !important;
  color:#fff !important;
  padding:24px 24px 16px;
  margin:0;
  border-radius:12px 12px 0 0;
  font-size:1.5rem;
  font-weight:600;
}

/* Container principal - fundo cinza */
.produto-automacao #product-overview h2:nth-of-type(3) + ul{
  background:#4d4c4f !important;
  color:#fff !important;
  margin:0 !important;
  padding:20px 24px 32px !important;
  border-radius:0 0 12px 12px !important;
  position:relative !important;
  list-style:none !important;
  column-count:2 !important;
  column-gap:24px !important;
  overflow:visible !important;
  border:none !important;
  box-shadow:none !important;
}

/* FORÇA os dois cartões brancos com especificidade máxima */
.produto-automacao #product-overview h2:nth-of-type(3) + ul::before,
.produto-automacao #product-overview h2:nth-of-type(3) + ul::after{
  content:"" !important;
  position:absolute !important;
  top:16px !important; 
  bottom:16px !important;
  width:calc(50% - 12px) !important;
  background:#ffffff !important;
  background-color:#ffffff !important;
  border-radius:12px !important;
  box-shadow:0 4px 16px rgba(0,0,0,.15) !important;
  z-index:0 !important;
  pointer-events:none !important;
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}

.produto-automacao #product-overview h2:nth-of-type(3) + ul::before{ 
  left:12px !important; 
  right:auto !important;
}

.produto-automacao #product-overview h2:nth-of-type(3) + ul::after { 
  right:12px !important; 
  left:auto !important;
}

/* Força todos os itens por cima dos cartões */
.produto-automacao #product-overview h2:nth-of-type(3) + ul li{
  position:relative !important;
  z-index:1 !important;
  break-inside:avoid !important; 
  -webkit-column-break-inside:avoid !important;
  background:transparent !important;
  background-color:transparent !important;
  color:#374151 !important;
  padding:10px 14px !important;
  margin:0 8px 8px !important;
  border-bottom:1px solid #e5e7eb !important;
  border-left:none !important;
  border-right:none !important;
  border-top:none !important;
  line-height:1.4 !important; 
  font-size:.95rem !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

/* Remove borda do último item */
.produto-automacao #product-overview h2:nth-of-type(3) + ul li:last-child{ 
  border-bottom:none !important; 
}

/* Labels destacadas */
.produto-automacao #product-overview h2:nth-of-type(3) + ul li strong{
  display:inline-block !important;
  min-width:220px !important;
  color:#1f2937 !important;
  font-weight:700 !important;
  margin-right:8px !important;
  background:transparent !important;
  background-color:transparent !important;
}

/* Reset de qualquer interferência */
.produto-automacao #product-overview h2:nth-of-type(3) + ul li *{
  color:#374151 !important;
  background:transparent !important;
  background-color:transparent !important;
}

.produto-automacao #product-overview h2:nth-of-type(3) + ul li strong{
  color:#1f2937 !important;
}

/* Mobile: 1 cartão branco só */
@media (max-width:900px){
  .produto-automacao #product-overview h2:nth-of-type(3) + ul{
    column-count:1 !important;
  }
  .produto-automacao #product-overview h2:nth-of-type(3) + ul::after{ 
    display:none !important; 
  }
  .produto-automacao #product-overview h2:nth-of-type(3) + ul::before{
    left:12px !important; 
    right:12px !important; 
    width:auto !important;
  }
}

/* HACK ADICIONAL: Se ainda não funcionar, usar div fictício */
.produto-automacao #product-overview h2:nth-of-type(3) + ul {
  background-image: 
    linear-gradient(to right, 
      transparent 0%, 
      transparent 12px, 
      #ffffff 12px, 
      #ffffff calc(50% - 12px), 
      transparent calc(50% - 12px), 
      transparent calc(50% + 12px), 
      #ffffff calc(50% + 12px), 
      #ffffff calc(100% - 12px), 
      transparent calc(100% - 12px), 
      transparent 100%
    ) !important;
  background-repeat: no-repeat !important;
  background-position: 0 16px !important;
  background-size: 100% calc(100% - 32px) !important;
}