/* ===== Sessão Patrocinadores 2026 ===== */
.patrocinadores-2026 {
  background: #fafafa;
  padding: 60px 20px;
  text-align: center;
}

.patrocinadores-2026 .section-title {
  margin-bottom: 40px;
  color: #111;
  font-size: 2rem;
  font-weight: 700;
}

.categorias-patrocinio {
  max-width: 1140px;
  margin: 0 auto;
}

.patrocinadores-2026 .categoria {
  margin-bottom: 48px;
}

.patrocinadores-2026 .categoria-titulo {
  display: inline-block;
  margin: 0 0 30px;
  padding: 10px 25px;
  border-radius: 30px;
  color: #000;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.patrocinadores-2026 .categoria-titulo.esmeralda {
  background: #50c878;
  color: #fff;
}

.patrocinadores-2026 .categoria-titulo.ouro {
  background: #ffd700;
}

.patrocinadores-2026 .categoria-titulo.prata {
  background: #c0c0c0;
}

.patrocinadores-2026 .categoria-titulo.bronze {
  background: #cd7f32;
  color: #fff;
}

.patrocinadores-2026 .logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.logo-patrocinador {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 120px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
  box-sizing: border-box;
}

.patrocinadores-2026 .logo-patrocinador img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.navbar img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 140px;
    /* Adhere to container width. */
    vertical-align: middle;
}

/* ===== Responsividade ===== */
@media (max-width: 1024px) {
  .patrocinadores-2026 .logo-patrocinador { width: 175px; height: 105px; }
  .patrocinadores-2026 .categoria-titulo { font-size: 1.4rem; padding: 10px 20px; }
}

@media (max-width: 768px) {
  .patrocinadores-2026 .logo-patrocinador { width: 145px; height: 90px; padding: 8px 10px; }
  .patrocinadores-2026 .categoria-titulo { font-size: 1.2rem; padding: 8px 16px; }
}

@media (max-width: 480px) {
  .patrocinadores-2026 .categoria-titulo { font-size: 1rem; padding: 6px 12px; }
}

/*Pop Up*/

/* Fundo do popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* Conteúdo do popup */
.popup-content {
  background: #fff;
  color: #333;
  max-width: 1000px;
  height: 500px;
  width: 90%;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: scaleIn 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Botão de fechar */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #ff4d4d;
}

.popup-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Texto e QR code */
.popup-text h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  border-bottom: 3px solid #3b5998;
  border-radius: 5px;
  padding-bottom: 10px;
  padding: 0 20px 15px 20px;
}

.popup-text p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #555;
}

.popup-qrcode {
  margin: 1rem 0;
}

.popup-qrcode img {
  width: 150px;
  height: 150px;
}

/* Botão de download */
.popup-btn {
  margin-top: 20px;
  display: inline-block;
  background: #ffb938;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.5s;
  border: 1px solid #ffa500;
}

.popup-btn:hover {
  border: 1px solid #ffa500;
  background-color: white;
  color: #ffa500;
}

/* Animação */
@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsivo */
@media (max-width: 480px) {
  .popup-content {
    padding: 1.5rem;
  }

  .popup-text h2 {
    font-size: 1.5rem;
  }

  .popup-text p {
    font-size: 0.9rem;
  }

  .popup-qrcode img {
    width: 120px;
    height: 120px;
  }

  .popup-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}





