/* ============================================================
   LP Programa Empresa no Digital (PED) — Grupo Gita
   Mobile-first · tráfego frio Meta Ads · form multi-step no hero
   ============================================================ */

/* ---------- Fontes ---------- */
@font-face {
  font-family: 'BDO Grotesk';
  src: url('assets/fonts/BDOGrotesk-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BDO Grotesk';
  src: url('assets/fonts/BDOGrotesk-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BDO Grotesk';
  src: url('assets/fonts/BDOGrotesk-DemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BDO Grotesk';
  src: url('assets/fonts/BDOGrotesk-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --terracota: #803F2E;
  --terracota-escuro: #6B3325;
  --vinho: #673527;
  --verde-escuro: #364636;
  --verde-profundo: #30382F;
  --sage: #A4B3A2;
  --areia: #E2D0B0;
  --areia-suave: #F3EBDD;
  --off: #FAF6EE;
  --preto: #1B1B1B;
  --cinza-t: #5C564E;
  --cta: #2FC097;
  --cta-escuro: #26A882;
  --cta-texto: #0E3B2C;
  --cta-tint: #E7F8F1;
  --borda: #E7DFD2;
  --erro: #C2472E;
  --fonte: 'BDO Grotesk', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --radius-card: 22px;
  --sombra-card: 0 24px 70px rgba(27, 27, 27, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fonte);
  color: var(--preto);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 700; }

/* premissas de quebra (CLAUDE.md): negrito é unidade; títulos balance; parágrafos pretty */
h1, h2, h3 { text-wrap: balance; }
p, blockquote { text-wrap: pretty; }
.nb { white-space: nowrap; }

/* ---------- Motivos da marca ---------- */
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cta);
}
.dot--inline { width: 8px; height: 8px; margin-left: 5px; }

.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(226, 208, 176, .28), transparent 60%),
    radial-gradient(700px 480px at -15% 105%, rgba(27, 27, 27, .30), transparent 55%),
    var(--terracota);
  color: #fff;
  padding: 0 20px 26px;
  overflow: hidden;
}
.hero__glow {
  position: absolute; right: -180px; top: -220px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 208, 176, .32), transparent 65%);
  pointer-events: none;
}

/* ---------- Fluxo da Segunda Sede (animação de fundo do hero) ----------
   Canais → hub: pontinhos de luz percorrendo trilhas finas até o "ponto." da
   gita, que pulsa como o coração da operação. Lento, organizado, hipnótico.
   Só transform/opacity/SMIL: roda no compositor, sem JS, sem requests. */
.net {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 760px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.net__scene { width: 100%; height: 100%; display: block; }
.net__scene--d { display: none; }

.net__line {
  stroke: rgba(226, 208, 176, .13);
  stroke-width: 1;
}
.net__flow {
  stroke: rgba(226, 208, 176, .30);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1.5 16;
  animation: netflow linear infinite;
}
@keyframes netflow {
  to { stroke-dashoffset: -17.5; }
}

.net__node {
  fill: #E2D0B0;
  animation: netbreathe ease-in-out infinite;
}
.net__node--sage  { fill: #A4B3A2; }
.net__node--verde { fill: #2FC097; }
@keyframes netbreathe {
  0%, 100% { opacity: .22; }
  50%      { opacity: .6; }
}

.net__dot { fill: #E2D0B0; opacity: .8; }
.net__dot--soft  { opacity: .5; }
.net__dot--verde { fill: #2FC097; opacity: .9; }

/* mobile: cena mais discreta (texto ocupa a largura toda) */
.net__scene--m .net__line { stroke: rgba(226, 208, 176, .10); }
.net__scene--m .net__flow { stroke: rgba(226, 208, 176, .22); }
.net__scene--m .net__dot { opacity: .65; }
.net__scene--m .net__dot--soft { opacity: .4; }
.net__scene--m .net__dot--verde { opacity: .8; }

.net__pulse {
  fill: none;
  stroke: #2FC097;
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: netpulse 4.8s cubic-bezier(.2, .6, .4, 1) infinite;
}
.net__pulse--2 { animation-delay: -2.4s; }
@keyframes netpulse {
  0%   { transform: scale(.4); opacity: .5; }
  70%  { opacity: .14; }
  100% { transform: scale(3);  opacity: 0; }
}

.hero__bar {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0 6px;
  max-width: 1120px; margin: 0 auto;
}
.hero__logo { width: 74px; height: auto; }

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}

.hero__h1 {
  margin-top: 16px;
  font-size: clamp(27px, 7.5vw, 40px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.015em;
}
.hl {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 0 7px;
  margin: 0 -3px;
  color: var(--preto);
  font-weight: 700;
}
.hl::before {
  content: '';
  position: absolute; inset: 4px 0 0;
  background: var(--cta);
  border-radius: 7px;
  z-index: -1;
  transform: skew(-4deg, -.6deg);
}

/* Mesmo grifado, em unidades relativas — escala com o font-size de onde for
   usado (eyebrows, badges, textos correntes), diferente do .hl (px fixo,
   calibrado só pro H1 do hero). */
.mark {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 0 .2em;
  margin: 0 -.05em;
  color: var(--preto);
}
.mark::before {
  content: '';
  position: absolute; inset: .1em -.02em -.02em;
  background: var(--cta);
  border-radius: .2em;
  z-index: -1;
  transform: skew(-4deg, -.6deg);
}
.hero__sub {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
  max-width: 46ch;
}
.hero__sub strong { color: #fff; }
.hero__sub--desktop { display: none; }

.hero__proofs {
  list-style: none;
  display: flex; align-items: center; gap: 6px;
  margin-top: 13px;
  /* fluida: os 3 itens sempre em 1 linha, em qualquer largura de tela */
  font-size: clamp(8px, calc((100vw - 66px) / 31.5), 11.5px);
  color: rgba(255, 255, 255, .78);
  flex-wrap: nowrap;
  white-space: nowrap;
}
.hero__proofs li { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.hero__proofs b { color: #fff; font-weight: 700; }
.hero__proofs li + li::before {
  content: '';
  width: 1px; height: 12px;
  background: rgba(255, 255, 255, .32);
  margin-right: 6px;
  flex-shrink: 0;
}

.hero__quote { display: none; }
.quotes { display: none; }

/* ---------- Card do formulário ---------- */
.card {
  position: relative;
  background: #fff;
  color: var(--preto);
  border-radius: var(--radius-card);
  box-shadow: var(--sombra-card);
  padding: 24px 20px 22px;
  scroll-margin-top: 16px;
}
.card::before {
  /* “papel recortado”: fio areia no topo do card */
  content: '';
  position: absolute; top: 0; left: 24px; right: 24px; height: 4px;
  background: var(--cta);
  border-radius: 0 0 6px 6px;
}
.card__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--terracota);
  background: var(--areia-suave);
  border-radius: 100px;
  padding: 6px 12px;
}
.card__title {
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.01em;
}
.card__micro {
  margin-top: 7px;
  font-size: 13px;
  color: var(--cinza-t);
}

.honey { position: absolute; left: -5000px; top: 0; opacity: 0; height: 0; }

.progress {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0 14px;
}
.progress__label {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--cinza-t);
  white-space: nowrap;
}
.progress__track {
  flex: 1; height: 4px;
  background: var(--borda);
  border-radius: 100px;
  overflow: hidden;
}
.progress__fill {
  display: block; height: 100%;
  width: 33.3%;
  background: var(--cta);
  border-radius: 100px;
  transition: width .35s cubic-bezier(.22, 1, .36, 1);
}

.step { border: 0; }
.step.is-active { animation: step-in .32s cubic-bezier(.22, 1, .36, 1); }
@keyframes step-in {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}
.step__q {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -.005em;
}
.step__hint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--cinza-t);
}
.step__tap {
  display: flex; align-items: center; gap: 6px;
  margin: 6px 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cta-escuro);
}
.step__tap-icon {
  width: 14px; height: 14px;
  border: 2px solid var(--cta-escuro);
  border-radius: 4px 4px 4px 0;
  transform: rotate(45deg);
  flex-shrink: 0;
  animation: tap-icon 1.7s ease-in-out infinite;
}
@keyframes tap-icon {
  0%, 100% { transform: rotate(45deg) scale(1); opacity: .7; }
  50%      { transform: rotate(45deg) scale(.82); opacity: 1; }
}
/* some assim que o convite dos chips é desativado (JS, no 1º toque) */
.chips-tocados .step__tap { display: none; }
.step__back {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cinza-t);
  padding: 6px 2px;
}
.step__back:hover { color: var(--preto); }

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.chip {
  position: relative;
  min-height: 52px;
  padding: 10px 34px 10px 12px;
  border: 1.5px solid var(--borda);
  border-radius: 14px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  display: flex; align-items: center;
  box-shadow: 0 2px 7px rgba(27, 27, 27, .055);
  transition: border-color .18s, background .18s, transform .14s, box-shadow .18s, padding .18s;
  -webkit-tap-highlight-color: transparent;
}
.chip--wide { grid-column: 1 / -1; }
.chip:hover {
  border-color: var(--sage);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(27, 27, 27, .09);
}
.chip:active { transform: scale(.97); }
.chip.is-selected {
  border-color: var(--cta);
  background: var(--cta-tint);
  box-shadow: inset 0 0 0 .5px var(--cta);
  padding-right: 38px;
}

/* affordance: seta convidando o toque — some quando o chip é selecionado (dá lugar ao check) */
.chip::before {
  content: '';
  position: absolute; right: 13px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -5px;
  border-right: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
  opacity: .8;
  transition: opacity .16s, transform .18s;
}
.chip:hover::before { transform: rotate(-45deg) translate(1px, -1px); border-color: var(--terracota); }
.chip.is-selected::before { opacity: 0; }

/* check que “carimba” a escolha */
.chip::after {
  content: '';
  position: absolute; right: 10px; top: 50%;
  width: 19px; height: 19px;
  margin-top: -9.5px;
  border-radius: 50%;
  background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5 5 9l4.5-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .16s, transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.chip.is-selected::after { opacity: 1; transform: scale(1); }

/* convite sutil no 1º passo: os chips "respiram" até a pessoa tocar em algum
   (classe removida no 1º clique via JS — nunca repete depois disso) */
.chips--intro .chip {
  animation: chip-convite 2.1s ease-in-out infinite;
}
.chips--intro .chip:nth-child(2) { animation-delay: .15s; }
.chips--intro .chip:nth-child(3) { animation-delay: .3s; }
.chips--intro .chip:nth-child(4) { animation-delay: .45s; }
.chips--intro .chip:nth-child(5) { animation-delay: .6s; }
.chips--intro .chip:nth-child(6) { animation-delay: .75s; }
.chips--intro .chip:nth-child(7) { animation-delay: .9s; }
@keyframes chip-convite {
  0%, 100% { box-shadow: 0 2px 7px rgba(27, 27, 27, .055); border-color: var(--borda); }
  50%      { box-shadow: 0 8px 18px rgba(47, 192, 151, .22); border-color: var(--cta); }
}

/* painel “Outro segmento” */
.outro { margin-top: 12px; animation: step-in .3s cubic-bezier(.22, 1, .36, 1); }
.cta--mini { min-height: 52px; }

.field { display: block; margin-bottom: 12px; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field__label em { font-style: normal; font-weight: 400; color: var(--cinza-t); }
.field__input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px; /* evita zoom automático no iOS */
  border: 1.5px solid var(--borda);
  border-radius: 14px;
  background: #fff;
  color: var(--preto);
  transition: border-color .15s, box-shadow .15s;
}
.field__input::placeholder { color: #A9A296; }
.field__input:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(47, 192, 151, .18);
}
.field__input.is-invalid { border-color: var(--erro); }

.form-error {
  font-size: 13px;
  font-weight: 600;
  color: var(--erro);
  margin: 2px 0 10px;
}

/* Botão assinatura Gita: pílula com gradiente de profundidade, brilho interno,
   círculo branco com seta (padrão do site) e sheen periódico. */
.cta {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #3ED0A6, #2FC097 52%, #28B08A);
  color: var(--cta-texto);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  border-radius: 100px;
  padding: 8px 8px 8px 18px;
  overflow: hidden;
  transition: transform .16s, box-shadow .2s, filter .2s;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -2px 0 rgba(0, 0, 0, .10),
    0 12px 28px rgba(47, 192, 151, .38);
  -webkit-tap-highlight-color: transparent;
}
.cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -2px 0 rgba(0, 0, 0, .10),
    0 16px 34px rgba(47, 192, 151, .44);
}
.cta:active {
  transform: translateY(1px) scale(.985);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    inset 0 -1px 0 rgba(0, 0, 0, .08),
    0 6px 16px rgba(47, 192, 151, .3);
}
.cta[disabled] { opacity: .65; pointer-events: none; }

/* círculo branco com a seta (marca registrada dos CTAs do site) */
.cta span { text-wrap: balance; }
.cta svg {
  flex-shrink: 0;
  width: 32px; height: 32px;
  padding: 8px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 50%;
  color: var(--cta-escuro);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .14);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.cta:hover svg { transform: translateX(3px); }

/* sheen periódico em todos os CTAs */
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .35) 50%, transparent 68%);
  transform: translateX(-130%);
  animation: cta-sheen 5.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cta-sheen {
  0%, 58%  { transform: translateX(-130%); }
  78%, 100% { transform: translateX(130%); }
}

.trust {
  display: flex; align-items: flex-start; justify-content: center; gap: 7px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--cinza-t);
  text-align: left;
  max-width: 34ch;
  margin-left: auto; margin-right: auto;
}
.trust svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- Sucesso ---------- */
.success { text-align: center; padding: 8px 0 4px; animation: step-in .32s ease; }
.success__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cta-tint);
  color: var(--cta-escuro);
  margin-bottom: 14px;
}
.success__title { font-size: 22px; font-weight: 600; }
.success__text {
  margin: 10px auto 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--cinza-t);
  max-width: 38ch;
}
.cta--wa {
  background: linear-gradient(180deg, #34E07E, #25D366 52%, #1FC15B);
  color: #073D1E;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -2px 0 rgba(0, 0, 0, .10),
    0 12px 28px rgba(37, 211, 102, .34);
  font-size: 14.5px;
}
.cta--wa svg { color: #17A34A; }

/* ============================================================
   SISTEMA DE MOTION DA PÁGINA
   Linguagem única: pontos que pulsam, luz em trilhas, respiração
   e conteúdo entrando suave ao rolar. Só transform/opacity.
   ============================================================ */

/* Reveal ao rolar — só quando JS marca <html class="js-anim"> (progressive) */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--rd, 0s);
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }

/* stagger por posição dentro dos grupos */
.sec__title.reveal { --rd: .08s; }
.sec__sub.reveal { --rd: .14s; }
.passos .passo:nth-child(2) { --rd: .14s; }
.passos .passo:nth-child(3) { --rd: .28s; }
.pilares .pilar:nth-child(2) { --rd: .1s; }
.pilares .pilar:nth-child(3) { --rd: .2s; }
.pilares .pilar:nth-child(4) { --rd: .3s; }
.metodo__frase.reveal { --rd: .38s; }
.stats .stat:nth-child(2) { --rd: .12s; }
.stats .stat:nth-child(3) { --rd: .24s; }
.deps .dep:nth-child(2) { --rd: .12s; }
.deps .dep:nth-child(3) { --rd: .24s; }
.deps .dep:nth-child(4) { --rd: .36s; }
.faces.reveal { --rd: .3s; }
.faq.reveal { --rd: .16s; }
.cta--final.reveal { --rd: .16s; }

/* ============================================================
   SEÇÕES
   ============================================================ */
.sec { padding: 52px 20px; max-width: 680px; margin: 0 auto; }
.sec__eyebrow {
  font-size: 14px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 12px;
}
.sec__eyebrow--light { color: var(--areia); }
.sec__title {
  font-size: clamp(24px, 6.4vw, 32px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.015em;
}
.sec__title--light { color: #fff; }
.sec__sub {
  margin-top: 10px;
  font-size: 15px;
  color: var(--cinza-t);
}

/* ---------- Passos ---------- */
.passos {
  list-style: none;
  margin-top: 26px;
  position: relative;
}
.passos::before {
  content: '';
  position: absolute; left: 17px; top: 14px; bottom: 26px;
  width: 2px;
  background-color: var(--borda);
  /* luz que percorre o trilho ligando os passos (mesma linguagem do hero) */
  background-image: linear-gradient(180deg, transparent, var(--cta) 45%, var(--cta) 55%, transparent);
  background-size: 100% 90px;
  background-repeat: no-repeat;
  background-position: 0 -90px;
  animation: trilho-luz 4.5s linear infinite;
}
@keyframes trilho-luz {
  to { background-position: 0 calc(100% + 90px); }
}
.passo {
  position: relative;
  display: flex; gap: 16px;
  padding-bottom: 24px;
}
.passo:last-child { padding-bottom: 0; }
.passo__num {
  position: relative; z-index: 1;
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--terracota);
  color: #fff;
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px var(--off);
}
/* pulso em cascata: 1 → 2 → 3, acompanhando a luz do trilho */
.passo__num::after {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(47, 192, 151, .6);
  opacity: 0;
  animation: passo-ping 4.5s ease-out infinite;
}
.passo:nth-child(1) .passo__num::after { animation-delay: .1s; }
.passo:nth-child(2) .passo__num::after { animation-delay: 1.5s; }
.passo:nth-child(3) .passo__num::after { animation-delay: 2.9s; }
@keyframes passo-ping {
  0%   { transform: scale(.7); opacity: 0; }
  6%   { opacity: .75; }
  26%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}
.passo h3 { font-size: 16.5px; font-weight: 600; padding-top: 7px; }
.passo p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--cinza-t);
}

/* ---------- Segmentos ---------- */
.sec--segmentos {
  background: var(--areia-suave);
  max-width: none;
}
.sec--segmentos > * { max-width: 680px; margin-left: auto; margin-right: auto; }
.seg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.seg {
  min-height: 56px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--borda);
  border-radius: 16px;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  display: flex; align-items: center; gap: 8px;
  transition: border-color .15s, transform .12s, box-shadow .15s;
}
.seg::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terracota);
  flex-shrink: 0;
  transition: background .15s;
  animation: ponto-respira ease-in-out infinite;
  animation-duration: 4.6s;
}
@keyframes ponto-respira {
  0%, 100% { opacity: .38; }
  50%      { opacity: 1; }
}
.seg:nth-child(2)::before { animation-delay: .5s; }
.seg:nth-child(3)::before { animation-delay: 1s; }
.seg:nth-child(4)::before { animation-delay: 1.5s; }
.seg:nth-child(5)::before { animation-delay: 2s; }
.seg:nth-child(6)::before { animation-delay: 2.5s; }
.seg:nth-child(7)::before { animation-delay: 3s; }
.seg:nth-child(8)::before { animation-delay: 3.5s; }
.seg:hover { border-color: var(--cta); box-shadow: 0 6px 18px rgba(27, 27, 27, .07); }
.seg:hover::before { background: var(--cta); }
.seg:active { transform: scale(.97); }

/* ---------- Método ---------- */
.sec--metodo {
  background:
    radial-gradient(700px 420px at 110% -10%, rgba(164, 179, 162, .16), transparent 60%),
    var(--verde-profundo);
  max-width: none;
  color: #fff;
}
.sec--metodo__inner { max-width: 680px; margin: 0 auto; }
.pilares {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
.pilar {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 18px;
}

/* ---------- Cenas dos pilares (motion SVG, linguagem do hero) ----------
   Cada pilar ganha uma micro-cena vetorial coerente com o "fluxo de pontos"
   do hero, contando visualmente o próprio conceito — não são ícones de
   biblioteca, é o mesmo sistema de design em miniatura. */
.pilar__scene {
  display: block;
  width: 100%;
  height: 56px;
  margin-bottom: 14px;
}

/* 01 · Origem — pontos dispersos convergindo pra um foco (clareza no caos) */
.po-line { stroke: rgba(255, 255, 255, .16); stroke-width: 1; stroke-dasharray: 2 3; }
.po-dot { fill: rgba(255, 255, 255, .55); animation: netbreathe 3.6s ease-in-out infinite; }
.po-focus-halo {
  fill: none; stroke: var(--cta); stroke-width: 1.4; opacity: .5;
  transform-box: fill-box; transform-origin: center;
  animation: netpulse 3.2s cubic-bezier(.2, .6, .4, 1) infinite;
}
.po-focus { fill: var(--cta); }

/* 02 · Presença — grid de conteúdo preenchendo em sequência + like */
.pp-cell {
  fill: rgba(255, 255, 255, .05);
  stroke: rgba(255, 255, 255, .18);
  stroke-width: 1;
  animation: pp-fill 4.9s ease-in-out infinite;
}
@keyframes pp-fill {
  0%, 74%, 100% { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .18); }
  24%, 54%      { fill: rgba(47, 192, 151, .5); stroke: var(--cta); }
}
.pp-like-halo {
  fill: none; stroke: var(--cta); stroke-width: 1; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: pp-like-halo 4.9s ease-in-out infinite;
}
@keyframes pp-like-halo {
  0%, 40%  { opacity: 0; transform: scale(.6); }
  55%      { opacity: .5; }
  80%, 100% { opacity: 0; transform: scale(1.5); }
}
.pp-like {
  fill: var(--cta); opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: pp-like-pop 4.9s ease-in-out infinite;
}
@keyframes pp-like-pop {
  0%, 38%  { opacity: 0; transform: scale(.4); }
  50%, 86% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; transform: scale(.4); }
}

/* 03 · Confiança — selo com check, orbitado por provas acendendo em cascata */
.pc-orbit-dot { fill: var(--cta); animation: netbreathe 2.4s ease-in-out infinite; }
.pc-seal { fill: rgba(255, 255, 255, .07); stroke: var(--cta); stroke-width: 1.4; }
.pc-seal-halo {
  fill: none; stroke: var(--cta); stroke-width: 1; opacity: .3;
  transform-box: fill-box; transform-origin: center;
  animation: netpulse 4s cubic-bezier(.2, .6, .4, 1) infinite;
}
.pc-check { stroke: var(--cta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }

/* 04 · Venda — trilhas convergindo pro hub verde (eco direto do hero) */
.pv-line { stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.pv-hub-halo {
  fill: none; stroke: var(--cta); stroke-width: 1.4; opacity: .5;
  transform-box: fill-box; transform-origin: center;
  animation: netpulse 2.6s cubic-bezier(.2, .6, .4, 1) infinite;
}
.pv-hub { fill: var(--cta); }
.pv-dot { fill: var(--cta); }
.pv-dot--soft { opacity: .7; }

.pilar__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sage);
}
/* cascata do método: 01 → 02 → 03 → 04, mesma família dos pings dos passos */
.pilar__num::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cta);
  animation: ponto-respira 4.5s ease-in-out infinite;
}
.pilar:nth-child(2) .pilar__num::before { animation-delay: 1.1s; }
.pilar:nth-child(3) .pilar__num::before { animation-delay: 2.2s; }
.pilar:nth-child(4) .pilar__num::before { animation-delay: 3.3s; }
.pilar h3 { font-size: 18px; font-weight: 600; margin-top: 6px; }
.pilar p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}
.metodo__frase {
  margin-top: 26px;
  font-size: 17.5px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--areia);
  max-width: 30ch;
}

/* ---------- Prova ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 40px;
}
.stat {
  background: var(--areia-suave);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat b {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--terracota);
}
.stat span { font-size: 13.5px; color: var(--cinza-t); }

.deps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}
.dep {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 18px;
  padding: 18px;
}
.dep blockquote {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--preto);
}
.dep figcaption {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
}
.dep img { border-radius: 50%; object-fit: cover; }
.dep figcaption span { display: flex; flex-direction: column; }
.dep figcaption b { font-size: 13.5px; font-weight: 700; }
.dep figcaption em { font-style: normal; font-size: 12px; color: var(--cinza-t); }

.faces {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
}
.faces__stack { display: flex; }
.faces__stack img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--off);
}
.faces__stack img + img { margin-left: -10px; }
.faces p { font-size: 13.5px; color: var(--cinza-t); }
.faces b { color: var(--preto); }

/* ---------- FAQ ---------- */
.faq { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 16px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--terracota);
  border-bottom: 2px solid var(--terracota);
  transform: rotate(45deg);
  transition: transform .2s;
  margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p {
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--cinza-t);
}
.faq details[open] p { animation: faq-in .28s cubic-bezier(.22, 1, .36, 1); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- CTA final ---------- */
.sec--final {
  position: relative;
  background:
    radial-gradient(700px 420px at -10% 110%, rgba(27, 27, 27, .28), transparent 55%),
    var(--terracota);
  max-width: none;
  color: #fff;
  text-align: center;
  padding: 56px 20px 60px;
  overflow: hidden;
}
/* beacon: o "ponto." da gita pulsando como farol, eco do hub do hero */
.final__beacon {
  position: relative;
  display: block;
  width: 10px; height: 10px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--cta);
}
.final__beacon::before,
.final__beacon::after {
  content: '';
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(47, 192, 151, .55);
  animation: netpulse 4.8s cubic-bezier(.2, .6, .4, 1) infinite;
}
.final__beacon::after { animation-delay: -2.4s; }

.final__title {
  position: relative;
  font-size: clamp(24px, 6.6vw, 34px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.015em;
  max-width: 22ch;
  margin: 0 auto;
}
.cta--final {
  max-width: 380px;
  margin: 26px auto 0;
}
.final__micro {
  position: relative;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}

/* ---------- Footer (mesmo padrão institucional de vagas.grupogita.com.br) ---------- */
.footer {
  background: var(--preto);
  padding: 40px 20px 24px;
}
.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 28px;
}
.footer__brand img { width: 76px; height: auto; opacity: .9; }
.footer__brand p {
  margin-top: 14px;
  max-width: 32ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .55);
}
.footer__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 12px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__info {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .65);
  width: fit-content;
}
.footer__links a { transition: color .18s; }
.footer__links a:hover { color: #fff; }
.footer__links svg, .footer__info svg { flex-shrink: 0; opacity: .85; }

.footer__bottom {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}
.footer__bottom a { color: rgba(255, 255, 255, .45); text-decoration: underline; text-underline-offset: 3px; transition: color .18s; }
.footer__bottom a:hover { color: #fff; }

/* ---------- CTA flutuante (mobile) ---------- */
.floatbar {
  position: fixed;
  left: 14px; right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  animation: float-in .3s cubic-bezier(.22, 1, .36, 1);
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.cta--float {
  min-height: 54px;
  font-size: 14.5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -2px 0 rgba(0, 0, 0, .10),
    0 14px 34px rgba(27, 27, 27, .35);
}

/* ============================================================
   DESKTOP (secundário, mas impecável)
   ============================================================ */
@media (min-width: 1024px) {
  .hero { padding: 0 40px 64px; }
  .net { height: 100%; }
  .net__scene--m { display: none; }
  .net__scene--d { display: block; }
  .hero__bar { padding: 22px 0 14px; }
  .hero__logo { width: 92px; }
  .hero__bar-badge { font-size: 13px; }

  .hero__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
    padding-top: 34px;
  }
  .hero__copy { flex: 1.1; max-width: 600px; }
  .hero__h1 { margin-top: 0; font-size: 47px; }
  .hero__sub { font-size: 18px; margin-top: 20px; }
  .hero__sub--mobile { display: none; }
  .hero__sub--desktop { display: block; }
  .hero__proofs { margin-top: 26px; font-size: 13.5px; gap: 14px; }
  .hero__proofs li + li::before { margin-right: 14px; }

  .hero__quote { display: none; }

  /* Carrossel de depoimentos: cross-fade + dots (linguagem de "pontos" da marca) */
  .quotes {
    position: relative;
    display: block;
    margin-top: 38px;
    max-width: 480px;
    min-height: 118px;
  }
  .quotes__item {
    position: absolute; inset: 0;
    padding: 18px 20px;
    background: rgba(27, 27, 27, .18);
    border-left: 3px solid var(--areia);
    border-radius: 0 14px 14px 0;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
  }
  /* transição só entra em cena depois que o JS "arma" o carrossel (1º frame) —
     sem isso, o browser anima o estado inicial (1) até o declarado (0) e todos
     os depoimentos aparecem sobrepostos por um instante ao carregar a página */
  .quotes.is-ready .quotes__item {
    transition: opacity .55s ease, transform .55s ease;
  }
  .quotes__item.is-active {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .quotes__item p { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
  .quotes__item footer { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .8); }
  .quotes__item img { border-radius: 50%; object-fit: cover; }

  .quotes__dots {
    display: flex; align-items: center; gap: 8px;
    margin-top: 14px;
    padding-left: 3px;
  }
  .quotes__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    transition: background .2s, transform .2s;
  }
  .quotes__dot:hover { background: rgba(255, 255, 255, .55); }
  .quotes__dot.is-active {
    background: var(--cta);
    transform: scale(1.35);
  }

  .card {
    flex: 0 0 430px;
    width: 430px;
    padding: 30px 28px 26px;
    position: sticky;
    top: 24px;
  }
  .card__title { font-size: 23px; }

  .sec { padding: 84px 40px; }
  .sec--passos, .sec--faq { max-width: 760px; }

  .sec--segmentos > *, .sec--metodo__inner { max-width: 980px; }
  .seg-grid { grid-template-columns: repeat(4, 1fr); }

  .pilares { grid-template-columns: repeat(4, 1fr); }
  .metodo__frase { font-size: 21px; max-width: none; }

  .sec--prova { max-width: 1060px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 56px; }
  .stat b { font-size: 30px; }
  .deps { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .sec--final { padding: 92px 40px; }

  .footer { padding: 64px 40px 28px; }
  .footer__grid {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    gap: 48px;
    padding-bottom: 32px;
  }
  .footer__brand { max-width: 340px; }
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
  }

  .floatbar { display: none; }
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .net { display: none; } /* SMIL não obedece a regra acima; esconde a cena inteira */
  .pv-dot { display: none; } /* idem: dots da cena "Venda" viajam via animateMotion */
  .js-anim .reveal { opacity: 1 !important; transform: none !important; }
  .chips--intro .chip { animation: none !important; }
  .step__tap-icon { animation: none !important; }
}
:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 2px;
  border-radius: 6px;
}
