:root {
  --calm-blue: #6996ff;
  --off-white: #f4f2ef;
  --purple-dream: #a15cff;
  --flavour-pink: #f180bc;
  --sunny-yellow: #ffcc32;
  --night-blue: #082a4f;
  --purple-moon: #2a114f;
  --cozy-brown: #8a4600;

  --ink: var(--night-blue);
  --ink-soft: color-mix(in srgb, var(--night-blue) 72%, transparent);
  --line: color-mix(in srgb, var(--calm-blue) 18%, transparent);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-md: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --page-w: 520px;

  --wave-h: 2.75rem;
  --wave-tile: 32rem;
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C120,22 240,22 360,40 C480,58 600,58 720,40 L720,80 L0,80 Z'/%3E%3C/svg%3E");
  --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 80' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L720,0 L720,40 C600,58 480,58 360,40 C240,22 120,22 0,40 Z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* Layout */
.wrap {
  position: relative;
  width: 100%;
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 20px;
}

.band {
  position: relative;
}

/* Ondas entre seções */
.band-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--wave-h);
  pointer-events: none;
  z-index: 3;
  background-color: var(--wave-fill);
  -webkit-mask-image: var(--wave-top);
  mask-image: var(--wave-top);
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: var(--wave-tile) 100%;
  mask-size: var(--wave-tile) 100%;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  animation: wave-drift 7s linear infinite;
}

.band-wave--top {
  bottom: calc(100% - 3px);
}

.band-wave--bottom {
  top: calc(100% - 3px);
  -webkit-mask-image: var(--wave-bottom);
  mask-image: var(--wave-bottom);
  animation-duration: 9s;
  animation-direction: reverse;
}

@keyframes wave-drift {
  to {
    -webkit-mask-position: calc(var(--wave-tile) * -1) 0;
    mask-position: calc(var(--wave-tile) * -1) 0;
  }
}

/* Topo */
.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 32px;
  padding-bottom: calc(var(--wave-h) + 12px);
}

.logo {
  width: 124px;
  height: auto;
  fill: var(--calm-blue);
}

.status-pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--calm-blue) 14%, var(--off-white));
  color: var(--night-blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
}

.status-pill em {
  font-style: normal;
  color: var(--calm-blue);
}

/* Elementos comuns */
.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag--light {
  position: relative;
  overflow: hidden;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: color-mix(in srgb, #fff 22%, transparent);
  border: 1px solid color-mix(in srgb, #fff 40%, transparent);
}

.tag--light::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

.tag--brown {
  background: var(--off-white);
  color: var(--cozy-brown);
}

.section-title {
  margin-top: 12px;
  font-size: clamp(2.2rem, 9.5vw, 2.8rem);
  color: var(--night-blue);
}

.band--duo .section-title {
  margin-top: 0;
}

.hl {
  color: var(--calm-blue);
}

.body-text {
  margin-top: 18px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.body-text--lead {
  margin-top: 8px;
  font-size: 1.1rem;
}

/* Gummies decorativas (fotos recortadas) */
.deco {
  position: absolute;
  z-index: 4;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 22px rgba(8, 42, 79, 0.32));
}

.mystery {
  display: block;
  container-type: inline-size;
}

.mystery img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(1.7) contrast(0.78);
}

.mystery-q {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.4em;
  font-size: 66cqw;
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 14px rgba(8, 42, 79, 0.5);
}

.deco.mystery {
  font-size: clamp(16px, 4.4vw, 22px);
  pointer-events: auto;
  cursor: pointer;
}

/* Flutuação sutil (idle) — usa só translate; gelatina usa só scale */
.mystery,
.moment-img {
  --float-dur: 4.6s;
  --float-delay: 0s;
}

.deco--hero-top { --float-dur: 5.1s; --float-delay: 0s; }
.deco--hero-bottom { --float-dur: 4.4s; --float-delay: -1.6s; }
.deco--steps { --float-dur: 4.9s; --float-delay: -2.4s; }
.final-pair__red { --float-dur: 4.2s; --float-delay: -0.8s; }
.final-pair__purple { --float-dur: 5.4s; --float-delay: -3s; }
.moment--day .moment-img { --float-dur: 4.7s; --float-delay: -1.1s; }
.moment--night .moment-img { --float-dur: 5.2s; --float-delay: -2.7s; }

.mystery:not(.is-jelly),
.moment-img {
  animation: gummy-float var(--float-dur) ease-in-out var(--float-delay) infinite;
}

.mystery {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .mystery:hover:not(.is-jelly),
  .moment:hover .moment-img {
    scale: 1.08;
    animation:
      gummy-float var(--float-dur) ease-in-out var(--float-delay) infinite,
      gummy-jelly 0.75s var(--ease-out);
  }

  .mystery:hover .mystery-q,
  .moment:hover .moment-q {
    animation: q-pop 0.6s var(--ease-out);
  }
}

/* Toque (mobile): anima a cada toque e volta ao tamanho normal */
.mystery.is-jelly {
  animation: gummy-tap 0.75s var(--ease-out);
}

.mystery.is-jelly .mystery-q {
  animation: q-pop 0.6s var(--ease-out);
}

@keyframes gummy-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes gummy-tap {
  0% { scale: 1 1; }
  25% { scale: 1.18 0.86; }
  45% { scale: 0.92 1.14; }
  65% { scale: 1.1 0.98; }
  85% { scale: 1.02 1.04; }
  100% { scale: 1; }
}

@keyframes gummy-jelly {
  0% { scale: 1 1; }
  25% { scale: 1.18 0.86; }
  45% { scale: 0.92 1.14; }
  65% { scale: 1.1 0.98; }
  85% { scale: 1.06 1.1; }
  100% { scale: 1.08; }
}

@keyframes q-pop {
  0% { translate: 0 0; }
  35% { translate: 0 -14%; }
  60% { translate: 0 4%; }
  100% { translate: 0 0; }
}

.deco--hero-top {
  width: clamp(84px, 22vw, 120px);
  top: calc(var(--wave-h) * -1 - 34px);
  right: max(14px, calc(50% - 300px));
  transform: rotate(-14deg);
}

.deco--hero-bottom {
  width: clamp(120px, 32vw, 170px);
  bottom: calc(var(--wave-h) * -1 - 46px);
  right: max(10px, calc(50% - 330px));
  transform: rotate(10deg);
}

.deco--steps {
  width: clamp(70px, 18vw, 96px);
  top: calc(var(--wave-h) * -1 - 26px);
  right: max(18px, calc(50% - 290px));
  transform: rotate(-18deg);
  filter: drop-shadow(0 14px 16px rgba(42, 17, 79, 0.35));
}

/* Hero */
.band--hero {
  --wave-fill: var(--calm-blue);
  padding: 24px 0 96px;
  color: #fff;
  background: var(--calm-blue);
}

.hero-title {
  margin-top: 14px;
  font-size: clamp(2.7rem, 12.5vw, 3.6rem);
  color: #fff;
}

.hero-text {
  margin-top: 14px;
  font-size: 1.06rem;
  color: color-mix(in srgb, #fff 92%, transparent);
}

/* Oferta em formato de ticket */
.offer {
  --corner: 18px;
  --corner-zone: 30px;
  --scallop: 6px;
  --scallop-step: 19px;
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 26px auto 22px;
}

.offer-ticket {
  filter: drop-shadow(0 16px 18px rgba(8, 42, 79, 0.3));
}

/* Cantos recortados + laterais serrilhadas só no meio */
.offer-card {
  display: flex;
  min-height: 190px;
  background: var(--off-white);
  color: var(--night-blue);
  -webkit-mask:
    radial-gradient(circle var(--corner) at 0 0, #0000 96%, #000),
    radial-gradient(circle var(--corner) at 100% 0, #0000 96%, #000),
    radial-gradient(circle var(--corner) at 0 100%, #0000 96%, #000),
    radial-gradient(circle var(--corner) at 100% 100%, #0000 96%, #000),
    linear-gradient(#000 0 0) top / 100% var(--corner-zone) no-repeat,
    linear-gradient(#000 0 0) bottom / 100% var(--corner-zone) no-repeat,
    radial-gradient(circle var(--scallop) at 0 50%, #0000 96%, #000) 0 50% / 100% var(--scallop-step) repeat-y,
    radial-gradient(circle var(--scallop) at 100% 50%, #0000 96%, #000) 0 50% / 100% var(--scallop-step) repeat-y;
  -webkit-mask-composite: source-in, source-in, source-in, source-in, source-over, source-over, source-in, source-over;
  mask:
    radial-gradient(circle var(--corner) at 0 0, #0000 96%, #000),
    radial-gradient(circle var(--corner) at 100% 0, #0000 96%, #000),
    radial-gradient(circle var(--corner) at 0 100%, #0000 96%, #000),
    radial-gradient(circle var(--corner) at 100% 100%, #0000 96%, #000),
    linear-gradient(#000 0 0) top / 100% var(--corner-zone) no-repeat,
    linear-gradient(#000 0 0) bottom / 100% var(--corner-zone) no-repeat,
    radial-gradient(circle var(--scallop) at 0 50%, #0000 96%, #000) 0 50% / 100% var(--scallop-step) repeat-y,
    radial-gradient(circle var(--scallop) at 100% 50%, #0000 96%, #000) 0 50% / 100% var(--scallop-step) repeat-y;
  mask-composite: intersect, intersect, intersect, intersect, add, add, intersect, add;
}

/* Canhoto com código de barras e picote */
.offer-stub {
  position: relative;
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 0;
}

.offer-stub::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: 0;
  border-right: 2px dashed color-mix(in srgb, var(--night-blue) 35%, transparent);
}

.offer-barcode {
  width: 26px;
  height: 92px;
  background: repeating-linear-gradient(
    180deg,
    var(--night-blue) 0 2px,
    #0000 2px 4px,
    var(--night-blue) 4px 5px,
    #0000 5px 8px,
    var(--night-blue) 8px 11px,
    #0000 11px 12px,
    var(--night-blue) 12px 13px,
    #0000 13px 16px
  );
}

.offer-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 20px 22px 16px;
  text-align: center;
}

.offer::before {
  content: "Exclusivo VIP";
  position: absolute;
  z-index: 2;
  top: -10px;
  right: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sunny-yellow);
  color: var(--cozy-brown);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.offer-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.offer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 6px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--calm-blue);
}

.offer-kicker {
  font-size: 1.4rem;
}

.offer-number {
  font-size: 4.6rem;
}

.offer-off {
  font-size: 2.2rem;
}

.offer-gift {
  flex-basis: 100%;
  margin-top: 6px;
  font-size: 1.5rem;
  color: var(--purple-dream);
}

.offer-note {
  max-width: 26em;
  margin: 20px auto 0;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  color: color-mix(in srgb, #fff 82%, transparent);
}

.offer-note strong {
  font-weight: 700;
  color: #fff;
}

.offer-note small {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, #fff 65%, transparent);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 16px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 3.6vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.btn--block {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 3px solid var(--sunny-yellow);
  outline-offset: 3px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: var(--night-blue);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(8, 42, 79, 0.7);
}

.band--hero .btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: shine 3.2s ease-in-out infinite;
}

@keyframes shine {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}

.btn--blue {
  margin-top: 22px;
  background: var(--calm-blue);
  color: #fff;
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--calm-blue) 90%, transparent);
}

.btn--purple {
  margin-top: 28px;
  background: var(--purple-dream);
  color: #fff;
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--purple-moon) 80%, transparent);
}

.btn--light {
  background: var(--off-white);
  color: var(--purple-moon);
  box-shadow: 0 12px 24px -12px rgba(42, 17, 79, 0.6);
}

/* Duas gummies */
.band--duo {
  padding: calc(var(--wave-h) + 64px) 0 calc(var(--wave-h) + 48px);
}

.band--duo .section-title {
  padding-right: 24%;
}

.moments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.moment {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 14px 18px;
  border-radius: var(--radius-md);
  border: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

.moment:hover {
  transform: translateY(-3px);
}

.moment--day {
  background: linear-gradient(180deg, #e8f2ff 0%, #c7dcff 100%);
}

.moment--night {
  background: linear-gradient(180deg, #3a1d6b 0%, var(--purple-moon) 100%);
  color: #fff;
}

.moment-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 104px;
  margin-bottom: 6px;
}

.moment-img {
  display: block;
  width: auto;
  height: 92px;
  max-width: 82%;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: grayscale(1) brightness(1.9) contrast(0.75) drop-shadow(0 14px 14px rgba(8, 42, 79, 0.3));
  transition: filter 0.5s var(--ease-out), scale 0.4s var(--ease-out);
}

.moment--night .moment-img {
  transform: rotate(8deg);
  filter: grayscale(1) contrast(0.85) brightness(1.15) drop-shadow(0 14px 14px rgba(0, 0, 0, 0.45));
}

.moment-q {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.6rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 3px 10px rgba(8, 42, 79, 0.45);
  pointer-events: none;
}

.moment.is-wiggle .moment-img {
  animation: wiggle 0.6s var(--ease-out);
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-14deg) scale(1.08); }
  50% { transform: rotate(10deg) scale(0.96); }
  75% { transform: rotate(-6deg) scale(1.03); }
}

.moment-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-size: 1.6rem;
  line-height: 1;
}

.moment--day .moment-label { color: var(--calm-blue); }
.moment--night .moment-label { color: #c89fff; }

.moment-text {
  font-size: 0.88rem;
  line-height: 1.35;
  opacity: 0.85;
}

.spoiler {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 2px dashed color-mix(in srgb, var(--purple-dream) 45%, transparent);
  background: color-mix(in srgb, var(--purple-dream) 7%, var(--off-white));
}

.spoiler-blur {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  user-select: none;
}

.spoiler-blur span {
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--purple-dream) 18%, #fff);
  color: var(--purple-moon);
  font-size: 0.8rem;
  font-weight: 600;
  filter: blur(2.5px);
}

.spoiler-text {
  font-size: 1rem;
  color: var(--ink-soft);
}

.spoiler-text strong {
  display: inline-block;
  margin-top: 4px;
  color: var(--purple-moon);
  font-weight: 700;
}

/* Como funciona */
.band--steps {
  --wave-fill: var(--sunny-yellow);
  padding: 20px 0 48px;
  background: var(--sunny-yellow);
  color: var(--cozy-brown);
}

.band--steps .section-title {
  color: #5c2f00;
}

.band--steps .body-text {
  color: var(--cozy-brown);
}

.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 120px;
  left: 19px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    color-mix(in srgb, var(--cozy-brown) 45%, transparent) 0 6px,
    transparent 6px 12px
  );
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding-bottom: 22px;
}

.step:last-child {
  padding-bottom: 0;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sunny-yellow);
  border: 2px solid var(--cozy-brown);
  color: var(--cozy-brown);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.step-title {
  padding-top: 6px;
  font-size: 1.5rem;
  color: #5c2f00;
}

.step-text {
  margin-top: 4px;
  font-size: 0.97rem;
  color: var(--cozy-brown);
}

.step--highlight > div {
  margin-top: -6px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: var(--off-white);
  box-shadow: 0 14px 24px -18px rgba(92, 47, 0, 0.6);
}

.step--highlight .step-title {
  padding-top: 0;
  color: var(--calm-blue);
}

.step--highlight .step-text {
  color: var(--ink-soft);
}

.step--highlight .step-text strong {
  color: var(--night-blue);
}

.step--highlight .step-num {
  background: var(--cozy-brown);
  color: var(--sunny-yellow);
}

/* Animação dos passos */
.steps::before {
  scale: 1 0;
  transform-origin: top;
  transition: scale 1.4s var(--ease-out) 0.3s;
}

.steps-wrap.is-in .steps::before {
  scale: 1 1;
}

.steps-wrap .step {
  opacity: 0;
  translate: 0 24px;
}

.steps-wrap.is-in .step {
  animation: step-in 0.7s var(--ease-out) forwards;
}

.steps-wrap.is-in .step-num {
  animation: num-pop 0.6s var(--ease-out) backwards;
}

.steps-wrap.is-in .step:nth-child(1),
.steps-wrap.is-in .step:nth-child(1) .step-num { animation-delay: 0.25s; }
.steps-wrap.is-in .step:nth-child(2),
.steps-wrap.is-in .step:nth-child(2) .step-num { animation-delay: 0.5s; }
.steps-wrap.is-in .step:nth-child(3),
.steps-wrap.is-in .step:nth-child(3) .step-num { animation-delay: 0.75s; }
.steps-wrap.is-in .step:nth-child(4),
.steps-wrap.is-in .step:nth-child(4) .step-num { animation-delay: 1s; }

.steps-wrap.is-in .step--highlight .step-num {
  animation: none;
}

@keyframes step-in {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes num-pop {
  0% { scale: 0; }
  60% { scale: 1.25; }
  100% { scale: 1; }
}
/* CTA final */
.band--final {
  padding: calc(var(--wave-h) + 36px) 0 48px;
  text-align: center;
  color: #fff;
  background: var(--purple-dream);
}

.final-pair {
  position: relative;
  width: 230px;
  height: 130px;
  margin: 0 auto 18px;
}

.final-pair .mystery {
  position: absolute;
  font-size: 24px;
  filter: drop-shadow(0 16px 18px rgba(42, 17, 79, 0.55));
}

.final-pair__red {
  width: 118px;
  left: 6px;
  bottom: 0;
  transform: rotate(-10deg);
}

.final-pair__purple {
  z-index: 1;
  width: 96px;
  right: 0;
  top: 14px;
  transform: rotate(14deg);
}

.final-title {
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 10.5vw, 3rem);
}

/* Footer */
.footer {
  padding-top: 28px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.9rem;
  color: var(--calm-blue);
}

.footer-small {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 720px) {
  :root {
    --wave-h: 2.15rem;
    --wave-tile: 22rem;
  }
}

@media (max-width: 560px) {
  .status-pill {
    font-size: 1.1rem;
  }

  .deco--hero-top {
    width: 68px;
    top: calc(var(--wave-h) * -1 + 2px);
    right: 16px;
  }
}

/* Desktop: layout mais espalhado */
@media (min-width: 960px) {
  .wrap {
    max-width: 1160px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .top {
    flex-direction: row;
    justify-content: space-between;
    padding-top: 28px;
  }

  .logo {
    width: 140px;
  }

  /* Hero: texto à esquerda, oferta à direita */
  .band--hero {
    padding: 96px 0 120px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 64px;
    row-gap: 28px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }

  .hero-action {
    display: contents;
  }

  .hero-action .btn {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    width: auto;
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-title {
    font-size: clamp(4rem, 6vw, 5.6rem);
  }

  .hero-text {
    max-width: 30em;
    font-size: 1.2rem;
  }

  .hero-action .offer {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0 auto;
  }

  .offer-number {
    font-size: 5.4rem;
  }

  .offer-off {
    font-size: 2.6rem;
  }

  /* Duas gummies: texto à esquerda, cards à direita */
  .band--duo {
    padding-top: calc(var(--wave-h) + 110px);
    padding-bottom: 110px;
  }

  .duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title cards"
      "text cards"
      "spoiler cards"
      "btn cards";
    grid-template-rows: auto auto auto 1fr;
    column-gap: 64px;
    align-items: start;
  }

  .duo-grid > .section-title { grid-area: title; padding-right: 0; font-size: 3.6rem; }
  .duo-grid > .moments { grid-area: cards; margin-top: 0; align-self: center; }
  .duo-grid > .body-text { grid-area: text; font-size: 1.15rem; }
  .duo-grid > .spoiler { grid-area: spoiler; }
  .duo-grid > .btn { grid-area: btn; }

  .moment {
    padding: 22px 20px 26px;
  }

  .moment-art {
    height: 170px;
  }

  .moment-img {
    height: 150px;
  }

  .moment-label {
    font-size: 2.1rem;
  }

  .moment-text {
    font-size: 1rem;
  }

  /* Como funciona: passos em linha */
  .band--steps {
    padding: 48px 0 96px;
  }

  .steps-wrap .section-title {
    font-size: 3.6rem;
  }

  .steps-wrap .btn--purple {
    width: auto;
    margin-top: 44px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 40px;
  }

  .steps::before {
    scale: 0 1;
    transform-origin: left;
    top: 19px;
    bottom: auto;
    left: 20px;
    right: 20px;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      color-mix(in srgb, var(--cozy-brown) 45%, transparent) 0 6px,
      transparent 6px 12px
    );
  }

  .step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 0;
  }

  .step--highlight > div {
    margin-top: 0;
  }

  .step-title {
    padding-top: 0;
  }

  /* CTA final */
  .band--final {
    padding: calc(var(--wave-h) + 64px) 0 80px;
  }

  .final-wrap {
    max-width: 760px;
  }

  .final-title {
    font-size: 4rem;
  }

  .final-wrap .btn {
    max-width: 480px;
  }

  /* Gummies nas bordas do layout largo */
  .deco--hero-top {
    width: 110px;
    top: calc(var(--wave-h) * -1 + 2px);
    right: auto;
    left: max(36px, calc(50% - 660px));
    transform: rotate(14deg);
  }

  .deco--hero-bottom {
    width: 190px;
    right: max(24px, calc(50% - 620px));
    transform: rotate(10deg);
  }

  .deco--steps {
    width: 110px;
    right: max(24px, calc(50% - 600px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .steps-wrap .step {
    opacity: 1;
    transform: none;
    translate: none;
  }

  .steps::before,
  .steps-wrap .steps::before {
    scale: 1 1;
  }
}
