/* Faixa de chamada entre seções */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 1.25rem 1.25rem 1.25rem clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--r-card);
  background:
    radial-gradient(60% 140% at 100% 50%, rgb(255 91 31 / 0.16), transparent 70%),
    var(--ferro);
  box-shadow: var(--depth-card);
  width: calc(100% - 2 * var(--gutter));
}

.cta-strip > * {
  min-width: 0;
}

.cta-strip:empty {
  display: none;
}

.cta-strip p {
  font-size: var(--text-xl);
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.cta-strip__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cta-strip__link {
  color: var(--nevoa);
  font-size: var(--text-sm);
  font-weight: 600;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.cta-strip__link:hover {
  color: var(--giz);
}

/* Barra fixa embaixo: lote, prazo e o botão */
.sticky-cta {
  position: fixed;
  right: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgb(18 19 22 / 0.88);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 20px 40px -12px rgb(0 0 0 / 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 140%);
  transition: opacity 0.35s, transform 0.5s var(--ease-out);
}

.sticky-cta.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.sticky-cta .status,
.sticky-cta__status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--nevoa);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.sticky-cta__status b {
  color: var(--giz);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sticky-cta .btn {
  min-height: 46px;
}

@media (max-width: 720px) {
  .cta-strip {
    flex-direction: column;
    align-items: stretch;
  }

  /* O botão em cima, com a largura toda, e o link embaixo: lado a lado eles não cabem em 360 px */
  .cta-strip__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .cta-strip__link {
    text-align: center;
  }

  .sticky-cta {
    right: 0.75rem;
    left: 0.75rem;
    justify-content: space-between;
    gap: 0.75rem;
    padding-left: 1rem;
    transform: translateY(140%);
  }

  .sticky-cta.is-shown {
    transform: none;
  }

  .sticky-cta__status {
    font-size: var(--text-xs);
    white-space: normal;
  }

  .sticky-cta .btn {
    padding: 0 1rem;
    font-size: var(--text-sm);
  }
}

/* Chamada pequena acima do título e a linha que tira a objeção embaixo dos botões */
.hero__kicker {
  grid-area: kicker;
  margin-bottom: -0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  background: var(--lavagem);
  box-shadow: inset 0 0 0 1px var(--aco);
  color: var(--nevoa);
  font-size: var(--text-sm);
  font-weight: 600;
}

.hero__kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brasa);
}

.hero__trigger {
  flex-basis: 100%;
  margin-top: -0.75rem;
  color: var(--nevoa);
  font-size: var(--text-sm);
  text-align: center;
}

/* Confirmação da lista */
.waitlist.is-done {
  grid-template-columns: minmax(0, 1fr);
  background: radial-gradient(80% 140% at 0% 50%, rgb(34 197 94 / 0.12), transparent 70%);
  box-shadow: inset 0 0 0 1.5px rgb(34 197 94 / 0.45);
  animation: done-pop 0.5s var(--ease-out) both;
}

@keyframes done-pop {
  from {
    transform: scale(0.98);
  }
}

.waitlist__done {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.waitlist__done h3 {
  font-size: var(--text-lg);
  font-weight: 750;
}

.waitlist__done p {
  margin-top: 0.2rem;
  color: var(--nevoa);
  font-size: var(--text-sm);
}

.waitlist__done-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #22c55e;
  color: #052e16;
  box-shadow: 0 0 0 8px rgb(34 197 94 / 0.15);
}

.waitlist__done-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Confete */
.confetti {
  position: fixed;
  z-index: 100;
  width: 0;
  height: 0;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  background: var(--c);
  animation: confetti 1.6s cubic-bezier(0.2, 0.7, 0.3, 1) var(--delay) both;
}

.confetti i:nth-child(3n) {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

@keyframes confetti {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(var(--x), calc(var(--y) + 260px)) rotate(var(--r));
  }
}

/* Prova logo depois do hero: rosto, um número em destaque, o painel dos outros e o que está no ar */
.proof {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    'who hero'
    'panel panel'
    'work work';
  align-items: center;
  gap: 1rem clamp(2rem, 5vw, 4rem);
}

.proof__who {
  display: flex;
  grid-area: who;
  align-items: center;
  gap: 1.5rem;
}

.proof__photo {
  width: clamp(5.5rem, 9vw, 7rem);
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 70% 30%;
  box-shadow: 0 0 0 4px var(--noite), 0 0 0 6px var(--brasa), 0 16px 40px -12px rgb(255 91 31 / 0.5);
}

.proof__who h2 {
  font-size: var(--text-xl);
}

.proof__who p {
  margin-top: 0.4rem;
  color: var(--nevoa);
}

.proof__who .proof__name {
  color: var(--giz);
  font-size: var(--text-sm);
  font-weight: 650;
}

/* O número em destaque: painel escuro com brilho de brasa e uma curva subindo */
.proof__hero {
  position: relative;
  grid-area: hero;
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border-radius: var(--r-feature);
  background:
    radial-gradient(70% 90% at 100% 100%, rgb(255 91 31 / 0.35), transparent 60%),
    radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1.5px) 0 0 / 16px 16px,
    linear-gradient(160deg, #1d1f24, #0b0c0e 60%);
  box-shadow: var(--depth-feature);
  color: var(--giz);
}

.proof__big {
  font-size: clamp(3.25rem, 2rem + 4vw, 5.5rem);
  font-weight: 850;
  font-stretch: 125%;
  letter-spacing: -0.055em;
  line-height: 0.95;
  white-space: nowrap;
  color: #fff;
}

.proof__big-label {
  max-width: 22rem;
  font-size: var(--text-lg);
  font-weight: 600;
}

.proof__big-note {
  position: relative;
  z-index: 1;
  max-width: 62%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  color: var(--nevoa);
  font-size: var(--text-sm);
}

.proof__big-note i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgb(34 197 94 / 0.2);
  animation: offer-live 2s ease-in-out infinite;
}

.proof__spark {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36%;
  height: 38%;
  fill: none;
  stroke: rgb(255 197 107 / 0.5);
  stroke-width: 2;
  stroke-dasharray: 1;
  pointer-events: none;
}

.drop-in .proof__spark path {
  animation: proof-draw 1.6s 0.4s var(--ease-out) both;
}

@keyframes proof-draw {
  from {
    stroke-dashoffset: 1;
  }
}

/* Os outros números num painel só, separados por filetes */
.proof__panel {
  display: grid;
  grid-area: panel;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0.5rem 0 0;
  padding: 1.4rem 0;
  border-radius: var(--r-card);
  background: var(--ferro);
  box-shadow: var(--depth-card);
}

.proof__cell {
  display: grid;
  gap: 0.3rem;
  padding: 0 1.5rem;
}

.proof__cell + .proof__cell {
  border-left: 1px solid var(--aco);
}

.proof__cell dt {
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem);
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.proof__cell dd {
  margin: 0;
  color: var(--nevoa);
  font-size: var(--text-sm);
  line-height: 1.35;
}

/* Onde eu já construí: áreas com ícone numa faixa só, e o que está acontecendo agora */
.proof__work {
  display: flex;
  flex-wrap: wrap;
  grid-area: work;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 0.5rem;
}

.proof__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof__areas-wrap {
  flex-basis: 100%;
}

/* A cópia só existe para o loop do celular */
.proof__areas li.is-copy {
  display: none;
}

@keyframes proof-areas {
  to {
    transform: translateX(calc(-50% - 0.225rem));
  }
}

.proof__areas li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--giz);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}

.proof__area-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--ferro);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), inset 0 0 0 1px var(--aco);
  color: var(--brasa);
}

.proof__area-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof__now {
  /* O selo "Working for big companies": o loading girando com o anel pulsando, as reticências
     piscando e um brilho que atravessa a pílula. Só transform e opacity (compositor). */
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  overflow: hidden;
  padding: 0.6rem 1.15rem 0.6rem 0.9rem;
  border-radius: 99px;
  background: var(--lavagem);
  box-shadow: inset 0 0 0 1px var(--aco-claro);
  color: var(--giz);
  font-size: var(--text-sm);
  font-weight: 650;
  font-stretch: 108%;
  white-space: nowrap;
}

.proof__now::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgb(255 91 31 / 0.24) 50%, transparent 70%);
  transform: translateX(-110%);
  animation: proof-varrer 2.8s var(--ease-out) infinite;
}

.proof__giro {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

/* O arco: um gradiente cônico com o miolo vazado, girando */
.proof__giro i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 30%, var(--brasa) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: proof-girar 0.8s linear infinite;
}

.proof__giro::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1.5px solid var(--brasa);
  border-radius: 50%;
  opacity: 0;
  animation: proof-pulsar 1.6s ease-out infinite;
}

.proof__pontos {
  display: inline-flex;
  margin-left: -0.7rem;
}

.proof__pontos i {
  font-style: normal;
  animation: proof-piscar 1.4s ease-in-out infinite;
}

.proof__pontos i:nth-child(2) {
  animation-delay: 0.2s;
}

.proof__pontos i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes proof-girar {
  to {
    transform: rotate(360deg);
  }
}

@keyframes proof-pulsar {
  0% {
    opacity: 0.8;
    transform: scale(0.6);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes proof-piscar {
  0%,
  100% {
    opacity: 0.15;
  }

  40% {
    opacity: 1;
  }
}

@keyframes proof-varrer {
  0%,
  20% {
    transform: translateX(-110%);
  }

  80%,
  100% {
    transform: translateX(110%);
  }
}

@media (max-width: 960px) {
  .proof {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'who' 'hero' 'panel' 'work';
  }

  .proof__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 0;
  }

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

@media (max-width: 520px) {
  /* Foto e texto lado a lado, com a foto menor */
  .proof__who {
    align-items: flex-start;
    gap: 1rem;
  }

  .proof__photo {
    width: 4.25rem;
    box-shadow: 0 0 0 3px var(--noite), 0 0 0 5px var(--brasa), 0 12px 28px -10px rgb(255 91 31 / 0.5);
  }

  .proof__who h2 {
    font-size: 1.35rem;
  }

  .proof__who p {
    font-size: var(--text-sm);
  }

  .proof__cell {
    padding: 0 1rem;
  }

  /* Áreas viram uma fileira de pílulas passando sozinha, com as bordas esmaecendo */
  .proof__areas-wrap {
    flex-basis: calc(100% + 2 * var(--gutter));
    margin-inline: calc(var(--gutter) * -1);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent);
  }

  .proof__areas {
    flex-wrap: nowrap;
    width: max-content;
    gap: 0.45rem;
    padding: 0.1rem 0;
    animation: proof-areas 22s linear infinite;
  }

  .proof__areas li.is-copy {
    display: flex;
  }

  .proof__areas-wrap:active .proof__areas {
    animation-play-state: paused;
  }

  .proof__areas li {
    gap: 0.4rem;
    padding: 0.3rem 0.75rem 0.3rem 0.3rem;
    border-radius: 99px;
    background: var(--ferro);
    box-shadow: inset 0 0 0 1px var(--aco);
    font-size: var(--text-xs);
  }

  .proof__areas li {
    flex: none;
  }

  .proof__big-note {
    max-width: none;
  }

  .proof__area-icon {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    box-shadow: none;
    background: rgb(255 91 31 / 0.1);
  }

  .proof__area-icon svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  /* O status vira um cartão: em duas linhas, a pílula ficava torta */
  /* Números em linhas: número à esquerda, o que é à direita */
  .proof__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0.4rem 1.1rem;
  }

  .proof__cell {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
  }

  .proof__cell + .proof__cell,
  .proof__cell:nth-child(odd) {
    border-left: 0;
  }

  .proof__cell + .proof__cell {
    border-top: 1px solid var(--aco);
  }

  .proof__cell dt {
    min-width: 6.2rem;
    font-size: 1.45rem;
  }

  /* No celular a curva ficava por cima do texto */
  .proof__spark {
    display: none;
  }
}

/* Entrada da prova: o destaque e o painel sobem, as células acendem em sequência */
.motion .proof.drop-ready :is(.proof__hero, .proof__panel, .proof__work) {
  opacity: 0;
  transform: translateY(18px);
}

.motion .proof.drop-in :is(.proof__hero, .proof__panel, .proof__work) {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
}

.motion .proof.drop-in .proof__panel { transition-delay: 0.15s; }
.motion .proof.drop-in .proof__work { transition-delay: 0.3s; }

.motion .proof.drop-in .proof__cell {
  animation: proof-cell 0.6s var(--ease-out) both;
}

.motion .proof.drop-in .proof__cell:nth-child(2) { animation-delay: 0.08s; }
.motion .proof.drop-in .proof__cell:nth-child(3) { animation-delay: 0.16s; }
.motion .proof.drop-in .proof__cell:nth-child(4) { animation-delay: 0.24s; }
.motion .proof.drop-in .proof__cell:nth-child(5) { animation-delay: 0.32s; }

@keyframes proof-cell {
  from {
    transform: translateY(10px);
  }
}

/* Com reduzir movimento, a fileira fica parada e desliza com o dedo */
@media (prefers-reduced-motion: reduce) {
  .proof__areas {
    animation: none !important;
  }

  .proof__areas-wrap {
    overflow-x: auto;
  }

  .proof__areas li.is-copy {
    display: none !important;
  }
}

/* ── O cartão em destaque alterna os números: os slides empilhados no mesmo lugar, o que entra
   sobe e acende, o que sai some; a régua embaixo enche e passa a vez ── */
.proof__slides {
  display: grid;
}

.proof__slide {
  display: grid;
  gap: 0.35rem;
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out), filter 500ms;
  pointer-events: none;
}

.proof__slide.is-on {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}

.proof__big-note--brasa i {
  background: var(--brasa);
  box-shadow: 0 0 0 4px rgb(255 91 31 / 0.22);
}

.proof__dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
  margin-top: 1rem;
}

.proof__dots button {
  position: relative;
  width: 44px;
  height: 18px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.proof__dots button::before,
.proof__dots button::after {
  content: '';
  position: absolute;
  inset: 8px 0 auto;
  height: 3px;
  border-radius: 2px;
}

.proof__dots button::before {
  background: rgb(255 255 255 / 0.16);
}

.proof__dots button::after {
  background: var(--brasa);
  transform: scaleX(0);
  transform-origin: left;
}

.proof__hero.is-running .proof__dots button[aria-current='true']::after {
  animation: proof-regua 6s linear forwards;
}

@keyframes proof-regua {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof__slide {
    transition: opacity 200ms;
    transform: none;
    filter: none;
  }

  .proof__dots button[aria-current='true']::after {
    transform: scaleX(1);
  }
}

/* ── No celular, o destaque e os números são um cartão só: o escuro continua do destaque para os
   números, sem emenda, e os números ficam em duas colunas, com o rótulo embaixo ── */
@media (max-width: 720px) {
  .proof__hero {
    padding-bottom: 1.4rem;
    border-radius: var(--r-feature) var(--r-feature) 0 0;
    background:
      radial-gradient(80% 70% at 100% 0%, rgb(255 91 31 / 0.3), transparent 62%),
      radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1.5px) 0 0 / 16px 16px,
      linear-gradient(170deg, #1d1f24, #0b0c0e 80%);
  }

  .proof__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: -1rem 0 0;
    padding: 0.25rem 1.5rem 1.4rem;
    border-radius: 0 0 var(--r-feature) var(--r-feature);
    background:
      radial-gradient(70% 60% at 0% 100%, rgb(255 91 31 / 0.16), transparent 65%),
      radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1.5px) 0 0 / 16px 16px,
      #0b0c0e;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.4), 0 40px 90px -30px rgb(255 91 31 / 0.38);
    color: #fff;
  }

  .proof__cell,
  .proof__cell + .proof__cell,
  .proof__cell:nth-child(odd) {
    display: grid;
    align-content: start;
    gap: 0.3rem;
    padding: 1rem 0.75rem 1rem 0;
    border: 0;
    border-top: 1px solid rgb(255 255 255 / 0.08);
  }

  .proof__cell:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid rgb(255 255 255 / 0.08);
  }

  /* O quinto número fecha o cartão com a largura toda */
  .proof__cell:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .proof__cell dt {
    min-width: 0;
    color: #fff;
    font-size: 1.5rem;
  }

  .proof__cell dd {
    color: #9a9da6;
    font-size: var(--text-xs);
  }

  .motion .proof.drop-in .proof__panel {
    transition-delay: 0s;
  }
}
