/* =====================================================================
   PlayDay Events — folha de estilos
   Mundo herdado do Fluxora: chão de brasa escura, horizonte laranja,
   vidro quente usado com moderação. O bronze do logótipo entra só nos
   momentos de marca (selos do pack, rodapé).
   ===================================================================== */

:root {
  /* Cores */
  --ground: #2a0b02;
  --ground-deep: #120400;
  --ground-mid: #1b0702;
  --panel: #1e0903;

  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.76);
  --ink-faint: rgba(255, 255, 255, 0.58);
  --ink-ghost: rgba(255, 255, 255, 0.2);

  --flame: #ff3d00;
  --flame-lit: #ff8a1f;
  --flame-deep: #d42e00;
  --flame-deep-end: #bf5000;
  --amber: #ffb35c;

  --gold: #d9a865;
  --gold-soft: rgba(217, 168, 101, 0.42);
  --gold-grad: linear-gradient(125deg, #8a5528 0%, #d9a865 32%, #f2d39a 46%, #b47a3f 64%, #8a5528 100%);

  --glass: rgba(56, 20, 6, 0.42);
  --glass-strong: rgba(40, 13, 3, 0.66);
  --hair: rgba(255, 255, 255, 0.14);
  --hair-soft: rgba(255, 255, 255, 0.08);

  --error: #ff8a7a;

  /* Tipos de letra */
  --font-display: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-italic: 'Instrument Serif', Georgia, serif;

  /* Ritmo */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(18px, 2.6vw, 44px);
  --max: 1240px;
  --section-y: clamp(88px, 10vw, 152px);
  --radius: 20px;
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-color: #5a2a12 var(--ground-deep);
}
html.is-locked { overflow: hidden; }

body {
  min-height: 100svh;
  background: var(--ground-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  caret-color: var(--flame-lit);
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { padding: 0; list-style: none; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--flame-lit); color: var(--ground-deep); }

:focus-visible {
  outline: 2px solid var(--flame-lit);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ground-deep); }
::-webkit-scrollbar-thumb { background: #4a200c; border-radius: 999px; border: 3px solid var(--ground-deep); }
::-webkit-scrollbar-thumb:hover { background: #6b3216; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #150500;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--light {
  padding: 0.72em 1.35em;
  background: #fff;
  color: #180600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.btn--light:hover { transform: translateY(-1px); background: #fff4ec; }

.btn--flame {
  padding: 0.42em 0.42em 0.42em 1.45em;
  background: linear-gradient(96deg, var(--flame-deep) 0%, var(--flame-deep-end) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--flame:hover { transform: translateY(-2px); background: linear-gradient(96deg, #e03300 0%, #c85400 100%); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn--flame:active { transform: translateY(0); }

.btn__dot {
  display: grid;
  place-items: center;
  width: 2.45em;
  height: 2.45em;
  border-radius: 999px;
  background: #fff;
  color: #1a0600;
  transition: transform 0.35s var(--ease-out);
}
.btn__dot svg { width: 1.1em; height: 1.1em; }
.btn--flame:hover .btn__dot { transform: translateX(2px); }

.btn--ghost {
  padding: 0.72em 1.35em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(28, 10, 2, 0.32);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(18, 4, 0, 0.78);
  border-bottom-color: var(--hair-soft);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
}

.nav__brand { display: inline-flex; align-items: center; flex: none; }
.nav__logo { width: auto; height: 58px; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.5)); }

.nav__pill {
  display: none;
  padding: 5px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: rgba(28, 10, 2, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav__pill ul { display: flex; align-items: center; gap: 3px; }
.nav__pill a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.nav__pill a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { min-height: 42px; font-size: 14px; font-weight: 550; }

.nav__burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: rgba(28, 10, 2, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__burger svg { width: 22px; height: 22px; }
/* Fundo escurecido por baixo do menu móvel (irmão do cabeçalho, para não ficar preso ao seu contexto). */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(8, 2, 0, 0.74);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fade-in 0.3s var(--ease-out) both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.nav__burger[aria-expanded="true"] .nav__icon-open,
.nav__burger[aria-expanded="false"] .nav__icon-close { display: none; }

.nav__sheet {
  position: fixed;
  top: calc(var(--nav-h) + 4px);
  left: 12px;
  right: 12px;
  max-height: calc(100svh - var(--nav-h) - 16px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: #140500;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  animation: sheet-in 0.4s var(--ease-out) both;
}
.nav__sheet ul { display: grid; gap: 2px; margin-bottom: 14px; }
.nav__sheet ul a {
  display: block;
  padding: 13px 12px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
}
.nav__sheet ul a:hover { background: rgba(255, 255, 255, 0.07); }
.nav__sheet-cta { width: 100%; justify-content: space-between; }
.nav__sheet-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  font-size: 15px;
  font-weight: 500;
}
.nav__sheet-wa svg { width: 20px; height: 20px; }

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 940px) {
  .nav__pill { display: block; }
  .nav__burger { display: none; }
  .nav__sheet { display: none; }
}

@media (max-width: 480px) {
  :root { --nav-h: 68px; }
  .nav__cta { display: none; }
  .nav__logo { height: 46px; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  --scale: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 26px;
  background: linear-gradient(165deg, var(--ground) 0%, var(--ground-deep) 70%);
}

.hero__media { position: absolute; inset: 0; z-index: -1; }

.hero__img,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 38%;
  filter: saturate(0.9) brightness(0.8) contrast(1.06);
}
.hero__img { animation: settle 2.4s var(--ease-out) both; }
.hero__video { opacity: 0; transition: opacity 1.1s var(--ease-out); }
.hero__video.is-ready { opacity: 1; }

@keyframes settle {
  from { transform: scale(1.06); }
  to { transform: none; }
}

/* Luz quente por cima da fotografia, para a puxar para o mundo de brasa. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 85% 110%, rgba(255, 98, 20, 0.34) 0%, rgba(255, 98, 20, 0) 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Horizonte âmbar na diagonal, como a luz do vídeo original do Fluxora. */
.hero__glow {
  position: absolute;
  inset: -10% -20%;
  background:
    linear-gradient(165deg, rgba(255, 120, 30, 0) 62%, rgba(255, 128, 36, 0.18) 69%, rgba(255, 170, 80, 0.3) 72.5%, rgba(255, 128, 36, 0.1) 76%, rgba(255, 120, 30, 0) 82%),
    radial-gradient(55% 40% at 96% 92%, rgba(255, 110, 30, 0.26) 0%, rgba(255, 110, 30, 0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glow-breathe 9s ease-in-out infinite alternate;
}
@keyframes glow-breathe {
  from { opacity: 0.7; transform: translateY(1.5%); }
  to { opacity: 1; transform: translateY(-1.5%); }
}
.hero.is-still .hero__glow { animation-play-state: paused; }

/* Estrelas cadentes, faíscas e confetti (canvas), apagados do lado do texto. */
.hero__sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.28) 34%, #000 60%);
  mask-image: linear-gradient(100deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.28) 34%, #000 60%);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(10, 3, 0, 0.94) 0%, rgba(14, 4, 0, 0.8) 30%,
      rgba(20, 6, 0, 0.34) 54%, rgba(20, 6, 0, 0.06) 72%),
    linear-gradient(0deg, rgba(9, 2, 0, 0.86) 0%, rgba(9, 2, 0, 0.2) 30%, rgba(0, 0, 0, 0) 48%),
    linear-gradient(180deg, rgba(8, 2, 0, 0.62) 0%, rgba(0, 0, 0, 0) 24%);
}

.hero__rules {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 30%;
  pointer-events: none;
}
.hero__rules span { width: 1px; background: rgba(255, 255, 255, 0.055); }
.hero__rules span:nth-child(2) { margin-left: 14px; }

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 40px;
  width: 100%;
}

.hero__lead { max-width: 720px; }

.hero__note {
  width: fit-content;
  padding-top: 13px;
  border-top: 1px solid var(--hair);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.hero__title {
  margin-top: calc(22px * var(--scale));
  font-family: var(--font-display);
  font-size: calc(clamp(2.85rem, 6vw, 5.9rem) * var(--scale));
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.hero__line { display: block; }
.hero__title em {
  font-family: var(--font-italic);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--amber);
  margin-right: -0.05em;
}

.hero__sub {
  margin-top: calc(22px * var(--scale));
  max-width: 34em;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: calc(28px * var(--scale));
}

/* Cartões da hero: os três serviços, com factos confirmados no preçário. */
.hero__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: calc(34px * var(--scale));
}
.hcard {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 18px;
  width: 196px;
  min-height: 118px;
  padding: 16px 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}
.hero__cards li:nth-child(2) .hcard {
  background: linear-gradient(150deg, rgba(120, 30, 4, 0.52), rgba(48, 14, 2, 0.52));
}
.hcard::after {
  content: '';
  position: absolute;
  right: 16px;
  bottom: 22px;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.32);
  transform-origin: right center;
  transition: transform 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}
.hcard:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.28); }
.hcard:hover::after { transform: scaleX(1.9); background: var(--amber); }
.hcard__name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.hcard__fact { max-width: 13em; font-size: 12.5px; line-height: 1.4; color: var(--ink-soft); }

/* Linha do Pack Casamento: a versão compacta do selo para tablet e telemóvel. */
.hero__packrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: rgba(18, 4, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-soft);
}
.hero__packrow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.hero__packrow-ring {
  display: grid;
  place-items: center;
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: radial-gradient(circle at 50% 30%, rgba(255, 138, 31, 0.24), rgba(18, 4, 0, 0.9) 72%);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero__packrow-text strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--gold); }
.hero__packrow > svg { flex: none; width: 18px; height: 18px; margin-left: auto; color: var(--amber); transition: transform 0.3s var(--ease-out); }
.hero__packrow:hover > svg { transform: translateX(3px); }

/* Selo do Pack Casamento, ecoando o selo circular do logótipo. */
.hero__seal {
  display: none;
  position: relative;
  align-self: end;
  justify-self: end;
  width: 236px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 34px 26px 30px;
  text-align: center;
  align-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(255, 138, 31, 0.2), rgba(18, 4, 0, 0.78) 70%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero__seal::before,
.pack__seal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1.5px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.hero__seal::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px solid rgba(217, 168, 101, 0.28);
  pointer-events: none;
}
.seal__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.seal__price {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink-soft);
}
.seal__price span {
  font-size: 58px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
}
.seal__copy { margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--ink-soft); }
.seal__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  transition: background-color 0.3s var(--ease-out);
}
.seal__link:hover { background: rgba(255, 179, 92, 0.12); }
.seal__link svg { width: 14px; height: 14px; }

.hero__foot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
}
.hero__watermark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 8.4rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
}
.hero__place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero__place svg { width: 18px; height: 18px; color: var(--amber); }

.hero__toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 86px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(18, 4, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.3s var(--ease-out);
}
.hero__toggle:hover { opacity: 1; }
.hero__toggle svg { width: 16px; height: 16px; }
.hero__toggle .hero__toggle-play,
.hero__toggle.is-paused .hero__toggle-pause { display: none; }
.hero__toggle.is-paused .hero__toggle-play { display: block; }

/* Entrada: o único momento coreografado da página. */
.hero__note,
.hero__title,
.hero__sub,
.hero__cta,
.hero__cards,
.hero__seal,
.hero__foot,
.hero__packrow { animation: rise 0.95s var(--ease-out) both; }
.hero__packrow { animation-delay: 0.32s; }
.hero__title { animation-delay: 0.06s; }
.hero__sub { animation-delay: 0.14s; }
.hero__cta { animation-delay: 0.2s; }
.hero__cards { animation-delay: 0.28s; }
.hero__seal { animation-delay: 0.42s; }
.hero__foot { animation-delay: 0.36s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1120px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hero__seal { display: grid; }
  .hero__packrow { display: none; }
}

@media (max-width: 860px) {
  .hero__rules { display: none; }
  .hero__sparks {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.32) 22%, rgba(0, 0, 0, 0.16) 70%, rgba(0, 0, 0, 0.32) 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.32) 22%, rgba(0, 0, 0, 0.16) 70%, rgba(0, 0, 0, 0.32) 100%);
  }
  .hero__img { object-position: 58% 40%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(10, 3, 0, 0.62) 0%, rgba(10, 3, 0, 0.5) 34%, rgba(10, 3, 0, 0.82) 62%, rgba(10, 3, 0, 0.96) 100%),
      linear-gradient(96deg, rgba(10, 3, 0, 0.6) 0%, rgba(10, 3, 0, 0) 70%);
  }
}

@media (max-width: 560px) {
  .hero { --scale: 0.92; padding-top: calc(var(--nav-h) + 22px); }
  .hero__title { letter-spacing: -0.03em; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__cards { display: grid; gap: 0; border-top: 1px solid var(--hair); }
  .hcard {
    width: auto;
    min-height: 0;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 12px;
    padding: 12px 34px 12px 0;
    border: 0;
    border-bottom: 1px solid var(--hair);
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .hero__cards li:nth-child(2) .hcard { background: none; }
  .hcard::after { right: 4px; bottom: 50%; }
  .hcard__name { font-size: 17px; }
  .hcard__fact { max-width: none; text-align: right; }
  .hero__watermark { display: none; }
  .hero__toggle { bottom: 22px; }
}

/* =====================================================================
   Secções
   ===================================================================== */
.section-head {
  display: grid;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
}
.section-title {
  max-width: 17em;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}
.accent { font-style: normal; color: var(--amber); }
.section-intro { max-width: 48ch; font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-soft); }

/* ---------- Serviços ---------- */
.services {
  padding: var(--section-y) var(--gutter) 0;
  background:
    radial-gradient(55% 32% at 96% 46%, rgba(255, 98, 20, 0.12) 0%, rgba(255, 98, 20, 0) 70%),
    radial-gradient(45% 26% at 0% 18%, rgba(255, 98, 20, 0.08) 0%, rgba(255, 98, 20, 0) 70%);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(36px, 6vw, 104px);
  max-width: var(--max);
  margin: clamp(72px, 9vw, 128px) auto 0;
}
.service--flip .service__media { order: 2; }
#videobooth .service__media > img:first-child { aspect-ratio: 10 / 9; }

.service__media { position: relative; margin: 0; }
.service__media > img:first-child,
.service__loop {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--ground);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.service__loop { position: absolute; inset: 0; height: 100%; }

.service__inset {
  position: absolute;
  right: -7%;
  bottom: -7%;
  width: 44%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 5px solid var(--ground-deep);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

/* Leitor de vídeo leve: capa + botão de play; o vídeo só descarrega no clique. */
.vp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ground);
  aspect-ratio: 9 / 16;
}
.vp--wide { aspect-ratio: 16 / 9; }
.vp::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  border: 1px solid var(--hair);
  pointer-events: none;
}
.vp__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.vp.is-started .vp__video { object-fit: contain; }
.vp--wide.is-started .vp__video,
.g--video .vp.is-started .vp__video { object-fit: cover; }
.vp__start {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
}
.vp__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 0.5s var(--ease-out);
  filter: saturate(0.95) brightness(0.88);
}
.vp__start::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(10, 3, 0, 0.84) 0%, rgba(10, 3, 0, 0.2) 38%, rgba(10, 3, 0, 0) 58%),
    radial-gradient(60% 50% at 50% 50%, rgba(10, 3, 0, 0.26), rgba(10, 3, 0, 0) 70%);
}
.vp__btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: linear-gradient(96deg, var(--flame-deep) 0%, var(--flame-deep-end) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.4s var(--ease-out);
}
.vp__btn::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}
.vp__btn svg { width: 24px; height: 24px; margin-left: 3px; }
.vp--wide .vp__btn { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.vp--wide .vp__btn svg { width: 28px; height: 28px; margin-left: 4px; }
.vp__label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  gap: 1px;
  text-align: left;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-soft);
}
.vp__label strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}
.vp--wide .vp__label { left: 18px; bottom: 16px; font-size: 12.5px; }
.vp--wide .vp__label strong { font-size: 18px; }
.vp__start:hover .vp__cover,
.vp__start:focus-visible .vp__cover { transform: scale(1.04); filter: saturate(1) brightness(0.97); }
.vp__start:hover .vp__btn,
.vp__start:focus-visible .vp__btn { transform: scale(1.08); }
.vp__start:hover .vp__btn::before,
.vp__start:focus-visible .vp__btn::before { transform: scale(1.2); opacity: 0; }
.vp__start:focus-visible { outline: 2px solid var(--flame-lit); outline-offset: -4px; border-radius: inherit; }

/* Ligar/desligar som: pílula sobre o vídeo, fora da barra de controlos nativa. */
.vp__sound {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(18, 4, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.vp__sound svg { width: 18px; height: 18px; }
.vp__sound .vp__sound-on,
.vp__sound.is-on .vp__sound-off { display: none; }
.vp__sound.is-on .vp__sound-on { display: block; }
.vp__sound:not(.is-on) { background: linear-gradient(96deg, var(--flame-deep) 0%, var(--flame-deep-end) 100%); border-color: transparent; }
.vp__sound:hover { border-color: rgba(255, 255, 255, 0.5); }

/* Vídeo de apresentação dentro de cada serviço. */
.service__body > .vp { max-width: 34em; margin-top: 30px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }

/* Hora Mítica: vídeo de uma festa real, em destaque. */
.service__body > .vp--feature { width: 100%; max-width: 380px; margin-top: 30px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.vp--feature .vp__btn { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.vp--feature .vp__btn svg { width: 28px; height: 28px; margin-left: 4px; }
.vp--feature .vp__label strong { font-size: 18px; }

.service__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.service__lead {
  margin-top: 18px;
  max-width: 34em;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.service__list {
  margin-top: 26px;
  max-width: 34em;
  border-top: 1px solid var(--hair-soft);
}
.service__list li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--hair-soft);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 1.15em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flame-lit);
}

.service__price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 26px;
}
.service__price div { display: grid; gap: 2px; }
.service__price dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.service__price dd {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.service__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* Hora Mítica: o serviço que mais distingue a PlayDay ganha um palco próprio. */
.service--feature {
  position: relative;
  isolation: isolate;
  max-width: none;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  padding: clamp(72px, 9vw, 128px) max(var(--gutter), calc((100% - var(--max)) / 2));
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
.service--feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 22% 78%, rgba(255, 61, 0, 0.3) 0%, rgba(255, 61, 0, 0) 70%),
    radial-gradient(50% 50% at 80% 10%, rgba(255, 138, 31, 0.1) 0%, rgba(255, 138, 31, 0) 70%),
    linear-gradient(180deg, var(--ground-deep) 0%, #220801 55%, var(--ground-deep) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.service--feature .service__media { order: 2; }
.service--feature .service__title { font-size: clamp(3rem, 7.4vw, 6rem); }
.service--feature .service__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  max-width: 40em;
}
.service--feature .service__media > img:first-child { aspect-ratio: 3 / 4; }

@media (max-width: 900px) {
  .service,
  .service--feature { grid-template-columns: minmax(0, 1fr); }
  .service--flip .service__media,
  .service--feature .service__media { order: 0; }
  .service__media { max-width: 560px; width: 100%; }
  .service__inset { right: -3%; bottom: -5%; width: 40%; }
}
@media (max-width: 560px) {
  .service--feature .service__list { grid-template-columns: minmax(0, 1fr); }
  .service__actions .btn { flex: 1 1 auto; }
  .service__body > .vp { margin-top: 24px; border-radius: 14px; }
  .vp--feature { max-width: none; margin-top: 24px; border-radius: 14px; }
}

/* ---------- Packs ---------- */
.packs {
  padding: var(--section-y) var(--gutter);
}
.pack {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid var(--hair-soft);
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 0% 50%, rgba(255, 98, 20, 0.16) 0%, rgba(255, 98, 20, 0) 70%),
    var(--ground-mid);
}

.pack__seal {
  position: relative;
  display: grid;
  place-content: center;
  gap: 8px;
  width: clamp(220px, 24vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(255, 138, 31, 0.22), rgba(18, 4, 0, 0.9) 72%);
}
.pack__seal-ring {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px dashed rgba(217, 168, 101, 0.4);
}
.pack__seal-price {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}
.pack__seal-save {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.pack__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}
.pack__tagline {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.pack__lead { margin-top: 18px; max-width: 40em; font-size: 17px; color: var(--ink-soft); }

.pack__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  overflow: hidden;
}
.pack__items li {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
}
.pack__items li + li { border-left: 1px solid var(--hair); }
.pack__items strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pack__items span { font-size: 14px; color: var(--ink-faint); }

.pack__gift,
.audio__offer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.5;
  color: #f3dcb5;
}
.pack__gift svg,
.audio__offer svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--gold); }

.pack .btn { margin-top: 28px; }

.pack-custom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 40px;
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 26px clamp(24px, 4vw, 48px);
  border: 1px solid var(--hair-soft);
  border-radius: 24px;
}
.pack-custom__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.pack-custom__lead { max-width: 52ch; color: var(--ink-soft); }

@media (max-width: 900px) {
  .pack { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .pack-custom { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
@media (max-width: 560px) {
  .pack { border-radius: 24px; }
  .pack__seal { justify-self: center; }
  .pack__items { grid-template-columns: minmax(0, 1fr); }
  .pack__items li { grid-template-columns: 1fr auto; align-items: baseline; }
  .pack__items li + li { border-left: 0; border-top: 1px solid var(--hair); }
  .pack .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Audioguestbook ---------- */
.audio {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(36px, 6vw, 104px);
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: calc(var(--section-y) * 0.4) var(--gutter) var(--section-y);
  overflow-x: clip;
}
.audio__media { position: relative; isolation: isolate; justify-self: center; width: 100%; max-width: 360px; margin: 0; }
/* Luz quente por trás da placa do produto. */
.audio__media::before {
  content: '';
  position: absolute;
  inset: -18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 120, 40, 0.24), rgba(255, 98, 20, 0) 100%);
}
/* Fotografia de produto assumida como placa: tonalizada, com fio dourado como os selos. */
.audio__media::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  padding: 1px;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.audio__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.audio__tagline {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--gold);
}
.audio__lead {
  margin-top: 20px;
  max-width: 36em;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.65;
  color: var(--ink-soft);
}
.audio__offer {
  padding: 14px 18px;
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  background: rgba(217, 168, 101, 0.06);
}
.audio .btn { margin-top: 26px; }

@media (max-width: 900px) {
  .audio { grid-template-columns: minmax(0, 1fr); }
  .audio__media { max-width: 420px; }
}

/* ---------- Eventos ---------- */
.events {
  padding: var(--section-y) var(--gutter);
  background:
    radial-gradient(60% 45% at 100% 60%, rgba(255, 98, 20, 0.13) 0%, rgba(255, 98, 20, 0) 70%),
    linear-gradient(180deg, var(--ground-deep) 0%, var(--ground-mid) 50%, var(--ground-deep) 100%);
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--max);
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.event--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}
.event__media { margin: 0; }
.event__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}
.event {
  align-self: start;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.event--lead { padding-top: 0; border-top: 0; align-self: stretch; }
.event__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.event--lead .event__title { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.event--lead p { font-size: clamp(16px, 1.3vw, 18.5px); }
.event--lead .event__media img { aspect-ratio: 4 / 3; }
.event p { margin-top: 14px; max-width: 34em; color: var(--ink-soft); }
.event__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 0;
  font-weight: 600;
  color: var(--amber);
  text-decoration: underline;
  text-decoration-color: rgba(255, 179, 92, 0.35);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.3s var(--ease-out);
}
.event__link svg { transition: transform 0.3s var(--ease-out); }
.event__link:hover { text-decoration-color: var(--amber); }
.event__link:hover svg { transform: translateX(4px); }
.event__link svg { width: 16px; height: 16px; }

@media (max-width: 760px) {
  .events__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .event--lead { grid-template-columns: minmax(0, 1fr); }
  .event__media img { aspect-ratio: 4 / 5; }
}

/* ---------- Galeria ---------- */
.gallery { padding: var(--section-y) var(--gutter); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 16vw, 230px);
  grid-auto-flow: dense;
  gap: 12px;
  max-width: var(--max);
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.g { position: relative; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; grid-row: span 2; }
.g--pano { grid-column: 1 / -1; grid-row: span 2; }
.g figure { position: relative; height: 100%; margin: 0; overflow: hidden; border-radius: 16px; background: var(--ground); }
.g img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.g:hover img { transform: scale(1.035); }
.g figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(18, 4, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.gallery__more {
  max-width: var(--max);
  margin: 26px auto 0;
  color: var(--ink-soft);
}
.gallery__more a {
  font-weight: 600;
  color: var(--amber);
  text-decoration: underline;
  text-decoration-color: rgba(255, 179, 92, 0.35);
  text-underline-offset: 5px;
}
.gallery__more a:hover { text-decoration-color: var(--amber); }

@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 8px; }
  .g figcaption { font-size: 11px; left: 6px; bottom: 6px; max-width: calc(100% - 12px); border-radius: 10px; line-height: 1.3; }
}

/* Filtros da galeria: pílulas grandes, deslizam na horizontal no telemóvel. */
.gallery__filters {
  display: flex;
  gap: 8px;
  max-width: var(--max);
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__filters::-webkit-scrollbar { display: none; }
.gfilter {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.gfilter:hover { border-color: rgba(255, 255, 255, 0.45); }
.gfilter__n {
  min-width: 28px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-faint);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.gfilter[aria-pressed="true"] {
  background: linear-gradient(96deg, var(--flame-deep) 0%, var(--flame-deep-end) 100%);
  border-color: transparent;
  color: #fff;
}
.gfilter[aria-pressed="true"] .gfilter__n { background: rgba(255, 255, 255, 0.2); color: #fff; }
.gallery__filters + [data-gallery-status] + .gallery__grid { margin-top: 18px; }

/* Com um filtro ativo, todas as peças ficam com o mesmo formato vertical: a grelha
   fecha sem buracos a meio (só a última linha pode ficar incompleta). */
.gallery__grid.is-filtered > li { grid-column: auto; grid-row: span 2; }

/* Vídeos na grelha da galeria. */
.g--video .vp { height: 100%; aspect-ratio: auto; border-radius: 16px; }
.g--video .vp__label { right: 12px; }
.gallery__grid > li.is-entering { animation: g-in 0.5s var(--ease-out) both; }
@keyframes g-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .gallery__filters {
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
    padding: 2px var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .g--video .vp__btn { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
  .g--video .vp__label { left: 10px; right: 10px; bottom: 9px; font-size: 11px; }
  .g--video .vp__label strong { font-size: 13px; }
  .g--video .vp__sound { top: 6px; right: 6px; min-height: 36px; padding: 0 10px 0 8px; font-size: 12px; }
}

/* ---------- Como funciona ---------- */
.steps { padding: 0 var(--gutter) var(--section-y); }
.steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  max-width: var(--max);
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.steps__list::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--flame-lit), rgba(255, 138, 31, 0.1));
}
.step { position: relative; }
.step__n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--flame-lit);
  background: var(--ground-deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--amber);
}
.step__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.step p { margin-top: 10px; max-width: 30em; color: var(--ink-soft); }

@media (max-width: 760px) {
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .steps__list::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--flame-lit), rgba(255, 138, 31, 0.1)); }
  .step { padding-left: 66px; }
  .step__n { position: absolute; left: 0; top: 0; }
  .step__title { margin-top: 8px; }
}

/* ---------- Contacto ---------- */
.contact {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  padding: var(--section-y) max(var(--gutter), calc((100% - var(--max)) / 2));
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(255, 61, 0, 0.26) 0%, rgba(255, 61, 0, 0) 70%),
    linear-gradient(180deg, #200801 0%, var(--ground-deep) 60%);
  border-top: 1px solid rgba(255, 138, 31, 0.25);
}
.contact__lead { margin-top: 20px; max-width: 34em; font-size: 17px; color: var(--ink-soft); }

.contact__direct { display: grid; gap: 4px; margin-top: 34px; border-top: 1px solid var(--hair-soft); }
.contact__direct a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--hair-soft);
  transition: background-color 0.3s var(--ease-out);
}
.contact__direct a svg { transition: transform 0.3s var(--ease-out); }
.contact__direct a:hover { background: rgba(255, 255, 255, 0.04); }
.contact__direct a:hover svg { transform: translateX(4px); }
.contact__direct svg { flex: none; width: 24px; height: 24px; color: var(--amber); }
.contact__direct span span { display: block; color: var(--ink-soft); font-size: 15px; overflow-wrap: anywhere; }
.contact__direct strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }

/* Formulário */
.form {
  display: grid;
  gap: 20px;
  align-self: start;
  padding: clamp(22px, 3.4vw, 40px);
  border: 1px solid var(--hair);
  border-radius: 28px;
  background: rgba(30, 9, 3, 0.82);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.form__note { font-size: 13px; color: var(--ink-faint); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.field { display: grid; gap: 8px; align-content: start; min-width: 0; border: 0; padding: 0; }
.field > label,
.field legend {
  font-size: 14px;
  font-weight: 550;
  color: #fff;
}
.field legend { padding: 0; margin-bottom: 10px; }
.field--choices .field__hint { margin-top: -6px; margin-bottom: 10px; }
.field__opt { font-weight: 400; color: var(--ink-faint); }
.field__hint { font-size: 13px; color: var(--ink-faint); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 16px;
  color-scheme: dark;
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.field input:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.34); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--flame-lit);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.field input:disabled { opacity: 0.45; cursor: not-allowed; }
.field input::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(1) saturate(4) hue-rotate(340deg); cursor: pointer; }

.field.has-error input:not([type="checkbox"]),
.field.has-error textarea { border-color: var(--error); }
.field__error {
  display: flex;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--error);
}
.field__error::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 0.55em; border-radius: 50%; background: currentColor; }

/* Escolhas em pílula (rádio e caixas) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.chip span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.chip:hover span { border-color: rgba(255, 255, 255, 0.42); }
.chip input:checked + span {
  border-color: var(--flame-lit);
  background: rgba(255, 138, 31, 0.16);
  color: #fff;
}
.chip input:checked + span::before { background: var(--flame-lit); border-color: var(--flame-lit); }
.chip input:focus-visible + span { outline: 2px solid var(--flame-lit); outline-offset: 3px; }

.check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
}
.check input { position: absolute; z-index: 1; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.check__box svg { width: 14px; height: 14px; color: var(--ground-deep); opacity: 0; transition: opacity 0.2s var(--ease-out); }
.check input:checked + .check__box { background: var(--flame-lit); border-color: var(--flame-lit); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--flame-lit); outline-offset: 3px; }

.form__summary {
  padding: 14px 16px;
  border: 1px solid rgba(255, 138, 122, 0.5);
  border-radius: 14px;
  background: rgba(255, 90, 60, 0.08);
  font-size: 14.5px;
}
.form__summary p { font-weight: 600; }
.form__summary ul { margin-top: 6px; display: grid; gap: 4px; }
.form__summary a { color: #ffd2c8; text-decoration: underline; text-underline-offset: 3px; }
.form__summary:focus { outline: 2px solid var(--error); outline-offset: 3px; }

.form__picked {
  font-size: 14px;
  font-weight: 500;
  color: var(--amber);
}
.form__picked:not(:empty) {
  padding: 10px 14px;
  border: 1px solid rgba(255, 179, 92, 0.32);
  border-radius: 12px;
  background: rgba(255, 179, 92, 0.07);
}

.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form__fine { font-size: 13px; color: var(--ink-faint); }
.form__status { font-size: 14.5px; font-weight: 500; color: var(--amber); }
.form__status:empty { display: none; }

@media (max-width: 960px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__actions .btn { width: 100%; }
  .form__submit { justify-content: space-between; }
}

/* ---------- Rodapé ---------- */
.footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 36px clamp(28px, 5vw, 72px);
  padding: clamp(56px, 7vw, 88px) max(var(--gutter), calc((100% - var(--max)) / 2)) 32px;
  border-top: 1px solid var(--hair-soft);
  background: #0c0300;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: max(var(--gutter), calc((100% - var(--max)) / 2));
  right: max(var(--gutter), calc((100% - var(--max)) / 2));
  height: 1px;
  background: var(--gold-grad);
  opacity: 0.8;
}
.footer__brand img { width: 120px; height: auto; }
.footer__brand p { margin-top: 16px; max-width: 26em; color: #e9cfa3; }
.footer__nav ul,
.footer__contacts { display: grid; gap: 6px; }
.footer__nav a,
.footer__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s var(--ease-out);
}
.footer__nav a:hover,
.footer__contacts a:hover { color: var(--amber); }
.footer__contacts svg { flex: none; width: 18px; height: 18px; color: var(--gold); }
.footer__legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--hair-soft);
  font-size: 13px;
  color: var(--ink-faint);
}
@media (max-width: 760px) {
  .footer { grid-template-columns: minmax(0, 1fr); }
  .footer__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.footer__contacts a span { overflow-wrap: anywhere; }

/* ---------- WhatsApp flutuante (telemóvel) ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
  display: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame-deep) 0%, var(--flame-deep-end) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 939px) {
  .wa-float { display: grid; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__img { animation: none; }
  .hero__sparks,
  .hero__glow { display: none; }
  .gallery__grid > li.is-entering { animation: none; }
  .hero__note,
  .hero__title,
  .hero__sub,
  .hero__cta,
  .hero__cards,
  .hero__seal,
  .hero__foot,
  .hero__packrow { animation: none; }
  .g:hover img { transform: none; }
}

/* =====================================================================
   PRÉ-VISUALIZAÇÃO (não commitada): vídeo original do Fluxora na hero,
   com o enquadramento e o sombreado do template. Remover para voltar.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero--preview-fluxora .hero__img { visibility: hidden; }
}
.hero--preview-fluxora .hero__video {
  object-position: 68% center;
  filter: none;
  transform: scale(1.04);
  transition: opacity 1.1s var(--ease-out), transform 2.4s var(--ease-out);
}
.hero--preview-fluxora .hero__video.is-ready { transform: scale(1); }
.hero--preview-fluxora .hero__media::after,
.hero--preview-fluxora .hero__glow,
.hero--preview-fluxora .hero__sparks { display: none; }
.hero--preview-fluxora .hero__scrim {
  background:
    linear-gradient(96deg, rgba(10, 3, 0, 0.9) 0%, rgba(14, 4, 0, 0.66) 30%,
      rgba(20, 6, 0, 0.16) 52%, rgba(20, 6, 0, 0) 68%),
    linear-gradient(0deg, rgba(9, 2, 0, 0.78) 0%, rgba(9, 2, 0, 0.12) 28%, rgba(0, 0, 0, 0) 46%),
    linear-gradient(180deg, rgba(8, 2, 0, 0.5) 0%, rgba(0, 0, 0, 0) 22%);
}

/* Capas dos vídeos da galeria: o fotograma fica desfocado e aquecido (esconde a baixa
   resolução dos vídeos de telemóvel mas guarda as cores da festa) e o título diz o que é. */
.vp--cover .vp__cover {
  transform: scale(1.18);
  filter: blur(7px) saturate(1.3) brightness(0.62);
}
.vp--cover .vp__start::before {
  background:
    radial-gradient(90% 60% at 50% 100%, rgba(255, 98, 20, 0.34) 0%, rgba(255, 98, 20, 0) 70%),
    linear-gradient(180deg, rgba(12, 3, 0, 0.15) 0%, rgba(12, 3, 0, 0.55) 100%);
}
.vp--cover .vp__start::after {
  content: '';
  position: absolute;
  inset: 10px;
  z-index: 1;
  border-radius: 10px;
  border: 1px solid rgba(217, 168, 101, 0.28);
  pointer-events: none;
}
.vp--cover .vp__start:hover .vp__cover,
.vp--cover .vp__start:focus-visible .vp__cover { transform: scale(1.24); filter: blur(5px) saturate(1.35) brightness(0.7); }
.vp--cover .vp__btn { top: 42%; }
.vp--cover .vp__label {
  left: 20px;
  right: 20px;
  bottom: 20px;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}
.vp--cover .vp__kind {
  justify-self: start;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vp--cover .vp__label strong {
  margin-top: 6px;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.vp--cover .vp__what { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 760px) {
  .vp--cover .vp__label { left: 12px; right: 12px; bottom: 12px; gap: 2px; }
  .vp--cover .vp__kind { font-size: 9.5px; padding: 2px 7px; }
  .vp--cover .vp__label strong { font-size: 18px; margin-top: 4px; }
  .vp--cover .vp__what { font-size: 12px; }
  .vp--cover .vp__start::after { inset: 6px; }
}
