/* ============================================================
   Novidades em breve (home): dois cards discretos no topo
   ============================================================ */

.novidades-topo {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.1rem 0 0;
}
.novidades-topo + .hero-home { padding-top: 1.9rem; }

.novidade-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 0 1 375px;
  position: relative;
  min-width: 0;
  padding: .55rem .8rem .55rem .55rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(27, 28, 33, .72);
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.novidade-card:hover { transform: translateY(-1px); background: rgba(33, 34, 40, .9); }
/* Cor de destaque: cada card com a sua cor (roxo do Laboratório, rosa do Marketing) */
.nv-lab {
  border-color: rgba(167, 139, 250, .55);
  background: linear-gradient(120deg, rgba(139, 92, 246, .32), rgba(59, 130, 246, .16) 70%), rgba(27, 28, 33, .8);
  box-shadow: 0 6px 20px rgba(139, 92, 246, .18);
}
.nv-mkt {
  border-color: rgba(244, 114, 182, .55);
  background: linear-gradient(120deg, rgba(236, 72, 153, .3), rgba(251, 146, 60, .16) 70%), rgba(27, 28, 33, .8);
  box-shadow: 0 6px 20px rgba(236, 72, 153, .16);
}
.nv-lab:hover { border-color: #a78bfa; background: linear-gradient(120deg, rgba(139, 92, 246, .42), rgba(59, 130, 246, .22) 70%), rgba(27, 28, 33, .85); }
.nv-mkt:hover { border-color: #f472b6; background: linear-gradient(120deg, rgba(236, 72, 153, .4), rgba(251, 146, 60, .22) 70%), rgba(27, 28, 33, .85); }
.novidade-card:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }

.nv-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
}
.nv-ico .ico { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nv-lab .nv-ico { background: #8b5cf6; color: #fff; }
.nv-mkt .nv-ico { background: #ec4899; color: #fff; }

.nv-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.nv-titulo { font-size: .88rem; font-weight: 700; white-space: nowrap; }
.nv-titulo em {
  margin-left: .3rem;
  padding: .08rem .4rem;
  border-radius: 999px;
  font-style: normal;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.nv-lab .nv-titulo em { background: #c4b5fd; color: #2e1065; }
.nv-mkt .nv-titulo em { background: #f9a8d4; color: #500724; }
.nv-desc { font-size: .78rem; color: var(--text-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-seta { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-secondary); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.novidade-card:hover .nv-seta { transform: translateX(2px); color: var(--text); }

@media (max-width: 768px) {
  .novidades-topo { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
  .novidades-topo + .hero-home { padding-top: 1.3rem; }
  .novidade-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .3rem .45rem; padding: .55rem .6rem .5rem; }
  .nv-txt { display: contents; }
  .nv-ico { width: 26px; height: 26px; border-radius: 8px; }
  .nv-ico .ico { width: 15px; height: 15px; }
  .nv-titulo { font-size: .76rem; letter-spacing: -.01em; white-space: normal; line-height: 1.15; }
  .nv-titulo em { position: absolute; top: -.55rem; right: .5rem; margin: 0; font-size: .54rem; padding: .1rem .38rem; }
  .nv-desc { grid-column: 1 / -1; font-size: .7rem; white-space: normal; line-height: 1.3; }
  .nv-seta { display: none; }
}
