:root {
  --ak-purple: #5C2748;
  --ak-purple-deep: #2A1024;
  --ak-purple-mid: #7A3A68;
  --ak-yellow: #F2C01A;
  --ak-yellow-deep: #C49208;
  --ak-pumpkin: #F06B1A;
  --ak-pumpkin-deep: #C44E0E;
  --ak-cream: #FFF6EB;
  --font-title: "Bagel Fat One", "Fredoka", system-ui, sans-serif;
  --font-display: "Bagel Fat One", "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}
body.hold-page,
body.hold-page * { box-sizing: border-box; }
body.hold-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1.2rem, env(safe-area-inset-top)) 1rem max(1.2rem, env(safe-area-inset-bottom));
  background: var(--ak-purple-deep);
  color: var(--ak-cream);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.hold-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 85% 8%, rgba(242,192,26,.35), transparent 55%),
    radial-gradient(ellipse 50% 45% at 8% 92%, rgba(240,107,26,.32), transparent 50%),
    var(--hold-photo) center / cover no-repeat;
  transform: scale(1.08);
  filter: saturate(1.25);
  animation: holdKen 18s ease-in-out infinite alternate;
  transition: background-image .8s ease;
}
@keyframes holdKen {
  from { transform: scale(1.06) translate(-1%, 0); }
  to { transform: scale(1.16) translate(2%, -1%); }
}
.hold-veil {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(42,16,36,.42) 0%, rgba(42,16,36,.72) 48%, rgba(42,16,36,.92) 100%);
}

.hold-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.cf {
  position: absolute;
  top: -20px;
  left: var(--x);
  width: var(--s);
  height: calc(var(--s) * 0.55);
  border-radius: 2px;
  animation: confetti var(--t) linear var(--d) infinite;
  opacity: .9;
}
.cf-y { background: var(--ak-yellow); }
.cf-o { background: var(--ak-pumpkin); }
.cf-p { background: var(--ak-purple-mid); }
@keyframes confetti {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: .15; }
}

.hold-balloons-fly { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.hb {
  position: absolute;
  width: 28px; height: 36px;
  border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%;
  animation: balloon-up 8s linear infinite;
  opacity: .9;
  bottom: -40px;
}
.hb::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -12px;
  width: 1.5px; height: 16px;
  background: rgba(255,246,235,.55);
}
.hb-p { background: var(--ak-purple-mid); left: 8%; animation-delay: 0s; }
.hb-y { background: var(--ak-yellow); left: 22%; animation-delay: 1.4s; }
.hb-o { background: var(--ak-pumpkin); left: auto; right: 12%; animation-delay: 2.2s; }
.hb-sm { width: 18px; height: 24px; animation-duration: 10s; }
.hold-balloons-fly .hb:nth-child(4) { left: 70%; animation-delay: 3s; }
.hold-balloons-fly .hb:nth-child(5) { left: 40%; animation-delay: 4.2s; }
.hold-balloons-fly .hb:nth-child(6) { right: 28%; left: auto; animation-delay: 5s; }
.hold-balloons-fly .hb:nth-child(7) { left: 55%; animation-delay: 6.1s; }
.hold-balloons-fly .hb:nth-child(8) { left: 14%; animation-delay: 7.4s; }
@keyframes balloon-up {
  0% { transform: translateY(0) rotate(-8deg); opacity: 0; }
  10% { opacity: .95; }
  100% { transform: translateY(-115vh) rotate(12deg); opacity: 0; }
}

.hold-film {
  position: fixed;
  left: 0; right: 0; bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 12px;
  justify-content: center;
  pointer-events: none;
  padding: 0 12px;
}
.hold-polaroid {
  width: 72px;
  background: #fff;
  padding: 6px 6px 14px;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(42,16,36,.35);
  transform: rotate(var(--r));
  animation: polaroid-in .7s ease var(--d) both, polaroid-bob 3.2s ease-in-out infinite;
}
.hold-polaroid img { display: block; width: 100%; height: 52px; object-fit: cover; border-radius: 2px; }
.hold-polaroid.is-y { box-shadow: 0 8px 0 var(--ak-yellow), 0 14px 22px rgba(42,16,36,.3); }
.hold-polaroid.is-o { box-shadow: 0 8px 0 var(--ak-pumpkin), 0 14px 22px rgba(42,16,36,.3); }
.hold-polaroid.is-p { box-shadow: 0 8px 0 var(--ak-purple-mid), 0 14px 22px rgba(42,16,36,.3); }
@keyframes polaroid-in {
  from { opacity: 0; transform: translateY(24px) rotate(var(--r)); }
  to { opacity: 1; transform: rotate(var(--r)); }
}
@keyframes polaroid-bob { 50% { transform: translateY(-6px) rotate(var(--r)); } }

.hold-card {
  position: relative;
  z-index: 4;
  width: min(720px, 100%);
  text-align: center;
  padding: clamp(1.4rem, 4vw, 2.4rem) clamp(1.1rem, 4vw, 2.2rem) 1.6rem;
  background: linear-gradient(180deg, rgba(255,246,235,.94) 0%, #fff 100%);
  color: var(--ak-purple-deep);
  border: 4px solid var(--ak-yellow);
  border-radius: 32px;
  box-shadow:
    12px 12px 0 var(--ak-pumpkin),
    0 30px 60px rgba(42,16,36,.4);
  animation: holdIn .7s cubic-bezier(.22, 1, .36, 1) both;
  margin-bottom: 88px;
}
@keyframes holdIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.hold-seal-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: .4rem;
}
.hold-balloons { width: 92px; height: auto; }
.hold-mark { width: 72px; height: 72px; object-fit: contain; background: transparent; }
.hold-logo {
  display: block;
  width: min(420px, 92%);
  height: auto;
  margin: 0 auto .7rem;
  background: transparent;
  padding: 0;
}
h1.hold-title {
  margin: 0 auto .45rem;
  font-size: unset;
  font-weight: 400;
}
.ak-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .32em;
  max-width: 100%;
  padding: .32em .8em .32em .32em;
  background: linear-gradient(165deg, #7A3A68 0%, #5C2748 48%, #2A1024 100%);
  border-radius: 999px;
  box-shadow: 0 0 0 2px #F2C01A, 0 5px 0 #C49208;
  font-size: clamp(1.35rem, 4.6vw, 2.2rem);
}
.ak-logo-balloons {
  width: 1.7em;
  height: auto;
  flex: 0 0 auto;
  display: block;
}
.ak-logo-word {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

.hold-kicker {
  display: inline-block;
  background: var(--ak-pumpkin);
  color: #fff;
  font-family: var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: .7rem;
  animation: kicker-pop .6s ease both;
}
@keyframes kicker-pop { from { transform: scale(.85) translateY(-8px); opacity: 0; } }

.bal-banner {
  display: flex;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--ak-purple);
  border-radius: 28px;
  padding: 8px 16px 8px 8px;
  box-shadow: 0 0 0 2px var(--ak-yellow), 0 5px 0 #C49208;
}
.bal-word {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.bal-banner .ak-logo-word {
  display: flex;
  flex-wrap: wrap;
  white-space: normal;
  max-width: 100%;
  row-gap: 0.08em;
}
.bal-title { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.15rem, 5vw, 2.2rem); line-height: 1.05; margin: 0; word-spacing: 0.2em; }
.bal-l {
  display: inline-block;
  color: var(--ak-yellow);
  text-shadow: 0 2px 0 var(--ak-pumpkin-deep);
}
.bal-l:nth-child(3n+1) { color: #F2C01A; }
.bal-l:nth-child(3n+2) { color: #F06B1A; }
.bal-l:nth-child(3n) { color: #FFF6EB; }
.bal-sp { display: inline-block; width: .35em; }

.hold-tag {
  color: var(--ak-pumpkin-deep);
  font-family: var(--font-title);
  font-weight: 400;
  word-spacing: 0.4em;
  margin: .55rem 0 .4rem;
}
.hold-lead {
  color: #4a3144;
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
  line-height: 1.55;
  max-width: 34rem;
  margin: 0 auto 1.2rem;
  font-weight: 700;
}

.hold-clock-label {
  font-family: var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--ak-purple);
  font-weight: 800;
  margin-bottom: .2rem;
}
.hold-clock-date {
  color: var(--ak-pumpkin-deep);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .9rem;
}
.hold-clock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
  margin-bottom: 1.4rem;
}
.hold-unit {
  border-radius: 18px;
  padding: .9rem .3rem .75rem;
  position: relative;
  overflow: hidden;
  animation: unit-pop .6s ease both;
}
.hold-unit:nth-child(2) { animation-delay: .08s; }
.hold-unit:nth-child(3) { animation-delay: .16s; }
.hold-unit:nth-child(4) { animation-delay: .24s; }
@keyframes unit-pop { from { transform: scale(.8); opacity: 0; } }
.hold-unit.is-y { background: var(--ak-yellow); color: var(--ak-purple-deep); box-shadow: 0 5px 0 var(--ak-yellow-deep); }
.hold-unit.is-p { background: var(--ak-purple); color: var(--ak-yellow); box-shadow: 0 5px 0 var(--ak-purple-deep); }
.hold-unit.is-o { background: var(--ak-pumpkin); color: #fff; box-shadow: 0 5px 0 var(--ak-pumpkin-deep); }
.hold-unit b {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hold-unit span {
  display: block;
  margin-top: .3rem;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
}

.hold-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.hold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
  color: var(--ak-purple-deep);
  background: var(--ak-yellow);
  box-shadow: 0 4px 0 var(--ak-yellow-deep);
  transition: transform .2s;
}
.hold-btn:hover { transform: translateY(-2px); color: var(--ak-purple-deep); }
.hold-wa { background: #25D366; color: #fff; box-shadow: 0 4px 0 #128C3E; }
.hold-wa:hover { color: #fff; }
.hold-ghost {
  background: var(--ak-purple);
  color: var(--ak-yellow);
  box-shadow: 0 4px 0 var(--ak-purple-deep);
}
.hold-ghost:hover { color: var(--ak-yellow); }

.hold-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 auto 1.1rem;
  max-width: 420px;
}
.hold-mosaic img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--ak-yellow);
  animation: mosaic-pulse 3.6s ease-in-out infinite;
}
.hold-mosaic img:nth-child(2) { animation-delay: .4s; border-color: var(--ak-pumpkin); }
.hold-mosaic img:nth-child(3) { animation-delay: .8s; border-color: var(--ak-purple-mid); }
.hold-mosaic img:nth-child(4) { animation-delay: 1.2s; border-color: var(--ak-pumpkin); }
.hold-mosaic img:nth-child(5) { animation-delay: 1.6s; border-color: var(--ak-yellow); }
.hold-mosaic img:nth-child(6) { animation-delay: 2s; border-color: var(--ak-purple-mid); }
@keyframes mosaic-pulse { 50% { transform: scale(1.04); } }

.hold-foot, .hold-credit, .hold-setup { font-size: .78rem; color: #7a5a6c; }
.hold-credit a, .hold-setup a { color: var(--ak-pumpkin-deep); font-weight: 800; }
.hold-credit { margin-top: 6px; }

@media (max-width: 640px) {
  .hold-film {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .hold-polaroid { width: 58px; flex: 0 0 auto; }
  .hold-clock { grid-template-columns: repeat(2, 1fr); }
  .hold-card { margin-bottom: 12px; border-radius: 24px; }
  .hold-mosaic img { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .hold-bg, .cf, .hb, .hold-polaroid, .hold-card, .hold-kicker, .hold-unit, .hold-mosaic img { animation: none; }
}

/* Tampão por cima do site real — mesma peça em TODAS as páginas, inclusive a home. */
.hold-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--ak-header, 64px) + 8px) 12px calc(var(--ak-tab, 68px) + var(--ak-safe-bottom, 0px) + 92px);
  overflow: auto;
  overscroll-behavior: contain;
}
.hold-overlay-dim {
  position: absolute;
  inset: 0;
  background: rgba(42, 16, 36, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hold-overlay .hold-confetti,
.hold-overlay .hold-balloons-fly {
  top: 0;
  z-index: 2;
}
.hold-overlay .hold-card {
  position: relative;
  z-index: 4;
  margin: 8px auto 24px;
  background: linear-gradient(180deg, rgba(255,246,235,.94) 0%, rgba(255,255,255,.96) 100%);
}
.hold-overlay .hold-logo { width: min(340px, 86%); }
.hold-overlay .hold-mosaic { display: grid; }
.hold-overlay .hold-film {
  display: flex;
  z-index: 6;
  bottom: calc(var(--ak-tab, 68px) + var(--ak-safe-bottom, 0px) + 8px);
}
body.is-holding .ak-header { z-index: 90; }
body.is-holding .tabbar { z-index: 90; }
body.is-holding main,
body.is-holding .site-footer,
body.is-holding .float-dock,
body.is-holding .tips-rail,
body.is-holding .fab-zap {
  pointer-events: none;
  user-select: none;
}
@media (max-width: 640px) {
  .ak-logo {
    font-size: clamp(0.82rem, 4.2vw, 1.25rem);
    padding: .22em .5em .22em .18em;
    gap: .18em;
  }
  .ak-logo-balloons { width: 1.35em; }
  .ak-logo .bal-sp { width: .22em; }
}
@media (min-width: 860px) {
  .hold-overlay {
    padding-bottom: 110px;
  }
  .hold-overlay .hold-film { bottom: 16px; }
}
