/** Pagina de jurados */

/* Reset e configurações globais */
* {
  box-sizing: border-box;
}

.jurado-image {
  width: 100%;
  height: 350px;
  /* ou o tamanho desejado */
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  /* opcional, para estética */
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ========================================
   ESTILOS MODERNOS PARA PÁGINA DE JURADOS
   ======================================== */

/* Seção Principal */
.team {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(161, 64, 214, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(161, 64, 214, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Títulos e Seções */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #333 0%, rgb(161, 64, 214) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title .lead {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title .highlight {
  font-size: 1.1rem;
  color: rgb(161, 64, 214);
  font-weight: 600;
}

/* Seção de Presidentes */
.presidentes-section {
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.section-subtitle h3 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, rgb(161, 64, 214) 0%, #6f42c1 100%);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.title-underline::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 8px;
  background: rgb(161, 64, 214);
  border-radius: 50%;
}

/* Cards dos Presidentes */
.presidente-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  border: 2px solid transparent;
}

.presidente-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(161, 64, 214) 0%, #6f42c1 100%);
  border-radius: 25px;
  padding: 2px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.presidente-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(161, 64, 214, 0.3);
}

.presidente-card:hover::before {
  opacity: 1;
}

.presidente-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgb(161, 64, 214) 0%, #6f42c1 100%);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 15px rgba(161, 64, 214, 0.4);
}

.presidente-badge i {
  font-size: 1rem;
}

.presidente-image {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.presidente-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.presidente-card:hover .presidente-image img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presidente-card:hover .image-overlay {
  opacity: 1;
}

.overlay-content i {
  font-size: 3rem;
  color: white;
  animation: pulse 2s infinite;
}

.presidente-info {
  padding: 30px;
  text-align: center;
}

.presidente-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.presidente-cargo {
  font-size: 1rem;
  color: rgb(161, 64, 214);
  font-weight: 600;
  margin-bottom: 8px;
}

.presidente-empresa {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 15px;
}

.presidente-descricao {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
}

/* Divisor */
.divisor-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
  gap: 20px;
}

.divisor-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgb(161, 64, 214) 50%, transparent 100%);
  max-width: 200px;
}

.divisor-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(161, 64, 214) 0%, #6f42c1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(161, 64, 214, 0.3);
}

/* Seção de Jurados */
.jurados-section {
  position: relative;
  z-index: 2;
}

.jurados-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

/* Estatísticas */
.jurados-stats {
  margin: 40px 0;
}

.stats-card {
  display: inline-block;
  background: white;
  padding: 30px 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid rgb(161, 64, 214);
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(161, 64, 214, 0.1), transparent);
  transition: left 0.6s;
}

.stats-card:hover::before {
  left: 100%;
}

.stats-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgb(161, 64, 214);
  line-height: 1;
  margin-bottom: 10px;
}

.stats-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cards dos Jurados */
.jurados-grid {
  margin-top: 40px;
}

.jurado-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid #eee;
  position: relative;
}

.jurado-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, rgb(161, 64, 214) 0%, #6f42c1 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.jurado-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(161, 64, 214, 0.15);
}

.jurado-card:hover::before {
  transform: scaleX(1);
}

.jurado-image-container {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.jurado-card:hover .jurado-image {
  transform: scale(1.05);
}

.jurado-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(161, 64, 214, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
  display: flex;
  align-items: flex-end;
}

.jurado-card:hover .jurado-overlay {
  opacity: 1;
}

.jurado-overlay-content {
  color: white;
  text-align: left;
}

.jurado-overlay .jurado-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.jurado-overlay .jurado-cargo {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 3px;
}

.jurado-overlay .jurado-empresa {
  font-size: 0.9rem;
  opacity: 0.8;
}

.jurado-info {
  padding: 25px;
  position: relative;
}

.jurado-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.jurado-position,
.jurado-company {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #666;
}

.jurado-position i,
.jurado-company i {
  color: rgb(161, 64, 214);
  font-size: 1rem;
}

.jurado-bio {
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid rgb(161, 64, 214);
}

.jurado-bio p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.jurado-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.badge-text {
  background: linear-gradient(135deg, rgb(161, 64, 214) 0%, #6f42c1 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animações */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.presidente-card,
.jurado-card {
  animation: fadeInUp 0.6s ease forwards;
}

.presidente-card:nth-child(2) {
  animation-delay: 0.1s;
}

.presidente-card:nth-child(3) {
  animation-delay: 0.2s;
}

.jurado-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.jurado-card:nth-child(even) {
  animation-delay: 0.2s;
}

/* Responsividade */
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 2.5rem;
  }

  .presidentes-title,
  .jurados-title {
    font-size: 2rem;
  }

  .presidente-image {
    height: 300px;
  }

  .jurado-image-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .team {
    padding: 100px 0 60px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .presidentes-title,
  .jurados-title {
    font-size: 1.8rem;
  }

  .section-title .lead {
    font-size: 1.1rem;
  }

  .presidente-info,
  .jurado-info {
    padding: 20px;
  }

  .presidente-image {
    height: 280px;
  }

  .jurado-image-container {
    height: 320px;
  }

  .stats-card {
    padding: 25px 35px;
  }

  .stats-number {
    font-size: 2.5rem;
  }

  .divisor-section {
    margin: 40px 0;
  }

  .divisor-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {

  .presidente-card,
  .jurado-card {
    margin-bottom: 30px;
  }

  .presidente-image {
    height: 250px;
  }

  .jurado-image-container {
    height: 300px;
  }

  .presidente-info {
    padding: 20px 15px;
  }

  .jurado-info {
    padding: 20px 15px;
  }
}

/* Estilos para o campo de busca de jurados */
.jurado-item {
  transition: all 0.4s ease;
  opacity: 1;
  transform: scale(1);
}

.jurado-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.search-jurado-container {
  max-width: 600px;
  margin: 0 auto 40px;
  padding: 0 15px;
}

.search-jurado-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.search-jurado-wrapper:focus-within {
  box-shadow: 0 6px 30px rgba(255, 193, 7, 0.3);
  transform: translateY(-2px);
}

.search-jurado-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 25px;
  font-size: 16px;
  border-radius: 50px 0 0 50px;
  background: transparent;
}

.search-jurado-input::placeholder {
  color: #999;
}

.search-jurado-btn {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  border: none;
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-jurado-btn:hover {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  transform: scale(1.05);
}

.clear-search-btn {
  background: #6c757d;
  border: none;
  color: #fff;
  padding: 15px 20px;
  border-radius: 50px;
  cursor: pointer;
  margin-left: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-search-btn:hover {
  background: #5a6268;
  transform: scale(1.05);
}

.search-result-info {
  text-align: center;
  margin: 20px 0;
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .search-jurado-container {
    margin-bottom: 30px;
  }

  .search-jurado-input {
    font-size: 14px;
    padding: 12px 20px;
  }

  .search-jurado-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .clear-search-btn {
    padding: 12px 15px;
  }
}
