:root {
  --green-dark: #205C1C;
  --green-main: #458E2C;
  --green-light: #85BB39;
  --yellow: #FDE436;
  --bg: #F6FAF5;
  --card: #FFFFFF;
  --text: #102018;
  --muted: #5F6F64;
  --border: #DDEBDD;
  --shadow: 0 24px 70px rgba(16, 32, 24, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(253, 228, 54, 0.24), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(133, 187, 57, 0.2), transparent 26%),
    linear-gradient(135deg, #F9FCF8 0%, var(--bg) 55%, #EEF7ED 100%);
  min-height: 100vh;
}

button,
a {
  font-family: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 26px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 10px 28px rgba(16, 32, 24, 0.06);
}

.brand-logo {
  display: block;
  width: 156px;
  height: auto;
}


.hero {
  padding: 18px 0 24px;
}

.hero-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  width: fit-content;
  background: rgba(253, 228, 54, 0.7);
  color: #334100;
  border: 1px solid rgba(32, 92, 28, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 800;
  margin: 0 0 18px;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  color: var(--green-dark);
}

.lead {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.24;
  font-weight: 750;
  color: #263b29;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions,
.result-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 850;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, opacity 160ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 12px 26px rgba(32, 92, 28, 0.22);
}

.btn-primary:hover:not(:disabled) {
  background: var(--yellow);
  color: #111;
  box-shadow: 0 12px 26px rgba(253, 228, 54, 0.30);
}

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

.btn-secondary {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  box-shadow: 0 10px 24px rgba(16, 32, 24, 0.08);
}

.hero-card,
.diagnostic-card,
.result-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(221, 235, 221, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 32px;
  min-height: 370px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -72px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(253, 228, 54, 0.42);
  z-index: 0;
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.score-orbit {
  width: 136px;
  height: 136px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3.3rem;
  font-weight: 900;
  position: relative;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px rgba(32, 92, 28, 0.22);
}

.orbit-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--yellow);
}

.dot-a {
  width: 18px;
  height: 18px;
  right: -8px;
  top: 24px;
}

.dot-b {
  width: 12px;
  height: 12px;
  left: 18px;
  bottom: -6px;
  background: var(--green-light);
}

.dot-c {
  width: 9px;
  height: 9px;
  right: 24px;
  bottom: 16px;
  background: #fff;
}

.hero-card h2 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.65;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mini-list span {
  border: 1px solid var(--border);
  background: #F7FBF6;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.83rem;
  font-weight: 750;
}

.diagnostic-card,
.result-card {
  margin: 34px auto 0;
  padding: clamp(22px, 4vw, 38px);
  max-width: 920px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.progress-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.progress {
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: #E8F1E6;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-main), var(--yellow));
  border-radius: inherit;
  transition: width 260ms ease;
}

.question-area {
  padding: 24px 0 10px;
}

.question-kicker {
  color: var(--green-main);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 10px;
}

.question-area h2,
.result-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.answers {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.answer {
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  color: var(--text);
  transition: border 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.answer:hover {
  border-color: rgba(69, 142, 44, 0.46);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(16, 32, 24, 0.07);
}

.answer.is-selected {
  border-color: var(--green-main);
  background: #F1F9EF;
  box-shadow: inset 0 0 0 1px var(--green-main);
}

.answer strong {
  display: block;
  color: var(--green-dark);
  margin-bottom: 5px;
}

.answer span {
  color: var(--muted);
  line-height: 1.55;
}

.nav-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.ghost-link {
  background: transparent;
  border: 0;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  font-weight: 750;
  padding: 0;
}

.result-card {
  text-align: center;
}

.result-badge {
  display: inline-flex;
  background: var(--yellow);
  color: #3D4300;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  margin-bottom: 16px;
}

.result-copy {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-line;
}

.recommendation-box {
  margin: 24px auto 0;
  max-width: 780px;
  text-align: left;
  background: #F4FAF2;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.recommendation-box h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
}

.recommendation-box p {
  margin: 0;
  color: #314535;
  line-height: 1.7;
  white-space: pre-line;
}

.result-actions {
  justify-content: center;
}

.reset-bottom {
  display: inline-flex;
  margin-top: 22px;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 34px 0 0;
  font-size: 0.92rem;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 22px, 1120px);
    padding-top: 18px;
  }

  .hero-grid {
    margin-top: 30px;
  }

  .hero-actions,
  .result-actions,
  .nav-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .diagnostic-card,
  .result-card {
    border-radius: 22px;
    margin-top: 24px;
  }
}


/* =========================================================
   NEXO GROWTH — extensões sobre o CSS REAL do Diagnóstico
   Comercial. A base acima é mantida sem alterações.
   ========================================================= */

.growth-score-summary {
  margin: 24px auto 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  align-items: center;
  text-align: left;
}

.growth-score-box {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: 0 18px 36px rgba(32, 92, 28, 0.20);
}

.growth-score-box strong {
  font-size: 2.65rem;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.growth-score-box span {
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.88;
}

.growth-score-copy h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 1.15rem;
}

.growth-score-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dimension-grid {
  margin: 22px auto 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}

.dimension-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px;
}

.dimension-card > span {
  display: block;
  min-height: 30px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.25;
}

.dimension-card strong {
  display: block;
  margin: 7px 0 9px;
  color: var(--green-dark);
  font-size: 1.08rem;
}

.dimension-card.na strong {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}

.mini-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #E8F1E6;
}

.mini-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-main), var(--yellow));
}

.growth-insights {
  margin: 14px auto 0;
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.growth-insights .recommendation-box {
  margin-top: 0;
  height: 100%;
}

.recommendation-box-soft {
  background: #fff;
}

.box-label {
  display: block;
  margin-bottom: 6px;
  color: var(--green-main);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contrast-box {
  margin: 14px auto 0;
  max-width: 780px;
  text-align: left;
  background: rgba(253, 228, 54, 0.18);
  border: 1px solid rgba(253, 228, 54, 0.55);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  color: #3f4a22;
  line-height: 1.65;
}

.analysis-choice,
.contact-form,
.goodbye {
  margin: 28px auto 0;
  max-width: 780px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.analysis-choice h3,
.contact-form h3,
.goodbye h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.analysis-choice p,
.contact-form > p,
.goodbye p {
  color: var(--muted);
  line-height: 1.7;
}

.analysis-choice .result-actions {
  margin-top: 18px;
}

.contact-form {
  text-align: left;
}

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

.fields label {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.fields input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  outline: none;
}

.fields input:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(69, 142, 44, 0.10);
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}

.consent,
.form-error {
  font-size: 0.82rem;
}

.form-error {
  color: #9a3737 !important;
}

.goodbye {
  text-align: center;
}

.goodbye-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}

.loading-card {
  text-align: center;
}

.loading-symbol {
  width: 86px;
  height: 86px;
  margin: 8px auto 20px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  box-shadow: 0 20px 40px rgba(32, 92, 28, 0.22);
  animation: ngPulse 1.15s ease-in-out infinite;
}

.loading-symbol img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

@keyframes ngPulse {
  50% { transform: scale(1.035); }
}

@media (max-width: 860px) {
  .dimension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .growth-insights {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .growth-score-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .growth-score-box {
    margin: 0 auto;
  }

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