/* Hotsite da Arca de Noé. Molduras e botões usam os PNGs da interface do jogo. */
:root {
  --text: #3a2616;
  --muted: #85694b;
  --wood: #8a4f22;
  --ink: #3b2417;
  --cream: #fff4d6;
  --gold: #ffe9a8;
  --green: #3f7a33;
  --grass: #5e9e43;
  --parch: #fbe6bd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; color: var(--text); font: 17px/1.6 Nunito, system-ui, sans-serif; background: var(--ink); }
img { max-width: 100%; }
.px { image-rendering: pixelated; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: "Pixelify Sans", Nunito, sans-serif; line-height: 1.1; margin: 0 0 12px; }
h2 { font-size: clamp(28px, 4vw, 40px); color: var(--wood); }
h3 { font-size: 22px; }
p { margin: 0 0 12px; }
.center { text-align: center; }
.lead { font-size: 19px; }
.lead.center { max-width: 640px; margin: 0 auto 28px; }
.muted { color: var(--muted); font-size: 15px; }
.kicker { font: 700 14px/1 "Pixelify Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.kicker.dark { color: var(--wood); }
.title-center { text-align: center; }
.light-text { color: var(--cream); text-shadow: 0 3px 0 var(--ink); }

/* ---- peças da interface do jogo ---- */
.frame { border: 27px solid transparent; border-image: url("img/sprites/ui.frame.panel.png") 27 fill round; padding: 6px; }
.card { border: 12px solid transparent; border-image: url("img/sprites/ui.frame.card.png") 12 fill round; padding: 8px 10px; }
.slot { display: inline-grid; place-items: center; border: 6px solid transparent; border-image: url("img/sprites/ui.frame.slot.png") 6 fill stretch; }
.slot img { width: 72px; height: 72px; }
.slot.small img { width: 32px; height: 32px; }
.badge { display: inline-block; padding: 0 6px; margin-right: 4px; font: 700 14px/1.4 "Pixelify Sans", sans-serif; color: var(--ink); border: 6px solid transparent; border-image: url("img/sprites/ui.badge.png") 6 fill stretch; }
.btn { display: inline-block; padding: 4px 18px 7px; font: 700 18px/1.3 "Pixelify Sans", sans-serif; color: var(--cream); text-decoration: none; text-shadow: 0 2px 0 rgba(40, 20, 8, .5);
  border: 9px solid transparent; border-image: url("img/sprites/ui.btn.wood.normal.png") 9 fill stretch; transition: transform .1s; }
.btn:hover { border-image-source: url("img/sprites/ui.btn.wood.hover.png"); transform: translateY(-1px); }
.btn:active { border-image-source: url("img/sprites/ui.btn.wood.pressed.png"); transform: translateY(1px); }
.btn.primary { border-image-source: url("img/sprites/ui.btn.primary.normal.png"); }
.btn.primary:hover { border-image-source: url("img/sprites/ui.btn.primary.hover.png"); }
.btn.primary:active { border-image-source: url("img/sprites/ui.btn.primary.pressed.png"); }
.btn.gold { border-image-source: url("img/sprites/ui.btn.gold.normal.png"); }
.btn.gold:hover { border-image-source: url("img/sprites/ui.btn.gold.hover.png"); }
.btn.gold:active { border-image-source: url("img/sprites/ui.btn.gold.pressed.png"); }
.btn.small { font-size: 15px; padding: 1px 12px 4px; }

/* ---- topo ---- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(59, 36, 23, .92); border-bottom: 3px solid #c47a3a; backdrop-filter: blur(4px); }
.bar-inner { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font: 700 22px "Pixelify Sans", sans-serif; color: var(--gold); text-decoration: none; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { color: var(--cream); text-decoration: none; font-weight: 700; padding: 6px 10px; border-radius: 2px; }
.menu a:hover, .menu a.active { background: rgba(255, 233, 168, .15); color: var(--gold); }

/* ---- herói ---- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; min-height: 620px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; filter: saturate(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 22, 10, .85) 0%, rgba(40, 22, 10, .55) 45%, rgba(40, 22, 10, .15) 100%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(56px, 9vw, 104px); color: var(--gold); text-shadow: 4px 0 var(--ink), -4px 0 var(--ink), 0 4px var(--ink), 0 -4px var(--ink), 3px 3px var(--ink), -3px -3px var(--ink), 3px -3px var(--ink), -3px 3px var(--ink), 0 10px 0 rgba(20, 10, 4, .45); margin-bottom: 16px; }
.tagline { font: 700 26px/1.3 "Pixelify Sans", sans-serif; color: var(--cream); text-shadow: 0 2px 0 var(--ink); }
.sub { color: #f3e2c2; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-shot img { display: block; width: 100%; image-rendering: pixelated; }
.walkers { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; z-index: 2; pointer-events: none; }
.walker { position: absolute; left: -100px; width: auto; height: 60px; animation: walk linear forwards; }
@keyframes walk { to { left: 105%; } }

/* ---- faixas ---- */
.band { padding: 72px 0; background: var(--grass) url("img/sprites/tile.grass.0.png"); background-size: 48px; image-rendering: pixelated; }
.band.light { background: #f3dcae; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.story h2 { font-size: 30px; }
blockquote { margin: 16px 0 0; padding: 10px 16px; border-left: 6px solid #d49c28; background: rgba(255, 244, 214, .6); font-style: italic; }
cite { display: block; font-style: normal; font-weight: 700; color: var(--wood); font-size: 14px; }
.ark-stages { text-align: center; }
.ark-img { width: 100%; max-width: 380px; height: 260px; object-fit: contain; object-position: bottom; }
.pips { display: flex; justify-content: center; gap: 6px; margin: 12px 0; flex-wrap: wrap; }
.pip { width: 40px; height: 36px; font: 700 15px "Pixelify Sans", sans-serif; color: var(--muted); cursor: pointer; background: none;
  border: 6px solid transparent; border-image: url("img/sprites/ui.frame.slot.png") 6 fill stretch; }
.pip.on { color: var(--ink); border-image-source: url("img/sprites/ui.badge.png"); }

/* ---- como jogar ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding-top: 18px; }
.step .n { position: absolute; top: -26px; left: 6px; width: 40px; height: 40px; display: grid; place-items: center; font: 700 20px "Pixelify Sans", sans-serif; color: var(--ink);
  border: 6px solid transparent; border-image: url("img/sprites/ui.badge.png") 6 fill stretch; }
.step .icons { display: flex; gap: 6px; margin-bottom: 10px; }
.step .icons img { width: 40px; height: 40px; }
.step h3 { color: var(--wood); }
.step p { font-size: 15px; margin: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.feature { display: flex; gap: 10px; align-items: center; }
.feature img { width: 40px; height: 40px; flex: none; }
.feature b { display: block; color: var(--wood); }
.feature span { font-size: 14px; color: var(--muted); }

/* ---- regiões ---- */
.regions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.region .shot { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: pixelated; border: 3px solid var(--ink); margin-bottom: 12px; }
.region-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.region-head h3 { margin: 0; color: var(--wood); }
.stars { color: #c8922a; font-size: 20px; white-space: nowrap; }
.mats { display: flex; gap: 6px; margin-bottom: 8px; }

/* ---- família ---- */
.people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.person { text-align: center; }
.person h3 { margin: 8px 0 4px; color: var(--wood); }
.person p { font-size: 14px; margin: 0; color: var(--muted); }

/* ---- galeria ---- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery .wide { grid-column: span 2; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; image-rendering: pixelated; }
.gallery figcaption { font-size: 15px; color: var(--muted); padding-top: 6px; }
.phones { display: flex; justify-content: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.phone { margin: 0; padding: 12px 22px; background: #1d1611; border-radius: 26px; box-shadow: 0 8px 0 rgba(0, 0, 0, .3), inset 0 0 0 3px #4a3a2e; max-width: 520px; }
.phone img { display: block; border-radius: 8px; image-rendering: pixelated; }

/* ---- plataformas ---- */
#plataformas .two { grid-template-columns: 1fr 1fr; }
.keys { list-style: none; padding: 0; margin: 0 0 8px; }
.keys li { margin-bottom: 8px; }
.made { margin-top: 28px; }

.footer { background: var(--ink); color: var(--cream); padding: 36px 0; text-align: center; }
.footer cite { color: var(--gold); }
.muted-light { color: #b89c7a; font-size: 14px; margin-top: 12px; }

@media (max-width: 900px) {
  .hero-inner, .two, #plataformas .two { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
  .menu { display: none; }
  .bar-inner .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 90px; }
  .steps, .features, .regions, .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .frame { border-width: 18px; }
  .step { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* logo, final e marca WRO */
.hero h1.logo { margin: 4px 0 18px; text-shadow: none; }
.hero h1.logo img { display: block; width: min(100%, 516px); height: auto; filter: drop-shadow(0 6px 0 rgba(20, 10, 4, .45)); }
.band.dark { background: #1d2a38 linear-gradient(#2a3442, #1d2a38); }
.final-text p { color: #e6dccb; }
.final-text .kicker { color: var(--gold); }
#final .shot { display: block; width: 100%; image-rendering: pixelated; }
.footer .wro img { display: block; margin: 16px auto 4px; image-rendering: pixelated; }

/* política de privacidade */
.policy-band { padding: 104px 0 56px; min-height: 70vh; }
.policy { max-width: 880px; }
.policy h1 { font-size: clamp(30px, 5vw, 44px); color: var(--wood); }
.policy h2 { font-size: 24px; margin-top: 26px; }
.policy ul { margin: 0 0 14px; padding-left: 22px; }
.policy li { margin-bottom: 6px; }
.policy a { color: var(--green); font-weight: 600; }
.policy-summary { margin: 18px 0 8px; }
.policy-summary h2 { margin-top: 0; }
.policy-back { margin-top: 28px; text-align: center; }
.footer a { color: var(--gold); }
.policy a.btn { color: var(--cream); }
.policy .kicker { color: var(--wood); }
