/* style/about.css */
/* body j&#xE1; tem padding-top: var(--header-offset); p&#xE1;gina n&#xE3;o deve usar essa vari&#xE1;vel novamente */

/* Estilos gerais */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Cor de texto padr&#xE3;o para fundo escuro do body */
  background-color: transparent; /* O fundo do conte&#xFA;do principal ser&#xE1; tratado pelas se&#xE7;&#xF5;es */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #ffffff; /* Padr&#xE3;o para se&#xE7;&#xF5;es escuras */
}

.page-about__subsection-title {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439; /* Para se&#xE7;&#xF5;es claras */
}

.page-about__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Cores baseadas no fundo do body #1a1a2e (escuro) */
.page-about__dark-bg {
  background-color: #1a1a2e; /* Fundo escuro */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff; /* Fundo claro */
  color: #333333; /* Texto escuro para fundo claro */
}

.page-about__text-white {
  color: #ffffff;
}

/* Bot&#xF5;es */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin: 10px; /* Espa&#xE7;amento entre bot&#xF5;es */
}

.page-about__btn-primary {
  background-color: #C30808; /* Cor de Registro/Login */
  color: #FFFF00; /* Cor da fonte de Registro/Login */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #d81b1b;
  color: #ffffff;
}

.page-about__btn-secondary {
  background-color: #017439; /* Cor principal da marca */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
  background-color: #005a2b;
  color: #ffffff;
}

.page-about__btn-link {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
  padding: 8px 15px;
  font-size: 0.9rem;
}

.page-about__btn-link:hover {
  background-color: #017439;
  color: #ffffff;
}

/* Se&#xE7;&#xE3;o Hero */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  padding-top: 10px; /* Pequeno padding superior */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Sobreposi&#xE7;&#xE3;o semi-transparente para legibilidade */
  border-radius: 10px;
  max-width: 900px;
  margin: 20px;
}

.page-about__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Cor do t&#xED;tulo destacado */
}

.page-about__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

/* Miss&#xE3;o e Vis&#xE3;o / Hist&#xF3;ria / Valores */
.page-about__mission-vision .page-about__section-title,
.page-about__values .page-about__section-title {
  color: #017439; /* Texto escuro para fundo claro */
}

.page-about__history {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__content-flex .page-about__text-column {
  flex: 1;
}

.page-about__content-flex .page-about__image-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__value-description {
  font-size: 1rem;
  color: #555555;
}

/* Se&#xE7;&#xE3;o Por Que Escolher */
.page-about__why-choose .page-about__section-title {
  color: #FFFF00; /* Cor do t&#xED;tulo destacado */
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__feature-description {
  font-size: 1rem;
  color: #555555;
}

.page-about__cta-section {
  margin-top: 50px;
}

/* Se&#xE7;&#xE3;o Vis&#xE3;o Geral da Plataforma */
.page-about__platform-overview .page-about__section-title {
  color: #017439;
}

.page-about__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__card-image {
  width: 100%;
  height: 200px; /* Altura fixa para consist&#xEA;ncia */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-about__card-description {
  font-size: 0.95rem;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1; /* Permite que a descri&#xE7;&#xE3;o ocupe o espa&#xE7;o dispon&#xED;vel */
}

/* Se&#xE7;&#xE3;o Compromisso com o Brasil */
.page-about__brazil-commitment .page-about__section-title {
  color: #FFFF00;
}

/* Se&#xE7;&#xE3;o Junte-se a N&#xF3;s */
.page-about__join-us .page-about__section-title {
  color: #017439;
}

.page-about__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__step-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__step-description {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Se&#xE7;&#xE3;o FAQ */
.page-about__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__faq-section .page-about__section-title {
  color: #FFFF00;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Branco semi-transparente para fundo escuro */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ffffff;
  list-style: none; /* Para <details> summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Para <details> summary */
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFFF00;
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-about__faq-item[open] .page-about__faq-question .page-about__faq-toggle {
  content: '&#x2212;';
}

/* Links dentro do conte&#xFA;do */
.page-about a {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
}

.page-about a:hover {
  text-decoration: underline;
}

/* Ajustes responsivos */
@media (max-width: 992px) {
  .page-about__content-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-about__content-flex .page-about__text-column,
  .page-about__content-flex .page-about__image-column {
    flex: none;
    width: 100%;
  }
  .page-about__content-flex.page-about__reverse-on-mobile {
    flex-direction: column-reverse;
  }
  .page-about__hero-content {
    margin: 10px;
    padding: 30px 15px;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__subsection-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__main-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-about__subsection-title {
    font-size: 1.6rem;
  }
  .page-about__text-block {
    font-size: 1rem;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95rem;
    margin: 5px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-about__hero-section {
    min-height: 400px;
    padding-top: 10px !important; /* body j&#xE1; lida com --header-offset */
  }

  /* For&#xE7;a imagens responsivas */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__card-image {
    height: auto !important; /* Sobrescreve altura fixa para responsividade */
  }

  /* For&#xE7;a cont&#xEA;ineres responsivos para imagens/v&#xED;deos/bot&#xF5;es */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-buttons,
  .page-about__content-flex,
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__grid-cards,
  .page-about__steps-grid,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Evita rolagem horizontal */
  }
  
  /* Bot&#xF5;es dentro de cont&#xEA;ineres responsivos */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 5px 0 !important; /* Ajusta margens para bot&#xF5;es de largura total */
  }
  
  .page-about__cta-buttons {
    flex-direction: column; /* Empilha bot&#xF5;es verticalmente no celular */
    gap: 10px;
  }

  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.5rem;
  }
  .page-about__subsection-title {
    font-size: 1.4rem;
  }
  .page-about__value-card,
  .page-about__feature-card,
  .page-about__card,
  .page-about__step-card {
    padding: 20px;
  }
}