:root{--ink:#253b38;--muted:#64736b;--green:#124e42;--green-dark:#093c33;--red:#bc3f3c;--cream:#fffaf0;--gold:#f5cc69;--line:#e6e9df;--display:'Baloo 2','Trebuchet MS',sans-serif;--body:'Nunito','Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--body);line-height:1.6}a{color:inherit;text-decoration:none}button,a,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,summary:focus-visible{outline:3px solid #e5a329;outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--display);line-height:1.1}h2{font-size:clamp(1.9rem,3vw,2.65rem);font-weight:800;letter-spacing:-.6px}.wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}.skip{position:fixed;top:-100px;left:20px;background:white;padding:14px;z-index:20}.skip:focus{top:12px}.topbar{display:flex;align-items:center;gap:30px;padding-block:23px}.brand{display:inline-flex;align-items:center;font-family:var(--display);font-size:2rem;line-height:1;font-weight:800;letter-spacing:-1px;color:#286bc1}.brand>span:first-child{font-size:1.7rem;margin-right:8px}.brand-dot{color:#e0a429}.topbar nav{display:flex;gap:26px;margin-left:auto;font-size:.88rem;font-weight:800}.topbar nav a:hover,.footer a:hover{color:var(--red)}.back-site{font-size:.8rem;font-weight:800;border:1px solid #dedfd4;border-radius:30px;padding:9px 16px}
.hero{min-height:530px;position:relative;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;background:radial-gradient(ellipse at 78% 36%,#397b65 0,transparent 57%),linear-gradient(135deg,#123f37,var(--green) 62%,#15473c);border-radius:30px;overflow:hidden;padding:64px 58px 52px;color:white;box-shadow:inset 0 0 0 1px #ffe3a946,0 8px 0 #e9e2cd,0 18px 34px #38261436}.hero-copy{position:relative;z-index:3}.eyebrow{text-transform:uppercase;font-size:.68rem;font-weight:900;letter-spacing:1.7px;margin-bottom:15px;line-height:1.5}.hero .eyebrow{color:#d2e7cf;display:flex;gap:9px;align-items:center}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--gold)}.hero h1{font-size:clamp(2.7rem,4.6vw,4.5rem);font-weight:800;letter-spacing:-1.5px;line-height:1.02}.hero h1 em{font-style:normal;color:var(--gold)}.hero-description{font-size:.99rem;max-width:390px;line-height:1.6;color:#e2eee7;margin-top:22px}.primary-button{display:inline-flex;gap:30px;align-items:center;background:linear-gradient(180deg,#ffdf8c,var(--gold));color:#254038;border-radius:14px;padding:13px 22px;font-weight:900;margin-top:26px;box-shadow:0 4px 0 #ad7e29,0 8px 20px #0a352a50;transition:transform .2s}.primary-button:hover{transform:translateY(-3px)}.primary-button span{font-size:1.3rem}.hero-lights{display:flex;justify-content:space-around;position:absolute;left:-2%;right:-2%;top:-20px;height:55px;border-bottom:2px solid #072c28;border-radius:0 0 50% 50%;transform:rotate(-2deg);z-index:4}.hero-lights i{position:relative;top:34px;width:10px;height:16px;background:#f2d37d;border-radius:8px;box-shadow:0 0 17px #f9d47766}.hero-lights i:nth-child(3n){background:#ee8b7b;box-shadow:0 0 17px #e87e6866}.hero-lights i:nth-child(3n + 1){background:#a1d7be}.hero-lights i:first-child,.hero-lights i:last-child{top:22px}.hero-lights i:nth-child(2),.hero-lights i:nth-last-child(2){top:29px}
.hero-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.hero-nuvito {
  position: relative;
  z-index: 3;
  display: block;
  width: min(390px, 94%);
  height: auto;
  transform: rotate(-3deg);
  filter: drop-shadow(0 14px 14px #082b2355);
}.scene-tree{font-size:7.4rem;position:absolute;left:-18px;bottom:8px;z-index:2;transform:rotate(-10deg)}.scene-gift{font-size:5.8rem;position:absolute;right:-10px;bottom:18px;z-index:2;transform:rotate(10deg)}.scene-star{position:absolute;color:var(--gold);font-size:2rem}.star-one{top:15px;left:30px}.star-two{top:150px;right:-15px}.star-three{bottom:17px;left:32%}.scene-label {
  position: relative;
  z-index: 5;
  max-width: 92%;
  padding: 9px 16px;
  border: 1px solid #edd298;
  border-radius: 13px;
  background: #fff7e2;
  color: var(--green);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-3deg);
  box-shadow: 0 5px 0 #062d2340;
}
.scene-label::before {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 1px solid #edd298;
  border-left: 1px solid #edd298;
  background: inherit;
  content: '';
  transform: translateX(-50%) rotate(45deg);
}
.season-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:37px 15px 28px}.season-strip>div{display:flex;align-items:center;gap:13px}.season-icon{font-size:2rem}.season-strip strong{display:block;font-family:var(--display);font-size:1.2rem}.season-strip small{display:block;color:var(--muted);font-size:.74rem}.season-divider{color:#c9bb98}.games-section{padding-top:44px;padding-bottom:42px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.red{color:var(--red)}.section-heading .eyebrow{margin-bottom:8px}.section-heading>div>p:last-child{color:var(--muted);font-size:.94rem;margin-top:10px}.section-heading h2>span{color:var(--red)}.section-stamp{flex-shrink:0;text-align:center;font-family:var(--display);font-size:1.45rem;line-height:1.1;color:var(--red);transform:rotate(7deg);border:2px dashed #dba89b;border-radius:50%;padding:21px 18px}.section-stamp strong{font-family:var(--body);font-size:.65rem;display:block;margin-top:5px}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.game-card{background:#fff;border:1px solid #e7e6dc;border-radius:20px;overflow:hidden;box-shadow:0 5px 0 #e8e5da;transition:transform .2s,box-shadow .2s;--accent:#28624f;--tint:#e2eee3;--shade:#bfd8bf}.game-card.red{--accent:#a9463d;--tint:#f8e3dc;--shade:#ebc4b7}.game-card.gold{--accent:#8f650d;--tint:#fbefce;--shade:#e9d6a0}.game-card.blue{--accent:#2b6885;--tint:#dff0f7;--shade:#b9dce7}.game-card.pink{--accent:#9c4c72;--tint:#f8e5ed;--shade:#edc6d9}.game-card.purple{--accent:#685392;--tint:#eee6f8;--shade:#d9c9ee}.card-art{height:145px;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 20% 20%,#ffffff88 2px,transparent 3px) 0 0/24px 24px,var(--tint);isolation:isolate;overflow:hidden}.card-art:before{content:'';position:absolute;width:110px;height:110px;background:#ffffff88;border-radius:32px;transform:rotate(-12deg);z-index:-1;box-shadow:5px 5px 0 var(--shade)}.card-symbol{font-size:3.8rem;filter:drop-shadow(0 5px 0 #0000000a);transform:rotate(-8deg)}.card-detail{position:absolute;right:28px;bottom:22px;min-width:34px;height:34px;padding:0 7px;display:grid;place-items:center;color:var(--accent);background:white;border-radius:10px;box-shadow:0 3px 0 var(--shade);font-weight:900;transform:rotate(12deg);font-size:1rem}.card-body{padding:18px 19px 20px;display:flex;flex-direction:column;min-height:200px}.card-area{color:var(--accent);font-size:.63rem;letter-spacing:.6px;text-transform:uppercase;font-weight:900;margin-bottom:9px}.card-body h3{font-size:1.3rem;color:var(--ink);line-height:1.14}.card-description{color:var(--muted);font-size:.83rem;margin-top:9px;line-height:1.55;margin-bottom:18px}.more-games{display:flex;justify-content:center;align-items:center;gap:25px;text-align:center;font-size:.85rem;color:var(--muted);padding-top:37px}.more-games>span{color:#c79b48;font-size:1.5rem}.more-games strong{color:var(--green);font-weight:800}
.school-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}.school-tags span{font-size:.76rem;font-weight:800;background:#fffdf5;border:1px solid #e0e4d8;padding:7px 13px;border-radius:30px}.learning-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.learning-grid article{background:#fffef8;border-radius:17px;padding:25px;border:1px solid #e2e6d8}.learning-grid article>span{font-size:1.8rem}.learning-grid h3{font-size:1.35rem;margin:12px 0}.learning-grid p,.description-list p{font-size:.87rem;color:var(--muted);line-height:1.75}.game-details{border-top:1px solid #d9dfd0;margin-top:29px;padding-top:20px}.game-details summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:900;color:var(--green);list-style:none}.game-details summary::-webkit-details-marker{display:none}.game-details summary>span{font-size:1.7rem;line-height:1}.game-details[open] summary>span{transform:rotate(45deg)}.teacher-section{padding-block:60px}.bncc-panel{border:2px dashed #d4dbc7;border-radius:24px;padding:32px;background:#fffdf7}.bncc-heading{display:flex;gap:20px;align-items:center;margin-bottom:20px}.bncc-heading .eyebrow{margin-bottom:5px}.bncc-heading h2{font-size:2rem}.book-icon{font-size:2.3rem}.bncc-panel>p{font-size:.9rem;color:var(--muted)}.bncc-status{display:flex;gap:15px;background:#eff3e9;border-radius:13px;padding:20px;margin-top:23px}.bncc-status>span{font-size:1.5rem}.bncc-status h3{font-size:1.15rem;margin-bottom:6px}.bncc-status p{font-size:.85rem;color:var(--muted)}.teacher-tip{display:flex;gap:28px;align-items:center;margin-top:28px;padding:28px 40px 24px;background:var(--green);color:#fff;border-radius:24px;overflow:hidden}.teacher-tip img{width:155px;flex-shrink:0;filter:drop-shadow(0 8px 5px #00000020)}.teacher-tip .eyebrow{color:#f5cc69;margin-bottom:7px}.teacher-tip h2{font-size:1.7rem;line-height:1.2;margin-bottom:12px}.teacher-tip p:last-child{font-size:.88rem;color:#d9e7de;line-height:1.8}.other-games{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:35px 45px}.other-games .eyebrow{margin-bottom:5px}.other-games h2{font-size:1.7rem}.secondary-button{border:1px solid #b7c9ba;border-radius:12px;padding:12px 18px;font-weight:900;font-size:.82rem;color:var(--green);white-space:nowrap}.secondary-button:hover{background:#edf2e6}.secondary-button span{margin-left:15px}.footer{background:#eaece1;padding-block:28px}.footer>.wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer p{font-size:.78rem;font-weight:800}.footer small{font-size:.73rem;color:var(--muted);font-weight:600}.footer nav{display:flex;gap:18px;font-size:.75rem;font-weight:800}
@media(min-width:1400px){.hero{min-height:550px}}
@media(max-width:1000px){.topbar nav{gap:15px}.hero{padding:58px 38px 45px}.scene-tree{font-size:5.7rem}.scene-gift{font-size:4.7rem}.scene-label{font-size:.88rem}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.season-strip small{font-size:.66rem}.season-strip strong{font-size:1.1rem}.season-strip>div{gap:8px}.season-icon{font-size:1.6rem}.topbar .back-site{display:none}.footer nav{gap:10px}}
@media(max-width:700px){.wrap{width:calc(100% - 30px)}.topbar{padding-block:19px;gap:15px}.brand{font-size:1.8rem}.topbar nav{font-size:.74rem;gap:14px}.hero{grid-template-columns:1fr;padding:48px 27px 0;text-align:center;border-radius:23px}.hero-copy{z-index:5}.hero .eyebrow{justify-content:center;font-size:.58rem;letter-spacing:1px}.hero h1{font-size:clamp(2rem,7.5vw,2.45rem);line-height:1.08;letter-spacing:-.6px}.hero-description{font-size:.91rem;margin:18px auto 0;max-width:350px}.primary-button{margin-top:20px;font-size:.9rem}.hero-scene{min-height:275px;margin:12px auto 0;width:min(350px,100%)}.scene-tree{left:-13px;bottom:8px;font-size:5rem}.scene-gift{right:-10px;bottom:8px;font-size:4rem}.hero-nuvito{width:min(270px,92%)}.scene-label{padding:8px 12px;font-size:.8rem}.star-one{left:10px;top:10px}.star-two{right:0;top:115px}.star-three{display:none}.season-strip{padding:30px 4px 20px;align-items:flex-start;gap:9px;text-align:center}.season-strip>div{flex:1;flex-direction:column;gap:4px}.season-strip strong{font-size:.95rem}.season-strip small{font-size:.63rem;line-height:1.4;margin-top:3px}.season-divider{display:none}.season-icon{font-size:1.6rem}.games-section{padding-top:30px}.section-heading{margin-bottom:20px}.section-heading .eyebrow{font-size:.6rem;letter-spacing:1.2px}.section-heading>div>p:last-child{font-size:.85rem}.section-stamp{display:none}.game-grid{grid-template-columns:minmax(0,1fr);gap:16px}.card-art{height:120px}.card-symbol{font-size:3.2rem}.card-art:before{width:86px;height:86px;border-radius:24px}.card-detail{right:15px;bottom:13px;font-size:.85rem;min-width:29px;height:29px}.card-body{padding:14px 15px;min-height:0}.card-area{font-size:.55rem;letter-spacing:.2px}.card-body h3{font-size:1.3rem}.card-description{font-size:.85rem;margin:7px 0 12px}.more-games{font-size:.75rem;gap:12px}.learning-grid{grid-template-columns:1fr;gap:14px}.learning-grid article{padding:21px}.learning-grid h3{display:inline-block;margin:0 0 10px 9px}.learning-grid article>span{font-size:1.5rem}.school-tags{gap:7px}.school-tags span{font-size:.65rem;padding:6px 10px}.game-details summary{font-size:.85rem}.teacher-section{padding-block:35px}.bncc-panel{padding:22px 20px}.bncc-heading{gap:11px;align-items:flex-start}.book-icon{font-size:1.7rem}.bncc-heading h2{font-size:1.6rem}.bncc-heading .eyebrow{font-size:.55rem;letter-spacing:1px}.bncc-status{padding:15px;gap:10px}.teacher-tip{flex-direction:column;padding:23px;gap:10px;text-align:center}.teacher-tip img{width:120px}.teacher-tip h2{font-size:1.5rem}.other-games{flex-direction:column;text-align:center;padding-block:30px;gap:20px}.other-games h2{font-size:1.5rem}.footer>.wrap{flex-direction:column;text-align:center;gap:18px}.footer nav{gap:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Cenário natalino de teste: a decoração acompanha a rolagem nas bordas. */
body {
  position: relative;
  isolation: isolate;
  background: #f2d49c;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('img/fundo-natal.jpg') center center / cover no-repeat;
}

.topbar {
  margin-block: 16px;
  padding-inline: 22px;
  border: 1px solid #fff7dfb3;
  border-radius: 18px;
  background: #fffaf0f2;
  box-shadow: 0 5px 20px #603b1614;
}

.season-strip {
  margin-block: 26px;
  padding: 22px;
  border: 1px solid #fff7dfb3;
  border-radius: 20px;
  background: #fffaf0f2;
}

.games-section,
.learning-section {
  padding: 32px;
  border: 1px solid #fff7df;
  border-radius: 26px;
  background: #fffaf0eb;
  box-shadow: 0 12px 32px #603b161a;
}

.games-section { margin-bottom: 38px; }
.learning-section { background: #f0f2e8f5; }
.other-games {
  margin-bottom: 30px;
  padding: 28px;
  border: 1px solid #fff7dfb3;
  border-radius: 20px;
  background: #fffaf0f2;
}
.footer { background: #eaece1f5; }

.menu-toggle,
.topbar .mobile-back-link { display: none; }

@media (max-width: 1000px) {
  .topbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    z-index: 10;
  }
  .topbar .brand { margin-right: auto; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 10px;
    flex-shrink: 0;
    border: 1px solid #cfdbcb;
    border-radius: 12px;
    background: #eef2e6;
    color: var(--green);
    cursor: pointer;
  }
  .menu-toggle span {
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s, opacity .18s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .menu-toggle:focus-visible { outline: 3px solid #e5a329; outline-offset: 4px; }
  .topbar .back-site { display: none; }
  .topbar nav {
    display: none;
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 0;
    padding: 10px;
    border: 1px solid #e2dfce;
    border-radius: 16px;
    background: #fffaf0;
    box-shadow: 0 12px 28px #3e2b2433;
    font-size: .88rem;
  }
  .topbar nav.is-open { display: grid; }
  .topbar nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 9px;
    line-height: 1.4;
  }
  .topbar nav a:hover,
  .topbar nav a:focus-visible { background: #edf2e5; }
  .topbar nav .mobile-back-link {
    display: flex;
    border-top: 1px solid #e5e6d8;
    border-radius: 0 0 9px 9px;
    margin-top: 4px;
    color: var(--green);
  }
}

@media (max-width: 700px) {
  body::before {
    background-position: 28% top;
    background-size: auto max(100svh, 760px);
  }
  .topbar {
    padding: 14px;
    margin-block: 12px;
  }
  .topbar .brand { font-size: 1.65rem; }
  .topbar .brand > span:first-child { font-size: 1.4rem; margin-right: 5px; }
  .hero { padding-top: 42px; }
  .season-strip { padding: 18px 10px; margin-block: 22px; }
  .games-section,
  .learning-section { padding: 24px 14px; border-radius: 20px; }
  .other-games { padding: 24px 18px; }
}

/* Movimento natalino suave, sem partículas ou ciclos de animação em JavaScript. */
.hero-lights {
  top: 0;
  height: 27px;
}
.hero-lights i {
  width: 13px;
  height: 20px;
  flex-shrink: 0;
  color: #ffe08a;
  background: currentColor;
  box-shadow: 0 0 8px currentColor, 0 0 22px currentColor;
  animation: luz-natalina 4.6s ease-in-out infinite;
}
.hero-lights i:nth-child(n) { top: 22px; }
.hero-lights i:nth-child(3n) {
  color: #ff897b;
  background: currentColor;
  box-shadow: 0 0 8px currentColor, 0 0 22px currentColor;
}
.hero-lights i:nth-child(3n + 1) {
  color: #a1edc7;
  background: currentColor;
  animation-delay: -1.4s;
}
.hero-lights i:nth-child(3n + 2) { animation-delay: -3.1s; }
.hero-lights i::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 5px;
  top: -4px;
  left: 3px;
  background: #294a35;
  border-radius: 2px 2px 0 0;
}
.hero-lights i:nth-child(even) { animation-duration: 5.7s; }





@keyframes luz-natalina {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.game-grid { grid-auto-rows: 1fr; }
.game-card { position: relative; isolation: isolate; display: flex; flex-direction: column; }
.game-card > .card-art { flex-shrink: 0; }
.game-card > .card-body { flex: 1; }
.game-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.game-filtros[hidden], .game-card[hidden] { display: none; }
.game-filtros button {
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #c9d9c9;
  border-radius: 11px;
  background: #fff9eb;
  color: var(--green);
  font: 800 .84rem/1.2 var(--body);
  cursor: pointer;
}
.game-filtros button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.game-filtros button:focus-visible { outline: 3px solid #bd841d; outline-offset: 2px; }
.game-retorno:not(:empty) { margin-bottom: 12px; color: var(--muted); font-size: .85rem; }
.game-erro:not(:empty) { padding: 10px 12px; border-radius: 8px; background: #fbe7e2; color: #862d26; font-weight: 800; }
.game-card .card-body > .cp-button { margin-top: auto; width: 100%; min-height: 56px; box-sizing: border-box; }

@media (max-width: 700px) {
  .game-grid { grid-auto-rows: auto; }
  .game-card > .card-body { flex: none; }
  .game-card .card-body > .cp-button { margin-top: 0; min-height: 46px; }
}
.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px #e8b84f, inset 0 0 22px #f5cc6940;
  opacity: 0;
  transition: opacity .22s ease;
}
.game-card.is-pressed {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #e8d9ae, 0 10px 22px #d5a23d26;
}
.game-card.is-pressed::after,
.game-card:focus-within::after { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 0 #e8d9ae, 0 12px 25px #d5a23d26;
  }
  .game-card:hover::after { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lights i { animation: none; }
  .game-card,
  .game-card::after { transition: none; }
  .game-card:hover,
  .game-card.is-pressed { transform: none; }
}

/* Ilustrações dos cartões: proporção comum sem os antigos enfeites sobrepostos. */
.game-card > .card-art.card-art-image { height: auto; aspect-ratio: 16 / 9; background: var(--tint); }
.game-card > .card-art.card-art-image::before { display: none; }
.game-card > .card-art.card-art-image > img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }

/* Integrações do portal, restritas à vitrine e às referências pedagógicas. */
.bncc-referencias { margin-top: 22px; line-height: 1.65; }
.bncc-referencias summary { cursor: pointer; font-weight: 900; color: var(--green); }
.bncc-referencias p { margin-top: 14px; }
.bncc-referencias ul { padding-left: 22px; margin-top: 14px; }
.bncc-referencias li + li { margin-top: 12px; }
.bncc-referencias a { color: var(--green); text-decoration: underline; }
.portal-vitrine { padding: 28px; background: #fffaf0; border: 1px solid #e7dfce; border-radius: 22px; box-shadow: 0 5px 0 #e8e5da; }
.portal-vitrine > h2 { color: #203e38; }
.portal-vitrine > p { margin: 10px 0 20px; color: #465b54; }
.portal-vitrine .carousel-jogos { display: flex; gap: 18px; overflow-x: auto; padding: 5px 4px 16px; scroll-snap-type: x mandatory; }
.portal-vitrine .carousel-item { flex: 0 0 240px; scroll-snap-align: start; }
.portal-vitrine .card-jogo { background: white; border: 1px solid #e7e6dc; border-radius: 18px; overflow: hidden; height: 100%; box-shadow: 0 4px 0 #e8e5da; }
.portal-vitrine .card-thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: #e2eee3; overflow: hidden; }
.portal-vitrine .card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portal-vitrine .thumb-emoji { font-size: 3rem; }
.portal-vitrine .card-thumb.is-loaded .thumb-emoji { display: none; }
.portal-vitrine .card-header { padding: 4px 15px 18px; font: 800 1.15rem/1.25 var(--display); color: var(--ink); }
.portal-vitrine a:focus-visible { outline: 3px solid #e6b846; outline-offset: 2px; display: block; border-radius: 18px; }
@media (max-width: 700px) { .portal-vitrine .carousel-item { flex-basis: 210px; } .footer nav { flex-wrap: wrap; justify-content: center; } }

/* Toda a superfície do cartão abre o jogo. O botão mantém o acesso pelo teclado. */
.game-card { cursor:pointer; }

.description-list > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding-block: 18px;
  border-block-start: 1px solid #174e4226;
}

.description-list h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}

@media (max-width: 700px) {
  .description-list > article {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-block: 14px;
  }
}
