/* Capivara Games: site do estúdio e de Do Garimpo à Mina.
   Escuro e cinematográfico, com o ouro e o verde do jogo. Barlow Condensed nos títulos e Barlow no
   texto, hospedadas aqui mesmo (o CSP só aceita recursos do próprio site: nada de estilos ou scripts
   embutidos no HTML). Os documentos legais leem em uma folha clara dentro da mesma moldura. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/barlow-condensed-800.woff2") format("woff2"); }

:root {
  /* Noite na mata, ouro da bateia, terra do barranco, água do rio. */
  --night: #0a120f;
  --deep: #0f1b16;
  --surface: #13221c;
  --raised: #1a2e26;
  --line: rgba(242, 234, 214, .12);
  --line-strong: rgba(242, 234, 214, .24);
  --text: #f2ead6;
  --soft: #d1c9b2;
  --muted: #9ba797;
  --gold: #e3b95e;
  --gold-hi: #f1cf84;
  --gold-ink: #17120a;
  --terra: #d27045;
  --river: #62b3b8;
  /* Folha de leitura dos documentos. */
  --paper: #f5f0e4;
  --paper-2: #ebe4d3;
  --paper-ink: #1b2822;
  --paper-soft: #46544b;
  --paper-line: #d6cdb8;
  --paper-accent: #2c5a43;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 56px);
  --shell: min(1240px, calc(100% - 2 * var(--gutter)));
  --header: 76px;
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, figure, dl, dd, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 200; top: 12px; left: 12px;
  padding: 12px 20px; border-radius: var(--radius);
  background: var(--gold); color: var(--gold-ink); font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* --- Tipografia ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .875rem/1.2 var(--display);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .005em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: .95; }
h3 { font: 700 1.6rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--soft); }
.gold { color: var(--gold); }

/* --- Botões ------------------------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 700 1rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button svg { width: 18px; height: 18px; flex: none; }
.button-gold { background: var(--gold); color: var(--gold-ink); }
.button-gold:hover { background: var(--gold-hi); }
.button-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(10, 18, 15, .35); }
.button-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.button-forest { background: var(--paper-accent); color: #fffaf0; }
.button-forest:hover:enabled { background: #1e4532; }
.button-outline { border-color: #8d9a86; color: var(--paper-ink); background: transparent; }
.button-outline:hover:enabled { background: var(--paper-2); }
button.button:disabled { opacity: .5; cursor: not-allowed; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .95rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  padding-block: 8px; border-bottom: 1.5px solid currentColor;
}
.text-link:hover { color: var(--gold-hi); }
.text-link svg { width: 16px; height: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* --- Cabeçalho -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(to bottom, rgba(6, 11, 9, .82), rgba(6, 11, 9, 0));
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(9, 16, 13, .94);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid { background: rgba(9, 16, 13, .8); backdrop-filter: blur(14px) saturate(1.2); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; }
.brand-name { display: grid; line-height: .9; font: 800 1.4rem/.9 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.brand-name span { font-weight: 600; font-size: .62em; letter-spacing: .42em; color: var(--gold); margin-top: 3px; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.primary-nav a {
  font: 600 .95rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--soft); text-decoration: none; padding-block: 10px;
  transition: color .2s ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold-hi); }
.primary-nav .nav-cta { padding: 11px 18px; border: 1.5px solid var(--gold); border-radius: var(--radius); color: var(--gold); }
.primary-nav .nav-cta:hover { background: var(--gold); color: var(--gold-ink); }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 8px 14px;
    background: rgba(10, 18, 15, .5); border: 1.5px solid var(--line-strong); border-radius: var(--radius);
    font: 700 .9rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--text); cursor: pointer;
  }
  .menu-toggle svg { width: 18px; height: 18px; }
  .js .primary-nav {
    position: fixed; inset: calc(var(--header) + env(safe-area-inset-top, 0px)) 0 auto 0;
    display: grid; gap: 0; padding: 8px var(--gutter) 24px;
    background: rgba(9, 16, 13, .98); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .menu-open .primary-nav { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .js .primary-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .js .primary-nav .nav-cta { margin-top: 18px; text-align: center; border-bottom: 1.5px solid var(--gold); }
  .site-header.menu-open { background: rgba(9, 16, 13, .98); }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .primary-nav { flex-wrap: wrap; gap: 6px 18px; }
}

/* --- Abertura (hero) ---------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 100vh, 1000px);
  display: grid; align-items: end;
  padding-top: calc(var(--header) + 40px);
}
@supports (min-height: 100svh) { .hero { min-height: clamp(620px, 100svh, 1000px); } }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 14, 11, .92) 0%, rgba(8, 14, 11, .7) 34%, rgba(8, 14, 11, .1) 70%),
    linear-gradient(0deg, var(--night) 0%, rgba(10, 18, 15, .6) 22%, rgba(10, 18, 15, 0) 46%);
}
.hero-content { display: grid; gap: 22px; justify-items: start; padding-bottom: clamp(28px, 5vh, 56px); }
.hero-content > * { max-width: 760px; }
.presents { font: 600 .9rem/1.2 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--soft); }
.game-title { font-size: clamp(3.8rem, 10.5vw, 9.6rem); line-height: .84; letter-spacing: -.005em; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.game-title span { display: block; color: var(--gold); }
.title-rule { display: flex; align-items: center; gap: 8px; width: min(300px, 70%); }
.title-rule::before, .title-rule::after { content: ""; height: 2px; background: var(--gold); }
.title-rule::before { flex: 3; }
.title-rule::after { flex: 1; }
.title-rule span { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); flex: none; }
.tagline { font: 600 clamp(1rem, 1.5vw, 1.2rem)/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.hero .lead { color: var(--text); max-width: 34em; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: .95rem; color: var(--soft); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  font: 600 .85rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--text);
  background: rgba(10, 18, 15, .45);
}
.chip svg { width: 15px; height: 15px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227, 185, 94, .2); }
.facts-bar { border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(10, 18, 15, .6), var(--night)); }
.facts-bar ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-bar li { padding: 22px 0 26px; display: grid; gap: 4px; }
.facts-bar li + li { padding-left: clamp(16px, 3vw, 36px); border-left: 1px solid var(--line); }
.facts-bar strong { font: 800 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--display); text-transform: uppercase; color: var(--text); }
.facts-bar span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) {
  .facts-bar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-bar li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-bar li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* --- Seções ------------------------------------------------------------------------------- */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.band { background: var(--deep); border-block: 1px solid var(--line); }

/* O jogo: texto e ficha técnica */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.about-copy { display: grid; gap: 22px; }
.about-copy p:not(.lead) { color: var(--soft); max-width: 62ch; }
.fact-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(24px, 3vw, 36px); }
.fact-sheet h3 { font-size: 1.1rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 14px; }
.fact-sheet dl { display: grid; }
.fact-sheet div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.fact-sheet dt { font: 600 .82rem/1.5 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact-sheet dd { color: var(--text); font-weight: 500; }
.fiction-note { margin-top: 8px; padding: 18px 20px; border-left: 2px solid var(--gold); background: rgba(227, 185, 94, .06); color: var(--soft); font-size: .95rem; border-radius: 0 var(--radius) var(--radius) 0; }
.fiction-note strong { color: var(--text); }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .fact-sheet div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Destaques: linhas alternadas com imagens grandes */
.features { display: grid; gap: clamp(72px, 10vw, 140px); }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.feature-media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; z-index: -1;
  width: 38%; height: 46%; border: 1.5px solid rgba(227, 185, 94, .35); border-radius: 12px;
}
.feature:nth-child(even) .feature-media::after { inset: auto auto -14px -14px; }
.feature-copy { display: grid; gap: 18px; }
.feature-copy h3 { font: 800 clamp(2rem, 3.6vw, 3rem)/.98 var(--display); }
.feature-copy p { color: var(--soft); }
.feature-points { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.feature-points li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; color: var(--text); font-weight: 500; }
.feature-points li::before { content: ""; width: 9px; height: 9px; margin-top: .55em; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature-media::after { display: none; }
}

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 12px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.gallery figure { height: 100%; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); filter: brightness(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px;
  background: linear-gradient(to top, rgba(6, 11, 9, .85), rgba(6, 11, 9, 0));
  font: 600 .85rem/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--text);
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.gallery a:hover figcaption, .gallery a:focus-visible figcaption { opacity: 1; transform: none; }
.gallery a:focus-visible { outline-offset: 2px; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 30vw, 220px); }
  .gallery a:nth-child(6) { grid-column: span 1; }
  .gallery a:last-child { grid-column: span 2; }
}
.gallery-note { margin-top: 18px; color: var(--muted); font-size: .92rem; }

/* Visualizador da galeria */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 9, 7, .95); color: var(--text); }
.lightbox::backdrop { background: rgba(5, 9, 7, .9); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 10px; }
.lightbox-count { font: 600 .9rem/1 var(--display); letter-spacing: .16em; color: var(--muted); }
.lightbox-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-inline: max(12px, env(safe-area-inset-left, 0px)); min-height: 0; }
.lightbox-stage img { max-height: 100%; width: auto; max-width: 100%; margin-inline: auto; border-radius: 6px; object-fit: contain; }
.lightbox figure { display: grid; height: 100%; min-height: 0; align-content: center; }
.lightbox-caption { padding: 12px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px)); text-align: center; color: var(--soft); }
.icon-button {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border: 1.5px solid var(--line-strong); border-radius: 50%; background: rgba(10, 18, 15, .6); color: var(--text); cursor: pointer;
}
.icon-button:hover { border-color: var(--gold); color: var(--gold-hi); }
.icon-button svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .lightbox-stage { grid-template-columns: minmax(0, 1fr); } .lightbox-stage .icon-button { display: none; } }

/* O estúdio */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.studio-media { position: relative; }
.studio-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.studio-badge {
  position: absolute; left: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px;
  border-radius: 12px; background: rgba(9, 16, 13, .85); border: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) { .studio-badge { background: rgba(9, 16, 13, .6); backdrop-filter: blur(10px); } }
.studio-badge img { width: 44px; height: 44px; border-radius: 10px; aspect-ratio: 1; border: 0; }
.studio-badge p { font: 700 1.05rem/1.15 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.studio-badge span { display: block; font-weight: 600; font-size: .8rem; letter-spacing: .2em; color: var(--muted); }
.studio-copy { display: grid; gap: 22px; }
.studio-copy > p:not(.lead):not(.eyebrow) { color: var(--soft); max-width: 60ch; }
.values { list-style: none; display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.values svg { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.values h3 { font-size: 1.25rem; margin-bottom: 4px; }
.values p { color: var(--soft); font-size: .98rem; }
@media (max-width: 900px) { .studio { grid-template-columns: minmax(0, 1fr); } .studio-media img { aspect-ratio: 16 / 11; } }

/* Faixa do guia */
.guide-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.guide-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.guide-band-copy { display: grid; gap: 18px; padding: clamp(28px, 5vw, 64px); }
.guide-band-copy p:not(.eyebrow) { color: var(--soft); }
.guide-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-block: 4px 8px; }
.guide-topics li { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); font: 600 .82rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.guide-band-media { align-self: stretch; position: relative; min-height: 280px; }
.guide-band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.guide-band-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--surface) 0%, rgba(19, 34, 28, 0) 30%); }
@media (max-width: 900px) {
  .guide-band-inner { grid-template-columns: minmax(0, 1fr); }
  .guide-band-media { min-height: 0; aspect-ratio: 16 / 8; order: -1; }
  .guide-band-media::before { background: linear-gradient(0deg, var(--surface) 0%, rgba(19, 34, 28, 0) 40%); }
}

/* Perguntas */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font: 700 1.3rem/1.2 var(--display); letter-spacing: .03em; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 600 1.6rem/1 var(--sans); color: var(--gold); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq details p { padding: 0 0 22px; color: var(--soft); max-width: 62ch; }
.faq details a { color: var(--gold); }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* Suporte */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.support-card {
  display: grid; gap: 12px; align-content: start; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  text-decoration: none; transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
a.support-card:hover { border-color: rgba(227, 185, 94, .6); transform: translateY(-3px); background: var(--raised); }
.support-card svg { width: 32px; height: 32px; color: var(--gold); }
.support-card h3 { font-size: 1.35rem; }
.support-card p { color: var(--soft); font-size: .98rem; }
.support-card .more { margin-top: 6px; font: 700 .9rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.support-card nav { display: grid; gap: 10px; margin-top: 4px; }
.support-card nav a { font: 700 .9rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.support-card nav a:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: minmax(0, 1fr); } }

/* --- Rodapé ---------------------------------------------------------------------------- */
.site-footer { background: #070d0b; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 30ch; }
.footer-col h2 { font: 600 .82rem/1.2 var(--display); letter-spacing: .22em; color: var(--gold); margin-bottom: 18px; }
.footer-col nav { display: grid; gap: 12px; }
.footer-col a { color: var(--soft); text-decoration: none; font-size: .98rem; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom p { max-width: 80ch; }
@media (max-width: 900px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: minmax(0, 1fr); } }

/* --- Documentos (Termos, Privacidade, LGPD) -------------------------------------------- */
.document-hero {
  padding-top: calc(var(--header) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 6vw, 80px);
  display: grid; gap: 18px; justify-items: start;
}
.document-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: .92; max-width: 16ch; }
.document-hero > p:not(.eyebrow) { color: var(--soft); max-width: 62ch; font-size: 1.1rem; }
.document-hero .hero-actions { margin-top: 10px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 600 .82rem/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { text-decoration: none; color: var(--soft); }
.breadcrumb a:hover { color: var(--gold-hi); }
.legal-main { background: var(--paper); color: var(--paper-ink); color-scheme: light; padding-block: clamp(48px, 7vw, 96px); }
.legal-main ::selection { background: #e7c77c; color: var(--paper-ink); }
.legal-main :focus-visible { outline-color: #8a6a22; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legal-sidebar { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 14px; }
.legal-sidebar > p { font: 700 .8rem/1.4 var(--display); letter-spacing: .2em; color: #8a6a22; }
.legal-sidebar nav { display: grid; gap: 10px; font-size: .95rem; line-height: 1.4; }
.legal-sidebar a { color: var(--paper-soft); text-decoration: none; }
.legal-sidebar a:hover, .legal-sidebar a[aria-current] { color: var(--paper-ink); text-decoration: underline; text-underline-offset: 3px; }
.related-documents { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--paper-line); display: grid; gap: 10px; }
.related-documents h2 { font: 700 .8rem/1.4 var(--display); letter-spacing: .2em; color: #8a6a22; text-transform: uppercase; }
.related-documents nav { display: grid; gap: 10px; }
.legal-body { font-size: 1.05rem; line-height: 1.8; min-width: 0; color: var(--paper-soft); }
.legal-body > :first-child { margin-top: 0; }
.legal-body h2 { font: 800 clamp(1.8rem, 3vw, 2.3rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--paper-ink); margin: 52px 0 16px; text-wrap: balance; }
.legal-body h3 { font: 700 1.3rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--paper-ink); margin: 30px 0 10px; }
.legal-body h4 { font: 700 1.05rem/1.3 var(--sans); color: var(--paper-ink); margin: 22px 0 8px; }
.legal-body p { margin-bottom: 18px; }
.legal-body strong { color: var(--paper-ink); }
.legal-body a { color: var(--paper-accent); overflow-wrap: anywhere; text-underline-offset: 3px; }
.legal-body ul, .legal-body ol { margin: 14px 0 22px; padding-left: 24px; }
.legal-body li { margin-block: 8px; padding-left: 4px; }
.legal-body section { scroll-margin-top: calc(var(--header) + 24px); }
.legal-body .document-version { font: 600 .85rem/1.6 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #6b6f5f; padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--paper-line); }
.legal-body .notice, .legal-callout { padding: 20px 22px; border-left: 3px solid #b0852f; background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; margin-block: 24px; }
.legal-body .notice p:last-child, .legal-callout p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin-block: 24px; }
.legal-body table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.55; }
.legal-body th, .legal-body td { padding: 12px 14px; border: 1px solid var(--paper-line); text-align: left; vertical-align: top; }
.legal-body th { background: var(--paper-2); color: var(--paper-ink); font-weight: 600; }
.legal-body code { overflow-wrap: anywhere; background: var(--paper-2); padding: 2px 5px; border-radius: 3px; font: .88em var(--mono); color: var(--paper-ink); }
.legal-body hr { border: 0; border-top: 1px solid var(--paper-line); margin-block: 40px; }
.legal-source { width: var(--shell); margin: 28px auto 0; color: #6b6f5f; font-size: .9rem; }
.legal-main .legal-source a { color: var(--paper-accent); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-sidebar { position: static; padding: 18px 20px; background: var(--paper-2); border-radius: 10px; }
}

/* Formulários da Central LGPD (privacy.js) */
.privacy-form, .receipt-panel, .request-result { margin-block: 24px 32px; }
.privacy-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-field { margin-bottom: 22px; }
.privacy-form label, .receipt-panel > label { display: block; color: var(--paper-ink); font-size: .95rem; font-weight: 600; margin-bottom: 8px; }
.privacy-form label span { font-weight: 400; color: var(--paper-soft); }
.privacy-form input, .privacy-form textarea, .privacy-form select, #privacy-receipt {
  width: 100%; max-width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #a9ad9b; border-radius: var(--radius); background: #fffdf8; color: var(--paper-ink);
  font: 1rem/1.5 var(--sans); color-scheme: light;
}
.privacy-form textarea, #privacy-receipt { resize: vertical; }
.privacy-form input:focus, .privacy-form textarea:focus, .privacy-form select:focus, #privacy-receipt:focus { outline: 3px solid #b0852f; outline-offset: 2px; border-color: var(--paper-accent); }
.privacy-form input:disabled, .privacy-form textarea:disabled, .privacy-form select:disabled { opacity: .65; cursor: wait; }
.legal-body .field-help, .legal-body .form-safety { font-size: .88rem; line-height: 1.6; color: #5d6a5e; margin: 7px 0 0; }
.legal-body .form-safety { padding-left: 14px; border-left: 2px solid #b0852f; margin-bottom: 22px; }
.field-help-row { display: flex; gap: 18px; justify-content: space-between; align-items: start; }
.field-count { white-space: nowrap; font: .8rem/1.7 var(--mono); padding-top: 8px; color: #5d6a5e; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.legal-body .form-status { margin-block: 16px; padding: 12px 16px; border-left: 3px solid var(--paper-accent); background: #e4eadb; color: #22432f; font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; border-radius: 0 var(--radius) var(--radius) 0; }
.legal-body .form-status.is-error { color: #7a2f22; background: #f4e1d8; border-color: #a5462f; }
.receipt-panel, .request-result { padding: 24px; border: 1px solid var(--paper-line); border-radius: 10px; background: var(--paper-2); }
.legal-body .receipt-panel h3, .legal-body .request-result h3 { margin-top: 0; }
.legal-body .receipt-panel > p { font-size: .95rem; }
#privacy-receipt { display: block; font: .85rem/1.7 var(--mono); word-break: break-all; min-height: 110px; }
.receipt-panel > .button { margin-top: 16px; }
.receipt-next { border-top: 1px solid var(--paper-line); margin-top: 22px; padding-top: 20px; }
.checkbox-label { display: flex; align-items: start; gap: 10px; font-size: .92rem; line-height: 1.6; color: var(--paper-soft); cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--paper-accent); flex: none; }
.receipt-next .button { margin-top: 14px; }
.request-facts { margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.request-facts dt { font: 600 .78rem/1.4 var(--display); text-transform: uppercase; letter-spacing: .14em; color: #66705f; }
.request-facts dd { margin: 3px 0 0; font-size: .98rem; font-weight: 600; color: var(--paper-ink); overflow-wrap: anywhere; }
.legal-body .request-response { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .98rem; }
@media (max-width: 640px) {
  .field-help-row { display: block; }
  .field-count { display: block; }
  .request-facts { grid-template-columns: minmax(0, 1fr); }
  .form-actions { flex-direction: column; align-items: stretch; }
}

/* Página não encontrada */
.not-found {
  min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 22px;
  padding-top: calc(var(--header) + 48px); padding-bottom: 80px;
}
.not-found h1 { font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: .88; }
.not-found h1 span { display: block; color: var(--gold); }
.not-found > p:not(.eyebrow) { color: var(--soft); max-width: 44ch; font-size: 1.1rem; }

/* Movimento: a abertura entra uma vez ao carregar; as seções sobem de leve conforme a rolagem
   (animação ligada à rolagem: sem suporte ou com movimento reduzido, tudo fica parado e visível). */
@keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-content > :nth-child(2) { animation-delay: .08s; }
  .hero-content > :nth-child(3) { animation-delay: .14s; }
  .hero-content > :nth-child(4) { animation-delay: .2s; }
  .hero-content > :nth-child(5) { animation-delay: .26s; }
  .hero-content > :nth-child(6) { animation-delay: .32s; }
  .hero-content > :nth-child(7) { animation-delay: .38s; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .legal-sidebar, .skip-link { display: none; }
  .document-hero { padding: 0 0 16px; }
  .document-hero h1, .document-hero p { color: #000; }
  .legal-main { background: #fff; padding: 0; }
  .legal-layout { display: block; }
  .legal-body, .legal-body p, .legal-body li { color: #000; font-size: 11pt; }
}
