/* Refinamento institucional e comercial compartilhado pela Home, Sobre e Contato. */

.public-cta-copy {
  display: grid;
  gap: 10px;
}

.public-cta-copy .landing-kicker,
.public-cta-copy p {
  margin: 0;
}

.public-cta-copy > p:last-child {
  max-width: 54ch;
  color: #62586e;
  font-weight: 700;
  line-height: 1.5;
}

.site-footer {
  overflow: hidden;
  padding: clamp(52px, 6vw, 76px) max(20px, calc((100vw - 1180px) / 2)) 22px;
  border-top: 1px solid #29455d;
  background: #0b1f33;
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #e83b87 0%, #7256bd 48%, #42bddf 100%);
}

.site-footer-shell {
  grid-template-columns: minmax(0, 1.32fr) minmax(170px, 0.62fr) minmax(230px, 0.82fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.site-footer-brand,
.site-footer-nav,
.site-footer-socials {
  box-sizing: border-box;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer-brand {
  display: block;
  max-width: none;
}

.site-footer-logo {
  width: 132px;
  height: 46px;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
}

.site-footer-brand strong {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
  text-shadow: none;
}

.site-footer-brand p {
  max-width: 42ch;
  color: #b9c8d7;
  font-size: 0.94rem;
  line-height: 1.65;
}

.site-footer-contact,
.site-footer-social-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}

.site-footer-contact {
  min-height: 44px;
  margin-top: 22px;
  padding: 10px 15px;
  border: 1px solid #ef6aa5;
  border-radius: 5px;
  background: #d92f79;
  box-shadow: none;
  font-weight: 850;
  transition: background 150ms ease, border-color 150ms ease;
}

.site-footer-contact:hover,
.site-footer-contact:focus-visible {
  border-color: #ff9bc7;
  background: #ea3c88;
  transform: none;
}

.site-footer-heading,
.site-footer-socials > strong {
  color: #67cee9;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-nav,
.site-footer-socials {
  align-content: start;
  padding-left: clamp(28px, 3.5vw, 52px);
  border-left: 1px solid rgba(185, 208, 226, 0.22);
}

.site-footer-nav {
  display: grid;
  gap: 2px;
}

.site-footer-nav a,
.site-footer-bottom a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #e5edf4;
  font-weight: 750;
}

.site-footer-nav a::after {
  content: none;
}

.site-footer-nav a:hover,
.site-footer-nav a:focus-visible,
.site-footer-bottom a:hover,
.site-footer-bottom a:focus-visible {
  color: #7ad9ef;
}

.site-footer-socials {
  justify-self: stretch;
  gap: 14px;
}

.site-footer-socials > div {
  display: grid;
  justify-content: start;
  gap: 5px;
}

.site-footer-bottom {
  min-height: 52px;
  margin-top: clamp(40px, 5vw, 62px);
  padding-top: 18px;
  border-top-color: rgba(185, 208, 226, 0.2);
  color: #8fa4b8;
}

.site-footer-pending,
.site-footer-social-link {
  min-height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #e5edf4;
  font-weight: 750;
}

.site-footer-pending b,
.site-footer-social-link b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 208, 226, 0.48);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer-social-link span {
  display: grid;
  gap: 2px;
}

.site-footer-social-link small {
  color: #8fa4b8;
  font-size: 0.66rem;
}

.site-footer-pending em {
  color: #8fa4b8;
}

.site-footer-bottom a {
  color: #c9d8e5;
}

/* Página comercial. */
.contact-page {
  min-height: 100svh;
  overflow-x: clip;
}

.contact-page main {
  padding-top: clamp(88px, 9vw, 112px);
}

.contact-hero,
.contact-form-section {
  padding: clamp(36px, 6vw, 76px) 0;
}

.contact-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.contact-hero-grid,
.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.contact-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.7vw, 5.9rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  text-shadow: 0 6px 0 rgba(52, 27, 95, 0.3);
}

.contact-form-heading h2 {
  max-width: 880px;
  margin: 0;
  color: #32205a;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-form-layout {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  max-width: 840px;
}

.contact-form-section {
  background: linear-gradient(145deg, #fff9fc, #f2ecff 58%, #e9f8ff);
}

.contact-channel-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 2px solid rgba(50, 32, 90, 0.16);
  border-radius: 18px;
  background: #fff;
}

.contact-channel-card a {
  color: #c82375;
  font-weight: 1000;
}

.contact-instagram-link {
  min-height: 52px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  margin-top: 5px;
  padding: 8px 12px 8px 9px;
  border: 2px solid rgba(200, 35, 117, .22);
  border-radius: 16px;
  background: #fff5fa;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.contact-instagram-link svg {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 5px;
  border-radius: 11px;
  background: linear-gradient(145deg, #ff8a43, #e8338a 52%, #7d45cf);
  stroke: #fff;
  stroke-width: 1.8;
}

.contact-instagram-link > span {
  display: grid;
  gap: 1px;
}

.contact-instagram-link small {
  color: #6d4762;
  font-size: .72rem;
}

.contact-instagram-link:hover,
.contact-instagram-link:focus-visible {
  border-color: #e53487;
  box-shadow: 0 5px 0 rgba(51, 32, 91, .16);
  transform: translateY(-2px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  padding: clamp(20px, 2.7vw, 28px);
  border: 3px solid #33205b;
  border-radius: 24px;
  background: #fff;
  box-shadow: 9px 10px 0 rgba(52, 27, 95, 0.16);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #32205a;
  font-size: 0.82rem;
  font-weight: 1000;
}

.contact-form label.is-wide,
.contact-form .contact-form-actions,
.contact-form .contact-form-status {
  grid-column: 1 / -1;
}

.contact-form input:not([type="radio"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 2px solid rgba(50, 32, 90, 0.24);
  border-radius: 13px;
  padding: 9px 12px;
  background: #fffafd;
  color: #32205a;
  font: inherit;
}

.contact-form select {
  cursor: pointer;
}

.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-form input:not([type="radio"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #e53487;
  outline: 3px solid rgba(229, 52, 135, 0.16);
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-form-status {
  min-height: 24px;
  margin: 0;
  color: #7a2961;
  font-weight: 800;
  line-height: 1.4;
}

.contact-choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-choice-group legend {
  margin-bottom: 7px;
  color: #32205a;
  font-size: 0.82rem;
  font-weight: 1000;
}

.contact-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-choice-list label {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.contact-choice-list input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-choice-list span {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 2px solid rgba(50, 32, 90, 0.2);
  border-radius: 12px;
  background: #fffafd;
  color: #5f5668;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.contact-choice-list input:checked + span {
  border-color: #33205b;
  background: linear-gradient(135deg, #ef3b8c, #a24fd5);
  box-shadow: 0 4px 0 rgba(51, 32, 91, 0.3);
  color: #fff;
}

.contact-choice-list input:focus-visible + span {
  outline: 3px solid rgba(67, 188, 232, 0.42);
  outline-offset: 2px;
}

.contact-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-channel-card,
.contact-location-card {
  box-sizing: border-box;
}

.contact-channel-card { min-height: 144px; }

.contact-location-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: end;
  min-height: 270px;
  padding: 18px;
  border: 2px solid rgba(50, 32, 90, 0.16);
  border-radius: 18px;
  background: #eadff7;
}

.contact-location-card iframe {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-location-card > div {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 18px rgba(51, 32, 91, 0.16);
  color: #32205a;
}

.contact-location-card span {
  color: #685f70;
  font-size: 0.82rem;
  line-height: 1.4;
}

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

  .site-footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(185, 208, 226, 0.2);
  }

  .site-footer-nav {
    padding-left: 0;
    border-left: 0;
  }

}

@media (min-width: 761px) and (max-width: 900px) {
  .site-header {
    gap: 8px;
    padding: 8px 10px;
  }

  .site-brand-logo {
    width: 82px;
  }

  .site-nav {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .site-nav a,
  .site-nav button {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 6px 4px;
    font-size: 0.8rem;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .site-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-nav .site-nav-secondary {
    display: none;
  }

  .site-nav a,
  .site-nav button {
    min-height: 46px;
    padding-inline: 5px;
    font-size: clamp(0.75rem, 3.2vw, 0.86rem);
    line-height: 1.12;
  }

  .has-session .site-nav .nav-profile,
  .has-session .site-nav .nav-logout {
    min-height: 46px;
    font-size: 0.75rem;
  }

  .public-cta {
    align-items: stretch;
  }

  .site-footer-shell {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }

  .site-footer-brand {
    grid-column: 1;
  }

  .site-footer-brand,
  .site-footer-nav,
  .site-footer-socials {
    padding: 0;
  }

  .site-footer-brand {
    padding-bottom: 26px;
  }

  .site-footer-socials {
    padding-top: 26px;
    border-top: 1px solid rgba(185, 208, 226, 0.2);
    border-left: 0;
  }

  .contact-page main {
    padding-top: 84px;
  }

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

  .contact-hero,
  .contact-form-section {
    padding: 48px 0;
  }

  .contact-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-form label,
  .contact-form .contact-choice-group,
  .contact-form label.is-wide,
  .contact-form .contact-form-actions,
  .contact-form .contact-form-status {
    grid-column: 1;
  }

  .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-location-card {
    min-height: 250px;
  }
}

/* Navegação compacta e fluxos mobile/tablet. */
.site-menu-toggle {
  display: none;
}

.marketing-page .hero-scroll-cue {
  width: 64px;
  height: 94px;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.marketing-page .hero-scroll-cue:hover,
.marketing-page .hero-scroll-cue:focus-visible {
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 5px 0 rgba(52, 27, 95, 0.28));
}

.marketing-page .hero-scroll-cue-icon {
  width: 56px;
  height: 94px;
}

.marketing-page .hero-scroll-cue-mouse {
  display: block;
}

.marketing-page .hero-scroll-cue-hand {
  display: none;
}

.modules-carousel-dots {
  display: none;
}

@media (min-width: 761px) and (max-width: 900px) {
  .marketing-page .hero-scroll-cue {
    width: 58px;
    height: 76px;
  }

  .marketing-page .hero-scroll-cue-icon {
    width: 50px;
    height: 72px;
  }

  .marketing-page .hero-scroll-cue-mouse {
    display: none;
  }

  .marketing-page .hero-scroll-cue-hand {
    display: block;
    animation: divar-scroll-hand-gesture 1.6s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
  }

  .game-entry-scroll.scroll-stack-card-entry {
    min-height: calc(100svh - 88px);
    padding: 64px 38px 48px;
  }

  .game-entry-scroll .game-entry-scene {
    width: min(100%, 640px);
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto auto;
    overflow: hidden;
    border-radius: 28px;
    background: #321a53;
  }

  .game-entry-scroll .mobile-entry-copy {
    display: block;
    padding: 20px 24px;
    color: #ffffff;
    text-align: left;
  }

  .game-entry-scroll .game-entry-scene img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }

  .game-entry-scroll .game-entry-scene span {
    position: static;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .marketing-page .site-header {
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
  }

  .site-menu-toggle {
    grid-column: 2;
    justify-self: end;
    min-width: 104px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 14px;
    color: #321a53;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 850;
    border: 1px solid rgba(55, 29, 92, 0.16);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 0 rgba(55, 29, 92, 0.12);
    cursor: pointer;
  }

  .site-menu-toggle i {
    width: 21px;
    display: grid;
    gap: 4px;
  }

  .site-menu-toggle i b {
    width: 100%;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-header.is-menu-open .site-menu-toggle i b:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-menu-open .site-menu-toggle i b:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .site-menu-toggle i b:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .marketing-page .site-header .site-nav {
    position: absolute;
    top: calc(100% + 7px);
    right: 10px;
    left: 10px;
    z-index: 30;
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    max-height: calc(100svh - 88px);
    padding: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d82b7b #f6edf7;
    border: 1px solid rgba(55, 29, 92, 0.15);
    border-radius: 18px;
    background: rgba(255, 252, 255, 0.98);
    box-shadow: 0 18px 44px rgba(44, 22, 79, 0.24);
    backdrop-filter: blur(12px);
  }

  .marketing-page .site-header.is-menu-open .site-nav {
    display: grid;
  }

  .marketing-page .site-header .site-nav > a,
  .marketing-page .site-header .site-nav > button,
  .marketing-page .site-header .site-nav .site-nav-secondary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .marketing-page .hero-scroll-cue {
    width: 52px;
    height: 66px;
    min-height: 0;
    padding: 0;
    box-shadow: none;
  }

  .marketing-page .hero-scroll-cue-icon {
    width: 48px;
    height: 68px;
  }

  .marketing-page .hero-scroll-cue-mouse {
    display: none;
  }

  .marketing-page .hero-scroll-cue-hand {
    display: block;
  }

  .game-entry-scroll.scroll-stack-card-entry {
    min-height: calc(100svh - 66px);
    padding: 50px 16px 42px;
    place-items: center;
  }

  .game-entry-scroll .game-entry-scene {
    width: min(100%, 360px);
    min-height: 0;
    grid-template-rows: auto auto auto;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 25px;
    box-shadow: 0 16px 0 rgba(49, 25, 88, 0.22);
  }

  .game-entry-scroll .mobile-entry-copy {
    padding: 19px 20px 18px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .game-entry-scroll .game-entry-scene img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
  }

  .game-entry-scroll .game-entry-scene span {
    position: static;
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 14px 18px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    box-shadow: none;
  }

  .games-section {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    overflow: hidden;
  }

  .games-section > .section-copy {
    width: min(calc(100% - 40px), 560px);
    margin-right: auto;
    margin-left: auto;
  }

  .games-section .game-card-grid {
    width: 100%;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 52px);
    gap: 14px;
    padding: 0 20px 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .games-section .game-card-grid::-webkit-scrollbar {
    display: none;
  }

  .games-section .play-card {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .modules-carousel-dots {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 6px 0 0;
  }

  .modules-carousel-dot {
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .modules-carousel-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: 0 0 0 2px rgba(55, 29, 92, 0.13);
    transform: translate(-50%, -50%);
    transition: width 180ms ease, background-color 180ms ease;
  }

  .modules-carousel-dot.is-active::after {
    width: 27px;
    background: #ffffff;
  }

  .modules-carousel-dot:focus-visible {
    outline: 3px solid #351c5c;
    outline-offset: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-menu-toggle i b,
  .modules-carousel-dot::after {
    transition: none;
  }
}

/* v11: pista de continuidade e demos com a identidade real dos módulos. */

@media (max-width: 760px) {
  .marketing-page .hero-scroll-cue,
  .landing-actions .hero-scroll-cue {
    width: auto;
    height: auto;
  }

  .marketing-page .hero-scroll-cue-touch {
    min-width: 0;
    min-height: 0;
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-scroll-cue-touch > span {
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.56);
    border-radius: 999px;
    background: rgba(51, 25, 89, .26);
    color: #fff;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
  }

  .hero-scroll-cue-touch svg {
    width: 25px;
    height: 27px;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    filter: drop-shadow(0 3px 0 rgba(52,27,95,.3));
  }

}

@media (prefers-reduced-motion: reduce) {
}

@media (prefers-reduced-motion: reduce) {
}

/* Vitrine estática de parceiros. */
.partners-section {
  padding: clamp(42px, 5vw, 62px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 59, 140, 0.16), transparent 28%),
    radial-gradient(circle at 88% 68%, rgba(73, 174, 236, 0.14), transparent 32%),
    linear-gradient(180deg, #21103f 0%, #4b1f70 52%, #715fc7 82%, #987ce4 100%);
  color: #fff;
}

.partners-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.partners-heading {
  margin-bottom: 20px;
}

.partners-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.partners-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 4px 0 10px;
}

.partner-card {
  min-width: 0;
  min-height: 128px;
  display: grid;
  grid-template-rows: minmax(66px, 1fr) auto;
  place-items: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 16px 14px 15px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16,7,40,.26), 0 4px 0 rgba(20,9,48,.22);
  color: #302058;
}

.partner-logo {
  display: block;
  align-self: center;
}

.partner-logo-official {
  width: 100%;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-official img {
  display: block;
  max-width: min(100%, 158px);
  max-height: 60px;
  object-fit: contain;
}

.partner-logo-nutriquali img { max-height: 64px; }

.partner-logo-reference img { max-height: 64px; }

.partner-card strong {
  display: block;
  max-width: 100%;
  font-size: .9rem;
  line-height: 1.15;
  text-align: center;
}

@media (max-width: 1100px) {
  .partners-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .partners-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-card:last-child { grid-column: 2; }
}

@media (max-width: 720px) {
  .partners-section { padding: 42px 0; }
  .partners-shell { width: min(100% - 28px, 620px); }
  .partners-heading h2 { font-size: clamp(1.8rem, 8vw, 2.65rem); }
  .partners-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { min-height: 136px; padding: 15px 13px; }
  .partner-card:last-child {
    width: calc((100% - 12px) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 460px) {
  .partners-track { gap: 10px; }
  .partner-card { min-height: 126px; padding: 13px 10px; }
  .partner-card strong { font-size: 0.78rem; }
}

/* DIVAR 360 v10: acesso compacto, pista de scroll e parceiros ativos. */
.site-access-button,
.hero-scroll-cue-touch {
  display: none;
}

.partners-track {
  width: min(660px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-inline: auto;
}

.partner-card {
  min-height: 154px;
}

.partner-logo-case img {
  max-height: 74px;
  border-radius: 12px;
}

@media (min-width: 761px) and (max-width: 900px) {
  .marketing-page .hero-scroll-cue {
    width: auto;
    height: auto;
  }

  .marketing-page .hero-scroll-cue-touch {
    min-width: 112px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 11px 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(43, 20, 76, 0.56);
    box-shadow: 0 6px 0 rgba(45, 19, 75, 0.25);
  }

  .hero-scroll-cue-touch > span {
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.02em;
  }

  .hero-scroll-cue-touch svg {
    width: 22px;
    height: 26px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
    animation: divar-scroll-chevron 1.55s ease-in-out infinite;
  }
}

@media (max-width: 760px) {
  .marketing-page .site-header {
    grid-template-columns: 54px minmax(0, 1fr) 48px;
    gap: 7px;
  }

  .site-access-button {
    grid-column: 2;
    justify-self: end;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #401d62;
    border-radius: 14px;
    padding: 8px 12px;
    color: #fff;
    background: linear-gradient(135deg, #eb3785, #ce2475);
    box-shadow: 0 5px 0 #401d62;
    font: inherit;
    font-size: clamp(0.66rem, 3vw, 0.76rem);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
  }

  .site-access-button[hidden] {
    display: none;
  }

  .site-menu-toggle {
    width: 48px;
    min-width: 48px;
    grid-column: 3;
    gap: 0;
    padding: 0;
  }

  .site-menu-toggle > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .marketing-page .site-header .site-nav .site-nav-auth {
    display: none;
  }

  .marketing-page .hero-scroll-cue {
    width: auto;
    height: auto;
  }

  .marketing-page .hero-scroll-cue-touch {
    min-width: 108px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 10px 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(43, 20, 76, 0.56);
    box-shadow: 0 6px 0 rgba(45, 19, 75, 0.25);
  }

  .hero-scroll-cue-touch > span {
    color: #fff;
    font-size: 0.74rem;
    font-weight: 900;
  }

  .hero-scroll-cue-touch svg {
    width: 21px;
    height: 25px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
    animation: divar-scroll-chevron 1.55s ease-in-out infinite;
  }
}

@media (max-width: 520px) {
  .partners-track {
    width: min(100%, 330px);
    grid-template-columns: 1fr;
  }

  .partner-card,
  .partner-card:last-child {
    width: 100%;
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue-touch svg {
    animation: none;
  }
}

/* Ajustes responsivos e de contraste validados nos breakpoints principais. */
.marketing-page .site-brand,
.marketing-page .site-nav > a,
.marketing-page .site-nav > button {
  min-height: 44px;
}

.learning-world .factor-grid article {
  box-shadow:
    0 8px 0 rgba(37, 19, 76, 0.22),
    0 20px 36px rgba(48, 21, 91, 0.16),
    inset 0 0 0 999px rgba(25, 8, 46, 0.42);
}

.learning-world .factor-grid article::before {
  background: rgba(255, 255, 255, 0.12);
}

.module-track article {
  box-shadow:
    8px 10px 0 rgba(52, 27, 95, 0.22),
    inset 0 0 0 999px rgba(25, 8, 46, 0.42);
}

.module-track article::after {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 760px) {
  .marketing-page .site-nav > a,
  .marketing-page .site-nav > button {
    min-height: 46px;
  }

  .scroll-stack-card-journey .factor-grid strong,
  .scroll-stack-card-journey .factor-grid span {
    font-size: 0.875rem;
    line-height: 1.34;
  }

  .game-entry-scroll .game-entry-scene {
    display: grid;
    min-height: 0;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 0;
    background: #321a53;
  }

  .game-entry-scroll .mobile-entry-copy {
    box-sizing: border-box;
    padding: 17px 18px 16px;
  }

  .game-entry-scroll .game-entry-scene img {
    width: 100%;
    aspect-ratio: 16 / 9;
    align-self: auto;
    object-fit: contain;
  }

}

/* Mantém a composição vertical acima das regras legadas do bloco de entrada. */
@media (max-width: 760px) {
  .game-entry-scroll .game-entry-scene {
    grid-template-rows: auto auto auto;
  }

  .game-entry-scroll .mobile-entry-copy {
    padding: 19px 20px 18px;
  }

  .game-entry-scroll .game-entry-scene img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
  }
}

/* Ordem final: o indicador mobile não herda o pill legado. */
@media (max-width: 760px) {
  .marketing-page .landing-actions .hero-scroll-cue {
    width: auto;
    height: auto;
  }

  .marketing-page .hero-scroll-cue-touch {
    min-width: 0;
    min-height: 0;
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .marketing-page .hero-scroll-cue-touch > span {
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.56);
    border-radius: 999px;
    background: rgba(51,25,89,.26);
    color: #fff;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
  }

  .marketing-page .hero-scroll-cue-touch svg {
    width: 25px;
    height: 27px;
    stroke: #fff;
    filter: drop-shadow(0 3px 0 rgba(52,27,95,.3));
  }
}

/* Apresentação dos módulos: galeria, ficha e leitura do formato. */
.portfolio-preview-trigger { border: 2px solid #33205b; cursor: pointer; font: inherit; }
.portfolio-preview-trigger:hover { background: #e8ddf7; }
body.is-portfolio-preview-open { overflow: hidden; }
.portfolio-preview-overlay { position: fixed; z-index: 500; inset: 0; overflow: auto; padding: clamp(12px, 3vw, 38px); background: #1d1238d9; backdrop-filter: blur(8px); scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #b19acb #24173c; }
.portfolio-preview-overlay[hidden] { display: none; }
.portfolio-preview-dialog { width: min(1220px, 100%); margin: auto; border: 1px solid #cdbce5; border-radius: 24px; padding: clamp(18px, 3vw, 34px); background: linear-gradient(140deg, #fffaf8, #f3effb); color: #32205a; box-shadow: 0 18px 60px #10092166; }
.module-presentation-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.module-presentation-heading h2 { margin: 5px 0 8px; font-size: clamp(1.9rem, 3.3vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.module-presentation-heading p { margin: 0; color: #625575; line-height: 1.5; }
.module-presentation-heading .landing-kicker { color: #c02772; }
.portfolio-preview-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #cdbce5; border-radius: 12px; background: #fff; color: #422668; font-family: inherit; font-size: 1.8rem; font-weight: 700; line-height: 1; cursor: pointer; }
.module-presentation-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr); gap: 28px; align-items: start; }
.module-gallery, .module-overview { min-width: 0; }
.module-media-stage { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #231635; border: 1px solid #594074; border-radius: 14px; }
.module-media-stage > img, .module-media-stage > video { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; aspect-ratio: 16 / 9; border-radius: 13px; }
.module-thumbnails { position: relative; display: flex; gap: 5px; overflow-x: auto; margin-top: 5px; padding: 0; scroll-snap-type: x proximity; scrollbar-width: none; }
.module-thumbnails::-webkit-scrollbar { height: 0; }
.module-thumbnails button { position: relative; flex: 0 0 calc(25% - 4px); min-width: 105px; display: grid; padding: 0; border: 2px solid transparent; border-radius: 2px; background: #342447; cursor: pointer; scroll-snap-align: start; }
.module-thumbnails img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.module-thumbnail-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.5rem; text-shadow: 0 2px 8px #231635; background: #23163530; }
.module-thumbnails button[aria-pressed="true"] { border-color: #ae3e86; }
.module-gallery-navigation { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 2px; margin-top: 3px; align-items: center; background: #241a35; border-radius: 0; }
.module-gallery-navigation button { display: grid; place-items: center; height: 18px; min-height: 0; padding: 0; border: 0; border-radius: 1px; color: #d7cbe5; background: #49365f; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.module-gallery-navigation button:hover:not(:disabled) { background: #63487e; color: #fff; }
.module-gallery-navigation button:disabled { color: #88799a; background: #382944; cursor: default; }
.module-gallery-navigation input { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 18px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: ew-resize; }
.module-gallery-navigation input::-webkit-slider-runnable-track { height: 16px; border: 0; border-radius: 0; background: #241a35; }
.module-gallery-navigation input::-moz-range-track { height: 16px; border: 0; border-radius: 0; background: #241a35; }
.module-gallery-navigation input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 48px; height: 16px; margin-top: 0; border: 1px solid #66517f; border-radius: 2px; background: #49365f; }
.module-gallery-navigation input::-moz-range-thumb { width: 46px; height: 14px; border: 1px solid #66517f; border-radius: 2px; background: #49365f; }
.module-gallery-navigation input:disabled { cursor: default; }
.module-gallery-navigation input:focus-visible { outline: 2px solid #934fc0; outline-offset: 2px; }
@media (pointer: coarse), (max-width: 560px) {
  .module-gallery-navigation { grid-template-columns: 44px minmax(0, 1fr) 44px; background: linear-gradient(#241a35, #241a35) center / 100% 18px no-repeat; }
  .module-gallery-navigation button { height: 44px; background: linear-gradient(#49365f, #49365f) center / 100% 18px no-repeat; }
  .module-gallery-navigation button:hover:not(:disabled) { background: linear-gradient(#63487e, #63487e) center / 100% 18px no-repeat; }
  .module-gallery-navigation button:disabled { background: linear-gradient(#382944, #382944) center / 100% 18px no-repeat; }
  .module-gallery-navigation input { height: 44px; }
}
.module-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.module-availability { display: inline-block; margin-top: 14px; padding: 6px 9px; border: 1px solid #cbbdda; border-radius: 7px; color: #644281; background: #ece3f6; font-size: .72rem; font-weight: 800; }
.module-overview > p { margin: 12px 0 16px; font-size: .9rem; line-height: 1.55; color: #61526e; }
.module-facts { margin: 0; display: grid; gap: 9px; font-size: .77rem; line-height: 1.4; }
.module-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px; }
.module-facts dt { color: #7b6b8c; }
.module-facts dd { margin: 0; color: #46305f; font-weight: 700; }
.module-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.module-tags span { padding: 5px 8px; border-radius: 5px; background: #e0edf2; color: #31596a; font-size: .72rem; font-weight: 700; }
.module-contact { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px; font-size: .86rem; text-align: center; text-decoration: none; }
.module-editorial { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr); gap: 28px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #d8cbe7; }
.module-editorial h3 { font-size: 1.35rem; line-height: 1.3; margin: 7px 0 12px; }
.module-editorial p, .module-editorial li { font-size: .88rem; line-height: 1.65; color: #665673; }
.module-editorial ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.module-editorial .landing-kicker { color: #b4256a; font-size: .67rem; line-height: 1.3; }
.module-analysis { padding: 20px; border: 1px solid #d9cde7; border-radius: 14px; background: #fff9; }
.module-analysis > div { display: grid; gap: 6px; border-top: 1px solid #e1d7ec; padding-top: 16px; margin-top: 18px; }
.module-analysis > div span { font-size: .6rem; letter-spacing: .06em; color: #7c6a8d; }
.module-analysis > div strong { font-size: .83rem; color: #5b456f; }
.portfolio-preview-dialog :is(button,a,video):focus-visible { outline: 3px solid #934fc0; outline-offset: 3px; }
@media (max-width: 900px) {
  .module-presentation-grid, .module-editorial { grid-template-columns: minmax(0, 1fr); }
  .module-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 22px; }
  .module-cover { grid-column: 1; grid-row: 1 / 3; }
  .module-availability { justify-self: start; align-self: start; margin-top: 0; }
  .module-overview > p { margin: 0; }
  .module-facts, .module-tags, .module-contact { grid-column: 1 / -1; }
  .module-tags { margin: 0; }
  .module-presentation-heading { margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .portfolio-preview-overlay { padding: 8px; }
  .portfolio-preview-dialog { border-radius: 17px; padding: 16px; }
  .module-presentation-heading { gap: 10px; }
  .module-presentation-heading h2 { font-size: 1.9rem; }
  .module-presentation-heading > div > p:last-child { font-size: .82rem; }
  .module-overview { display: flex; flex-direction: column; gap: 12px; }
  .module-cover { display: none; }
  .module-thumbnails button { flex-basis: 112px; }
  .module-analysis { padding: 16px; }
}
