/* ==========================================================================
   Home — como funciona, diferenciais, setores, depoimentos, FAQ e CTA
   ========================================================================== */

/* --------------------------------------------------------------------------
   Como funciona
   -------------------------------------------------------------------------- */

.steps-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(720px 380px at 50% 0%, rgba(91, 147, 255, 0.05), transparent 70%);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 34px;
  right: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
  pointer-events: none;
}

.step {
  position: relative;
  padding: 0 20px 0 0;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--ink-1);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-bright);
  box-shadow: 0 0 0 9px var(--ink-0);
}

.step h3 {
  font-size: 1.18rem;
}

.step p {
  margin-top: 9px;
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.step__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.step__meta svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.support-band {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding: 18px 22px;
  border: 1px solid rgba(52, 211, 153, 0.18);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(52, 211, 153, 0.06), rgba(255, 255, 255, 0.012));
}

.support-band__text {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.support-band__text strong {
  font-weight: 600;
  color: var(--text);
}

.support-band .link-arrow {
  margin-left: auto;
  font-size: 0.8rem;
  color: #6ee7b7;
}

/* --------------------------------------------------------------------------
   Diferenciais
   -------------------------------------------------------------------------- */

.why {
  position: relative;
  border-top: 1px solid var(--line);
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 80px;
  align-items: start;
}

.why__aside {
  position: sticky;
  top: calc(var(--header) + 32px);
}

.why__aside h2 {
  margin-top: 18px;
  font-size: clamp(1.95rem, 3.2vw, 2.8rem);
}

.why__aside p {
  margin-top: 20px;
  max-width: 400px;
  color: var(--muted);
  font-size: 0.98rem;
}

.why__aside .btn {
  margin-top: 28px;
}

.diff__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.diff__item:last-child {
  border-bottom: 1px solid var(--line);
}

.diff__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--faint);
}

.diff__item h3 {
  font-size: 1.1rem;
}

.diff__item p {
  margin-top: 7px;
  max-width: 50ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.commitments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 84px;
  border-top: 1px solid var(--line);
}

.commit {
  padding: 28px 26px 0;
  border-left: 1px solid var(--line);
}

.commit:first-child {
  border-left: 0;
  padding-left: 0;
}

.commit strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.commit strong em {
  font-style: normal;
  color: var(--accent-bright);
}

.commit span {
  display: block;
  margin-top: 9px;
  max-width: 190px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Setores
   -------------------------------------------------------------------------- */

.sectors {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.005));
  padding-block: 72px;
}

.sectors__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.sectors h2 {
  margin-top: 14px;
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
}

.sectors__note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--muted);
}

.sectors__list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.sector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.022);
  font-size: 0.78rem;
  color: var(--text-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sector::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.sector:hover {
  border-color: var(--accent-line);
  background: rgba(91, 147, 255, 0.06);
}

/* --------------------------------------------------------------------------
   Depoimentos (faixa clara)
   -------------------------------------------------------------------------- */

.testimonials {
  position: relative;
  padding-block: 108px;
  background: var(--paper);
  color: var(--paper-ink);
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(91, 147, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.testimonials .container {
  position: relative;
}

.testimonials .eyebrow {
  color: #1d4ed8;
}

.testimonials .section-head p {
  color: var(--paper-muted);
}

.testimonials .section-head h2 {
  color: var(--paper-ink);
}

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #e1e6ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.t-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #e8a000;
}

.t-card__stars svg {
  width: 13px;
  height: 13px;
}

.t-card blockquote {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #1d2737;
}

.t-card blockquote strong {
  font-weight: 600;
  color: #0a1220;
}

.t-card__who {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 22px;
}

.t-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, #14233c, #33527f);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
}

.t-card__who strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a1220;
}

.t-card__who span {
  display: block;
  font-size: 0.72rem;
  color: var(--paper-muted);
}

.t-note {
  margin-top: 22px;
  font-size: 0.68rem;
  color: #7a8596;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: start;
}

.faq__aside {
  position: sticky;
  top: calc(var(--header) + 34px);
}

.faq__aside h2 {
  margin-top: 16px;
}

.faq__aside p {
  margin-top: 18px;
  max-width: 330px;
  font-size: 0.95rem;
  color: var(--muted);
}

.faq__aside .btn {
  margin-top: 26px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 2px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  list-style: none;
  cursor: pointer;
}

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

.faq__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.2s ease, border-color 0.2s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 1px;
  background: currentColor;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  color: var(--accent-bright);
  border-color: var(--accent-line);
}

.faq__item[open] summary {
  color: var(--accent-bright);
}

.faq__answer {
  padding: 0 40px 24px 2px;
  max-width: 66ch;
  font-size: 0.91rem;
  line-height: 1.7;
  color: var(--muted);
}

.faq__answer a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: rgba(157, 192, 255, 0.4);
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */

.cta {
  padding-top: 88px;
  padding-bottom: 108px;
}

.cta__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid rgba(120, 168, 255, 0.24);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 170% at 88% -10%, rgba(61, 107, 200, 0.55) 0%, rgba(16, 30, 56, 0.5) 42%, rgba(8, 13, 22, 0.2) 72%),
    linear-gradient(145deg, #0d1830 0%, #080e18 70%);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}

.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 110% at 100% 0%, #000, transparent 74%);
  mask-image: radial-gradient(ellipse 80% 110% at 100% 0%, #000, transparent 74%);
  opacity: 0.6;
  pointer-events: none;
}

.cta__panel > * {
  position: relative;
  z-index: 1;
}

.cta__panel h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta__panel p {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(214, 226, 245, 0.72);
  font-size: 1rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.76rem;
  color: rgba(214, 226, 245, 0.58);
}

.cta__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cta__meta svg {
  width: 14px;
  height: 14px;
  color: var(--accent-bright);
}

.cta__signal {
  position: absolute;
  top: 34px;
  right: 38px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
  opacity: 0.55;
}

.cta__signal i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--accent-bright);
  animation: signal 1.8s ease-in-out infinite;
}

.cta__signal i:nth-child(1) { height: 30%; animation-delay: 0s; }
.cta__signal i:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.cta__signal i:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.cta__signal i:nth-child(4) { height: 55%; animation-delay: 0.45s; }
.cta__signal i:nth-child(5) { height: 80%; animation-delay: 0.6s; }

@keyframes signal {
  0%, 100% { transform: scaleY(0.55); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* --------------------------------------------------------------------------
   Responsivo — home parte 2
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .why__aside {
    position: static;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq__aside {
    position: static;
  }

  .faq__aside p {
    max-width: 540px;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps::before {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    padding: 0 0 34px;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step__num {
    margin-bottom: 0;
    box-shadow: 0 0 0 8px var(--ink-0);
  }

  .step__body {
    padding-top: 4px;
  }

  .step__meta {
    margin-top: 10px;
  }

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

  .commitments {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .commit:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .sectors__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .support-band {
    flex-wrap: wrap;
    gap: 10px;
  }

  .support-band .link-arrow {
    margin-left: 0;
  }

  .testimonials {
    padding-block: 72px;
  }

  .cta {
    padding-top: 64px;
    padding-bottom: 78px;
  }

  .cta__signal {
    display: none;
  }
}

@media (max-width: 540px) {
  .step {
    grid-template-columns: 46px 1fr;
    gap: 18px;
  }

  .step__num {
    width: 46px;
    height: 46px;
  }

  .steps::before {
    left: 23px;
  }

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

  .commit {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .commit:last-child {
    border-bottom: 0;
  }

  .cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .faq__item summary {
    font-size: 0.95rem;
    padding: 19px 0;
  }

  .faq__answer {
    padding-right: 20px;
  }
}
