/* about.css - alinhado ao card system do index */

main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.main-flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

section {
  cursor: default;
  background: var(--surface-card);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.6rem;
  flex: 1 1 320px;
  min-width: 280px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

section:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

main h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.8rem;
}

p,
li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem auto 2rem;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  max-width: 1200px;
}

.benefit-card {
  background-color: var(--surface-card);
  border-radius: 1rem;
  padding: 1.5rem 1.2rem;
  flex: 1 1 calc(25% - 1.5rem);
  min-width: 220px;
  text-align: left;
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.benefit-card::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1 1 0;
  min-width: 0;
}

.form-group label {
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.readonly-text {
  font-size: 1rem;
  padding: 0.6rem 1rem;
  background: var(--surface-card-alt);
  border: 1px solid var(--line-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  min-height: 40px;
  line-height: 1.3;
  user-select: text;
  margin-top: 0;
  width: 100%;
}

.contact-actions {
  margin-top: 0.4rem;
}

.contact-support-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: var(--text-on-accent);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-support-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-gradient-hover);
  box-shadow: 0 16px 34px rgba(0, 113, 227, 0.28);
}

#faq {
  margin-top: 3rem;
}

details {
  user-select: none;
  margin-bottom: 1rem;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 0;
  background-color: var(--surface-card-alt);
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

details:hover {
  background-color: var(--surface-soft);
}

details[open] {
  box-shadow: var(--shadow-soft);
}

summary {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  outline: none;
  color: var(--text-primary);
}

summary::-webkit-details-marker {
  display: none;
}

.content {
  padding: 0 1.25rem 1rem;
  cursor: pointer;
}

details p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  main {
    padding: 0 0.85rem;
    margin-bottom: 2rem;
  }

  .main-flex-container {
    flex-direction: column;
    gap: 1rem;
  }

  section {
    min-width: 0;
    padding: 1.1rem 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }

  main h2 {
    font-size: 1.35rem;
  }

  .benefits {
    gap: 0.9rem;
    margin-top: 2rem;
  }

  .benefit-card {
    flex: 1 1 100%;
    min-width: 0;
    padding: 1.1rem 1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0.7rem;
  }

  .contact-support-cta {
    width: 100%;
  }
}
