:root {
  --purple: #6D40A5;
  --purple-dark: #411878;
  --lavender: #B2A8EE;
  --purple-black: #1A1042;
  --sage: #DEE8D3;
  --black: #000000;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  --text: var(--purple-black);
  --text-muted: #5a5470;
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1160px;
  --shadow: 0 10px 30px rgba(26, 16, 66, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--purple-dark);
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple-dark);
}
.btn-outline:hover { background: var(--lavender); }

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-header { display: none; }

.icon-wa { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Brand mark ---------- */
.brand-mark {
  width: 28px;
  height: 28px;
  fill: var(--purple);
  flex-shrink: 0;
}
.brand-mark--sm { width: 34px; height: 34px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(109,64,165,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand-word {
  font-weight: 800;
  font-size: 19px;
  color: var(--purple-dark);
}
.brand-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  background: var(--sage);
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.main-nav {
  display: none;
  gap: 26px;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
}
.main-nav a:hover { color: var(--purple); }

.nav-toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: var(--sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--purple-dark);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .main-nav { display: flex; margin-right: 24px; }
  .btn-header { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* mobile nav open state */
body.nav-open .main-nav {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--white);
  padding: 16px 24px 20px;
  gap: 14px;
  box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--sage) 0%, #eef2e6 60%, var(--white) 100%);
  padding: 64px 0 56px;
}
.hero-inner { text-align: center; max-width: 780px; }
.eyebrow {
  color: var(--purple);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 28px 0 40px;
}

.trust-bar {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
}
.trust-bar li {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  box-shadow: var(--shadow);
}
.trust-bar strong { font-size: 20px; color: var(--purple-dark); }
.trust-bar span { font-size: 12.5px; color: var(--text-muted); }

@media (min-width: 700px) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #f7f5fb; }
.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 16px;
}

.disclaimer-inline {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  max-width: 720px;
  margin: 20px auto 0;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; }
.step p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ---------- Quiz ---------- */
.quiz-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 30px;
}
.quiz-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 20px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-option {
  text-align: left;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--lavender);
  background: var(--white);
  font-size: 15px;
  font-weight: 600;
  color: var(--purple-dark);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.quiz-option:hover { background: var(--sage); border-color: var(--purple); }

.quiz-result { text-align: center; }
.quiz-result-label {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.quiz-result-plan {
  font-size: 34px;
  margin-bottom: 12px;
}
.quiz-result-desc { color: var(--text-muted); }
.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 10px;
}
.quiz-restart {
  background: none;
  border: none;
  color: var(--purple);
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
}

/* ---------- Plans ---------- */
.plans-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1050px) {
  .plans-grid { grid-template-columns: repeat(5, 1fr); }
}
.plan-card {
  position: relative;
  background: var(--white);
  border: 2px solid #eee7f7;
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.plan-card--focus {
  border-color: var(--purple);
  background: linear-gradient(180deg, #ffffff 0%, #f6f1fc 100%);
  padding-top: 42px;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 44px);
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: center;
}
.plan-card h3 { font-size: 20px; margin-bottom: 2px; }
.plan-price {
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  min-height: 66px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-features li {
  font-size: 13.5px;
  padding-left: 20px;
  position: relative;
  color: var(--text);
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 800;
}

/* ---------- Comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.compare-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  background: var(--white);
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid #f0ecf7;
}
.compare-table th {
  background: var(--purple-dark);
  color: var(--white);
  font-weight: 700;
  position: sticky;
  top: 0;
}
.compare-table tbody tr:nth-child(even) { background: #faf8fd; }

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-item {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.why-item h3 { font-size: 17px; }
.why-item p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid #eee7f7;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--purple-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: "+";
  font-size: 20px;
  color: var(--purple);
  margin-left: 12px;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { content: "–"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  background: #faf8fd;
}
.faq-answer p {
  padding: 4px 20px 18px;
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}
.business-name { font-weight: 700; color: var(--purple-dark); }

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--purple-dark);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-final h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); }
.cta-final p { color: var(--lavender); max-width: 480px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-black);
  color: #cfc7e6;
  padding: 48px 0 20px;
}
.footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-links-title {
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { text-decoration: none; color: #cfc7e6; font-size: 14px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact .btn { align-self: flex-start; }
.footer-emergency { font-size: 13px; margin: 6px 0 0; }
.footer-emergency a { color: var(--white); font-weight: 700; }

.footer-fine {
  text-align: center;
  font-size: 11.5px;
  color: #7c73a0;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 0 24px;
}
