:root {
  --basalto: #141210;
  --pedra: #191613;
  --painel: #1f1b16;
  --painel-2: #27221c;
  --fosso: #0d0b0a;
  --linha: #54493c;
  --linha-suave: rgba(190, 165, 130, .18);
  --marmore: #eae2d5;
  --marmore-2: #b5a896;
  --marmore-3: #8a7c6a;
  --ouro: #c5a059;
  --ouro-suave: #dfcba0;
  --purpura: #54182b;
  --terracota: #b85838;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Cinzel', Georgia, 'Times New Roman', serif;
  --serif: var(--font-heading);
  --mono: var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--basalto); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--marmore);
  background: var(--basalto);
  font: 400 15px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--basalto) url('assets/menu-background.png') center center / cover fixed no-repeat;
  padding-top: 80px;
}
.page-shell::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(16, 14, 12, .75) 0%, rgba(16, 14, 12, .32) 50%, rgba(16, 14, 12, .88) 100%), linear-gradient(180deg, rgba(20, 18, 15, .68) 0%, rgba(20, 18, 15, .14) 42%, rgba(20, 18, 15, .9) 100%); }
.page-shell::after { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.5) .5px, transparent .5px); background-size: 4px 4px; mix-blend-mode: soft-light; }

.topbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(19, 16, 14, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha-suave);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .55);
  transition: background .2s ease, box-shadow .2s ease;
}

.topbar, .hero, .gameplay-showcase, .command-panel, .community, footer { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.topbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.55)); }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: .82; text-transform: uppercase; letter-spacing: .08em; }
.brand strong { color: #f2e9dc; font-family: var(--font-heading); font-size: 19px; font-weight: 700; }
.brand em { margin-top: 4px; color: var(--terracota); font-family: var(--font-heading); font-size: 13px; font-style: normal; letter-spacing: .22em; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-picker { position: relative; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(187, 154, 106, .45);
  background: rgba(26, 21, 17, .85);
  color: var(--marmore);
  font: 600 12px/1 var(--font-body);
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, transform .16s ease;
}
.language-toggle:hover,
.language-toggle:focus-visible {
  color: #fff4db;
  border-color: var(--ouro);
  transform: translateY(-2px);
}
.language-flag { font-size: 17px; line-height: 1; }
.language-country { white-space: nowrap; }
.language-caret { margin-left: 2px; color: var(--ouro); font-size: 10px; }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 10;
  min-width: 170px;
  padding: 5px;
  border: 1px solid rgba(187, 154, 106, .55);
  background: rgba(19, 16, 14, .98);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .55);
}
.language-menu[hidden] { display: none; }
.language-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  color: var(--marmore);
  font: 600 12px/1 var(--font-body);
  text-align: left;
  cursor: pointer;
}
.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-checked='true'] {
  background: rgba(197, 160, 89, .14);
  color: #fff4db;
}

.topbar-nav-link,
.topbar-news-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 8px;
  color: var(--ouro);
  font: 600 13px/1 var(--font-body);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .16s ease, transform .16s ease;
}
.topbar-nav-link:hover,
.topbar-nav-link:focus-visible,
.topbar-news-link:hover,
.topbar-news-link:focus-visible {
  color: #fff4db;
  transform: translateY(-2px);
}

.topbar-summary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 162, 39, .55);
  background: linear-gradient(180deg, rgba(38, 28, 20, .94), rgba(18, 14, 11, .98));
  color: #ffdda1;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 2px 2px 0 rgba(0,0,0,.3);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}
.topbar-summary-btn:hover, .topbar-summary-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ouro);
  background: rgba(56, 40, 27, .98);
  color: #fff8eb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 4px 14px rgba(0,0,0,.6), 0 0 14px rgba(201,162,39,.35);
}
.topbar-summary-btn svg { width: 14px; height: 14px; color: var(--ouro); }

.summary-pill {
  padding: 2px 6px;
  border: 1px solid rgba(201, 162, 39, .6);
  background: rgba(92, 18, 51, .85);
  color: #fff2dc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(219, 141, 89, .75);
  background: linear-gradient(180deg, #6d153b, #4c0d27);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 2px 2px 0 rgba(0,0,0,.35);
  color: #fff2dc;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}
.topbar-download-btn:hover, .topbar-download-btn:focus-visible {
  transform: translateY(-2px);
  border-color: #f0aa7d;
  background: #841b47;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 4px 16px rgba(109,21,59,.6);
  color: #fff;
}
.topbar-download-btn svg {
  width: 14px;
  height: 14px;
  color: var(--ouro);
  transform: rotate(90deg);
}

.test-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(194, 134, 83, .45);
  background: rgba(33, 23, 17, .75);
  color: #dfba9d;
  font: 600 11px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
}
.test-badge i { width: 6px; height: 6px; background: var(--terracota); box-shadow: 0 0 0 3px rgba(180,72,44,.18); }

.hero { min-height: 440px; display: grid; grid-template-columns: minmax(0, 1fr) 370px; align-items: center; gap: 64px; padding-block: clamp(68px, 12vh, 142px); }
.hero-copy { max-width: 630px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--ouro); font: 600 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow svg { width: 15px; height: 15px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 20px; color: #f7f1e7; font: 700 clamp(42px, 6.2vw, 76px)/1.04 var(--font-heading); letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 3px 12px rgba(0,0,0,.6); }
h1 span { color: #d06d49; }
.intro { max-width: 530px; margin-bottom: 26px; color: var(--marmore-2); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.scroll-link { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px; border: 1px solid rgba(219, 141, 89, .67); background: rgba(92,18,51,.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 3px 3px 0 rgba(0,0,0,.3); color: #fff2dc; font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.scroll-link.secondary { border-color: rgba(187, 154, 106, .45); background: rgba(26, 21, 17, .85); color: #eae2d5; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 3px 3px 0 rgba(0,0,0,.22); }
.scroll-link.secondary svg { color: var(--ouro); }
.scroll-link svg { width: 18px; height: 18px; }

.status-card { position: relative; padding: 33px 31px 30px; border: 1px solid rgba(185,157,111,.56); background: linear-gradient(145deg, rgba(31,25,19,.88), rgba(10,8,6,.86)); box-shadow: 7px 7px 0 rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.05); }
.status-card::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(196,163,114,.18); pointer-events: none; }
.card-mark { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 26px; border: 1px solid rgba(201,162,39,.63); color: #e2c371; }
.card-mark svg { width: 23px; height: 23px; }
.card-kicker { margin-bottom: 9px; color: var(--terracota); font: 600 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.status-card h2, .panel-heading h2, .community h2 { margin-bottom: 12px; color: #f4ece0; font: 700 clamp(24px, 2.5vw, 32px)/1.18 var(--font-heading); text-transform: uppercase; }
.status-card p:last-child, .panel-heading > p:last-child, .community div > p:last-child { margin-bottom: 0; color: var(--marmore-2); font-size: 14px; line-height: 1.6; }

/* News / posts horizontais */
.news-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto 42px;
  padding: 38px 36px 32px;
  border: 1px solid rgba(187, 154, 106, .48);
  background: rgba(16, 13, 10, .92);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .04);
}
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--linha-suave);
}
.news-header h2 {
  margin: 0 0 8px;
  color: #f4ece0;
  font: 700 clamp(24px, 2.8vw, 36px)/1.15 var(--font-heading);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.news-header > div > p:last-child { margin: 0; color: var(--marmore-2); font-size: 14px; line-height: 1.5; }
.news-counter {
  padding: 6px 12px;
  border: 1px solid rgba(197, 160, 89, .45);
  color: var(--ouro);
  font: 600 11px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2px;
}
.news-list { display: grid; gap: 14px; }
.news-post {
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  min-height: 190px;
  border: 1px solid rgba(187, 154, 106, .3);
  background: linear-gradient(105deg, rgba(31, 25, 20, .96), rgba(19, 16, 13, .98));
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.news-post:hover { border-color: rgba(197, 160, 89, .7); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.news-post-media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 190px;
  overflow: hidden;
  background: #14110e;
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  text-align: left;
}
.news-post-media img { width: 100%; height: 100%; display: block; object-fit: cover; filter: brightness(1.02) contrast(1.02) saturate(1.05); transition: transform .35s ease, filter .25s ease; }
.news-post:hover .news-post-media img,
.news-post-media:focus-visible img { transform: scale(1.05); filter: brightness(1.09) contrast(1.04) saturate(1.12); }
.news-post-zoom-hint {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(197, 160, 89, .55);
  background: rgba(14, 11, 9, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #eed69b;
  font: 600 11px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .22s ease, transform .22s ease, border-color .2s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}
.news-post-zoom-hint svg { width: 12px; height: 12px; color: var(--ouro); }
.news-post-media:hover .news-post-zoom-hint,
.news-post-media:focus-visible .news-post-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
.news-post-number { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border: 1px solid rgba(197, 160, 89, .6); background: rgba(17, 14, 12, .9); color: #f2e9dc; font: 700 12px var(--font-heading); pointer-events: none; border-radius: 2px; }
.news-post-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px 28px; }
.news-post-meta { margin: 0 0 8px; color: var(--terracota); font: 600 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.news-post-content h3 { margin: 0 0 8px; color: #f7f1e7; font: 700 clamp(18px, 2vw, 24px)/1.25 var(--font-heading); letter-spacing: .01em; }
.news-post-content > p:not(.news-post-meta) { max-width: 640px; margin: 0 0 14px; color: var(--marmore-2); font-size: 14px; line-height: 1.62; }
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--ouro);
  font: 600 12px/1 var(--font-body);
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease;
}
.news-read-more svg { width: 14px; height: 14px; transition: transform .2s ease; }
.news-read-more:hover, .news-read-more:focus-visible { color: #fff4db; }
.news-read-more:hover svg, .news-read-more:focus-visible svg { transform: translateX(4px); }

.news-post-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.news-post-permalink {
  color: var(--marmore-2);
  font: 500 12px/1 var(--font-body);
  letter-spacing: .04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s ease;
}
.news-post-permalink:hover {
  color: #fff4db;
}
.news-modal-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Scroll Margin e Âncoras */
section[id],
.news-section,
.timeline-showcase,
.command-panel {
  scroll-margin-top: 86px;
}
.section-anchor {
  position: absolute;
  top: -86px;
  left: 0;
  width: 0;
  height: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Gameplay Showcase */
.gameplay-showcase {
  position: relative;
  margin-bottom: 42px;
  padding: 38px 36px 32px;
  border: 1px solid rgba(187, 154, 106, .48);
  background: rgba(16, 13, 10, .92);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
}
.gameplay-showcase::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(196, 163, 114, .14);
  pointer-events: none;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--linha-suave);
  position: relative;
  z-index: 1;
}
.showcase-titles { max-width: 680px; }
.showcase-titles .eyebrow { margin-bottom: 10px; }
.showcase-titles h2 {
  margin-bottom: 8px;
  color: #eadcc4;
  font: 700 clamp(24px, 2.8vw, 36px)/1.18 var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.showcase-titles p:last-child { margin-bottom: 0; color: var(--marmore-2); font-size: 14px; line-height: 1.6; }

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(201, 162, 39, .5);
  background: linear-gradient(180deg, rgba(34, 28, 21, .85), rgba(20, 16, 12, .9));
  color: #e2c371;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.showcase-badge svg { width: 15px; height: 15px; color: var(--terracota); }

/* ========================================================================
 * 🏛️ LINHA DO TEMPO VERTICAL COM CHECKPOINTS
 * ======================================================================== */
.timeline-showcase {
  position: relative;
  overflow: visible;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.timeline-container {
  position: relative;
  width: 100%;
  padding: 24px 0;
  margin-bottom: 16px;
}

/* Eixo vertical imperial central */
.timeline-stem {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(201, 162, 39, .9) 5%, 
    rgba(180, 72, 44, .8) 50%, 
    rgba(201, 162, 39, .9) 95%, 
    transparent 100%
  );
  box-shadow: 0 0 14px rgba(201, 162, 39, .45), 0 0 24px rgba(180, 72, 44, .25);
  z-index: 1;
}

.timeline-track {
  display: flex;
  flex-direction: column;
  gap: 42px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Linha da timeline: 1fr (lado esquerdo) | 76px (nodo central) | 1fr (lado direito) */
.timeline-row {
  display: grid;
  grid-template-columns: 1fr 76px 1fr;
  align-items: center;
  width: 100%;
  position: relative;
}

.timeline-row.side-left .slot-card {
  grid-column: 1;
  display: flex;
  justify-content: flex-end;
}
.timeline-row.side-left .slot-node {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-row.side-left .slot-spacer {
  grid-column: 3;
}

.timeline-row.side-right .slot-spacer {
  grid-column: 1;
}
.timeline-row.side-right .slot-node {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-row.side-right .slot-card {
  grid-column: 3;
  display: flex;
  justify-content: flex-start;
}

/* Nodo / Checkpoint Central */
.slot-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ouro);
  background: radial-gradient(circle at 35% 35%, #382518, #130d09);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 4;
  box-shadow: 0 0 16px rgba(201, 162, 39, .6), 0 4px 10px rgba(0, 0, 0, .7);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, border-color .25s ease;
}
.timeline-row:hover .node-marker {
  transform: scale(1.14);
  border-color: #ffe19e;
  box-shadow: 0 0 24px rgba(201, 162, 39, .85), 0 6px 14px rgba(0, 0, 0, .8);
}

.node-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 162, 39, .45);
  pointer-events: none;
}

.node-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(201, 162, 39, .18);
  pointer-events: none;
  animation: checkpointPulse 3s ease-in-out infinite;
}

@keyframes checkpointPulse {
  0%, 100% { transform: scale(0.92); opacity: .4; }
  50% { transform: scale(1.18); opacity: .9; }
}

.node-num {
  color: #ffdda1;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

/* Conectores horizontais do nodo ao card */
.node-connector {
  position: absolute;
  top: 50%;
  height: 2px;
  pointer-events: none;
  z-index: 2;
}
.side-left .node-connector {
  right: 50%;
  width: 50%;
  background: linear-gradient(90deg, rgba(201, 162, 39, .75), transparent);
}
.side-right .node-connector {
  left: 50%;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .75));
}

/* Checkpoint Card */
.gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(187, 154, 106, .45);
  background: linear-gradient(180deg, rgba(26, 20, 16, .98), rgba(12, 10, 8, .98));
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  outline: none;
  box-shadow: 4px 6px 18px rgba(0, 0, 0, .45);
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), border-color .22s ease, box-shadow .22s ease;
}
.gallery-card.timeline-card {
  width: 100%;
  max-width: 490px;
}
.gallery-card:hover, .gallery-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, .9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .65), 0 0 24px rgba(201, 162, 39, .25);
}

/* Imagens Claras, Vivas e sem Sombreamento */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.8;
  overflow: hidden;
  background: #14100d;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Imagens claras, vivas e nítidas sem escurecimento */
  filter: brightness(1.08) contrast(1.02) saturate(1.12);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), filter .28s ease;
}
.gallery-card:hover .card-media img,
.gallery-card:focus-visible .card-media img {
  transform: scale(1.03);
  filter: brightness(1.16) contrast(1.04) saturate(1.18);
}

/* Remove completamente sobreposição escura sobre os prints */
.media-overlay {
  display: none !important;
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(201, 162, 39, .55);
  background: rgba(11, 9, 8, .86);
  backdrop-filter: blur(4px);
  color: #f2e2c4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.card-tag svg { width: 11px; height: 11px; color: var(--terracota); }

.card-corner-decor {
  position: absolute;
  inset: 6px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .3s ease;
}
.gallery-card:hover .card-corner-decor {
  border-color: rgba(201, 162, 39, .28);
}

.card-hover-prompt {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}
.gallery-card:hover .card-hover-prompt,
.gallery-card:focus-visible .card-hover-prompt {
  opacity: 1;
  transform: translateY(0);
}
.expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(201, 162, 39, .85);
  background: rgba(92, 18, 51, .92);
  color: #fff2dc;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .6);
}
.expand-btn svg { width: 13px; height: 13px; }

.card-info {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(109, 97, 82, .32);
  background: rgba(18, 15, 12, .94);
}
.card-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.card-checkpoint-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.checkpoint-kicker {
  display: inline-block;
  color: var(--ouro);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card-headline h3 {
  margin: 0;
  color: #f0e2cc;
  font: 700 18px/1.25 var(--font-heading);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.gallery-card:hover .card-headline h3 { color: #ffdda1; }

.view-hint {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(187, 154, 106, .35);
  color: #c77a58;
  transition: border-color .2s, color .2s, transform .2s;
}
.gallery-card:hover .view-hint {
  border-color: var(--ouro);
  color: var(--ouro);
  transform: scale(1.08);
}
.view-hint svg { width: 13px; height: 13px; }

.card-info p {
  margin: 0;
  color: var(--marmore-2);
  font-size: 13px;
  line-height: 1.55;
}

.timeline-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--linha-suave);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.timeline-footer-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--marmore-2);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.timeline-footer-lead svg {
  width: 15px;
  height: 15px;
  color: var(--ouro);
}

.showcase-footer-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-open-lightbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(187, 154, 106, .5);
  background: linear-gradient(180deg, #221c15, #15110e);
  color: #e7ddc7;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.btn-open-lightbox:hover, .btn-open-lightbox:focus-visible {
  border-color: var(--ouro);
  background: #302116;
  color: #fff1d8;
  transform: translateY(-2px);
}
.btn-open-lightbox svg { width: 14px; height: 14px; color: #d5ad5d; }

/* Botão Flutuante Voltar ao Topo */
.btn-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 995;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 162, 39, .6);
  background: linear-gradient(145deg, rgba(38, 28, 20, .96), rgba(16, 12, 9, .98));
  color: #ffdda1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .6), 0 0 12px rgba(201, 162, 39, .25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s cubic-bezier(0.16, 1, 0.3, 1), visibility .25s, border-color .2s, background .2s, box-shadow .2s;
}

.btn-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-back-to-top:hover,
.btn-back-to-top:focus-visible {
  border-color: var(--ouro);
  background: linear-gradient(145deg, rgba(62, 42, 28, .98), rgba(24, 17, 12, .98));
  color: #fff8eb;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .7), 0 0 18px rgba(201, 162, 39, .45);
}

.btn-back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform .2s ease;
}

.btn-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity .25s ease;
}
.lightbox-modal[hidden] {
  display: none;
  opacity: 0;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 4, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(1080px, 94vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 162, 39, .55);
  background: linear-gradient(160deg, rgba(23, 19, 15, .98), rgba(10, 8, 7, .99));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .8), 0 0 35px rgba(201, 162, 39, .14), inset 0 1px rgba(255, 255, 255, .08);
  overflow: hidden;
  animation: lightboxZoom .26s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lightboxZoom {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(194, 170, 132, .22);
  background: rgba(15, 12, 10, .95);
}
.lightbox-title-wrap { display: flex; flex-direction: column; }
.lightbox-tag {
  color: #d0ae72;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lightbox-title {
  margin: 2px 0 0;
  color: #f4e8d1;
  font: 700 20px/1.25 var(--font-heading);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.lightbox-controls { display: flex; align-items: center; gap: 14px; }
.lightbox-index {
  color: var(--marmore-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}
.lightbox-btn-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(187, 154, 106, .4);
  background: rgba(30, 24, 18, .8);
  color: #e7ddc7;
  cursor: pointer;
  transition: all .18s ease;
}
.lightbox-btn-close:hover, .lightbox-btn-close:focus-visible {
  border-color: var(--terracota);
  background: var(--purpura);
  color: #fff;
  transform: scale(1.05);
}
.lightbox-btn-close svg { width: 17px; height: 17px; }

.lightbox-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: calc(84vh - 125px);
  background: #060504;
  overflow: hidden;
  padding: 8px;
}
.lightbox-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: calc(84vh - 140px);
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(84vh - 140px);
  object-fit: contain;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .8);
  transition: opacity .18s ease, transform .18s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 162, 39, .5);
  background: rgba(16, 13, 10, .8);
  backdrop-filter: blur(6px);
  color: #e2c371;
  cursor: pointer;
  transition: all .2s ease;
}
.lightbox-nav-btn:hover, .lightbox-nav-btn:focus-visible {
  border-color: var(--ouro);
  background: rgba(45, 34, 23, .95);
  color: #fff6e8;
  transform: translateY(-50%) scale(1.08);
}
.lightbox-nav-btn.prev { left: 14px; }
.lightbox-nav-btn.next { right: 14px; }
.lightbox-nav-btn svg { width: 22px; height: 22px; }

.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  border-top: 1px solid rgba(194, 170, 132, .22);
  background: rgba(15, 12, 10, .95);
  flex-wrap: wrap;
}
.lightbox-desc {
  margin: 0;
  color: #dac5a3;
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}
.lightbox-hints {
  color: var(--marmore-3);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lightbox-hints kbd {
  padding: 2px 6px;
  border: 1px solid rgba(187, 154, 106, .3);
  background: rgba(23, 19, 15, .8);
  color: #e7ddc7;
  font-family: var(--font-body);
  font-size: 11px;
}

/* ========================================================================
 * 📰 MODAL DE NOTÍCIA COMPLETA (NOVIDADES)
 * ======================================================================== */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity .25s ease;
}
.news-modal[hidden] {
  display: none;
  opacity: 0;
}
.news-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 5, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.news-dialog {
  position: relative;
  z-index: 2;
  width: min(840px, 94vw);
  max-height: min(90vh, 840px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(197, 160, 89, .45);
  background: #171411;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .85), 0 0 35px rgba(201, 162, 39, .14), inset 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
  animation: newsModalFade .26s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes newsModalFade {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.news-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 32px 18px;
  border-bottom: 2px solid rgba(187, 154, 106, .22);
  background: rgba(19, 15, 12, .96);
}
.news-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 680px;
}
.news-modal-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.news-modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(201, 162, 39, .45);
  background: rgba(45, 33, 24, .85);
  color: #f7edd8;
  font: 600 11px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.news-modal-tag svg {
  width: 12px;
  height: 12px;
  color: var(--ouro);
}
.news-modal-kicker {
  color: var(--terracota);
  font: 600 11px/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.news-modal-title {
  margin: 0;
  color: #f7f1e7;
  font: 700 clamp(22px, 2.6vw, 30px)/1.22 var(--font-heading);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.news-modal-subtitle {
  margin: 0;
  color: var(--marmore-2);
  font: 400 14px/1.55 var(--font-body);
  font-style: italic;
  max-width: 680px;
}

.news-modal-close-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(187, 154, 106, .4);
  background: rgba(26, 20, 16, .85);
  color: #e2c371;
  cursor: pointer;
  transition: all .18s ease;
  flex-shrink: 0;
}
.news-modal-close-btn:hover,
.news-modal-close-btn:focus-visible {
  border-color: var(--ouro);
  background: rgba(84, 24, 43, .9);
  color: #fff;
  transform: scale(1.06);
}
.news-modal-close-btn svg { width: 18px; height: 18px; }

.news-modal-body {
  padding: 24px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, .4) rgba(16, 12, 9, .7);
}

/* Imagem no estilo jornal: menor, discreta e integrada à coluna */
.news-modal-media {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 210px;
  margin: 0 auto 6px;
  overflow: hidden;
  border: 1px solid rgba(187, 154, 106, .35);
  background: #0e0b09;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
  border-radius: 2px;
  flex-shrink: 0;
  cursor: zoom-in;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.news-modal-media:hover,
.news-modal-media:focus-visible {
  border-color: rgba(201, 162, 39, .75);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .6), 0 0 18px rgba(201, 162, 39, .22);
}
.news-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.04) contrast(1.02);
  transition: transform .35s ease, filter .25s ease;
}
.news-modal-media:hover img,
.news-modal-media:focus-visible img {
  transform: scale(1.04);
  filter: brightness(1.09) contrast(1.04);
}
.news-modal-zoom-hint {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(201, 162, 39, .5);
  background: rgba(14, 11, 9, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ded5c7;
  font: 600 11px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
  opacity: .88;
  transition: opacity .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
  pointer-events: none;
}
.news-modal-zoom-hint svg {
  width: 12px;
  height: 12px;
  color: var(--ouro);
}
.news-modal-media:hover .news-modal-zoom-hint,
.news-modal-media:focus-visible .news-modal-zoom-hint {
  opacity: 1;
  background: rgba(22, 17, 13, .96);
  border-color: var(--ouro);
  color: #fff4db;
  transform: scale(1.02);
}
.news-modal-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid rgba(201, 162, 39, .35);
  background: rgba(14, 11, 9, .88);
  color: #ded5c7;
  font: 600 11px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.news-modal-badge svg {
  width: 12px;
  height: 12px;
  color: var(--ouro);
}

/* Artigo estilo jornal: padrão único, leitura limpa, sem troca de fonte e sem dots */
.news-modal-article {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  color: #ded5c7;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-modal-article p {
  margin: 0;
  text-align: left;
}

.news-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 32px 20px;
  border-top: 1px solid rgba(187, 154, 106, .24);
  background: rgba(19, 15, 12, .96);
  flex-wrap: wrap;
}
.news-modal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-news-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(187, 154, 106, .4);
  background: rgba(26, 20, 16, .85);
  color: #e2c371;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .16s ease;
}
.btn-news-nav:hover,
.btn-news-nav:focus-visible {
  border-color: var(--ouro);
  background: rgba(48, 36, 26, .95);
  color: #fff2c9;
  transform: translateY(-1px);
}
.btn-news-nav svg { width: 14px; height: 14px; }
.news-modal-counter {
  color: var(--marmore-2);
  font: 600 12px/1 var(--font-body);
  letter-spacing: .08em;
}
.btn-news-dismiss {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(201, 162, 39, .55);
  background: rgba(38, 28, 20, .9);
  color: #ffdda1;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .16s ease;
}
.btn-news-dismiss:hover,
.btn-news-dismiss:focus-visible {
  border-color: var(--ouro);
  background: rgba(84, 24, 43, .9);
  color: #fff;
}

/* ========================================================================
 * 🔍 MODAL DE VISUALIZAÇÃO EM TELA CHEIA DA IMAGEM DO POST
 * Abre em tela cheia de fato com apenas 1 botão 'X' no canto superior direito.
 * ======================================================================== */
.post-image-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  opacity: 1;
  overflow: hidden;
  transition: opacity .22s ease;
}
.post-image-modal[hidden] {
  display: none;
  opacity: 0;
}
.post-image-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: zoom-out;
}

/* Botão X único no canto superior direito */
.post-image-close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 162, 39, .65);
  background: rgba(18, 14, 11, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f7ede0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .75), 0 0 16px rgba(201, 162, 39, .2);
  transition: all .2s ease;
}
.post-image-close-btn:hover,
.post-image-close-btn:focus-visible {
  border-color: #ffd88a;
  background: var(--purpura);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(201, 162, 39, .4);
}
.post-image-close-btn svg {
  width: 20px;
  height: 20px;
}

/* Área de visualização em tela cheia */
.post-image-viewport {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: clamp(16px, 3vw, 40px);
  box-sizing: border-box;
  cursor: zoom-out;
}
.post-image-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  border: 1px solid rgba(201, 162, 39, .35);
  box-shadow: 0 20px 65px rgba(0, 0, 0, .95), 0 0 35px rgba(201, 162, 39, .15);
  cursor: default;
  animation: postImageFullscreenIn .25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes postImageFullscreenIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ========================================================================
 * 📜 MODAL RESUMO DOS CHECKPOINTS
 * ======================================================================== */
.summary-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity .25s ease;
}
.summary-modal[hidden] {
  display: none;
  opacity: 0;
}
.summary-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 5, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.summary-dialog {
  position: relative;
  z-index: 2;
  width: min(880px, 94vw);
  max-height: min(88vh, 780px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 162, 39, .65);
  background: linear-gradient(175deg, rgba(26, 20, 16, .98), rgba(12, 10, 8, .99));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .85), 0 0 35px rgba(201, 162, 39, .2), inset 0 1px rgba(255, 255, 255, .08);
  overflow: hidden;
  animation: summaryFade .26s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes summaryFade {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid rgba(187, 154, 106, .26);
  background: rgba(16, 12, 9, .88);
}
.summary-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summary-title-wrap .eyebrow {
  margin-bottom: 2px;
}
.summary-title-wrap h2 {
  margin: 0;
  color: #f6ebd6;
  font: 700 clamp(22px, 3vw, 28px)/1.15 var(--font-heading);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.summary-subtitle {
  margin: 0;
  color: var(--marmore-2);
  font-size: 13px;
  line-height: 1.45;
}

.summary-close-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(187, 154, 106, .45);
  background: rgba(22, 17, 13, .8);
  color: #e2c371;
  cursor: pointer;
  transition: all .18s ease;
  flex-shrink: 0;
}
.summary-close-btn:hover, .summary-close-btn:focus-visible {
  border-color: var(--ouro);
  background: rgba(92, 18, 51, .9);
  color: #fff;
  transform: scale(1.08);
}
.summary-close-btn svg { width: 18px; height: 18px; }

.summary-body {
  padding: 18px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, .5) rgba(16, 12, 9, .7);
}

.summary-item {
  display: grid;
  grid-template-columns: 105px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(187, 154, 106, .32);
  background: rgba(22, 17, 13, .92);
  box-shadow: 2px 3px 10px rgba(0, 0, 0, .35);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.summary-item:hover {
  border-color: rgba(201, 162, 39, .8);
  background: rgba(32, 24, 18, .98);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
}

.summary-thumb {
  position: relative;
  width: 105px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(187, 154, 106, .4);
  background: #100c09;
  cursor: pointer;
  flex-shrink: 0;
}
.summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.08) saturate(1.12);
  transition: transform .3s ease;
}
.summary-thumb:hover img {
  transform: scale(1.08);
}
.summary-thumb-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(201, 162, 39, .8);
  background: rgba(14, 10, 8, .88);
  color: #ffdda1;
  font: 700 11px/1 var(--font-heading);
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summary-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-kicker {
  color: var(--ouro);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.summary-details h4 {
  margin: 0;
  color: #f4e8d1;
  font: 700 16px/1.2 var(--font-heading);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.summary-details p {
  margin: 0;
  color: var(--marmore-2);
  font-size: 13px;
  line-height: 1.5;
}

.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.btn-summary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid rgba(187, 154, 106, .4);
  background: rgba(18, 14, 11, .92);
  color: #e5d6bd;
  font: 600 11px var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all .16s ease;
}
.btn-summary-action.jump {
  border-color: rgba(219, 141, 89, .7);
  background: linear-gradient(180deg, #5c1433, #3d0d22);
  color: #fff2dc;
}
.btn-summary-action.jump:hover {
  border-color: #f0aa7d;
  background: #751a42;
  color: #fff;
  transform: translateY(-1px);
}
.btn-summary-action.zoom:hover {
  border-color: var(--ouro);
  background: #2a1f16;
  color: #ffdda1;
  transform: translateY(-1px);
}
.btn-summary-action svg { width: 11px; height: 11px; }

.summary-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 26px;
  border-top: 1px solid rgba(187, 154, 106, .26);
  background: rgba(16, 12, 9, .95);
  flex-wrap: wrap;
}
.btn-summary-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ouro);
  font: 600 12px var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s, transform .2s;
}
.btn-summary-jump:hover {
  color: #fff;
  transform: translateX(3px);
}
.btn-summary-jump svg { width: 13px; height: 13px; }

.btn-summary-dismiss {
  padding: 7px 16px;
  border: 1px solid rgba(187, 154, 106, .4);
  background: rgba(26, 20, 16, .85);
  color: #e5d6bd;
  font: 600 12px var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .18s;
}
.btn-summary-dismiss:hover {
  border-color: var(--ouro);
  background: #36281c;
  color: #fff;
}

/* Efeito de destaque no card ao saltar da visão resumida para a timeline */
@keyframes checkpointFlashGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0);
    border-color: rgba(187, 154, 106, .45);
    transform: scale(1);
  }
  35% {
    box-shadow: 0 0 40px rgba(201, 162, 39, .9), 0 0 0 3px var(--ouro);
    border-color: var(--ouro);
    transform: scale(1.025);
  }
  100% {
    box-shadow: 0 14px 32px rgba(0, 0, 0, .65), 0 0 24px rgba(201, 162, 39, .25);
    border-color: rgba(201, 162, 39, .9);
    transform: scale(1);
  }
}
.timeline-card.flash-highlight {
  animation: checkpointFlashGlow 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.command-panel { display: grid; grid-template-columns: 280px 1fr; gap: 45px; margin-bottom: 34px; padding: 35px; border: 1px solid rgba(187,154,106,.48); background: rgba(16,13,10,.9); box-shadow: 7px 7px 0 rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.04); }
.panel-heading h2 { margin-bottom: 10px; }
.download-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-self: center; }
.download-button { display: flex; align-items: center; min-height: 102px; gap: 13px; padding: 16px 13px; border: 1px solid #554738; background: linear-gradient(180deg, #221c15, #15110e); color: var(--marmore); text-decoration: none; }
.download-button > svg { width: 29px; height: 29px; color: #d5ad5d; }
.download-button span { display: flex; flex: 1; flex-direction: column; line-height: 1.2; }
.download-button small { margin-bottom: 6px; color: var(--marmore-3); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.download-button strong { font: 700 18px/1 var(--font-heading); letter-spacing: .03em; }
.download-button b { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #67533b; color: #c77a58; }
.download-button b svg { width: 13px; height: 13px; }
.download-button[data-pending='true'], .social-links a[data-pending='true'] { cursor: not-allowed; opacity: .54; }
.install-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; margin: -19px 0 0; color: var(--marmore-3); font-size: 12px; letter-spacing: .04em; }
.install-note svg { width: 13px; height: 13px; color: var(--ouro); }

.community { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 45px; padding: 37px 35px; border-top: 1px solid var(--linha-suave); border-bottom: 1px solid var(--linha-suave); }
.community .eyebrow { margin-bottom: 9px; }
.community h2 { margin-bottom: 8px; }
.social-links { display: flex; gap: 9px; }
.social-links a { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 122px; min-height: 47px; padding: 0 14px; border: 1px solid rgba(186,151,102,.42); background: rgba(18,15,12,.7); color: #dac5a3; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.social-links svg { width: 20px; height: 20px; color: #c77a58; }
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 25px 32px;
  color: #887c68;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-separator {
  color: rgba(187, 154, 106, .4);
}
footer .test-badge {
  display: inline-flex;
}

/* ========================================================================
 * 📰 PÁGINAS INDIVIDUAIS DE MATÉRIA (POSTS)
 * ======================================================================== */
.post-standalone-shell {
  min-height: 100vh;
  padding: 36px 20px 72px;
  background: var(--basalto) url('assets/menu-background.png') center top / cover fixed no-repeat;
  position: relative;
  isolation: isolate;
}
.post-standalone-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 14, 12, .88) 0%, rgba(16, 14, 12, .96) 100%);
}
.post-standalone-nav {
  width: min(840px, calc(100% - 24px));
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linha-suave);
}
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(187, 154, 106, .4);
  background: rgba(26, 20, 16, .85);
  color: var(--ouro);
  font: 600 12px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.btn-back-home:hover {
  border-color: var(--ouro);
  background: rgba(48, 36, 26, .95);
  color: #fff4db;
  transform: translateX(-2px);
}
.post-standalone-card {
  width: min(840px, calc(100% - 24px));
  margin: 0 auto;
  border: 1px solid rgba(197, 160, 89, .45);
  background: #171411;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .85), 0 0 35px rgba(201, 162, 39, .14);
  border-radius: 4px;
  overflow: hidden;
}
.post-standalone-header {
  padding: 30px 36px 20px;
  border-bottom: 2px solid rgba(187, 154, 106, .22);
  background: rgba(19, 15, 12, .96);
}
.post-standalone-body {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post-standalone-footer {
  padding: 18px 36px 22px;
  border-top: 1px solid rgba(187, 154, 106, .24);
  background: rgba(19, 15, 12, .96);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.btn-news-permalink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(187, 154, 106, .4);
  background: rgba(26, 20, 16, .85);
  color: #e5d6bd;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .16s ease;
}
.btn-news-permalink:hover {
  border-color: var(--ouro);
  background: rgba(48, 36, 26, .95);
  color: #fff2c9;
}
.btn-news-permalink svg { width: 13px; height: 13px; }

@media (hover: hover) {
  .scroll-link, .download-button, .social-links a, .btn-open-lightbox { transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease; }
  .scroll-link:hover, .scroll-link:focus-visible { transform: translate(-2px, -2px); border-color: #e6a678; background: #6d153b; }
  .scroll-link.secondary:hover, .scroll-link.secondary:focus-visible { border-color: var(--ouro); background: #302116; color: #fff1d8; }
  .download-button:not([data-pending='true']):hover, .download-button:focus-visible { transform: translateY(-3px); border-color: #bd8759; background: #302116; color: #fff1d8; }
  .social-links a:not([data-pending='true']):hover, .social-links a:focus-visible { transform: translateY(-2px); border-color: #c98961; background: #2c1b16; color: #fff1d8; }
}
a:focus-visible, button:focus-visible { outline: 2px solid #edbd86; outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 35px; }
  .status-card { max-width: 550px; }
  .showcase-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  
  /* Timeline adaptada para telas médias/pequenas */
  .timeline-stem { left: 32px; transform: none; }
  .timeline-row { display: flex; flex-direction: column; padding-left: 70px; position: relative; }
  .timeline-slot.slot-spacer { display: none; }
  .timeline-slot.slot-node { position: absolute; left: 11px; top: 18px; width: 42px; }
  .timeline-slot.slot-card { width: 100%; justify-content: flex-start !important; }
  .timeline-card { max-width: 100%; width: 100%; }
  .node-connector { display: none; }
  
  .command-panel { grid-template-columns: 1fr; gap: 22px; }
  .download-list { max-width: 760px; }
  .install-note { margin-top: -4px; }
  .community { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 680px) {
  .summary-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }
  .summary-thumb { width: 80px; }
  .summary-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .btn-summary-action {
    flex: 1;
  }
}
@media (max-width: 620px) {
  .page-shell {
    background-attachment: scroll;
    background-position: 59% center;
    padding-top: 70px;
  }
  .page-shell::before { background: linear-gradient(180deg, rgba(8,7,6,.72), rgba(8,7,6,.3) 45%, rgba(8,7,6,.91) 100%); }
  .topbar, .hero, .gameplay-showcase, .command-panel, .community, footer, .news-section { width: min(100% - 28px, 540px); }
  .topbar { min-height: 70px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand strong { font-size: 14px; }.brand em { font-size: 10px; }
  .topbar .test-badge { display: none; }
  footer .test-badge { display: inline-flex; }
  .topbar-actions { gap: 8px; }
  .topbar-nav-link,
  .topbar-news-link { font-size: 11px; letter-spacing: .08em; padding-inline: 4px; }
  .topbar-nav-link { display: none; }
  .language-toggle { padding-inline: 8px; font-size: 11px; }
  .topbar-summary-btn { padding: 6px 10px; font-size: 11px; }
  .topbar-summary-btn .summary-pill { display: none; }
  .topbar-download-btn { padding: 7px 11px; font-size: 11px; }
  .btn-back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .news-modal { padding: 12px; }
  .news-modal-header, .news-modal-footer { padding: 14px 18px; }
  .news-modal-body { padding: 18px 16px; gap: 14px; }
  .news-modal-title { font-size: 20px; }
  .news-modal-media { max-width: 100%; height: 180px; }
  .news-modal-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .news-modal-nav { width: 100%; justify-content: space-between; }
  .btn-news-dismiss { width: 100%; justify-content: center; }
  .post-image-close-btn { top: 16px; right: 16px; width: 40px; height: 40px; }
  .post-image-close-btn svg { width: 18px; height: 18px; }
  .post-image-viewport { padding: 12px; }
  .summary-modal { padding: 12px; }
  .summary-header, .summary-body, .summary-footer { padding-inline: 16px; }
  .hero { min-height: 0; padding-block: 54px 44px; }
  h1 { font-size: clamp(45px, 14vw, 69px); }
  .intro { font-size: 14px; }
  .status-card { padding: 25px 23px; }.card-mark { margin-bottom: 18px; }
  .gameplay-showcase { padding: 24px 16px 20px; margin-bottom: 22px; }
  .news-section { padding: 24px 16px 20px; margin-bottom: 22px; }
  .news-header { align-items: flex-start; flex-direction: column; gap: 14px; }
  .news-post { grid-template-columns: 1fr; }
  .news-post-media { min-height: 180px; aspect-ratio: 16 / 10; }
  .news-post-content { padding: 20px; }
  .timeline-stem { left: 24px; }
  .timeline-row { padding-left: 54px; }
  .timeline-slot.slot-node { left: 4px; }
  .node-marker { width: 38px; height: 38px; }
  .card-media { aspect-ratio: 16 / 10; }
  .card-hover-prompt { opacity: 1; transform: translateY(0); }
  .timeline-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .showcase-footer-actions { width: 100%; }
  .btn-open-lightbox { width: 100%; justify-content: center; }
  .lightbox-modal { padding: 10px; }
  .lightbox-header, .lightbox-footer { padding: 10px 14px; }
  .lightbox-nav-btn { width: 36px; height: 36px; }
  .lightbox-nav-btn.prev { left: 8px; }
  .lightbox-nav-btn.next { right: 8px; }
  .lightbox-title { font-size: 17px; }
  .lightbox-desc { font-size: 13px; }
  .command-panel { padding: 26px 19px; margin-bottom: 22px; }
  .download-list { grid-template-columns: 1fr; gap: 8px; }
  .download-button { min-height: 77px; padding: 12px 14px; }
  .community { padding: 29px 8px; }
  .social-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .social-links a { min-width: 0; min-height: 70px; flex-direction: column; gap: 5px; padding: 8px 4px; font-size: 11px; }
  footer { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 21px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
