:root {
  --ink: #0b2e78;
  --ink-soft: #465a76;
  --paper: #fffdf7;
  --paper-strong: #ffffff;
  --paper-muted: #e4f2ff;
  --line: rgba(11, 46, 120, 0.18);
  --line-strong: rgba(255, 203, 5, 0.58);
  --green: #0b2e78;
  --green-deep: #061d50;
  --gold: #ffcb05;
  --gold-dark: #0b2e78;
  --gold-soft: #fff0a6;
  --coral: #f58220;
  --coral-soft: #ffead5;
  --mint: #eaf6ff;
  --sky: #d5efff;
  --rose: #ead2b0;
  --danger: #8f332c;
  --shadow: 0 28px 80px rgba(16, 11, 5, 0.32);
  --shadow-soft: 0 18px 42px rgba(16, 11, 5, 0.14);
  --container: min(1200px, calc(100% - 40px));
  --radius: 8px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--font-main);
}

@font-face {
  font-family: "Roffelia";
  src:
    local("Roffelia"),
    local("Roffelia Regular"),
    url("assets/roffelia-font/roffelia-regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  background: linear-gradient(180deg, #fffefa 0%, #f5fbff 52%, #e6f4ff 100%);
  font-family: var(--font-main);
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection {
  color: #111;
  background: var(--gold-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
}

main,
.raffle-stage,
.details-band,
.steps-band,
.site-footer {
  max-width: 100%;
  overflow-x: clip;
}

#inicio,
#numeros,
#pix,
#detalhes,
#cartaz {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - 1200px) / 2));
  color: var(--ink);
  background: rgba(255, 249, 238, 0.78);
  border-bottom: 1px solid rgba(143, 93, 24, 0.08);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 249, 238, 0.94);
  box-shadow: 0 12px 34px rgba(21, 18, 13, 0.08);
  backdrop-filter: blur(18px);
}

.site-header:not(.is-scrolled):not(.is-open) .brand-copy,
.site-header:not(.is-scrolled):not(.is-open) .site-nav {
  text-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(143, 93, 24, 0.18);
  border-radius: var(--radius);
  color: #15120d;
  background: #ffcb05;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.38), 0 10px 22px rgba(16, 11, 5, 0.12);
}

.brand-mark svg {
  display: block;
  width: 27px;
  height: 27px;
  overflow: visible;
}

.brand-mark img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(16, 11, 5, 0.22));
}

.brand-mark path:first-child,
.brand-mark circle {
  fill: currentColor;
}

.brand-mark path:not(:first-child) {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-family: "Montserrat", var(--font-main);
  line-height: 1.08;
  font-size: 1.05rem;
  font-weight: 900;
}

.brand small {
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.7;
}

.header-participate {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 760;
}

.drawer-heading {
  display: none;
}

.site-nav a {
  position: relative;
  border: 1px solid rgba(217, 164, 65, 0.62);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.08), rgba(217, 164, 65, 0.03)),
    #0b0907;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.08),
    0 9px 20px rgba(16, 11, 5, 0.16);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:not(.nav-cta)::after {
  display: none;
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 170ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(255, 231, 168, 0.86);
  color: #ffeec2;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.14),
    0 12px 24px rgba(16, 11, 5, 0.2),
    0 0 16px rgba(217, 164, 65, 0.18);
  transform: translateY(-1px);
}

.nav-cta {
  border-color: rgba(217, 164, 65, 0.76);
  border-radius: var(--radius);
  padding: 10px 15px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.05)),
    #050403;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.12),
    0 10px 24px rgba(16, 11, 5, 0.22),
    0 0 14px rgba(217, 164, 65, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.notification-button {
  display: none;
}

.app-tabbar {
  display: none;
}

.floating-participate {
  display: none;
}

.raffle-stage {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: 96px 0 64px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8ed 0%, #fffaf2 48%, #efe0c4 100%);
}

.raffle-stage::before,
.raffle-stage::after {
  position: absolute;
  z-index: 0;
  width: 27rem;
  height: 27rem;
  border: 2px solid rgba(217, 164, 65, 0.36);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  display: none;
}

.raffle-stage::before {
  top: -18rem;
  left: -9rem;
  box-shadow: inset 0 0 0 1px rgba(143, 93, 24, 0.12);
}

.raffle-stage::after {
  top: 9rem;
  right: -18rem;
  box-shadow: inset 0 0 0 1px rgba(143, 93, 24, 0.14);
}

.raffle-workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 20px;
  align-items: start;
}

.raffle-workspace > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  padding: 24px 0 38px;
  text-align: center;
}

.hero-cap,
.hero-pretitle,
.hero-script,
.hero-rule {
  display: none;
}

.hero-poster {
  position: relative;
  order: 4;
  width: min(100%, 760px);
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid #0b2e78;
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: 0 24px 70px rgba(11, 46, 120, 0.2);
}

.hero-poster picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fffdf7;
}

.raffle-image-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(24px, 6vw, 72px);
  color: #fffaf0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(217, 164, 65, 0.28), transparent 52%),
    linear-gradient(145deg, #332616, #11100d 72%);
}

.brand-mark {
  border-color: rgba(11, 46, 120, 0.2);
  color: #0b2e78;
  background: #ffcb05;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58), 0 10px 22px rgba(11, 46, 120, 0.12);
}

.brand-mark span {
  font-weight: 950;
  letter-spacing: -0.08em;
}

.details-band {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 203, 5, 0.19), transparent 24rem),
    radial-gradient(circle at 100% 52%, rgba(49, 155, 230, 0.12), transparent 22rem),
    linear-gradient(180deg, #fffefa, #eaf6ff);
}

.details-layout {
  grid-template-columns: minmax(0, 1fr);
}

.raffle-meta li {
  border-color: rgba(11, 46, 120, 0.2);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f0f8ff);
  box-shadow: 0 14px 32px rgba(11, 46, 120, 0.08);
}

.raffle-meta span {
  color: #0b2e78;
}

.raffle-meta strong {
  color: #0b2e78;
  text-shadow: none;
}

.raffle-image-placeholder span {
  color: #f0cb7e;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.raffle-image-placeholder strong {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.raffle-image-placeholder small {
  color: #f0cb7e;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 800;
}

.raffle-image-placeholder em {
  margin-top: 18px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 0.9rem;
  font-style: normal;
}

.campaign-lockup {
  position: relative;
  order: 5;
  width: min(760px, 88vw);
  margin: 12px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.campaign-lockup img {
  display: block;
  width: 100%;
  aspect-ratio: 1292 / 984;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 32px 48px rgba(16, 11, 5, 0.2));
}

.campaign-lockup picture {
  display: block;
}

.campaign-lockup::before {
  position: absolute;
  right: 18%;
  bottom: 2%;
  left: 18%;
  height: 14px;
  border-radius: 999px;
  background: rgba(21, 18, 13, 0.22);
  filter: blur(18px);
  content: "";
  transform: translateY(24px);
}

.price-badge {
  position: absolute;
  bottom: 14%;
  left: 4%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: clamp(118px, 15vw, 176px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 231, 168, 0.66);
  border-radius: 50%;
  padding: 14px;
  color: #fff7df;
  background:
    radial-gradient(circle at 42% 25%, rgba(255, 231, 168, 0.2), transparent 42%),
    linear-gradient(180deg, #211d18, #080706);
  box-shadow: 0 18px 36px rgba(16, 11, 5, 0.28), inset 0 0 0 1px rgba(217, 164, 65, 0.38);
  overflow: hidden;
  text-transform: uppercase;
}

.price-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  width: 100%;
  margin: 0;
  color: var(--gold);
  font-family: var(--font-main);
  font-weight: 950;
  line-height: 0.95;
  white-space: nowrap;
}

.price-currency {
  font-size: clamp(0.78rem, 1.25vw, 1.05rem);
}

.price-value {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.price-caption {
  margin-top: 6px;
  color: rgba(255, 248, 232, 0.78);
  font-size: clamp(0.5rem, 0.78vw, 0.68rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
}

.price-badge i {
  width: 42%;
  height: 1px;
  margin-top: 9px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.campaign-cap {
  display: inline-grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(217, 164, 65, 0.58);
  border-radius: 50%;
  color: var(--gold);
  background: linear-gradient(180deg, #17130e, #3a2a14);
  box-shadow: inset 0 0 0 1px rgba(255, 231, 168, 0.2);
}

.campaign-cap svg {
  width: 28px;
  height: 28px;
  overflow: visible;
}

.campaign-cap path:first-child,
.campaign-cap circle,
.campaign-rule path {
  fill: currentColor;
}

.campaign-cap path:not(:first-child) {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.campaign-topline {
  display: block;
  margin-top: 11px;
  color: #17130e;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.campaign-lockup > strong {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  background: linear-gradient(180deg, #fff1ba 0%, #d9a441 42%, #8f5d18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", Georgia, serif;
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 0.98;
  filter: drop-shadow(0 2px 0 rgba(80, 46, 8, 0.28)) drop-shadow(0 10px 12px rgba(0, 0, 0, 0.22));
  -webkit-text-stroke: 0.35px rgba(92, 55, 11, 0.26);
  text-shadow: 0 3px 0 rgba(63, 36, 7, 0.18), 0 10px 18px rgba(0, 0, 0, 0.26);
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
}

.price-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  width: 100%;
  margin: 0;
  color: var(--gold);
  background: none;
  background-clip: border-box;
  font-family: var(--font-main);
  font-weight: 950;
  line-height: 0.95;
  filter: none;
  text-shadow: none;
  white-space: nowrap;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}

.price-line .price-currency,
.price-line .price-value {
  color: var(--gold);
  -webkit-text-fill-color: currentColor;
}

.campaign-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  width: min(100%, 230px);
  margin-top: 11px;
  color: var(--gold-dark);
}

.campaign-rule i {
  height: 1px;
  background: rgba(143, 93, 24, 0.48);
}

.campaign-rule svg {
  width: 15px;
  height: 15px;
}

.hero-cap {
  order: 1;
  display: inline-grid;
  place-items: center;
  width: clamp(38px, 5vw, 56px);
  height: clamp(38px, 5vw, 56px);
  margin-bottom: 8px;
  color: #15120d;
  filter: drop-shadow(0 8px 12px rgba(16, 11, 5, 0.14));
}

.hero-cap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-cap path:first-child,
.hero-cap circle {
  fill: currentColor;
}

.hero-cap path:not(:first-child) {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.hero-pretitle {
  order: 2;
  margin: 0;
  color: #22201b;
  font-size: clamp(1.65rem, 3.7vw, 3rem);
  font-weight: 380;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
}

.hero-script {
  position: relative;
  order: 3;
  display: inline-block;
  max-width: 100%;
  margin: 5px auto 0;
  padding-top: 0;
  color: var(--gold);
  background: none;
  font-family: "Montserrat", var(--font-main);
  font-size: clamp(3.2rem, 8.1vw, 6.8rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-transform: uppercase;
  filter: none;
  text-shadow: none;
  transform: none;
  transform-origin: center;
  white-space: nowrap;
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: var(--gold);
}

.hero-rule {
  order: 4;
  display: grid;
  grid-template-columns: minmax(52px, 1fr) auto minmax(52px, 1fr);
  gap: 13px;
  align-items: center;
  width: min(260px, 60vw);
  margin: 10px 0 14px;
  color: var(--gold);
}

.hero-rule i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.8), transparent);
}

.hero-rule span {
  font-size: 1.1rem;
  line-height: 1;
}

.eyebrow {
  order: 1;
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1,
.tool-heading h2,
.detail-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-copy h1 {
  order: 4;
  display: grid;
  gap: 3px;
  max-width: 960px;
  font-weight: 950;
  color: #15120d;
  text-shadow: none;
  text-transform: uppercase;
}

.hero-title-kicker {
  display: block;
  font-size: clamp(1.15rem, 2.45vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.08;
}

.hero-product {
  display: block;
  font-size: clamp(4.2rem, 9.8vw, 8.5rem);
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.hero-product strong {
  color: var(--gold);
  font: inherit;
  letter-spacing: -0.055em;
  text-shadow: 0 10px 22px rgba(217, 164, 65, 0.18);
}

.hero-description {
  order: 8;
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  order: 7;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: min(100%, 760px);
  margin-top: 28px;
}

.hero-actions .button {
  min-width: min(100%, 320px);
  min-height: 58px;
  border-radius: 999px;
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-actions .button-primary::after {
  margin-left: 10px;
  content: "->";
}

.hero-facts {
  order: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 900px);
  max-width: 900px;
  margin: -30px 0 0;
  position: relative;
  z-index: 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-facts div {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 132px;
  min-width: 0;
  padding: 18px 14px 19px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.86), transparent 62%),
    rgba(255, 252, 246, 0.78);
  box-shadow: 0 18px 34px rgba(16, 11, 5, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
}

.fact-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border: 1px solid rgba(217, 164, 65, 0.72);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.5);
}

.fact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-facts dt {
  order: 2;
  margin: 0;
  color: #181511;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-facts dd {
  order: 1;
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.board-tool,
.checkout-tool {
  overflow: hidden;
  border: 1px solid rgba(143, 93, 24, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(21, 18, 13, 0.08);
  backdrop-filter: blur(20px);
}

.board-tool::before,
.checkout-tool::before {
  display: block;
  height: 2px;
  margin: -18px -18px 14px;
  background: linear-gradient(90deg, rgba(143, 93, 24, 0), #d9a441, rgba(143, 93, 24, 0));
  content: "";
}

.board-tool {
  padding: 18px;
}

.checkout-tool {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.tool-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: end;
}

.tool-heading .eyebrow {
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.tool-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 900;
}

.available-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  border: 1px solid rgba(217, 164, 65, 0.58);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.1), rgba(217, 164, 65, 0.04)),
    #100d09;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.12),
    0 10px 22px rgba(16, 11, 5, 0.14),
    0 0 14px rgba(217, 164, 65, 0.12);
}

.available-counter::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(217, 164, 65, 0.72);
  content: "";
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 18px 0 20px;
  overflow: visible;
  border: 1px solid rgba(143, 93, 24, 0.12);
  border-radius: 20px;
  padding: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 232, 205, 0.54)),
    rgba(255, 248, 236, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 30px rgba(16, 11, 5, 0.07);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 999px;
  padding: 0 16px;
  color: #21180d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 230, 199, 0.82)),
    #fff8eb;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 18px rgba(16, 11, 5, 0.08);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: rgba(217, 164, 65, 0.86);
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.04)),
    #0b0907;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.14),
    0 10px 22px rgba(16, 11, 5, 0.18),
    0 0 16px rgba(217, 164, 65, 0.18);
}

.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-1px);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 7px;
}

.number-button {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-width: 0;
  border: 1px solid rgba(143, 93, 24, 0.2);
  border-radius: 7px;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf0, #f0dfc0);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(5, 18, 15, 0.07);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.number-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.buyer-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--danger);
  font-size: 0.55rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.number-button:hover,
.number-button:focus-visible {
  border-color: var(--gold);
  color: var(--green-deep);
  background: #fff2d0;
  box-shadow: 0 10px 22px rgba(217, 164, 65, 0.22);
  transform: translateY(-2px);
}

.number-button.is-selected {
  border-color: var(--gold-dark);
  color: #1d1608;
  background: linear-gradient(180deg, #fff0b5, #d9a441);
  box-shadow: inset 0 0 0 2px rgba(143, 93, 24, 0.28), 0 10px 22px rgba(217, 164, 65, 0.24);
}

.number-button.is-reserved,
.number-button.is-payment_reported,
.number-button.is-sold {
  color: rgba(23, 21, 17, 0.46);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.number-button.is-reserved {
  border-color: rgba(143, 93, 24, 0.28);
  background: #f1dfbe;
  gap: 3px;
  grid-template-rows: minmax(0, auto) auto;
  padding: 5px;
}

.number-button.is-payment_reported {
  color: #fff;
  border-color: #1d4ed8;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  gap: 3px;
  grid-template-rows: minmax(0, auto) auto;
  padding: 5px;
}

.number-button.is-sold {
  border-color: rgba(23, 21, 17, 0.1);
  background: #d9cfbc;
  gap: 3px;
  grid-template-rows: minmax(0, auto) auto;
  padding: 5px;
}

.number-button.is-sold .number-value {
  font-size: 0.74rem;
}

.number-grid.is-empty {
  display: block;
}

.empty-filter {
  margin: 10px 0 0;
  border: 1px dashed rgba(23, 21, 17, 0.25);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.board-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 760;
}

.board-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.legend-dot.is-free {
  background: #fff9eb;
}

.legend-dot.is-selected {
  background: var(--gold);
}

.legend-dot.is-reserved {
  background: #f1dfbe;
}

.legend-dot.is-payment-reported {
  background: #2563eb;
}

.legend-dot.is-sold {
  background: #d9cfbc;
}

.button-payment-reported {
  color: #fff;
  border-color: #1d4ed8;
  background: #2563eb;
}

.button-payment-reported:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 820;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(143, 93, 24, 0.2);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fffaf0;
  outline: none;
  resize: vertical;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.2);
}

.selected-box {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(143, 93, 24, 0.18);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 8px 20px rgba(5, 18, 15, 0.05);
}

.selected-box > span,
.pix-key span,
.total-row span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 32px;
  align-items: center;
}

.selected-list em {
  color: rgba(23, 21, 17, 0.55);
  font-style: normal;
  font-size: 0.9rem;
}

.selected-chip {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 32px;
  border-radius: 999px;
  color: var(--gold-soft);
  background: linear-gradient(180deg, #272019, #11100d);
  font-size: 0.86rem;
  font-weight: 900;
}

.selected-chip.is-held {
  color: var(--danger);
  background: var(--coral-soft);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 18px;
}

.payment-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(217, 81, 67, 0.2);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--danger);
  background: linear-gradient(180deg, #fff7f2, var(--coral-soft));
}

.payment-timer[hidden] {
  display: none;
}

.payment-timer span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-timer strong {
  font-size: 1.35rem;
  font-weight: 950;
}

.total-row strong {
  color: var(--gold-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.qr-panel {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(143, 93, 24, 0.16);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 250, 240, 0.84);
  box-shadow: 0 10px 24px rgba(5, 18, 15, 0.06);
}

.qr-code {
  display: grid;
  place-items: center;
  width: 132px;
  min-height: 132px;
  border: 1px dashed rgba(143, 93, 24, 0.36);
  border-radius: 7px;
  color: rgba(23, 21, 17, 0.52);
  background: #fffaf0;
  overflow: hidden;
}

.qr-code svg {
  display: block;
  width: 100%;
  height: auto;
}

.qr-code span {
  padding: 12px;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.qr-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 760;
}

.pix-key {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--gold);
  border-radius: 0 7px 7px 0;
  padding: 8px 0 8px 12px;
  background: rgba(217, 164, 65, 0.12);
}

.pix-key strong {
  color: var(--ink);
  font-size: 0.92rem;
  word-break: break-word;
}

.checkout-actions {
  display: grid;
  gap: 9px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 22px rgba(5, 18, 15, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--gold-soft);
  border-color: rgba(217, 164, 65, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.05)),
    #070604;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.12),
    0 10px 24px rgba(16, 11, 5, 0.18),
    0 0 14px rgba(217, 164, 65, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #ffeec2;
  border-color: rgba(255, 231, 168, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.16), rgba(217, 164, 65, 0.07)),
    #050403;
}

.button-whatsapp {
  color: #fff;
  border-color: #12a66a;
  background: linear-gradient(180deg, #1fc779, #138a57);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #168748;
}

.button-ghost {
  color: var(--gold-soft);
  border-color: rgba(217, 164, 65, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.08), rgba(217, 164, 65, 0.03)),
    #0b0907;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.08),
    0 8px 18px rgba(16, 11, 5, 0.14);
}

.button:disabled,
.button.is-disabled {
  color: rgba(23, 21, 17, 0.45);
  border-color: rgba(23, 21, 17, 0.12);
  background: #e9e3d8;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.panel-status,
.firebase-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 820;
}

.firebase-status {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.details-band {
  padding: 86px 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 164, 65, 0.2), transparent 24rem),
    radial-gradient(circle at 100% 52%, rgba(21, 18, 13, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(255, 249, 235, 0.82), rgba(238, 224, 194, 0.72)),
    var(--paper);
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 42px;
  align-items: center;
}

.detail-copy .eyebrow {
  color: var(--gold-dark);
}

.detail-copy h2 {
  max-width: 560px;
  font-size: 4.15rem;
  font-weight: 900;
}

.detail-copy p:not(.eyebrow) {
  max-width: 570px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.raffle-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.raffle-meta li {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 138px;
  border: 1px solid rgba(217, 164, 65, 0.78);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.08), rgba(143, 93, 24, 0.04)),
    #1c180f;
  box-shadow: 0 20px 48px rgba(16, 11, 5, 0.2), inset 0 0 0 1px rgba(255, 231, 168, 0.08);
}

.raffle-meta span {
  color: #ffd978;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.raffle-meta strong {
  align-self: end;
  color: #fffaf0;
  font-size: 1.05rem;
  line-height: 1.18;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.poster-frame {
  justify-self: end;
  width: min(100%, 420px);
  margin: 0;
  border: 1px solid rgba(217, 164, 65, 0.62);
  border-radius: var(--radius);
  padding: 9px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(217, 164, 65, 0.16), rgba(255, 255, 255, 0.04)),
    #0d0c0a;
  box-shadow: 0 24px 70px rgba(16, 11, 5, 0.26), inset 0 0 0 1px rgba(255, 231, 168, 0.12);
}

.poster-frame img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.poster-image-placeholder {
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 6px;
}

.poster-frame figcaption {
  margin: 10px 4px 3px;
  font-size: 0.82rem;
  font-weight: 760;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.step-card {
  min-height: 210px;
  border: 1px solid rgba(143, 93, 24, 0.18);
  border-radius: var(--radius);
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(217, 164, 65, 0.1), transparent 12rem),
    #fffaf0;
  box-shadow: var(--shadow-soft);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--gold-soft);
  background: linear-gradient(180deg, #262018, #0f0d0a);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.5);
}

.step-card h3 {
  margin: 28px 0 9px;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 26px 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 50%, rgba(217, 164, 65, 0.18), transparent 18rem),
    linear-gradient(90deg, rgba(217, 164, 65, 0.16), rgba(255, 231, 168, 0.04)),
    var(--green-deep);
  box-shadow: inset 0 1px 0 rgba(217, 164, 65, 0.34);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-note {
  display: grid;
  gap: 4px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: right;
}

.creator-credit {
  color: rgba(255, 255, 255, 0.88);
}

.creator-credit strong {
  color: var(--gold-soft);
  font-weight: 900;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-enabled .raffle-stage .hero-copy.reveal {
  opacity: 1;
  transform: none;
}

.admin-page {
  min-height: 100svh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff7e8 0%, #f6fff7 58%, #eef8ff 100%);
}

.admin-shell {
  display: grid;
  gap: 18px;
  width: min(1040px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.admin-hero {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.24), rgba(217, 255, 241, 0.58) 54%, rgba(200, 236, 255, 0.5)),
    #fffdf8;
  box-shadow: var(--shadow-soft);
}

.admin-back-link {
  width: max-content;
  color: var(--ink-soft);
  font-weight: 800;
  text-decoration: none;
}

.admin-back-link:hover {
  color: var(--gold-dark);
}

.admin-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: 2.7rem;
  font-weight: 950;
  line-height: 1.02;
}

.admin-lede {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.admin-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.admin-trust-list span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.admin-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow-soft);
}

.admin-panel[data-admin-orders] {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.admin-panel h1,
.admin-panel h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
}

.admin-login-copy {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
}

.admin-login-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.google-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 360px);
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--ink);
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(5, 18, 15, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.google-login-button:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.google-login-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.google-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #4285f4;
  background: #fff;
  font-weight: 950;
}

.admin-status {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-session-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow-soft);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-user div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-user strong,
.admin-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.admin-session-status {
  flex: 1 1 100%;
  order: 3;
  margin: 0;
}

.admin-orders-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.admin-orders-heading h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
}

.admin-count {
  flex: 0 0 auto;
  border: 1px solid rgba(7, 94, 84, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green);
  background: var(--mint);
  font-size: 0.84rem;
  font-weight: 900;
}

.order-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 12px;
  margin-top: 18px;
}

.order-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 16px;
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.order-card.is-expired {
  border-color: rgba(217, 81, 67, 0.3);
  background: #fff8f5;
}

.order-card.is-payment-reported {
  border-color: #60a5fa;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.admin-order-group + .admin-order-group {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.admin-order-group h3 {
  margin: 0 0 1rem;
}

.order-status-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.65rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: #1e3a8a;
  background: #dbeafe;
  font-size: 0.78rem;
  font-weight: 800;
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.order-card-header div {
  display: grid;
  gap: 3px;
}

.order-card-header strong {
  font-size: 1.1rem;
}

.order-card-header span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.order-card-header b {
  color: var(--green);
  font-size: 1.2rem;
}

.order-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.order-numbers-label {
  flex: 1 1 100%;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.order-number-chip,
.order-numbers-empty {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.88rem;
  font-weight: 950;
}

.order-number-chip {
  color: var(--danger);
  background: var(--coral-soft);
}

.order-numbers-empty {
  color: var(--ink-soft);
  background: #f1eadf;
}

.order-countdown {
  margin: 0;
  border: 1px solid rgba(217, 81, 67, 0.22);
  border-radius: var(--radius);
  padding: 9px 10px;
  color: var(--danger);
  background: #fff1ed;
  font-size: 0.92rem;
  font-weight: 900;
}

.order-countdown.is-expired {
  border-color: rgba(217, 81, 67, 0.34);
  background: #ffe9e4;
}

.order-payment-hint {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--ink);
  background: #fff8e8;
  font-size: 0.9rem;
  font-weight: 700;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ticket-proof-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.08), rgba(217, 164, 65, 0.03)),
    #100d08;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.08),
    0 16px 34px rgba(16, 11, 5, 0.18);
}

.ticket-proof-panel[hidden] {
  display: none;
}

.ticket-proof-panel h2,
.ticket-proof-panel p {
  margin: 0;
}

.ticket-proof-panel p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 246, 223, 0.78);
  line-height: 1.5;
}

.ticket-proof-count {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-height: 30px;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 999px;
  margin-top: 8px;
  padding: 0 10px;
  color: #ffe7a8;
  background: rgba(217, 164, 65, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
}

.ticket-proof-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
}

.ticket-proof-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed rgba(217, 164, 65, 0.34);
  border-radius: var(--radius);
  padding: 16px;
  color: rgba(255, 246, 223, 0.78);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  font-weight: 850;
}

.ticket-cancelled-box {
  border: 1px solid rgba(217, 81, 67, 0.24);
  border-radius: var(--radius);
  background: rgba(217, 81, 67, 0.06);
}

.ticket-cancelled-box[hidden] {
  display: none;
}

.ticket-cancelled-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  color: #ffe7a8;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.ticket-cancelled-box summary::-webkit-details-marker {
  display: none;
}

.ticket-cancelled-box summary::before {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 50%;
  color: #ffe7a8;
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.ticket-cancelled-box[open] summary::before {
  content: "-";
}

.ticket-cancelled-box summary span {
  flex: 1;
}

.ticket-cancelled-box summary strong {
  border: 1px solid rgba(217, 81, 67, 0.3);
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffd4ce;
  background: rgba(217, 81, 67, 0.12);
  font-size: 0.75rem;
  white-space: nowrap;
}

.ticket-cancelled-list {
  border-top: 1px solid rgba(217, 81, 67, 0.2);
  padding: 12px;
}

.ticket-proof-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(5, 4, 3, 0.72);
}

.ticket-proof-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.ticket-proof-card-header strong {
  color: #fff3d1;
  font-size: 1.05rem;
}

.ticket-proof-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 0;
}

.ticket-proof-card-header span,
.ticket-proof-meta span {
  color: rgba(255, 246, 223, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
}

.ticket-proof-state {
  width: max-content;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 999px;
  padding: 3px 8px;
  color: #ffe7a8;
  background: rgba(217, 164, 65, 0.12);
  font-size: 0.68rem !important;
  font-weight: 950 !important;
  text-transform: uppercase;
}

.ticket-proof-card code {
  overflow-wrap: anywhere;
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: 8px;
  padding: 10px;
  color: #ffe7a8;
  background: rgba(255, 231, 168, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ticket-proof-qr {
  display: grid;
  place-items: center;
  min-height: 124px;
  border: 1px solid rgba(217, 164, 65, 0.24);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.ticket-proof-qr svg {
  display: block;
  width: min(100%, 136px);
  height: auto;
  border-radius: 4px;
}

.ticket-proof-qr span {
  color: rgba(255, 246, 223, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
}

.ticket-proof-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.ticket-proof-actions .button {
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.ticket-cancel-button {
  color: #ffd4ce;
  border-color: rgba(217, 81, 67, 0.42);
}

.ticket-proof-card.is-cancelled {
  opacity: 0.78;
}

.ticket-proof-card.is-legacy .ticket-proof-state {
  color: #ffe7a8;
  border-color: rgba(255, 231, 168, 0.32);
  background: rgba(255, 231, 168, 0.09);
}

.ticket-proof-card.is-cancelled .ticket-proof-state {
  color: #ffd4ce;
  border-color: rgba(217, 81, 67, 0.36);
  background: rgba(217, 81, 67, 0.12);
}

.validation-page {
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(217, 164, 65, 0.18), transparent 32rem),
    linear-gradient(180deg, #fff8ea 0%, #f3ead9 100%);
}

.validation-shell {
  display: grid;
  place-items: center;
  min-height: 100svh;
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0;
}

.validation-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 12px;
  padding: clamp(18px, 4vw, 34px);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 60px rgba(16, 11, 5, 0.16);
}

.validation-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
}

.validation-brand span:last-child {
  display: grid;
  gap: 2px;
}

.validation-brand small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.validation-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
}

.validation-copy {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.validation-form {
  display: grid;
  gap: 9px;
}

.validation-form label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.validation-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  min-width: 0;
}

.validation-form input {
  min-width: 0;
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(143, 93, 24, 0.24);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.validation-form input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.18);
}

.validation-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 850;
}

.validation-status[data-mode="success"] {
  color: var(--green);
}

.validation-status[data-mode="warning"],
.validation-status[data-mode="error"] {
  color: var(--danger);
}

.validation-result {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(217, 164, 65, 0.36);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.1), rgba(217, 164, 65, 0.04)),
    #100d08;
  color: #fff7df;
}

.validation-result[hidden] {
  display: none;
}

.validation-badge {
  width: max-content;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 999px;
  padding: 7px 11px;
  color: #ffe7a8;
  background: rgba(217, 164, 65, 0.12);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.validation-result dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.validation-result dl div {
  border: 1px solid rgba(217, 164, 65, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.validation-result dt {
  color: rgba(255, 246, 223, 0.68);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.validation-result dd {
  margin: 7px 0 0;
  color: #fff7df;
  font-size: 1rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.validation-result p {
  margin: 0;
  color: rgba(255, 246, 223, 0.76);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal,
  .reveal-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .raffle-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  }

  .hero-copy {
    display: flex;
    gap: 0;
    grid-column: 1 / -1;
    align-items: center;
  }

  .hero-poster {
    width: min(100%, 760px);
  }

  .campaign-lockup {
    width: min(700px, 86vw);
    margin: 8px auto 0;
  }

  .hero-copy h1,
  .hero-description {
    max-width: 720px;
  }

  .checkout-tool {
    position: static;
  }
}

@media (max-width: 860px) {
  :root {
    --container: calc(100% - 30px);
  }

  .validation-shell {
    display: block;
    width: 100%;
    align-items: start;
    padding: 16px 14px;
  }

  .validation-card {
    width: 100%;
    max-width: calc(100vw - 28px);
    margin: 0 auto;
  }

  .validation-form div,
  .validation-result dl,
  .ticket-proof-actions {
    grid-template-columns: 1fr;
  }

  #inicio,
  #numeros,
  #pix,
  #detalhes,
  #cartaz {
    scroll-margin-top: 78px;
  }

  body {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #f5ead9 0%, #fffaf0 52%, #efe2ca 100%);
  }

  .site-header {
    justify-content: space-between;
    gap: 10px;
    min-height: 62px;
    padding: 8px 14px;
    color: var(--ink);
    background: rgba(255, 249, 238, 0.96);
    box-shadow: 0 8px 18px rgba(21, 18, 13, 0.06);
    backdrop-filter: none;
  }

  .site-header.is-scrolled,
  .site-header.is-open {
    color: var(--ink);
    background: rgba(255, 249, 238, 0.98);
    box-shadow: 0 8px 18px rgba(21, 18, 13, 0.06);
    backdrop-filter: none;
  }

  .brand {
    display: inline-flex;
    max-width: calc(100vw - 28px);
  }

  .brand-copy {
    min-width: 0;
  }

  .brand strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-participate {
    display: none;
  }

  .header-participate::after {
    display: none;
    content: none;
  }

  .header-participate span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: none;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px auto;
    border-radius: 999px;
    background: currentColor;
  }

  .site-header.is-open .menu-toggle,
  .site-header.is-scrolled .menu-toggle {
    color: var(--gold-soft);
  }

  .notification-button {
    display: none;
  }

  .notification-button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
  }

  .notification-button span {
    position: absolute;
    top: -4px;
    right: -3px;
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border: 2px solid #0d0c0a;
    border-radius: 999px;
    color: #111;
    background: linear-gradient(180deg, #ffe7a8, #d9a441);
    font-size: 0.76rem;
    font-weight: 950;
    line-height: 1;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .drawer-heading {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(217, 164, 65, 0.26);
    padding-bottom: 16px;
  }

  .drawer-heading span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .drawer-heading strong {
    color: #fff8e8;
    font-size: 1.35rem;
    line-height: 1.05;
  }

  .site-nav a,
  .nav-cta {
    border: 1px solid rgba(217, 164, 65, 0.2);
    border-radius: var(--radius);
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-cta {
    color: #15120d;
    background: linear-gradient(180deg, #ffe7a8, #d9a441 56%, #b57922);
  }

  .app-tabbar {
    position: fixed;
    z-index: 32;
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 50%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: min(374px, calc(100% - 24px));
    min-height: 78px;
    border: 1px solid rgba(217, 164, 65, 0.58);
    border-radius: 24px;
    padding: 7px;
    color: rgba(255, 248, 232, 0.68);
    background:
      linear-gradient(180deg, rgba(255, 231, 168, 0.1), rgba(217, 164, 65, 0.03)),
      rgba(9, 7, 5, 0.94);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.34),
      inset 0 0 0 1px rgba(255, 231, 168, 0.08),
      0 0 18px rgba(217, 164, 65, 0.1);
    backdrop-filter: none;
    overflow: visible;
    transform: translate3d(-50%, 0, 0);
    will-change: transform;
  }

  .app-tabbar a,
  .app-tabbar button {
    display: grid;
    place-items: center;
    gap: 5px;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 17px;
    min-height: 60px;
    padding: 5px 2px 4px;
    color: inherit;
    background: rgba(255, 248, 232, 0.025);
    font: inherit;
    text-align: center;
    outline: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .app-tabbar svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .app-tabbar span {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.73rem;
    font-weight: 780;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-tabbar a.is-active,
  .app-tabbar a:focus-visible,
  .app-tabbar button:focus-visible {
    border-color: rgba(217, 164, 65, 0.68);
    color: var(--gold-soft);
    background:
      linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.04)),
      #0b0907;
    box-shadow:
      inset 0 0 0 1px rgba(255, 231, 168, 0.12),
      0 8px 18px rgba(0, 0, 0, 0.2),
      0 0 14px rgba(217, 164, 65, 0.16);
    transform: translateY(-2px);
  }

  @media (hover: hover) and (pointer: fine) {
    .app-tabbar a:hover,
    .app-tabbar button:hover {
      border-color: rgba(217, 164, 65, 0.68);
      color: var(--gold-soft);
      background:
        linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.04)),
        #0b0907;
      box-shadow:
        inset 0 0 0 1px rgba(255, 231, 168, 0.12),
        0 8px 18px rgba(0, 0, 0, 0.2),
        0 0 14px rgba(217, 164, 65, 0.16);
      transform: translateY(-2px);
    }
  }

  .app-tabbar a.is-active svg {
    filter: drop-shadow(0 0 8px rgba(217, 164, 65, 0.5));
  }

  .raffle-stage {
    overflow: visible;
    min-height: auto;
    padding: 62px 0 0;
    background: linear-gradient(180deg, #f5ead9 0%, #fffaf0 56%, #efe2ca 100%);
  }

  .raffle-workspace,
  .details-layout,
  .steps-list,
  .raffle-meta {
    grid-template-columns: 1fr;
  }

  .raffle-workspace {
    width: 100%;
    gap: 0;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    gap: 0;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .hero-poster {
    width: 100vw;
    max-width: none;
    aspect-ratio: 2 / 3;
    margin-inline: calc(50% - 50vw);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-poster img {
    object-position: center;
  }

  .campaign-lockup {
    order: 5;
    width: min(100%, 520px);
    margin: 8px auto 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .campaign-lockup::before {
    display: block;
    right: 16%;
    left: 16%;
  }

  .campaign-lockup img {
    width: 100%;
    height: auto;
    aspect-ratio: 1292 / 984;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
  }

  .hero-cap {
    width: 38px;
    height: 38px;
    margin-bottom: 4px;
  }

  .hero-pretitle {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
  }

  .hero-script {
    margin: 2px auto 0;
    padding-top: clamp(8px, 2.8vmin, 16px);
    font-size: clamp(2.7rem, 10.8vmin, 4rem);
    letter-spacing: -0.015em;
  }

  .hero-copy h1 {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    overflow-wrap: anywhere;
  }

  .hero-title-kicker {
    font-size: clamp(0.86rem, 3.35vw, 1.15rem);
    letter-spacing: 0.11em;
  }

  .hero-product {
    font-size: clamp(3.3rem, 13vw, 5.1rem);
  }

  .hero-description {
    width: min(100%, 330px);
    max-width: 100%;
    margin-top: 14px;
    margin-inline: auto;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 16px;
  }

  .hero-actions .button {
    min-width: min(100%, 300px);
    min-height: 54px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 560px);
    max-width: 100%;
    gap: 8px;
    margin: -8px auto 0;
    margin-inline: auto;
  }

  .checkout-tool {
    grid-template-columns: 1fr;
  }

  .board-tool,
  .checkout-tool {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    border-color: rgba(143, 93, 24, 0.14);
    color: var(--ink);
    background: rgba(255, 253, 247, 0.94);
    box-shadow: 0 16px 38px rgba(21, 18, 13, 0.08);
  }

  .tool-heading .eyebrow,
  .available-counter,
  .selected-box > span,
  .pix-key span,
  .total-row span,
  .field,
  .qr-panel p,
  .board-legend,
  .firebase-status {
    color: var(--ink-soft);
  }

  .tool-heading h2,
  .panel-status,
  .pix-key strong {
    color: var(--ink);
  }

  .available-counter {
    color: var(--gold-soft);
  }

  .number-button,
  .field input,
  .field textarea,
  .selected-box,
  .qr-panel,
  .qr-code,
  .button-ghost {
    border-color: rgba(143, 93, 24, 0.18);
    color: var(--ink);
    background: rgba(255, 250, 240, 0.86);
  }

  .field input::placeholder,
  .field textarea::placeholder,
  .selected-list em {
    color: rgba(23, 21, 17, 0.55);
  }

  .number-button:hover,
  .number-button:focus-visible {
    color: #17130e;
  }

  .number-button.is-reserved {
    color: rgba(23, 21, 17, 0.46);
    background: #f1dfbe;
  }

  .number-button.is-sold {
    color: rgba(23, 21, 17, 0.42);
    background: #d9cfbc;
  }

  .total-row {
    border-color: var(--line);
  }

  .total-row strong {
    color: var(--gold-dark);
  }

  .checkout-tool .field,
  .checkout-tool .selected-box,
  .checkout-tool .total-row,
  .checkout-tool .qr-panel {
    grid-column: 1 / -1;
  }

  .number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }

  .poster-frame {
    justify-self: start;
    width: min(100%, 420px);
  }

  .details-band {
    color: var(--ink);
    background:
      linear-gradient(180deg, rgba(255, 249, 235, 0.86), rgba(238, 224, 194, 0.72)),
      var(--paper);
  }

  .detail-copy .eyebrow {
    color: var(--gold-dark);
  }

  .detail-copy p:not(.eyebrow),
  .step-card p,
  .poster-frame figcaption {
    color: var(--ink-soft);
  }

  .step-card,
  .poster-frame {
    border-color: rgba(143, 93, 24, 0.18);
    color: var(--ink);
    background: rgba(255, 253, 247, 0.86);
    box-shadow: 0 18px 42px rgba(21, 18, 13, 0.08);
  }
}

@media (orientation: portrait) {
  .campaign-lockup img {
    aspect-ratio: 1292 / 984;
    object-fit: cover;
    object-position: center;
  }
}

@media (orientation: portrait) and (min-width: 861px) and (max-width: 1120px) {
  .hero-copy {
    display: flex;
    gap: 0;
    align-items: center;
  }

  .campaign-lockup {
    width: min(620px, 82vw);
    margin: 8px auto 0;
  }
}

@media (max-width: 580px) {
  :root {
    --container: calc(100% - 24px);
  }

  .site-header {
    min-height: 64px;
    padding: 9px 12px;
  }

  .site-nav {
    top: 0;
  }

  .brand {
    gap: 9px;
    max-width: calc(100vw - 24px);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-mark img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    display: none;
  }

  .header-participate {
    right: 10px;
    width: 112px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.64rem;
  }

  .header-participate::after {
    display: none;
  }

  .header-participate span {
    padding: 0 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .notification-button {
    display: none;
  }

  .raffle-stage {
    padding-top: 64px;
    padding-bottom: 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-poster {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    height: auto;
    aspect-ratio: 2 / 3;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .hero-script {
    padding-top: clamp(8px, 2.6vmin, 14px);
    font-size: clamp(2.35rem, 10.2vmin, 3.15rem);
  }

  .hero-product {
    font-size: clamp(2.95rem, 12.6vw, 4.35rem);
  }

  .campaign-lockup {
    padding: 0;
  }

  .price-badge {
    bottom: 10%;
    left: 2%;
    width: 112px;
    padding: 9px;
  }

  .price-currency {
    font-size: 0.64rem;
  }

  .price-value {
    font-size: 1.42rem;
  }

  .price-caption {
    margin-top: 5px;
    font-size: 0.48rem;
  }

  .price-badge i {
    margin-top: 7px;
  }

  .hero-actions {
    display: none;
  }

  .floating-participate {
    position: fixed;
    z-index: 34;
    top: auto;
    right: 12px;
    left: auto;
    bottom: calc(104px + env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
    width: 68px;
    height: 46px;
    color: #fff7df;
    overflow: visible;
    filter: drop-shadow(0 14px 22px rgba(16, 11, 5, 0.34));
  }

  .floating-participate img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(-7deg);
    transform-origin: center;
  }

  .campaign-topline {
    font-size: 1.22rem;
  }

  .campaign-lockup > strong {
    font-size: 3.25rem;
  }

  .tool-heading h2 {
    font-size: 1.75rem;
  }

  .detail-copy h2 {
    font-size: 2.35rem;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-facts div {
    min-height: 106px;
    padding: 11px 5px 12px;
  }

  .fact-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
  }

  .fact-icon svg {
    width: 19px;
    height: 19px;
  }

  .hero-facts dt {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .hero-facts dd {
    margin-bottom: 4px;
    font-size: 0.63rem;
  }

  .board-tool,
  .checkout-tool {
    padding: 14px;
  }

  .board-tool::before,
  .checkout-tool::before {
    margin: -14px -14px 14px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -14px;
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 7px 14px 8px;
    scroll-padding-inline: 14px;
  }

  .filter-button {
    min-height: 42px;
    padding: 0 15px;
  }

  .qr-panel {
    grid-template-columns: 1fr;
  }

  .qr-code {
    width: 100%;
    min-height: auto;
  }

  .tool-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .available-counter {
    justify-self: start;
    width: max-content;
  }

  .number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .number-button {
    min-height: 46px;
    font-size: 0.86rem;
  }

  .checkout-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 52px;
    white-space: nowrap;
  }

  .details-band {
    padding: 58px 0;
  }

  .step-card {
    min-height: auto;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-note {
    text-align: left;
  }

  .admin-shell {
    width: min(920px, calc(100% - 20px));
    padding: 14px 0 24px;
  }

  .admin-hero {
    padding: 16px;
  }

  .admin-hero h1 {
    font-size: 2.05rem;
  }

  .admin-panel,
  .admin-session-card,
  .ticket-proof-panel,
  .order-card {
    padding: 14px;
  }

  .google-login-button {
    width: 100%;
  }

  .admin-session-card,
  .admin-orders-heading {
    display: grid;
  }

  .admin-session-card .button {
    width: 100%;
  }

  .order-card-header {
    display: grid;
  }

  .order-actions .button {
    width: 100%;
  }

  .payment-timer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.admin-settings-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.settings-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.settings-grid .full-width {
  grid-column: 1 / -1;
}

.settings-grid input,
.settings-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(11, 46, 120, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fffefa;
}

.settings-grid textarea {
  resize: vertical;
}

.sales-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(11, 46, 120, 0.16);
  border-radius: 12px;
  padding: 14px;
  background: #edf8ff;
}

.sales-switch span {
  display: grid;
}

.sales-switch input {
  width: 22px;
  height: 22px;
  accent-color: #0b2e78;
}

.sales-switch small {
  color: var(--ink-soft);
}

.settings-actions {
  display: grid;
  gap: 8px;
}

.settings-state {
  align-self: start;
  border: 1px solid rgba(11, 46, 120, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  color: #0b2e78;
  background: #eaf6ff;
  font-weight: 850;
}

.settings-state.is-open {
  border-color: rgba(255, 203, 5, 0.8);
  background: #fff4bf;
}

@media (max-width: 580px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  :root {
    --container: calc(100% - 18px);
  }

  .hero-script {
    padding-top: clamp(7px, 2.4vmin, 12px);
    font-size: clamp(2.05rem, 9.8vmin, 2.65rem);
  }

  .hero-product {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  .campaign-lockup > strong {
    font-size: 2.75rem;
  }

  .tool-heading h2,
  .admin-panel h2,
  .admin-orders-heading h2 {
    font-size: 1.5rem;
  }

  .board-tool .tool-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .board-tool .available-counter {
    justify-self: start;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .filter-bar {
    gap: 7px;
    margin-top: 14px;
  }

  .filter-button {
    min-height: 39px;
    padding: 0 13px;
    font-size: 0.76rem;
  }

  .number-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .app-tabbar {
    right: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 50%;
    width: min(330px, calc(100% - 16px));
    min-height: 74px;
    gap: 5px;
    border-radius: 22px;
    padding: 6px;
    transform: translateX(-50%);
  }

  .app-tabbar a,
  .app-tabbar button {
    min-height: 58px;
    gap: 4px;
    border-radius: 16px;
    padding: 4px 0 3px;
  }

  .app-tabbar svg {
    width: 23px;
    height: 23px;
  }

  .app-tabbar span {
    font-size: 0.66rem;
    line-height: 1;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark img {
    width: 39px;
    height: 39px;
  }

  .header-participate {
    right: 8px;
    width: 106px;
    height: 34px;
    padding: 0 9px;
    font-size: 0.6rem;
  }

  .header-participate::after {
    display: none;
  }

  .header-participate span {
    padding: 0 7px;
  }

  .floating-participate {
    top: auto;
    right: 8px;
    left: auto;
    bottom: calc(98px + env(safe-area-inset-bottom));
    width: 60px;
    height: 40px;
  }

  .floating-participate img {
    transform: rotate(-7deg);
  }

  .admin-shell {
    width: min(920px, calc(100% - 16px));
  }

  .admin-hero h1 {
    font-size: 1.82rem;
  }
}

/* Rifa do Ti Toi palette: marinho, amarelo, azul claro e branco. */
body.raffle-page {
  color: #0b2e78;
  background: linear-gradient(180deg, #fffefa, #f4faff 54%, #e6f4ff);
}

body.raffle-page .site-header,
body.raffle-page .site-header.is-scrolled,
body.raffle-page .site-header.is-open {
  color: #0b2e78;
  background: rgba(255, 254, 250, 0.94);
  border-bottom-color: rgba(11, 46, 120, 0.12);
  box-shadow: 0 10px 28px rgba(11, 46, 120, 0.08);
}

body.raffle-page .site-nav a:hover,
body.raffle-page .site-nav a:focus-visible {
  color: #0b2e78;
  border-color: rgba(255, 203, 5, 0.8);
  background: #fff7cc;
  box-shadow: 0 8px 20px rgba(11, 46, 120, 0.1);
}

body.raffle-page .nav-cta,
body.raffle-page .button-primary {
  border-color: #0b2e78;
  color: #0b2e78;
  background: linear-gradient(180deg, #ffdc3f, #ffcb05);
  box-shadow: 0 10px 24px rgba(11, 46, 120, 0.16);
}

body.raffle-page .nav-cta:hover,
body.raffle-page .button-primary:hover,
body.raffle-page .button-primary:focus-visible {
  color: #fffdf7;
  background: #0b2e78;
}

body.raffle-page .raffle-stage {
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 203, 5, 0.12), transparent 36rem),
    linear-gradient(180deg, #fffefa, #edf8ff 80%, #e3f2ff);
}

body.raffle-page .hero-poster {
  width: min(100%, 760px);
  aspect-ratio: 2 / 3;
  border: 3px solid #0b2e78;
  border-radius: 18px;
  background: #fffdf7;
  box-shadow: 0 24px 60px rgba(11, 46, 120, 0.18);
}

body.raffle-page .hero-poster img {
  object-fit: contain;
  object-position: center;
  background: #fffdf7;
}

body.raffle-page .board-tool,
body.raffle-page .checkout-tool {
  border-color: rgba(11, 46, 120, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(11, 46, 120, 0.1);
}

body.raffle-page .board-tool::before,
body.raffle-page .checkout-tool::before {
  background: linear-gradient(90deg, transparent, #ffcb05, #1486d4, transparent);
}

body.raffle-page .number-button {
  border-color: rgba(11, 46, 120, 0.2);
  color: #0b2e78;
  background: linear-gradient(180deg, #fff, #edf8ff);
}

body.raffle-page .number-button:hover,
body.raffle-page .number-button:focus-visible,
body.raffle-page .number-button.is-selected {
  border-color: #0b2e78;
  color: #0b2e78;
  background: linear-gradient(180deg, #ffdf4d, #ffcb05);
  box-shadow: 0 8px 20px rgba(11, 46, 120, 0.16);
}

body.raffle-page .details-band {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 203, 5, 0.18), transparent 24rem),
    radial-gradient(circle at 100% 52%, rgba(49, 155, 230, 0.12), transparent 22rem),
    linear-gradient(180deg, #fffefa, #eaf6ff);
}

body.raffle-page .details-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.raffle-page .raffle-meta li {
  border-color: rgba(11, 46, 120, 0.18);
  color: #0b2e78;
  background: linear-gradient(180deg, #fff, #edf8ff);
  box-shadow: 0 12px 28px rgba(11, 46, 120, 0.08);
}

body.raffle-page .raffle-meta span,
body.raffle-page .raffle-meta strong {
  color: #0b2e78;
  text-shadow: none;
}

body.raffle-page .step-card {
  border-color: rgba(11, 46, 120, 0.15);
  background: #fffefa;
  box-shadow: 0 12px 28px rgba(11, 46, 120, 0.08);
}

body.raffle-page .site-footer {
  color: #fffdf7;
  background: linear-gradient(105deg, #061d50, #0b2e78);
  box-shadow: inset 0 3px 0 #ffcb05;
}

body.raffle-page .creator-credit strong {
  color: #ffdc3f;
}

body.raffle-page .app-tabbar {
  border-color: rgba(11, 46, 120, 0.16);
  color: #0b2e78;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 12px 34px rgba(11, 46, 120, 0.18);
}

body.raffle-page .app-tabbar a.is-active,
body.raffle-page .app-tabbar a:focus-visible {
  border-color: #0b2e78;
  color: #0b2e78;
  background: #ffdf4d;
  box-shadow: 0 6px 14px rgba(11, 46, 120, 0.12);
}

@media (max-width: 860px) {
  body.raffle-page .hero-poster {
    width: min(100%, 760px);
    max-width: calc(100% - 20px);
    aspect-ratio: 2 / 3;
    margin-inline: auto;
    border: 3px solid #0b2e78;
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(11, 46, 120, 0.18);
  }
}

@media (max-width: 580px) {
  body.raffle-page .hero-poster {
    max-width: calc(100% - 16px);
    border-radius: 14px;
  }
}


/* Identidade visual da campanha Rifa do Ti Toi */
body.raffle-page {
  --ink: #0b2e78; --ink-soft: #244d89; --paper: #fffefa; --paper-strong: #fff;
  --paper-muted: #e7f4ff; --line: rgba(11,46,120,.16); --line-strong: rgba(255,203,5,.55);
  --green: #0b2e78; --green-deep: #061d50; --gold: #ffcb05; --gold-dark: #0b2e78;
  --gold-soft: #fff2a6; --coral: #f58220; --coral-soft: #fff0dd; --mint: #eaf6ff; --sky: #d8efff;
  color: #0b2e78; background: #fffdf7;
}
body.raffle-page .site-header {color:#0b2e78;background:rgba(255,255,255,.96);border-bottom:3px solid #ffcb05;box-shadow:0 8px 24px rgba(11,46,120,.08)}
body.raffle-page .site-nav a {border:1px solid rgba(11,46,120,.14);border-radius:999px;color:#0b2e78;background:#fff;box-shadow:0 5px 14px rgba(11,46,120,.08)}
body.raffle-page .site-nav a:hover, body.raffle-page .site-nav a:focus-visible {border-color:#ffcb05;color:#082258;background:#fff7c8}
body.raffle-page .nav-cta, body.raffle-page .button-primary {border:2px solid #0b2e78;color:#082258;background:linear-gradient(#ffe24f,#ffcb05);box-shadow:0 10px 22px rgba(11,46,120,.16)}
body.raffle-page .raffle-stage {min-height:auto;padding:106px 0 58px;background:radial-gradient(ellipse at 78% 18%,rgba(255,203,5,.26),transparent 28rem),radial-gradient(ellipse at 15% 48%,rgba(27,144,224,.14),transparent 32rem),linear-gradient(180deg,#fffdf6,#fff 48%,#eaf6ff)}
body.raffle-page .raffle-workspace {grid-template-columns:minmax(0,1.35fr) minmax(320px,.78fr);gap:26px}
body.raffle-page .hero-copy {display:grid;grid-column:1/-1;grid-template-columns:minmax(0,.9fr) minmax(340px,1fr);align-items:center;gap:clamp(24px,5vw,72px);width:min(1120px,100%);min-height:0;margin:0 auto 22px;padding:26px 0 34px;text-align:left}
body.raffle-page .hero-message {display:flex;flex-direction:column;align-items:flex-start;gap:14px}
body.raffle-page .hero-message .eyebrow, body.raffle-page .campaign-section-heading .eyebrow {display:inline-flex;margin:0;padding:7px 14px;border-radius:999px;color:#0b2e78;background:#fff0a6;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
body.raffle-page .hero-message h1 {max-width:12ch;margin:0;color:#0b2e78;font-family:"Montserrat",var(--font-main);font-size:clamp(2.7rem,6vw,5.2rem);font-weight:950;line-height:.96;letter-spacing:-.055em}
body.raffle-page .hero-message h1 span {color:#f58220;text-shadow:2px 3px 0 #ffcb05}
body.raffle-page .hero-description {max-width:33rem;margin:0;color:#244d89;font-size:clamp(1.05rem,1.5vw,1.25rem);font-weight:650}
body.raffle-page .hero-price-sticker {width:min(250px,60%);margin:2px 0}
body.raffle-page .hero-price-sticker img {display:block;width:100%;height:auto;filter:drop-shadow(0 14px 14px rgba(11,46,120,.13))}
body.raffle-page .hero-actions {display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px;margin-top:3px}
body.raffle-page .hero-actions .button {min-height:52px;border-radius:999px;padding-inline:24px;font-weight:900}
body.raffle-page .button-ghost {border:2px solid rgba(11,46,120,.28);color:#0b2e78;background:#fff}
body.raffle-page .hero-poster {grid-column:2;grid-row:1;order:initial;width:min(100%,480px);aspect-ratio:2/3;border:5px solid #fff;border-radius:28px;background:#fff;box-shadow:0 26px 60px rgba(11,46,120,.2),0 0 0 2px rgba(255,203,5,.68)}
body.raffle-page .hero-poster img {object-fit:contain;background:#fff}
body.raffle-page .board-tool, body.raffle-page .checkout-tool {border:1px solid rgba(11,46,120,.15);border-radius:24px;background:rgba(255,255,255,.97);box-shadow:0 18px 44px rgba(11,46,120,.1)}
body.raffle-page .tool-heading h2, body.raffle-page .tool-heading .eyebrow {color:#0b2e78}
body.raffle-page .tool-heading h2 {font-family:"Montserrat",var(--font-main);font-weight:900}
body.raffle-page .board-tool::before, body.raffle-page .checkout-tool::before {height:5px;background:linear-gradient(90deg,#0b2e78,#168be0 42%,#ffcb05 76%,#f58220)}
body.raffle-page .filter-button {border-radius:999px;border-color:rgba(11,46,120,.16);color:#0b2e78;background:#f4faff}
body.raffle-page .filter-button.is-active {border-color:#0b2e78;color:#082258;background:#ffdf3d}
body.raffle-page .number-button {border-radius:14px;border-color:rgba(11,46,120,.2);color:#0b2e78;background:linear-gradient(#fff,#edf8ff);font-weight:900}
body.raffle-page .number-button.is-selected {border-color:#0b2e78;color:#082258;background:linear-gradient(#ffdf4d,#ffcb05)}
body.raffle-page .number-button.is-reserved {border-color:#f58220;color:#382000;background:#ffd09d}
body.raffle-page .number-button.is-payment-reported {border-color:#168be0;color:#fff;background:#168be0}
body.raffle-page .number-button.is-sold {border-color:#0b2e78;color:#fff;background:#0b2e78}
body.raffle-page .field input, body.raffle-page .field textarea, body.raffle-page .selected-box, body.raffle-page .qr-panel, body.raffle-page .total-row, body.raffle-page .pix-key {border-color:rgba(11,46,120,.16);border-radius:16px;background:#f8fcff}
body.raffle-page .campaign-stickers {padding:34px 0 48px;background:radial-gradient(ellipse at 8% 40%,rgba(255,203,5,.16),transparent 24rem),radial-gradient(ellipse at 93% 60%,rgba(27,144,224,.14),transparent 26rem)}
body.raffle-page .campaign-section-heading {max-width:760px;margin:0 auto 28px;text-align:center}
body.raffle-page .campaign-section-heading h2 {margin:12px 0 8px;color:#0b2e78;font-family:"Montserrat",var(--font-main);font-size:clamp(1.65rem,3vw,2.6rem);font-weight:950;line-height:1.05}
body.raffle-page .campaign-section-heading>p:last-child {color:#244d89;font-size:1.05rem}
body.raffle-page .sticker-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;align-items:center}
body.raffle-page .sticker-card {display:grid;place-items:center;min-width:0;margin:0;padding:10px;overflow:hidden;border:1px solid rgba(11,46,120,.12);border-radius:22px;background:rgba(255,255,255,.82);box-shadow:0 10px 26px rgba(11,46,120,.08)}
body.raffle-page .sticker-card img {display:block;width:100%;max-width:250px;height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(11,46,120,.12))}
body.raffle-page .details-band {padding:64px 0 84px;background:radial-gradient(circle at 11% 12%,rgba(255,203,5,.22),transparent 24rem),linear-gradient(180deg,#fffefa,#e8f5ff)}
body.raffle-page .detail-copy h2 {color:#0b2e78;font-family:"Montserrat",var(--font-main);font-weight:950}
body.raffle-page .step-card {border:1px solid rgba(11,46,120,.14);border-radius:22px;background:#fff;box-shadow:0 14px 32px rgba(11,46,120,.09)}
body.raffle-page .step-card>span {color:#0b2e78;background:#ffdf3d}
body.raffle-page .site-footer {color:#fff;background:linear-gradient(110deg,#061d50,#0b2e78);box-shadow:inset 0 4px 0 #ffcb05}
body.raffle-page #popup-box button {background:#0b2e78!important}
@media(max-width:1020px) {
  body.raffle-page .raffle-workspace {grid-template-columns:minmax(0,1fr);gap:20px}
  body.raffle-page .hero-copy {grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);gap:24px}
  body.raffle-page .hero-poster {width:min(100%,390px)}
  body.raffle-page .board-tool, body.raffle-page .checkout-tool {grid-column:1}
  body.raffle-page .sticker-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:680px) {
  body.raffle-page .raffle-stage {padding-top:80px}
  body.raffle-page .hero-copy {grid-template-columns:minmax(0,1fr);gap:18px;padding:18px 0 28px;text-align:center}
  body.raffle-page .hero-message {align-items:center;gap:11px}
  body.raffle-page .hero-message h1 {font-size:clamp(2.5rem,13vw,4.2rem)}
  body.raffle-page .hero-description {max-width:32rem;font-size:1rem}
  body.raffle-page .hero-price-sticker {width:min(210px,58%)}
  body.raffle-page .hero-actions {justify-content:center}
  body.raffle-page .hero-poster {grid-column:1;grid-row:auto;width:min(84vw,390px);max-width:none;aspect-ratio:2/3;margin:0 auto;border-width:4px;border-radius:22px}
  body.raffle-page .sticker-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.raffle-page .sticker-card {padding:7px;border-radius:16px}
  body.raffle-page .campaign-stickers {padding-top:4px}
  body.raffle-page .details-band {padding:42px 0 76px}
}
/* A figurinha quadrada passa a ser a arte principal da campanha. */
body.raffle-page {
  --ink: #082b72;
  --ink-soft: #204a89;
  --paper: #fff;
  --paper-strong: #fff;
  --paper-muted: #edf7ff;
  --line: rgba(8, 43, 114, .16);
  --line-strong: rgba(255, 215, 0, .62);
  --green: #082b72;
  --green-deep: #061b50;
  --gold: #ffdb00;
  --gold-dark: #082b72;
  --gold-soft: #fff3a5;
  --coral: #ff7900;
  --coral-soft: #fff0df;
  --mint: #eff8ff;
  --sky: #d9efff;
  color: #082b72;
  background: #fff;
}
body.raffle-page .hero-poster {
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.raffle-page .hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 18px 20px rgba(8, 43, 114, .18));
}
body.raffle-page .raffle-stage {
  background:
    radial-gradient(ellipse at 82% 18%, rgba(255, 219, 0, .18), transparent 28rem),
    radial-gradient(ellipse at 14% 52%, rgba(20, 123, 230, .12), transparent 32rem),
    linear-gradient(180deg, #fffefa, #fff 48%, #edf7ff);
}
body.raffle-page .site-header { border-bottom-color: #ffdb00; }
body.raffle-page .hero-message h1 span { color: #ff7900; text-shadow: 2px 3px 0 #ffdb00; }
body.raffle-page .button-primary,
body.raffle-page .nav-cta,
body.raffle-page .number-button.is-selected { background: linear-gradient(#ffe94d, #ffdb00); }
body.raffle-page .number-button.is-reserved { border-color: #ff7900; background: #ffe0bd; }
body.raffle-page .number-button.is-payment-reported { border-color: #147be6; background: #147be6; }
body.raffle-page .number-button.is-sold { border-color: #082b72; background: #082b72; }
body.raffle-page .site-footer { background: linear-gradient(110deg, #061b50, #082b72); }
@media (max-width: 680px) {
  body.raffle-page .hero-poster {
    width: min(88vw, 420px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }
}

/* Componentes da reserva e do pagamento na paleta da arte principal. */
body.raffle-page .available-counter {
  border-color: rgba(255, 219, 0, .72);
  color: #ffeb52;
  background: linear-gradient(135deg, #147be6, #082b72);
  box-shadow: 0 8px 20px rgba(8, 43, 114, .2);
}
body.raffle-page .available-counter::before {
  background: #ffdb00;
  box-shadow: 0 0 10px rgba(255, 219, 0, .7);
}
body.raffle-page .filter-bar {
  border-color: rgba(8, 43, 114, .14);
  background: linear-gradient(180deg, #fff, #edf7ff);
  box-shadow: 0 8px 20px rgba(8, 43, 114, .07);
}
body.raffle-page .filter-button {
  border-color: rgba(8, 43, 114, .18);
  color: #082b72;
  background: #fff;
  box-shadow: 0 4px 10px rgba(8, 43, 114, .08);
}
body.raffle-page .filter-button:hover,
body.raffle-page .filter-button:focus-visible,
body.raffle-page .filter-button.is-active {
  border-color: #082b72;
  color: #fff;
  background: #082b72;
}
body.raffle-page .number-button.is-reserved {
  border-color: #ff7900;
  color: #fff;
  background: #ff7900;
}
body.raffle-page .number-button.is-payment_reported {
  border-color: #147be6;
  color: #fff;
  background: #147be6;
}
body.raffle-page .number-button.is-sold {
  border-color: #082b72;
  color: #fff;
  background: #082b72;
}
body.raffle-page .selected-chip {
  border: 1px solid rgba(255, 219, 0, .55);
  color: #ffeb52;
  background: linear-gradient(135deg, #147be6, #082b72);
}
body.raffle-page .selected-chip.is-held {
  border-color: #ff7900;
  color: #fff;
  background: #ff7900;
}
body.raffle-page .selected-list em { color: #204a89; }
body.raffle-page .legend-dot.is-free { background: #d9efff; }
body.raffle-page .legend-dot.is-selected { background: #ffdb00; }
body.raffle-page .legend-dot.is-reserved { background: #ff7900; }
body.raffle-page .legend-dot.is-payment-reported { background: #147be6; }
body.raffle-page .legend-dot.is-sold { background: #082b72; }
body.raffle-page .button-payment-reported {
  border-color: #147be6;
  color: #fff;
  background: #147be6;
}
body.raffle-page .button-whatsapp {
  border-color: #082b72;
  color: #082b72;
  background: linear-gradient(#ffe94d, #ffdb00);
}
body.raffle-page .button-whatsapp:hover,
body.raffle-page .button-whatsapp:focus-visible {
  background: #ffca05;
}
body.raffle-page .payment-timer {
  border-color: rgba(255, 121, 0, .32);
  color: #082b72;
  background: linear-gradient(180deg, #fff7eb, #ffe0bd);
}

/* Evita que os textos dos CTAs sejam cortados em telas estreitas. */
@media (max-width: 680px) {
  body.raffle-page .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  body.raffle-page .hero-actions .button {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    font-size: clamp(.82rem, 4vw, 1rem);
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body.raffle-page .hero-actions .button-primary::after {
    display: none;
    content: none;
  }
}

/* A galeria oferece download direto das figurinhas para os participantes. */
body.raffle-page .sticker-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
body.raffle-page .sticker-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  padding: 9px 12px;
  border: 2px solid #082b72;
  border-radius: 999px;
  color: #082b72;
  background: linear-gradient(#ffe94d, #ffdb00);
  font-size: .82rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}
body.raffle-page .sticker-download:hover,
body.raffle-page .sticker-download:focus-visible {
  color: #fff;
  background: #082b72;
  transform: translateY(-1px);
}


/* Orientação visível para o bloqueio temporário e o próximo passo do apostador. */
body.raffle-page .reservation-guidance {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(20, 123, 230, .22);
  border-left: 5px solid #147be6;
  border-radius: 14px;
  color: #082b72;
  background: #edf7ff;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.5;
}
body.raffle-page .board-checkout-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 14px 0;
  padding: 10px 16px;
  border: 2px solid #082b72;
  border-radius: 999px;
  color: #082b72;
  background: linear-gradient(#ffe94d, #ffdb00);
  font-weight: 900;
  text-align: center;
}
body.raffle-page .board-checkout-link:hover,
body.raffle-page .board-checkout-link:focus-visible {
  color: #fff;
  background: #082b72;
}

/* Validador com a identidade visual da Rifa do Ti Toi. */
body.validation-page {
  --ink: #0b2e78;
  --ink-soft: #244d89;
  --gold: #ffcb05;
  --gold-soft: #fff2a6;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 10% 12%, rgba(255, 203, 5, .18), transparent 28rem),
    radial-gradient(ellipse at 92% 80%, rgba(22, 139, 224, .14), transparent 30rem),
    linear-gradient(180deg, #fffefa 0%, #edf7ff 100%);
}
body.validation-page .validation-card {
  border: 2px solid rgba(11, 46, 120, .16);
  border-top: 5px solid #ffcb05;
  border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 22px 60px rgba(11, 46, 120, .14);
}
body.validation-page .validation-brand .brand-mark {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 2px solid #0b2e78;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(11, 46, 120, .14);
}
body.validation-page .validation-brand .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
body.validation-page .validation-brand strong { color: #0b2e78; }
body.validation-page .validation-brand small { color: #244d89; }
body.validation-page .validation-card > .eyebrow {
  width: max-content;
  margin: 0;
  border-radius: 999px;
  padding: 6px 12px;
  color: #0b2e78;
  background: #fff2a6;
  font-weight: 950;
}
body.validation-page .validation-form input {
  border-color: rgba(11, 46, 120, .22);
  border-radius: 12px;
  background: #f8fcff;
}
body.validation-page .validation-form input:focus {
  border-color: #168be0;
  box-shadow: 0 0 0 4px rgba(22, 139, 224, .16);
}
body.validation-page .validation-result {
  border-color: rgba(11, 46, 120, .18);
  border-radius: 16px;
  color: #0b2e78;
  background: linear-gradient(150deg, #0b2e78, #168be0);
}
body.validation-page .validation-badge {
  border-color: rgba(255, 203, 5, .6);
  color: #fff2a6;
}

/* Hero editorial: hierarquia limpa e identidade mais madura. */
body.raffle-page .raffle-stage {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 219, 0, .11), transparent 25rem),
    radial-gradient(circle at 10% 38%, rgba(20, 123, 230, .08), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #fbfdff 60%, #edf7ff 100%);
}

body.raffle-page .hero-message {
  gap: 0;
}

body.raffle-page .hero-message .eyebrow {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 19px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #587099;
  background: transparent;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.raffle-page .hero-message .eyebrow::before {
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: #ffcb05;
  content: "";
}

body.raffle-page .hero-message h1 {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: #082b72;
  font-family: "Montserrat", var(--font-main);
  line-height: .88;
  letter-spacing: -.065em;
}

body.raffle-page .hero-message h1 .hero-title-prefix {
  color: #224b8d;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .16em;
  text-shadow: none;
  text-transform: uppercase;
}

body.raffle-page .hero-message h1 .hero-title-name {
  position: relative;
  z-index: 0;
  display: block;
  margin-top: 9px;
  color: #082b72;
  font: inherit;
  font-size: clamp(4.3rem, 8vw, 7.3rem);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.08em;
  text-shadow: none;
  text-transform: uppercase;
}

body.raffle-page .hero-message h1 .hero-title-name::after {
  position: absolute;
  z-index: -1;
  right: .01em;
  bottom: -.12em;
  left: .02em;
  height: .08em;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffcb05 0 76%, #f58220 76% 100%);
  content: "";
}

body.raffle-page .hero-description {
  order: 3;
  max-width: 31rem;
  margin: 30px 0 0;
  color: #496285;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.65;
}

body.raffle-page .hero-actions {
  order: 4;
  justify-content: flex-start;
  width: auto;
  margin-top: 25px;
}

body.raffle-page .hero-actions .button {
  min-width: 0;
  min-height: 50px;
  border-radius: 12px;
  padding: 13px 21px;
  font-size: .93rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

body.raffle-page .hero-actions .button-primary {
  border-color: #082b72;
  color: #fff;
  background: #082b72;
  box-shadow: 0 12px 24px rgba(8, 43, 114, .18);
}

body.raffle-page .hero-actions .button-primary::after {
  margin-left: 10px;
  content: "\2192";
}

body.raffle-page .hero-actions .button-primary:hover,
body.raffle-page .hero-actions .button-primary:focus-visible {
  color: #082b72;
  background: #ffdb00;
}

body.raffle-page .hero-actions .button-ghost {
  border: 1px solid rgba(8, 43, 114, .24);
  color: #082b72;
  background: rgba(255, 255, 255, .8);
  box-shadow: none;
}

body.raffle-page .hero-actions .button-ghost:hover,
body.raffle-page .hero-actions .button-ghost:focus-visible {
  border-color: #082b72;
  background: #fff;
}

@media (max-width: 680px) {
  body.raffle-page .hero-copy {
    gap: 28px;
    padding: 33px 0 34px;
  }

  body.raffle-page .hero-message {
    align-items: center;
  }

  body.raffle-page .hero-message .eyebrow {
    margin-bottom: 20px;
    font-size: .67rem;
    letter-spacing: .17em;
  }

  body.raffle-page .hero-message .eyebrow::after {
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: #ffcb05;
    content: "";
  }

  body.raffle-page .hero-message h1 {
    align-items: center;
    width: 100%;
  }

  body.raffle-page .hero-message h1 .hero-title-prefix {
    font-size: clamp(1rem, 5vw, 1.25rem);
    letter-spacing: .2em;
  }

  body.raffle-page .hero-message h1 .hero-title-name {
    margin-top: 12px;
    font-size: clamp(3.55rem, 18vw, 5.2rem);
  }

  body.raffle-page .hero-description {
    width: min(100%, 31rem);
    margin-top: 30px;
    font-size: .98rem;
    line-height: 1.58;
    text-align: center;
  }

  body.raffle-page .hero-actions {
    width: min(100%, 360px);
    margin-top: 23px;
  }

  body.raffle-page .hero-actions .button {
    min-height: 50px;
    border-radius: 12px;
    font-size: .9rem;
  }
}
