/* Sorteei · público (landing, loja, rifa, pagamento). --brand vem da cor de cada loja. */
@font-face { font-family: "Bricolage"; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url(/fonts/figtree-latin-wght-normal.woff2) format("woff2"); }

:root {
  --ink: #13161A; --ink-2: #474D55; --ink-3: #676E77; --paper: #F7F5EF; --paper-2: #EFEBE1; --card: #FFFFFF; --line: #E2DDD1;
  --brand: #1F7A4D; --gold: #F2B705; --gold-soft: #FFF1C2; --coral: #D9481F; --ok: #1F7A4D;
  --f-display: "Bricolage", "Segoe UI", system-ui, sans-serif; --f-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --r: 14px; --r-sm: 9px; --gutter: clamp(1rem, 4vw, 3rem); --max: 1180px;
  --shadow: 0 1px 0 rgba(19, 22, 26, .04), 0 18px 40px -24px rgba(19, 22, 26, .35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 2px; }
.muted { color: var(--ink-3); } .small { font-size: .875rem; } .center { text-align: center; margin-top: 1.5rem; }
.h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.02; }
.h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
.kicker { font: 700 .75rem/1.2 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 58ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.wrap.narrow { max-width: 760px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); cursor: pointer; }
.link:hover { text-decoration-color: currentColor; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .9375rem/1 var(--f-sans); text-decoration: none; cursor: pointer; transition: transform .15s, background-color .2s, border-color .2s, box-shadow .2s; background: none; color: inherit; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px var(--brand); }
.btn--brand:hover { background: color-mix(in srgb, var(--brand) 86%, black); }
.btn--ghost { border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--lg { min-height: 54px; padding: 0 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* topo */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__brand { display: inline-flex; align-items: center; gap: .6rem; font: 800 1.2rem/1 var(--f-display); text-decoration: none; letter-spacing: -.02em; min-width: 0; }
.top__brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.05rem; flex: none; }
.top__nav { display: none; gap: 1.6rem; font-weight: 600; font-size: .95rem; }
.top__nav a { text-decoration: none; color: var(--ink-2); } .top__nav a:hover { color: var(--ink); }
.top__cta { display: flex; align-items: center; gap: .9rem; font-weight: 600; font-size: .95rem; }
.top__cta .btn { min-height: 40px; padding: 0 1rem; }
@media (min-width: 900px) { .top__nav { display: flex; } }
@media (max-width: 420px) { .top__cta .link { display: none; } }

/* landing */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) var(--gutter) clamp(2rem, 5vw, 4rem); display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: .98; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__copy { display: grid; gap: 1.3rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.15fr .85fr; } }
.ticket { position: relative; background: var(--card); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); transform: rotate(-2deg); max-width: 440px; margin: 0 auto;
  -webkit-mask: radial-gradient(circle 11px at 0 58%, transparent 98%, #000) , radial-gradient(circle 11px at 100% 58%, transparent 98%, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
.ticket__top, .ticket__foot { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.ticket__top span, .ticket__foot span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ticket__top b { font: 800 1.3rem var(--f-display); }
.ticket__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 1.1rem 0; padding-bottom: 1.1rem; border-bottom: 2px dashed var(--line); }
.ticket__grid i { font: 600 .8rem/1 var(--f-sans); font-style: normal; font-variant-numeric: tabular-nums; text-align: center; padding: .55rem 0; border-radius: 7px; border: 1px solid var(--line); }
.ticket__grid i.is-paid { background: var(--ink); color: #fff; border-color: var(--ink); }
.ticket__grid i.is-res { background: var(--gold-soft); border-color: var(--gold); }
.ticket__foot b { font: 800 1.2rem var(--f-display); color: var(--brand); }
.strip { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; }
.strip > div { background: var(--card); padding: 1.2rem; display: grid; gap: .2rem; }
.strip > div:first-child { border-radius: var(--r) 0 0 0; } .strip > div:nth-child(2) { border-radius: 0 var(--r) 0 0; } .strip > div:nth-child(3) { border-radius: 0 0 0 var(--r); } .strip > div:last-child { border-radius: 0 0 var(--r) 0; }
.strip b { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--f-display); } .strip span { color: var(--ink-3); font-size: .9rem; }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(4, 1fr); } .strip > div { border-radius: 0 !important; } .strip > div:first-child { border-radius: var(--r) 0 0 var(--r) !important; } .strip > div:last-child { border-radius: 0 var(--r) var(--r) 0 !important; } }
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.sec--alt { max-width: none; background: var(--paper-2); }
.sec--alt > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.sec--alt > .sec__head > * { max-width: 720px; }
.sec__head { margin-bottom: 2rem; }
.sec:not(.sec--alt) > .sec__head { max-width: 720px; }
.sec__head h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.02; }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
@media (min-width: 900px) { .feats { grid-template-columns: repeat(3, 1fr); } }
.feat { background: var(--card); border-radius: var(--r); padding: 1.3rem; border: 1px solid var(--line); display: grid; gap: .4rem; align-content: start; }
.feat h3 { font-size: 1.15rem; } .feat p { color: var(--ink-2); font-size: .97rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border-radius: var(--r); padding: 1.3rem; display: grid; gap: .4rem; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 1rem var(--f-display); margin-bottom: .4rem; }
.steps b { font: 700 1.1rem var(--f-display); } .steps span { color: var(--ink-2); font-size: .97rem; }
.price { display: grid; gap: 2rem; align-items: center; }
.price h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.02; margin-bottom: 1rem; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .5rem; }
.checks li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: .6rem; }
.price__calc { background: var(--ink); color: #fff; border-radius: var(--r); padding: 1.6rem; display: grid; gap: 1rem; }
.price__calc .kicker { color: var(--gold); }
.price__calc label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; color: #C8CDD3; }
.price__calc input { width: 100%; min-height: 48px; border-radius: var(--r-sm); border: 1px solid #333A42; background: #1C2026; color: #fff; padding: 0 .9rem; font: 600 1.05rem var(--f-sans); }
.price__out { display: grid; gap: .5rem; border-top: 1px dashed #333A42; padding-top: 1rem; }
.price__out span { display: flex; justify-content: space-between; color: #C8CDD3; } .price__out b { color: #fff; font: 800 1.2rem var(--f-display); }
@media (min-width: 900px) { .price { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }
.faq { display: grid; gap: .6rem; max-width: 820px; }
.faq details { background: var(--card); border-radius: var(--r-sm); border: 1px solid var(--line); padding: 1rem 1.2rem; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); } .faq details[open] summary::after { content: "–"; }
.faq p { margin-top: .6rem; color: var(--ink-2); }
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: clamp(3rem, 8vw, 5rem) var(--gutter); display: grid; gap: 1.4rem; justify-items: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 800; }

/* cartões de rifa */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.rcard { background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--line); display: grid; transition: transform .2s, box-shadow .2s; }
.rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rcard__img { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rcard__ph { position: absolute; inset: 0; display: grid; place-items: center; font: 800 3rem var(--f-display); color: color-mix(in srgb, var(--brand) 40%, white); }
.tag { position: absolute; left: .7rem; top: .7rem; background: #fff; color: var(--ink); font: 800 .85rem var(--f-sans); padding: .35rem .65rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.tag--gold { background: var(--gold); }
.rcard__body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .45rem; }
.rcard__store { font-size: .8rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.rcard h3 { font-size: 1.1rem; line-height: 1.2; }
.rcard__meta { font-size: .85rem; color: var(--ink-3); }
.bar { height: 8px; background: var(--paper-2); border-radius: 999px; overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; background: var(--brand); }
.bar i.res { background: var(--gold); }
.bar--lg { height: 12px; }

/* loja */
.shero { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-bottom: 2.5rem; }
.shero__logo { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow); }
.shero .lead { margin-top: .4rem; }

/* rifa */
.raffle { max-width: var(--max); margin: 0 auto; padding: 1.5rem var(--gutter) 4rem; display: grid; gap: 2rem; }
.rhead { display: grid; gap: 1.6rem; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); background: var(--paper-2); aspect-ratio: 4 / 3; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gallery--ph { display: grid; place-items: center; font: 800 5rem var(--f-display); color: color-mix(in srgb, var(--brand) 35%, white); }
.rhead__info { display: grid; gap: 1rem; align-content: start; }
.prize { display: grid; gap: .2rem; font: 700 1.2rem/1.3 var(--f-display); }
.prize span { font: 700 .75rem var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.price-tag { display: flex; align-items: baseline; gap: .6rem; }
.price-tag b { font: 800 clamp(2rem, 4vw, 2.8rem)/1 var(--f-display); color: var(--brand); }
.price-tag span { color: var(--ink-3); font-weight: 600; }
.bar__legend { font-size: .92rem; color: var(--ink-2); margin-top: -.4rem; }
.facts { margin: 0; display: grid; gap: .5rem; padding: 1rem; background: var(--card); border-radius: var(--r-sm); border: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; } .facts dt { color: var(--ink-3); } .facts dd { margin: 0; font-weight: 700; text-align: right; }
@media (min-width: 900px) { .rhead { grid-template-columns: 1.1fr .9fr; gap: 2.5rem; } }

.winner { background: var(--ink); color: #fff; border-radius: var(--r); padding: 1.6rem; display: grid; gap: .5rem; }
.winner .kicker { color: var(--gold); } .winner h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); } .winner h2 b { color: var(--gold); font-variant-numeric: tabular-nums; }
.winner .muted { color: #AEB5BD; overflow-wrap: anywhere; }
.closed { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; text-align: center; display: grid; gap: .4rem; }

.buy { display: grid; gap: 1.2rem; align-items: start; }
.buy__main { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 1.6rem); display: grid; gap: 1.1rem; min-width: 0; }
.qty { display: flex; flex-wrap: wrap; gap: .5rem; }
.qty__add { flex: 1 1 70px; min-height: 52px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); font: 800 1.05rem var(--f-display); cursor: pointer; transition: border-color .15s, background-color .15s; }
.qty__add:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, white); }
.finder label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: .35rem; }
.finder__row { display: flex; gap: .5rem; }
.finder__row input { flex: 1; min-width: 0; min-height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--line); padding: 0 .9rem; font: 700 1.1rem var(--f-sans); font-variant-numeric: tabular-nums; background: #fff; }
.finder__msg { font-size: .88rem; min-height: 1.2em; margin-top: .3rem; color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: .35rem; vertical-align: -2px; border: 1px solid var(--line); }
.legend .sel { background: var(--brand); border-color: var(--brand); } .legend .res { background: var(--gold-soft); border-color: var(--gold); } .legend .paid { background: var(--ink); border-color: var(--ink); }
.numgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 5px; max-height: 60vh; overflow: auto; padding: 2px; overscroll-behavior: contain; }
.num { min-height: 42px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font: 700 .9rem/1 var(--f-sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .12s, border-color .12s, transform .12s; user-select: none; -webkit-user-select: none; }
.num:hover { border-color: var(--brand); }
.num[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); transform: scale(.96); }
.num.is-res { background: var(--gold-soft); border-color: var(--gold); color: #7A5C00; cursor: not-allowed; }
.num.is-paid { background: var(--ink); color: #fff; border-color: var(--ink); cursor: not-allowed; opacity: .88; }
.buy__cart { background: var(--card); border-radius: var(--r); border: 2px solid var(--brand); padding: 1.3rem; display: grid; gap: .8rem; position: sticky; bottom: .6rem; z-index: 5; box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); }
.cart__nums { display: flex; flex-wrap: wrap; gap: .3rem; max-height: 110px; overflow: auto; }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.cart__row b { font: 800 1.6rem var(--f-display); color: var(--brand); }
/* celular: carrinho vira uma barra fina que não cobre a grade */
@media (max-width: 959px) {
  .buy__cart { grid-template-columns: 1fr auto; align-items: center; gap: .3rem .8rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom, 0px)); border-width: 0; border-top: 2px solid var(--brand);
    position: fixed; left: 0; right: 0; bottom: 0; border-radius: 16px 16px 0 0; margin: 0; }
  .buy__cart .kicker, .buy__cart [data-cart-nums], .buy__cart [data-clear], .buy__cart > .muted { display: none; }
  .buy__cart .cart__row { display: grid; gap: 0; } .buy__cart .cart__row b { font-size: 1.25rem; } .buy__cart .cart__row span { font-size: .8rem; color: var(--ink-3); }
  .buy__cart [data-checkout] { width: auto; min-height: 48px; padding: 0 1.1rem; font-size: .95rem; }
  .raffle { padding-bottom: 7rem; }
}
@media (min-width: 960px) { .buy { grid-template-columns: 1fr 340px; } .buy__cart { top: 88px; bottom: auto; } }

.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 .6rem; border-radius: 7px; background: color-mix(in srgb, var(--brand) 12%, white); color: color-mix(in srgb, var(--brand) 80%, black); font: 800 .85rem var(--f-sans); font-variant-numeric: tabular-nums; }
.chip--muted { background: var(--paper-2); color: var(--ink-3); }
.chip button { margin-left: .35rem; border: 0; background: none; font: inherit; cursor: pointer; color: inherit; padding: 0; }

.rbody { display: grid; gap: 1.2rem; }
.rbody > div { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 1.6rem); }
.rdesc p + p { margin-top: .8rem; } .rdesc p, .rrules p { color: var(--ink-2); } .rrules p + p { margin-top: .6rem; }
.rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; counter-reset: r; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 2rem 1fr auto auto; gap: .6rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.rank li::before { content: counter(r) "º"; font: 800 1rem var(--f-display); color: var(--brand); }
.rank li:nth-child(-n+3)::before { color: var(--gold); }
.rank small { color: var(--ink-3); } .rank b { font: 800 1.05rem var(--f-display); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .rbody { grid-template-columns: 1.2fr .8fr; } .rbody .rdesc { grid-row: span 2; } }

/* checkout em folha (mobile) / janela (desktop) */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(19,22,26,.55); display: grid; align-items: end; justify-items: center; opacity: 0; transition: opacity .25s; }
.sheet.is-open { opacity: 1; }
.sheet__box { position: relative; width: 100%; max-width: 520px; max-height: 92svh; overflow: auto; background: var(--paper); border-radius: 20px 20px 0 0; padding: 1.4rem var(--gutter) calc(1.4rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: .9rem; transform: translateY(30px); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.sheet.is-open .sheet__box { transform: none; }
.sheet__x { position: absolute; right: .6rem; top: .5rem; width: 44px; height: 44px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--ink-3); }
@media (min-width: 640px) { .sheet { align-items: center; } .sheet__box { border-radius: 20px; padding: 1.8rem; } }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select { width: 100%; min-height: 50px; border-radius: var(--r-sm); border: 1.5px solid var(--line); padding: 0 .9rem; font: 500 1.05rem var(--f-sans); background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.field.has-err input { border-color: var(--coral); }
.field2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.err { color: var(--coral); font-size: .85rem; font-weight: 600; } .err:empty { display: none; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; }
.sheet__status { font-weight: 600; color: var(--ink-2); min-height: 1.2em; }

/* pagamento */
.pay { max-width: 560px; margin: 0 auto; padding: 1.5rem var(--gutter) 4rem; }
.pay__box { background: var(--card); border-radius: 20px; border: 1px solid var(--line); padding: clamp(1.3rem, 4vw, 2rem); display: grid; gap: 1.1rem; text-align: center; box-shadow: var(--shadow); }
.pay__pending, .pay__paid, .pay__expired { display: none; gap: 1rem; justify-items: center; }
.pay__box[data-state="pending"] .pay__pending, .pay__box[data-state="paid"] .pay__paid, .pay__box[data-state="expired"] .pay__expired, .pay__box[data-state="canceled"] .pay__expired { display: grid; }
.pay__amount { font: 800 2.6rem/1 var(--f-display); color: var(--brand); display: grid; gap: .3rem; }
.pay__amount span { font: 600 .95rem var(--f-sans); color: var(--ink-3); }
.pay__timer { font-weight: 600; } .pay__timer b { font-variant-numeric: tabular-nums; color: var(--coral); }
.pay__qr { width: min(260px, 70vw); height: auto; border-radius: 12px; border: 1px solid var(--line); padding: 8px; background: #fff; }
.copy { display: grid; gap: .5rem; width: 100%; }
.copy input { width: 100%; min-height: 46px; border-radius: var(--r-sm); border: 1.5px dashed var(--line); padding: 0 .8rem; font: 500 .85rem ui-monospace, monospace; color: var(--ink-2); background: var(--paper); }
.okmark { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; }
.pay__nums { border-top: 2px dashed var(--line); padding-top: 1rem; display: grid; gap: .6rem; justify-items: center; }

.mylist { display: grid; gap: .8rem; margin-top: 1.5rem; }
.mycard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; display: grid; gap: .6rem; }
.mycard > div:first-child { display: grid; gap: .2rem; }
.legal h2 { font-size: 1.25rem; margin: 1.6rem 0 .5rem; } .legal p { color: var(--ink-2); }

/* rodapé */
.foot { background: var(--ink); color: #C8CDD3; padding: 2.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: 1.2rem; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.foot .top__brand { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; font-size: .92rem; }
.foot a { color: #E6E9EC; text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot__legal { font-size: .85rem; max-width: 80ch; color: #9AA2AB; }
.foot__copy { font-size: .8rem; color: #8A929B; }
.foot--store { text-align: center; justify-items: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; } }
