@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/NunitoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/NunitoSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/NunitoSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #f7f1e6;
  --paper-deep: #efe5d3;
  --surface: #fffdf8;
  --ink: #221b14;
  --muted: #6d6153;
  --line: #ded1bc;
  --accent: #1e6b4a;
  --accent-dark: #14503a;
  --accent-soft: #e3f0e6;
  --hint: #a97a12;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -24px rgba(34, 27, 20, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.brand span {
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: var(--ink);
}

.langs {
  display: flex;
  gap: 6px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.langs a {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.langs a[aria-current="true"] {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* --- Hero --- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 88px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.lede {
  max-width: 46ch;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 26px -18px rgba(20, 80, 58, 0.9);
}

.button:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button.soon {
  cursor: default;
  background: var(--paper-deep);
  color: var(--muted);
  box-shadow: none;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

/* --- Escada ilustrada --- */

.ladder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 34px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ladder .row {
  display: flex;
  gap: 8px;
}

.tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}

.tile.changed {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.ladder .hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.ladder .hint strong {
  color: var(--hint);
}

/* --- Faixas --- */

section {
  padding: 12px 0 76px;
}

.section-head {
  max-width: 56ch;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.card .mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* --- Screenshots --- */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.shots img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
}

/* --- Privacidade / páginas de texto --- */

.legal {
  padding: 56px 0 96px;
}

.legal .doc {
  max-width: 72ch;
  padding: 44px clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal h1 {
  font-size: clamp(34px, 4.4vw, 48px);
}

.legal h2 {
  margin: 36px 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal .meta {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.legal .meta strong {
  color: var(--ink);
}

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

.legal li {
  margin: 6px 0;
}

.back {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.back:hover {
  color: var(--ink);
}

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

footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer .foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

footer a {
  color: var(--muted);
}

footer a:hover {
  color: var(--ink);
}

/* --- Responsivo --- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 64px;
  }

  .cards,
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }

  .ladder {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .top {
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .langs {
    padding-left: 10px;
  }

  .cards,
  .shots {
    grid-template-columns: 1fr;
  }

  .tile {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .ladder {
    padding: 26px 18px;
  }
}
