:root {
  --bg: #0b0c10;
  --bg-alt: #101218;
  --surface: #ffffff;
  --surface-alt: #f6f5f2;
  --ink: #121214;
  --ink-soft: #55565f;
  --ink-invert: #f4f2ec;
  --ink-invert-soft: #b8b7c2;
  --gold: #c9a24b;
  --gold-soft: #e7d19f;
  --line: #e7e5df;
  --line-dark: #24262f;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(20, 18, 10, 0.25);
  --font-display: "Playfair Display", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink-invert);
  letter-spacing: 0.02em;
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}
.nav-links a {
  color: var(--ink-invert-soft);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink-invert); }
.nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-soft) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink-invert);
  border-radius: 2px;
}

/* ===== SHARED ===== */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.section { padding: 110px 0; }
.section-dark {
  background: var(--bg);
  color: var(--ink-invert);
}
.section-dark .eyebrow { color: var(--gold-soft); }
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  max-width: 820px;
  margin-bottom: 22px;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title em { font-style: italic; color: var(--gold); }
.section-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 16px;
}
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-dark .section-lead { color: var(--ink-invert-soft); }
.section-dark strong { color: var(--gold-soft); }

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

.card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.section-dark .card {
  background: #15171f;
  border-color: var(--line-dark);
}
.card-icon { font-size: 1.9rem; display: block; margin-bottom: 16px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.section-dark .card p { color: var(--ink-invert-soft); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #17140a; }
.btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(201,162,75,0.6); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--surface); }
.btn-outline-dark { border-color: var(--ink-invert); color: var(--ink-invert); background: transparent; }
.btn-outline-dark:hover { background: var(--ink-invert); color: var(--bg); }
.btn-block { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top, #16181f 0%, var(--bg) 60%);
  color: var(--ink-invert);
  padding: 110px 0 130px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(circle, rgba(201,162,75,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-visual { position: relative; }
.hero-visual img.hero-visual-desktop { width: 100%; height: auto; display: block; }
.hero-visual img.hero-visual-mobile { width: 100%; height: auto; display: none; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-visual { order: -1; }
}
@media (max-width: 640px) {
  .hero-inner { gap: 12px; }
  .hero-visual { max-width: 100%; margin: 0; }
  .hero-visual img.hero-visual-desktop { display: none; }
  .hero-visual img.hero-visual-mobile { display: block; }
  .hero-copy { padding-top: 8px; }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead {
  font-size: 1.18rem;
  color: var(--ink-invert-soft);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; }

/* ===== PROBLEMA cards ===== */
.cards-pain { grid-template-columns: repeat(4, 1fr); }

/* ===== MÉTODO ===== */
.cards-pillar { grid-template-columns: repeat(3, 1fr); }
.card-pillar { text-align: left; }
.section-cta-inline {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ===== MÓDULOS ===== */
.mockup-image {
  margin: 48px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
}
.mockup-image img { width: 100%; height: auto; display: block; }
.module-group-title {
  margin: 56px 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.module-group-title .lock { font-size: 1rem; }
.module-group-title.group-included { color: #3a9e50; }
.module-group-title.group-addon { color: var(--gold); }
.cards-module { margin-top: 24px; }
.card-module.included { border-color: var(--gold-soft); background: #fbf6ea; }

/* ===== PARA QUEM É ===== */
.cards-public { grid-template-columns: repeat(2, 1fr); }
.card-public .highlight {
  margin-top: 14px;
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== PLANOS ===== */
.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 36px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.billing-btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-soft);
}
.billing-btn.active { background: var(--ink); color: var(--surface); }
.badge-save {
  font-size: 0.7rem;
  color: var(--gold);
  margin-left: 4px;
}

.cards-plan { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.card-plan { display: flex; flex-direction: column; }
.plan-popular-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 10px;
}
.plan-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.plan-tag-starter { background: #e7f5ea; color: #2f7a3c; }
.plan-tag-base { background: #e7edfb; color: #2b52b0; }
.plan-tag-enterprise { background: #21232c; color: var(--gold-soft); }
.plan-desc { color: var(--ink-soft); margin-bottom: 22px; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.plan-features li {
  font-size: 0.94rem;
  color: var(--ink);
  padding-left: 24px;
  position: relative;
}
.plan-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
}
.plan-price { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; font-family: var(--font-display); }
.card-plan:not(.card-plan-featured):not(.card-plan-enterprise) .plan-price { color: var(--gold); }
.plan-price .fill {
  background: linear-gradient(transparent 60%, var(--gold-soft) 60%);
  padding: 0 2px;
}
.plan-note { margin-top: 16px; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

.card-plan-featured {
  background: var(--ink);
  color: var(--ink-invert);
  border-color: var(--ink);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.card-plan-featured .plan-desc,
.card-plan-featured .plan-features li { color: var(--ink-invert-soft); }
.card-plan-featured .plan-features li { color: var(--ink-invert); }
.card-plan-featured .plan-price { color: var(--ink-invert); }

.card-plan-enterprise { background: #15171f; color: var(--ink-invert); border-color: var(--line-dark); }
.card-plan-enterprise .plan-desc,
.card-plan-enterprise .plan-features li { color: var(--ink-invert-soft); }
.card-plan-enterprise .plan-price { color: var(--gold-soft); }

/* ===== CTA / CONTATO ===== */
.section-cta {
  background: var(--bg);
  color: var(--ink-invert);
  padding-bottom: 64px;
}
.contato-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.contato-copy .section-title { text-align: left; margin-left: 0; }
.contato-copy .section-lead { text-align: left; margin-left: 0; }
.contato-note { color: var(--ink-invert-soft); font-size: 0.88rem; margin-top: 8px; }

.contato-form {
  background: #15171f;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-invert-soft); }
.form-field input, .form-field select {
  background: #1c1e27;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--ink-invert);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-field input:focus, .form-field select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-status { font-size: 0.88rem; min-height: 1.2em; color: var(--gold-soft); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-dark);
  color: var(--ink-invert-soft);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer-legal a:hover { color: var(--ink-invert); }

@media (max-width: 640px) {
  .footer-inner { justify-content: center; text-align: center; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-public { grid-template-columns: 1fr; }
  .contato-inner { grid-template-columns: 1fr; }
  .card-plan-featured { transform: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { white-space: normal; font-size: 1rem; }
  .nav-cta { align-self: flex-start; }
}
@media (max-width: 720px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 90px; }
  .section { padding: 76px 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: 76px; }
}
