/* Natal em Fornos — site público */

@font-face { font-family: "Caprasimo"; src: url("../fonts/caprasimo.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("../fonts/patrick-hand.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Homemade Apple"; src: url("../fonts/homemade-apple.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "B612 Mono"; src: url("../fonts/b612mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #151a4f;
  --night-deep: #0c0f33;
  --indigo: #2a1f6e;
  --violet: #6a2f8a;
  --red: #e5333f;
  --red-dk: #a8132b;
  --red-lt: #ff6b72;
  --green: #1e9a68;
  --green-dk: #0e6b47;
  --green-lt: #4fd69c;
  --gold: #ffc83d;
  --gold-dk: #c98a0d;
  --pink: #ff7ab6;
  --blue: #4fc3f7;
  --cream: #fff6e3;
  --cream-2: #f6e3c2;
  --paper: #fffaf0;
  --ink: #2b1b3d;
  --ink-2: #5d4a70;
  --pen: #233f9c;
  --snow: #fbfdff;
  --ok: #138a5c;
  --bad: #d4223b;

  --display: "Caprasimo", "Cooper Black", Georgia, serif;
  --body: "Atkinson", "Segoe UI", system-ui, sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --sign: "Homemade Apple", "Patrick Hand", cursive;
  --mono: "B612 Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow-deep: 0 18px 40px rgba(12, 6, 48, .45);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 1.125rem/1.55 var(--body);
  color: var(--snow);
  background: var(--night-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
p { margin: 0 0 .8em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px dashed var(--gold); outline-offset: 4px; border-radius: 6px; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mono { font-family: var(--mono); font-weight: 700; letter-spacing: .04em; }
.i { width: 1.2em; height: 1.2em; flex: none; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .6em 1em; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ cenário */

.scene { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.sky { position: absolute; inset: 0; background: linear-gradient(#0f1442 0%, #241d68 34%, #5a2c86 60%, #b43f7f 82%, #ff8a6b 100%); }
.sky__night { position: absolute; inset: 0; background: linear-gradient(#070923 0%, #12123f 45%, #2a1f6e 78%, #4a2a80 100%); opacity: var(--night, 0); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.moon {
  position: absolute; right: max(6vw, calc(50% - 640px)); top: 7vh;
  width: clamp(54px, 9vw, 124px); aspect-ratio: 1;
  transform: translate3d(0, var(--moon-y, 0px), 0);
  will-change: transform;
}
.moon__face {
  width: 100%; height: 100%; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 40%, rgba(214, 186, 120, .55) 0 7%, transparent 8%),
    radial-gradient(circle at 62% 64%, rgba(214, 186, 120, .45) 0 9%, transparent 10%),
    radial-gradient(circle at 66% 30%, rgba(214, 186, 120, .35) 0 5%, transparent 6%),
    radial-gradient(circle at 40% 38%, #fffbea, #ffeab8 62%, #f6d48a);
  box-shadow: 0 0 50px 14px rgba(255, 233, 179, .4), 0 0 160px 70px rgba(255, 154, 213, .16);
}
.layer {
  position: absolute; left: 0; bottom: 0; width: 100%;
  will-change: transform;
  transform: translate3d(0, 100%, 0);
  filter: drop-shadow(0 -8px 14px rgba(15, 8, 60, .32));
}
.layer--far { height: max(76vh, 43.75vw); z-index: 1; }
.layer--mid { height: max(64vh, 43.75vw); z-index: 2; }
.layer--serra { height: max(60vh, 51.25vw); z-index: 4; }
.layer--village { height: max(40vh, 32.5vw); z-index: 5; }
.layer--front { height: max(26vh, 22.5vw); z-index: 6; }
.scene-defs { position: absolute; }
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.snow--back { position: absolute; z-index: 3; }
.snow--front { z-index: 40; }
.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
.grain { position: absolute; inset: 0; z-index: 7; opacity: .1; mix-blend-mode: overlay; background-size: 160px 160px; }

/* janelas, luzes e fumo da aldeia */
.win { animation: win-glow 5s ease-in-out infinite; }
.win--blink { animation: win-blink 7s steps(1) infinite; }
.tl { animation: twinkle 1.6s ease-in-out infinite; }
.tl:nth-child(3n) { animation-duration: 2.1s; }
.tl:nth-child(4n) { animation-delay: -.7s; }
.tl:nth-child(5n) { animation-delay: -1.2s; }
.smoke circle { fill: rgba(255, 255, 255, .55); transform-box: fill-box; transform-origin: center; animation: smoke 4.5s ease-out infinite; }
.smoke circle:nth-child(2) { animation-delay: -1.5s; }
.smoke circle:nth-child(3) { animation-delay: -3s; }
.tree-star { transform-box: fill-box; transform-origin: center; animation: star-pulse 2s ease-in-out infinite; }
.bell { transform-box: fill-box; transform-origin: 50% 0; animation: bell-swing 3s ease-in-out infinite; }
.lamp-glow { animation: lamp 3s ease-in-out infinite; }

@keyframes win-glow { 0%, 100% { fill: #ffd56b; } 50% { fill: #ffe9a8; } }
@keyframes win-blink { 0%, 62%, 100% { fill: #ffd56b; } 63%, 71% { fill: #6b5a8a; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes smoke {
  0% { transform: translate(0, 0) scale(.5); opacity: 0; }
  15% { opacity: .9; }
  100% { transform: translate(14px, -44px) scale(2.2); opacity: 0; }
}
@keyframes star-pulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(10deg); } }
@keyframes bell-swing { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes lamp { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }

/* trenó do Pai Natal */
.sleigh { position: absolute; left: 0; top: 18vh; z-index: 3; width: 260px; opacity: 0; will-change: transform; }
.sleigh svg { width: clamp(150px, 18vw, 260px); height: auto; }
.sleigh.is-flying { animation: sleigh-fly 11s linear forwards; }
.sleigh.is-flying.is-fast { animation-duration: 6s; }
.sleigh__dust circle { fill: #ffe08a; animation: twinkle .6s ease-in-out infinite; }
.sleigh__dust circle:nth-child(2n) { animation-delay: -.3s; }
.sleigh__deer { animation: deer-bob .5s ease-in-out infinite alternate; transform-origin: center; }
.sleigh__nose { animation: twinkle .8s infinite; }
@keyframes sleigh-fly {
  0% { transform: translate(-30vw, 14vh) rotate(-6deg); opacity: 0; }
  6% { opacity: 1; }
  50% { transform: translate(45vw, -4vh) rotate(-2deg); }
  94% { opacity: 1; }
  100% { transform: translate(120vw, -12vh) rotate(-8deg); opacity: 0; }
}
@keyframes deer-bob { from { transform: translateY(-2px); } to { transform: translateY(3px); } }

/* ------------------------------------------------------------------ topo */

.topbar { position: relative; z-index: 30; }
.garland { position: absolute; left: 0; right: 0; top: 0; height: 74px; overflow: visible; }
.garland svg { width: 100%; height: 74px; overflow: visible; }
.garland .bulb { cursor: pointer; pointer-events: all; }
.garland .bulb__swing { transform-box: fill-box; transform-origin: 50% 0; }
.garland .bulb__swing.is-swing { animation: bulb-swing 1.1s var(--ease-out); }
.garland .bulb__glass, .garland .bulb__glow { transition: opacity .25s; }
.garland .bulb.is-off .bulb__glass { opacity: .3; }
.garland .bulb.is-off .bulb__glow { opacity: 0; }
@keyframes bulb-swing { 0% { transform: rotate(0); } 20% { transform: rotate(24deg); } 45% { transform: rotate(-16deg); } 70% { transform: rotate(8deg); } 100% { transform: rotate(0); } }

.topbar__inner {
  max-width: 1240px; margin: 0 auto; padding: 58px var(--gutter) 0;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__logo { width: 44px; height: 44px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.brand__text { font-family: var(--display); font-size: 1.12rem; line-height: 1.05; text-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.brand__text small { display: block; font-family: var(--body); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.topnav { display: none; gap: 6px; }
.topnav a {
  text-decoration: none; font-weight: 700; padding: .45em .9em; border-radius: 999px;
  transition: background .2s, transform .2s var(--ease-spring);
}
.topnav a:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px) rotate(-2deg); }
.sound-toggle {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff1b8, var(--gold) 60%, var(--gold-dk));
  box-shadow: 0 4px 0 #8a5a06, 0 8px 18px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease-spring);
}
.sound-toggle:hover { transform: rotate(-12deg) scale(1.06); }
.sound-toggle:active { transform: translateY(3px); box-shadow: 0 1px 0 #8a5a06; }
.sound-toggle .i { width: 24px; height: 24px; }
.sound-toggle .i--on { display: none; }
.sound-toggle[aria-pressed="true"] .i--on { display: block; animation: bell-swing 1.2s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .i--off { display: none; }

.notice {
  position: relative; z-index: 20; margin: 16px auto 0; max-width: 820px; width: calc(100% - 2 * var(--gutter));
  background: var(--gold); color: var(--ink); border-radius: 14px; padding: .8em 1.1em; font-weight: 700;
  box-shadow: 0 5px 0 var(--gold-dk); text-align: center;
}
.notice p { margin: 0; }

/* ------------------------------------------------------------------ botões */

.btn {
  --bg: var(--red); --bg2: var(--red-lt); --edge: #8a1026; --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 64px; padding: .85em 1.7em .95em; border: 0; border-radius: 999px;
  font: 400 clamp(1.12rem, 3.4vw, 1.42rem)/1.1 var(--display); color: var(--fg); text-decoration: none; text-align: center;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  background: repeating-linear-gradient(-45deg, var(--bg) 0 17px, var(--bg2) 17px 34px);
  background-size: 48.08px 48.08px;
  box-shadow: 0 .38em 0 var(--edge), 0 .6em 1.3em rgba(12, 6, 48, .45), inset 0 3px 0 rgba(255, 255, 255, .35), inset 0 -4px 0 rgba(0, 0, 0, .12);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .28);
  animation: stripes 1.4s linear infinite;
  transition: transform .18s var(--ease-spring), box-shadow .18s, filter .2s;
}
.btn::after {
  content: ""; position: absolute; inset: -6px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 200, 61, .55);
  animation: glow-ring 2.4s ease-out infinite;
}
.btn:hover { animation: stripes .5s linear infinite, jelly .9s var(--ease-out); filter: saturate(1.15) brightness(1.06); }
.btn:active { transform: translateY(.3em) scale(.98); box-shadow: 0 .1em 0 var(--edge), 0 .3em .6em rgba(12, 6, 48, .4), inset 0 3px 0 rgba(255, 255, 255, .3); }
.btn.is-jelly { animation: stripes .5s linear infinite, jelly .9s var(--ease-out); }
.btn[disabled], .btn.is-busy { cursor: default; filter: grayscale(.5) brightness(.9); }
.btn[disabled]::after, .btn.is-busy::after { animation: none; }
.btn .i { width: 1.25em; height: 1.25em; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .25)); }
.btn--green { --bg: var(--green); --bg2: #2fb57f; --edge: #075236; }
.btn--gold { --bg: var(--gold); --bg2: #ffdb73; --edge: #a8700a; --fg: var(--ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .4); }
.btn--small { min-height: 52px; font-size: 1.08rem; padding: .7em 1.3em .75em; }
.btn--ghost {
  --edge: rgba(12, 6, 48, .5);
  background: rgba(255, 255, 255, .14); color: #fff; animation: none;
  box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .7), 0 .3em 0 rgba(12, 6, 48, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { animation: jelly .9s var(--ease-out); background: rgba(255, 255, 255, .24); }
.on-paper .btn--ghost, .paper .btn--ghost, .done .btn--ghost, .letter__actions .btn--ghost { color: var(--ink); background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 2.5px var(--ink), 0 .3em 0 rgba(43, 27, 61, .35); }

/* laçarote no canto do botão */
.btn__bow {
  position: absolute; right: 14px; top: -14px; width: 34px; height: 22px; pointer-events: none;
  transform-origin: 50% 80%; animation: bow-wiggle 2.8s ease-in-out infinite;
}
.btn__bow::before, .btn__bow::after {
  content: ""; position: absolute; top: 2px; width: 17px; height: 15px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--gold); box-shadow: inset -3px -3px 0 var(--gold-dk), 0 2px 3px rgba(0, 0, 0, .25);
}
.btn__bow::before { left: 0; transform: rotate(-22deg); }
.btn__bow::after { right: 0; transform: rotate(22deg); }
.btn--green .btn__bow::before, .btn--green .btn__bow::after { background: var(--red-lt); box-shadow: inset -3px -3px 0 var(--red), 0 2px 3px rgba(0, 0, 0, .25); }

@keyframes stripes { to { background-position: 48.08px 0; } }
@keyframes jelly {
  0% { transform: scale(1, 1); }
  25% { transform: scale(1.12, .88); }
  40% { transform: scale(.9, 1.1); }
  55% { transform: scale(1.05, .95); }
  70% { transform: scale(.98, 1.02); }
  100% { transform: scale(1, 1); }
}
@keyframes glow-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 200, 61, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 200, 61, 0); } }
@keyframes bow-wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg) scale(1.08); } }

.link-squiggle {
  font-weight: 700; text-decoration: none; padding-bottom: 6px; cursor: pointer; border: 0; background: none; color: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6'%3E%3Cpath d='M0 3 q6 -4 12 0 t12 0' fill='none' stroke='%23ffc83d' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: 0 100%; background-size: 24px 6px;
}
.link-squiggle:hover { animation: squiggle .5s linear infinite; }
.link-squiggle--small { font-size: .95rem; font-family: var(--body); color: var(--ink-2); }
@keyframes squiggle { to { background-position: 24px 100%; } }

/* ------------------------------------------------------------------ fitas (títulos de secção) */

.ribbon {
  position: relative; display: table; margin: 0 auto 22px;
  font: 400 clamp(1.7rem, 6vw, 2.7rem)/1.1 var(--display); color: #fff; text-align: center;
  padding: .32em 1.15em .42em;
  --rb: var(--red); --rb-dk: var(--red-dk);
  background: var(--rb);
  box-shadow: inset 0 -.14em 0 rgba(0, 0, 0, .18), inset 0 .1em 0 rgba(255, 255, 255, .2), 0 .28em 0 rgba(12, 6, 48, .35);
  text-shadow: 0 .06em 0 rgba(0, 0, 0, .3);
  transform: rotate(-1.5deg);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: .38em; width: 1.05em; height: 100%; background: var(--rb-dk); z-index: -1;
}
.ribbon::before { left: -.8em; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%); }
.ribbon::after { right: -.8em; clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%); }
.ribbon span { position: relative; display: inline-block; }
.ribbon--green { --rb: var(--green); --rb-dk: var(--green-dk); transform: rotate(1.2deg); }
.ribbon--gold { --rb: var(--gold); --rb-dk: var(--gold-dk); color: var(--ink); text-shadow: 0 .05em 0 rgba(255, 255, 255, .45); }
section > .ribbon { isolation: isolate; }

/* textos sobre o cenário: pílula escura para se lerem por cima da neve */
.section-lead, .prizes__draw, .goal__text, .globe__hint, .shops__empty {
  display: table; margin-left: auto; margin-right: auto; max-width: 640px; text-align: center;
  background: rgba(14, 10, 52, .62); color: #fff; border-radius: 16px; padding: .55em 1.1em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.section-lead { margin-bottom: 26px; font-size: 1.15rem; }
.section-lead strong { color: var(--gold); }

/* secções */
main { position: relative; z-index: 5; }
main > section { position: relative; padding: 0 var(--gutter); margin: 0 auto; max-width: 1240px; }
main > section + section { margin-top: clamp(110px, 22vh, 220px); }

/* ------------------------------------------------------------------ herói */

.hero {
  min-height: calc(100svh - 104px);
  display: grid; place-items: center; text-align: center;
  padding-top: 16px !important; padding-bottom: 90px !important;
}
.hero__inner { max-width: 900px; position: relative; z-index: 2; }
.kicker { margin: 0 0 6px; }
.kicker span {
  display: inline-block; font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .12); border: 2px dashed rgba(255, 255, 255, .5); padding: .35em 1em; border-radius: 999px;
  transform: rotate(-2deg);
}
.title {
  font-family: var(--display); font-size: clamp(3.3rem, 15.5vw, 9.2rem); line-height: .95;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .2em;
  margin: .12em 0 .26em; user-select: none;
}
.title__word { display: inline-flex; white-space: nowrap; }
.title__word--small { font-size: .5em; transform: translateY(-.35em) rotate(-8deg); }
.ch {
  --c: #fff; --d: #9a1830;
  position: relative; display: inline-block; color: var(--c);
  text-shadow: 0 .035em 0 var(--d), 0 .07em 0 var(--d), 0 .105em 0 #241040, 0 .14em .1em rgba(8, 4, 36, .55);
  animation: bob 3.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.21s);
  transition: color .2s;
  cursor: default;
}
.ch--red { --c: #ff6670; --d: #a8132b; }
.ch--gold { --c: #ffd352; --d: #b9790a; }
.ch--green { --c: #5ee0a6; --d: #0e7a50; }
.ch--pink { --c: #ff92c6; --d: #b8487f; }
.ch--blue { --c: #86dcff; --d: #2c78bd; }
.ch--tall::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: .06em; height: .15em;
  background: var(--snow); border-radius: 60% 60% 45% 45% / 80% 80% 40% 40%;
  box-shadow: 0 .02em 0 rgba(150, 180, 230, .9);
  filter: drop-shadow(0 .03em .03em rgba(0, 0, 0, .2));
}
.ch--tall::after {
  content: ""; position: absolute; left: 30%; top: .16em; width: .08em; height: .09em; border-radius: 0 0 50% 50%; background: var(--snow);
}
.ch.is-hop { animation: hop .7s var(--ease-out); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-.06em) rotate(2deg); } }
@keyframes hop { 0% { transform: translateY(0) scale(1); } 30% { transform: translateY(-.32em) scale(1.08, .92) rotate(-12deg); } 60% { transform: translateY(0) scale(.9, 1.1); } 100% { transform: translateY(0) scale(1); } }

.hero__lead { max-width: 640px; margin: 0 auto 28px; font-size: clamp(1.15rem, 3.4vw, 1.4rem); text-shadow: 0 2px 10px rgba(10, 5, 40, .85); }
.hero__lead strong { color: var(--gold); }
.hero__lead .hl { color: #fff; background: linear-gradient(transparent 58%, rgba(229, 51, 63, .85) 58%); padding: 0 .1em; }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 34px; }

.countdown { display: inline-block; padding: 14px 18px 12px; border-radius: 20px; background: rgba(12, 8, 46, .55); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.countdown__label { margin: 0 0 8px; font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.countdown__flaps { display: flex; gap: 12px; justify-content: center; }
.flapset { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.flapset > span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.flaps { display: flex; gap: 3px; }
.flap {
  position: relative; width: 1.05em; height: 1.45em; font: 400 clamp(1.7rem, 6vw, 2.3rem)/1.45 var(--display);
  color: var(--cream); perspective: 300px; text-align: center;
}
.flap > span {
  position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #2b1b4d;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flap > span > i { position: absolute; left: 0; right: 0; top: 0; height: 200%; font-style: normal; line-height: inherit; }
.flap .t, .flap .ft { top: 0; border-radius: 6px 6px 0 0; background: linear-gradient(#3a2766, #2d1d55); }
.flap .b, .flap .fb { bottom: 0; border-radius: 0 0 6px 6px; background: linear-gradient(#24164a, #1d1140); }
.flap .b > i, .flap .fb > i { top: -100%; }
.flap .t::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(0, 0, 0, .55); }
.flap .ft { transform-origin: 50% 100%; z-index: 2; }
.flap .fb { transform-origin: 50% 0; transform: rotateX(90deg); z-index: 2; }
.flap.is-flip .ft { animation: flap-top .3s ease-in forwards; }
.flap.is-flip .fb { animation: flap-bottom .3s .3s ease-out forwards; }
@keyframes flap-top { to { transform: rotateX(-90deg); } }
@keyframes flap-bottom { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
.flapset--sec .flap { color: var(--gold); }

.hero__buddy { position: absolute; right: max(0px, calc(50% - 640px)); bottom: 10px; width: 170px; display: none; z-index: 1; }
.estrela { width: 100%; height: auto; overflow: visible; }
.estrela__eye--happy, .estrela__mouth--happy, .estrela__mouth--wow, .estrela__mouth--sad, .estrela__brows { display: none; }
.is-happy .estrela__eye--open, .is-happy .estrela__mouth--smile { display: none; }
.is-happy .estrela__eye--happy, .is-happy .estrela__mouth--happy { display: inline; }
.is-wow .estrela__mouth--smile, .is-sad .estrela__mouth--smile { display: none; }
.is-wow .estrela__mouth--wow, .is-sad .estrela__mouth--sad, .is-sad .estrela__brows { display: inline; }
.estrela__tail { transform-box: fill-box; transform-origin: 0% 100%; animation: wag 1.1s ease-in-out infinite; }
.is-happy .estrela__tail { animation-duration: .28s; }
.estrela__head { transform-box: fill-box; transform-origin: 50% 90%; animation: head-tilt 5s ease-in-out infinite; }
.is-sad .estrela__head { animation: head-shake .6s ease-in-out 2; }
.is-happy .estrela__head { animation: head-hop .5s var(--ease-out) 2; }
.estrela__eye--open { animation: blink 4.6s infinite; transform-box: fill-box; transform-origin: center; }
.estrela__ear { transform-box: fill-box; transform-origin: 50% 0; }
.estrela__ear--l { animation: ear-l 3.6s ease-in-out infinite; }
.estrela__ear--r { animation: ear-r 3.6s ease-in-out infinite; }
.estrela__pompom { transform-box: fill-box; transform-origin: center; animation: pompom 2.2s ease-in-out infinite; }
@keyframes wag { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(14deg); } }
@keyframes head-tilt { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-5deg); } 60% { transform: rotate(4deg); } }
@keyframes head-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes head-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px) rotate(-4deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes ear-l { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(6deg); } }
@keyframes ear-r { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes pompom { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-3px, 4px); } }

.bubble {
  position: relative; background: var(--paper); color: var(--ink); font: 400 1.18rem/1.3 var(--hand);
  padding: .65em .9em; border-radius: 18px; box-shadow: 0 6px 0 rgba(12, 6, 48, .25), 0 12px 24px rgba(12, 6, 48, .3);
  margin: 0;
}
.bubble::after {
  content: ""; position: absolute; width: 22px; height: 22px; background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 30% 100%);
}
.bubble--hero { position: absolute; right: 120px; bottom: 170px; width: 230px; transform: rotate(-3deg); }
.bubble--hero::after { right: 18px; bottom: -18px; }
.bubble.is-pop { animation: pop .5s var(--ease-spring); }
@keyframes pop { 0% { transform: scale(.6) rotate(-6deg); opacity: 0; } 100% { transform: scale(1) rotate(-2deg); opacity: 1; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; width: 30px; height: 48px; margin-left: -15px;
  border: 3px solid rgba(255, 255, 255, .8); border-radius: 16px;
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: var(--gold); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ------------------------------------------------------------------ como funciona (etiquetas) */

.how { text-align: center; }
.how__string {
  position: absolute; left: 0; right: 0; top: 108px; height: 40px; pointer-events: none; display: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='40' preserveAspectRatio='none'%3E%3Cpath d='M0 6 Q150 40 300 14 T600 6' fill='none' stroke='%23f6e3c2' stroke-width='3' stroke-dasharray='1 7' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 600px 40px repeat-x;
}
.tags { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 46px 22px; }
.tag {
  position: relative; background: var(--paper); color: var(--ink); text-align: left;
  border-radius: 14px 14px 18px 18px; padding: 54px 20px 22px;
  clip-path: polygon(0 26px, 26px 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  filter: drop-shadow(0 12px 18px rgba(12, 6, 48, .45));
  transform-origin: 50% 0; animation: tag-swing 5s ease-in-out infinite;
}
.tag:nth-child(2) { animation-delay: -1.3s; background: #fff1f4; }
.tag:nth-child(3) { animation-delay: -2.6s; background: #effaf5; }
.tag:nth-child(4) { animation-delay: -3.9s; background: #fff8df; }
.tag::before {
  content: ""; position: absolute; left: 50%; top: 14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: var(--night-deep); box-shadow: inset 0 0 0 4px #e6cfa6;
}
.tag::after {
  content: ""; position: absolute; left: 50%; top: -40px; width: 3px; height: 62px; margin-left: -1.5px;
  background: repeating-linear-gradient(var(--red) 0 6px, #fff 6px 12px); border-radius: 2px;
}
.tag__num {
  position: absolute; right: 16px; top: 40px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font: 400 1.5rem/1 var(--display); color: #fff;
  background: var(--red); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--red);
  transform: rotate(10deg);
}
.tag:nth-child(2) .tag__num { background: var(--green); box-shadow: 0 0 0 4px #fff1f4, 0 0 0 6px var(--green); }
.tag:nth-child(3) .tag__num { background: var(--gold-dk); box-shadow: 0 0 0 4px #effaf5, 0 0 0 6px var(--gold-dk); }
.tag:nth-child(4) .tag__num { background: #8a3fd1; box-shadow: 0 0 0 4px #fff8df, 0 0 0 6px #8a3fd1; }
.tag__art { width: 120px; height: 90px; margin: 0 0 8px; }
.tag h3 { font: 400 1.38rem/1.15 var(--display); margin-bottom: 8px; color: var(--ink); }
.tag p { margin: 0; color: var(--ink-2); }
@keyframes tag-swing { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }

/* ------------------------------------------------------------------ registo: cartão */

.register__stage { position: relative; max-width: 640px; margin: 0 auto; }
.buddy { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 14px; }
.estrela--buddy { width: 108px; flex: none; }
.bubble--buddy { flex: 1; transform: rotate(-1.5deg); margin-bottom: 26px; }
.bubble--buddy::after { left: -14px; bottom: 14px; clip-path: polygon(100% 0, 100% 100%, 0 70%); }

.closed-sign {
  background: var(--gold); color: var(--ink); border-radius: 18px; padding: 18px 22px; margin: 0 0 18px; text-align: center;
  box-shadow: 0 6px 0 var(--gold-dk), var(--shadow-deep); transform: rotate(-1deg);
}
.closed-sign__title { font: 400 1.6rem/1.1 var(--display); margin-bottom: 6px; }
.closed-sign p:last-child { margin: 0; font-weight: 700; }

.ticket { perspective: 1100px; }
.ticket.is-disabled .ticket__card { filter: grayscale(.6) brightness(.85); }
.ticket__card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; color: var(--ink); border-radius: 22px; padding: 14px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 12px, #fff 12px 24px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 22px 50px rgba(12, 6, 48, .55);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; transition: transform .25s var(--ease-out);
}
.ticket__card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .8), transparent 45%);
}
.ticket__card > *:not(.ticket__stamp):not(.ticket__scan) { position: relative; }
.ticket__head, .ticket__body { background: var(--cream); }
.ticket__head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 12px 12px 0 0; border-bottom: 2px dashed #e2c99b;
}
.ticket__brand { font: 400 1.25rem/1 var(--display); color: var(--red); }
.ticket__serial { font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.ticket__serial b { font-family: var(--mono); color: var(--ink); letter-spacing: .06em; }
.ticket__body { padding: 16px 16px 18px; border-radius: 0 0 12px 12px; }
.ticket__label { display: block; font-weight: 700; margin-bottom: 8px; }
.ticket__help { font-size: .95rem; color: var(--ink-2); margin: 10px 0 14px; }
.ticket__foot { display: flex; gap: 12px; align-items: stretch; }
.ticket__stampbox {
  flex: 1; min-height: 66px; border: 2px dashed #c9a96f; border-radius: 10px; padding: 6px 10px; position: relative;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #a7895a;
}
.ticket__stampbox b {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%) rotate(-7deg); white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis;
  font: 400 1.05rem/1.1 var(--display); text-transform: none; letter-spacing: 0; color: #6b3fa0;
  border: 2.5px solid #6b3fa0; border-radius: 8px; padding: .2em .5em; opacity: 0;
}
.ticket__stampbox b.is-in { animation: thump .6s var(--ease-spring) forwards; }
.ticket__value {
  width: 92px; flex: none; border-radius: 10px; background: var(--green); color: #fff; text-align: center;
  display: flex; flex-direction: column; justify-content: center; line-height: 1.05; padding: 6px;
  font-size: .62rem; text-transform: uppercase; letter-spacing: .02em;
}
.ticket__value b { font: 400 1.9rem/1 var(--display); }

.codebox { position: relative; }
.codebox__input {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  opacity: 0; font-size: 16px; color: transparent; caret-color: transparent; background: transparent; border: 0; cursor: text;
}
.codebox__slots { display: flex; align-items: center; justify-content: center; gap: clamp(3px, 1.2vw, 10px); width: 100%; max-width: 470px; margin: 0 auto; }
.codebox__group { display: flex; gap: clamp(3px, .9vw, 6px); flex: 1 1 0; min-width: 0; }
.codebox__dash { flex: none; font: 700 1.3rem/1 var(--mono); color: #c9a96f; }
.slot {
  position: relative; flex: 1 1 0; min-width: 0; height: clamp(44px, 12vw, 58px); border-radius: 10px;
  display: grid; place-items: center;
  background: #fff; box-shadow: inset 0 3px 0 rgba(43, 27, 61, .12), inset 0 0 0 2px #e2c99b;
  font: 700 clamp(1.1rem, 5vw, 1.75rem)/1 var(--mono); color: var(--ink);
  transition: box-shadow .2s, background .2s, transform .2s var(--ease-spring);
}
.slot i { font-style: normal; display: inline-block; }
.slot.is-filled i { animation: char-pop .35s var(--ease-spring); }
.codebox.is-focus .slot.is-current { box-shadow: inset 0 3px 0 rgba(43, 27, 61, .1), inset 0 0 0 3px var(--gold); transform: translateY(-2px); }
.codebox.is-focus .slot.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 9px; width: 50%; height: 3px; margin-left: -25%; border-radius: 2px;
  background: var(--red); animation: caret 1s steps(1) infinite;
}
.codebox.is-good .slot { background: #eafff5; box-shadow: inset 0 0 0 2.5px var(--green); }
.codebox.is-good .slot i { color: var(--green-dk); }
.codebox.is-bad .slot { background: #fff0f2; box-shadow: inset 0 0 0 2.5px var(--bad); }
.codebox.is-bad { animation: shake .5s; }
.codebox.is-wave .slot { animation: wave .6s var(--ease-spring) both; }
.codebox.is-wave .codebox__group:nth-child(1) .slot:nth-child(2) { animation-delay: .04s; }
.codebox.is-wave .codebox__group:nth-child(1) .slot:nth-child(3) { animation-delay: .08s; }
.codebox.is-wave .codebox__group:nth-child(3) .slot:nth-child(1) { animation-delay: .12s; }
.codebox.is-wave .codebox__group:nth-child(3) .slot:nth-child(2) { animation-delay: .16s; }
.codebox.is-wave .codebox__group:nth-child(3) .slot:nth-child(3) { animation-delay: .2s; }
.codebox.is-wave .codebox__group:nth-child(5) .slot:nth-child(1) { animation-delay: .24s; }
.codebox.is-wave .codebox__group:nth-child(5) .slot:nth-child(2) { animation-delay: .28s; }
.codebox.is-wave .codebox__group:nth-child(5) .slot:nth-child(3) { animation-delay: .32s; }
@keyframes char-pop { 0% { transform: scale(.2) rotate(-30deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes wave { 0% { transform: translateY(0); } 40% { transform: translateY(-10px) scale(1.08); } 100% { transform: translateY(0); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }

.ticket__stamp {
  position: absolute; right: 8%; top: 38%; z-index: 5; pointer-events: none;
  font: 400 clamp(1.6rem, 6vw, 2.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em;
  padding: .18em .5em .22em; border: .12em solid currentColor; border-radius: .25em;
  box-shadow: inset 0 0 0 .06em currentColor; opacity: 0; transform: rotate(-14deg) scale(2.4);
  -webkit-mask: radial-gradient(circle at 20% 30%, transparent 0 2px, #000 3px) 0 0 / 13px 11px, linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
}
.ticket__stamp.is-ok { color: var(--ok); }
.ticket__stamp.is-used { color: var(--bad); }
.ticket__stamp.is-warn { color: #c47a00; }
.ticket__stamp.is-in { animation: stamp-in .5s cubic-bezier(.2, .9, .3, 1.4) forwards; }
@keyframes stamp-in { 0% { opacity: 0; transform: rotate(-14deg) scale(2.4); } 60% { opacity: .95; transform: rotate(-11deg) scale(.92); } 100% { opacity: .9; transform: rotate(-12deg) scale(1); } }
@keyframes thump { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-7deg) scale(2); } 100% { opacity: .92; transform: translate(-50%, -50%) rotate(-7deg) scale(1); } }

.ticket__scan { position: absolute; inset: 14px; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; }
.ticket__scan::before {
  content: ""; position: absolute; left: 0; right: 0; height: 40%; top: -40%;
  background: linear-gradient(transparent, rgba(255, 200, 61, .45), transparent);
}
.ticket.is-checking .ticket__scan { opacity: 1; }
.ticket.is-checking .ticket__scan::before { animation: scan 1.1s ease-in-out infinite; }
.ticket.is-shake .ticket__card { animation: shake .5s; }
@keyframes scan { 0% { top: -40%; } 100% { top: 100%; } }

.ticket__actions, .letter__actions, .done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 14px; margin-top: 26px; }
.msg {
  min-height: 1.5em; margin: 16px auto 0; max-width: 560px; text-align: center; font-weight: 700;
  text-shadow: 0 2px 8px rgba(10, 5, 40, .9);
}
.msg:empty { display: none; }
.msg.is-bad { background: var(--bad); color: #fff; text-shadow: none; padding: .7em 1em; border-radius: 14px; box-shadow: 0 5px 0 #8a1026; }
.msg.is-ok { color: var(--green-lt); }
.msg.is-info { color: var(--gold); }

.captcha { display: flex; justify-content: center; margin-top: 16px; }

/* ------------------------------------------------------------------ registo: carta ao Pai Natal */

.letter { margin-top: 10px; }
.letter.is-in .letter__paper { animation: unfold .8s var(--ease-out); }
.letter__paper {
  --lh: 2.35rem;
  position: relative; color: var(--ink); font: 400 1.32rem/var(--lh) var(--hand);
  padding: 30px 20px 26px 3.1em;
  background:
    linear-gradient(90deg, transparent 2.35em, #ff9aa6 2.35em, #ff9aa6 calc(2.35em + 2px), transparent calc(2.35em + 2px)),
    repeating-linear-gradient(transparent 0 calc(var(--lh) - 1px), #bcd4f2 calc(var(--lh) - 1px) var(--lh)),
    var(--paper);
  background-position: 0 0, 0 22px, 0 0;
  border-radius: 4px 4px 10px 10px;
  box-shadow: 0 1px 0 #e9dcc3, 0 2px 0 #fff, 0 3px 0 #e9dcc3, var(--shadow-deep);
  transform: rotate(-.6deg);
}
.letter__stamp {
  position: absolute; right: 14px; top: 14px; width: 62px; transform: rotate(6deg);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25));
  -webkit-mask: radial-gradient(circle, transparent 0 2.6px, #000 3px) -4px -4px / 8px 8px, linear-gradient(#000, #000) center / calc(100% - 8px) calc(100% - 8px) no-repeat;
  mask: radial-gradient(circle, transparent 0 2.6px, #000 3px) -4px -4px / 8px 8px, linear-gradient(#000, #000) center / calc(100% - 8px) calc(100% - 8px) no-repeat;
  background: #fff;
  padding: 4px;
}
.letter__stamp svg { width: 100%; height: auto; }
.letter__postmark {
  position: absolute; right: 54px; top: 38px; width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid rgba(43, 27, 61, .4); color: rgba(43, 27, 61, .5); transform: rotate(-16deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.05;
  font: 700 .55rem/1.1 var(--body); text-transform: uppercase; letter-spacing: .05em; pointer-events: none;
}
.letter__postmark b { font-size: .5rem; margin-top: 3px; }
.letter__salute { font-size: 1.6rem; margin: 0 0 .2em; padding-right: 120px; }
.letter__line { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4em; }
.letter__line label { white-space: nowrap; }
.letter__muted { color: var(--ink-2); }
.field { position: relative; flex: 1 1 200px; min-width: 0; display: inline-flex; flex-direction: column; }
.field--short { flex: 1 1 150px; max-width: 260px; }
.field input {
  width: 100%; height: calc(var(--lh) - 2px); padding: 0 .2em; margin: 0; border: 0; border-radius: 0;
  font: 400 1.42rem/1 var(--hand); color: var(--pen); background: transparent;
  border-bottom: 2px dashed rgba(35, 63, 156, .35); transition: border-color .2s, background .2s;
}
.field input::placeholder { color: rgba(93, 74, 112, .45); }
.field input:focus { outline: 0; border-bottom: 2px solid var(--gold-dk); background: rgba(255, 200, 61, .14); }
.field.is-bad input { border-bottom-color: var(--bad); background: rgba(212, 34, 59, .06); }
.field__err { font: 400 1.05rem/1.2 var(--hand); color: var(--bad); font-style: normal; transform: rotate(-1deg); }
.field__err:empty { display: none; }
.letter__checks { margin: 14px 0 6px; font: 400 1.05rem/1.4 var(--body); }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.check__box {
  flex: none; width: 28px; height: 28px; border-radius: 6px; background: #fff; border: 2.5px solid var(--ink);
  display: grid; place-items: center; transform: rotate(-3deg); transition: background .2s;
}
.check__box::after {
  content: ""; width: 14px; height: 8px; border-left: 3.5px solid #fff; border-bottom: 3.5px solid #fff;
  transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .25s var(--ease-spring);
}
.check input:checked + .check__box { background: var(--green); border-color: var(--green-dk); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 3px dashed var(--gold-dk); outline-offset: 3px; }
.check a { color: var(--pen); font-weight: 700; }
.letter__sign { margin: 10px 0 0; text-align: right; padding-right: 8px; }
.letter__signature { display: inline-block; min-width: 160px; min-height: 2.2em; font: 400 1.5rem/1.6 var(--sign); color: var(--pen); transform: rotate(-4deg); }
.letter__signature.is-writing { animation: ink .4s ease-out; }
.letter.is-folding .letter__paper { animation: fold .7s var(--ease-out) forwards; }
@keyframes unfold { 0% { transform: rotate(-.6deg) scaleY(.2) translateY(-60px); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(-.6deg) scaleY(1); } }
@keyframes fold { 0% { transform: rotate(-.6deg); } 100% { transform: rotate(4deg) scale(.4, .1) translateY(-200px); opacity: 0; } }
@keyframes ink { from { opacity: .2; filter: blur(2px); } to { opacity: 1; filter: none; } }

/* ------------------------------------------------------------------ registo: concluído */

.done {
  position: relative; text-align: center; color: var(--ink); background: var(--paper); border-radius: 22px;
  padding: 26px 20px 28px; box-shadow: var(--shadow-deep);
}
.done:focus { outline: none; }
.done::before { /* neve em cima */
  content: ""; position: absolute; left: 10px; right: 10px; top: -12px; height: 26px; border-radius: 20px;
  background: radial-gradient(circle at 10% 100%, var(--snow) 14px, transparent 15px) 0 0 / 60px 26px repeat-x, linear-gradient(var(--snow), var(--snow)) 0 10px / 100% 14px no-repeat;
  filter: drop-shadow(0 3px 2px rgba(80, 100, 160, .25));
}
.done__envelope { width: 170px; margin: -6px auto 6px; }
.done.is-in .done__envelope { animation: env-in 2.4s var(--ease-out) both; }
.done.is-in .done__flap { transform-box: fill-box; transform-origin: 50% 0; animation: flap-close .5s .5s var(--ease-out) both; }
.done.is-in .done__seal { transform-box: fill-box; transform-origin: center; animation: seal .45s 1s var(--ease-spring) both; }
@keyframes env-in {
  0% { transform: scale(.3) rotate(-12deg); opacity: 0; }
  18% { transform: scale(1.05) rotate(3deg); opacity: 1; }
  25%, 58% { transform: scale(1) rotate(0); }
  78% { transform: translate(40px, -60px) rotate(14deg) scale(.7); opacity: 1; }
  79% { opacity: 0; transform: translate(260px, -400px) rotate(30deg) scale(.3); }
  80% { transform: scale(.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes flap-close { from { transform: scaleY(-1); } to { transform: scaleY(1); } }
@keyframes seal { from { transform: scale(0); } to { transform: scale(1); } }
.done__title { font: 400 clamp(2rem, 7vw, 2.8rem)/1.05 var(--display); color: var(--green); margin-bottom: 6px; }
.done__lead { font-size: 1.15rem; }
.done__receipt { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0; }
.done__receipt div { background: var(--cream-2); border-radius: 12px; padding: 8px 14px; min-width: 120px; }
.done__receipt dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.done__receipt dd { margin: 0; font: 400 1.35rem/1.2 var(--display); color: var(--ink); }
.done__keep { display: flex; gap: 10px; align-items: flex-start; text-align: left; max-width: 470px; margin: 0 auto; background: #fff3c4; border-radius: 12px; padding: 10px 14px; }
.done__keep .i { color: var(--gold-dk); margin-top: 2px; }

/* ------------------------------------------------------------------ leitor de QR */

.scanner { position: fixed; inset: 0; z-index: 80; background: rgba(8, 6, 30, .88); display: grid; place-items: center; padding: 16px; }
.scanner__box { position: relative; width: min(460px, 100%); text-align: center; }
.scanner__video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; background: #000; }
.scanner__frame { position: absolute; left: 12%; right: 12%; top: 0; aspect-ratio: 1; margin-top: 12%; border-radius: 18px; box-shadow: 0 0 0 4px var(--gold), 0 0 0 999px rgba(8, 6, 30, .35); pointer-events: none; animation: frame 1.6s ease-in-out infinite; }
.scanner__hint { margin: 16px 0; font-weight: 700; }
@keyframes frame { 50% { box-shadow: 0 0 0 7px var(--gold), 0 0 0 999px rgba(8, 6, 30, .35); } }

/* ------------------------------------------------------------------ árvore no globo de neve */

.tree-section { text-align: center; }
.globe { position: relative; width: min(560px, 88vw); margin: 0 auto; }
.globe__glass {
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; cursor: grab; touch-action: pan-y;
  background: radial-gradient(circle at 50% 38%, #2f2a86, #161349 62%, #0b0a2c);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .16), inset -24px -34px 70px rgba(0, 0, 0, .45), 0 34px 70px rgba(8, 4, 36, .6);
}
.globe__glass:active { cursor: grabbing; }
.globe__canvas { width: 100%; height: 100%; }
.globe__shine {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(ellipse 17% 8% at 31% 15%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18) 60%, transparent 72%),
    radial-gradient(ellipse 5% 3% at 70% 12%, rgba(255, 255, 255, .5), transparent 80%),
    radial-gradient(circle at 50% 50%, transparent 62%, rgba(180, 210, 255, .18) 70%, transparent 71%);
}
.globe.is-shake .globe__glass { animation: globe-shake .7s ease-in-out; }
@keyframes globe-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-5deg) translateX(-6px); } 40% { transform: rotate(4deg) translateX(6px); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(2deg); } }
.globe__base {
  position: relative; width: 80%; margin: -9% auto 0; height: clamp(84px, 18vw, 116px); z-index: 2;
  background: linear-gradient(#b5652f, #8a4520 55%, #6a3216);
  border-radius: 26px 26px 44px 44px / 22px 22px 44px 44px;
  box-shadow: inset 0 6px 0 #d68a4b, inset 0 -8px 0 rgba(0, 0, 0, .25), 0 20px 40px rgba(8, 4, 36, .55);
  display: grid; place-items: center;
}
.globe__base::before { content: ""; position: absolute; left: 6%; right: 6%; top: -10px; height: 20px; border-radius: 50%; background: linear-gradient(#ffe08a, var(--gold-dk)); box-shadow: 0 3px 0 #8a5a06; }
.globe__plate {
  display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 8px 22px 10px; margin-top: 8px;
  background: linear-gradient(#ffe9a6, #e8b23a); color: #5b3a06; border-radius: 10px; box-shadow: inset 0 0 0 2px #fff4c7, 0 3px 0 #8a5a06;
}
.globe__count { font: 400 clamp(1.7rem, 6vw, 2.4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.globe__plate span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.globe__count.is-bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.3) rotate(-3deg); } 100% { transform: scale(1); } }
.globe__hint { margin-top: 12px; font-size: .92rem; }
.goal { max-width: 460px; margin: 26px auto 0; }
.goal__bar { height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35); overflow: hidden; }
.goal__bar span {
  display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.6s var(--ease-out);
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #fff 10px 20px);
  background-size: 28.28px 28.28px; animation: stripes-sm 1s linear infinite;
}
@keyframes stripes-sm { to { background-position: 28.28px 0; } }
.goal__text { margin-top: 10px; font-size: .98rem; }
.section-lead--light { color: #fff; }

/* ------------------------------------------------------------------ prémios */

.prizes { text-align: center; }
.gifts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 38px 20px; }
.gift { display: flex; flex-direction: column; align-items: center; }
.gift__box {
  --wrap: var(--red); --wrap-2: #ff8a90; --rib: var(--gold); --rib-dk: var(--gold-dk);
  position: relative; width: 150px; height: 150px; padding: 0; border: 0; background: none; cursor: pointer;
  filter: drop-shadow(0 14px 16px rgba(8, 4, 36, .5));
  animation: gift-idle 3.2s ease-in-out infinite;
}
.gift:nth-child(2n) .gift__box { animation-delay: -1.1s; }
.gift:nth-child(3n) .gift__box { animation-delay: -2.2s; }
.gift__body {
  position: absolute; left: 10%; right: 10%; bottom: 0; height: 66%; border-radius: 6px 6px 10px 10px;
  background: radial-gradient(circle, var(--wrap-2) 0 5px, transparent 6px) 0 0 / 26px 26px, var(--wrap);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .12);
}
.gift__body::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 18%; transform: translateX(-50%); background: var(--rib); box-shadow: inset -4px 0 0 var(--rib-dk); }
.gift__lid {
  position: absolute; left: 4%; right: 4%; top: 22%; height: 18%; border-radius: 6px; z-index: 2;
  background: radial-gradient(circle, var(--wrap-2) 0 5px, transparent 6px) 13px 0 / 26px 26px, var(--wrap);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .15);
  transform-origin: 20% 100%;
}
.gift__lid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 18%; transform: translateX(-50%); background: var(--rib); box-shadow: inset -4px 0 0 var(--rib-dk); }
.gift__bow { position: absolute; left: 50%; top: -30px; width: 76px; height: 34px; margin-left: -38px; }
.gift__bow::before, .gift__bow::after {
  content: ""; position: absolute; bottom: 0; width: 38px; height: 30px; border-radius: 50% 50% 40% 40%;
  border: 9px solid var(--rib); box-sizing: border-box; background: transparent;
}
.gift__bow::before { left: 0; transform: rotate(-24deg); }
.gift__bow::after { right: 0; transform: rotate(24deg); }
.gift__qty {
  position: absolute; right: -8px; top: 24px; z-index: 3; font: 400 1.15rem/1 var(--display); color: var(--ink);
  background: var(--snow); border-radius: 999px; padding: .3em .55em; box-shadow: 0 3px 0 rgba(0, 0, 0, .2); transform: rotate(12deg);
}
.gift.is-open .gift__lid { animation: lid-pop 1s var(--ease-out); }
.gift__box:hover { animation: gift-wiggle .6s ease-in-out; }
.gift__tag {
  position: relative; margin-top: 18px; max-width: 250px; background: var(--paper); color: var(--ink); border-radius: 10px;
  padding: 12px 16px 14px; box-shadow: 0 8px 18px rgba(8, 4, 36, .4); transform: rotate(-2deg);
}
.gift:nth-child(2n) .gift__tag { transform: rotate(2deg); }
.gift__tag::before { content: ""; position: absolute; left: 50%; top: -16px; width: 2px; height: 18px; background: var(--rib, var(--gold)); }
.gift__tag b { display: block; font: 400 1.3rem/1.15 var(--display); color: var(--red); margin-bottom: 4px; }
.gift__tag span { display: block; line-height: 1.35; }
.gift--1 .gift__box { --wrap: var(--green); --wrap-2: #3cc189; --rib: var(--red-lt); --rib-dk: var(--red); }
.gift--1 .gift__body, .gift--1 .gift__lid { background: repeating-linear-gradient(90deg, var(--wrap) 0 14px, var(--wrap-2) 14px 22px); }
.gift--2 .gift__box { --wrap: #3b6fe0; --wrap-2: #a9d4ff; --rib: var(--pink); --rib-dk: #c24a83; }
.gift--3 .gift__box { --wrap: var(--gold); --wrap-2: #ffe7a0; --rib: var(--green); --rib-dk: var(--green-dk); }
.gift--3 .gift__body, .gift--3 .gift__lid { background: repeating-linear-gradient(45deg, var(--wrap) 0 10px, #ff8a5c 10px 14px); }
.gift--4 .gift__box { --wrap: var(--pink); --wrap-2: #ffd1e6; --rib: #45d4c8; --rib-dk: #1f9e94; }
.prizes__draw { margin-top: 34px; font-weight: 700; }
.prizes__draw .i { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.prizes__draw .i { color: var(--gold); }
@keyframes gift-idle { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes gift-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg) scale(1.05); } 40% { transform: rotate(8deg) scale(1.05); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
@keyframes lid-pop { 0% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-70px) rotate(-26deg); } 70% { transform: translateY(-12px) rotate(8deg); } 100% { transform: translateY(0) rotate(0); } }

/* ------------------------------------------------------------------ lojas */

.shops { text-align: center; }
.shops__search { position: relative; max-width: 420px; margin: 0 auto 26px; }
.shops__search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.shops__search input {
  width: 100%; height: 54px; border: 0; border-radius: 999px; padding: 0 18px 0 48px; font: inherit; color: var(--ink);
  background: var(--paper); box-shadow: 0 5px 0 rgba(8, 4, 36, .35);
}
.signs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 16px; }
.sign {
  position: relative; min-width: 160px; max-width: 280px; padding: 14px 18px 12px; margin-top: 20px; border-radius: 10px;
  background: linear-gradient(#cf8f55, #b06f3c); color: #fff8ea; text-align: center;
  box-shadow: inset 0 0 0 3px rgba(90, 50, 20, .25), 0 6px 0 #7a4a30, 0 12px 20px rgba(8, 4, 36, .4);
  transform-origin: 50% -20px; animation: sign-sway 4s ease-in-out infinite;
}
.sign:nth-child(3n) { animation-delay: -1.3s; }
.sign:nth-child(3n + 1) { animation-delay: -2.4s; }
.sign::before {
  content: ""; position: absolute; left: 18%; right: 18%; top: -22px; height: 22px;
  border-left: 3px dotted #e8d6b0; border-right: 3px dotted #e8d6b0;
}
.sign::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: -7px; height: 14px; border-radius: 10px;
  background: radial-gradient(circle at 15% 100%, var(--snow) 8px, transparent 9px) 0 0 / 34px 14px repeat-x, linear-gradient(var(--snow), var(--snow)) 0 3px / 100% 8px no-repeat;
}
.sign b { display: block; font: 400 1.15rem/1.15 var(--display); text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.sign small { display: block; margin-top: 3px; font-size: .85rem; opacity: .9; }
.sign:hover { animation: sign-swing 1s var(--ease-out); }
.shops__empty { margin-top: 20px; }
@keyframes sign-sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes sign-swing { 0% { transform: rotate(0); } 25% { transform: rotate(9deg); } 55% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } 100% { transform: rotate(0); } }

/* ------------------------------------------------------------------ resultados */

.results__paper { max-width: 760px; margin: 0 auto; font-size: 1.12rem; line-height: 1.6; }

/* ------------------------------------------------------------------ dúvidas e consulta */

.faq__grid { display: grid; gap: 30px; align-items: start; }
.paper {
  position: relative; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 22px 20px; box-shadow: var(--shadow-deep);
}
.paper::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: -12px; height: 26px;
  background: radial-gradient(circle at 10% 100%, var(--snow) 13px, transparent 14px) 0 0 / 52px 26px repeat-x, linear-gradient(var(--snow), var(--snow)) 0 11px / 100% 14px no-repeat;
  border-radius: 14px; filter: drop-shadow(0 3px 2px rgba(80, 100, 160, .25));
}
.faq details { border-bottom: 2px dashed #ead9b8; }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 44px 16px 0; position: relative; font: 400 1.2rem/1.25 var(--display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; font: 400 1.4rem/1 var(--display);
  transition: transform .35s var(--ease-spring), background .2s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--green); }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }
.faq details[open] > div { animation: drop .4s var(--ease-out); }
.faq details a { color: var(--pen); font-weight: 700; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.lookup { background: #eef7ff; }
.lookup__title { font: 400 1.5rem/1.15 var(--display); color: var(--ink); margin-bottom: 6px; }
.lookup p { color: var(--ink-2); }
.lookup form { display: grid; gap: 12px; }
.lookup__field { display: grid; gap: 4px; font-weight: 700; }
.lookup__field input {
  height: 54px; border-radius: 12px; border: 2.5px solid #b9cce6; padding: 0 14px; font: 700 1.15rem var(--body); color: var(--ink); background: #fff;
}
.lookup__field input:focus { outline: 0; border-color: var(--gold-dk); box-shadow: 0 0 0 4px rgba(255, 200, 61, .35); }
.lookup__field .field__err { font-weight: 400; }
.lookup .msg { color: var(--ink); text-shadow: none; }
.lookup .btn { justify-self: start; }
.lookup__result { margin-top: 16px; }
.lookup__big { font: 400 1.4rem/1.2 var(--display); color: var(--green-dk); margin-bottom: 8px; }
.lookup__list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow: auto; border-radius: 12px; background: #fff; }
.lookup__list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #e3edf8; font-size: .95rem; }
.lookup__list li.is-void { opacity: .55; text-decoration: line-through; }
.lookup__list b { font-family: var(--mono); }

/* ------------------------------------------------------------------ rodapé */

.footer {
  position: relative; z-index: 5; margin-top: clamp(120px, 24vh, 240px); color: var(--ink);
  background: linear-gradient(var(--snow), #e4eeff);
  padding: 46px var(--gutter) 26px;
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 42px;
  background: radial-gradient(ellipse 60px 42px at 50% 100%, var(--snow) 98%, transparent 100%) 0 0 / 110px 42px repeat-x;
}
.footer__inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 24px; }
.footer__org { display: flex; gap: 14px; align-items: center; }
.footer__org img { width: 56px; height: 56px; }
.footer a { color: var(--pen); font-weight: 700; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__legal { max-width: 1240px; margin: 26px auto 0; font-size: .9rem; color: var(--ink-2); }

/* ------------------------------------------------------------------ páginas de texto (regulamento, privacidade) */

.doc {
  position: relative; max-width: 860px; margin: 30px auto 0; background: var(--paper); color: var(--ink);
  border-radius: 18px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-deep);
}
.doc h1 { font: 400 clamp(2rem, 6vw, 3rem)/1.05 var(--display); color: var(--red); margin-bottom: 8px; }
.doc h2 { font: 400 1.45rem/1.2 var(--display); color: var(--ink); margin: 1.8em 0 .5em; }
.doc p, .doc li { color: #3a2b4d; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .4em; }
.doc a { color: var(--pen); font-weight: 700; }
.doc__meta { color: var(--ink-2); font-size: .95rem; }
.doc__back { display: inline-flex; margin-top: 20px; }
.page--sub main { padding: 0 var(--gutter); }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.error-page h1 { font: 400 clamp(2.2rem, 8vw, 4rem)/1 var(--display); margin: 10px 0; }
.error-page .estrela { width: 150px; margin: 0 auto; }

/* ------------------------------------------------------------------ revelar ao fazer scroll */

.reveal { opacity: 0; translate: 0 40px; transition: opacity .7s var(--ease-out), translate .9s var(--ease-spring); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: 0 0; }

/* ------------------------------------------------------------------ ecrãs maiores */

@media (min-width: 900px) {
  .topnav { display: flex; }
}
@media (min-width: 720px) {
  .hero__actions { flex-direction: row; justify-content: center; gap: 28px; }
  .ticket__body { padding: 20px 24px 22px; }
  .ticket__head { padding: 14px 24px; }
  .letter__paper { padding: 36px 34px 30px 3.6em; font-size: 1.4rem; }
  .letter__paper { background-position: 0 0, 0 28px, 0 0; }
  .faq__grid { grid-template-columns: 1.4fr 1fr; }
  .lookup { position: sticky; top: 24px; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
  .footer__nav { flex-direction: column; }
}
@media (min-width: 980px) {
  .hero__buddy { display: block; }
  .how__string { display: block; }
  .tags { grid-template-columns: repeat(4, 1fr); padding-top: 70px; }
  .tags .tag:nth-child(2n) { margin-top: 34px; }
  .register__stage { max-width: 680px; }
  .buddy { position: absolute; left: -210px; top: 40px; width: 190px; flex-direction: column-reverse; align-items: center; margin: 0; }
  .estrela--buddy { width: 150px; }
  .bubble--buddy { margin: 0 0 8px; width: 210px; }
  .bubble--buddy::after { left: 50%; bottom: -16px; clip-path: polygon(0 0, 100% 0, 40% 100%); }
}
@media (max-width: 600px) {
  .moon { width: 44px; top: 4.5vh; right: calc(6vw + 62px); }
}
@media (max-width: 420px) {
  .ticket__card { padding: 10px; }
  .ticket__body { padding: 14px 10px 16px; }
  .ticket__head { padding: 10px; }
  .ticket__brand { font-size: 1.05rem; }
  .ticket__value { width: 78px; }
  .letter__paper { padding-left: 2.6em; background: linear-gradient(90deg, transparent 1.9em, #ff9aa6 1.9em, #ff9aa6 calc(1.9em + 2px), transparent calc(1.9em + 2px)), repeating-linear-gradient(transparent 0 calc(var(--lh) - 1px), #bcd4f2 calc(var(--lh) - 1px) var(--lh)), var(--paper); background-position: 0 0, 0 22px, 0 0; }
  .letter__salute { padding-right: 72px; }
  .letter__postmark { display: none; }
  .btn { width: 100%; }
  .done__receipt div { min-width: 0; flex: 1 1 40%; }
}

/* telemóveis fracos */
.lite .section-lead, .lite .prizes__draw, .lite .goal__text, .lite .globe__hint, .lite .shops__empty, .lite .countdown, .lite .btn--ghost {
  backdrop-filter: none; -webkit-backdrop-filter: none; background-color: rgba(14, 10, 52, .82);
}
.lite .layer { filter: none; }

/* ------------------------------------------------------------------ menos movimento */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .layer { transform: none !important; }
  .reveal { opacity: 1; translate: 0 0; }
}
