/* The front page (index.html). Same identity as the guest page
   (style.css): its fonts and Material Theme Builder colors, copied here so
   the front page loads only what it uses. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin.woff2?v=cb322c21) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext.woff2?v=cb322c21) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(fonts/material-symbols-rounded.woff2?v=cb322c21) format("woff2");
}

:root {
  color-scheme: light;
  --primary: #3e6700;
  --on-primary: #ffffff;
  --secondary-container: #cceea1;
  --on-secondary-container: #516d2f;
  --surface: #f7fbea;
  --on-surface: #191d13;
  --on-surface-variant: #424937;
  --outline-variant: #c2cab2;
  --container-lowest: #ffffff;
  --container: #ecf0df;
  --inverse-surface: #2e3227;
  --inverse-on-surface: #eff2e2;
  --card-shadow: 0 2px 12px rgb(25 29 19 / 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --primary: #97d945;
    --on-primary: #1f3700;
    --secondary-container: #365016;
    --on-secondary-container: #a3c37b;
    --surface: #11150b;
    --on-surface: #e0e4d4;
    --on-surface-variant: #c2cab2;
    --outline-variant: #424937;
    --container-lowest: #191d13;
    --container: #1d2117;
    --inverse-surface: #e0e4d4;
    --inverse-on-surface: #2e3227;
    --card-shadow: 0 2px 12px rgb(0 0 0 / 0.3);
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.ms {
  font-family: "Material Symbols Rounded";
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

/* --- Top bar ------------------------------------------------------------ */

.topbar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #3e6700;
  color: #ffffff;
}

.logo .ms {
  font-size: 22px;
}

.languages {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--container);
}

.languages a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--on-surface-variant);
}

html[lang="pt-BR"] .languages a[hreflang="pt-BR"],
html[lang="en"] .languages a[hreflang="en"],
html[lang="es"] .languages a[hreflang="es"] {
  background: var(--container-lowest);
  color: var(--on-surface);
  box-shadow: var(--card-shadow);
}

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

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 32px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -140px;
  border-radius: 50%;
  background: var(--secondary-container);
  opacity: 0.6;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 1.125rem;
  color: var(--on-surface-variant);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.store.play {
  background: var(--inverse-surface);
  color: var(--inverse-on-surface);
}

.store.play:hover {
  filter: brightness(1.15);
}

.store.soon {
  border: 2px dashed var(--outline-variant);
  color: var(--on-surface-variant);
  cursor: default;
}

.fine {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

.hero-art {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  height: auto;
}

.hero-art text {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  fill: #191d13;
}

.art-shadow {
  fill: #191d13;
  opacity: 0.1;
}

.art-place {
  font-size: 22px;
  font-weight: 800;
}

.art-rule {
  stroke: #c4c8b8;
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.art-items text {
  font-size: 19px;
  font-weight: 600;
}

.hero-art .art-avatar {
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
  fill: #ffffff;
}

.hero-art .art-total {
  font-size: 20px;
  font-weight: 800;
  fill: #3e6700;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
    padding: 56px 0 80px;
  }
}

/* --- Sections ------------------------------------------------------------ */

.section {
  padding: 0 0 56px;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Six features: three per row on a wide screen, not four and two. */
.features {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  padding: 24px;
  border-radius: 20px;
  background: var(--container-lowest);
  box-shadow: var(--card-shadow);
}

.card h3 {
  margin: 16px 0 6px;
  font-size: 1.125rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--on-surface-variant);
}

.badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

/* --- Call to action and footer -------------------------------------------- */

.cta {
  margin: 0 0 56px;
  padding: 40px 24px;
  border-radius: 28px;
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
}

.cta p {
  margin: 0 0 24px;
  font-size: 1.125rem;
}

.cta .stores {
  justify-content: center;
}

.cta .store.play {
  background: var(--on-primary);
  color: var(--primary);
}

.cta .store.soon {
  border-color: currentColor;
  color: inherit;
  opacity: 0.8;
}

.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}
