* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 1rem/1.55 system-ui, sans-serif;
}
.estados-do-brasil {
  --background: #f6f5e9;
  --text: #162c24;
  --muted: #40574d;
  --line: #bac8b7;
  --stage: #164b39;
  --glow: #5a8655;
  --accent: #1a593e;
  --button-text: #fff;
}
.quadro-negro {
  --background: #242019;
  --text: #fff4df;
  --muted: #dbccaf;
  --line: #6d5a42;
  --stage: #57422f;
  --glow: #846444;
  --accent: #f5ce89;
  --button-text: #292014;
}
.space-blue {
  --background: #0b1428;
  --text: #f3f7ff;
  --muted: #bbcae2;
  --line: #3d5579;
  --stage: #142445;
  --glow: #244d90;
  --accent: #a4d8ff;
  --button-text: #101a2b;
}
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand { font-weight: 750; text-decoration: none; }
.header-link, .site-footer { color: var(--muted); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(2rem, 6vw, 5rem);
}
.app-name { color: var(--accent); font-size: 1.05rem; font-weight: 750; margin: 0 0 .7rem; }
h1, h2 { margin: 0; text-wrap: balance; }
h1 {
  font-size: clamp(2.75rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.06em;
}
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -.045em; }
.lead { max-width: 36rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); margin: 1.2rem 0 1.55rem; }
.stores, .site-footer nav { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .65rem .95rem;
  border: 1px solid var(--accent);
  border-radius: .65rem;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { text-decoration: underline; }
.primary { background: var(--accent); color: var(--button-text); }
.secondary { color: var(--accent); }
.platforms { margin: .85rem 0 0; color: var(--muted); font-size: .9rem; }
.showcase {
  display: grid;
  place-items: center;
  padding: clamp(1.35rem, 3.8vw, 2.75rem);
  background: radial-gradient(ellipse at 50% 35%, var(--glow), var(--stage) 76%);
  border-radius: 1.75rem;
}
.screen { display: block; max-width: 100%; height: auto; border-radius: 1rem; }
.hero-screen { width: min(100%, 14.75rem); box-shadow: 0 .8rem 2.5rem #0006; }
.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 2.5rem;
  padding-block: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.details-copy dl { margin: 1.4rem 0 0; }
.details-copy dl div { border-top: 1px solid var(--line); padding-block: .8rem; }
dt { font-weight: 750; }
dd { margin: .2rem 0 0; color: var(--muted); }
.gallery { display: grid; justify-items: center; }
.gallery-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gallery .screen { width: min(100%, 12.5rem); border: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }
@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .details { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hero-screen { width: min(100%, 12rem); }
}
@media (max-width: 23rem) {
  .stores { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.paises-e-bandeiras {
  --background: #171437;
  --text: #fcf8ff;
  --muted: #d9d2ef;
  --line: #51466d;
  --stage: #302160;
  --glow: #6842a9;
  --accent: #ffdb69;
  --button-text: #241838;
}

.paises-e-bandeiras .policy {
  max-width: 48rem;
  padding-block: 2rem 3rem;
}
.paises-e-bandeiras .policy h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}
.paises-e-bandeiras .policy a { color: var(--accent); }
