/* ========== RESET & BASE ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #fcfcfc;
  --grid-line: #f0f0f0;
  --surface: #ffffff;
  --border: #e7e4dc;
  --text: #26282c;
  --text-muted: #6c6f76;

  /* Mercado Livre brand accents — yellow for badges/borders/icons, blue for text/CTA/headings */
  --blue: #2d3277;
  --blue-dark: #1f2357;
  --blue-soft: rgba(45, 50, 119, 0.06);

  --yellow: #ffe600;
  --yellow-dark: #e6ce00;
  --yellow-soft: rgba(255, 230, 0, 0.22);

  /* Header flutuante */
  --charcoal: #3a342e;

  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 16px 40px -20px rgba(30, 28, 20, 0.16);
  --max-width: 1160px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* âncoras não ficam escondidas atrás do header fixo */
}

body {
  font-family: var(--font-sans);
  /* papel milimetrado discreto, do topo ao rodapé */
  background-color: #fff;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--blue);
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 14px auto 36px;
  font-size: 1rem;
}

.highlight {
  color: var(--blue);
  font-weight: 900;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--yellow);
  color: var(--blue-dark);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(31, 35, 87, 0.35);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--large {
  padding: 14px 30px;
  font-size: 1.02rem;
}

.btn--full {
  width: 100%;
}

/* ========== HEADER ========== */
/* Barra flutuante: afastada das bordas, cantos arredondados, fixa ao rolar */
.header {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px 16px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 10px 10px 22px;
  /* efeito vidro: fundo translúcido + desfoque do que passa atrás */
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--text);
  border-radius: 22px;
  box-shadow: 0 16px 40px -24px rgba(31, 35, 87, 0.3);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span {
  color: var(--blue);
}

.header .logo {
  color: var(--text);
}

.header .logo span {
  color: var(--blue);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__nav {
  display: none;
  gap: 24px;
}

.header__nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.header__nav a:hover {
  color: var(--blue);
}


/* botão "Entrar" — visível também no celular */
.header__login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.header__login:hover {
  background: var(--text);
  color: #fff;
}

.header__login svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* no celular fica só o "Entrar"; o botão de compra aparece a partir do tablet */
.header__cta {
  display: none;
}

@media (min-width: 560px) {
  .header__cta {
    display: inline-flex;
  }
}

@media (min-width: 720px) {
  .header__right {
    gap: 20px;
  }

  .header {
    top: 24px;
    margin: 24px 24px 0;
  }

  .header__inner {
    border-radius: 24px;
  }

  .header__nav {
    display: flex;
  }
}


/* celulares estreitos: tudo mais compacto para logo + Entrar + botão caberem */
@media (max-width: 420px) {
  /* botões longos podem quebrar em duas linhas em vez de estourar a tela */
  .btn--full {
    white-space: normal;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header {
    margin: 12px 10px 0;
  }

  .header__inner {
    padding: 8px 8px 8px 14px;
    gap: 8px;
  }

  .header__right {
    gap: 8px;
  }

  .logo {
    font-size: 1rem;
  }

  .header__login {
    padding: 7px 11px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .header__login svg {
    width: 14px;
    height: 14px;
  }

  .header__cta {
    padding: 9px 14px;
    font-size: 0.78rem;
  }
}

/* ========== HERO ========== */
.hero {
  padding: 28px 0 48px; /* header é sticky (ocupa espaço no fluxo), então só o respiro */
}

.hero__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--text);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  overflow-wrap: break-word;
}

/* Letra amarela com contorno fino — sem ele o amarelo some no fundo branco */
.hero__accent {
  color: var(--yellow);
  -webkit-text-stroke: 0.025em var(--blue-dark);
  paint-order: stroke fill;
}

/* Logo no meio da frase: "primeira venda no [Mercado Livre] em 7 dias" */
.hero__brand {
  display: inline-block;
  width: auto;
  height: 0.9em;
  margin: 0 0.06em;
  vertical-align: -0.12em;
  border-radius: 0.12em;
  animation: brand-pulse 2s ease-in-out infinite;
}

/* Pulso: cresce um pouco e solta um brilho amarelo */
@keyframes brand-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 230, 0, 0.6);
  }
  35% {
    transform: scale(1.08);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 0.2em rgba(255, 230, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0.2em rgba(255, 230, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__brand {
    animation: none;
  }
}

.hero__subtitle {
  margin-top: 22px;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 1.22rem;
  }
}

.hero__actions {
  margin-top: 28px;
  width: 100%;
  max-width: 340px;
}

.hero__actions .btn {
  width: 100%;
}

.hero__proof {
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Carrossel de alunos: duas cópias da lista andando juntas = loop sem emenda */
.students {
  width: 100%;
  margin-top: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.students__track {
  display: flex;
  width: max-content;
  animation: students-scroll 45s linear infinite;
}

.students:hover .students__track {
  animation-play-state: paused;
}

.students__list {
  display: flex;
  gap: 12px;
  padding: 4px 6px;
}

.students__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}

.students__item img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.students__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-align: left;
}

.students__info strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.students__info small {
  margin-top: 3px;
  padding: 1px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--yellow);
  border-radius: 999px;
}

@keyframes students-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .students__track {
    animation: none;
  }
}

/* VSL horizontal — moldura 16:9; o embed (iframe/video) ocupa a moldura inteira */
.vsl {
  width: 100%;
  max-width: 760px;
  margin-top: 32px;
}

.vsl__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--charcoal);
  border: 3px solid var(--yellow);
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(30, 26, 22, 0.55);
}

.vsl__frame iframe,
.vsl__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.vsl__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 600;
}

.vsl__play {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border-radius: 50%;
}

.vsl__play svg {
  width: 30px;
  height: 30px;
  fill: var(--blue-dark);
  margin-left: 4px;
}

/* Guarantee seal — reused in hero, offer, final CTA */
.guarantee-seal {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1.5px solid var(--yellow);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: left;
}

/* Moedas pulando em cima dos cantos do selo, alternando lado a lado */
.guarantee-seal--coins {
  position: relative;
  margin-top: 64px;
}

.seal-coin {
  position: absolute;
  bottom: calc(100% - 6px);
  width: 50px;
  height: auto;
  transform-origin: 50% 100%;
  animation: coin-bounce 1.2s ease-in-out infinite;
  pointer-events: none;
}

.seal-coin--left {
  left: 8px;
}

.seal-coin--middle {
  left: 50%;
  translate: -50% 0;
  animation-delay: -0.3s;
}

.seal-coin--right {
  right: 8px;
  scale: -1 1; /* espelhada, olhando para a outra moeda */
  animation-delay: -0.6s;
}

@keyframes coin-bounce {
  0%, 100% {
    transform: translateY(0) scaleY(0.9);
  }
  12% {
    transform: translateY(0) scaleY(1);
  }
  45% {
    transform: translateY(-22px) rotate(-8deg);
  }
  70% {
    transform: translateY(-4px) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .seal-coin {
    animation: none;
  }
}

.guarantee-seal__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.guarantee-seal strong {
  display: block;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 800;
}

.guarantee-seal span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========== CAMINHO — JORNADA (trilha até o resultado) ========== */
/* Cores chapadas da marca: azul-marinho e amarelo, sem brilho nem degradê. */
.problem {
  position: relative;
}

.journey {
  --j-ink: var(--blue);
  --j-text: var(--text-muted);
  --j-line: #d9d6cc;

  --journey-gutter: 220px;
  --journey-offset: 56px;
  --journey-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

/* contador de progresso fixo enquanto a trilha está na tela */
.journey__progress {
  position: sticky;
  top: 84px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 auto 36px;
  padding: 8px 12px 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--j-ink);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.journey:not(.is-js) .journey__progress {
  display: none;
}

.journey__progress strong {
  display: inline-block;
  min-width: 0.7em;
  text-align: center;
  font-weight: 800;
}

.journey__progress-end {
  display: none;
  font-weight: 800;
}

.journey.is-complete .journey__progress-step {
  display: none;
}

.journey.is-complete .journey__progress-end {
  display: inline;
}

.journey__progress-pips {
  display: flex;
  align-items: center;
  gap: 4px;
}

.journey__progress-pips i {
  width: 18px;
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  transition: background 0.3s ease;
}

.journey__progress-pips i.is-on {
  background: var(--j-ink);
}

.journey__progress-pips .journey__progress-pip--end {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-left: 2px;
}

.journey__progress-pips .journey__progress-pip--end.is-on {
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--j-ink);
}

/* ---------- trilha (SVG) ---------- */
.journey__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.journey__line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* faixa larga e suave por baixo da trilha */
.journey__line--road {
  stroke: var(--blue-soft);
  stroke-width: 20;
}

/* pontos do caminho ainda não percorrido */
.journey__line--track {
  stroke: var(--j-line);
  stroke-width: 5;
  stroke-dasharray: 0.1 14;
}

.journey__line--draw {
  stroke: var(--j-ink);
  stroke-width: 4;
}

.journey__line--measure {
  stroke: none;
}

.journey__spark {
  fill: var(--surface);
  stroke: var(--j-line);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.7);
  transition: fill 0.3s ease, stroke 0.3s ease, transform 0.45s var(--journey-spring);
}

.journey__spark.is-lit {
  fill: var(--yellow);
  stroke: var(--j-ink);
  transform: scale(1);
}

.journey__head {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.journey.is-traveling .journey__head {
  opacity: 1;
}

.journey__head-glow {
  fill: var(--yellow-soft);
}

.journey__head-dot {
  fill: var(--yellow);
  stroke: var(--j-ink);
  stroke-width: 2.5;
}

/* ---------- nós ---------- */
.journey__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.journey__node {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.journey__marker {
  position: relative;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--j-ink);
  border: 4px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border), 0 10px 22px -12px rgba(31, 35, 87, 0.5);
  transition: opacity 0.5s ease, scale 0.55s var(--journey-spring), box-shadow 0.35s ease;
}

/* anel amarelo que pulsa no marcador ativo */
.journey__marker::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--yellow-dark);
  opacity: 0;
  pointer-events: none;
}

.journey__node.is-active .journey__marker {
  box-shadow: 0 0 0 1px var(--border), 0 0 0 7px var(--yellow-soft), 0 10px 22px -12px rgba(31, 35, 87, 0.5);
}

.journey__node.is-active .journey__marker::after {
  animation: journey-ring 1.8s ease-out infinite;
}

.journey__icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.journey__icon svg {
  width: 48%;
  height: 48%;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.journey__icon .journey__icon-accent {
  stroke: var(--yellow);
}

.journey__icon .journey__icon-fill {
  fill: var(--yellow);
}

.journey__step {
  position: absolute;
  bottom: -12px;
  background: var(--yellow);
  color: var(--j-ink);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 9px;
  border-radius: 999px;
  border: 2px solid var(--surface);
}

/* ---------- cards ---------- */
.journey__card {
  position: relative;
  overflow: hidden;
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
  box-shadow: var(--shadow);
  animation: journey-float 7s ease-in-out infinite;
  transition:
    opacity 0.55s ease,
    translate 0.55s ease,
    scale 0.35s var(--journey-spring),
    rotate 0.35s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* número grande de fundo, tipo marca d'água */
.journey__card[data-step]::after {
  content: attr(data-step);
  position: absolute;
  right: 12px;
  bottom: -30px;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--j-ink);
  opacity: 0.05;
  pointer-events: none;
}

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

.journey__node:nth-child(1) .journey__card { rotate: -0.6deg; animation-delay: 0s; }
.journey__node:nth-child(2) .journey__card { rotate: 0.5deg; animation-delay: -1.8s; }
.journey__node:nth-child(3) .journey__card { rotate: -0.4deg; animation-delay: -3.5s; }
.journey__node:nth-child(4) .journey__card { rotate: 0.6deg; animation-delay: -5.2s; }

.journey__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 3px 10px 3px 8px;
  background: var(--blue-soft);
  border-radius: 999px;
  color: var(--j-ink);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.journey__badge svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: var(--j-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey__card h3 {
  color: var(--j-ink);
  font-size: 1.1rem;
  font-weight: 700;
}

.journey__card p {
  margin-top: 8px;
  color: var(--j-text);
  font-size: 0.93rem;
}

.journey__node.is-active .journey__card {
  background: var(--surface);
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px var(--yellow-soft), var(--shadow);
}

/* ---------- marco final: conquista ---------- */
.journey__marker--end {
  width: 72px;
  height: 72px;
  background: var(--yellow);
}

.journey__marker--end .journey__icon svg {
  width: 52%;
  height: 52%;
  stroke: var(--j-ink);
}

.journey__node--end .journey__marker::after {
  border-color: var(--j-ink);
  animation: journey-ring 2s ease-out infinite;
}

/* confete que estoura uma vez quando a linha chega no final */
.journey__burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.journey__burst i {
  position: absolute;
  left: -4px;
  top: -6px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  background: var(--piece, var(--yellow));
  opacity: 0;
}

.journey__burst i:nth-child(3n + 1) { --piece: var(--blue); }
.journey__burst i:nth-child(3n + 2) { --piece: var(--yellow); }
.journey__burst i:nth-child(3n + 3) { --piece: var(--yellow-dark); }

.journey__burst i:nth-child(1)  { --x: -70px;  --y: -60px;  --r: 200deg; }
.journey__burst i:nth-child(2)  { --x: 72px;   --y: -66px;  --r: -160deg; }
.journey__burst i:nth-child(3)  { --x: -98px;  --y: -12px;  --r: 120deg; }
.journey__burst i:nth-child(4)  { --x: 96px;   --y: -6px;   --r: -140deg; }
.journey__burst i:nth-child(5)  { --x: -46px;  --y: -98px;  --r: 260deg; }
.journey__burst i:nth-child(6)  { --x: 50px;   --y: -102px; --r: -220deg; }
.journey__burst i:nth-child(7)  { --x: -112px; --y: 36px;   --r: 90deg; }
.journey__burst i:nth-child(8)  { --x: 112px;  --y: 40px;   --r: -100deg; }
.journey__burst i:nth-child(9)  { --x: 0px;    --y: -116px; --r: 180deg; }
.journey__burst i:nth-child(10) { --x: -30px;  --y: 72px;   --r: 140deg; }
.journey__burst i:nth-child(11) { --x: 34px;   --y: 76px;   --r: -150deg; }
.journey__burst i:nth-child(12) { --x: -82px;  --y: 80px;   --r: 210deg; }
.journey__burst i:nth-child(13) { --x: 84px;   --y: 84px;   --r: -190deg; }
.journey__burst i:nth-child(14) { --x: 4px;    --y: 98px;   --r: 160deg; }

.journey__node--end.is-visible .journey__burst i {
  animation: journey-burst 1.6s cubic-bezier(0.15, 0.7, 0.3, 1) 0.35s both;
}

.journey__burst i:nth-child(even) {
  animation-delay: 0.45s !important;
}

/* card final: amarelo da marca, chapado */
.journey__card--end {
  padding: 30px 24px 28px;
  border: 0;
  color: var(--j-ink);
  background: var(--yellow);
  box-shadow: var(--shadow);
  animation: none;
}

.journey__end-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--j-ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 15px 6px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.journey__end-tag svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey__card--end h3 {
  color: var(--j-ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.journey__card--end p {
  color: var(--blue-dark);
  font-weight: 500;
}

.journey__node--end.is-active .journey__card--end {
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--j-ink), var(--shadow);
}

/* ---------- microinterações (desktop) ---------- */
@media (hover: hover) and (pointer: fine) {
  .journey__node:hover .journey__marker {
    scale: 1.08;
  }

  .journey__node:hover .journey__card {
    scale: 1.02;
    rotate: 0deg;
    background: var(--surface);
    border-color: var(--j-ink);
  }

  .journey__node--end:hover .journey__card--end {
    background: var(--yellow);
  }
}

/* ---------- entrada dos nós (só quando o JS está ativo) ----------
   O JS marca cada nó com .is-visible quando a linha chega nele.
   Marcadores só mudam opacidade e escala: o centro não se move,
   então continuam servindo de âncora pra linha SVG. */
.journey.is-js :where(.journey__node:not(.is-visible)) .journey__marker {
  opacity: 0;
  scale: 0.5;
}

.journey.is-js :where(.journey__node:not(.is-visible)) .journey__card {
  opacity: 0;
  translate: 0 18px;
}

@keyframes journey-ring {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

@keyframes journey-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes journey-burst {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.4); }
  6% { opacity: 1; }
  30% { opacity: 1; }
  45%, 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .journey__marker,
  .journey__card,
  .journey__spark,
  .journey__progress-pips i {
    transition: none;
  }

  .journey__card,
  .journey__node .journey__marker::after,
  .journey__burst i {
    animation: none !important;
  }
}

/* ========== GARANTIA ========== */
.guarantee-how {
  text-align: center;
}

.guarantee-how__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.guarantee-panel {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 22px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: left;
}

/* ---- selo: círculo simples com o logo do Mercado Livre ---- */
.seal-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.seal-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 156px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  background: var(--surface);
}

.seal-badge img {
  width: 48px;
  height: 48px;
}

.seal-badge strong {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
}

.seal-badge span {
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.seal-row__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
}

.seal-row__text p {
  margin-top: 8px;
  max-width: 460px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.seal-row__text b {
  color: var(--text);
  font-weight: 800;
}

/* ---- passos ---- */
.steps {
  display: grid;
  list-style: none;
  gap: 22px;
  margin: 28px 0 0;
}

.step {
  position: relative;
  padding-left: 54px;
}

.step__number {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 42px;
  bottom: -24px;
  border-left: 2px solid var(--border);
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  padding-top: 7px;
}

.step p {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---- faixa final ---- */
.no-fine-print {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  border-radius: 14px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.45;
}

.no-fine-print strong {
  color: var(--blue-dark);
}

.no-fine-print svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 620px) {
  .guarantee-panel {
    padding: 40px 36px 34px;
  }

  .seal-row {
    flex-direction: row;
    text-align: left;
    gap: 32px;
    padding-bottom: 34px;
  }
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 34px;
  }

  .step {
    padding-left: 0;
    padding-top: 50px;
  }

  .step h3 {
    padding-top: 0;
  }

  .step:not(:last-child)::before {
    left: 44px;
    right: -24px;
    top: 17px;
    bottom: auto;
    border-left: 0;
    border-top: 2px solid var(--border);
  }
}

/* ========== OFERTA / PREÇO ========== */
.offer {
  text-align: center;
}

.offer__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  background: var(--yellow);
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

.offer__grid {
  display: grid;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

/* ---- lista do que está incluso ---- */
.offer__includes {
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.offer__includes h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
}

.offer__list {
  display: grid;
  gap: 16px;
}

.offer__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.offer__list svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 5px;
  background: var(--yellow);
  border-radius: 50%;
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer__list strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.offer__list span {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* etiqueta "Bônus" */
.offer__list em {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  vertical-align: 2px;
}

/* ---- cartão de preço ---- */
.offer__card {
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 2px solid var(--yellow);
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(31, 35, 87, 0.35);
  text-align: center;
}

.offer__card-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.offer__old {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.offer__old s {
  text-decoration-thickness: 2px;
}

.offer__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue);
}

.offer__price span {
  margin-top: 8px;
  font-size: 1.3rem;
  font-weight: 700;
}

.offer__note {
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

.offer__card .btn {
  margin-top: 20px;
}

.offer__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.offer__secure svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.8;
}

.offer__guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.offer__guarantee img {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.offer__guarantee p {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.offer__guarantee strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue);
}

@media (min-width: 620px) {
  .offer__includes {
    padding: 32px 30px;
  }

  .offer__card {
    padding: 32px 30px 28px;
  }
}

@media (min-width: 900px) {
  .offer__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    align-items: start;
  }

  .offer__price {
    font-size: 4.1rem;
  }
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.logo--footer {
  font-size: 1rem;
  margin-bottom: 4px;
}

.footer__disclaimer {
  max-width: 480px;
  font-size: 0.76rem;
  opacity: 0.8;
}

/* ========== NOTÍCIAS — prints de matérias reais ========== */
.news {
  text-align: center;
}

.news__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* bolinha "ao vivo" piscando */
.news__live {
  width: 8px;
  height: 8px;
  background: #ff4d4d;
  border-radius: 50%;
  animation: news-live 1.4s ease-in-out infinite;
}

@keyframes news-live {
  50% {
    opacity: 0.25;
  }
}

.news__title {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}

/* título simples: só o fim da frase um pouco mais forte, sem cor */
.news__title-accent {
  font-weight: 800;
}

/* ---- prints ---- */
.news__clips {
  display: grid;
  gap: 32px;
  max-width: 480px;
  margin: 0 auto;
}

.clip__window {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8d6d0;
  border-radius: 12px;
  box-shadow: 0 26px 50px -26px rgba(30, 28, 20, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clip__window:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 60px -28px rgba(30, 28, 20, 0.5);
}

/* barra de navegador em cima do print */
.clip__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #f1f0ec;
  border-bottom: 1px solid #e2e0da;
}

.clip__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6d3cc;
}

.clip__bar span {
  flex: 1;
  margin-left: 8px;
  padding: 3px 10px;
  background: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: left;
}

/* mesma altura para todos os prints: manchete sempre inteira, só a foto de baixo é cortada */
.clip__window img {
  width: 100%;
  height: auto;
  aspect-ratio: 1066 / 740;
  object-fit: cover;
  object-position: top;
}

.clip figcaption {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.clip figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.news__closing {
  max-width: 620px;
  margin: 44px auto 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.news__closing strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

@media (min-width: 900px) {
  .news__clips {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 28px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news__live {
    animation: none;
  }
}

/* ========== RESPONSIVE (small phones get the base rules above; tablet & up below) ========== */
@media (min-width: 640px) {
  .section {
    padding: 80px 0;
  }

  .section__subtitle {
    margin-bottom: 48px;
  }

  .hero {
    padding: 36px 0 72px;
  }

  .hero__actions {
    max-width: none;
  }

  .hero__actions .btn {
    width: auto;
  }

  .guarantee-seal {
    padding: 16px 22px;
  }
}

@media (min-width: 860px) {
  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 40px 0 88px;
  }
}

/* ========== JORNADA — desktop em zigue-zague ========== */
@media (min-width: 900px) {
  .journey__progress {
    margin-bottom: 44px;
  }

  .journey__list {
    gap: 40px;
  }

  .journey__line--road {
    stroke-width: 26;
  }

  .journey__line--draw {
    stroke-width: 6;
  }

  .journey__node {
    display: grid;
    grid-template-columns: 1fr var(--journey-gutter) 1fr;
    align-items: center;
    gap: 0;
  }

  .journey__marker {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 88px;
    height: 88px;
  }

  .journey__step {
    font-size: 0.68rem;
    padding: 3px 11px;
    bottom: -11px;
  }

  .journey__node:not(.journey__node--end):nth-child(odd) .journey__marker {
    transform: translateX(calc(var(--journey-offset) * -1));
  }

  .journey__node:not(.journey__node--end):nth-child(even) .journey__marker {
    transform: translateX(var(--journey-offset));
  }

  .journey__card {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    max-width: 400px;
    text-align: right;
    padding: 22px 26px 26px;
  }

  .journey__node:nth-child(1) .journey__card { rotate: -0.6deg; }
  .journey__node:nth-child(2) .journey__card { rotate: 0.5deg; }
  .journey__node:nth-child(3) .journey__card { rotate: -0.45deg; }
  .journey__node:nth-child(4) .journey__card { rotate: 0.6deg; }

  /* nos cards da esquerda a marca d'água vai pro outro lado */
  .journey__node:nth-child(odd) .journey__card[data-step]::after {
    right: auto;
    left: 12px;
  }

  .journey__node:not(.journey__node--end):nth-child(even) .journey__card {
    grid-column: 3;
    justify-self: start;
    text-align: left;
  }

  /* marco final: centralizado, fechando o caminho */
  .journey__node--end {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 16px;
  }

  .journey__node--end .journey__marker {
    width: 108px;
    height: 108px;
    transform: none;
  }

  .journey__card--end {
    width: 100%;
    max-width: 680px;
    text-align: center;
    flex: 0 1 auto;
    padding: 46px 48px 42px;
  }

  .journey__card--end h3 {
    font-size: 1.85rem;
  }

  .journey__card--end p {
    font-size: 1.02rem;
    max-width: 480px;
    margin: 12px auto 0;
  }
}

/* Botão de checkout enquanto a sessão do Stripe é criada */
.btn:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
  box-shadow: none;
}

/* ========== OBRIGADO — confirmação de compra ========== */
.thanks {
  padding: 96px 0 112px;
  text-align: center;
}

.thanks__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.thanks__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.thanks__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blue);
  margin-bottom: 18px;
}

.thanks__text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

.thanks__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
