/* ==========================================================================
   vencedores.css — Página pública de vencedores da premiação
   Carregado apenas por /vencedores.php.
   ========================================================================== */

.venc-page {
  --venc-verde-escuro:   #1E3425;
  --venc-verde-profundo: #142219;
  --venc-verde-medio:    #97A327;
  --venc-limao:          #CDDE00;
  --venc-ouro:           #C8960C;
  --venc-ouro-claro:     #E3BE63;
  --venc-creme:          #F7F6F0;
  --venc-card:           #FDFCF7;
  --venc-borda:          #E8E4D6;
  --venc-texto:          #2C3A30;
  --venc-texto-suave:    #6C8070;
}

/* Seleção de texto personalizada */
::selection {
  background: rgba(205, 222, 0, 0.35);
  color: #1E3425;
}

/* Fundo creme para todo o corpo da página */
body { background: #F7F6F0; }

/* ==========================================================================
   HERO — ocupa 100% da largura, conteúdo contido pelo .container Bootstrap
   ========================================================================== */
.venc-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 4.5rem;
  padding-bottom: 4rem;
  background:
    radial-gradient(120% 140% at 82% 8%, #2A4632 0%, rgba(42,70,50,0) 58%),
    linear-gradient(160deg, #1E3425 0%, #142219 100%);
  color: #fff;
}

/* Anéis decorativos */
.venc-hero::before,
.venc-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(227,190,99,.22);
  pointer-events: none;
}
.venc-hero::before {
  width: 460px; height: 460px;
  top: -190px; right: -110px;
}
.venc-hero::after {
  width: 700px; height: 700px;
  top: -300px; right: -230px;
  border-color: rgba(227,190,99,.12);
}

.venc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.venc-kicker {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #E3BE63;
  margin-bottom: 1.1rem;
}

.venc-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.02;
  font-weight: 500;
  margin: 0 0 1.4rem;
  color: #fff !important; /* sobrescreve --bs-heading-color do tema */
}
.venc-hero-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: #E3BE63;
}

.venc-hero-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.4rem;
  max-width: 30rem;
}

/* Estatísticas */
.venc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.75rem;
}
.venc-stat-valor {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.venc-stat-label {
  display: block;
  margin-top: .45rem;
  font-size: .72rem;
  color: rgba(255,255,255,.62);
}

/* ==========================================================================
   CORPO — padding vertical para separar do hero e do footer
   ========================================================================== */
.venc-body {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

/* ==========================================================================
   ABAS POR EDIÇÃO
   ========================================================================== */
.venc-tabs {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 2.5rem;
  padding: .4rem;
  background: #fff;
  border: 1px solid rgba(232,228,214,.9);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(20,34,25,.12);
}

.venc-tab {
  position: relative;
  border: none;
  background: transparent;
  color: #6C8070;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1;
  padding: .62rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.venc-tab:hover {
  background: #F2F0E6;
  color: #1E3425;
}
.venc-tab.active {
  background: #1E3425;
  color: #fff;
}
.venc-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .42rem;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #E3BE63;
}
.venc-tab:focus-visible {
  outline: 2px solid #C8960C;
  outline-offset: 2px;
}

/* ==========================================================================
   SEÇÃO DE EDIÇÃO
   ========================================================================== */
.venc-edicao { padding-top: 1rem; }
.venc-edicao[hidden] { display: none; }

.venc-edicao-tag {
  display: inline-block;
  background: #1E3425;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 20px;
  margin-bottom: .9rem;
}

.venc-edicao-titulo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 500;
  color: #1E3425;
  margin: 0 0 .4rem;
}

.venc-edicao-sub {
  font-size: .92rem;
  color: #6C8070;
  margin-bottom: 2rem;
}

/* ==========================================================================
   CARD DO VENCEDOR
   ========================================================================== */
.venc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FDFCF7;
  border: 1px solid #E8E4D6;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.venc-card:hover {
  transform: translateY(-3px);
  border-color: #E3BE63;
  box-shadow: 0 14px 30px rgba(30,52,37,.10);
}

.venc-card-faixa {
  padding: .6rem 1.1rem;
  background: #FBF6E7;
  border-bottom: 1px solid #EFE3C4;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8A6608;
}

.venc-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.venc-card-link:hover { color: inherit; }

.venc-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #EDEBE2;
  overflow: hidden;
}
.venc-card-capa {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.venc-card-logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #fff;
}
.venc-card-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.venc-card-inicial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  color: #1E3425;
  opacity: .35;
}

.venc-card-body {
  padding: 1.15rem 1.1rem 1.25rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.venc-card-nome {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.32;
  color: #1E3425;
  margin: 0;
}

.venc-card-local {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: #6C8070;
  margin: 0;
}

.venc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 34px;
}
.venc-chip-eixo {
  display: inline-block;
  background: #EEF3CC;
  color: #5C6318;
  font-size: .72rem;
  font-weight: 600;
  padding: .28rem .7rem;
  border-radius: 20px;
  line-height: 1.35;
}
.venc-ods img {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  display: block;
}

.venc-card-frase {
  margin: 0;
  padding-left: .75rem;
  border-left: 3px solid #97A327;
  font-size: .85rem;
  font-style: italic;
  line-height: 1.55;
  color: #55635A;
}

.venc-card-rodape {
  padding: 0 1.1rem 1.15rem;
}
.venc-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: .55rem 1rem;
  border: 1px solid #1E3425;
  border-radius: 24px;
  background: transparent;
  color: #1E3425;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
.venc-btn:hover {
  background: #1E3425;
  color: #fff;
}

/* ==========================================================================
   ESTADO VAZIO / CTA FINAL
   ========================================================================== */
.venc-vazio {
  text-align: center;
  padding: 4rem 1rem;
}
.venc-vazio h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: #1E3425;
  margin-bottom: .6rem;
}
.venc-vazio p { color: #6C8070; }

.venc-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #E8E4D6;
}
.venc-cta p {
  color: #6C8070;
  margin-bottom: .9rem;
}
.venc-cta-btn {
  display: inline-block;
  background: #1E3425;
  color: #CDDE00;
  font-weight: 700;
  font-size: .92rem;
  padding: .7rem 1.8rem;
  border-radius: 26px;
  text-decoration: none;
  transition: background .16s ease;
}
.venc-cta-btn:hover {
  background: #142219;
  color: #CDDE00;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 767.98px) {
  .venc-hero { padding-top: 3rem; padding-bottom: 2.75rem; }
  .venc-stats { gap: 1.75rem; }
  .venc-stat-valor { font-size: 1.6rem; }
  .venc-hero::before { width: 300px; height: 300px; top: -140px; right: -90px; }
  .venc-hero::after  { display: none; }
}
