/* style/about.css */

/* Variáveis de cor */
:root {
  --green-bet-primary: #C91F17;
  --green-bet-secondary: #E53935;
  --green-bet-card-bg: #D32F2F;
  --green-bet-background: #B71C1C;
  --green-bet-text-main: #FFF5E1;
  --green-bet-border: #F2B544;
  --green-bet-glow: #FFCC66;
  --green-bet-gold: #F4D34D;
  --green-bet-deep-red: #7A0E0E;
  --green-bet-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--green-bet-text-main); /* Texto principal claro para fundo escuro */
  background-color: var(--green-bet-background); /* Fundo da página */
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  padding-top: 10px; /* Pequeno espaçamento superior, body já tem padding-top */
  background-color: var(--green-bet-background);
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative; /* Ajustado para estar acima do conteúdo sem sobreposição */
  margin-bottom: 20px; /* Espaço entre imagem e texto */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente para o texto */
  border-radius: 8px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--green-bet-text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-about__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--green-bet-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  background: var(--green-bet-button-gradient);
  color: var(--green-bet-deep-red); /* Texto escuro no botão dourado */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--green-bet-gold);
  box-shadow: 0 0 15px var(--green-bet-glow);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--green-bet-glow);
}

.page-about__cta-button--large {
  padding: 20px 40px;
  font-size: 1.3rem;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--green-bet-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-about__intro-section,
.page-about__history-section,
.page-about__safety-section,
.page-about__join-section {
  padding: 60px 0;
  background-color: var(--green-bet-background);
}

.page-about__dark-section {
  background-color: var(--green-bet-primary);
  padding: 60px 0;
}

.page-about__paragraph {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--green-bet-text-main);
}

.page-about__content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.page-about__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__image-content {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border: 2px solid var(--green-bet-border);
}

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

.page-about__card {
  background-color: var(--green-bet-card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--green-bet-border);
  color: var(--green-bet-text-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about__card-title {
  font-size: 1.5rem;
  color: var(--green-bet-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-text {
  font-size: 1rem;
  color: var(--green-bet-text-main);
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border: 2px solid var(--green-bet-border);
}

.page-about__faq-section {
  padding: 60px 0;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: var(--green-bet-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--green-bet-border);
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--green-bet-gold);
  cursor: pointer;
  background-color: var(--green-bet-primary);
  border-bottom: 1px solid var(--green-bet-deep-red);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-question:hover {
  background-color: var(--green-bet-secondary);
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  margin-left: 20px;
}

.page-about__faq-answer {
  padding: 20px;
  font-size: 1.1rem;
  color: var(--green-bet-text-main);
  background-color: var(--green-bet-card-bg);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body já tem padding-top, aqui apenas pequeno ajuste */
  }

  .page-about__hero-content {
    padding: 15px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-about__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-about__cta-button,
  .page-about__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }

  .page-about__cta-button:not(:last-child) {
    margin-bottom: 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-about__intro-section,
  .page-about__history-section,
  .page-about__safety-section,
  .page-about__unique-section,
  .page-about__future-section,
  .page-about__join-section,
  .page-about__faq-section {
    padding: 40px 0;
  }

  .page-about__content-flex {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-flex--reverse {
    flex-direction: column;
  }

  .page-about__image-content,
  .page-about__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-about__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card {
    padding: 20px;
  }

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

  .page-about__paragraph,
  .page-about__card-text,
  .page-about__faq-answer {
    font-size: 1rem;
  }

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

  .page-about__faq-toggle {
    font-size: 1.3rem;
  }

  /* Ensure all containers containing images/buttons/videos are responsive */
  .page-about__hero-section,
  .page-about__intro-section .page-about__container,
  .page-about__history-section .page-about__container,
  .page-about__unique-section .page-about__container,
  .page-about__safety-section .page-about__container,
  .page-about__future-section .page-about__container,
  .page-about__join-section .page-about__container,
  .page-about__faq-section .page-about__container,
  .page-about__text-block,
  .page-about__grid,
  .page-about__card,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}