/* GlintLight — site estático. Sem fontes externas, scripts, cookies ou rastreadores. */

:root {
  --bg: #0A0A0B;
  --surface: #16171A;
  --surface-2: #1F2125;
  --border: #2A2C31;
  --text: #F2F2F3;
  --muted: #A3A6AE;
  --accent: #FFB020;
  --accent-ink: #0A0A0B;
  --radius: 14px;
  --max: 960px;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible,
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

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

/* Cabeçalho */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.125rem; letter-spacing: 0.01em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--accent) 0 4px, var(--bg) 4px 8px); box-shadow: inset 0 0 0 1px var(--border); }
.nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.9375rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }

/* Destaque com o padrão de listras */
.hero { padding: 48px 0 32px; }
.hero-grid { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.01em; }
.hero .tagline { color: var(--accent); font-weight: 600; margin: 0 0 16px; font-size: 1.125rem; }
.hero p { color: var(--muted); margin: 0 0 12px; max-width: 56ch; }

.stripes {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
  border-radius: 28px;
  border: 6px solid var(--surface-2);
  background: repeating-linear-gradient(90deg, #FFFFFF 0 14px, #000000 14px 28px);
  background-size: 28px 100%;
  overflow: hidden;
}
.stripes::after {
  /* Simula a listra entortando sobre um amassado. */
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 70%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, #FFFFFF 0 9px, #000000 9px 18px);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  opacity: 0.9;
}

/* Seções e cartões */
section { padding: 24px 0; }
h2 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 16px; }
h3 { font-size: 1.0625rem; margin: 0 0 6px; }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.features li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.features p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.note { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; color: var(--muted); }

.lang-block + .lang-block { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 24px; }

/* Botões das lojas */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 8px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
}
.button small { color: var(--muted); font-size: 0.75rem; }
.button[aria-disabled="true"] { cursor: default; }
.button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.button.primary small { color: var(--accent-ink); opacity: 0.8; }

.links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; }

/* Páginas de texto (política) */
.doc { padding: 40px 0 24px; max-width: 72ch; }
.doc h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.15; margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.doc h2 { font-size: 1.1875rem; margin: 32px 0 8px; }
.doc p,
.doc li { color: #D6D7DB; }
.doc ul { padding-left: 1.25rem; }
.doc strong { color: var(--text); }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.summary p { margin: 0; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--border); margin-top: 32px; padding: 24px 0 40px; color: var(--muted); font-size: 0.875rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (min-width: 720px) {
  .hero { padding: 72px 0 40px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  .stripes { animation: sweep 6s linear infinite; }
  @keyframes sweep { from { background-position: 0 0; } to { background-position: 28px 0; } }
}
