/* Resets básicos para o teste local */
h1, h2, h3, a, p {
    font-family: Flama, Roboto, sans-serif !important;
}
  
  /* Estilização da Section */
  .magnitude-section {
    background-color: #11223f; 
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0); 
    background-size: 24px 24px;
    color: #ffffff;
    padding: 80px 20px;
    margin-top: -20px;
    width: 100%;
  }
  
  .magnitude-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Badge Superior */
  .magnitude-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .badge-line {
    display: inline-block;
    width: .5rem;
    height: 3.5rem;
    background-color:rgb(41 125 109);
    border-radius: 9999px;
  }
  
  .badge-text {
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 2px;
    background-color: rgb(255 255 255 / 0.2);
    margin-left: 10px;
  }
  
  /* Conteúdo Principal (Título + Texto/Botão) */
  .magnitude-main-content {
    
    flex-direction: column;
    gap: 30px;
    max-width: 1100px;
  }
  
  .magnitude-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
  }
  
 .highlight-text {
  background: linear-gradient(to right, #cca353 0%, #e0c68b 80%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
  
  .magnitude-description-wrapper {
    display: flex;
    flex-direction: column;  
    align-items: flex-start;
    gap: 20px;
  }
  
  
  .magnitude-description {
    color: rgb(174 207 230);
    font-size: 1.25rem;
    line-height: 1.75rem;
    max-width: 42rem;
    margin-top: 20px;
    font-weight: 300;
  }
  
  /* Botão Saiba Mais */
  .magnitude-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
.magnitude-btn svg {
  width: 15px;
}
  
  .magnitude-btn:hover {
    background-color: #ffffff;
    color: #11223f;
  }
  
  /* Divisor */
  .magnitude-divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 50px 0;
  }
  
  /* Grid de Estatísticas (Responsivo) */
  .magnitude-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
    margin: 0 auto;
  }
  
  .stat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-card svg {
    width: 2rem;
    height: 2rem;
    margin-bottom: 8px;
  }
  

  .stat-number {
    position: relative;
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    cursor: pointer;
}

.stat-number::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background-color: rgb(204 177 70);
    transition: width 0.3s ease;
    border-radius: 9999px;
}

.stat-number:hover::before {
    width: 50%;
}
.stat-icon svg {
    opacity: 0.45;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .stat-card:hover .stat-icon i,
  .stat-card:hover .stat-icon svg {
    opacity: 1;
    transform: scale(1.08);
  }
  
  .stat-label {
    font-size: .875rem;
    line-height: 1.25rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 18px;
  }
  
  .stat-sublabel {
    color: rgb(174 207 230);
    font-weight: 400;
    font-size: 10px;
  }
  
 /* Desktop */
 @media (min-width: 992px) {
    .magnitude-main-content {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      width: 100%; 
    }
  
    .magnitude-title, .events-section-title  {
        font-size: 3.75rem;
        line-height: 1;
        letter-spacing: -.05em;
        font-weight: 900;
    }

    @media (min-width: 992px) {
        .magnitude-stats-grid {
          grid-template-columns: repeat(5, 1fr); 
        }
      }
  
    .magnitude-description-wrapper {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
      flex-shrink: 0;
    }
  
    .magnitude-btn {
      align-self: flex-end;
      margin-top: -40px;
      margin-right: 50px;
    }
  }

  @media (max-width: 900px){
    .stat-number{
       font-size: 2rem;
    }

  }

  @media (max-width: 500px) {
    .magnitude-title {
        font-size: 1.8rem;
      }
      .magnitude-header {
        margin: 0 auto;
      }
}

.magnitude-header {
    display: flex;
    flex-direction: column;
  }
  
  
  /* Mobile: ordem natural já é correta — título → descrição → botão */
  @media (max-width: 990px) {
    .magnitude-btn {
      align-self: flex-start; 
      margin-top: 16px;
      margin-top: 30px;
    }
  }

  /* Seção Geral de Eventos */
.events-section {
    background-color: #f7fafc; 
    color: #1a2a40; 
    padding: 80px 20px;
    width: 100%;
  }
  
  .events-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Badge Superior */
  .events-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .events-badge-line {
    display: inline-block;
    width: .5rem;
    height: 3.5rem;
    background-color: rgb(204 177 70);
    border-radius: 9999px;
  }
  
  .events-badge-text {
    font-size: .75rem;
    line-height: 1rem;
    letter-spacing: 2px;
    font-weight: 800;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 4px 12px;
    border-radius: 2px;
    background-color: #1e32500d;
    color: rgb(30 50 80);
    margin-left: 10px;
  }
  
  /* Cabeçalho da página */ 
  .events-section-title {
    margin-bottom: 20px;
    background: linear-gradient(90deg, #1E3250 0%, #4C6B8B 100%);
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
	  width: 80%;
	      padding-bottom: 10px;
  }
  .events-section-title span {
    background: none;
    -webkit-text-fill-color: #000;
    color: #000;
  }
  
  .events-section-description {
    color: rgb(75 85 99 / 1);
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 300;
    max-width: 42rem;
    margin-bottom: 40px;
  }
  
  /* Barra de Filtros e Botão CTA */
  .events-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  
  .events-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .tab-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a0aec0;
    cursor: pointer;
    letter-spacing: 1px;
    transition: color 0.3s ease;
  }
  
  .tab-btn.active, .tab-btn:hover {
    color: #11223f;
  }
  
  .tab-divider {
    color: #e2e8f0;
  }
  
  /* Botão Quero Aderir */
  .events-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgb(41 125 109 / 1);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 10px 12px rgb(41 125 109 / .2);
    transition: 
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  }
  
  .events-cta-btn:hover {
	color: #ffffff !important;
    background-color: rgba(41, 125, 110, 0.788);
    transform: translateY(-2px) scale(1.06);
  }
  
  .events-cta-btn svg {
    width: 14px;
    height: 14px;
  }
  
  /* Grid de Eventos */
  .events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  /* Cards de Evento */
  .event-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    border: 1px solid #edf2f7;
    cursor: pointer;
    transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  }

  .event-card:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }
  
  .event-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
  }
  
  .event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .event-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
.event-content a {
	text-decoration: none !important;
}
  
  .event-title {
    font-size: 1rem;
    font-weight: 700;
    color: #11223f;
    line-height: 1.4;
    margin-bottom: .75rem;
    min-height: 44px; 
  }
  
  /* Informações de Data/Local */
  .event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgb(107 114 128 / 1);
    font-size: .875rem;
    line-height: 1.25rem;
  }
  
  .meta-item svg {
    width: 14px;
    height: 14px;
    color: rgb(107 114 128 / 1);
  }
  
  /* Tag do Evento */
  .event-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: #a0aec0;
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: auto; 
  }
  
  /* Status da Inscrição */
  .event-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border-top: 1px solid #f7fafc;
    padding-top: 15px;
  }
  
  .event-status svg {
    width: 16px;
    height: 16px;
  }
  
  /* Cores variantes do Status */
  .event-status.open {
    color: #11223f;
  }
  .event-status.open svg {
    color: #11223f;
    fill: rgba(17, 34, 63, 0.1);
  }
  
  .event-status.waiting {
    color: #cbd5e0;
  }
  .event-status.waiting svg {
    color: #cbd5e0;
  }
  
  /* Media Queries para Telas Maiores */
  @media (min-width: 768px) {
    .events-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .events-filter-bar {
      flex-direction: row;
      align-items: center;
    }
  }
  
  @media (min-width: 1024px) {
    .events-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }