:root {
  /* Paleta oficial Nação Canastra */
  --ocre-claro: #d4a574;
  --ocre-dourado: #c8963e;
  --ocre-escuro: #b8860b;
  --verde-claro: #8a9a5b;
  --verde-medio: #697d3b;
  --verde-escuro: #4a5d23;
  --marrom-medio: #8b4513;
  --marrom-choco: #6b4423;
  --marrom-escuro: #3e2723;
  --bege-trigo: #f5deb3;
  --bege-tan: #d2b48c;
  --bege-areia: #c9a882;
  --terra-queimada: #8b7355;
  --argila: #a0826d;

  --bg: #fbf5e8;
  --bg-2: #f5e8d0;
  --bg-paper: #fff9ed;
  --ink: #2a1810;
  --ink-soft: #6b4423;
  --line: rgba(107, 68, 35, 0.15);
  --line-strong: rgba(107, 68, 35, 0.3);

  --display: 'Cinzel', 'Westroon Demo', serif;
  --script: 'Pinyon Script', 'Apple Chancery', cursive;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ============ TOPBAR ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 232, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg-paper);
  padding: 3px;
  border: 1px solid var(--line);
  filter: drop-shadow(0 4px 10px rgba(184, 134, 11, 0.15));
  transition: transform 0.3s ease;
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-pre {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ocre-escuro);
  font-weight: 600;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  margin-top: 3px;
  color: var(--marrom-escuro);
  letter-spacing: 0.04em;
}
.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  position: relative;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--ocre-dourado);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--marrom-escuro); }
.nav a:hover::after { width: 100%; }
@media (max-width: 1080px) { .nav { display: none; } }

.link-manual {
  font-size: 13px;
  color: var(--ocre-dourado);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--ocre-dourado);
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.link-manual:hover { color: var(--marrom-escuro); }

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ocre-escuro);
  font-weight: 600;
  margin-bottom: 16px;
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--marrom-escuro);
}
h2 em {
  font-family: var(--script);
  font-style: italic;
  font-weight: 400;
  color: var(--ocre-dourado);
  font-size: 1.15em;
  letter-spacing: 0;
}
h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  color: var(--marrom-escuro);
  letter-spacing: 0.02em;
}
.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 60px;
  line-height: 1.65;
}
.lead strong { color: var(--marrom-escuro); font-weight: 600; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 100px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, var(--bg-paper) 0%, var(--bg) 60%, var(--bg-2) 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(184, 134, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(74, 93, 35, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(139, 69, 19, 0.05) 0%, transparent 50%);
}
.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(62, 39, 35, 0.15) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }

.hero-logo-wrap {
  position: relative;
  width: clamp(260px, 38vw, 420px);
  aspect-ratio: 1;
  margin: 24px auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-orbit {
  position: absolute;
  inset: -8%;
  border: 1px dashed var(--ocre-dourado);
  border-radius: 50%;
  opacity: 0.4;
  animation: orbit 80s linear infinite;
}
.hero-logo-orbit::before, .hero-logo-orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.hero-logo-orbit::before {
  inset: 14%;
  border-color: rgba(200, 150, 62, 0.25);
  border-style: dotted;
}
.hero-logo-orbit::after {
  inset: -8%;
  border-color: rgba(184, 134, 11, 0.18);
}
@keyframes orbit { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.hero-logo-img {
  position: relative;
  z-index: 2;
  width: 84%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(62, 39, 35, 0.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: 0.06em;
  color: var(--marrom-escuro);
  text-transform: uppercase;
  line-height: 1;
}
.hero-slogan {
  font-family: var(--script);
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--ocre-dourado);
  margin-top: 12px;
  font-weight: 400;
}
.hero-cue {
  display: inline-block;
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--ocre-dourado);
  padding-bottom: 4px;
  transition: color 0.2s ease;
  animation: bob 2s ease-in-out infinite;
}
.hero-cue:hover { color: var(--marrom-escuro); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============ SECTIONS ============ */
.section {
  padding: 120px 24px;
  position: relative;
}
.section--alt {
  background: var(--bg-2);
}
@media (max-width: 880px) { .section { padding: 80px 24px; } }

/* ============ ANATOMIA ============ */
.anatomia-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 880px) { .anatomia-stage { grid-template-columns: 1fr; gap: 40px; } }

.anatomia-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
}
.anatomia-art img { width: 100%; height: auto; }

.hot {
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid var(--ocre-dourado);
  border-radius: 50%;
  background: rgba(255, 249, 237, 0.9);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 3;
}
.hot::after {
  content: attr(data-pop);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--marrom-escuro);
  color: var(--bege-trigo);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.hot:hover { background: var(--ocre-dourado); transform: scale(1.2); }
.hot:hover::after { opacity: 1; }
.hot-1 { top: 22%; left: 50%; transform: translate(-50%, -50%); }
.hot-2 { top: 60%; left: 50%; transform: translate(-50%, -50%); }
.hot-3 { top: 76%; left: 50%; transform: translate(-50%, -50%); }
.hot-4 { top: 50%; left: 88%; transform: translate(-50%, -50%); }

.anatomia-list { display: flex; flex-direction: column; gap: 24px; }
.anat-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.anat-item:last-child { border-bottom: none; }
.anat-num {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ocre-dourado);
  line-height: 1;
}
.anat-item h3 { margin-bottom: 6px; }
.anat-item p { color: var(--ink-soft); font-size: 15px; }

/* ============ VARIAÇÕES ============ */
.versions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.version {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.version:hover {
  transform: translateY(-4px);
  border-color: var(--ocre-dourado);
  box-shadow: 0 16px 40px -16px rgba(184, 134, 11, 0.3);
}
.version-art {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.version-art img { width: 80%; height: auto; }
.version--primary .version-art { background: var(--bege-trigo); }
.version--mono-dark .version-art { background: var(--bege-areia); }
.version--mono-light .version-art {
  background: var(--marrom-escuro);
}
.version--mono-light .version-art img { filter: invert(1) brightness(1.1); }
.version--watermark .version-art { background: var(--bg-paper); }
.version--watermark .version-art img { opacity: 0.18; }

.version-info { padding: 24px 28px 28px; }
.version-tag {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ocre-dourado);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.version-info h3 { margin-bottom: 6px; }
.version-info p { color: var(--ink-soft); font-size: 14px; }

/* ============ PROTEÇÃO ============ */
.protect-stage {
  position: relative;
  max-width: 600px;
  margin: 40px auto 24px;
  aspect-ratio: 1;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14%;
}
.protect-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.grid-h, .grid-v {
  position: absolute;
  background: var(--ocre-dourado);
  opacity: 0.3;
}
.grid-h { left: 0; right: 0; height: 1px; }
.grid-v { top: 0; bottom: 0; width: 1px; }
.grid-h-1 { top: 14%; }
.grid-h-2 { bottom: 14%; }
.grid-v-1 { left: 14%; }
.grid-v-2 { right: 14%; }

.protect-logo {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.protect-logo > img { width: 100%; height: 100%; object-fit: contain; }
.measure {
  position: absolute;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ocre-dourado);
  background: var(--bg-paper);
  padding: 4px 10px;
  border: 1px dashed var(--ocre-dourado);
  border-radius: 4px;
}
.measure-top { top: -12%; left: 50%; transform: translateX(-50%); }
.measure-bottom { bottom: -12%; left: 50%; transform: translateX(-50%); }
.measure-left { top: 50%; left: -12%; transform: translateY(-50%); }
.measure-right { top: 50%; right: -12%; transform: translateY(-50%); }
.protect-caption {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}
.protect-caption strong { color: var(--marrom-escuro); }

/* ============ TAMANHO ============ */
.sizes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 760px) { .sizes-grid { grid-template-columns: 1fr; } }

.size-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.size-visual {
  background: var(--bg);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.size-visual--print img { width: 113px; height: auto; } /* ~3cm at 96dpi */
.size-visual--digital img { width: 250px; height: auto; }
.ruler {
  position: absolute;
  bottom: 16px;
  font-family: monospace;
  font-size: 12px;
  color: var(--ocre-escuro);
  background: var(--bg-paper);
  padding: 4px 10px;
  border: 1px solid var(--ocre-dourado);
  border-radius: 4px;
  letter-spacing: 0.1em;
}
.size-info { padding: 24px 28px 28px; }
.size-tag {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ocre-dourado);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.size-info h3 { margin-bottom: 8px; }
.size-info p { color: var(--ink-soft); font-size: 14px; }

/* ============ INCORRETOS ============ */
.dont-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.dont {
  background: var(--bg-paper);
  border: 1px solid rgba(200, 22, 29, 0.25);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.dont-art {
  background: var(--bg-2);
  aspect-ratio: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
  position: relative;
}
.dont-art img { width: 60%; height: auto; }
.dont-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 49%, rgba(200, 22, 29, 0.55) 49.5%, rgba(200, 22, 29, 0.55) 50.5%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(200, 22, 29, 0.55) 49.5%, rgba(200, 22, 29, 0.55) 50.5%, transparent 51%);
  pointer-events: none;
}

.dont-stretch img { transform: scaleX(1.6) scaleY(0.7); }
.dont-rotate img { transform: rotate(35deg); }
.dont-shadow img { filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px red); }
.dont-color img { filter: hue-rotate(180deg) saturate(2); }
.dont-bg { background: #5a4a3e; }
.dont-bg img { opacity: 0.8; }
.dont-remove img { clip-path: inset(0 0 30% 0); }

.dont-info {
  padding: 24px 28px 28px;
  position: relative;
}
.dont-x {
  position: absolute;
  top: 16px; right: 20px;
  width: 32px; height: 32px;
  background: rgba(200, 22, 29, 0.12);
  border: 1px solid rgba(200, 22, 29, 0.4);
  color: #c8161d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
.dont-info h3 { margin-bottom: 6px; padding-right: 40px; }
.dont-info p { color: var(--ink-soft); font-size: 14px; }

/* ============ APLICAÇÕES ============ */
.apps-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin: 40px 0 40px;
  box-shadow: 0 30px 60px -20px rgba(62, 39, 35, 0.25);
}
.apps-card img { width: 100%; height: auto; display: block; }

.apps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.app-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.app-card:hover { transform: translateY(-3px); border-color: var(--ocre-dourado); }
.app-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.app-card h4 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--marrom-escuro);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.app-card p { font-size: 12px; color: var(--ink-soft); }

/* ============ CTA FINAL ============ */
.cta-final {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--marrom-escuro) 100%);
  color: var(--bege-trigo);
  text-align: center;
}
.cta-final h2 { color: var(--bege-trigo); }
.cta-final h2 em { color: var(--ocre-claro); }
.cta-sub {
  font-size: 17px;
  color: rgba(245, 222, 179, 0.75);
  margin: 24px 0 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ocre-dourado);
  color: var(--marrom-escuro);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px -6px rgba(184, 134, 11, 0.5);
}
.btn-primary:hover {
  background: var(--ocre-claro);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -6px rgba(184, 134, 11, 0.7);
}

/* ============ FOOTER ============ */
.foot {
  background: var(--marrom-escuro);
  padding: 32px 24px;
  border-top: 1px solid rgba(212, 165, 116, 0.2);
  color: var(--bege-trigo);
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bege-trigo);
  padding: 3px;
  flex-shrink: 0;
}
.foot-name { display: block; color: rgba(245, 222, 179, 0.85); font-size: 13px; }
.foot-tag {
  display: block;
  font-family: var(--script);
  font-size: 14px;
  color: var(--ocre-claro);
  margin-top: 2px;
}
.foot a { color: var(--ocre-claro); text-decoration: none; font-size: 13px; }
.foot a:hover { color: var(--bege-trigo); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
