/* Página Sobre: estilos isolados para preservar a landing e os jogos aprovados. */
.about-page {
  min-height: 100svh;
  overflow-x: clip;
}

.about-page main {
  padding-top: clamp(110px, 13vw, 156px);
}

.about-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.about-eyebrow {
  margin: 0 0 14px;
  color: #ffdf62;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 5vw, 72px) 0 clamp(66px, 10vw, 128px);
}

.about-hero::before,
.about-hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
}

.about-hero::before {
  top: 8%;
  right: 8%;
  width: min(26vw, 360px);
  aspect-ratio: 1;
  background: rgba(255, 214, 84, 0.2);
}

.about-hero::after {
  bottom: 2%;
  left: -5%;
  width: min(20vw, 270px);
  aspect-ratio: 1;
  background: rgba(99, 224, 249, 0.2);
}

.about-hero-grid,
.founder-grid,
.about-journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 102px);
}

.about-hero-copy h1,
.founder-copy h2,
.about-section-heading h2,
.about-journey-copy h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 5.5vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-shadow: 0 5px 0 rgba(52, 27, 95, 0.28);
}

.about-hero-copy > p:not(.about-eyebrow),
.founder-copy > p:not(.about-eyebrow),
.about-section-heading > p:not(.about-eyebrow),
.about-journey-copy > p:not(.about-eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.68;
}

.about-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #fff;
  font-weight: 1000;
  text-decoration: none;
}

.about-inline-link span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  transition: transform 180ms ease, background 180ms ease;
}

.about-inline-link:hover span,
.about-inline-link:focus-visible span {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(3px);
}

.about-hero-art {
  position: relative;
  min-height: clamp(320px, 38vw, 520px);
  display: grid;
  align-items: center;
  padding: clamp(28px, 4vw, 58px) clamp(20px, 4vw, 52px) clamp(78px, 9vw, 114px);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 223, 108, 0.36), transparent 19%),
    radial-gradient(circle at 82% 16%, rgba(82, 219, 255, 0.36), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.12));
  box-shadow: 14px 14px 0 rgba(52, 27, 95, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.about-hero-art img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(45, 18, 83, 0.25));
}

.about-hero-art--brand {
  min-height: 0;
  overflow: hidden;
  padding: clamp(12px, 1.5vw, 20px);
}

.about-hero-art--brand img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 30vw, 420px);
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
}

.founder-section,
.about-purpose,
.about-journey {
  position: relative;
  padding: clamp(68px, 11vw, 142px) 0;
}

.founder-section {
  background: #f8e8e3;
}

.founder-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  content: "";
  background: #f46057;
}

.founder-copy h2,
.founder-copy > p:not(.about-eyebrow) {
  color: #32205a;
  text-shadow: none;
}

.founder-copy .about-eyebrow,
.about-purpose .about-eyebrow {
  color: #d51f76;
}

.founder-portrait {
  position: relative;
  min-height: clamp(340px, 38vw, 500px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  overflow: hidden;
  margin: 0;
  border: 4px solid #fff;
  border-radius: 26px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 225, 98, 0.9), transparent 16%),
    radial-gradient(circle at 76% 24%, rgba(87, 215, 250, 0.75), transparent 17%),
    linear-gradient(145deg, #ed3c8a 0%, #a45de0 52%, #50c2ec 100%);
  box-shadow: 14px 14px 0 rgba(52, 27, 95, 0.2);
  text-align: center;
}

.founder-portrait--photo {
  aspect-ratio: 4 / 5;
  min-height: 0;
  background: #8b827d;
}

.founder-portrait--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.about-purpose {
  background:
    radial-gradient(circle at 86% 15%, rgba(255, 223, 108, 0.25), transparent 20%),
    linear-gradient(135deg, #843fbc 0%, #6150cc 48%, #39b8e9 100%);
}

.about-section-heading {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-section-heading h2 {
  margin-inline: auto;
  font-size: clamp(2.3rem, 4.8vw, 4.65rem);
}

.about-section-heading > p:not(.about-eyebrow) {
  margin-inline: auto;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(38px, 6vw, 72px);
}

.about-principles article {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 9px 9px 0 rgba(52, 27, 95, 0.2);
  color: #fff;
  backdrop-filter: blur(10px);
}

.about-principles h3 {
  margin: 16px 0 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1;
}

.about-principles p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.about-journey {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 221, 88, 0.3), transparent 16%),
    radial-gradient(circle at 87% 78%, rgba(99, 221, 255, 0.23), transparent 20%),
    linear-gradient(155deg, #ed3d86 0%, #9e5fdf 52%, #48c5ed 100%);
}

.about-journey-copy .play-button {
  margin-top: 28px;
}

.about-journey-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-journey-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 7px 7px 0 rgba(52, 27, 95, 0.18);
  color: #fff;
}

.about-journey-list li > span {
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #e33587;
  font-weight: 1000;
}

.about-journey-list strong {
  display: block;
  font-size: 1.16rem;
}

.about-journey-list p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

@media (prefers-reduced-motion: no-preference) {
  .about-hero-art {
    animation: about-art-float 6.8s ease-in-out infinite;
  }
}

@keyframes about-art-float {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@media (max-width: 900px) {
  .about-hero-grid,
  .founder-grid,
  .about-journey-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-copy,
  .founder-copy,
  .about-journey-copy {
    max-width: 760px;
    margin-inline: auto;
  }

  .about-hero-art {
    max-width: 760px;
    margin: 0 auto;
  }

  .founder-portrait {
    width: min(100%, 620px);
    min-height: 460px;
    margin: 0 auto;
  }

  .about-journey-list {
    width: min(100%, 720px);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .about-page main {
    padding-top: 178px;
  }

  .about-shell {
    width: min(100% - 28px, 620px);
  }

  .about-hero {
    padding-top: 22px;
  }

  .about-hero-copy h1,
  .founder-copy h2,
  .about-section-heading h2,
  .about-journey-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .about-hero-copy > p:not(.about-eyebrow),
  .founder-copy > p:not(.about-eyebrow),
  .about-section-heading > p:not(.about-eyebrow),
  .about-journey-copy > p:not(.about-eyebrow) {
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-hero-art {
    min-height: 300px;
    padding: 24px 16px 90px;
    border-radius: 22px;
  }

  .founder-section,
  .about-purpose,
  .about-journey {
    padding: 68px 0;
  }

  .founder-portrait {
    min-height: 400px;
    border-radius: 22px;
  }

  .founder-portrait--photo {
    min-height: 0;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles article {
    min-height: 0;
  }

  .about-journey-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .about-journey-list li > span {
    width: 44px;
  }
}

@media (max-width: 390px) {
  .about-page main {
    padding-top: 170px;
  }

  .about-shell {
    width: min(100% - 22px, 620px);
  }

  .about-hero-art {
    min-height: 264px;
    padding-bottom: 98px;
  }

  .founder-portrait {
    min-height: 360px;
  }

  .founder-portrait--photo {
    min-height: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .about-hero-art,
  .about-inline-link span {
    animation: none;
    transition: none;
  }
}

/* Sobre v2: conteúdo mais direto, placeholders explícitos e cards alinhados à linguagem da landing. */
.about-hero-copy h1 {
  max-width: 640px;
  font-size: clamp(2.35rem, 4.45vw, 4.5rem);
  line-height: 0.98;
}

.about-inline-link span {
  font-size: 1.05rem;
}

.about-inline-link:hover span,
.about-inline-link:focus-visible span {
  transform: translate3d(3px, -3px, 0);
}

.about-hero-art--placeholder {
  display: grid;
  min-height: clamp(300px, 33vw, 450px);
  place-items: center;
  padding: clamp(28px, 5vw, 66px);
  animation: none !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 224, 104, 0.38), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(72, 199, 239, 0.46), transparent 20%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.12));
}

.about-image-question,
.founder-image-question {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(62%, 270px);
  aspect-ratio: 1.06;
  place-items: center;
  padding-top: 7%;
  clip-path: polygon(50% 2%, 98% 92%, 2% 92%);
  background: linear-gradient(145deg, #f94197, #8e5de7 58%, #41c3ef);
  color: #fff;
  font-size: clamp(4rem, 11vw, 7.5rem);
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 6px 0 rgba(52, 27, 95, 0.3);
  filter: drop-shadow(11px 12px 0 rgba(52, 27, 95, 0.2));
}

.founder-visual {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.founder-portrait--placeholder {
  width: 100%;
  min-height: clamp(320px, 34vw, 440px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 60px);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 226, 98, 0.82), transparent 17%),
    radial-gradient(circle at 78% 22%, rgba(87, 215, 250, 0.72), transparent 18%),
    linear-gradient(145deg, #ed3c8a 0%, #a45de0 52%, #50c2ec 100%);
}

.founder-portrait--placeholder::before,
.founder-portrait--placeholder::after {
  display: none;
}

.founder-image-question {
  width: min(54%, 230px);
}

.founder-caption {
  margin: 0;
  color: #32205a;
  font-size: 0.9rem;
  font-weight: 1000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.founder-copy h2 {
  max-width: 660px;
  font-size: clamp(2.25rem, 4.2vw, 4.1rem);
  line-height: 0.98;
}

.about-section-heading h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 4.15vw, 4.15rem);
  line-height: 1;
}

.about-principles article {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 3px solid #211e24;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.96), transparent 26%),
    linear-gradient(145deg, #fff 0%, #fff4fa 100%);
  box-shadow: 10px 10px 0 rgba(52, 27, 95, 0.28);
  color: #32205a;
  backdrop-filter: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-principles article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 9px;
  content: "";
  background: linear-gradient(90deg, #f33d91, #a453dd);
}

.about-principles article:nth-child(2)::before {
  background: linear-gradient(90deg, #a453dd, #4f86da);
}

.about-principles article:nth-child(3)::before {
  background: linear-gradient(90deg, #4f86da, #43c3e8);
}

.about-principles article:hover {
  box-shadow: 13px 14px 0 rgba(52, 27, 95, 0.24);
  transform: translateY(-5px);
}

.about-principle-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(238, 59, 134, 0.34);
  border-radius: 50%;
  background: #ffe0ef;
  color: #ef3489;
  font-size: 1.15rem;
  font-weight: 1000;
  box-shadow: 0 5px 0 rgba(239, 52, 137, 0.12);
}

.about-principles h3 {
  margin-top: 18px;
  color: #32205a;
}

.about-principles p {
  color: #5f5965;
}

.about-journey-copy h2 {
  max-width: 580px;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  line-height: 0.99;
}

.about-journey-list {
  position: relative;
  min-height: 402px;
  overflow: hidden;
}

.about-journey-list li {
  position: absolute;
  right: 0;
  left: 0;
  box-sizing: border-box;
  min-height: 108px;
  height: 108px;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 17px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.19);
  box-shadow: 8px 9px 0 rgba(52, 27, 95, 0.2);
  animation: about-journey-cycle 20s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  will-change: transform, opacity;
}

.about-journey-list li:nth-child(1) { animation-delay: 0s; }
.about-journey-list li:nth-child(2) { animation-delay: -4s; }
.about-journey-list li:nth-child(3) { animation-delay: -8s; }
.about-journey-list li:nth-child(4) { animation-delay: -12s; }
.about-journey-list li:nth-child(5) { animation-delay: -16s; }

.about-journey-list li > span {
  width: 46px;
  background: #ffe0ef;
  color: #ef3489;
  font-size: 1rem;
}

.about-journey-list strong {
  color: #fff;
}

.about-journey-list:hover li {
  animation-play-state: paused;
}

@keyframes about-journey-cycle {
  0% {
    transform: translate3d(0, 390px, 0) scale(0.92);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  28% {
    transform: translate3d(0, 260px, 0) scale(0.95);
    opacity: 0.72;
  }
  48% {
    transform: translate3d(0, 130px, 0) scale(0.98);
    opacity: 0.9;
  }
  68% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  84%,
  100% {
    transform: translate3d(0, -130px, 0) scale(0.95);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .founder-visual {
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .about-hero-copy h1 {
    font-size: clamp(2.25rem, 10.2vw, 3.25rem);
  }

  .founder-copy h2,
  .about-section-heading h2,
  .about-journey-copy h2 {
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .about-hero-art--placeholder {
    min-height: 280px;
  }

  .founder-portrait--placeholder {
    min-height: 320px;
  }

  .about-image-question {
    width: min(70%, 230px);
  }

  .founder-image-question {
    width: min(62%, 210px);
  }

  .about-journey-list {
    min-height: 378px;
  }

  .about-journey-list li {
    min-height: 108px;
    height: 108px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .about-journey-list li > span {
    width: 40px;
  }

  @keyframes about-journey-cycle {
    0% {
      transform: translate3d(0, 366px, 0) scale(0.92);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    28% {
      transform: translate3d(0, 244px, 0) scale(0.95);
      opacity: 0.72;
    }
    48% {
      transform: translate3d(0, 122px, 0) scale(0.98);
      opacity: 0.9;
    }
    68% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 1;
    }
    84%,
    100% {
      transform: translate3d(0, -122px, 0) scale(0.95);
      opacity: 0;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-journey-list {
    min-height: 0;
    display: grid;
    gap: 12px;
    overflow: visible;
  }

  .about-journey-list li {
    position: static;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* v3: o fluxo permanece legível em qualquer altura, sem cards absolutos sobrepostos. */
.about-journey-list {
  position: static;
  min-height: 0;
  overflow: visible;
  scroll-margin-top: 112px;
}

.about-journey {
  scroll-margin-top: 112px;
}

.about-journey-list li,
.about-journey-list li:nth-child(n) {
  position: static;
  right: auto;
  left: auto;
  min-height: 0;
  height: auto;
  animation: none;
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (max-width: 760px) {
  .about-journey-list {
    min-height: 0;
  }

  .about-journey-list li {
    min-height: 0;
    height: auto;
  }
}
