/* ===== Fechamento da home (como trabalhamos, FAQ e chamada final) ===== */
.fin { position: relative; padding: 110px 0; overflow-x: clip; }
.fin::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--frame); border-left: 1px solid var(--line); pointer-events: none; }
.fin--how { background: #fff; }
.fin--faq { background: #f8f9fc; }
.fin--cta { background: #fff; padding-bottom: 96px; }
.fin__inner { position: relative; padding: 0 var(--frame) 0 calc(var(--frame) + 14px); max-width: 1440px; margin: 0 auto; }

.fin__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.fin__eyebrow i { width: 8px; height: 8px; border-radius: 2px; background: var(--brand-500); }
.fin__eyebrow--dark { color: #b9bdf0; }
.fin__eyebrow--dark i { background: var(--brand-400); }
.fin__title { max-width: 980px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: -.025em; font-weight: 400; color: var(--ink-2); }
.fin__strong { color: var(--ink); }
.fin__title--dark { max-width: 780px; color: #8f95c9; }
.fin__title--dark .fin__strong { color: #fff; }
.fin__w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.fin__w > span { display: inline-block; }

/* Como trabalhamos: trilho */
.fin__track { position: relative; margin-top: 64px; }
.fin__rail { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.fin__rail i { position: absolute; inset: 0; background: var(--brand-500); transform: scaleX(0); transform-origin: 0 50%; }
.fin__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fin__steps li { position: relative; padding-top: 40px; }
.fin__dot { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #cfd3df; transition: box-shadow .4s, background .4s; }
.fin__steps li.is-on .fin__dot { background: var(--brand-500); box-shadow: inset 0 0 0 1.5px var(--brand-500), 0 0 0 5px var(--brand-100); }
.fin__n { display: block; margin-bottom: 14px; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .06em; color: var(--muted); transition: color .4s; }
.fin__steps li.is-on .fin__n { color: var(--brand-500); }
.fin__steps h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -.02em; font-weight: 400; color: var(--ink); }
.fin__steps p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* FAQ */
.fin__faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.fin__faq-head { position: sticky; top: 110px; }
.fin__ask { margin-top: 32px; }
.fin__list { border-top: 1px solid var(--line); }
.fin__list details { border-bottom: 1px solid var(--line); }
.fin__list summary { position: relative; list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 18px; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); transition: color .2s; }
.fin__list summary::-webkit-details-marker { display: none; }
.fin__list summary:hover { color: var(--brand-500); }
.fin__list summary::before, .fin__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.6px; background: currentColor; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.fin__list summary::after { transform: rotate(90deg); }
.fin__list details[open] summary::after { transform: rotate(0); }
.fin__list details > div { overflow: hidden; }
.fin__list p { padding: 0 48px 26px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

/* Chamada final */
.fin__box { position: relative; overflow: hidden; isolation: isolate; padding: 88px 56px 68px; border-radius: 10px; background: #0b1033; }
.fin__ribbon { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fin__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fin__btn { background: #fff; color: var(--brand-600); }
.fin__btn:hover { background: var(--brand-50); }
.fin__ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.fin__ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.fin__box small { display: block; margin-top: 18px; font-size: 13px; color: #8f95c9; }

@media (max-width: 960px) {
  .fin__steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .fin__rail { display: none; }
  .fin__faq { grid-template-columns: 1fr; gap: 32px; }
  .fin__faq-head { position: static; }
}
@media (max-width: 760px) {
  .fin { padding: 72px 0; }
  .fin::before { display: none; }
  .fin__inner { padding: 0 16px; }
  .fin__eyebrow { margin-bottom: 18px; }
  .fin__title { font-size: 27px; line-height: 1.16; }
  .fin__track { margin-top: 36px; }
  .fin__steps { grid-template-columns: 1fr; row-gap: 36px; }
  .fin__steps li { padding: 0 0 0 34px; }
  .fin__dot { top: 3px; }
  .fin__ask { margin-top: 22px; }
  .fin__list summary { font-size: 16.5px; padding: 20px 40px 20px 0; }
  .fin__list p { padding-right: 0; }
  .fin--cta { padding: 24px 0 64px; }
  .fin__box { padding: 120px 20px 40px; }
  .fin__actions .btn { width: 100%; }
}
