/* Quadros Que Vendem — Unova Design */
:root {
  --ink: #140822;
  --ink-soft: #2a1b3d;
  --cream: #f6f1e8;
  --cream-2: #efe7d6;
  --cream-3: #e5d9c2;
  --purple: #6b2ea6;
  --purple-deep: #3d1768;
  --purple-dark: #25104a;
  --gold: #d4a437;
  --gold-soft: #e8c976;
  --gold-deep: #a67a1c;
  --muted: #5a4a6b;
  --line: rgba(20, 8, 34, 0.12);

  --serif: "Zain", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --script: "Allura", "Dancing Script", cursive;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* Typography utilities */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before, .eyebrow.two-sides::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--purple);
  opacity: 0.5;
}
.eyebrow-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--purple-dark);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 500;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  font-weight: 500;
}
h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
}
.italic { font-style: italic; }
.script { font-family: var(--script); font-weight: 400; }

.lede {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 620px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(107, 46, 166, 0.6);
}
.btn-primary:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(107, 46, 166, 0.7);
}
.btn-gold {
  background: var(--gold);
  color: var(--purple-dark);
  box-shadow: 0 10px 28px -12px rgba(212, 164, 55, 0.7);
}
.btn-gold:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-lg { padding: 22px 42px; font-size: 14px; }

/* Section rhythm */
section { padding: 140px 0; position: relative; }
section.tight { padding: 90px 0; }
section.dark {
  background: var(--ink);
  color: var(--cream);
}
section.dark h1, section.dark h2, section.dark h3 { color: var(--cream); }
section.dark .lede { color: rgba(246, 241, 232, 0.72); }
section.dark .eyebrow { color: var(--gold-soft); }
section.dark .eyebrow::before, section.dark .eyebrow.two-sides::after { background: var(--gold-soft); }

section.deep-purple {
  background: var(--purple-dark);
  color: var(--cream);
}
section.deep-purple h1, section.deep-purple h2, section.deep-purple h3 { color: var(--cream); }
section.deep-purple .eyebrow { color: var(--gold-soft); }
section.deep-purple .eyebrow::before, section.deep-purple .eyebrow.two-sides::after { background: var(--gold-soft); }
section.deep-purple .lede { color: rgba(246, 241, 232, 0.75); }

.section-head { text-align: center; margin-bottom: 80px; }
.section-head .lede { margin: 22px auto 0; }

/* Decorative script behind headings */
.script-bg {
  position: absolute;
  font-family: var(--script);
  color: var(--gold);
  opacity: 0.14;
  font-size: 380px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: 0;
  max-width: 100%;
  overflow: hidden;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--line);
}
.card-dark {
  background: var(--ink-soft);
  color: var(--cream);
  border-radius: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(232, 201, 118, 0.1);
}
.check-card {
  background: rgba(62, 42, 90, 0.92);
  color: var(--cream);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(232, 201, 118, 0.2);
  backdrop-filter: blur(6px);
}
.check-card .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
  font-size: 12px;
}

/* Divider */
.divider {
  width: 60px;
  height: 1px;
  background: var(--ink);
  opacity: 0.25;
  margin: 28px auto;
}
.divider.gold { background: var(--gold); opacity: 0.6; }

/* Utility */
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 34px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

@media (max-width: 820px) {
  body { font-size: 16px; }
  section { padding: 112px 0; overflow: hidden; }
  section.tight { padding: 84px 0; }
  .section-head { margin-bottom: 64px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 36px; }
  .wrap, .wrap-narrow { padding: 0 24px; }
  .script-bg { font-size: 200px; }
  .btn { white-space: normal; }
  .btn-lg { padding: 18px 28px; font-size: 13px; }
}

/* ============ SCROLL-REVEAL ANIMATIONS (lightweight) ============ */
[data-anim] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-anim="fade"]  { transform: none; }
[data-anim="scale"] { transform: scale(0.92); }
[data-anim="left"]  { transform: translate3d(-36px, 0, 0); }
[data-anim="right"] { transform: translate3d(36px, 0, 0); }
[data-anim].in-view {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: 0.10s; }
[data-delay="2"] { transition-delay: 0.20s; }
[data-delay="3"] { transition-delay: 0.30s; }
[data-delay="4"] { transition-delay: 0.40s; }
[data-delay="5"] { transition-delay: 0.50s; }
[data-delay="6"] { transition-delay: 0.60s; }

/* Stagger children inside a parent */
[data-anim-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-anim-stagger].in-view > * { opacity: 1; transform: none; }
[data-anim-stagger].in-view > *:nth-child(1)  { transition-delay: 0.00s; }
[data-anim-stagger].in-view > *:nth-child(2)  { transition-delay: 0.08s; }
[data-anim-stagger].in-view > *:nth-child(3)  { transition-delay: 0.16s; }
[data-anim-stagger].in-view > *:nth-child(4)  { transition-delay: 0.24s; }
[data-anim-stagger].in-view > *:nth-child(5)  { transition-delay: 0.32s; }
[data-anim-stagger].in-view > *:nth-child(6)  { transition-delay: 0.40s; }
[data-anim-stagger].in-view > *:nth-child(7)  { transition-delay: 0.48s; }
[data-anim-stagger].in-view > *:nth-child(8)  { transition-delay: 0.56s; }
[data-anim-stagger].in-view > *:nth-child(9)  { transition-delay: 0.64s; }
[data-anim-stagger].in-view > *:nth-child(10) { transition-delay: 0.72s; }
[data-anim-stagger].in-view > *:nth-child(n+11) { transition-delay: 0.8s; }

@media (prefers-reduced-motion: reduce) {
  [data-anim],
  [data-anim-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
