/* ==========================================================================
   SOBRE O GATHR - DESIGN SYSTEM REBRANDED
   ========================================================================== */

:root {
  --nx-purple: #481389;
  --nx-purple-dark: #2E0854;
  --nx-purple-light: #F4EFFF;
  --nx-purple-soft: rgba(72, 19, 137, 0.05);
  --nx-purple-accent: #7B1FA2;
  --nx-gold: #FFD700;
  --nx-white: #FFFFFF;
  --nx-gray-50: #F9FAFB;
  --nx-gray-100: #F3F4F6;
  --nx-gray-200: #E5E7EB;
  --nx-gray-600: #4B5563;
  --nx-gray-800: #1F2937;
  --nx-gray-900: #111827;
}

/* Reset do padding-top do container principal para o Hero encostar no topo */
.wrapper > .main-content:has(.sobre-page-wrapper),
.main-content:has(.sobre-page-wrapper),
.wrapper > .main-content:has(.sobre-hero-section),
.main-content:has(.sobre-hero-section) {
  padding-top: 0 !important;
}

.sobre-page-wrapper {
  background: var(--nx-gray-50);
  padding-bottom: 5rem;
}

/* ==========================================================================
   1. HERO INSTITUCIONAL
   ========================================================================== */
.sobre-hero-section {
  background: linear-gradient(135deg, var(--nx-purple-dark) 0%, var(--nx-purple) 60%, var(--nx-purple-accent) 100%);
  color: var(--nx-white);
  padding: 4rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.sobre-hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(72, 19, 137, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sobre-hero-section .breadcrumb {
  font-size: 0.85rem;
}

.sobre-hero-section .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sobre-hero-section .breadcrumb a:hover {
  color: var(--nx-gold);
}

.sobre-hero-section .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.sobre-hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--nx-gold);
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.sobre-hero-title {
  font-size: 2.75rem;
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--nx-white);
}

.sobre-hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 780px;
  margin-bottom: 2rem;
}

.sobre-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sobre-hero-tag {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--nx-white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   2. SEÇÃO "O QUE É O GATHR?"
   ========================================================================== */
.sobre-intro-card {
  background: var(--nx-white);
  border-radius: 24px;
  border: 1px solid rgba(72, 19, 137, 0.08);
  box-shadow: 0 10px 30px rgba(72, 19, 137, 0.04);
  padding: 3rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.sobre-intro-card .lead-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--nx-gray-800);
}

/* ==========================================================================
   3. PROPOSTA DE VALOR (PILARES PARTICIPANTES vs ORGANIZADORES)
   ========================================================================== */
.pilar-card {
  background: var(--nx-white);
  border-radius: 20px;
  border: 1px solid rgba(72, 19, 137, 0.08);
  box-shadow: 0 6px 20px rgba(72, 19, 137, 0.03);
  padding: 2.25rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pilar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(72, 19, 137, 0.08);
}

.pilar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--nx-gray-100);
}

.pilar-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--nx-purple-soft);
  color: var(--nx-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pilar-card--organizador .pilar-icon-wrap {
  background: rgba(255, 215, 0, 0.15);
  color: #B45309;
}

.pilar-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--nx-purple-dark);
  margin: 0;
}

.pilar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pilar-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--nx-gray-800);
}

.pilar-list li i {
  color: #059669;
  margin-top: 3px;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   4. MISSÃO, VISÃO E VALORES
   ========================================================================== */
.mvv-card {
  background: var(--nx-white);
  border-radius: 20px;
  border: 1px solid rgba(72, 19, 137, 0.08);
  box-shadow: 0 6px 20px rgba(72, 19, 137, 0.03);
  padding: 2.25rem 1.75rem;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mvv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(72, 19, 137, 0.08);
}

.mvv-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--nx-purple-soft);
  color: var(--nx-purple);
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.mvv-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--nx-purple-dark);
  margin-bottom: 0.85rem;
}

.mvv-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--nx-gray-600);
  margin: 0;
}

/* ==========================================================================
   5. NOSSA HISTÓRIA (TIMELINE RESPONSIVA DE 1 COLUNA NO MOBILE)
   ========================================================================== */
.timeline-section {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Linha central no desktop */
.timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--nx-purple-light) 0%, var(--nx-purple) 50%, var(--nx-purple-dark) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  width: 50%;
  padding-right: 2.5rem;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  padding-right: 0;
  padding-left: 2.5rem;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--nx-white);
  border: 4px solid var(--nx-purple);
  box-shadow: 0 0 0 4px var(--nx-purple-light);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -10px;
}

.timeline-box {
  background: var(--nx-white);
  border-radius: 18px;
  border: 1px solid rgba(72, 19, 137, 0.08);
  box-shadow: 0 6px 20px rgba(72, 19, 137, 0.03);
  padding: 1.75rem;
}

.timeline-year-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--nx-purple);
  background: var(--nx-purple-soft);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--nx-purple-dark);
  margin-bottom: 0.5rem;
}

.timeline-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--nx-gray-600);
  margin: 0;
}

/* ==========================================================================
   6. SEÇÃO DO FUNDADOR / EQUIPE
   ========================================================================== */
.founder-card {
  background: var(--nx-white);
  border-radius: 24px;
  border: 1px solid rgba(72, 19, 137, 0.08);
  box-shadow: 0 6px 24px rgba(72, 19, 137, 0.03);
  padding: 2.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.founder-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nx-purple-dark) 0%, var(--nx-purple) 100%);
  color: var(--nx-gold);
  font-size: 2rem;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--nx-purple-light);
  box-shadow: 0 6px 16px rgba(72, 19, 137, 0.15);
  flex-shrink: 0;
}

.founder-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--nx-purple-dark);
  margin-bottom: 2px;
}

.founder-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nx-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.founder-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--nx-gray-600);
  margin: 0;
}

/* ==========================================================================
   7. CTA FINAL REBRANDED
   ========================================================================== */
.sobre-cta-card {
  background: linear-gradient(135deg, var(--nx-purple-dark) 0%, var(--nx-purple) 100%);
  border-radius: 28px;
  padding: 3.5rem 2rem;
  color: var(--nx-white);
  text-align: center;
  box-shadow: 0 15px 35px rgba(46, 8, 84, 0.2);
  position: relative;
  overflow: hidden;
}

.sobre-cta-card h2 {
  font-size: 2.2rem;
  font-weight: 850;
  color: var(--nx-white);
  margin-bottom: 0.75rem;
}

.sobre-cta-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto 2rem auto;
}

.btn-gathr-cta-primary {
  background-color: var(--nx-gold);
  color: var(--nx-purple-dark);
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.3);
}

.btn-gathr-cta-primary:hover {
  background-color: #FFE033;
  color: var(--nx-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-gathr-cta-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--nx-white);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.25s ease;
}

.btn-gathr-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--nx-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   8. RESPONSIVIDADE MOBILE
   ========================================================================== */
@media (max-width: 1200px) {
  .sobre-hero-section .breadcrumb {
    padding-left: 3.25rem;
  }
}

@media (max-width: 768px) {
  .sobre-hero-title {
    font-size: 2rem;
  }

  .sobre-hero-subtitle {
    font-size: 1rem;
  }

  .sobre-intro-card {
    padding: 1.75rem 1.25rem;
    margin-top: -1.5rem;
  }

  /* TIMELINE RESPONSIVA EM 1 COLUNA NO MOBILE */
  .timeline-section::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }

  .founder-avatar {
    margin: 0 auto 1rem auto;
  }

  .sobre-cta-card {
    padding: 2.5rem 1.25rem;
  }

  .sobre-cta-card h2 {
    font-size: 1.65rem;
  }

  .sobre-cta-card .d-flex {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-gathr-cta-primary,
  .btn-gathr-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}
