/* Header específico para página sobre - usando header-pages.css */

.main-about-section {
  background-color: var(--color-white);
  padding: 4rem 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Container para seções secundárias */
.about-section .about-container {
  padding: 0 1rem;
}

/* Navegação de Processos */
.process-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  background-color: var(--color-white);
  color: var(--color-light-gray-secondary);
  border: 1px solid var(--color-gray-secondary);
  border-radius: 50px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.process-item {
  flex: 1;
  padding: 0.8rem 1.5rem;
  border-radius: 46px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.process-item.active {
  background-color: var(--color-green-primary);
}

.process-item span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gray-sobre);
  transition: color 0.3s ease;
}

.process-item.active span {
  color: var(--light-gray);
}

/* Conteúdo Principal */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-image {
  width: 100%;
  text-align: center;
}

.content-video video {
  width: 100%;
  height: 400px;
  border-radius: 4px;
  object-fit: cover;
  object-position: 35% 35%;
}

.content-texts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.text-titles {
  display: flex;
  flex-direction: column;
  gap: 9.5rem;
}

.text-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  width: 570px;
  margin-left: auto;
  text-align: justify;
}

.text-section h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-dark-gray);
  margin-bottom: 0;
  font-style: italic;
  text-decoration: underline;
  font-family: var(--font-inter);
}

.text-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-dark-gray);
  font-weight: 400;
  font-family: var(--font-inter);
}

/* Seções Secundárias */
.about-section {
  padding: 5rem 0;
}

.about-section:nth-child(even) {
  background-color: var(--gray);
}

/* Seção de Estatísticas */
.statistics-section {
  background-color: var(--color-green-gray);
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h2 {
  font-family: var(--font-tangerine);
  font-size: 4.35rem;
  font-weight: 700;
  color: var(--color-light-gray-tertiary);
  margin-bottom: 0.5rem;
  line-height: 1;
  text-transform: lowercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.stat-item p {
  font-family: var(--font-inter);
  font-size: 0.9rem;
  color: var(--color-light-gray-tertiary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  letter-spacing: 1px;
  margin: 0;
}

/* Animações ativadas */
.statistics-section.animate .stat-item h2 {
  opacity: 1;
  transform: translateY(0);
}

.statistics-section.animate .stat-item p {
  opacity: 1;
  transform: translateY(0);
}

/* Animação escalonada para cada item */
.statistics-section.animate .stat-item:nth-child(1) h2,
.statistics-section.animate .stat-item:nth-child(1) p {
  transition-delay: 0.1s;
}

.statistics-section.animate .stat-item:nth-child(2) h2,
.statistics-section.animate .stat-item:nth-child(2) p {
  transition-delay: 0.2s;
}

.statistics-section.animate .stat-item:nth-child(3) h2,
.statistics-section.animate .stat-item:nth-child(3) p {
  transition-delay: 0.3s;
}

.statistics-section.animate .stat-item:nth-child(4) h2,
.statistics-section.animate .stat-item:nth-child(4) p {
  transition-delay: 0.4s;
}

/* Seção Nosso Time */
.team-section {
  background-color: var(--color-white);
  padding: 3rem 0;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.team-section h2 {
  font-family: var(--font-inter);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-dark-gray);
  margin-bottom: 3rem;
  text-align: left;
}

.team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Lista de membros do time */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-member {
  cursor: pointer;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.team-member:last-child {
  border-bottom: none;
}

.team-member.active .member-name {
  color: var(--color-dark-gray);
  font-weight: 700;
}

.team-member.active .member-line {
  background-color: var(--color-dark-gray);
  height: 2px;
}

.team-member:not(.active) .member-name {
  color: var(--color-light-gray-secondary);
  font-weight: 400;
}

.team-member:not(.active) .member-line {
  background-color: var(--color-light-gray-secondary);
  height: 1px;
}

.member-name {
  font-family: var(--font-inter);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.member-line {
  width: 100%;
  transition: all 0.3s ease;
}

/* Área de exibição do membro selecionado */
.team-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.member-photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.member-info {
  text-align: center;
}

.member-info h3 {
  font-family: var(--font-inter);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark-gray);
  margin-bottom: 0.5rem;
}

.member-info p {
  font-family: var(--font-inter);
  font-size: 1rem;
  color: var(--color-light-gray-secondary);
  margin: 0;
}

/* Responsividade - Tablet */
@media (max-width: 1024px) {
  .main-content {
    width: 75%;
  }

  .content-video video {
    height: 450px;
    object-fit: cover;
    object-position: 40% 40%;
  }

  .text-paragraphs {
    width: 100%;
    max-width: 500px;
  }

  .text-titles {
    gap: 4rem;
  }

  /* Novas seções - tablet */
  .statistics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .stat-item h2 {
    font-size: 3.5rem;
  }
  
  /* Ajustar animações para tablet */
  .stat-item h2 {
    transform: translateY(20px);
  }
  
  .stat-item p {
    transform: translateY(15px);
  }

  /* Seção do time - tablet */
  .team-container {
    width: 75%;
    padding: 0 1.5rem;
  }

  .team-section h2 {
    font-size: 2.2rem;
  }

  .team-content {
    gap: 3rem;
  }

  .member-photo {
    max-width: 250px;
  }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
  .page-title-banner {
    padding: 6rem 0 1rem;
  }

  .page-title-banner h1 {
    font-size: 1.5rem;
  }

  /* Nova seção principal - responsivo */
  .main-about-section {
    padding: 2rem 0;
  }

  .about-container {
    padding: 4rem 1rem;
  }

  .process-nav {
    max-width: 350px;
    margin-bottom: 2rem;
  }

  .process-item {
    padding: 0.7rem 1rem;
  }

  .process-item span {
    font-size: 0.8rem;
  }

  .main-content {
    gap: 2rem;
    width: 75%;
    max-width: 100%;
  }

  .content-video video {
    height: 250px;
    width: 100%;
  }

  .content-texts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .text-titles,
  .text-paragraphs {
    display: contents;
  }

  .text-titles .text-section:nth-child(1) {
    order: 1;
  }

  .text-paragraphs .text-section:nth-child(1) {
    order: 2;
  }

  .text-titles .text-section:nth-child(2) {
    order: 3;
  }

  .text-paragraphs .text-section:nth-child(2) {
    order: 4;
  }

  .text-paragraphs {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .text-titles {
    gap: 2rem;
  }

  .text-section h3 {
    font-size: 0.8rem;
  }

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

  /* Novas seções - responsivo */
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item h2 {
    font-size: 3rem;
  }

  .stat-item p {
    font-size: 0.8rem;
  }
  
  /* Ajustar animações para mobile */
  .stat-item h2 {
    transform: translateY(15px);
  }
  
  .stat-item p {
    transform: translateY(10px);
  }

  /* Seção do time - mobile */
  .team-container {
    padding: 0 1rem;
  }

  .team-section {
    padding: 3rem 0;
  }

  .team-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }

  .member-photo {
    max-width: 200px;
  }

  .member-name {
    font-size: 0.9rem;
  }

  .member-info h3 {
    font-size: 1rem;
  }

  .member-info p {
    font-size: 0.8rem;
  }
}

/* Responsividade - Mobile Pequeno (450px) */
@media (max-width: 450px) {
  .page-title-banner {
    padding: 4rem 0 1rem;
  }

  .page-title-banner h1 {
    font-size: 1.3rem;
  }

  .main-about-section {
    padding: 1.5rem 0;
  }

  .about-container {
    padding: 4rem 0.8rem;
  }

  .process-nav {
    max-width: 300px;
    margin-bottom: 1.5rem;
  }

  .process-item {
    padding: 0.6rem 0.8rem;
  }

  .process-item span {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  .main-content {
    width: 100%;
    gap: 1.5rem;
  }

  .content-video video {
    height: 200px;
  }

  .content-texts {
    gap: 1rem;
  }

  .text-section h3 {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .text-section p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .about-section {
    padding: 3rem 0;
  }

  .about-section .about-container {
    padding: 0 0.8rem;
  }

  .stat-item h2 {
    font-size: 2.5rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  /* Seção do time - mobile pequeno */
  .team-container {
    width: 80%;
    padding: 0 0.8rem;
  }

  .team-section {
    padding: 2rem 0;
  }

  .team-section h2 {
    font-size: 1.5rem;
  }

  .team-content {
    gap: 1.5rem;
  }

  .member-photo {
    max-width: 145px;
  }

  .member-name {
    font-size: 0.8rem;
  }

  .member-info h3 {
    font-size: 0.9rem;
  }

  .member-info p {
    font-size: 0.75rem;
  }
}