/* ==========================================================================
   Pantanal — Mundus Novus
   Layout no estilo da página do GTA VI (colagem que se abre na rolagem,
   manchetes enormes, cards de imagem) com a marca Pantanal: neo-medieval,
   faroeste realista, vermelho #ef0707, Anton + Grenze Gotisch + Roboto.
   ========================================================================== */

:root {
  --ink: #0d0e10;
  --ink-2: #131417;
  --ink-3: #1a1b1f;
  --stage: #09090b;
  --paper: #f2f0ec;
  --paper-2: #e2ddd2;
  --line: rgba(242, 240, 236, .09);
  --line-2: rgba(242, 240, 236, .18);

  --text: #ebe7df;
  --muted: #aaa498;
  --dim: #7a756c;

  --red: #ef0707;
  --red-bright: #ff463a;
  --red-deep: #7a1410;
  --ember: #f0883c;

  --grad-red: linear-gradient(180deg, #ef0707 0%, #b30d0a 100%);

  --radius: 10px;
  --radius-lg: 18px;
  --font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-gothic: "Grenze Gotisch", "Old English Text MT", Georgia, serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Roboto Condensed", "Arial Narrow", sans-serif;
  --container: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--ink);
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* granulado de película */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprite symbol, svg use { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

code, kbd {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .88em;
}
kbd {
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .35);
}

.container { width: min(100% - 2 * var(--pad), var(--container)); margin-inline: auto; }
.section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }

.eyebrow {
  margin: 0 0 22px;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.1;
  color: var(--red-bright);
}

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--paper);
}
.section-lead { margin: 0; max-width: 60ch; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); }

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .8rem;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
}

.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red-bright);
  text-decoration: none;
  transition: color .2s;
}
.link:hover { color: var(--paper); }
.link svg { width: 16px; height: 16px; }

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h);
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(239, 7, 7, .75); }
.btn--primary:hover { background: var(--red-bright); box-shadow: 0 18px 36px -14px rgba(255, 70, 58, .8); }
.btn--ghost {
  background: rgba(13, 14, 16, .45);
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(242, 240, 236, .1); }
.btn--light { background: var(--paper); color: var(--ink); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .92rem; }
.btn--lg { --h: 58px; padding: 0 32px; font-size: 1.1rem; }

/* ---------- Topo ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--header-h);
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  transition: background-color .35s, box-shadow .35s;
}
.topbar::before {
  content: "";
  position: absolute; inset: 0 0 -30px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(9, 9, 11, .7), transparent);
  pointer-events: none;
  transition: opacity .35s;
}
.topbar.is-solid {
  background: rgba(13, 14, 16, .97);
  box-shadow: 0 1px 0 var(--line);
}
.topbar.is-solid::before { opacity: 0; }

.brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: auto; height: 42px; }
.brand__tag {
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--paper-2);
}

.announce {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px;
  padding: 0 18px 0 6px;
  border-radius: 999px;
  background: rgba(13, 14, 16, .6);
  box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s;
}
.announce:hover { background: rgba(242, 240, 236, .1); }
.announce__thumb { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.announce strong {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.topbar__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }

.menu-btn {
  width: 46px; height: 46px;
  display: grid; place-content: center; gap: 5px;
  border: 0; border-radius: 50%;
  background: rgba(13, 14, 16, .5);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background-color .2s;
}
.menu-btn:hover { background: rgba(242, 240, 236, .14); }
.menu-btn i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn--close i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn--close i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .announce { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
}
@media (max-width: 560px) {
  .topbar .btn { display: none; }
  .brand__logo { height: 36px; }
  .brand__tag { display: none; }
}

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0;
  padding: 0 var(--pad) 32px;
  border: 0;
  color: var(--text);
  background:
    radial-gradient(80% 60% at 90% 0%, rgba(239, 7, 7, .28), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(240, 136, 60, .16), transparent 60%),
    var(--ink);
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.menu[open] { display: flex; animation: menu-in .35s var(--ease-out); }
.menu::backdrop { background: rgba(0, 0, 0, .5); }
@keyframes menu-in { from { opacity: 0; transform: scale(1.02); } }
.menu__top { flex: none; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu__links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 24px 0; }
.menu__links a {
  width: fit-content;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6.5vw, 4.8rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s, transform .25s var(--ease-out);
}
.menu__links a:hover { color: var(--red-bright); transform: translateX(10px); }
.menu__bottom { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Capa ---------- */
.hero { position: relative; height: 230vh; background: var(--stage); }
.hero__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--stage);
}
.hero__glow {
  position: absolute; left: 50%; top: 44%; z-index: 0;
  width: 130vmax; height: 130vmax;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 136, 60, .9), rgba(239, 7, 7, .5) 30%, rgba(122, 20, 16, .28) 55%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}
.collage {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: max(100vw, 177.78vh);
  aspect-ratio: 16 / 9;
  translate: -50% -50%;
}
.panel {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  clip-path: var(--clip, none);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.panel__inner { position: absolute; inset: 0; overflow: hidden; background: #1b1c20; }
.js .panel__inner { animation: panel-in 1s var(--ease-out) backwards; animation-delay: calc(var(--i) * 50ms); }
@keyframes panel-in { from { opacity: 0; transform: scale(1.14); } }

.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(50% 46% at 50% 42%, rgba(9, 9, 11, .55), transparent 72%),
    linear-gradient(to top, rgba(9, 9, 11, .96) 0%, rgba(9, 9, 11, .6) 22%, transparent 46%),
    linear-gradient(to bottom, rgba(9, 9, 11, .55), transparent 18%);
}

.hero__logo {
  position: absolute; left: 50%; top: 40%; z-index: 3;
  width: clamp(230px, min(34vw, 56vh), 600px);
  margin: 0;
  translate: -50% -50%;
  will-change: transform, opacity;
}
.hero__logo::before {
  content: "";
  position: absolute; inset: 6% 2%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(9, 9, 11, .6);
  filter: blur(46px);
}
.hero__logo img { width: 100%; height: auto; }
.js .hero__logo { animation: logo-in .9s var(--ease-out) .1s backwards; }
@keyframes logo-in { from { opacity: 0; scale: .86; } }

.hero__meta {
  position: absolute; left: 0; right: 0; z-index: 4;
  bottom: clamp(22px, 5vh, 56px);
  padding: 0 var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.hero__kicker {
  margin: 0;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  color: var(--paper);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .8);
}
.hero__sub {
  margin: 0 0 6px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: clamp(.8rem, 1.1vw, .95rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.hero__sub span { color: var(--red-bright); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.live {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500; font-size: .95rem;
  background: rgba(13, 14, 16, .65);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.live--inline { align-self: flex-start; }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: #3ef08a; animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 240, 138, .6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(62, 240, 138, 0); }
}

.scroll-hint {
  position: absolute; right: var(--pad); z-index: 4;
  bottom: clamp(22px, 5vh, 56px);
  display: flex; align-items: center; gap: 12px;
  writing-mode: vertical-rl;
  font-family: var(--font-label);
  font-weight: 700; font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.scroll-hint i { width: 2px; height: 52px; background: linear-gradient(var(--red), transparent); animation: drip 1.8s var(--ease-out) infinite; }
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-aspect-ratio: 1/1) {
  .collage { width: max(100vw, 56.25vh); aspect-ratio: 9 / 16; }
  .panel {
    left: calc(var(--mx) * 1%);
    top: calc(var(--my) * 1%);
    width: calc(var(--mw) * 1%);
    height: calc(var(--mh) * 1%);
    clip-path: none;
  }
  .hero__logo { top: 38%; width: min(74vw, 440px); }
}
@media (max-width: 760px) {
  .scroll-hint { display: none; }
  .hero__ctas .btn { --h: 48px; padding: 0 20px; font-size: .95rem; }
}

.hero.is-static { height: auto; }
.hero.is-static .hero__stage { position: relative; }

/* ---------- Faixa rolante ---------- */
.marquee-wrap { position: relative; z-index: 5; overflow: hidden; padding: 26px 0; margin: -26px 0; }
.marquee {
  transform: rotate(-1.4deg);
  margin: 0 -3vw;
  padding: 13px 0;
  background: var(--red);
  color: #fff;
  box-shadow: 0 20px 40px -20px rgba(239, 7, 7, .6);
}
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.marquee__track span::after { content: "✠"; font-size: .7em; opacity: .85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- O mundo ---------- */
.intro {
  position: relative;
  padding: clamp(110px, 15vw, 210px) 0 clamp(80px, 10vw, 140px);
  text-align: center;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(239, 7, 7, .16), transparent 70%),
    var(--ink);
}
.intro__title {
  max-width: 13ch;
  margin: 0 auto 30px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8.6vw, 8rem);
  line-height: .92;
  text-transform: uppercase;
  color: var(--paper);
}
.intro__title em { font-style: normal; color: var(--red); }
.intro__text { max-width: 62ch; margin: 0 auto; font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); }
.intro__punch {
  margin: 26px auto 0;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  color: var(--paper);
}
.lore-quote {
  max-width: 44ch;
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-top: 32px;
  border-top: 2px solid var(--red);
}
.lore-quote p {
  margin: 0 0 14px;
  font-family: var(--font-gothic);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.3;
  color: var(--paper-2);
}
.lore-quote footer {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Destaque ---------- */
.feature {
  position: relative;
  min-height: min(96vh, 940px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.feature__art { position: absolute; inset: -10% 0 -4%; z-index: -2; will-change: transform; }
.feature::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 3%, rgba(13, 14, 16, .7) 30%, transparent 62%),
    linear-gradient(90deg, rgba(13, 14, 16, .75) 0%, transparent 55%),
    linear-gradient(to bottom, var(--ink), transparent 20%);
}
.feature__content { padding-bottom: clamp(130px, 14vw, 200px); }
.feature__title {
  max-width: 12ch;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: .93;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
.feature__text { max-width: 46ch; margin: 0 0 28px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--paper-2); }

.quotes {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(-100px, -7vw, -60px);
}
.quote-card {
  display: grid; grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line);
}
.quote-card__art { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.quote-card__art > * { transition: transform .8s var(--ease-out); }
.quote-card:hover .quote-card__art > * { transform: scale(1.05); }
.quote-card__body { padding: 24px 28px 28px; }
.quote-card q {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-gothic);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  line-height: 1.3;
  color: var(--paper);
  quotes: "“" "”";
}
.quote-card h3 {
  margin: 0;
  font-family: var(--font-label);
  font-weight: 700; font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-bright);
}

/* ---------- Os três poderes ---------- */
.powers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.power {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 26px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.power::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--red);
}
.power__crest {
  width: 58px; height: 58px;
  padding: 13px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--red-bright);
  box-shadow: inset 0 0 0 1.5px rgba(255, 70, 58, .55);
}
.power__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.power__seat {
  margin: 8px 0 20px;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--red-bright);
}
.power__facts { margin: 0; display: grid; gap: 12px; }
.power__facts div { padding-top: 12px; border-top: 1px solid var(--line); }
.power__facts dt {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.power__facts dd { margin: 2px 0 0; color: var(--text); }
.power__text { margin: 0 0 12px; color: rgba(255, 255, 255, .88); }
.power__text--strong { margin-top: auto; font-family: var(--font-gothic); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: #fff; }
.power--you { background: linear-gradient(170deg, #c10606 0%, var(--red-deep) 100%); box-shadow: 0 30px 60px -30px rgba(239, 7, 7, .6); }
.power--you::before { background: rgba(255, 255, 255, .35); }
.power--you .power__crest { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.power--you .power__seat { color: #fff; opacity: .9; }

/* ---------- A jornada ---------- */
.journey { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.phases {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.phase {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.phase__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.phase__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-3), transparent 55%); }
.phase__art img { transition: transform .9s var(--ease-out); }
.phase:hover .phase__art img { transform: scale(1.06); }
.phase__n {
  position: relative; z-index: 1;
  margin: -34px 22px 0;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.phase h3 {
  margin: 8px 22px 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--paper);
}
.phase p { margin: 0 22px 24px; font-size: .98rem; color: var(--muted); }
.phase--parallel { background: transparent; box-shadow: inset 0 0 0 2px rgba(239, 7, 7, .55); }
.phase--parallel a {
  display: flex; flex-direction: column; justify-content: center;
  height: 100%;
  padding: 28px 0;
  text-decoration: none;
  transition: background-color .25s;
}
.phase--parallel a:hover { background: rgba(239, 7, 7, .08); }
.phase--parallel .phase__n { margin-top: 0; }
.phase__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 22px;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.phase__more svg { width: 18px; height: 18px; }

/* ---------- Sobrevivência ---------- */
.survival { overflow: hidden; isolation: isolate; }
.survival__bg { position: absolute; inset: 0; z-index: -2; opacity: .5; }
.survival::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--ink-2) 0%, rgba(13, 14, 16, 0) 25%, rgba(13, 14, 16, 0) 75%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(13, 14, 16, .9) 45%, rgba(13, 14, 16, .75) 100%);
}
.survival__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.needs li {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
}
.needs svg {
  grid-row: span 2;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 50%;
  color: var(--red-bright);
  background: rgba(239, 7, 7, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 70, 58, .4);
}
.needs strong {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper);
}
.needs span { font-size: .95rem; line-height: 1.4; color: var(--muted); }

.rules {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.rules__title {
  margin: 0 0 8px;
  font-family: var(--font-gothic);
  font-weight: 900;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--ink);
}
.rule { border-bottom: 1px solid #d9d5cc; }
.rule:last-child { border-bottom: 0; }
.rule summary {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s;
}
.rule summary::-webkit-details-marker { display: none; }
.rule summary:hover { color: var(--red); }
.rule summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-left: auto;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .25s var(--ease-out);
}
.rule[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.rule__n { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0; color: var(--red); }
.rule p { margin: 0 0 18px; padding-left: calc(14px + 2.2ch); color: #4e4c47; }
.rule code { color: var(--red-deep); }

/* ---------- A fazenda ---------- */
.farm { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.cores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.core { display: flex; flex-direction: column; align-items: flex-start; }
.core__art {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.core__art img { transition: transform .9s var(--ease-out); }
.core:hover .core__art img { transform: scale(1.05); }
.core h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.core p { margin: 0 0 14px; color: var(--muted); }
.core code {
  margin-top: auto;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(239, 7, 7, .12);
  color: var(--red-bright);
  box-shadow: inset 0 0 0 1px rgba(255, 70, 58, .35);
}

.loop {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.loop__title {
  margin: 0 0 18px;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--red-bright);
}
.loop__steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  counter-reset: loop;
}
.loop__steps li {
  position: relative;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.loop__steps li::after {
  content: "→";
  position: absolute; right: -27px; top: 50%;
  translate: 0 -50%;
  font-size: 1.4rem;
  color: var(--red);
}
.loop__steps li:last-child::after { content: "↺"; }
.loop__steps strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--paper);
}
.loop__steps span { font-size: .92rem; color: var(--muted); }

.stats {
  list-style: none;
  margin: clamp(40px, 6vw, 64px) 0;
  padding: clamp(26px, 3vw, 36px) 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--red);
}
.stats span {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.duo__card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.duo__art { position: relative; min-height: 240px; }
.duo__body { padding: clamp(20px, 2.4vw, 30px); }
.duo__body h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.duo__body p { margin: 0; color: var(--muted); }
.duo__body strong { color: var(--paper-2); }

/* ---------- Módulos ---------- */
.modules__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.mod-card {
  position: relative;
  min-height: 380px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mod-card__art { position: absolute; inset: 0 0 26%; z-index: -2; -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
.mod-card__art img { transition: transform .9s var(--ease-out); }
.mod-card:hover .mod-card__art img { transform: scale(1.06); }
.mod-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(13, 14, 16, .98) 8%, rgba(13, 14, 16, .55) 40%, transparent 68%);
}
.mod-card__body { padding: 22px; }
.mod-card h3 {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.mod-card__body > h3:first-child { margin-top: 0; }
.mod-card p { margin: 0; font-size: .96rem; color: #cdc7bb; }

/* ---------- Economia ---------- */
.economy { background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%); }
.economy__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(32px, 5vw, 56px); }
.economy__top .section-head { margin-bottom: 0; }
.economy__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line); }
.flow {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.flow li {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.flow li:not(:last-child)::after {
  content: "→";
  position: absolute; right: -31px; top: 50%;
  translate: 0 -50%;
  font-size: 1.6rem;
  color: var(--red);
}
.flow__n {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.flow h3 {
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.flow p { margin: 0; color: var(--muted); }
.states__title {
  margin: clamp(48px, 6vw, 72px) 0 20px;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--paper);
}
.states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.states li {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  border-top: 3px solid var(--red);
}
.states strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--paper);
}
.states__kind { font-family: var(--font-gothic); font-weight: 700; font-size: 1.15rem; color: var(--red-bright); }
.states p { margin: 8px 0 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.states__note { max-width: 70ch; margin: 22px 0 0; color: var(--dim); }

/* ---------- Dominium ---------- */
.dominium { overflow: hidden; isolation: isolate; }
.dominium__bg { position: absolute; inset: 0; z-index: -2; }
.dominium::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(13, 14, 16, 0) 20%, rgba(13, 14, 16, 0) 80%, var(--ink) 100%),
    linear-gradient(100deg, rgba(13, 14, 16, .97) 25%, rgba(60, 8, 6, .82) 70%, rgba(122, 20, 16, .7) 100%);
}
.dom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.dom-item {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: rgba(13, 14, 16, .8);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.dom-item svg { width: 40px; height: 40px; margin-bottom: 16px; color: var(--red-bright); }
.dom-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.dom-item p { margin: 0; font-size: .97rem; color: #cfc9bd; }
.pieces {
  list-style: none;
  max-width: 780px;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pieces li, .pieces__link a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(13, 14, 16, .6);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.pieces__link { padding: 0 !important; background: none !important; box-shadow: none !important; }
.pieces__link a { height: 100%; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--red); transition: background-color .2s; }
.pieces__link a:hover { background: rgba(239, 7, 7, .18); }
.pieces span { font-family: var(--font-gothic); font-weight: 700; font-size: 1.15rem; line-height: 1.1; color: var(--red-bright); }
.pieces strong { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1; text-transform: uppercase; color: var(--paper); }

.banner-block {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: rgba(13, 14, 16, .82);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.banner-block h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.banner-block p { margin: 0; color: #cfc9bd; }
.banner-block__facts { margin: 0; display: grid; gap: 10px; }
.banner-block__facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.banner-block__facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.banner-block__facts dt {
  padding-top: 3px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.banner-block__facts dd { margin: 0; color: var(--paper-2); }

.dominium__note { max-width: 72ch; margin: clamp(28px, 4vw, 44px) 0 0; color: var(--paper-2); }

/* ---------- O Senado (mesmo padrão escuro do Dominium) ---------- */
.senate { overflow: hidden; isolation: isolate; }
.senate__bg { position: absolute; inset: 0; z-index: -2; opacity: .8; }
.senate::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(13, 14, 16, 0) 16%, rgba(13, 14, 16, 0) 84%, var(--ink) 100%),
    radial-gradient(60% 40% at 80% 32%, rgba(239, 7, 7, .16), transparent 70%),
    linear-gradient(rgba(13, 14, 16, .62), rgba(13, 14, 16, .86));
}

.succession {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: rgba(13, 14, 16, .84);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.succession__kicker {
  margin: 0 0 6px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.succession h3 {
  margin: 0 0 14px;
  font-family: var(--font-gothic);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--paper);
}
.succession__story > p { margin: 0 0 14px; color: #cfc9bd; }
.succession blockquote { margin: 22px 0 0; padding-left: 18px; border-left: 3px solid var(--red); }
.succession blockquote p { margin: 0 0 6px; font-family: var(--font-gothic); font-weight: 700; font-size: 1.7rem; line-height: 1.15; color: var(--paper); }
.succession blockquote footer {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.heirs { display: grid; gap: 14px; align-content: center; }
.heir {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--ink-3);
  border-top: 3px solid var(--red);
  box-shadow: inset 0 0 0 1px var(--line);
}
.heir .heir__role { margin: 0 0 8px; font-family: var(--font-gothic); font-weight: 700; font-size: 1.25rem; line-height: 1.1; color: var(--red-bright); }
.heir h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.heir p { margin: 0; font-size: .97rem; color: var(--muted); }

.senate__subtitle {
  margin: clamp(48px, 6vw, 72px) 0 10px;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: var(--paper);
}
.senate__lead { max-width: 66ch; margin: 0 0 22px; color: var(--muted); }
.flow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow--4 h3 { font-size: 1.45rem; }
.senate__oil {
  max-width: 84ch;
  margin: 22px 0 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: rgba(239, 7, 7, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 70, 58, .35);
  color: var(--paper-2);
}
.senate__oil strong { color: #fff; }
.senate__note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: clamp(28px, 4vw, 44px) 0 0; color: var(--paper-2); }
.senate__note strong { color: #fff; }
.dominium__note strong { color: #fff; }
.dominium__note code { padding: 2px 8px; border-radius: 6px; background: rgba(239, 7, 7, .2); color: #fff; }

/* ---------- Como jogar ---------- */
.join { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.step {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 28px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(242, 240, 236, .06), rgba(242, 240, 236, .02));
  box-shadow: inset 0 0 0 1px var(--line);
}
.step__n { font-family: var(--font-display); font-size: 4rem; line-height: .85; color: var(--red); }
.step h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--paper);
}
.step p { margin: 0; color: var(--muted); }
.step .link { margin-top: auto; padding-top: 8px; }
.connect {
  display: flex; align-items: center; gap: 8px;
  margin-top: auto;
  padding: 8px 8px 8px 16px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .45);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.connect code {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .95rem;
  color: var(--paper-2);
}
.connect__copy {
  flex: none;
  height: 38px; padding: 0 14px;
  border: 0; border-radius: 8px;
  background: var(--red); color: #fff;
  font-family: var(--font-label);
  font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s;
}
.connect__copy:hover { background: var(--red-bright); }

.starter { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(14px, 2vw, 24px); }
.starter__card {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.starter__art { position: relative; min-height: 260px; }
.starter__body { padding: clamp(22px, 2.6vw, 32px); }
.starter h3, .commands h3 {
  margin: 0 0 14px;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--paper);
}
.starter ol { margin: 0; padding-left: 1.3em; color: var(--muted); }
.starter li { margin-bottom: 8px; padding-left: 4px; }
.starter li::marker { color: var(--red-bright); font-family: var(--font-display); }
.starter strong { color: var(--paper); }
.commands {
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
.commands dl { margin: 0; display: grid; gap: 8px; }
.commands dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.commands dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.commands dt code { color: var(--red-bright); }
.commands dd { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Recursos ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.res-card {
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.res-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--red); }
.res-card__kicker {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.res-card h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--paper);
}
.res-card p { margin: 0 0 20px; color: var(--muted); }
.res-card__go {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper);
}
.res-card__go svg { width: 16px; height: 16px; color: var(--red-bright); }

/* ---------- Comunidade ---------- */
.community { padding-top: clamp(20px, 4vw, 60px); }
.community__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 7vw, 96px) clamp(22px, 5vw, 72px);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(90% 80% at 50% 120%, rgba(240, 136, 60, .45), transparent 60%),
    linear-gradient(170deg, #c10606 0%, var(--red-deep) 60%, #3a0907 100%);
  box-shadow: 0 50px 90px -50px rgba(239, 7, 7, .7);
}
.community__logo { width: clamp(150px, 20vw, 230px); height: auto; margin: 0 auto 24px; }
.community__title {
  margin: 0 auto 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: .92;
  text-transform: uppercase;
  color: #fff;
}
.community__text {
  max-width: 34ch;
  margin: 0 auto 32px;
  font-family: var(--font-gothic);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  color: #fff;
  opacity: .92;
}
.community__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.community .btn--ghost { background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.community__stats { margin: 20px 0 0; font-weight: 700; color: #fff; }

/* ---------- Rodapé ---------- */
.footer { padding: clamp(56px, 8vw, 96px) 0 44px; border-top: 1px solid var(--line); background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px 48px; }
.footer__brand { justify-self: start; display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.footer__brand img { width: auto; height: 64px; }
.footer__brand span { font-family: var(--font-gothic); font-weight: 700; font-size: 1.5rem; color: var(--paper-2); }
.footer__social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.footer__social a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(242, 240, 236, .06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .2s, transform .2s var(--ease-out), color .2s;
}
.footer__social a:hover { background: rgba(239, 7, 7, .2); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 22px; height: 22px; }
.footer__social svg use, .footer__social svg path { stroke: none; }
.footer__social a[aria-label="Instagram"] svg rect,
.footer__social a[aria-label="Instagram"] svg circle { stroke: currentColor; }
.footer__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__nav a { font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer__nav a:hover { color: var(--paper); }
.footer__legal { grid-column: 1 / -1; max-width: 86ch; margin: 0; font-size: .9rem; color: var(--dim); }

/* ---------- Vídeo ---------- */
.video-modal {
  width: min(1100px, 92vw);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: visible;
  background: #000;
}
.video-modal::backdrop { background: rgba(5, 5, 6, .88); backdrop-filter: blur(6px); }
.video-modal__frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; top: -56px; right: 0;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff; font-size: 28px; line-height: 1;
  cursor: pointer;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .powers__grid, .phases, .modules__grid, .dom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .states { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loop__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop__steps li:nth-child(2)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -30px; translate: -50% 0; }
  .loop__steps li:nth-child(3)::after { content: "←"; right: auto; left: -27px; }
  .loop__steps li:nth-child(3) { order: 4; }
  .loop__steps li:nth-child(4) { order: 3; }
  .loop__steps li:nth-child(4)::after { content: "↑"; right: auto; left: 50%; top: -30px; translate: -50% 0; }
}
@media (max-width: 900px) {
  .survival__grid, .economy__top, .starter, .duo, .banner-block, .succession { grid-template-columns: minmax(0, 1fr); }
  .steps, .res-grid, .cores, .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -34px; translate: -50% 0; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .powers__grid, .phases, .modules__grid, .dom-grid, .needs, .pieces { grid-template-columns: minmax(0, 1fr); }
  .banner-block__facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .states, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .starter__card, .duo__card { grid-template-columns: minmax(0, 1fr); }
  .starter__art, .duo__art { min-height: 180px; }
  .mod-card { min-height: 320px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__social { justify-content: flex-start; }
  .commands dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .panel__inner, .js .hero__logo { animation: none; }
  .marquee__track, .scroll-hint i, .live__dot { animation: none; }
  .quote-card:hover .quote-card__art > *,
  .phase:hover .phase__art img,
  .core:hover .core__art img,
  .mod-card:hover .mod-card__art img { transform: none; }
}
