.hero {
  padding: calc(var(--header-h) + clamp(72px, 10vw, 140px)) 0 clamp(80px, 9vw, 128px);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero__line {
  display: block;
}

.hero__line--destaque {
  font-weight: 300;
  color: var(--verde);
}

.hero__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: clamp(32px, 3vw, 44px);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--texto-suave);
}

.hero__lead-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .hero__lead-top {
    flex-direction: row;
    gap: 20px;
  }
}

.hero__flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}

.hero__pill {
  position: relative;
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--raio-pill);
  border: 1px solid var(--borda-forte);
  background: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--verde-escuro);
}

.hero__flow .hero__pill + .hero__pill::before {
  content: "";
  position: absolute;
  right: calc(100% + 1px);
  top: 50%;
  width: 26px;
  border-top: 1.5px dashed var(--verde-lima);
}

.hero__flow .hero__pill.is-quebra::before {
  display: none;
}

.hero__pill--result {
  padding: 5px 14px;
  border-color: var(--verde-lima);
  background: var(--verde-lima);
}

.hero__fim {
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
}

.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--verde-lima);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: rolar 45s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
}

.marquee__group li {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--fonte-titulo);
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--verde-escuro);
  white-space: nowrap;
}

.marquee__group li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde-escuro);
}

.gargalo {
  padding-top: var(--secao);
}

.funnel {
  --funil: 440px;
  display: grid;
  gap: 14px;
}

.funnel__stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.funnel__stage:nth-child(1) {
  --w: 1;
  --bar-fundo: var(--verde-lima);
  --bar-texto: var(--verde-escuro);
}

.funnel__stage:nth-child(2) {
  --w: 0.86;
  --bar-fundo: var(--verde);
  --bar-texto: var(--branco);
}

.funnel__stage:nth-child(3) {
  --w: 0.72;
  --bar-fundo: var(--verde-medio);
  --bar-texto: var(--branco);
}

.funnel__stage:nth-child(4) {
  --w: 0.58;
  --bar-fundo: var(--verde-escuro);
  --bar-texto: var(--branco);
}

.funnel__bar {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--funil) * var(--w));
  height: 72px;
  padding-inline: 32px;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: var(--bar-texto);
  isolation: isolate;
}

.funnel__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bar-fundo);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}

.funnel__leak {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + var(--funil) * var(--w) / 2 + 64px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--texto);
}

.funnel__leak::before {
  content: "";
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  width: 46px;
  border-top: 1.5px dashed var(--coral);
}

.statement {
  margin-top: clamp(88px, 10vw, 136px);
  text-align: center;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--verde-escuro);
  text-wrap: balance;
}

.statement span {
  font-weight: 300;
  white-space: nowrap;
  color: var(--verde);
}

.section-head:has(.processo__title) {
  max-width: none;
}

.flow {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto;
  justify-content: center;
  align-items: start;
  column-gap: clamp(10px, 1.4vw, 20px);
}

.flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow__word,
.flow__arrow {
  font-family: var(--fonte-titulo);
  font-size: clamp(2rem, 1.2rem + 1.7vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.flow__word {
  font-weight: 600;
  color: var(--titulo);
}

.flow__arrow {
  font-weight: 300;
  color: var(--verde);
}

.flow__tag {
  margin-top: 14px;
  font-family: var(--fonte-titulo);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--verde);
}

.flow__text {
  max-width: 14em;
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--texto-suave);
  text-wrap: balance;
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: var(--raio-lg);
  background: var(--borda);
}

.logos li {
  display: grid;
  place-items: center;
  height: 128px;
  padding: 24px;
  background: var(--branco);
}

.logos img {
  width: 100%;
  max-width: 170px;
  max-height: 64px;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.logos li:hover img {
  transform: scale(1.05);
}

.clientes__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 640px;
  margin: clamp(56px, 6vw, 80px) auto 0;
  text-align: center;
}

.clientes__cta p {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--texto-suave);
}

.clientes__cta strong {
  color: var(--verde-escuro);
}

@media (min-width: 1024px) {
  .clientes__cta {
    max-width: none;
  }

  .clientes__cta p > span,
  .clientes__cta p > strong {
    display: block;
    white-space: nowrap;
  }
}

.processo__title i {
  font-style: normal;
  color: var(--verde-lima);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin-inline: auto;
}

.steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  border-top: 2px dashed var(--verde-lima);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step__num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--verde-escuro);
  box-shadow: 0 0 0 10px var(--branco);
  font-family: var(--fonte-titulo);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--verde-lima);
}

.step__text {
  max-width: 20ch;
  margin-top: 28px;
  font-family: var(--fonte-titulo);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--verde-escuro);
  text-wrap: balance;
}

.qualifica__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 7vw, 112px);
  align-items: start;
}

.qualifica__title {
  margin-bottom: 32px;
  font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.3rem);
  letter-spacing: -0.03em;
}

.faq__item {
  border-bottom: 1px solid var(--borda);
}

.faq__item:first-child {
  border-top: 1px solid var(--borda);
}

.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 56px 18px 0;
  font-family: var(--fonte-titulo);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--verde-escuro);
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: var(--verde-lima-suave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003114' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.25s;
}

.faq__item[open] summary::before {
  transform: rotate(45deg);
  background-color: var(--verde-lima);
}

.faq__body {
  overflow: hidden;
}

.faq__item p {
  padding: 0 56px 24px 0;
  font-size: 1.02rem;
  color: var(--texto-suave);
}

.cta-final {
  padding-bottom: clamp(64px, 7vw, 104px);
}

.cta-final__panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  padding: clamp(48px, 6vw, 88px);
  border-radius: var(--raio-xl);
  background:
    radial-gradient(circle at var(--gx, 100%) var(--gy, 100%), rgba(140, 198, 60, 0.28) 0%, rgba(140, 198, 60, 0) 55%),
    var(--verde-escuro);
}

.cta-final__text,
.lead-form {
  min-width: 0;
}

.cta-final__title {
  max-width: 18ch;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--texto-claro);
}

.cta-final__lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--texto-claro-suave);
}

.checkpoints {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 8px;
  max-width: 560px;
  margin-top: 48px;
  counter-reset: ponto;
}

.checkpoints li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--fonte-titulo);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  color: var(--texto-claro);
  counter-increment: ponto;
}

.checkpoints li::before {
  content: counter(ponto);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--verde-lima);
  background: var(--verde-escuro);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--verde-lima);
}

.checkpoints li + li::after {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(-50% + 15px);
  right: calc(50% + 23px);
  border-top: 1.5px dashed rgba(140, 198, 60, 0.6);
}

.cta-final__close {
  max-width: 40ch;
  margin-top: 48px;
  font-size: 1.08rem;
  color: var(--texto-claro-suave);
}

.lead-form {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--raio-lg);
  background: var(--branco);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.lead-form__title,
.lead-form__sub {
  text-align: center;
}

.lead-form__title {
  font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.75rem);
  letter-spacing: -0.02em;
}

.lead-form__sub {
  margin: 6px 0 28px;
  color: var(--texto-suave);
}

.lead-form .btn {
  margin-top: 8px;
}

.lead-form__micro {
  margin-top: 14px;
  font-size: 0.82rem;
  text-align: center;
  color: var(--texto-suave);
}

.lead-form__success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 36px;
  border-radius: inherit;
  background: var(--branco);
  text-align: center;
}

.lead-form__success[hidden] {
  display: none;
}

.lead-form__success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--verde-lima);
  color: var(--verde-escuro);
}

.lead-form__success-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lead-form__success h3 {
  font-size: 1.5rem;
}

.lead-form__retry {
  margin-top: 6px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--verde);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form__success p {
  max-width: 30ch;
  color: var(--texto-suave);
}

@keyframes rolar {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .funnel {
    --funil: 380px;
  }
}

@media (max-width: 1080px) {
  .logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .flow {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 18px;
  }

  .flow__arrow {
    rotate: 90deg;
  }
}

@media (max-width: 860px) {
  .funnel {
    max-width: 440px;
    margin-inline: auto;
    gap: 22px;
  }

  .funnel__stage {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .funnel__bar {
    width: calc(var(--w) * 100%);
    height: 64px;
    padding-inline: 18px;
  }

  .funnel__leak {
    position: static;
    white-space: normal;
  }

  .funnel__leak::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .qualifica__grid,
  .cta-final__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero__actions {
    align-self: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: space-between;
    white-space: normal;
    text-align: left;
  }

  .hero__flow {
    gap: 10px 14px;
  }

  .hero__pill {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .hero__flow .hero__pill + .hero__pill::before {
    width: 14px;
  }

  .logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .logos li {
    height: 104px;
    padding: 18px;
  }

  .logos li:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .clientes__cta .btn {
    width: 100%;
    justify-content: space-between;
    white-space: normal;
    text-align: left;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps::before {
    top: 28px;
    bottom: 28px;
    left: 28px;
    right: auto;
    border-top: 0;
    border-left: 2px dashed var(--verde-lima);
  }

  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    align-items: center;
    text-align: left;
  }

  .step__num {
    width: 56px;
    height: 56px;
    font-size: 1rem;
    box-shadow: 0 0 0 8px var(--branco);
  }

  .step__text {
    max-width: none;
    margin-top: 0;
    text-wrap: pretty;
  }

  .faq__item summary {
    padding-right: 52px;
  }

  .faq__item p {
    padding-right: 0;
  }

  .cta-final__panel {
    padding: 40px 16px 16px;
    border-radius: var(--raio-lg);
  }

  .cta-final__text {
    padding-inline: 6px;
  }

  .cta-final__title {
    font-size: 1.85rem;
  }

  .checkpoints {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .checkpoints li {
    flex-direction: row;
    gap: 14px;
    font-size: 1rem;
    text-align: left;
  }

  .checkpoints li::before {
    width: 38px;
    height: 38px;
  }

  .checkpoints li + li::after {
    top: auto;
    bottom: calc(100% - 2px);
    left: 19px;
    right: auto;
    height: 16px;
    border-top: 0;
    border-left: 1.5px dashed rgba(140, 198, 60, 0.6);
  }

  .lead-form {
    padding: 28px 18px;
  }

  .lead-form .btn {
    gap: 12px;
    padding-left: 20px;
    font-size: 0.9rem;
    white-space: normal;
    text-align: left;
  }

  .lead-form .btn__icon {
    width: 42px;
    height: 42px;
  }
}

.logos li > a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
