/* ===================================================================
   SEGUIU — NOVAS SEÇÕES DA HOME (sg-home-extra.css)
   Carregar DEPOIS do style.css, só na home.
   Títulos com rabisco (.sg-t), ícone do hero, passo a passo com rolagem,
   depoimentos em vídeo, benefícios e "por que seguidores importam".
   As animações disparam pelo atributo data-sgx="pre" -> "play" (sg-home-extra.js).
   =================================================================== */

/* O style.css tem "img, svg { max-width: 100% }": dentro dos ícones e rabiscos isso
   zerava/encolhia os SVGs. Aqui eles ficam livres. */
.sgx svg,
.sg-t svg,
svg.sg-hero-ico {
  max-width: none;
}

:where(.sgx, .sg-t, .sg-hero-ico) {
  --primary: #6701E6;
  --primary-dark: #4701A1;
  --primary-soft: #F4EBFF;
  --primary-border: #E0CBFA;
  --ink: #1B1533;
  --ink-2: #4A4560;
  --muted: #66627A;
  --edge: #DCE0E8;
  --line: #E5E7EB;
  --section-alt: #F6F7FA;
  --green: #10B981;
  --green-dark: #047857;
  --green-soft: #ECFDF5;
  --f-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body: 'Open Runde', 'Roboto', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.45, 0, .2, 1);
}

/* ---------- Base comum das seções ---------- */
.sgx {
  font-family: var(--f-body);
  color: var(--ink);
}

.sgx *,
.sgx *::before,
.sgx *::after {
  box-sizing: border-box;
}

.sgx-eyebrow {
  display: block;
  font: 700 13px/1 var(--f-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sgx-h2 {
  margin: 12px 0 16px;
  font: 700 clamp(30px, 4vw, 44px)/1.1 var(--f-head);
  letter-spacing: -.035em;
  text-wrap: balance;
  color: var(--ink);
}

.sgx-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

.sgx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--primary);
  border-bottom: 4px solid var(--primary-dark);
  font: 700 16px/1 var(--f-head);
  transition: transform .12s var(--ease), border-bottom-width .12s var(--ease), background-color .15s;
}

.sgx-btn:hover {
  background: #7412FF;
}

.sgx-btn:active {
  transform: translateY(3px);
  border-bottom-width: 1px;
}

/* ===================================================================
   1. TÍTULOS PERSONALIZADOS (mesmo padrão de "Começa em segundos")
   Palavra-chave em violeta + rabisco desenhado a caneta ao entrar na tela.
   =================================================================== */
.sg-t {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--primary);
  font-style: normal;
}

.sg-t__doodle {
  position: absolute;
  overflow: visible;
  pointer-events: none;
}

.sg-t__doodle path,
.sg-t__doodle circle {
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
  stroke-dasharray: 1 1.05;
}

[data-sgx="pre"] .sg-t__doodle :is(path, circle) {
  stroke-dashoffset: 1.02;
}

[data-sgx="play"] .sg-t__doodle :is(path, circle) {
  animation: sg-pen var(--pl, .5s) var(--ease-io) var(--pd, .35s) both;
}

@keyframes sg-pen {
  from {
    stroke-dashoffset: 1.02;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* círculo à mão em volta da palavra */
.sg-t--circle .sg-t__doodle {
  left: -.4em;
  top: -.26em;
  width: calc(100% + .8em);
  height: calc(100% + .54em);
}

.sg-t--circle .sg-t__doodle path {
  stroke-width: 2.2;
}

/* escudo com check acima, à direita */
.sg-t--shield .sg-t__doodle {
  width: .56em;
  height: .64em;
  right: -.5em;
  top: -.62em;
  rotate: 12deg;
}

/* seta de tendência subindo */
.sg-t--up .sg-t__doodle {
  left: -.04em;
  width: calc(100% + .22em);
  height: .5em;
  bottom: -.34em;
}

.sg-t--up .sg-t__doodle path {
  stroke-width: 2.4;
}

/* coração */
.sg-t--heart .sg-t__doodle {
  width: .5em;
  height: .46em;
  right: -.46em;
  top: -.5em;
  rotate: 12deg;
}

[data-sgx="play"] .sg-t--heart .sg-t__doodle {
  animation: sg-beat 1.6s var(--ease) 1.2s infinite;
}

@keyframes sg-beat {

  0%,
  70%,
  100% {
    scale: 1;
  }

  78% {
    scale: 1.18;
  }

  86% {
    scale: .96;
  }

  92% {
    scale: 1.08;
  }
}

/* ponto de interrogação rabiscado */
.sg-t--q .sg-t__doodle {
  width: .4em;
  height: .66em;
  right: -.46em;
  top: -.58em;
  rotate: 14deg;
}

/* brilhos */
.sg-t--spark .sg-t__doodle {
  width: .56em;
  height: .56em;
  right: -.46em;
  top: -.56em;
}

.sg-t--spark .sg-t__doodle path {
  stroke-width: 2.4;
}

/* caminho pontilhado com seta (passo a passo) */
.sg-t--steps .sg-t__doodle {
  left: 0;
  width: calc(100% + .3em);
  height: .42em;
  bottom: -.36em;
}

.sg-t--steps .sg-t__doodle path {
  stroke-width: 2.4;
}

/* grifo duplo */
.sg-t--under .sg-t__doodle {
  left: -.04em;
  width: calc(100% + .08em);
  height: .3em;
  bottom: -.24em;
}

.sg-t--under .sg-t__doodle path {
  stroke-width: 2.4;
}

/* ===================================================================
   2. ÍCONE DO TÍTULO DO HERO (cronômetro com rastro de velocidade)
   =================================================================== */
.sg-hero-ico {
  display: inline-block;
  width: 1.28em;
  height: .96em;
  vertical-align: -.08em;
  margin-right: .18em;
  overflow: visible;
}

.sg-hero-ico .trail {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 1 1.05;
}

.sg-hero-ico .body {
  fill: var(--primary-soft);
  stroke: var(--primary);
  stroke-width: 3.2;
}

.sg-hero-ico .crown {
  fill: var(--primary);
}

.sg-hero-ico .hand {
  stroke: var(--primary);
  stroke-width: 3.2;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 34px 24px;
}

.sg-hero-ico .tick {
  stroke: var(--primary);
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: .45;
}

[data-sgx="pre"] .sg-hero-ico .trail {
  stroke-dashoffset: 1.02;
}

[data-sgx="play"] .sg-hero-ico .trail {
  animation: sg-pen .42s var(--ease-io) var(--pd) both, sg-zipline 2.8s var(--ease) calc(var(--pd) + 1.4s) infinite;
}

[data-sgx="play"] .sg-hero-ico .hand {
  animation: sg-hand 1.1s var(--ease) .15s both, sg-hand-tick 2.8s var(--ease) 1.6s infinite;
}

[data-sgx="play"] .sg-hero-ico .sw {
  animation: sg-sw-kick 2.8s var(--ease) 1.6s infinite;
  transform-box: view-box;
  transform-origin: 34px 24px;
}

@keyframes sg-hand {
  from {
    rotate: -360deg;
  }

  to {
    rotate: 0deg;
  }
}

@keyframes sg-hand-tick {

  0%,
  76%,
  100% {
    rotate: 0deg;
  }

  84% {
    rotate: 70deg;
  }

  90%,
  99% {
    rotate: 60deg;
  }
}

@keyframes sg-zipline {

  0%,
  74%,
  100% {
    translate: 0 0;
    opacity: 1;
  }

  82% {
    translate: -3px 0;
    opacity: .5;
  }

  90% {
    translate: 0 0;
    opacity: 1;
  }
}

@keyframes sg-sw-kick {

  0%,
  74%,
  100% {
    translate: 0 0;
  }

  80% {
    translate: 2px 0;
  }

  88% {
    translate: -1px 0;
  }
}

/* ===================================================================
   3. COMO COMPRAR, PASSO A PASSO (efeito de rolagem)
   Coluna esquerda fixa; cada passo "acende" quando cruza a linha de
   leitura (42% da tela) e a mini-tela dele faz a ação.
   =================================================================== */
.sgx-steps {
  display: grid;
  grid-template-columns: minmax(0, 440fr) minmax(0, 640fr);
  gap: 72px;
  align-items: start;
}

.sgx-steps__intro {
  position: sticky;
  top: 112px;
}

.sgx-steps__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 18px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 13px/1 var(--f-body);
}

.sgx-steps__chip svg {
  width: 16px;
  height: 16px;
}

.sgx-steps__intro .sgx-btn {
  margin-top: 28px;
}

.sgx-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgx-step {
  display: flex;
  gap: 22px;
}

.sgx-step__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: none;
  width: 44px;
}

.sgx-step__key {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font: 700 19px/1 var(--f-head);
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-bottom: 3px solid #000;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.sgx-step__key svg {
  width: 20px;
  height: 20px;
}

.sgx-step__line {
  position: relative;
  flex: 1 0 auto;
  width: 2px;
  min-height: 24px;
  background: var(--line);
  overflow: hidden;
}

.sgx-step__fill {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: top;
  transform: scaleY(var(--p, 1));
}

.sgx-step__body {
  flex: 1;
  min-width: 0;
  max-width: 560px;
  padding: 6px 0 44px;
  display: grid;
  gap: 14px;
}

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

.sgx-step__body h3 {
  margin: 0;
  font: 700 22px/1.2 var(--f-head);
  letter-spacing: -.02em;
  transition: color .3s var(--ease);
}

.sgx-step__body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.sgx-step--done .sgx-step__key {
  background: var(--green);
  border-color: var(--green);
  border-bottom-color: var(--green-dark);
}

/* estado "à frente": apagado */
.sgx-motion [data-step="ahead"] .sgx-step__key {
  background: #fff;
  color: #A3A9B6;
  border-color: var(--edge);
  border-bottom-color: var(--edge);
}

.sgx-motion [data-step="ahead"] h3 {
  color: #A3A9B6;
}

.sgx-motion [data-step="ahead"] .sgx-mock {
  opacity: .55;
}

.sgx-mock {
  transition: opacity .4s var(--ease);
}

/* mini-telas */
.sgx-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sgx-mock--card {
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--edge);
}

.sgx-mock__txt {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.sgx-mock__txt b {
  font: 600 14px/1.25 var(--f-body);
  color: var(--ink);
}

.sgx-mock__txt span {
  font: 500 12.5px/1.3 var(--f-body);
  color: var(--muted);
}

/* passo 1: interruptor desligando */
.sgx-toggle {
  width: 44px;
  height: 26px;
  flex: none;
  padding: 3px;
  border-radius: 999px;
  background: #D5D8E0;
  transition: background-color .35s var(--ease);
}

.sgx-toggle i {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: translate .35s var(--ease);
}

.sgx-motion [data-step="ahead"] .sgx-toggle {
  background: var(--primary);
}

.sgx-motion [data-step="ahead"] .sgx-toggle i {
  translate: 18px 0;
}

[data-step="act"] .sgx-toggle {
  transition-delay: .45s;
}

[data-step="act"] .sgx-toggle i {
  transition-delay: .45s;
}

.sgx-okline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 12px/1 var(--f-body);
  color: var(--green-dark);
}

/* chips de pacote */
.sgx-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 64px;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--edge);
  border-bottom: 3px solid var(--edge);
  font: 700 16px/1 var(--f-head);
  transition: background-color .2s, color .2s, border-color .2s, transform .12s var(--ease), border-bottom-width .12s;
}

.sgx-chip.is-on {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  border-bottom-color: var(--primary-dark);
}

.sgx-motion [data-step="ahead"] .sgx-chip.is-on {
  background: #fff;
  color: var(--ink);
  border-color: var(--edge);
  border-bottom-color: var(--edge);
}

[data-step="act"] .sgx-chip.is-on {
  animation: sgx-press .7s var(--ease) .45s backwards;
}

@keyframes sgx-press {
  0% {
    background: #fff;
    color: var(--ink);
    border-color: var(--edge);
    border-bottom-color: var(--edge);
  }

  40% {
    transform: translateY(3px);
    border-bottom-width: 1px;
    background: #fff;
    color: var(--ink);
    border-color: var(--edge);
  }

  55% {
    transform: translateY(3px);
    border-bottom-width: 1px;
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  100% {
    transform: none;
  }
}

/* campo de @ digitando */
.sgx-field {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 360px;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid var(--edge);
  font: 600 15px/1 var(--f-body);
  color: var(--ink);
}

.sgx-field .at {
  color: var(--primary);
  font-weight: 800;
}

.sgx-field .caret {
  width: 2px;
  height: 20px;
  background: var(--primary);
  margin-left: 1px;
  animation: sgx-blink 1s steps(1) infinite;
}

@keyframes sgx-blink {
  50% {
    opacity: 0;
  }
}

.sgx-type>span {
  display: inline-block;
}

.sgx-motion [data-step="ahead"] .sgx-type>span {
  opacity: 0;
}

[data-step="act"] .sgx-type>span {
  animation: sgx-fade 1ms calc(.4s + var(--k) * 70ms) backwards;
}

@keyframes sgx-fade {
  from {
    opacity: 0;
  }
}

.sgx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font: 700 12.5px/1 var(--f-body);
}

.sgx-badge svg {
  width: 14px;
  height: 14px;
}

.sgx-badge--green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.sgx-badge--pix {
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  background: #00BFA5;
  color: #fff;
  border-bottom: 3px solid #00897B;
  font-size: 13.5px;
}

.sgx-motion [data-step="ahead"] [data-pop] {
  opacity: 0;
}

[data-step="act"] [data-pop] {
  animation: sgx-pop .42s var(--ease) calc(.4s + var(--d, 0s)) backwards;
}

@keyframes sgx-pop {
  0% {
    opacity: 0;
    scale: .4;
  }

  60% {
    opacity: 1;
    scale: 1.12;
  }

  100% {
    scale: 1;
  }
}

/* passo 5: contador */
.sgx-live {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--edge);
}

.sgx-live__ig {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(45deg, #F9CE34, #EE2A7B 50%, #6228D7);
  color: #fff;
}

.sgx-live__ig svg {
  width: 20px;
  height: 20px;
}

.sgx-live__main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 8px;
}

.sgx-live__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sgx-live__num {
  display: inline-flex;
  font: 800 22px/1 var(--f-head);
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.sgx-live__row span.u {
  font: 500 13px/1 var(--f-body);
  color: var(--muted);
}

.sgx-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  overflow: hidden;
}

.sgx-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--primary);
  transform-origin: left;
}

.sgx-motion [data-step="ahead"] .sgx-bar i {
  transform: scaleX(.04);
}

[data-step="act"] .sgx-bar i {
  transition: transform 1.6s var(--ease) .5s;
}

.sgx-odo {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}

.sgx-odo>span {
  display: flex;
  flex-direction: column;
  transition: transform 1.6s var(--ease) .5s;
}

.sgx-odo>span>span {
  height: 1em;
  line-height: 1;
}

.sgx-motion [data-step="ahead"] .sgx-odo>span {
  transform: translateY(0) !important;
}

/* ===================================================================
   4. DEPOIMENTOS EM VÍDEO (4 shorts verticais 9:16)
   =================================================================== */
.sgx-vhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.sgx-score {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--edge);
}

.sgx-score b {
  font: 800 30px/1 var(--f-head);
  letter-spacing: -.03em;
}

.sgx-score small {
  display: block;
  font: 500 12.5px/1.3 var(--f-body);
  color: var(--muted);
}

.sgx-stars {
  display: inline-flex;
  gap: 3px;
}

.sgx-stars i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #00B67A;
}

.sgx-stars i svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

.sgx-vids {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sgx-vid {
  display: grid;
  gap: 12px;
}

.sgx-vid__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(160deg, #8B5CF6, #4701A1);
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--edge);
  transition: transform .25s var(--ease);
}

.sgx-vid__frame:hover {
  transform: translateY(-4px);
}

.sgx-vid__frame :is(video, img, .sgx-vid__poster) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgx-vid__poster {
  display: block;
}

.sgx-vid__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 21, 51, 0) 50%, rgba(27, 21, 51, .78) 100%);
  pointer-events: none;
  transition: opacity .3s;
}

.sgx-vid__play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border: 0;
  border-bottom: 3px solid var(--primary-border);
  cursor: pointer;
  transition: scale .2s var(--ease), opacity .2s;
}

.sgx-vid__play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.sgx-vid__frame:hover .sgx-vid__play {
  scale: 1.08;
}

.sgx-vid__play::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  animation: sgx-ring 2.2s var(--ease) infinite;
}

@keyframes sgx-ring {
  0% {
    scale: .85;
    opacity: 1;
  }

  100% {
    scale: 1.35;
    opacity: 0;
  }
}

.sgx-vid__dur {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(27, 21, 51, .6);
  color: #fff;
  font: 700 11.5px/1 var(--f-body);
}

.sgx-vid__who {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 6px;
  color: #fff;
  pointer-events: none;
  transition: opacity .3s;
}

.sgx-vid__who b {
  font: 700 15px/1.2 var(--f-head);
}

.sgx-vid__who span {
  font: 500 12.5px/1.2 var(--f-body);
  opacity: .85;
}

.sgx-vid__chip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  font: 700 11.5px/1 var(--f-body);
}

.sgx-vid__chip svg {
  width: 12px;
  height: 12px;
}

.sgx-vid__quote {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.sgx-vid__quote b {
  color: var(--ink);
  font-weight: 600;
}

.sgx-vid.is-playing .sgx-vid__play,
.sgx-vid.is-playing .sgx-vid__shade,
.sgx-vid.is-playing .sgx-vid__who,
.sgx-vid.is-playing .sgx-vid__dur {
  opacity: 0;
  pointer-events: none;
}

.sgx-vid__prog {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
  opacity: 0;
}

.sgx-vid__prog i {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}

.sgx-vid.is-playing .sgx-vid__prog {
  opacity: 1;
}

.sgx-vid.is-playing .sgx-vid__prog i {
  transition: transform 12s linear;
  transform: scaleX(1);
}

/* ===================================================================
   5. BENEFÍCIOS: ciclo com a logo no centro
   =================================================================== */
.sgx-ben {
  display: grid;
  grid-template-columns: minmax(0, 600fr) minmax(0, 520fr);
  gap: 64px;
  align-items: center;
}

.sgx-ben__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.sgx-ben__item {
  display: flex;
  gap: 16px;
  padding: 18px 16px;
  border-radius: 18px;
  cursor: default;
  border: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}

.sgx-ben__item.is-on {
  background: #fff;
  border-color: var(--line);
  border-bottom: 3px solid var(--edge);
}

.sgx-ben__n {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font: 700 17px/1 var(--f-head);
  border-bottom: 3px solid #000;
  transition: background-color .35s var(--ease), border-color .35s;
}

.sgx-ben__item.is-on .sgx-ben__n {
  background: var(--primary);
  border-bottom-color: var(--primary-dark);
}

.sgx-ben__item h3 {
  margin: 4px 0 6px;
  font: 700 21px/1.2 var(--f-head);
  letter-spacing: -.02em;
}

.sgx-ben__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.sgx-loop {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 500 / 470;
  justify-self: center;
  margin: 28px 0 48px;
}

.sgx-loop__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sgx-loop__ring path {
  fill: none;
  stroke: #BFC4D2;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-dasharray: .1 12;
}

/* posto: ícone solto (sem círculo) + rótulo embaixo */
.sgx-st {
  position: absolute;
  width: 0;
  height: 0;
}

.sgx-st__ico {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(92px, 25vw, 132px);
  aspect-ratio: 1;
  translate: -50% -50%;
  overflow: visible;
}

.sgx-st__label {
  position: absolute;
  left: 0;
  top: calc(clamp(92px, 25vw, 132px) / 2 + 6px);
  translate: -50% 0;
  width: 180px;
  text-align: center;
  font: 700 17px/1.2 var(--f-head);
  letter-spacing: -.01em;
  color: var(--ink);
}

.sgx-core {
  position: absolute;
  left: 50%;
  top: 52%;
  translate: -50% -50%;
  width: 30%;
}

.sgx-core svg {
  display: block;
  width: 100%;
  height: auto;
  fill: #6A40E4;
}

/* traços dos ícones (mesma linguagem dos ícones da Seguiu: contorno tinta + violeta + lilás) */
.i-ink {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i-vio {
  fill: var(--primary);
}

.i-lil {
  fill: var(--primary-border);
}

.i-soft {
  fill: var(--primary-soft);
}

.i-white {
  fill: #fff;
}

.i-pink {
  fill: #FF6FB1;
}

/* entrada */
[data-sgx="pre"] .sgx-loop__ring path {
  opacity: 0;
}

[data-sgx="play"] .sgx-loop__ring path {
  animation: sgx-fadein .7s var(--ease) calc(.1s + var(--i) * .12s) backwards;
}

@keyframes sgx-fadein {
  from {
    opacity: 0;
  }
}

[data-sgx="pre"] :is(.sgx-st__ico, .sgx-st__label, .sgx-core) {
  opacity: 0;
}

[data-sgx="play"] .sgx-st__ico {
  animation: sgx-popc .55s var(--ease) calc(.3s + var(--i) * .15s) backwards;
}

[data-sgx="play"] .sgx-st__label {
  animation: sgx-fadein .5s var(--ease) calc(.45s + var(--i) * .15s) backwards;
}

[data-sgx="play"] .sgx-core {
  animation: sgx-land .8s var(--ease) .95s backwards;
}

@keyframes sgx-popc {
  0% {
    opacity: 0;
    scale: .3;
  }

  60% {
    opacity: 1;
    scale: 1.1;
  }

  100% {
    scale: 1;
  }
}

@keyframes sgx-land {
  0% {
    opacity: 0;
    translate: -50% -120%;
  }

  55% {
    opacity: 1;
    translate: -50% -42%;
  }

  75% {
    translate: -50% -54%;
  }

  100% {
    translate: -50% -50%;
  }
}

/* vida própria dos ícones, discreta */
[data-sgx="play"] .i-lid {
  animation: sgx-blink 4.8s var(--ease) 2s infinite;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

@keyframes sgx-blink {

  0%,
  92%,
  100% {
    scale: 1 1;
  }

  95% {
    scale: 1 .1;
  }
}

[data-sgx="play"] .i-ray {
  animation: sgx-ray 4.8s var(--ease) 2s infinite;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

@keyframes sgx-ray {

  0%,
  90%,
  100% {
    scale: 1;
  }

  94% {
    scale: 1.25;
  }
}

.i-check {
  stroke-dasharray: 1 1.05;
}

[data-sgx="pre"] .i-check {
  stroke-dashoffset: 1.02;
}

[data-sgx="play"] .i-check {
  animation: sg-pen .45s var(--ease-io) 1.1s both;
}

[data-sgx="play"] .i-leaf {
  animation: sgx-sway 3.6s ease-in-out 1.6s infinite;
  transform-box: fill-box;
  transform-origin: 0% 100%;
}

[data-sgx="play"] .i-leaf--r {
  transform-origin: 100% 100%;
  animation-delay: 1.9s;
}

@keyframes sgx-sway {

  0%,
  100% {
    rotate: 0deg;
  }

  50% {
    rotate: -6deg;
  }
}

[data-sgx="play"] .i-bub {
  animation: sgx-float 3.2s ease-in-out 1.4s infinite;
}

[data-sgx="play"] .i-bub--2 {
  animation-delay: 2s;
}

@keyframes sgx-float {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

/* hover no texto ou no ícone: o ícone dá um "pulo" */
.sgx-st.is-on .sgx-st__ico {
  animation: sgx-hop .6s var(--ease);
}

@keyframes sgx-hop {
  30% {
    translate: -50% -58%;
    scale: 1.06;
  }

  60% {
    translate: -50% -48%;
  }

  100% {
    translate: -50% -50%;
  }
}

/* ===================================================================
   6. POR QUE SEGUIDORES IMPORTAM (dois cartões + frase que acende)
   =================================================================== */
.sgx-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.sgx-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--edge);
}

.sgx-card--lilac {
  background: var(--primary-soft);
  border-color: var(--primary-border);
  border-bottom-color: #CDB2F4;
}

.sgx-card h3 {
  margin: 6px 0 0;
  font: 700 24px/1.2 var(--f-head);
  letter-spacing: -.02em;
}

.sgx-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.sgx-card p.strong {
  color: var(--ink);
  font-weight: 600;
}

.sgx-scene {
  height: 210px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.sgx-scene svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sgx-card:not(.sgx-card--lilac) .sgx-scene {
  background: var(--section-alt);
}

.sgx-card--lilac .sgx-scene {
  background: #fff;
}

.sc-grid {
  stroke: #E3E6EE;
  stroke-width: 1;
}

.sc-slow {
  fill: none;
  stroke: #9AA1B1;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: .01 .03;
}

.sc-fast {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1.05;
}

.sc-area {
  fill: url(#sgx-area);
}

.sc-tag rect {
  fill: #fff;
  stroke: var(--edge);
  stroke-width: 1.2;
}

.sc-tag text {
  font: 700 12px var(--f-body);
  fill: var(--muted);
}

.sc-chip rect {
  fill: var(--primary);
}

.sc-chip text {
  font: 800 14px var(--f-head);
  fill: #fff;
}

.sc-note {
  font: 600 12px var(--f-body);
  fill: #9AA1B1;
}

[data-sgx="pre"] .sc-fast {
  stroke-dashoffset: 1.02;
}

[data-sgx="play"] .sc-fast {
  animation: sg-pen 1.6s var(--ease-io) .5s both;
}

[data-sgx="pre"] .sc-area {
  opacity: 0;
}

[data-sgx="play"] .sc-area {
  animation: sgx-fadein 1s var(--ease) 1.4s both;
}

[data-sgx="pre"] :is(.sc-chip, .sc-pop) {
  opacity: 0;
}

[data-sgx="play"] :is(.sc-chip, .sc-pop) {
  animation: sgx-pop .5s var(--ease) calc(1.6s + var(--d, 0s)) backwards;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

[data-sgx="play"] .sc-slow {
  animation: sgx-crawl 5s linear infinite;
}

@keyframes sgx-crawl {
  to {
    stroke-dashoffset: -.4;
  }
}

[data-sgx="pre"] .sc-tag {
  opacity: 0;
}

[data-sgx="play"] .sc-tag {
  animation: sgx-drop .5s var(--ease) calc(.2s + var(--i) * .12s) backwards;
}

@keyframes sgx-drop {
  from {
    opacity: 0;
    translate: 0 -10px;
  }
}

.sgx-say {
  max-width: 880px;
  margin: 64px auto 0;
  text-align: center;
  font: 700 clamp(22px, 2.6vw, 30px)/1.35 var(--f-head);
  letter-spacing: -.02em;
}

.sgx-say .w {
  color: #C4C8D2;
  transition: color .35s var(--ease);
}

.sgx-say .w.on {
  color: var(--ink);
}

.sgx-say .w.hl.on {
  color: var(--primary);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1023px) {

  .sgx-steps,
  .sgx-ben {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sgx-steps__intro {
    position: static;
  }

  .sgx-vids {
    grid-template-columns: repeat(4, 72%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .sgx-vids::-webkit-scrollbar {
    display: none;
  }

  .sgx-vid {
    scroll-snap-align: start;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .sgx-vids {
    grid-template-columns: repeat(4, 42%);
  }
}

@media (max-width: 767px) {
  .sgx-why {
    grid-template-columns: 1fr;
  }

  .sgx-step {
    gap: 16px;
  }

  .sgx-step__rail {
    width: 36px;
  }

  .sgx-step__key {
    width: 36px;
    height: 36px;
    font-size: 17px;
    border-radius: 10px;
  }

  .sgx-step__body h3 {
    font-size: 19px;
  }

  .sgx-card {
    padding: 22px;
  }

  .sgx-st__label {
    font-size: 13px;
    width: 120px;
  }

  .sgx-loop {
    width: calc(100% - 64px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .sgx *,
  .sgx *::before,
  .sgx *::after {
    animation: none !important;
    transition: none !important;
  }

  .sgx [data-sgx="pre"] * {
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}