/* ==========================================================================
   Selo de fase de testes — circular, flutuante e a rodar
   ========================================================================== */

.beta-seal {
  position: fixed;
  top: 94px;
  right: 28px;
  z-index: 70;
  width: 118px;
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.5));
  transform: perspective(700px) rotateX(9deg) rotateY(-11deg);
  transform-style: preserve-3d;
  animation: beta-bob 7s ease-in-out infinite;
  will-change: transform;
}

.beta-seal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 24%, #fbffe9 0%, #efffbe 16%, #daff79 42%, #b9df4c 72%, #8eb52a 100%);
  box-shadow:
    inset -9px -12px 18px rgba(50, 73, 0, 0.28),
    inset 8px 9px 15px rgba(255, 255, 255, 0.7),
    0 18px 26px -16px rgba(0, 0, 0, 0.75);
}

.beta-seal::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 1;
  border: 1px dashed rgba(12, 13, 16, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.beta-seal__ring {
  position: absolute;
  inset: 8px;
  z-index: 2;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  overflow: visible;
  animation: beta-rotate 26s linear infinite;
  transform-origin: 50% 50%;
}

.beta-seal__ring text {
  fill: var(--ink);
  font-family: var(--display);
  font-size: 10.2px;
  font-weight: 700;
  letter-spacing: 1.55px;
}

.beta-seal__core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 52px;
  height: 52px;
  place-content: center;
  border: 1px solid rgba(12, 13, 16, 0.18);
  border-radius: 50%;
  background: linear-gradient(145deg, #f7ffe3 0%, #dfff8d 48%, #b4d84a 100%);
  color: var(--ink);
  text-align: center;
  box-shadow:
    inset -5px -7px 10px rgba(50, 73, 0, 0.2),
    inset 4px 5px 8px rgba(255, 255, 255, 0.8),
    0 5px 10px -5px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%) translateZ(22px);
}

.beta-seal__core strong {
  display: block;
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.beta-seal__core small {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 0.36rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

@keyframes beta-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes beta-bob {
  0%,
  100% {
    transform: perspective(700px) rotateX(9deg) rotateY(-11deg) translateY(0);
  }
  50% {
    transform: perspective(700px) rotateX(13deg) rotateY(-7deg) translateY(-7px);
  }
}

/* ==========================================================================
   Colagem de 3 fotos — diferente da galeria em baixo
   ========================================================================== */

.snap-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 4px 0 42px;
}

.snap-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, var(--max));
  margin: 0 auto 10px;
  padding: 0 28px;
}

.snap-strip__head .eyebrow {
  margin: 0;
}

.snap-strip__head > span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
  text-align: right;
}

.snap-strip__collage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 980px);
  height: clamp(268px, 30vw, 360px);
  margin: 0 auto;
  padding: 0 28px;
}

.snap-strip__shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 6px solid #f4f1e9;
  background: #f4f1e9;
  box-shadow:
    0 28px 45px -28px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.snap-strip__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snap-strip__shot figcaption {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.snap-strip__shot--left {
  left: 9%;
  top: 20%;
  z-index: 1;
  width: clamp(140px, 16vw, 190px);
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  transform: rotate(-8deg);
}

.snap-strip__shot--center {
  left: 50%;
  top: 1%;
  z-index: 3;
  width: clamp(168px, 20vw, 228px);
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  transform: translateX(-50%) rotate(2.5deg);
}

.snap-strip__shot--right {
  right: 9%;
  top: 22%;
  z-index: 2;
  width: clamp(132px, 15vw, 178px);
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  transform: rotate(7deg);
}

@media (max-width: 760px) {
  .beta-seal {
    top: 76px;
    right: 12px;
    width: 84px;
  }

  .beta-seal__core {
    width: 39px;
    height: 39px;
  }

  .beta-seal__core strong {
    font-size: 0.72rem;
  }

  .beta-seal__core small {
    font-size: 0.29rem;
    letter-spacing: 0.07em;
  }

  .beta-seal__ring text {
    font-size: 10px;
    letter-spacing: 1.3px;
  }

  .snap-strip {
    padding-bottom: 30px;
  }

  .snap-strip__head {
    display: block;
    padding: 0 18px;
  }

  .snap-strip__head > span {
    display: block;
    margin-top: 6px;
    text-align: left;
  }

  .snap-strip__collage {
    height: 248px;
    padding: 0 10px;
  }

  .snap-strip__shot {
    border-width: 4px;
  }

  .snap-strip__shot--left {
    left: 0;
    top: 20%;
    width: 132px;
  }

  .snap-strip__shot--center {
    width: 158px;
  }

  .snap-strip__shot--right {
    right: 0;
    top: 23%;
    width: 124px;
  }

  .snap-strip__shot figcaption {
    right: 4px;
    bottom: 4px;
    padding: 3px 5px;
    font-size: 0.4rem;
  }
}

/* ==========================================================================
   Secções de um ecrã
   ========================================================================== */

.screen-fit {
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: 74px;
}

/* Jogar online, em qualquer lugar */

.screen-fit.anywhere {
  padding: clamp(44px, 6vh, 64px) 28px clamp(24px, 3.5vh, 38px);
  overflow: hidden;
}

.screen-fit.anywhere .anywhere__head h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
}

.screen-fit.anywhere .anywhere__grid {
  width: min(100%, 1040px);
  margin: clamp(22px, 3.4vh, 32px) auto 0;
  padding: 0;
}

.screen-fit.anywhere .anywhere__foot {
  margin-top: clamp(16px, 2.6vh, 26px);
  padding-top: 14px;
}

@media (min-width: 761px) {
  .screen-fit.anywhere .anywhere__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .screen-fit.anywhere {
    padding: 46px 18px 24px;
  }

  .screen-fit.anywhere .anywhere__head {
    gap: 12px;
  }

  .screen-fit.anywhere .anywhere__head h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .screen-fit.anywhere .anywhere__intro p {
    margin-top: 8px;
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .screen-fit.anywhere .anywhere__status {
    margin-top: 10px;
    padding: 6px 9px;
    font-size: 0.52rem;
  }

  .screen-fit.anywhere .anywhere__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    margin: 12px 0 0;
    padding: 8px 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .screen-fit.anywhere .anywhere__grid::-webkit-scrollbar {
    display: none;
  }

  .screen-fit.anywhere .anywhere__card,
  .screen-fit.anywhere .anywhere__card:nth-child(2n),
  .screen-fit.anywhere .anywhere__card:nth-child(3) {
    flex: 0 0 142px;
    width: auto;
    transform: none;
    scroll-snap-align: start;
  }

  .screen-fit.anywhere .anywhere__card:last-child {
    width: auto;
    grid-column: auto;
  }

  .screen-fit.anywhere .anywhere__card:hover {
    transform: none;
  }

  .screen-fit.anywhere .anywhere__card figcaption {
    padding: 8px 4px 2px;
  }

  .screen-fit.anywhere .anywhere__card strong {
    font-size: 0.72rem;
  }

  .screen-fit.anywhere .anywhere__foot {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .screen-fit.anywhere .anywhere__foot p {
    font-size: 0.74rem;
    line-height: 1.55;
  }

  .screen-fit.anywhere .anywhere__foot .text-link {
    font-size: 0.66rem;
    white-space: nowrap;
  }
}

/* Perguntas */

.screen-fit.questions {
  padding: clamp(44px, 6vh, 64px) 28px;
  overflow: hidden;
}

.screen-fit.questions .questions__intro {
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 32px;
  margin-bottom: clamp(18px, 2.5vh, 26px);
}

.screen-fit.questions .questions__intro h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.6rem);
  line-height: 1;
}

.screen-fit.questions .questions__intro > div > p:not(.eyebrow) {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.screen-fit.questions .chips {
  gap: 5px;
}

.screen-fit.questions .chips span {
  padding: 6px 9px;
  font-size: 0.6rem;
}

.screen-fit.questions .question-stage {
  padding: clamp(18px, 2.4vw, 28px);
  gap: 24px;
  border-radius: 28px;
}

.screen-fit.questions .question-card {
  padding: 20px;
  border-radius: 22px;
}

.screen-fit.questions .question-card__text {
  margin: 22px auto 20px;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
}

.screen-fit.questions .choice {
  min-height: 44px;
}

.screen-fit.questions .question-card__hint {
  margin-top: 12px;
  font-size: 0.62rem;
}

.screen-fit.questions .question-stage__side {
  padding-left: 26px;
}

.screen-fit.questions .question-stage__side p {
  margin: 10px 0 14px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

@media (max-width: 760px) {
  .screen-fit.questions {
    padding: 44px 18px 26px;
  }

  .screen-fit.questions .questions__intro {
    display: block;
    margin-bottom: 14px;
  }

  .screen-fit.questions .questions__intro h2 {
    font-size: clamp(1.9rem, 8.6vw, 2.4rem);
  }

  .screen-fit.questions .questions__intro > div > p:not(.eyebrow) {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .screen-fit.questions .chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
    margin-top: 10px;
    padding-bottom: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .screen-fit.questions .chips::-webkit-scrollbar {
    display: none;
  }

  .screen-fit.questions .chips span {
    flex: 0 0 auto;
    padding: 5px 8px;
    font-size: 0.55rem;
  }

  .screen-fit.questions .question-stage {
    display: block;
    padding: 12px;
    border-radius: 22px;
  }

  .screen-fit.questions .question-card {
    width: 100%;
    max-width: none;
    padding: 16px;
    border-radius: 18px;
  }

  .screen-fit.questions .question-card__text {
    margin: 18px auto 16px;
    font-size: 1.05rem;
  }

  .screen-fit.questions .choice {
    min-height: 40px;
    font-size: 0.62rem;
  }

  .screen-fit.questions .question-card__hint {
    margin-top: 10px;
    font-size: 0.58rem;
  }

  .screen-fit.questions .question-stage__side {
    display: none;
  }
}

/* Tudo incluído */

.screen-fit.included-screen {
  padding: clamp(44px, 6vh, 64px) 28px;
  overflow: hidden;
}

.screen-fit.included-screen .section-head {
  gap: 28px;
  margin-bottom: clamp(18px, 2.8vh, 30px);
}

.screen-fit.included-screen .section-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.screen-fit.included-screen .section-head__lead {
  max-width: 400px;
  font-size: 0.85rem;
  line-height: 1.55;
}

.screen-fit.included-screen .features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.screen-fit.included-screen .feature {
  min-height: 0;
  padding: clamp(14px, 2vh, 20px);
}

.screen-fit.included-screen .feature__icon svg {
  width: 20px;
  height: 20px;
}

.screen-fit.included-screen .feature h3 {
  margin-top: 14px;
  font-size: 0.9rem;
}

.screen-fit.included-screen .feature p {
  margin-top: 6px;
  font-size: 0.75rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .screen-fit.included-screen {
    padding: 42px 18px 24px;
  }

  .screen-fit.included-screen .section-head {
    display: block;
    margin-bottom: 14px;
  }

  .screen-fit.included-screen .section-head h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.4rem);
  }

  .screen-fit.included-screen .section-head__lead {
    max-width: none;
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .screen-fit.included-screen .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-fit.included-screen .feature {
    padding: 11px 10px;
  }

  .screen-fit.included-screen .feature__icon svg {
    width: 17px;
    height: 17px;
  }

  .screen-fit.included-screen .feature h3 {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .screen-fit.included-screen .feature p {
    margin-top: 5px;
    font-size: 0.66rem;
    line-height: 1.45;
  }
}

/* CTA final — A sala está quase a abrir */

.screen-fit.cta-screen {
  width: min(100%, var(--max));
  height: 100vh;
  height: 100svh;
  margin: 0 auto;
  padding: 0 28px;
  align-items: center;
  overflow: hidden;
}

.screen-fit.cta-screen .cta__inner {
  width: 100%;
  padding: clamp(30px, 5vh, 52px) clamp(28px, 4vw, 54px);
}

.screen-fit.cta-screen .cta h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.screen-fit.cta-screen .cta__inner > p:not(.eyebrow) {
  max-width: 480px;
  margin-top: 16px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.screen-fit.cta-screen .notify-form {
  margin-top: 20px;
}

.screen-fit.cta-screen .cta__actions {
  margin-top: 20px;
}

.screen-fit.cta-screen .cta__note {
  margin-top: 14px !important;
}

.screen-fit.cta-screen .cta__cut {
  width: 200px;
}

@media (max-width: 760px) {
  .screen-fit.cta-screen {
    padding: 0 18px;
  }

  .screen-fit.cta-screen .cta__inner {
    padding: 26px 20px;
    border-radius: 26px;
  }

  .screen-fit.cta-screen .cta h2 {
    font-size: clamp(2rem, 8.8vw, 2.8rem);
  }

  .screen-fit.cta-screen .cta__inner > p:not(.eyebrow) {
    margin-top: 12px;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .screen-fit.cta-screen .notify-form {
    margin-top: 14px;
  }

  .screen-fit.cta-screen .notify-form__label {
    margin-bottom: 5px;
  }

  .screen-fit.cta-screen .notify-form input[type="email"],
  .screen-fit.cta-screen .notify-form__submit {
    min-height: 46px;
  }

  .screen-fit.cta-screen .notify-form__privacy {
    margin-top: 8px;
    font-size: 0.58rem;
  }

  .screen-fit.cta-screen .cta__actions {
    margin-top: 12px;
  }

  .screen-fit.cta-screen .store-button {
    min-height: 46px;
  }

  .screen-fit.cta-screen .cta__note {
    margin-top: 10px !important;
    font-size: 0.62rem !important;
  }

  .screen-fit.cta-screen .cta__inner {
    max-height: calc(100svh - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .beta-seal,
  .beta-seal__ring {
    animation: none;
  }
}

/* ==========================================================================
   Refinamentos do herói e da colagem
   ========================================================================== */

.hero {
  padding-top: 96px;
  padding-bottom: 64px;
}

.hero__copy {
  align-self: start;
  padding: 0;
}

.hero__copy > * {
  position: relative;
  z-index: 1;
}

.hero__copy[data-spotlight]::before {
  inset: -2% -4%;
  border-radius: 32px;
}

@media (max-width: 960px) {
  .hero {
    padding-top: 86px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 78px;
    padding-bottom: 52px;
  }
}

/* A colagem fica sem molduras: só as fotos, desencontradas. */
.snap-strip__shot {
  border: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.3));
}

.snap-strip__shot figcaption {
  display: none;
}

/* ==========================================================================
   Holofote único do rato — contínuo em toda a página
   ========================================================================== */

.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    480px circle at var(--cursor-x, 50%) var(--cursor-y, 50%),
    rgba(218, 255, 121, 0.11),
    rgba(185, 163, 255, 0.06) 38%,
    transparent 70%
  );
  mix-blend-mode: screen;
  transition: opacity 280ms ease;
}

.cursor-glow.is-visible {
  opacity: 1;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}
