:root {
  --gold: #c2a878;
  --paper: #faf8f5;
  --background: #faf8f5;
  --foreground: #2c2c2c;
  --primary: #8b5e3c;
  --primary-dark: #4f1e24;
  --primary-foreground: #faf8f5;
  --secondary: #f3efea;
  --muted: #f3efea;
  --muted-foreground: #5c534a;
  --accent: #ede8e1;
  --border: #e8e1d9;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  text-decoration: none;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--muted-foreground);
  font-weight: 500;
  font-size: 0.95rem;
}

nav.main-nav a:hover { color: var(--primary); }

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-toggle button {
  border: none;
  background: transparent;
  padding: 6px 14px;
  cursor: pointer;
  color: var(--muted-foreground);
  font-family: var(--font-sans);
}

.lang-toggle button.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-secondary:hover { background: var(--accent); }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/meuantepassado/old.png");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--primary-dark);
}

.hero p.subtitle {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  margin: 0 0 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Section shells */
section { padding: 88px 0; }

.section-alt { background: var(--secondary); }

.section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header .eyebrow { display: block; }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--primary-dark);
  margin: 0 0 12px;
}

/* Product section */
.product-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px;
  box-shadow: 0 20px 60px -30px rgba(79, 30, 36, 0.25);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.product-header img.product-logo {
  height: 48px;
  width: auto;
}

.product-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary);
  margin: 0 0 20px;
}

.product-description {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 0 40px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.stat {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  background: var(--secondary);
}

.stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--primary-dark);
  font-weight: 700;
  display: block;
}

.stat .label {
  font-size: 0.88rem;
  color: var(--muted-foreground);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

.feature h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--primary-dark);
}

.feature p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-title {
  font-family: var(--font-display);
  text-align: center;
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin: 56px 0 28px;
}

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

.testimonial {
  margin: 0;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
}

.testimonial p {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--foreground);
  font-size: 1.02rem;
  line-height: 1.5;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

/* Traction */
.traction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.traction-item {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 26px;
}

.traction-item h3 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.traction-item p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-grid p {
  color: var(--muted-foreground);
  font-size: 1.02rem;
}

.about-facts {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.about-facts dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
}

.about-facts dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--secondary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner .wordmark { font-size: 1.1rem; }

.footer-meta {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  text-align: right;
}

.footer-meta a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  nav.main-nav { order: 3; width: 100%; justify-content: center; gap: 20px; }
  .product-card { padding: 32px 24px; }
  .stat-row { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .traction-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}
