/* Site do Prancheta: apresentação, download, novidades, aviso legal e apoio. Mesmas cores e letras do jogo. */
:root {
  --bg: #0b1609;
  --bg2: #10200d;
  --panel: #142812;
  --line: rgba(255, 255, 255, .1);
  --ink: #eef5ea;
  --muted: #a9bea3;
  --accent: #ffd54a;
  --accent-ink: #1d1600;
  --green: #2fa24a;
  --green2: #1f7a36;
  --f-display: 'Saira Stencil One', 'Saira Condensed', Impact, sans-serif;
  --f-head: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ffe68a; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .86em; background: rgba(255, 255, 255, .07); padding: .1em .4em; border-radius: 5px; overflow-wrap: anywhere; }
b { font-weight: 700; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 12px; border: 0; background: linear-gradient(180deg, #3cb85a, var(--green2)); color: #fff; font: 700 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(31, 122, 54, .35), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .15s, filter .15s; }
.btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-lg { padding: 14px 22px; font-size: 1.12rem; display: inline-grid; grid-template-columns: auto 1fr; column-gap: 12px; text-align: left; }
.btn-lg svg { grid-row: span 2; align-self: center; }
.btn-lg small { font: 500 .78rem/1.3 var(--f-body); opacity: .85; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.link { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Topo */
.top { position: sticky; top: 0; z-index: 20; background: rgba(9, 18, 7, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 400 1.5rem/1 var(--f-display); letter-spacing: .02em; }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font: 700 1rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }

/* Abertura */
.hero { position: relative; overflow: hidden; padding: 64px 0 56px;
  background:
    radial-gradient(900px 500px at 78% 20%, rgba(255, 213, 74, .13), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(47, 162, 74, .25), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 70px, transparent 70px 140px),
    linear-gradient(180deg, #0f2a0f, var(--bg)); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font: 800 .9rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .14em; }
h1, h2, h3 { margin: 0; }
.hero h1 { font: 400 clamp(2.4rem, 4.6vw, 3.7rem)/1 var(--f-display); letter-spacing: .01em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.15rem; color: #d3e2cd; margin: 18px 0 26px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.hero-shot { margin: 0; }
.new-strip { display: block; margin-top: 22px; padding: 14px 16px; border-radius: 12px; text-decoration: none; color: var(--ink); background: rgba(255, 213, 74, .08); border: 1px solid rgba(255, 213, 74, .35); border-left: 4px solid var(--accent); transition: background .2s, border-color .2s; max-width: 34em; }
.new-strip:hover { background: rgba(255, 213, 74, .14); border-color: rgba(255, 213, 74, .6); }
.new-strip b { display: block; color: var(--accent); font: 800 .82rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .1em; }
.new-strip span { display: block; margin-top: 6px; font-weight: 700; }
.new-strip ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.new-strip li { font-size: .82rem; color: #d7e6d1; background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 3px 10px; }
.frame { position: relative; border-radius: 14px; padding: 28px 8px 8px; background: #0a1208; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .03); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.frame img { border-radius: 8px; }
.dots { position: absolute; top: 10px; left: 12px; display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a4a36; }
.dots i:first-child { background: #e0544a; }
.dots i:nth-child(2) { background: #e8b53a; }
.dots i:last-child { background: #3fb15b; }

/* Números */
.numbers { background: linear-gradient(90deg, #1b4a1f, #155a2a, #1b4a1f); border-block: 1px solid rgba(255, 255, 255, .12); }
.numbers-in { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 18px 0; text-align: center; }
.numbers b { display: block; font: 400 1.7rem/1.1 var(--f-display); color: #fff; }
.numbers span { color: #cfe6c6; font-size: .88rem; }

/* Seções */
.section { padding: 84px 0; }
.section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head h2, .phone-sec h2 { font: 800 clamp(1.9rem, 4vw, 2.7rem)/1.08 var(--f-head); text-transform: uppercase; }
.sec-head p:not(.eyebrow) { color: #cbdcc5; font-size: 1.08rem; margin: 14px 0 0; }

.feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; align-items: center; margin-top: 56px; }
.feature.rev .feature-img { order: 2; }
.feature h3 { font: 800 1.7rem/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 12px; }
.feature p { color: #cfdec9; margin: 0 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .38em; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.zoom { display: block; width: 100%; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; overflow: hidden; background: none; cursor: zoom-in; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); transition: transform .2s, border-color .2s; }
.zoom:hover { transform: translateY(-3px); border-color: rgba(255, 213, 74, .5); }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card h3 { font: 800 1.25rem/1.1 var(--f-head); text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.card p { margin: 0; color: #cbdcc5; font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.cards.modes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.modes .card { border-top: 3px solid var(--green); }
.cards.modes .card h3 { color: var(--ink); }

.phone-sec { background: radial-gradient(700px 400px at 30% 50%, rgba(47, 162, 74, .2), transparent 70%); }
.phone-in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: center; }
.phone { width: 300px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.phone-in p:not(.eyebrow) { color: #cfdec9; font-size: 1.1rem; max-width: 30em; }

/* Download */
.download { background: linear-gradient(180deg, #17361a, #12290f); border: 1px solid rgba(255, 213, 74, .3); border-radius: 18px; padding: 26px; }
.dl-main { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dl-main img { border-radius: 16px; }
.dl-main h3 { font: 800 1.8rem/1.1 var(--f-head); text-transform: uppercase; }
.dl-main p { margin: 4px 0 0; }
.dl-main .btn { margin-left: auto; }
.dl-other { margin: 16px 0 0; color: #cfdec9; }
.dl-legal { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.hash { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.hash summary { cursor: pointer; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.step h3 { font: 800 1.3rem/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 10px; }
.step ol { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }

/* Novidades */
.versions { display: grid; gap: 16px; }
.version { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.version header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 10px; }
.version h3 { font: 800 1.4rem/1.1 var(--f-head); text-transform: uppercase; }
.version .tag { background: var(--accent); color: var(--accent-ink); font: 800 .75rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; }
.version ul { margin: 0 0 12px; padding-left: 20px; color: #cfdec9; display: grid; gap: 4px; }
.version a { font-weight: 700; }
.older { display: grid; gap: 16px; }
.older > summary { cursor: pointer; list-style: none; justify-self: start; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--accent); font: 800 1rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.older > summary::-webkit-details-marker { display: none; }
.older > summary::after { content: ' +'; }
.older[open] > summary::after { content: ' –'; }
.howto { margin-top: 28px; padding: 20px 22px; border-radius: var(--r); border: 1px dashed rgba(255, 255, 255, .22); }
.howto h3 { font: 800 1.25rem/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 10px; }
.howto ol { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 6px; }

/* Perguntas */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+'; color: var(--accent); font: 800 1.2rem/1 var(--f-head); width: 14px; flex: none; }
.faq details[open] summary::before { content: '–'; }
.faq details[open] summary { color: var(--accent); }
.faq p { margin: 0 0 16px; color: #cfdec9; }

/* Aviso legal e apoio */
.legal-box { background: #1a1d10; border: 1px solid rgba(255, 213, 74, .35); border-left: 6px solid var(--accent); border-radius: var(--r); padding: 26px 28px; }
.legal-box h2 { font: 800 1.9rem/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 12px; }
.legal-box ul { padding-left: 20px; display: grid; gap: 6px; color: #ddd8bf; }
.legal-box p { color: #ece6c9; }
.support { padding: 34px 0 44px; }
.support-in { text-align: center; color: var(--muted); font-size: .9rem; }
.support-in p { margin: 0 0 4px; }
.support-in b { color: #cfdec9; font-weight: 600; }

.foot { border-top: 1px solid var(--line); background: #070f06; padding: 28px 0 36px; color: var(--muted); font-size: .9rem; }
.foot-in p { margin: 6px 0 0; }
.foot-brand { display: flex; align-items: center; gap: 8px; font: 400 1.2rem/1 var(--f-display); color: var(--ink); }
.foot-brand img { border-radius: 7px; }

/* Imagem ampliada e aviso */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: #f2f7ee; color: #102010; padding: 10px 16px; border-radius: 10px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.toast[hidden] { display: none; }

/* Página do aviso legal */
.page { padding: 48px 0 72px; }
.page h1 { font: 800 clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 18px; }
.page pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; font: .92rem/1.6 var(--f-body); color: #dfe9da; }

/* Telas menores */
@media (max-width: 980px) {
  .nav { display: none; }
  .top-in .btn { margin-left: auto; }
  .hero { padding-top: 40px; }
  .hero-in, .feature, .phone-in { grid-template-columns: 1fr; gap: 28px; }
  .feature.rev .feature-img { order: 0; }
  .frame { transform: none; }
  .cards, .cards.modes, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .numbers-in { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .phone { margin-inline: auto; width: 260px; }
  .dl-main .btn { margin-left: 0; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .cards, .cards.modes, .gallery { grid-template-columns: 1fr; }
  .numbers-in { grid-template-columns: repeat(2, 1fr); }
  .numbers b { font-size: 1.35rem; }
  .btn-lg { width: 100%; }
  .brand span { display: none; }
  .legal-box { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .zoom { transition: none; }
}
