/**
 * NeuroBrincadeiras - Home refresh.
 * Intencao: hero mais memoravel, cards mais clicaveis, blog mais editorial
 * e wizard de feedback com melhor acessibilidade, sem sair dos tokens do portal.
 */

.page-home {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-alt: #e9f1fb;
  --border: #dce6f5;
  --brand: #1d44a2;
  --brand-hover: #16357f;
  --teal: #06bab9;
  --teal-accessible: #008786;
  --accent: #fe9e0e;
  --accent-hover: #d97d06;
  --text: #1b2a4a;
  --text-muted: #5b6478;
  --color-success: #16835f;
  --color-success-soft: #ddf7ee;
  --font-display: "Outfit";
  --font-body: "Atkinson Hyperlegible";
  --fs-h2: clamp(1.5rem, 1.35rem + 0.9vw, 2.1rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --container-max: 90rem;
  --page-padding: clamp(1rem, 4vw, 1.25rem);
  --card-gap: clamp(0.75rem, 2vw, 1.25rem);
  --radius-md: 16px;
  --radius-lg: 24px;
  --touch-min: 2.75rem;
  --duration-fast: 180ms;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --home-shadow-soft: 0 1.1rem 2.8rem rgba(27, 42, 74, 0.1);
  --home-shadow-card: 0 1.35rem 3rem rgba(27, 42, 74, 0.13);
  --home-radius-card: var(--radius-md, 16px);
  --home-radius-panel: var(--radius-lg, 24px);
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 32rem, var(--bg) 100%);
  color: var(--text);
  margin: 0;
  font-family: var(--font-body), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-home .container {
  width: min(100% - 2 * var(--page-padding), var(--container-max));
  margin-inline: auto;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--touch-min, 2.75rem);
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--duration-fast, 180ms) var(--ease, ease),
    border-color var(--duration-fast, 180ms) var(--ease, ease),
    color var(--duration-fast, 180ms) var(--ease, ease),
    transform var(--duration-fast, 180ms) var(--ease, ease);
}

.page-home .btn:hover {
  transform: translateY(-1px);
}

.page-home .btn-primary {
  color: var(--text);
  background: var(--accent);
  border-color: var(--accent);
}

.page-home .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.page-home .btn-secondary {
  color: var(--brand);
  background: var(--surface);
  border-color: var(--brand);
}

.page-home .btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.page-home :focus-visible {
  outline: 3px solid rgba(6, 186, 185, 0.5);
  outline-offset: 3px;
}

.page-home .skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  padding: 0.7rem 0.9rem;
  color: #ffffff;
  background: var(--brand);
  border-radius: 0.75rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform var(--duration-fast, 180ms) var(--ease, ease);
}

.page-home .skip-link:focus {
  transform: translateY(0);
}

/* HeroHome: estilos em /assets/css/hero-home.css */

/* Sections */
.home-section {
  padding: clamp(2.1rem, 5.5vw, 4.6rem) 0;
}

.home-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.1rem, 2.8vw, 1.8rem);
}

.home-kicker {
  margin: 0 0 0.36rem;
  color: var(--teal-accessible);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-section__title {
  max-width: 15ch;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: var(--fs-h2);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-section__lead {
  max-width: 51ch;
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.55;
}

.home-link-more {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.home-link-more::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  margin-left: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--duration-fast, 180ms) var(--ease, ease);
}

.home-link-more:hover {
  color: var(--brand-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-link-more:hover::after {
  transform: translateX(0.2rem) rotate(45deg);
}

/* Game highlights — duas linhas de carrossel */
.home-games-slider__estado {
  margin: 0;
  padding: 1.5rem 0;
  color: var(--text-muted);
  text-align: center;
  font-size: var(--fs-body, 1.05rem);
}

.home-games-slider__estado a {
  color: var(--brand);
  font-weight: 800;
}

.home-games-slider__rows {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
}

.home-games-slider__palco {
  position: relative;
}

.home-games-slider__track {
  display: flex;
  gap: var(--card-gap);
  margin: 0;
  padding: 0.2rem 0 0.55rem;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-games-slider__track::-webkit-scrollbar {
  display: none;
}

.home-games-slider__slide {
  flex: 0 0 min(100%, 21.5rem);
  scroll-snap-align: start;
}

.home-games-slider__slide .home-game {
  display: grid;
  min-height: 100%;
}

.home-games-slider__nav {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  padding: 0;
  border: 1px solid var(--border, #dce6f5);
  border-radius: 50%;
  background: var(--surface, #ffffff);
  color: var(--brand, #1d44a2);
  box-shadow: 0 0.45rem 1.2rem rgba(27, 42, 74, 0.1);
  cursor: pointer;
  transition:
    background-color var(--duration-fast, 180ms) var(--ease, ease),
    border-color var(--duration-fast, 180ms) var(--ease, ease),
    color var(--duration-fast, 180ms) var(--ease, ease);
}

.home-games-slider__nav svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.home-games-slider__nav:hover {
  background: var(--brand, #1d44a2);
  border-color: var(--brand, #1d44a2);
  color: #ffffff;
}

.home-games-slider__nav--ant {
  left: 0.25rem;
}

.home-games-slider__nav--prox {
  right: 0.25rem;
}

@media (min-width: 48rem) {
  .home-games-slider__slide {
    flex: 0 0 calc((100% - 2 * var(--card-gap)) / 3);
  }
}

@media (max-width: 47.9375rem) {
  .home-games-slider__slide {
    flex-basis: 86%;
  }

  .home-games-slider__nav {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
  }
}

.home-game {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--home-radius-card);
  box-shadow: 0 0.45rem 1.4rem rgba(27, 42, 74, 0.05);
  transition:
    transform var(--duration-fast, 180ms) var(--ease, ease),
    box-shadow var(--duration-fast, 180ms) var(--ease, ease),
    border-color var(--duration-fast, 180ms) var(--ease, ease);
}

.home-game:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 68, 162, 0.28);
  box-shadow: var(--home-shadow-card);
}

.home-game__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-alt);
}

.home-game__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease, ease);
}

.home-game:hover .home-game__media img {
  transform: scale(1.035);
}

.home-game__body {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1rem 1.08rem;
}

.home-game__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
}

.home-game__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.38;
}

.home-game__cta {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 0.35rem;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 850;
}

.home-game__cta::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.38rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Instagram feed */
.home-instagram {
  position: relative;
  background:
    linear-gradient(180deg, rgba(233, 241, 251, 0.55) 0%, rgba(245, 248, 252, 0.2) 100%);
}

.home-instagram .home-section__title {
  max-width: 18ch;
}

.home-instagram__feed {
  max-width: 100%;
}

.home-instagram .igf {
  --igf-gap: 0.85rem;
  --igf-radius: var(--home-radius-card, 16px);
  --igf-min: 11.5rem;
  --igf-placeholder: var(--surface-alt, #e9f1fb);
  --igf-foco: rgba(6, 186, 185, 0.55);
}

.home-instagram .igf--carrossel .igf__item {
  flex: 0 0 clamp(10.5rem, 22vw, 15rem);
  border: 1px solid var(--border, #dce6f5);
  box-shadow: 0 0.45rem 1.4rem rgba(27, 42, 74, 0.06);
  transition:
    border-color var(--duration-fast, 180ms) var(--ease, ease),
    box-shadow var(--duration-fast, 180ms) var(--ease, ease);
}

.home-instagram .igf--carrossel .igf__item:hover,
.home-instagram .igf--carrossel .igf__item:focus-visible {
  border-color: rgba(29, 68, 162, 0.28);
  box-shadow: var(--home-shadow-card, 0 1.35rem 3rem rgba(27, 42, 74, 0.13));
}

.home-instagram .igf__nav {
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  border: 1px solid var(--border, #dce6f5);
  background: var(--surface, #ffffff);
  color: var(--brand, #1d44a2);
  box-shadow: 0 0.45rem 1.2rem rgba(27, 42, 74, 0.1);
  transition:
    background-color var(--duration-fast, 180ms) var(--ease, ease),
    border-color var(--duration-fast, 180ms) var(--ease, ease),
    color var(--duration-fast, 180ms) var(--ease, ease);
}

.home-instagram .igf__nav:hover {
  background: var(--brand, #1d44a2);
  border-color: var(--brand, #1d44a2);
  color: #ffffff;
}

.home-instagram .igf__nav--ant {
  left: 0.25rem;
}

.home-instagram .igf__nav--prox {
  right: 0.25rem;
}

.home-instagram .igf__botao {
  min-height: var(--touch-min, 2.75rem);
  border-color: var(--brand, #1d44a2);
  border-radius: 999px;
  color: var(--brand, #1d44a2);
  background: var(--surface, #ffffff);
  font-weight: 800;
}

.home-instagram .igf__botao:hover {
  opacity: 1;
  background: var(--surface-alt, #e9f1fb);
}

.home-instagram .igf__estado {
  color: var(--text-muted, #5b6478);
  font-size: var(--fs-body, 1.05rem);
}

.home-instagram .igf__estado a {
  color: var(--brand, #1d44a2);
  font-weight: 800;
}

.home-instagram__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 47.9375rem) {
  .home-instagram .igf--carrossel .igf__item {
    flex-basis: 68%;
  }

  .home-instagram .igf__nav {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
  }
}

/* Blog highlights — carrossel automático */
.home-blog-slider {
  position: relative;
}

.home-blog-slider__estado {
  margin: 0;
  padding: 1.5rem 0;
  color: var(--text-muted);
  text-align: center;
  font-size: var(--fs-body, 1.05rem);
}

.home-blog-slider__estado a {
  color: var(--brand);
  font-weight: 800;
}

.home-blog-slider__palco {
  position: relative;
}

.home-blog-slider__track {
  display: flex;
  gap: var(--card-gap);
  margin: 0;
  padding: 0.2rem 0 0.55rem;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-blog-slider__track::-webkit-scrollbar {
  display: none;
}

.home-blog-slider__slide {
  flex: 0 0 min(100%, 21.5rem);
  scroll-snap-align: start;
}

.home-blog-slider__slide .home-post {
  height: 100%;
}

.home-blog-slider__nav {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  padding: 0;
  border: 1px solid var(--border, #dce6f5);
  border-radius: 50%;
  background: var(--surface, #ffffff);
  color: var(--brand, #1d44a2);
  box-shadow: 0 0.45rem 1.2rem rgba(27, 42, 74, 0.1);
  cursor: pointer;
  transition:
    background-color var(--duration-fast, 180ms) var(--ease, ease),
    border-color var(--duration-fast, 180ms) var(--ease, ease),
    color var(--duration-fast, 180ms) var(--ease, ease);
}

.home-blog-slider__nav svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.home-blog-slider__nav:hover {
  background: var(--brand, #1d44a2);
  border-color: var(--brand, #1d44a2);
  color: #ffffff;
}

.home-blog-slider__nav--ant {
  left: 0.25rem;
}

.home-blog-slider__nav--prox {
  right: 0.25rem;
}

@media (min-width: 48rem) {
  .home-blog-slider__slide {
    flex: 0 0 calc((100% - 2 * var(--card-gap)) / 3);
  }
}

@media (max-width: 47.9375rem) {
  .home-blog-slider__slide {
    flex-basis: 86%;
  }

  .home-blog-slider__nav {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1.25rem;
  }
}

.home-post {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0.7rem;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(220, 230, 245, 0.9);
  border-radius: var(--home-radius-card);
  transition:
    transform var(--duration-fast, 180ms) var(--ease, ease),
    box-shadow var(--duration-fast, 180ms) var(--ease, ease),
    border-color var(--duration-fast, 180ms) var(--ease, ease);
}

.home-post:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 186, 185, 0.34);
  box-shadow: var(--home-shadow-soft);
}

.home-post__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.9rem;
  background: var(--surface-alt);
  border-radius: calc(var(--home-radius-card) - 4px);
}

.home-post__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease, ease);
}

.home-post:hover .home-post__media img {
  transform: scale(1.03);
}

.home-post__label {
  margin: 0 0 0.35rem;
  color: var(--teal-accessible);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-post__title {
  margin: 0 0 0.45rem;
  color: var(--text);
  font-size: clamp(1.05rem, 0.98rem + 0.2vw, 1.22rem);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-post:hover .home-post__title {
  color: var(--brand);
}

.home-post__excerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-post__read {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: auto;
  padding-top: 0.95rem;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 850;
}

.home-post__read::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.38rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Participar (wizard) */
.home-section--participar {
  position: relative;
  overflow: hidden;
}

.home-section--participar::before,
.home-section--participar::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.5px);
}

.home-section--participar::before {
  top: 8%;
  left: -4rem;
  width: clamp(12rem, 28vw, 22rem);
  height: clamp(12rem, 28vw, 22rem);
  background: radial-gradient(circle, rgba(255, 224, 138, 0.55) 0%, rgba(255, 224, 138, 0) 72%);
}

.home-section--participar::after {
  right: -3rem;
  bottom: 6%;
  width: clamp(14rem, 32vw, 26rem);
  height: clamp(14rem, 32vw, 26rem);
  background: radial-gradient(circle, rgba(186, 198, 255, 0.45) 0%, rgba(186, 198, 255, 0) 70%);
}

.home-section--participar .container {
  position: relative;
  z-index: 1;
}

.nbp {
  --nbp-blue: #1e75f6;
  --nbp-blue-dark: #1556c8;
  --nbp-ok: var(--color-success, #16835f);
  --nbp-err: #b42318;
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(1.35rem, 3.2vw, 2.35rem) clamp(1.25rem, 3vw, 2.5rem);
  color: var(--text);
  background: #ffffff;
  border: 1px solid rgba(220, 230, 245, 0.95);
  border-radius: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow:
    0 1.25rem 3.25rem rgba(27, 42, 74, 0.08),
    0 0.35rem 1rem rgba(27, 42, 74, 0.04);
}

.nbp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.25rem, 2.8vw, 1.85rem);
}

.nbp-head[hidden] {
  display: none !important;
}

.nbp-head__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.nbp-eyebrow {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--teal-accessible);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nbp h2 {
  max-width: 22ch;
  margin: 0 0 0.55rem;
  color: var(--text);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.15rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.nbp-lead {
  max-width: 42ch;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
  line-height: 1.55;
}

.nbp-stepper {
  display: flex;
  flex: 0 1 auto;
  align-items: flex-start;
  gap: 0;
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}

.nbp-stepper__item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 3.4rem;
  padding: 0 0.15rem;
  color: var(--text-muted);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.nbp-stepper__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: calc(50% + 1.05rem);
  width: calc(100% - 0.4rem);
  height: 2px;
  background: #d8e2f0;
  transform: translateY(-50%);
}

.nbp-stepper__item.is-done:not(:last-child)::after,
.nbp-stepper__item.is-current:not(:last-child)::after {
  background: linear-gradient(90deg, var(--nbp-blue) 0%, #d8e2f0 100%);
}

.nbp-stepper__item.is-done:not(:last-child)::after {
  background: var(--nbp-blue);
}

.nbp-stepper__dot {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  background: #ffffff;
  border: 2px solid #d8e2f0;
  border-radius: 50%;
}

.nbp-stepper__item.is-current .nbp-stepper__dot {
  color: #ffffff;
  background: linear-gradient(145deg, #3d8cff 0%, var(--nbp-blue) 55%, var(--nbp-blue-dark) 100%);
  border-color: transparent;
  box-shadow: 0 0.35rem 0.85rem rgba(30, 117, 246, 0.35);
}

.nbp-stepper__item.is-done .nbp-stepper__dot {
  color: var(--nbp-blue);
  background: rgba(30, 117, 246, 0.1);
  border-color: rgba(30, 117, 246, 0.35);
}

.nbp-stepper__item.is-current .nbp-stepper__lab {
  color: var(--nbp-blue);
  font-weight: 800;
}

.nbp-step-title {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  font-weight: 850;
  line-height: 1.25;
}

.nbp-step[hidden],
.nbp-win[hidden] {
  display: none !important;
}

.nbp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 40rem) {
  .nbp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.nbp-opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.35rem;
  padding: 0.65rem 0.85rem 0.65rem 0.7rem;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  background: #ffffff;
  border: 1.5px solid #e2eaf5;
  border-radius: 0.85rem;
  transition:
    border-color var(--duration-fast, 180ms) var(--ease, ease),
    box-shadow var(--duration-fast, 180ms) var(--ease, ease),
    background-color var(--duration-fast, 180ms) var(--ease, ease);
}

.nbp-opt:hover {
  border-color: rgba(30, 117, 246, 0.45);
  box-shadow: 0 0.35rem 1rem rgba(30, 117, 246, 0.08);
}

.nbp-opt[aria-checked="true"] {
  border-color: var(--nbp-blue);
  box-shadow: 0 0 0 3px rgba(30, 117, 246, 0.12);
}

.nbp-opt__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
}

.nbp-opt__icon img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.nbp-opt__text {
  flex: 1 1 auto;
  min-width: 0;
}

.nbp-opt strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.nbp-opt span.s {
  display: block;
  margin-top: 0.12rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nbp-opt__radio {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #c5d3e8;
  border-radius: 50%;
  transition: border-color var(--duration-fast, 180ms) var(--ease, ease);
}

.nbp-opt__radio::after {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: transparent;
  transition: background-color var(--duration-fast, 180ms) var(--ease, ease);
}

.nbp-opt[aria-checked="true"] .nbp-opt__radio {
  border-color: var(--nbp-blue);
}

.nbp-opt[aria-checked="true"] .nbp-opt__radio::after {
  background: var(--nbp-blue);
}

.nbp-field {
  margin-bottom: 1rem;
}

.nbp label,
.nbp .nbp-lab {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.nbp .opt {
  margin-left: 0.3rem;
  color: var(--text-muted);
  font-family: var(--font-body), "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
}

.nbp input[type="text"],
.nbp input[type="email"],
.nbp textarea {
  width: 100%;
  min-height: var(--touch-min, 2.75rem);
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font: inherit;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 0.9rem;
}

.nbp textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.nbp input:focus,
.nbp textarea:focus {
  outline: none;
  border-color: var(--teal-accessible);
  box-shadow: 0 0 0 4px rgba(6, 186, 185, 0.16);
}

.nbp-count {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: right;
}

.nbp-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nbp-star {
  width: var(--touch-min, 2.75rem);
  height: var(--touch-min, 2.75rem);
  color: var(--text-muted);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition:
    transform var(--duration-fast, 180ms) var(--ease, ease),
    background-color var(--duration-fast, 180ms) var(--ease, ease),
    border-color var(--duration-fast, 180ms) var(--ease, ease),
    color var(--duration-fast, 180ms) var(--ease, ease);
}

.nbp-star.on {
  color: var(--text);
  background: rgba(254, 158, 14, 0.22);
  border-color: var(--accent);
}

.nbp-star:hover {
  transform: scale(1.06);
}

.nbp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nbp-chip {
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  color: var(--brand);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 999px;
}

.nbp-chip[aria-pressed="true"] {
  color: #ffffff;
  background: var(--teal-accessible);
  border-color: var(--teal-accessible);
}

.nbp-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.25rem 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.nbp-consent input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--teal-accessible);
}

.nbp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 0.35rem;
}

.nbp-actions--center {
  justify-content: center;
  margin-top: 1rem;
}

.nbp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--touch-min, 2.75rem);
  padding: 0.72rem 1.35rem;
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  appearance: none;
  border-radius: 999px;
  transition:
    transform var(--duration-fast, 180ms) var(--ease, ease),
    background-color var(--duration-fast, 180ms) var(--ease, ease),
    border-color var(--duration-fast, 180ms) var(--ease, ease),
    box-shadow var(--duration-fast, 180ms) var(--ease, ease),
    opacity var(--duration-fast, 180ms) var(--ease, ease);
}

.nbp-btn__ico {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
}

.nbp-btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #3d8cff 0%, var(--nbp-blue) 48%, var(--nbp-blue-dark) 100%);
  border: 1px solid transparent;
  box-shadow: 0 0.55rem 1.35rem rgba(30, 117, 246, 0.32);
}

.nbp-btn--primary:hover:not([disabled]) {
  transform: translateY(-1px);
  box-shadow: 0 0.65rem 1.5rem rgba(30, 117, 246, 0.38);
}

.nbp-btn--outline {
  color: var(--text);
  background: #ffffff;
  border: 1.5px solid #d8e2f0;
  font-weight: 750;
}

.nbp-btn--outline:hover:not([disabled]) {
  border-color: rgba(30, 117, 246, 0.45);
  background: #f8fbff;
}

.nbp-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.nbp-err {
  min-height: 1.2em;
  margin: 0.55rem 0 0;
  color: var(--nbp-err);
  font-size: 0.9rem;
  font-weight: 800;
}

.nbp-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nbp-win {
  padding: 0.5rem 0 0.2rem;
  text-align: center;
}

.nbp-badge {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 0.9rem;
  color: var(--text);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 850;
  background: radial-gradient(circle at 30% 25%, #ffe2a8, var(--accent));
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(254, 158, 14, 0.22);
  animation: nbpPop 0.6s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes nbpPop {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nbp-win h3 {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.15;
}

.nbp-win p {
  max-width: 44ch;
  margin: 0 auto 0.4rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.nbp-lvl {
  display: inline-block;
  margin: 0.7rem 0 0;
  padding: 0.4rem 0.85rem;
  color: var(--teal-accessible);
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(6, 186, 185, 0.12);
  border-radius: 999px;
}

.nbp-confetti {
  position: absolute;
  top: 0;
  width: 0.55rem;
  height: 0.85rem;
  border-radius: 2px;
  pointer-events: none;
  animation: nbpFall 1.6s ease-in forwards;
}

@keyframes nbpFall {
  to {
    opacity: 0;
    transform: translateY(26rem) rotate(540deg);
  }
}

.nbp-opt:focus-visible,
.nbp-btn:focus-visible,
.nbp-star:focus-visible,
.nbp-chip:focus-visible {
  outline: 3px solid rgba(6, 186, 185, 0.5);
  outline-offset: 2px;
}

/* Final CTA */
.home-cta {
  margin: 0 0 clamp(2rem, 5vw, 3.6rem);
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, #16357f 0%, #1d44a2 52%, #008786 100%);
  border-radius: var(--home-radius-panel);
}

.home-cta h2 {
  max-width: 15ch;
  margin: 0 0 0.55rem;
  font-family: var(--font-display), "Outfit", system-ui, sans-serif;
  font-size: clamp(1.65rem, 1.25rem + 1.55vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-cta p {
  max-width: 48ch;
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-cta .btn-primary {
  color: var(--brand);
  background: #ffffff;
  box-shadow: none;
}

.home-cta .btn-secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.68);
}

.home-cta .btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

@media (max-width: 47.9375rem) {
  .home-section__head {
    display: grid;
    align-items: start;
  }

  .home-game__media,
  .home-post__media {
    aspect-ratio: 16 / 9;
  }

  .home-cta__actions,
  .nbp-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nbp-actions .nbp-btn--primary {
    order: -1;
  }

  .nbp-head {
    flex-direction: column;
  }

  .nbp-stepper {
    align-self: flex-start;
  }

  .nbp {
    border-radius: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-game,
  .home-game__media img,
  .home-post,
  .home-post__media img,
  .nbp-opt,
  .nbp-star,
  .nbp-btn,
  .home-link-more::after,
  .home-instagram .igf--carrossel .igf__item,
  .home-blog-slider__track,
  .home-blog-slider__nav,
  .home-games-slider__track,
  .home-games-slider__nav,
  .nbp-badge,
  .nbp-confetti {
    transition: none !important;
    animation: none !important;
  }

  .home-game:hover,
  .home-post:hover,
  .nbp-opt:hover,
  .nbp-opt[aria-checked="true"],
  .nbp-star:hover,
  .nbp-btn:hover {
    transform: none;
  }

  .home-game:hover .home-game__media img,
  .home-post:hover .home-post__media img {
    transform: none;
  }
}
