/* SynapseDev - secoes (chips, processo, faq, cta, tech, legal) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}

.chip:hover {
  border-color: rgba(14, 124, 134, 0.35);
  color: var(--accent-deep);
  box-shadow: 0 8px 20px rgba(12, 27, 42, 0.05);
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
}

.step::before {
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.15rem 1.15rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: 1.02rem;
  padding: 1rem 0;
  line-height: 1.45;
}

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

.faq details[open] summary {
  color: var(--accent-deep);
}

.faq details p {
  color: var(--muted);
  padding-bottom: 1.05rem;
  line-height: 1.75;
}

.final-cta {
  background:
    linear-gradient(160deg, rgba(14, 124, 134, 0.12), rgba(12, 27, 42, 0.04)),
    var(--white);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  max-width: 22ch;
  margin-bottom: 0.9rem;
}

.final-cta p {
  color: var(--ink-soft);
  max-width: 40rem;
  margin-bottom: 1.6rem;
  line-height: 1.8;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tech {
  padding-top: 0;
}

.tech-inner {
  display: grid;
  gap: 1.5rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 22px;
  padding: 1.8rem 1.6rem;
}

.tech-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7fd4db;
  margin-bottom: 0.55rem;
}

.tech-copy h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.tech-copy p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 38rem;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tech-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
}

.tech-code {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.72rem;
  color: #7fd4db;
}

.legal-page {
  padding: 3.5rem 0 4rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.legal-meta {
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.75rem 0 0.65rem;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  line-height: 1.8;
}

.legal-page ul {
  padding-left: 1.15rem;
  list-style: disc;
}

.legal-page a {
  color: var(--accent-deep);
  text-decoration: underline;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .tech-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 2.2rem 2rem;
  }

  .tech-list {
    justify-content: flex-end;
  }
}

@media (min-width: 1400px) {
  .steps {
    gap: 1.15rem;
  }

  .tech-inner {
    padding: 2.5rem 2.4rem;
  }
}

@media (min-width: 1680px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .step {
    padding: 1.05rem 1rem;
  }

  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-actions .btn {
    width: 100%;
    min-height: 50px;
  }
}
