:root {
  --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: 18px; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  position: relative;
  letter-spacing: 0.04em;
  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: 1180px) { .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;
}
.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;
}
.eyebrow--light { color: var(--ocre-claro); }

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);
  margin-bottom: 16px;
}
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: 22px;
  color: var(--marrom-escuro);
  letter-spacing: 0.02em;
}
.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 50px;
  line-height: 1.7;
}
.lead strong { color: var(--marrom-escuro); font-weight: 600; }
p { color: var(--ink-soft); }
p strong { color: var(--marrom-escuro); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 100px 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, 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.5;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(74, 93, 35, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(139, 69, 19, 0.06) 0%, transparent 50%);
}
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 50%, rgba(62, 39, 35, 0.18) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--marrom-escuro);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 12px 0 28px;
}
.hero-title .line-1 {
  display: block;
  font-size: clamp(72px, 12vw, 156px);
  background: linear-gradient(180deg, var(--marrom-escuro) 0%, var(--marrom-medio) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .line-2 {
  display: block;
  font-size: clamp(56px, 10vw, 130px);
  background: linear-gradient(180deg, var(--ocre-escuro) 0%, var(--ocre-dourado) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.hero-slogan {
  font-family: var(--script);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ocre-dourado);
  margin-top: 24px;
}
.hero-pillars {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.pillar { text-align: center; }
.pillar-num {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  color: var(--ocre-escuro);
  letter-spacing: 0.3em;
  margin-bottom: 6px;
}
.pillar-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--marrom-escuro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* ============ APRESENTAÇÃO ============ */
.cols-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) { .cols-2 { grid-template-columns: 1fr; gap: 40px; } }
.cols-2 p { font-size: 16px; margin-bottom: 16px; line-height: 1.75; }

.quote-card {
  background: var(--marrom-escuro);
  color: var(--bege-trigo);
  border-radius: 20px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.quote-mark {
  font-family: var(--display);
  font-size: 80px;
  color: var(--ocre-dourado);
  line-height: 0.5;
  margin-bottom: 8px;
  opacity: 0.7;
}
.quote-text {
  font-family: var(--script);
  font-size: 32px;
  color: var(--bege-trigo);
  line-height: 1.3;
  margin-bottom: 20px;
}
.quote-source {
  font-size: 11px;
  color: var(--ocre-claro);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ============ PILLARS ============ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
@media (max-width: 880px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--ocre-dourado);
  box-shadow: 0 20px 40px -16px rgba(184, 134, 11, 0.3);
}
.pillar-card-num {
  position: absolute;
  top: 20px; right: 28px;
  font-family: var(--display);
  font-size: 60px;
  font-weight: 700;
  color: var(--ocre-dourado);
  opacity: 0.2;
  line-height: 1;
}
.pillar-card-icon {
  font-size: 38px;
  margin-bottom: 18px;
}
.pillar-card h3 { margin-bottom: 12px; font-size: 24px; }
.pillar-card p { font-size: 15px; line-height: 1.7; }

/* ============ LOGO SECTION ============ */
.logo-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-top: 30px;
}
@media (max-width: 880px) { .logo-section { grid-template-columns: 1fr; } }
.logo-art {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(62, 39, 35, 0.2);
}
.logo-art img { width: 90%; height: auto; animation: gentle-spin 80s linear infinite; }
@keyframes gentle-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.logo-art:hover img { animation-play-state: paused; }

.logo-checks {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}
.logo-checks li {
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
}
.logo-checks li::before {
  content: '';
  position: absolute;
  left: 0; top: 19px;
  width: 18px; height: 2px;
  background: var(--ocre-dourado);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ocre-dourado);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--ocre-dourado);
  transition: color 0.2s ease, gap 0.2s ease;
}
.btn-link:hover { color: var(--marrom-escuro); gap: 14px; }

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

.type-card {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.type-card:hover { border-color: var(--ocre-dourado); transform: translateY(-3px); }

.type-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ocre-dourado);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.type-name {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--marrom-escuro);
  margin-bottom: 6px;
}
.type-card--script .type-name {
  font-family: var(--script);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ocre-dourado);
}
.type-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.type-meta em { color: var(--ocre-escuro); }

.type-preview {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 24px;
}
.type-preview--main {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--marrom-escuro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.type-preview--script {
  font-family: var(--script);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--ocre-dourado);
  line-height: 1.3;
}

.type-attr {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.type-attr span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-2);
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* ============ PALETA ============ */
.palette-family { margin-bottom: 50px; }
.palette-family:last-child { margin-bottom: 0; }
.palette-title {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .palette-title { grid-template-columns: 1fr; gap: 8px; } }
.palette-title h3 { font-size: 24px; }
.palette-title p { font-size: 14px; color: var(--ink-soft); }

.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.swatches--2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
@media (max-width: 760px) {
  .swatches, .swatches--2 { grid-template-columns: 1fr; }
}

.swatch {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.swatch:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(62, 39, 35, 0.25);
}
.swatch.copied .swatch-color::after {
  content: 'copiado';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  animation: fade 1.2s ease;
}
@keyframes fade {
  0% { opacity: 0; transform: translate(-50%, -40%); }
  20%, 80% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -60%); }
}

.swatch-color {
  background: var(--c);
  height: 140px;
  position: relative;
}
.swatch-info {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.swatch-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--marrom-escuro);
  letter-spacing: 0.02em;
}
.swatch-hex {
  font-family: monospace;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

/* ============ TOM DE VOZ ============ */
.voice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.voice-tag {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  background: var(--bg-paper);
  color: var(--marrom-escuro);
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ocre-dourado);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.voice-tag:hover {
  background: var(--ocre-dourado);
  color: var(--bg-paper);
  transform: translateY(-2px);
}

.voice-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 760px) { .voice-examples { grid-template-columns: 1fr; } }
.voice-do, .voice-dont {
  background: var(--bg-paper);
  border-radius: 16px;
  padding: 28px 30px;
  border-left: 4px solid;
}
.voice-do { border-left-color: var(--verde-medio); }
.voice-dont { border-left-color: #c8161d; }
.voice-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.voice-label--do { color: var(--verde-medio); }
.voice-label--dont { color: #c8161d; }
.voice-do p, .voice-dont p {
  font-family: var(--script);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.4;
}

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

.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) { .apps-grid { grid-template-columns: 1fr; } }
.apps-col h4 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--marrom-escuro);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.apps-col ul { list-style: none; padding: 0; }
.apps-col ul li {
  padding: 10px 0 10px 26px;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
}
.apps-col ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 19px;
  width: 14px; height: 2px;
  background: var(--ocre-dourado);
}

/* ============ CLOSING ============ */
.closing {
  position: relative;
  padding: 140px 24px;
  background: var(--marrom-escuro);
  color: var(--bege-trigo);
  text-align: center;
  overflow: hidden;
}
.closing-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(200, 150, 62, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(139, 69, 19, 0.3) 0%, transparent 50%);
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 2; }

.closing-title {
  color: var(--bege-trigo);
  margin-bottom: 32px;
}
.closing-title em {
  color: var(--ocre-claro);
  background: linear-gradient(135deg, var(--ocre-claro) 0%, var(--ocre-dourado) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.closing-sub {
  font-family: var(--script);
  font-size: 32px;
  color: var(--ocre-claro);
  margin-bottom: 40px;
}
.closing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 40px;
}
@media (max-width: 760px) { .closing-grid { grid-template-columns: repeat(2, 1fr); } }
.closing-item {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  background: rgba(212, 165, 116, 0.08);
  border: 1px solid rgba(212, 165, 116, 0.3);
  color: var(--ocre-claro);
  padding: 24px 16px;
  border-radius: 14px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.closing-item:hover {
  background: rgba(212, 165, 116, 0.18);
  transform: translateY(-3px);
}
.closing-final {
  font-family: var(--script);
  font-size: 24px;
  color: rgba(245, 222, 179, 0.85);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============ FOOTER ============ */
.foot {
  background: #2a1810;
  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-links { display: flex; gap: 20px; }
.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; }
}
