/* ==========================================================
   NOTÍCIAS - HERO (Bloco 145)
   Padrão visual Sobrinho DEV — Font-size mínimo: 14px
   ========================================================== */

.noticias-hero {
  padding: 40px 0 50px;
  background: var(--bg, #f4f8fa);
  position: relative;
  overflow: hidden;
}

.noticias-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #7a8e99;
  margin-bottom: 35px;
}

.noticias-breadcrumb a {
  color: #55707d;
  transition: color 0.2s ease;
}

.noticias-breadcrumb a:hover {
  color: #0089a3;
}

.noticias-breadcrumb .breadcrumb-sep {
  color: #b0c2cb;
}

.noticias-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.noticias-hero-content .web-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #0089a3;
  margin-bottom: 20px;
}

.noticias-hero-content .eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00cfff;
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.6);
}

.noticias-hero-content h1 {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--navy, #0b1e2d);
  margin-bottom: 22px;
}

.noticias-hero-content h1 em {
  font-style: normal;
  color: #0099b8;
}

.noticias-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #5d7582;
  max-width: 580px;
  margin: 0;
}

/* Ilustração de código à direita */
.noticias-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.code-cards-scene {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.code-card {
  position: absolute;
  width: 250px;
  background: #ffffff;
  border: 1px solid #d3e1e6;
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 16px 36px rgba(11, 30, 45, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease;
}

.code-card-header {
  display: flex;
  justify-content: flex-end;
}

.code-card-header .card-plus {
  font-size: 16px;
  font-weight: 700;
  color: #00cfff;
  line-height: 1;
}

.code-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #0b1e2d);
  letter-spacing: -0.3px;
}

.code-card-top {
  top: 15px;
  right: 25px;
  transform: rotate(3deg);
  z-index: 1;
}

.code-card-bottom {
  bottom: 25px;
  left: 20px;
  transform: rotate(-4deg);
  z-index: 2;
  border-color: #bee5ee;
}

.code-card-bottom code {
  color: #0089a3;
}

.code-cards-micro {
  position: absolute;
  bottom: 0;
  right: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #9cb2bd;
}

@media (max-width: 900px) {
  .noticias-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .noticias-hero-content h1 {
    font-size: 38px;
  }
  .noticias-hero-desc {
    font-size: 16px;
  }
  .noticias-hero-visual {
    justify-content: flex-start;
  }
}

