/* Client review, 23 October 2026. Shared by the hosted and portable versions. */
@font-face {
  font-family: Arimo;
  src: url('/site/assets/arimo-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* Keep the opening composition within the available screen height. */
@media (min-width: 900px) {
  :root { --ts: .82; --hs: .78; }
  .hero {
    --hero-unit: min(calc(var(--viewport-width, 100vw) / 1600), calc(100svh / 850));
    --hero-drop: clamp(32px, calc(50 * var(--hero-unit)), 64px);
    height: calc(850 * var(--hero-unit) + var(--hero-drop));
    min-height: calc(540px + var(--hero-drop));
  }
  .hero .hero-background { height: calc(94% + var(--hero-drop) * .06); object-fit: cover; object-position: center top; }
  /* Reframe the photograph independently of the pink shape and the foreground. */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(94% + var(--hero-drop) * .06);
    z-index: 1;
    background: url('/site/assets/332d562a5f.webp') center calc(160 * var(--hero-unit) - .195 * var(--viewport-width, 100vw)) / cover no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 57%, #000 69%);
    mask-image: linear-gradient(to right, transparent 57%, #000 69%);
    pointer-events: none;
  }
  .hero .hero-copy { top: calc(25% - var(--hero-drop) * .25); width: calc(490 * var(--hero-unit)); }
  .hero .hero-copy p { font-size: calc(25 * var(--hero-unit)); margin-top: calc(25 * var(--hero-unit)); }
  .hero .hero-copy > strong { font-size: calc(26 * var(--hero-unit)); margin-top: calc(20 * var(--hero-unit)); }
  .hero .primary { font-size: calc(20 * var(--hero-unit)); min-height: calc(50 * var(--hero-unit)); min-width: calc(260 * var(--hero-unit)); margin-top: calc(18 * var(--hero-unit)); padding: calc(12 * var(--hero-unit)) calc(26 * var(--hero-unit)); }
  .hero .hero-phone { width: calc(340 * var(--hero-unit)); left: 46%; top: calc(17% - var(--hero-drop) * .17); }
  .hero { overflow: visible; z-index: 3; }
  .hero .hero-wave { top: auto; bottom: -1px; height: calc(25% - var(--hero-drop) * .25); transform: translateY(calc(45 * var(--hero-unit))); }
  .how-title img { width: calc(1100 * var(--s)); max-width: 100%; }
  /* Keep "COMO FUNCIONA" clear of the lowered hero wave. */
  .how { padding-top: calc(95 * var(--s) + 56px); height: calc(905 * var(--s) * var(--vs) + 56px); }
  .how .eyebrow { top: calc(29 * var(--s) * var(--vs) + 56px); }
  .how .number { font-size: calc(46 * var(--s)); }
  .how .step-label { font-size: calc(18 * var(--s)); }
  .header { height: calc(72 * var(--s)); }
  .header .logo { width: calc(136 * var(--s)); }
  .header nav { font-size: calc(16 * var(--s)); gap: calc(44 * var(--s)); }
  .header .stores img { width: calc(138 * var(--s)); }
}

/* A finite, native-scroll story: the wrapper supplies distance, the scene sticks. */
.redeem.section {
  --story-pink: #ff008b;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  scroll-margin-top: 0;
}
.redeem-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 680px;
  padding: 100px 6% 54px;
  background: #fff;
}
.redeem.is-scroll-story { height: calc(var(--story-height) + var(--story-distance)); }
.is-scroll-story .redeem-stage { position: sticky; top: 0; height: var(--story-height); min-height: 0; }
.redeem .eyebrow { position: static; transform: none; margin: 0 auto 34px; font-size: clamp(11px, .9vw, 20px); }
.redeem .eyebrow::after { width: 130px; margin-top: 12px; }
.redeem-layout {
  --r: min(calc(var(--viewport-width, 100vw) / 1440), calc((var(--story-height, 900px) - 180px) / 590));
  display: grid;
  grid-template-columns: 1fr .88fr 1.22fr;
  align-items: center;
  gap: calc(34 * var(--r));
  width: min(100%, calc(1240 * var(--r)));
  margin: 0 auto;
}
.redeem .redeem-copy { position: static; width: auto; align-self: start; padding-top: calc(30 * var(--r)); }
.redeem .redeem-copy h2 img { width: 100%; max-width: calc(350 * var(--r)); }
.redeem .redeem-copy p { font-size: max(16px, calc(21 * var(--r))); line-height: 1.45; margin-top: calc(22 * var(--r)); }
.redeem .redeem-copy .stores { margin-top: calc(24 * var(--r)); gap: 10px; }
.redeem-copy .stores button { flex: 1; min-width: 0; }
.redeem-copy .stores img { width: 100%; }
.redeem-visual { position: relative; display: grid; place-items: center; isolation: isolate; width: 100%; max-width: calc(265 * var(--r)); justify-self: center; }
.redeem .redeem-phone { position: relative; inset: auto; width: 100%; max-width: calc(265 * var(--r)); margin: 0; transform: translateY(var(--story-lift, 0px)) rotate(var(--story-tilt, 0deg)) !important; transition: transform 650ms cubic-bezier(.22,1,.36,1) !important; }
.redeem .redeem-phone { aspect-ratio: 326 / 645; }
.redeem-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 0s linear 240ms; }
.redeem-screen.active { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .redeem-screen { transition: none; } }
.redeem .phone-halo { position: absolute; width: 138%; height: 48%; left: -19%; top: 28%; z-index: 0; background: #f49ac1; border-radius: 57% 43% 62% 38% / 57% 35% 65% 43%; transform: rotate(-22deg); transition: background-color 650ms ease, border-radius 850ms ease, transform 850ms ease; }
.redeem[data-step='1'] .phone-halo { background: #ffef32; border-radius: 68% 32% 61% 39% / 58% 48% 52% 42%; transform: rotate(-25deg); }
.redeem[data-step='2'] .phone-halo { background: #ff008b; border-radius: 40% 60% 36% 64% / 40% 59% 41% 60%; transform: rotate(21deg); }
.redeem[data-step='3'] .phone-halo { background: #2faee4; border-radius: 62% 38% 60% 40% / 63% 46% 54% 37%; transform: rotate(-20deg); }
.redeem[data-step='1'] { --story-tilt: -1deg; --story-lift: -4px; }
.redeem[data-step='2'] { --story-tilt: 1deg; --story-lift: -8px; }
.redeem[data-step='3'] { --story-tilt: 0deg; --story-lift: -5px; }
.redeem .redeem-steps { position: static; width: 100%; margin: 0; display: grid; gap: calc(28 * var(--r)); }
.redeem .redeem-steps li { --step: #ff008b; --tint: #fcecf5; gap: calc(16 * var(--r)); }
.redeem .redeem-steps li:nth-child(2) { --step: #f8cc00; --tint: #fffbe7; }
.redeem .redeem-steps li:nth-child(3) { --step: #ff008b; --tint: #ffe2f2; }
.redeem .redeem-steps li:nth-child(4) { --step: #2faee4; --tint: #e4f5fc; }
.redeem .step-dot { position: relative; z-index: 1; flex: 0 0 max(32px, calc(42 * var(--r))); height: max(32px, calc(42 * var(--r))); border: 1px solid #78727d; background: #fff7fb; color: var(--story-pink); font-size: max(12px, calc(15 * var(--r))); transition: background-color .4s, color .4s, border-color .4s; }
.redeem .active .step-dot { color: #fff; border-color: var(--step); background: var(--step); }
.redeem .redeem-steps li:not(:last-child)::after { left: max(16px, calc(21 * var(--r))); top: 50%; height: calc(100% + 28 * var(--r)); background: #eee6ec; }
.redeem .redeem-steps button { position: relative; display: flex; gap: calc(16 * var(--r)); min-height: calc(90 * var(--r)); padding: calc(10 * var(--r)); border-radius: calc(10 * var(--r)); background: transparent; box-shadow: none; transition: background-color .45s; }
.redeem .redeem-steps .active button { background: var(--tint); box-shadow: none; }
.redeem .redeem-steps button > span:last-child { min-width: 0; }
.redeem .step-icon { display: grid; place-items: center; flex: 0 0 calc(64 * var(--r)); height: calc(64 * var(--r)); border-radius: calc(19 * var(--r)); color: var(--story-pink); background: #fcecf5; transition: color .4s, background-color .4s; }
.redeem .active .step-icon { background: #fff; color: var(--step); }
.step-icon svg { width: 45%; height: 45%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.redeem .redeem-steps strong { font-size: max(16px, calc(20 * var(--r))); line-height: 1.2; }
.redeem .redeem-steps small { font-size: max(12px, calc(15 * var(--r))); line-height: 1.4; margin-top: calc(6 * var(--r)); }
.redeem .redeem-steps small br { display: none; }

/* Location branding and the illustrated card counter. */
.faq-list summary::after,
.faq-list details[open] summary::after {
  content: '+';
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 420ms cubic-bezier(.22,1,.36,1);
}
.faq-list details summary[aria-expanded='true']::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .faq-list details summary::after { transition: none; }
}
.location summary > span:first-child { min-width: 0; }
.location summary .location-brand { display: flex; align-items: baseline; font-family: Arimo, Arial, sans-serif; font-size: calc(35 * var(--s)); line-height: 1.1; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; color: #10164f; }
.location-brand .brand-city { font-size: .743em; color: #007bbf; letter-spacing: -.025em; }
.location-meta { display: flex; align-items: center; gap: calc(18 * var(--s)); }
.location .card-count { display: inline-flex; align-items: center; gap: calc(8 * var(--s)); padding: calc(8 * var(--s)) calc(12 * var(--s)); border-radius: 999px; background: #dcf1f8; font-size: calc(14 * var(--s)); font-weight: 700; white-space: nowrap; color: #2faee4; }
.card-count svg { width: calc(23 * var(--s)); height: calc(23 * var(--s)); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.location .chevron { display: block; width: calc(11 * var(--s)); height: calc(11 * var(--s)); border-top: 2px solid #2faee4; border-right: 2px solid #2faee4; transform: rotate(-45deg); transition: transform .25s; }
.location:not([open]) .chevron { transform: rotate(135deg); }
.location-art-wrap { display: contents; }

@media (max-width: 899px) {
  /* Restore the supplied original mobile composition, retaining the fixed menu. */
  .hero { --u: min(.266666667vw, 1.6px); height: calc(800 * var(--u)); min-height: 640px; }
  .hero .hero-phone { bottom: calc(39 * var(--u)); width: 43%; max-width: 258px; }
  .header { position: fixed; z-index: 100; top: clamp(24px, 10.4vw, 44px); left: 6%; right: 6%; --bar-height: clamp(58px, 16vw, 72px); height: var(--bar-height); padding: 8px 16px; }
  .header.is-compact { top: 8px; background: #fffffff2; box-shadow: 0 6px 24px #14142b18; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .header .logo { width: clamp(110px, 30vw, 150px); }
  .header.menu-open { max-height: calc(100dvh - 100px); overflow-y: auto; }
  .hero-copy { top: calc(136 * var(--u)); }
  .hero-copy h1 img { width: 88%; }
  .hero-copy p { font-size: clamp(16px, 4.65vw, 24px); }
  .hero-copy > strong { font-size: clamp(16px, 4.65vw, 23px); }
  body > .mobile-stores { padding: 10px 12px; }
  .mobile-stores img { max-height: 44px; object-fit: contain; }
  .how .mobile-title { font-size: 29px; }
  .how-intro, .partners-copy p, .where-copy > p, .start-copy > p, .faq-copy p { font-size: 16px; line-height: 1.45; }
  .categories ul { display: grid; grid-template-columns: 1fr; gap: 22px; }
  .categories li { width: 100%; gap: 14px; }
  .categories li:not(:last-child) { border-bottom: 1px solid #ffffff80; padding-bottom: 20px; }
  .categories b { font-size: 17px; }
  .categories p { font-size: 14px; }
  .categories p br { display: none; }

  .redeem-stage { min-height: 0; padding: 92px 24px 100px; }
  .redeem .eyebrow { margin-bottom: 16px; font-size: 11px; }
  .redeem .eyebrow::after { width: 110px; margin-top: 8px; }
  .redeem-layout { --r: 1px; width: 100%; max-width: 520px; grid-template-columns: 1fr; gap: 20px; }
  .redeem .redeem-copy { padding: 0; text-align: center; }
  .redeem .redeem-copy h2 img { width: 180px; margin: 0 auto; }
  .redeem .redeem-copy p { margin-top: 9px; font-size: 14px; }
  .redeem .redeem-copy p br { display: none; }
  .redeem .redeem-copy .stores { display: none; }
  .redeem .redeem-phone { width: auto; max-width: 100%; height: 280px; object-fit: contain; }
  .redeem .phone-halo { width: 235px; height: 148px; left: calc(50% - 117.5px); top: calc(50% - 74px); }
  .redeem .redeem-steps { gap: 18px; max-width: 480px; }
  .redeem .redeem-steps li { gap: 12px; }
  .redeem .step-dot { flex: 0 0 36px; width: 36px; min-width: 36px; height: 36px; border-radius: 50%; }
  .redeem .redeem-steps li:not(:last-child)::after { left: 18px; height: calc(100% + 18px); }
  .redeem .redeem-steps button { min-height: 78px; gap: 12px; padding: 10px; border-radius: 12px; }
  .redeem .step-icon { flex-basis: 46px; height: 46px; border-radius: 14px; }
  .redeem .redeem-steps strong { font-size: 16px; }
  .redeem .redeem-steps small { font-size: 13px; margin-top: 5px; }
  .is-scroll-story .redeem-stage { justify-content: center; padding-top: 80px; padding-bottom: 96px; }
  .is-scroll-story .redeem-layout { gap: 16px; }
  .is-scroll-story .redeem-phone { height: clamp(155px, calc(var(--story-height) - 475px), 350px); }
  .is-scroll-story .redeem-steps { position: relative; height: 94px; }
  .is-scroll-story .redeem-steps li { position: absolute; inset: 0; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .4s ease, visibility .3s; }
  .is-scroll-story .redeem-steps li.active { visibility: visible; opacity: 1; transform: none; }
  .is-scroll-story .redeem-steps li::after { display: none; }
  .is-scroll-story .redeem-steps button { cursor: default; }
  .is-scroll-story .redeem-steps .step-dot { flex-basis: 36px; }
  .redeem-progress { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
  .redeem-progress button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: transparent; border-radius: 50%; }
  .redeem-progress button::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #e6dce3; transition: background .3s, width .3s; }
  .redeem-progress button[aria-current='step']::after { background: var(--pink); width: 20px; border-radius: 8px; }
  .redeem:not(.is-scroll-story) .redeem-progress { display: none; }

  .location-art-wrap { position: relative; display: block; order: 2; width: calc(100% + 48px); margin: 24px -24px 0; padding: 16px 24px 28px; overflow: hidden; isolation: isolate; }
  .where .aracaju-background { position: absolute; top: 0; right: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: right top; z-index: -1; }
  .where .location-panel { margin: 0 auto; width: 100%; min-height: 0; padding: 15px; max-width: 570px; }
  .where .where-bottom { margin-top: 4px; }
  .where-bottom .fine { color: #6b7180; font-size: 12px; line-height: 1.5; }
  .location summary { gap: 10px; padding: 14px 10px; }
  .location summary .location-brand { font-size: 27px; }
  .location .location-meta { gap: 9px; }
  .location .card-count { font-size: 10px; padding: 5px 7px; gap: 4px; }
  .card-count svg { width: 16px; height: 16px; }
  .location .chevron { width: 7px; height: 7px; }
  .location li { padding: 10px; gap: 14px; }
  .location li img { width: 78px; }
  .location li strong { font-size: 15px; }
  .where-bottom .with-phone .mini-phone { display: none; }
  .where-bottom .with-phone > div { width: 100%; }
  .where-bottom .download-card > div > strong { font-size: 18px; }
  .where-bottom .with-phone .stores { gap: 10px; }
  .where-bottom .with-phone .stores button { flex: 1; min-width: 0; }
  .where-bottom .with-phone .stores img { width: 100%; }

  .start .video-wrap { margin-top: 32px; }
  .start .start-download { position: relative; width: 100%; margin-top: 24px; z-index: 3; }
  /* Clip only the upper decorative star; keep the rest of the artwork in place. */
  .start .start-art { bottom: 30px; clip-path: polygon(0 0, 40% 0, 40% 15%, 56% 15%, 56% 0, 100% 0, 100% 100%, 0 100%); }
}
@media (min-width: 900px) {
  .redeem-progress { display: none; }
  .start-copy h2 img { width: calc(402 * var(--s) * var(--hs)); }
  .start-copy > p { font-size: calc(22 * var(--s) * var(--ts)); }
  .start-steps strong { font-size: calc(25 * var(--s) * var(--ts)); }
  .start-steps p { font-size: calc(18 * var(--s) * var(--ts)); }
  .start .start-download { position: absolute; top: calc(770 * var(--s) * var(--vs)); left: var(--gutter); width: calc(508 * var(--s)); z-index: 3; }
}
/* Mobile footer follows the supplied Figma reference; external links stay intact. */
@media (max-width: 899px) {
  .footer { padding-bottom: 80px; }
  html, body { background: #ec268f; }
  main, body > section { background-color: #fff; }
  .footer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #ec268f; z-index: 2; }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 0; padding-top: 38px; }
  .footer-bottom .socials { gap: 24px; }
  .footer-bottom .socials img { height: 28px; width: auto; }
  .footer-bottom .legal { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 50px; font-size: 15px; line-height: 1.2; }
  .footer-bottom .legal span { display: none; }
  .footer-bottom .legal a:last-child { order: -1; }
  .footer-bottom > small { margin-top: 44px; font-size: 12px; line-height: 1.3; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .is-scroll-story .redeem-stage { padding-top: 80px; padding-bottom: 90px; }
  .is-scroll-story .eyebrow { display: none; }
  .is-scroll-story .redeem-copy h2 img { width: 145px; }
  .is-scroll-story .redeem-copy p { font-size: 13px; margin-top: 6px; }
  .is-scroll-story .redeem-layout { gap: 10px; }
  .is-scroll-story .redeem-phone { height: max(200px, calc(var(--story-height) - 430px)); }
  .is-scroll-story .redeem-progress { margin-top: 0; }
  .is-scroll-story .redeem-progress button { height: 32px; }
}
@media (max-width: 374px) {
  .redeem-stage { padding-left: 18px; padding-right: 18px; }
  .location summary .location-brand { font-size: 23px; }
  .location .location-meta { gap: 6px; }
  .location .card-count { font-size: 9px; padding: 4px; }
  .location-panel { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .redeem .redeem-phone { transform: none !important; }
}

/* The story can also be advanced by a visible control or horizontal gesture. */
.is-scroll-story .redeem-stage { touch-action: pan-y; }
.redeem-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: #ec268f;
  color: #fff;
  box-shadow: 0 5px 14px #ec268f33;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.redeem-progress .redeem-prev { background: #fff; color: #ec268f; border: 1px solid #ec268f; box-shadow: 0 3px 12px #ec268f20; }
.redeem-prev:not(:disabled):hover { transform: translateX(-3px); }
.redeem-prev:disabled { opacity: .35; cursor: default; box-shadow: none; }
.redeem-next:hover { transform: translateX(3px); box-shadow: 0 6px 18px #ec268f55; }
.redeem-next.is-last { background: #2faee4; box-shadow: 0 5px 14px #2faee444; }
.redeem-progress .redeem-next { background: #ec268f; }
.redeem-progress .redeem-next.is-last { background: #2faee4; }
.redeem-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.redeem-next svg { animation: story-arrow-nudge 2.2s ease-in-out infinite; }
.redeem-next.is-last svg { transform: rotate(90deg); animation: none; }
@keyframes story-arrow-nudge {
  0%, 70%, 100% { transform: translateX(0); }
  82% { transform: translateX(4px); }
}
@media (max-width: 899px) {
  .redeem-progress { position: relative; width: 100%; max-width: 480px; margin-left: auto; margin-right: auto; }
  .redeem-progress .redeem-prev { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
  .redeem-progress .redeem-next { position: absolute; right: 0; top: 0; width: 40px; height: 40px; }
  .redeem-progress .redeem-arrow::after { content: none; }
}
@media (min-width: 900px) {
  .is-scroll-story .redeem-progress { display: flex; justify-content: space-between; position: absolute; right: 6%; bottom: 12%; width: 104px; margin: 0; z-index: 4; }
  .redeem-progress [data-redeem-step] { display: none; }
  .redeem-progress .redeem-arrow { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .redeem-arrow, .redeem-arrow svg { transition: none; animation: none; }
}

/* Desktop: ocultar setas da seção "Gostou? É por aqui" */
@media (min-width: 900px) { .redeem-arrow { display: none !important; } }

/* Logos de parceiros vazando nas duas laterais */
.carousels { left: 0 !important; right: 0 !important; }
@media (max-width: 899px) { .carousels { margin-left: -24px !important; margin-right: -24px !important; } }

/* Setas sempre circulares */
.redeem-progress .redeem-arrow, .redeem-progress .redeem-prev, .redeem-progress .redeem-next { width: 40px !important; height: 40px !important; min-width: 40px; min-height: 40px; aspect-ratio: 1; padding: 0; border-radius: 50%; box-sizing: border-box; }

/* Footer legal separator dot in brand pink. */
.footer-bottom .legal span { color: #E60E82; }

/* Preserve the tutorial's original 16:9 space with the YouTube player. */
.video-wrap iframe { height: auto; aspect-ratio: 16 / 9; }
