:root {
  --bone: #EFEDE8;
  --ink: #101010;
  --mid: #6b6b6b;
  --line: rgba(16, 16, 16, 0.12);
  --nav: rgba(239, 237, 232, 0.9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Archivo, system-ui, sans-serif;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 70;
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: var(--nav);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.nav__brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__cta {
  border: 1px solid var(--ink);
  padding: 8px 14px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .nav__hide { display: none; }
}

/* —— Hero (SABLE-inspired, cadeado no lugar da modelo) —— */
#hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__stage {
  position: relative;
  width: min(1100px, 100%);
  height: min(88vh, 820px);
  margin: 0 auto;
}
.hero__wordmark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(4.5rem, 18vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--ink);
  user-select: none;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero__wordmark.in {
  opacity: 0.12;
  transform: translateY(0);
}
.hero__lock {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 2;
  width: min(420px, 62vw);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.8s ease 0.14s, transform 0.8s ease 0.14s;
  filter: contrast(1.06);
}
.hero__lock.in {
  opacity: 1;
}
.hero__lock img {
  width: 100%;
  height: auto;
  background: transparent;
}
.hero__corner {
  position: absolute;
  z-index: 4;
  max-width: 220px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero__corner.in {
  opacity: 1;
  transform: translateY(0);
}
.hero__corner--tl {
  top: clamp(20px, 4vw, 40px);
  left: clamp(16px, 4vw, 40px);
  transition-delay: 0.28s;
}
.hero__corner--br {
  bottom: clamp(20px, 4vw, 40px);
  right: clamp(16px, 4vw, 40px);
  text-align: right;
  transition-delay: 0.42s;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 72px) clamp(16px, 4vw, 24px);
}
.meta {
  color: var(--mid);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.page-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 20px;
  line-height: 1.1;
}
.section-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.card {
  border: 1px solid var(--line);
  padding: 22px;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.35);
}
.card h2, .card .section-title {
  margin-top: 0;
  border: 0;
  padding: 0;
}
ol, ul { padding-left: 1.15rem; }
li { margin: 10px 0; }
code {
  background: rgba(16, 16, 16, 0.06);
  padding: 2px 6px;
  font-size: 0.9em;
}
.note { color: var(--mid); font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-solid {
  display: inline-block;
  background: var(--ink);
  color: var(--bone);
  text-decoration: none;
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-line {
  display: inline-block;
  border: 1px solid var(--ink);
  text-decoration: none;
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 24px) 48px;
  border-top: 1px solid var(--line);
  color: var(--mid);
  font-size: 0.85rem;
}
.site-footer a {
  text-decoration: none;
  font-weight: 600;
  margin-right: 14px;
  color: var(--ink);
}
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.rv.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__wordmark, .hero__lock, .hero__corner, .rv {
    opacity: 1 !important;
    transform: none !important;
  }
}
