/* ══════════════════════════════════════════════════════════════
   sections.css — seções gerais: títulos, como funciona, recursos,
   FAQ, CTA final e páginas simples
   ══════════════════════════════════════════════════════════════ */

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
}

.section__subtitle {
  margin-top: 10px;
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
}

/* ─── Como funciona ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.step__title {
  margin-top: 18px;
  font-size: 19px;
}

.step__text {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
}

.step__text strong {
  color: var(--text);
}

/* ─── Recursos ─── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.feature__title {
  font-size: 17px;
}

.feature__text {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ─── FAQ ─── */
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 14px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.faq[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.faq p a {
  color: var(--brand);
  text-decoration: underline;
}

.faq + .faq {
  margin-top: 14px;
}

/* ─── CTA final ─── */
.cta {
  padding: 88px 0;
  text-align: center;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta__title {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
}

.cta__text {
  font-size: 17px;
  color: var(--text-muted);
}

/* ─── Páginas simples (termos/privacidade) ─── */
.simple-page {
  min-height: 70vh;
  padding: 80px 0;
}

.simple-page__title {
  font-size: 32px;
  font-weight: 800;
}

.simple-page h2 {
  margin-top: 32px;
  font-size: 20px;
}

.simple-page p,
.simple-page li {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

.simple-page ul {
  padding-left: 22px;
}

.simple-page a {
  color: var(--brand);
  text-decoration: underline;
}
