:root {
  --ink: #243042;
  --muted: #667085;
  --paper: #fffaf0;
  --paper-2: #f7efe2;
  --blue: #2b8fb8;
  --blue-dark: #17617d;
  --coral: #ef6b5a;
  --yellow: #f4bd45;
  --green: #4f9f68;
  --purple: #7b6cc7;
  --line: rgba(36, 48, 66, 0.14);
  --shadow: 0 18px 50px rgba(36, 48, 66, 0.14);
  font-family: "Nunito", "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.landing-header {
  position: relative;
  background: #ffffff;
  backdrop-filter: none;
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-header .header-inner {
  height: 96px;
  justify-content: center;
}

.publisher-brand {
  width: min(320px, 78vw);
}

.publisher-brand-logo {
  width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: auto;
  height: 48px;
  max-width: 210px;
  object-fit: contain;
}

.landing-header .brand-logo {
  height: 76px;
  max-width: 300px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  box-shadow: 4px 4px 0 var(--yellow);
}

.brand-mark::before {
  content: "";
  width: 15px;
  height: 18px;
  border: 2px solid var(--ink);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: 0;
  transform: rotate(-12deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 999px;
  color: #344054;
}

.nav a:hover {
  background: #ffffff;
}

.site-header .nav {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 4px 4px 0 rgba(36, 48, 66, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(36, 48, 66, 0.18);
}

.btn.primary {
  background: var(--coral);
}

.btn.secondary {
  background: var(--blue-dark);
}

.btn.light {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 34px 0 28px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.92) 46%, rgba(255, 250, 240, 0.25) 100%),
    url("../images/hero-brinquedos.png") right center / auto 100% no-repeat;
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.62fr);
  gap: 36px;
  align-items: center;
}

.hero-logo {
  width: min(500px, 82vw);
  height: auto;
  margin: 0 0 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.access-hero .eyebrow {
  margin-bottom: 34px;
}

.access-hero {
  padding-top: 58px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.98;
  max-width: 780px;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.18rem;
}

.lead {
  color: #344054;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  max-width: 700px;
  margin: 22px 0 0;
}

.hero-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.capture-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.capture-box h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.capture-box p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 18px;
}

.capture-box-book {
  display: block;
  width: min(220px, 60%);
  margin: 4px auto 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  font-weight: 900;
  margin: 0 0 6px;
  font-size: 0.92rem;
}

.field input,
.field textarea,
.search-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fffdf7;
  font: inherit;
  outline: none;
}

.field textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 143, 184, 0.14);
}

.fine-print {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #ffffff;
}

.section.tint {
  background: var(--paper-2);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title p {
  color: var(--muted);
  line-height: 1.5;
  max-width: 600px;
  margin: 10px 0 0;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.category-card,
.play-card,
.content-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(36, 48, 66, 0.08);
}

.info-card {
  border-color: rgba(239, 107, 90, 0.45);
  box-shadow: 0 10px 30px rgba(239, 107, 90, 0.08);
}

.book-bridge {
  width: min(820px, 100%);
}

.book-bridge p {
  color: #344054;
  font-size: 1.12rem;
  line-height: 1.65;
  margin: 16px 0 24px;
}

.category-card {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent, var(--yellow));
  opacity: 0.18;
}

.category-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid var(--ink);
  background: var(--accent, var(--yellow));
  display: grid;
  place-items: center;
  font-weight: 1000;
  margin-bottom: 16px;
}

.subcategory-card {
  min-height: 210px;
}

.category-card p,
.play-card p,
.content-card p,
.info-card p {
  color: var(--muted);
  line-height: 1.5;
}

.category-card p,
.play-card p,
.content-card p {
  margin: 10px 0 16px;
}

.category-card a,
.play-card a {
  font-weight: 1000;
  color: var(--blue-dark);
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.filter-btn {
  min-height: 38px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0 12px;
  font-weight: 900;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--ink);
  color: #ffffff;
}

.play-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.play-card-image {
  display: block;
  aspect-ratio: 1.48 / 1;
  background: #f7efe2;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.play-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-tile {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 8vw, 5.4rem);
  background:
    linear-gradient(135deg, rgba(244, 189, 69, 0.68), rgba(239, 107, 90, 0.45)),
    #fff4d6;
}

.visual-tile.large {
  min-height: 260px;
  border-radius: 8px;
  font-size: clamp(5rem, 13vw, 8rem);
}

.play-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff4d6;
  color: #6b4a00;
  font-size: 0.78rem;
  font-weight: 900;
}

.item-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 22px;
  align-items: start;
}

.article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
}

.item-hero-image {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 24px;
  background: #f7efe2;
}

.item-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alias {
  color: var(--muted);
  font-weight: 800;
  margin: 8px 0 0;
}

.article h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.article-section {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}

.article-section h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.article-section p,
.article-section li {
  color: #475467;
  line-height: 1.65;
}

.article-section ol,
.article-section ul {
  padding-left: 22px;
}

.side-panel {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 12px;
}

.fact {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.list-block {
  display: grid;
  gap: 14px;
}

.content-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #475467;
  line-height: 1.65;
}

.content-card.full {
  max-width: 920px;
}

.category-intro {
  max-width: 860px;
  margin: 0 0 28px;
  padding: 22px;
  border-left: 5px solid var(--blue);
  background: #ffffff;
  border-radius: 0 8px 8px 0;
}

.category-intro p,
.content-flow p {
  color: #475467;
  line-height: 1.65;
  margin: 0 0 10px;
}

.content-flow h4 {
  margin: 24px 0 9px;
  color: var(--blue-dark);
  font-size: 1.05rem;
}

.content-flow h4:first-child {
  margin-top: 12px;
}

.content-flow ul {
  margin: 8px 0 16px;
  padding-left: 22px;
  color: #475467;
  line-height: 1.65;
}

.content-label {
  margin-top: 14px !important;
  color: var(--ink) !important;
  font-weight: 900;
}

.inline-link {
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: underline;
}

.folding-card {
  min-height: 100%;
}

.download-row {
  margin: 0 0 24px;
}

.page-end-actions {
  margin-top: 32px;
}

.video-link {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  margin: 18px 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(36, 48, 66, 0.44);
  backdrop-filter: blur(10px);
}

body.modal-open {
  overflow: hidden;
}


.access-app-panel {
  width: min(720px, 100%);
  margin: 0 auto 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.access-app-panel .access-app-logo {
  width: min(220px, 64vw);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 14px 22px rgba(36, 48, 66, 0.16));
}

.access-app-panel h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  max-width: 760px;
}

.access-app-panel .lead {
  margin-top: 0;
}

.access-app-panel .hero-actions {
  justify-content: center;
  margin-top: 4px;
}

.install-main-button {
  background: #2278e5;
}

.install-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(20px, 4vw, 30px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.install-card img {
  width: 100%;
  max-width: 180px;
  justify-self: center;
  border-radius: 22px;
}

.install-card .eyebrow {
  margin-bottom: 14px;
}

.install-card h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.6rem);
}

.install-card p {
  color: #475467;
  line-height: 1.58;
  margin: 12px 0 0;
}

.install-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 48, 66, 0.52);
  backdrop-filter: blur(10px);
}

.install-modal[hidden] {
  display: none;
}

.install-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(88vh, 740px);
  overflow: auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 36px);
  box-shadow: var(--shadow);
  text-align: center;
}

.install-dialog img {
  width: min(190px, 55vw);
  margin: 0 auto 18px;
  border-radius: 0;
  background: transparent;
}

.install-dialog p,
.install-dialog li {
  color: #475467;
  line-height: 1.58;
  text-align: left;
}

.install-dialog ol {
  padding-left: 22px;
}

.install-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.publisher-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 1000;
}

.publisher-logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #ffffff;
  box-shadow: 5px 5px 0 rgba(36, 48, 66, 0.15);
}

.publisher-hero {
  min-height: 76vh;
}

.compact-category-page .category-hero {
  display: none;
}

.compact-category-page main > .section.alt {
  padding-top: 34px;
}

.publisher-hero::before {
  background:
    radial-gradient(circle at right top, rgba(244, 189, 69, 0.34), transparent 36%),
    radial-gradient(circle at right bottom, rgba(43, 143, 184, 0.26), transparent 34%),
    linear-gradient(90deg, rgba(255, 250, 240, 0.98), rgba(255, 250, 240, 0.82));
}

.publisher-form {
  max-width: 760px;
  margin-top: 28px;
}

.form-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 900;
}

.opening-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 51;
  width: min(720px, calc(100% - 32px));
  max-height: min(86vh, 780px);
  overflow: auto;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: var(--shadow);
}

.opening-copy {
  margin-top: 18px;
}

.opening-copy p {
  color: #475467;
  line-height: 1.62;
  margin: 0 0 10px;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.empty-state {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
}

@media (max-width: 900px) {
  .header-inner {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .landing-header .header-inner {
    align-items: center;
    min-height: 88px;
    height: auto;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 240, 0.96) 0%, rgba(255, 250, 240, 0.88) 60%, rgba(255, 250, 240, 0.95) 100%),
      url("../images/hero-brinquedos.png") center top / auto 54% no-repeat;
  }

  .hero-grid,
  .item-layout {
    grid-template-columns: 1fr;
  }

  

.install-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .grid.three,
  .grid.four,
  .subcategory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .grid.three,
  .grid.four,
  .subcategory-grid {
    grid-template-columns: 1fr;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .nav a {
    padding: 8px 9px;
  }

  .brand-logo {
    height: 42px;
    max-width: 176px;
  }

  .section {
    padding: 54px 0;
  }

  .capture-box {
    padding: 18px;
  }

  .landing-header .brand-logo {
    height: 60px;
    max-width: 238px;
  }

  .hero-logo {
    width: min(420px, 88vw);
  }
}

@media print {
  .site-header,
  .footer,
  .hero-actions,
  .actions-row,
  .side-panel,
  .filters,
  .search-panel {
    display: none !important;
  }

  body {
    background: #ffffff;
  }

  .section,
  .article {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .hero {
    min-height: auto;
  }
}


