/* Paleta espelhada de BPG_APP/lib/core/theme/app_colors.dart.
   Mantida em sincronia com o app de propósito: site e aplicativo precisam
   parecer a mesma marca quando o usuário vem da loja para cá. */
:root {
  --brand: #73b185;
  --brand-deep: #5a9e71;
  --brand-bright: #93d0a9;
  --sunset: #ff8a4c;

  --bg: #171717;
  --surface: #232323;
  --surface-alt: #2b2b2b;
  --border: #3a3a3a;
  --border-soft: #2f2f2f;

  --text: #f4f4f2;
  --text-2: #b4b4b0;
  --text-3: #7e7e7a;

  --max: 960px;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--brand-bright); }
a:hover { color: var(--brand); }

/* ---- Faixa de convite (topo) -------------------------------------------- */

/* Fica acima do cabeçalho e rola junto: é chamada, não aviso permanente.
   Verde translúcido em vez de sólido para não competir com o hero logo abaixo. */
.faixa-topo {
  background: linear-gradient(90deg,
      rgba(115, 177, 133, 0.16), rgba(115, 177, 133, 0.08));
  border-bottom: 1px solid rgba(115, 177, 133, 0.28);
}

.faixa-topo .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.faixa-topo b { color: var(--text); font-weight: 600; }

.faixa-topo a {
  color: var(--brand-bright);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(147, 208, 169, 0.45);
}

.faixa-topo a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

@media (max-width: 560px) {
  .faixa-topo .wrap { font-size: 13.5px; }
}

/* ---- Cabeçalho ---------------------------------------------------------- */

header {
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  background: rgba(23, 23, 23, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.marca img { width: 34px; height: 34px; display: block; }

/* Sigla e nome por extenso empilhados: "BPG" é o que se lê de relance, e
   "Bora Pro Game" é o que se memoriza. Um sem o outro perde metade. */
.marca-txt { display: flex; flex-direction: column; line-height: 1.05; }

.marca-txt b {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 18px;
}

.marca-txt small {
  margin-top: 3px;
  color: var(--text-2);
  font-size: 10.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  margin-left: 22px;
}

nav a:hover { color: var(--text); }

/* ---- Hero --------------------------------------------------------------- */

.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border-soft);
}

/* Nome por extenso acima do título: entra como assinatura da marca, sem
   disputar a chamada principal, que é o que vende. */
.sobrenome {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--brand);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero h1 span { color: var(--brand); }

.hero p {
  margin: 0 0 32px;
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--text-2);
  max-width: 620px;
}

/* ---- Seções ------------------------------------------------------------- */

section { padding: 72px 0; border-bottom: 1px solid var(--border-soft); }

h2 {
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.sub { color: var(--text-2); margin: 0 0 36px; max-width: 620px; }

.grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

/* Sete cartões numa grade de três colunas deixariam o último esticado sozinho
   na última linha. Fixar a largura máxima e centralizar resolve sem inventar
   um oitavo recurso só para fechar a conta. */
.grade--centro {
  grid-template-columns: repeat(auto-fit, minmax(250px, 296px));
  justify-content: center;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

/* Selo do ícone: verde translúcido, no mesmo desenho dos atalhos do app.
   `currentColor` no SVG faz o traço herdar a cor daqui — trocar a marca é
   mudar uma linha, não doze arquivos. */
.card .icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  border-radius: 12px;
  background: rgba(115, 177, 133, 0.13);
  border: 1px solid rgba(115, 177, 133, 0.22);
  color: var(--brand-bright);
}

.card .icone svg {
  display: block;
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.card p { margin: 0; color: var(--text-2); font-size: 15.5px; }

.risco {
  width: 30px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin-bottom: 18px;
}

/* ---- Galeria de telas --------------------------------------------------- */

/* Tira em rolagem horizontal no celular, grade fixa a partir de tablet. Sem
   isso, quatro telas lado a lado ficam ilegíveis em 375px de largura. */
.telas {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 210px;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.tela { scroll-snap-align: start; }

/* Moldura de celular: bezel escuro com o screenshot recortado dentro. */
.moldura {
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 7px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.moldura img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.tela figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-2);
  text-align: center;
}

.tela figcaption b {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

@media (min-width: 720px) {
  .telas {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: initial;
    overflow-x: visible;
    row-gap: 30px;
  }
}

/* ---- Contato ------------------------------------------------------------ */

.contato {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}

.email {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 600;
  color: var(--brand-bright);
  text-decoration: none;
  word-break: break-all;
}

.email:hover { color: var(--brand); text-decoration: underline; }

.contato small { display: block; margin-top: 14px; color: var(--text-3); }

/* ---- Rodapé ------------------------------------------------------------- */

footer {
  padding: 34px 0 46px;
  color: var(--text-3);
  font-size: 14px;
}

.rodape {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
}

footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* ---- Páginas de texto (política e termos) ------------------------------- */

.doc { padding: 64px 0 24px; }

.doc h1 { font-size: clamp(28px, 4.4vw, 38px); margin: 0 0 8px; letter-spacing: -0.02em; }

.doc .data { color: var(--text-3); font-size: 14.5px; margin: 0 0 40px; }

.doc h2 { font-size: 21px; margin: 44px 0 10px; }

.doc h3 { font-size: 17px; margin: 26px 0 6px; color: var(--text); }

.doc p, .doc li { color: var(--text-2); }

.doc ul { padding-left: 22px; }

.doc li { margin-bottom: 8px; }

.doc strong { color: var(--text); font-weight: 600; }

.aviso {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sunset);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 32px 0;
  font-size: 15.5px;
}

.aviso p { margin: 0; }

table.dados {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  font-size: 15.5px;
}

table.dados th, table.dados td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

table.dados th { color: var(--text); font-weight: 600; }

table.dados td { color: var(--text-2); }

.rolagem { overflow-x: auto; }

@media (max-width: 560px) {
  section { padding: 56px 0; }
  .hero { padding: 68px 0 56px; }
  nav a { margin-left: 16px; font-size: 14px; }
  .sobrenome { letter-spacing: 3px; font-size: 12px; }
  /* Com quatro itens de menu, o nome por extenso no cabeçalho aperta demais
     em telas estreitas. Ele continua logo abaixo, no topo do hero. */
  .marca-txt small { display: none; }
}
