@font-face {
  font-family: "Archivo Black";
  src: url("assets/archivo-black.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --night: #0d0b0c;
  --catalog: #141011;
  --surface: #211a1c;
  --muted: #d0c2bb;
  --border: #503931;
  --white: #fff7ef;
  --gold: #ffc279;
  --ember: #ff9b54;
  --badge-surface: #fff6ec;
  --wrap: 1200px;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; background: var(--night); color: var(--white); font: 16px/1.5 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ffd59c; outline-offset: 4px; }
:where(h1, h2, h3, h4, p) { margin: 0; }
:where(section[id]) { scroll-margin-top: 24px; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 4; top: 12px; left: 12px; translate: 0 -180%; padding: 12px 18px; background: var(--gold); color: var(--night); }
.skip:focus { translate: none; }

.masthead { background: var(--night); border-bottom: 1px solid var(--border); }
.masthead-inner, .footer-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 125px; }
.masthead-link, .footer-inner > a:last-child { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9rem; text-decoration: none; }
.masthead-link span, .footer-inner > a:last-child span { color: var(--gold); }
.masthead-link:hover, .footer-inner > a:last-child:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero { position: relative; overflow: clip; isolation: isolate; background: var(--night); }
.hero-grid { position: relative; display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 550px; }
.hero-copy { position: relative; z-index: 1; padding: 64px 0 72px; }
.hero h1 { display: flex; flex-direction: column; align-items: flex-start; font: 400 clamp(4.05rem, 8.65vw, 8.25rem)/.83 var(--display); letter-spacing: -.058em; }
.hero h1 span + span { margin-top: .075em; color: var(--gold); }
@supports (background-clip: text) {
  .hero h1 span + span {
    background: linear-gradient(170deg, #ffdb8c 19%, #ffad5b 56%, #ff8c4d 90%);
    background-clip: text;
    color: transparent;
  }
}
.hero-deal { margin-top: 26px; font-size: clamp(1.35rem, 3.1vw, 2.05rem); line-height: 1.15; letter-spacing: -.055em; font-weight: 600; }
.hero-deal strong { color: var(--gold); }
.hero-description { margin-top: 9px; max-width: 32ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.125rem); }
.hero-art { position: relative; width: min(69vw, 875px); margin-left: max(-10vw, -126px); pointer-events: none; mask-image: radial-gradient(ellipse 57% 65% at 53% 54%, #000 67%, transparent 100%); }
.hero-art img { width: 100%; }
.hero-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .22s ease; }
.hero-art[data-video-ready] video { opacity: 1; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding: 10px 18px; border-radius: 6px; border: 1px solid transparent; text-decoration: none; font: 700 .95rem/1.2 var(--body); transition: background-color .16s ease, box-shadow .16s ease; }
.button-gold { margin-top: 26px; min-width: 154px; background: var(--ember); color: var(--night); box-shadow: 0 5px 28px #ff591f35; }
.button-gold:hover { background: #ffc180; box-shadow: 0 5px 32px #ff591f60; }
.button-offer { background: var(--gold); color: var(--night); }
.button-offer:hover { background: #ffdbac; }

.showcase {
  padding: 64px 0 76px;
  background:
    radial-gradient(ellipse 790px 270px at 12% 0, #301d15, transparent),
    radial-gradient(ellipse 90% 540px at 50% 100%, #713cad2e, transparent),
    linear-gradient(to top, #201628, #19131f 36%, #161217 72%, var(--catalog));
  border-top: 2px solid var(--ember);
}
.showcase h2, .redeem h2 { font: 400 clamp(2rem, 4.25vw, 3.55rem)/1.04 var(--display); letter-spacing: -.05em; }
.showcase-heading { margin-bottom: 20px; }
.showcase-heading p { margin-top: 8px; color: var(--muted); font-size: 1.07rem; }
.campaign-note { width: fit-content; margin-bottom: 24px; padding: 9px 13px; border-left: 2px solid var(--ember); background: #302019; color: #f6d3b3; font-size: .875rem; }
.showcase-layout { display: grid; grid-template-columns: minmax(0, 1fr) 188px; align-items: start; gap: 36px; }
.categories { position: sticky; top: 26px; grid-column: 2; grid-row: 1; border-left: 1px dashed #755344; padding-left: 13px; }
.categories a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 10px; font-size: .94rem; font-weight: 700; text-decoration: none; border-radius: 6px; }
.categories a:hover, .categories a:focus-visible { background: #32201a; color: var(--gold); }
.categories a::before { content: "↘"; color: var(--ember); font-size: .9em; }
.offer-list { grid-column: 1; grid-row: 1; min-width: 0; }
.offer-group + .offer-group { margin-top: 31px; }
.offer-group h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: .79rem; font-weight: 700; }
.offer-group h3::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.offer-stack { display: grid; gap: 12px; }
.offer {
  --stub: linear-gradient(145deg, #32201c, #251819);
  --stub-ink: var(--gold);
  --perforation: #a16c53;
  --cut: 11px;
  --stub-width: 160px;
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) var(--stub-width);
  min-height: 130px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: linear-gradient(110deg, #251d1f, var(--surface) 52%);
}
.offer[data-discount="50"] { --stub: linear-gradient(145deg, #ffc176, #ff9655); --stub-ink: #23140d; --perforation: #6b3924; }
.offer-brand { display: grid; place-items: center; padding: 8px; border-right: 1px solid var(--border); }
.offer-brand img { width: 90px; aspect-ratio: 1; padding: 5px; border-radius: 7px; background: var(--badge-surface); object-fit: contain; }
.offer-main { padding: 19px 22px; }
.offer-main h4 { font-size: clamp(1.025rem, 1.65vw, 1.3rem); letter-spacing: -.038em; line-height: 1.15; }
.offer-includes { color: var(--muted); margin-top: 5px; font-size: .93rem; line-height: 1.4; }
.offer-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 15px; margin-top: 11px; }
.offer-discount {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 14px;
  background: var(--stub);
  color: var(--stub-ink);
  border-left: 1px dashed var(--perforation);
  border-radius: 0 10px 10px 0;
}
.offer-discount::before, .offer-discount::after { content: ""; position: absolute; left: calc(-1 * var(--cut)); width: calc(2 * var(--cut)); height: var(--cut); border: 1px solid var(--border); background: var(--catalog); pointer-events: none; }
.offer-discount::before { top: -1px; border-top: 0; border-radius: 0 0 50px 50px; }
.offer-discount::after { bottom: -1px; border-bottom: 0; border-radius: 50px 50px 0 0; }
.offer-discount strong { font: 400 clamp(2rem, 4vw, 3.3rem)/.99 var(--display); letter-spacing: -.06em; margin-right: .08em; }
.offer-discount > span { font-size: .79rem; font-weight: 700; }
.offer-discount { font: inherit; }
button.offer-discount:not(:disabled) { cursor: copy; transition: filter .15s; }
button.offer-discount:not(:disabled):hover { filter: brightness(1.12); }
button.offer-discount:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.offer-discount > .stub-code { margin-top: 7px; padding: 2px 7px; border: 1px dashed currentColor; border-radius: 5px; font-size: .7rem; letter-spacing: .03em; overflow-wrap: anywhere; }
.coupon-tip { display: none; position: absolute; z-index: 3; right: 0; bottom: calc(100% + 9px); width: max-content; max-width: min(240px, 80vw); padding: 9px 12px; border-radius: 8px; background: var(--white); color: var(--night); font-size: .8rem; font-weight: 500; line-height: 1.35; text-align: left; box-shadow: 0 8px 24px #0008; pointer-events: none; }
.coupon-tip::after { content: ""; position: absolute; top: 100%; right: 30px; border: 7px solid transparent; border-top-color: var(--white); }
.offer-discount .coupon-tip strong { font-family: var(--body); font-size: .8rem; font-weight: 700; line-height: inherit; letter-spacing: 0; margin: 0; }
button.offer-discount:not(:disabled):is(:hover, :focus-visible) > .coupon-tip:not([data-state="copied"]) { display: block; }
.coupon-tip[data-state="copied"] { display: block; }
.offer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.copy-cta { position: relative; cursor: copy; }
.copy-cta > .coupon-tip { left: 0; right: auto; }
.copy-cta > .coupon-tip::after { left: 26px; right: auto; }
.coupon-tip strong { font: inherit; font-weight: 700; }
.copy-cta:is(:hover, :focus-visible) > .coupon-tip:not([data-state="copied"]) { display: block; }
.copy-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.product-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--muted); font-size: .86rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.product-link:hover, .product-link:focus-visible { color: var(--gold); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.offer-mark { display: grid; place-items: center; width: 90px; aspect-ratio: 1; padding: 6px; border-radius: 7px; background: var(--badge-surface); color: var(--night); font: 400 1.02rem/1 var(--display); letter-spacing: -.03em; text-align: center; overflow-wrap: anywhere; }
.offer-family .offer-brand { align-items: start; padding-top: 19px; }
.offer-family .offer-discount { justify-content: flex-start; padding-top: 28px; }
.offer-items { list-style: none; width: 100%; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--border); }
.offer-items li { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.offer-items li:last-child { border-bottom: 0; padding-bottom: 0; }
.offer-item-name { font-size: .93rem; font-weight: 600; line-height: 1.3; }
.button-mini { min-height: 40px; padding: 7px 13px; gap: .6rem; font-size: .86rem; white-space: nowrap; }
.offer-price { display: grid; line-height: 1.15; }
.offer-price strong { font-size: 1.35rem; letter-spacing: -.06em; }
.reference, .price-label { font-size: .78rem; color: var(--muted); }
.coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; width: 100%; color: var(--muted); font-size: .83rem; }
.coupon code { color: var(--white); user-select: all; overflow-wrap: anywhere; }
.copy-button { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 3px 6px; border: 0; background: transparent; color: var(--gold); font: 700 .83rem var(--body); text-decoration: underline; text-underline-offset: .2em; }

.redeem { background: linear-gradient(120deg, #261a16, #181113 70%); border-top: 1px solid var(--border); padding: 72px 0; }
.redeem-grid { display: grid; grid-template-columns: minmax(220px, .82fr) minmax(0, 2fr); align-items: start; gap: 46px; }
.redeem h2 { color: var(--gold); }
.redeem-grid > div > p { max-width: 34ch; color: var(--muted); margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.step-number { color: var(--gold); font: 400 1.6rem/1 var(--display); letter-spacing: -.05em; }
.steps h3 { margin: 12px 0 5px; font-size: 1rem; line-height: 1.2; letter-spacing: -.015em; }
.steps p { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 78px; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .showcase-layout { grid-template-columns: minmax(0, 1fr) 154px; gap: 22px; }
  .offer { grid-template-columns: 81px minmax(0, 1fr) 122px; }
  .offer-brand img { width: 65px; }
  .offer-mark { width: 65px; font-size: .82rem; }
  .redeem-grid { gap: 24px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .masthead-inner { min-height: 58px; }
  .brand img { width: 105px; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding: 48px 0; }
  .hero h1 { font-size: clamp(3.9rem, 11vw, 6rem); }
  .hero-art { width: 72vw; margin-left: -13vw; }
  .showcase, .redeem { padding: 46px 0; }
  .showcase-layout, .redeem-grid { display: block; }
  .categories { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin-bottom: 26px; border: 0; }
  .categories a { border: 1px solid var(--border); background: var(--surface); min-height: 44px; font-size: .84rem; }
  .steps { margin-top: 24px; }
}

@media (max-width: 530px) {
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { padding: 34px 0 0; }
  .hero h1 { font-size: clamp(3.25rem, 14.5vw, 5.5rem); }
  .hero-deal { margin-top: 16px; }
  .hero-description { margin-top: 6px; }
  .button-gold { margin-top: 17px; }
  .hero-art {
    width: min(calc(100% + 24px), 425px);
    margin: -15px 0 0;
    align-self: center;
    mask-image: radial-gradient(ellipse 57% 65% at 50% 54%, #000 67%, transparent 100%);
  }
  .offer { grid-template-columns: minmax(0, 1fr) clamp(76px, 25vw, 105px); }
  .offer-main { padding: 14px 13px; }
  .offer-brand { position: absolute; inset: 14px auto auto 13px; width: 42px; padding: 0; border: 0; }
  .offer-brand img { padding: 3px; border-radius: 5px; }
  .offer-mark { width: 42px; padding: 3px; border-radius: 5px; font-size: .58rem; }
  .offer-family .offer-brand { padding: 0; }
  /* Família no celular: o selo vira uma faixa no rodapé, e a lista usa a largura inteira. */
  .offer-family { grid-template-columns: minmax(0, 1fr); }
  .offer-family .offer-discount { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 10px; padding: 12px; border-left: 0; border-top: 1px dashed var(--perforation); border-radius: 0 0 10px 10px; }
  .offer-family .offer-discount::before, .offer-family .offer-discount::after { display: none; }
  .offer-family .offer-discount strong { font-size: 2rem; }
  .offer-family .offer-discount > .stub-code { margin-top: 0; font-size: .72rem; }
  .offer-family .coupon-tip { right: 50%; transform: translateX(50%); }
  .offer-item-name { font-size: .84rem; }
  .button-mini { min-height: 40px; padding: 6px 10px; gap: .4rem; font-size: .8rem; }
  .offer-main h4 { display: flex; align-items: center; min-height: 42px; padding-left: 52px; }
  .offer-discount { padding: 6px; }
  .offer-discount > span { font-size: .7rem; }
  .offer-discount > .stub-code { font-size: .6rem; padding: 2px 4px; }
  .offer-discount strong { font-size: clamp(1.65rem, 9vw, 2.8rem); }
  .offer-includes { font-size: .875rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; }
  .step-number { grid-row: span 2; }
  .steps h3 { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .hero-art video { transition: none; }
}

@media (forced-colors: active) {
  .hero h1 span + span { color: CanvasText; }
}
