/* =============================================================================
   PRÊMIO ABRAFATI
   ============================================================================= */

/* Banner hero — 1280×468 */
#premio-banner {
  padding: 30px 0 0;
}

.premio-banner-img {
  width: 100%;
  height: 468px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.premio-banner-placeholder {
  width: 100%;
  height: 468px;
  background-color: #e6e6e6;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: #a6a6a7;
  letter-spacing: -0.32px;
}

/* Abas — SOBRE: 222px | GALERIA: 274px | altura: 66px */
#premio-tabs-nav {
  padding-top: 30px;
}

.premio-tabs-wrap {
  display: flex;
  gap: 0;
}

.premio-tab-btn {
  height: 66px;
  border: 1px solid #cbd8e5;
  background: #fff;
  color: #5a738d;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.32px;
  cursor: pointer;
  border-radius: 20px 20px 0 0;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.premio-tab-btn:first-child {
  width: 222px;
}

.premio-tab-btn:last-child {
  width: 274px;
}

.premio-tab-btn--active {
  background-color: #5a738d;
  color: #fff;
  border-color: #5a738d;
}

/* Tab hidden */
.premio-tab-hidden {
  display: none;
}

/* ── ABA SOBRE ────────────────────────────────────────── */

#premio-tab-sobre {
  padding: 0 0 60px;
}

/* Paint esquerda — dentro da seção SOBRE, sangra para fora */
.premio-paint-left {
  position: absolute;
  left: -74px;
  top: 0;
  z-index: 0;
  pointer-events: none;
}

.premio-paint-left img {
  transform: scaleX(-1);
}

/* Paint direita — dentro da seção SOBRE, próximo ao bloco de prazos */
.premio-paint-right {
  position: absolute;
  right: -100px;
  top: 500px;
  z-index: 0;
  pointer-events: none;
  transform: rotate(180deg);
}

/* Paint galeria */
.premio-galeria-paint {
  position: absolute;
  left: -74px;
  top: 80px;
  z-index: 0;
  pointer-events: none;
}

.premio-galeria-paint img {
  transform: scaleX(-1);
}

/* Caixa de conteúdo — bg #ecf1f6, border-radius 0 20px 20px 20px */
.premio-sobre-inner {
  background-color: #ecf1f6;
  border-radius: 0 20px 20px 20px;
  padding: 35px 42px 50px;
}

/* Texto do conteúdo */
.premio-sobre-content {
  color: #5a738d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.88;
  letter-spacing: -0.32px;
}

/* H2: 30px Bold #5a738d */
.premio-sobre-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: #5a738d;
  line-height: 1.88;
  letter-spacing: -0.32px;
  margin-bottom: 50px;
}

/* Parágrafo lead (1º p após h2): 23px Medium */
.premio-sobre-content h2 + p {
  font-size: 23px;
  font-weight: 500;
  color: #5a738d;
  line-height: 1.6;
  letter-spacing: -0.32px;
  margin-bottom: 50px;
}

/* Parágrafos de corpo */
.premio-sobre-content p {
  font-size: 16px;
  font-weight: 500;
  color: #5a738d;
  line-height: 1.88;
  letter-spacing: -0.32px;
  margin-bottom: 16px;
}

/* ── ABA GALERIA DE VENCEDORES ───────────────────────── */
/* O card/grid de vencedores (.premio-galeria-inner, .premio-galeria-grid,
   .premio-card*) é compartilhado com single-premios.php ("Outros
   vencedores") e vive em assets/css/components/_premio-card.css. */

#premio-tab-galeria {
  padding: 0 0 60px;
}

/* ── RESPONSIVO ──────────────────────────────────────── */

@media (max-width: 991px) {
  .premio-banner-img,
  .premio-banner-placeholder {
    height: 260px;
  }

  .premio-sobre-inner {
    border-radius: 0 0 20px 20px;
  }

  .premio-tab-btn:first-child {
    width: auto;
    padding: 0 20px;
  }

  .premio-tab-btn:last-child {
    width: auto;
    padding: 0 16px;
  }

  .premio-tab-btn {
    font-size: 13px;
    height: 52px;
  }
}

/* Ajustes específicos para notebooks (1366x768): nenhum ajuste necessário —
   banner e abas usam larguras fluídas/fixas que já cabem no .container
   travado em 1140px nessa faixa (1200–1399px). Verificado numa viewport
   1366×768. */

/* Espaçamento entre seções reduzido pela metade em notebook (1366x768) e
   telas médias (1024px–1280px). */
@media screen and (max-width: 1366px) and (max-height: 768px),
       screen and (min-width: 1024px) and (max-width: 1280px) {
  #premio-banner {
    padding-top: 15px;
  }

  #premio-tab-sobre {
    padding-bottom: 30px;
  }

  #premio-tab-galeria {
    padding-bottom: 30px;
  }
}

