:root {
  --ink: #15181F;
  --text-2: #5B5955;
  --text-3: #8A8678;
  --text-4: #9A9690;
  --cream: #F6F4EF;
  --white: #FFFFFF;
  --border: #E4E1DB;
  --border-2: #ECE9E1;
  --navy: #10243E;
  --navy-dark: #0A1830;
  --navy-deep: #0B1B30;
  --gold: #C89B3C;
  --gold-text: #8A6D1E;
  --green-bg: #EAF1E8;
  --green-text: #3F7A4E;
  --red-bg: #FBEAE3;
  --red-text: #B4432A;
  --amber-bg: #FBF3DE;
  --amber-text: #8A6D1E;
  --orange-bg: #FCEEDF;
  --orange-text: #B5651D;
  --blue-bg: #EAF1F7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
h1, h2, h3, p { margin: 0; }
a { color: var(--navy); text-decoration: none; }
input, select, button { font-family: inherit; font-size: 15px; }
input::placeholder { color: var(--text-4); }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
#como-funciona, #pilares, #prova-social, #faq, #diagnostico { scroll-margin-top: 84px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: var(--navy); color: #fff; padding: 15px 28px; font-size: 15px; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid #DAD6CC; font-weight: 600; padding: 14px 22px; }
.btn-ghost:hover { background: #F0EEE8; }
.btn-outline-dark { background: transparent; color: #fff; border: 1px solid #3C5170; padding: 15px 30px; font-size: 15px; font-weight: 600; }
.btn-outline-dark:hover { background: rgba(255,255,255,0.08); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(246,244,239,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.brand-name { font-weight: 700; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav-link { font-size: 14px; font-weight: 600; color: var(--text-2); }
.nav-link:hover { color: var(--ink); }

/* layout */
.band { padding: 0; }
.band-inner { max-width: 1180px; margin: 0 auto; padding: 64px 24px; }
.band-white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-narrow .band-inner, .band.band-narrow { max-width: 760px; }
#faq .band-inner { max-width: 760px; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-text); text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: 28px; font-weight: 800; }

/* hero */
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 72px 24px 56px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 420px; min-width: 300px; }
.hero-text h1 { font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; margin: 18px 0; }
.lead { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 460px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.stat-row { display: flex; gap: 24px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 20px; font-weight: 800; }
.stat-label { font-size: 12px; color: var(--text-3); }

.hero-visual { flex: 1 1 360px; min-width: 300px; display: flex; justify-content: center; }
.preview-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: 0 8px 32px rgba(21,24,31,0.08); }
.preview-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-4); text-transform: uppercase; margin-bottom: 18px; }
.preview-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.preview-ring { width: 84px; height: 84px; border-radius: 999px; border: 7px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.preview-ring-num { font-size: 20px; font-weight: 800; line-height: 1; }
.preview-ring-den { font-size: 9px; color: var(--text-4); font-weight: 600; }
.preview-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.preview-sub { font-size: 13px; color: var(--text-3); line-height: 1.4; }
.preview-bars { display: flex; flex-direction: column; gap: 10px; }
.preview-bar-head { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 12px; }
.preview-bar-head span:first-child { color: var(--text-2); font-weight: 600; }
.preview-bar-head span:last-child { font-weight: 700; }
.bar-track { width: 100%; height: 6px; background: var(--border-2); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--gold); }

/* como funciona */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step-num { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* pilares */
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.pillar-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.pillar-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.pillar-card p { font-size: 13px; line-height: 1.5; color: var(--text-3); }

/* prova social */
.proof-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-bottom: 44px; text-align: center; }
.stat-block { display: flex; flex-direction: column; }
.stat-big { font-size: 28px; font-weight: 800; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonials { max-width: 920px; margin: 0 auto; }
.testimonial { background: #FAF9F6; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.testimonial p { font-size: 15px; line-height: 1.6; color: #3A3836; font-style: italic; margin-bottom: 14px; }
.testimonial-author { font-size: 13px; color: var(--text-3); font-weight: 600; }

/* faq */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.faq-btn { width: 100%; box-sizing: border-box; text-align: left; background: transparent; border: none; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); }
.faq-btn:hover { border-color: #C4BFAE; }
.faq-icon { flex-shrink: 0; font-size: 18px; color: var(--text-4); transition: transform 0.15s ease; }
.faq-icon.open { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; font-size: 14px; line-height: 1.6; color: var(--text-2); display: none; }
.faq-answer.open { display: block; }

/* wizard */
.diagnostic-section .band-inner { padding-top: 72px; padding-bottom: 72px; }
.wizard-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: 0 4px 24px rgba(21,24,31,0.06); box-sizing: border-box; }
.progress-wrap { margin-bottom: 28px; }
.progress-label { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 10px; }
.progress-track { width: 100%; height: 6px; background: var(--border-2); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: var(--gold); transition: width 0.3s ease; width: 0%; }

.step-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-text); text-transform: uppercase; margin-bottom: 6px; }
.step-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.step-sub { font-size: 14px; line-height: 1.55; color: var(--text-3); margin-bottom: 24px; }

.legend-row { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #3A3836; margin-bottom: 8px; }
.legend-badge { width: 22px; height: 22px; border-radius: 6px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #3A3836; margin-bottom: 7px; }
.field input, .field select { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 8px; border: 1px solid #DAD6CC; color: var(--ink); background: #fff; }
.chip-group-label { display: block; font-size: 13px; font-weight: 600; color: #3A3836; margin-bottom: 10px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.chip-group.stack { flex-direction: column; }
.chip { padding: 10px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; background: #fff; border: 2px solid var(--border); color: #3A3A3A; font-weight: 500; }
.chip:hover { border-color: #C4BFAE; }
.chip.wide { width: 100%; text-align: left; border-radius: 10px; box-sizing: border-box; padding: 12px 14px; }
.chip.selected { border-color: var(--gold); background: rgba(200,155,60,0.09); color: var(--ink); font-weight: 700; }

.pillar-question { margin-bottom: 22px; }
.pillar-question-label { font-size: 14px; font-weight: 600; color: #3A3836; margin-bottom: 10px; line-height: 1.4; }
.score-row { display: flex; flex-wrap: wrap; gap: 6px; }
.score-btn { width: 34px; height: 34px; border-radius: 7px; font-size: 13px; cursor: pointer; background: #fff; border: 1px solid #DAD6CC; color: var(--text-2); font-weight: 500; }
.score-btn:hover { border-color: #C4BFAE; }
.score-btn.selected { border: 2px solid var(--gold); background: var(--gold); color: var(--ink); font-weight: 700; }

.pillar-score-line { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--border-2); font-size: 13px; color: var(--text-3); font-weight: 600; }
.pillar-score-line strong { font-size: 15px; font-weight: 800; color: var(--ink); }

.step-nav { display: flex; justify-content: space-between; margin-top: 26px; }
.link-btn { background: transparent; color: var(--text-2); border: none; padding: 12px 8px; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 8px; }
.link-btn:hover { background: #F0EEE8; }
.help-note { margin: 14px 0 0; font-size: 12px; color: var(--text-4); text-align: center; }

/* result */
.result-head { text-align: center; margin-bottom: 26px; }
.score-ring { width: 132px; height: 132px; border-radius: 999px; border: 8px solid var(--border-2); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 16px; }
.score-ring-num { font-size: 32px; font-weight: 800; line-height: 1; }
.score-ring-den { font-size: 12px; color: var(--text-4); font-weight: 600; }
.badge { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.result-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.result-bar-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.result-bar-head span:first-child { font-weight: 600; color: #3A3836; }
.result-bar-head span:last-child { font-weight: 700; }
.result-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 20px; }
.result-card { border-radius: 10px; padding: 18px 20px; text-align: left; }
.result-card-strong { background: var(--green-bg); border: 1px solid #CFE3CB; }
.result-card-weak { background: #FAF9F6; border: 1px solid var(--border); }
.result-card-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.result-card-strong .result-card-label { color: var(--green-text); }
.result-card-weak .result-card-label { color: var(--text-3); }
.result-card-pillar { font-size: 15px; color: var(--ink); font-weight: 600; }
.result-card-note { font-size: 13px; color: #5B8A61; line-height: 1.5; margin-top: 6px; }
.result-card-reco { font-size: 13px; color: var(--text-3); line-height: 1.5; margin-top: 8px; }

/* cta final */
.cta-final { background: var(--navy); }
.cta-final-inner { max-width: 640px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.cta-final h2 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-final p { font-size: 15px; line-height: 1.7; color: #C7CEDA; margin-bottom: 28px; }

/* footer */
.footer { background: var(--navy-deep); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 48px 24px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer-brand { max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-mark { width: 30px; height: 30px; border-radius: 7px; background: #fff; color: var(--navy); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.footer-name { font-weight: 700; font-size: 15px; color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.6; color: #8D97A8; }
.footer-heading { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; color: #fff; text-transform: uppercase; margin-bottom: 14px; }
.footer-line { font-size: 13px; color: #8D97A8; margin-bottom: 8px; }
.footer-link { display: block; font-size: 13px; color: #8D97A8; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1C2E48; padding: 20px 24px; text-align: center; font-size: 12px; color: #6B7689; }

@media (max-width: 640px) {
  .hero-text h1 { font-size: 32px; }
  .wizard-card { padding: 24px; }
}
