:root {
  --ink: #101115;
  --muted: #656b73;
  --line: #dfe4ea;
  --paper: #f7f4ed;
  --white: #ffffff;
  --accent: #c8ff3d;
  --accent-strong: #8ee000;
  --blue: var(--accent-strong);
  --rose: #ff5f7e;
  --teal: #00a884;
  --shadow: 0 24px 70px rgba(16, 17, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(16, 17, 21, 0.08);
  background: rgba(247, 244, 237, 0.9);
  backdrop-filter: blur(18px);
}

.nav-links,
.proof-row,
.hero-actions,
.form-actions,
.final-cta,
footer {
  display: flex;
  align-items: center;
}

.brand {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nav-links {
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

.section-band,
.section-grid,
.diagnostic-wrap,
.result-section,
.method-section,
.consultant-section,
.about-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 74px);
  padding: clamp(44px, 7vw, 92px) 0 42px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: var(--accent-strong);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-lede,
.section-heading p,
.diagnostic-intro p,
.method-copy p,
.consultant-section p,
.about-section p,
.report-copy p,
.report-header p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

.hero-lede {
  max-width: 680px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 28px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(16, 17, 21, 0.18);
}

.btn.primary:hover {
  background: var(--accent-strong);
  color: var(--ink);
}

.btn.secondary {
  border: 1px solid rgba(16, 17, 21, 0.18);
  background: rgba(255, 255, 255, 0.48);
}

.btn.full {
  width: 100%;
}

.proof-row {
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span,
.pill-list span {
  border: 1px solid rgba(16, 17, 21, 0.14);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.6);
  font-weight: 800;
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 0.72;
  background: var(--ink);
  margin-top: 38px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metric-card {
  position: absolute;
  display: grid;
  gap: 2px;
  max-width: 170px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 14px;
  background: rgba(16, 17, 21, 0.76);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.metric-card strong {
  color: var(--accent);
  font-size: 2.2rem;
  line-height: 1;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
}

.metric-card.top {
  top: 18px;
  left: 18px;
}

.metric-card.bottom {
  right: 18px;
  bottom: 18px;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding: 84px 0;
  border-top: 1px solid rgba(16, 17, 21, 0.1);
}

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

.steps article,
.diagnostic-card,
.locked-report,
.full-report,
.consultant-section,
.about-section,
.authority-grid article {
  border: 1px solid rgba(16, 17, 21, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.steps article {
  padding: 22px;
}

.steps span,
.report-grid span,
.score-panel span {
  color: var(--blue);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.steps p,
.question-help,
.report-grid p,
.option-card span {
  color: var(--muted);
  line-height: 1.55;
}

.diagnostic-wrap {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  padding: 84px 0;
}

.diagnostic-card {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--muted);
}

.progress-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e8e2d5;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--accent));
  transition: width 250ms ease;
}

.form-stage {
  position: relative;
  height: clamp(420px, 50vh, 500px);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px 8px 18px 0;
  scrollbar-gutter: stable;
}

.form-stage.is-scrollable:not(.is-at-bottom) {
  box-shadow: inset 0 -34px 24px -26px rgba(16, 17, 21, 0.28);
}

.form-scroll-hint {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 12px;
  border: 1px solid rgba(16, 17, 21, 0.14);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 17, 21, 0.12);
  font-size: 0.86rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.form-scroll-hint.is-visible {
  opacity: 1;
  visibility: visible;
}

.question-group {
  display: grid;
  gap: 18px;
  margin: 0;
  border: 0;
  padding: 0;
  min-inline-size: 0;
}

.question-group legend {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
}

.question-title {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  font-weight: 800;
  line-height: 1.05;
}

.option-grid {
  display: grid;
  gap: 10px;
}

.option-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  text-align: left;
  border: 1px solid rgba(16, 17, 21, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
  cursor: pointer;
}

.option-card:hover,
.option-card:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(142, 224, 0, 0.16);
}

.option-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.option-card strong {
  display: block;
  margin-bottom: 4px;
}

.scale-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.scale-options .option-card {
  grid-template-columns: auto 1fr;
  padding: 14px;
}

.scale-options strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.form-actions {
  margin-top: auto;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(16, 17, 21, 0.1);
  padding-top: 18px;
}

.form-actions .btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.result-section {
  padding: 84px 0;
}

.result-preview,
.locked-report {
  display: grid;
  gap: 26px;
  align-items: stretch;
}

.result-preview {
  grid-template-columns: 1fr 340px;
}

.locked-report {
  grid-template-columns: minmax(260px, 0.74fr) minmax(520px, 1.26fr);
}

.result-preview {
  margin-bottom: 18px;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--ink);
  color: var(--white);
}

.result-preview p {
  color: rgba(255, 255, 255, 0.72);
}

.score-panel {
  display: grid;
  place-content: center;
  border-radius: 8px;
  padding: 24px;
  background: var(--accent);
  color: var(--ink);
  text-align: center;
}

.score-panel strong {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
}

.score-panel p {
  color: rgba(16, 17, 21, 0.78);
}

.score-panel span {
  color: var(--ink);
}

.locked-report {
  padding: clamp(22px, 4vw, 34px);
}

.locked-report .report-copy {
  align-self: start;
}

.conversation-gift {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 900;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.lead-form label {
  display: grid;
  grid-column: span 6;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.88rem;
}

.lead-form label:nth-of-type(1),
.lead-form label:nth-of-type(2) {
  grid-column: span 6;
}

.lead-form label:nth-of-type(3),
.lead-form label:nth-of-type(6),
.lead-form label:nth-of-type(7),
.lead-form label:nth-of-type(8) {
  grid-column: span 4;
}

.lead-form label:nth-of-type(4),
.lead-form label:nth-of-type(5) {
  grid-column: span 6;
}

.lead-form input,
.lead-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(16, 17, 21, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid rgba(142, 224, 0, 0.22);
  border-color: var(--blue);
}

.consent,
.lead-form .full,
.lead-form button {
  grid-column: 1 / -1;
}

.lead-form button {
  justify-self: center;
  width: min(100%, 420px);
}

.lead-status {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.lead-status.success {
  color: #3f7300;
}

.lead-status.error {
  color: #a13718;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--ink);
  font-weight: 600;
}

.consent input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.full-report {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 42px);
}

.dimension-bars {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.dimension-bar {
  display: grid;
  gap: 8px;
}

.dimension-bar header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-weight: 800;
}

.bar-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #e8e2d5;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.report-grid article {
  border: 1px solid rgba(16, 17, 21, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.final-cta {
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  border-radius: 8px;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.report-actions .btn {
  min-width: 220px;
}

.final-cta #whatsAppLink {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(200, 255, 61, 0.2);
}

.final-cta #whatsAppLink:hover {
  background: var(--accent-strong);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(200, 255, 61, 0.28);
}

.pdf-rendering .report-actions {
  display: none;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 84px 0;
}

.method-photo {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 0.78;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.method-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.consultant-section {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.consultant-section img {
  width: 190px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.about-section {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  margin-bottom: 74px;
  padding: clamp(24px, 4vw, 42px);
}

.about-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
}

.about-photo {
  overflow: hidden;
  width: min(100%, 430px);
  aspect-ratio: 0.78;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  display: grid;
  align-content: center;
}

.about-copy h2 {
  max-width: 760px;
}

.about-copy p {
  max-width: 780px;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.authority-grid article {
  padding: 18px;
}

.authority-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 1;
}

.authority-grid p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

footer {
  justify-content: center;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(16, 17, 21, 0.1);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero,
  .section-grid,
  .diagnostic-wrap,
  .result-preview,
  .locked-report,
  .method-section,
  .consultant-section,
  .about-main {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-height: 760px;
    margin-top: 0;
  }

  .steps,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-intro {
    max-width: 720px;
  }

  .result-preview,
  .locked-report {
    gap: 18px;
  }

  .score-panel {
    min-height: 220px;
  }

  .consultant-section img {
    width: 160px;
  }

  .about-photo {
    width: min(100%, 380px);
  }

  .authority-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .header-cta {
    text-align: center;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.5rem);
  }

  .hero-actions,
  .about-actions,
  .form-actions,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .report-actions {
    flex-direction: column;
    justify-content: stretch;
  }

  .report-actions .btn {
    min-width: 0;
  }

  .btn {
    width: 100%;
  }

  .scale-options,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .diagnostic-card {
    min-height: 600px;
  }

  .form-stage {
    height: min(420px, 54vh);
  }

  .section-grid,
  .diagnostic-wrap,
  .result-section,
  .method-section {
    padding: 56px 0;
  }

  .about-section {
    margin-bottom: 56px;
  }

  .authority-grid {
    grid-template-columns: 1fr;
  }

  footer {
    justify-content: center;
  }
}

@media print {
  body.printing-report * {
    visibility: hidden !important;
  }

  body.printing-report #fullReport,
  body.printing-report #fullReport * {
    visibility: visible !important;
  }

  body.printing-report #fullReport {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  body.printing-report .report-actions {
    display: none !important;
  }
}
