/* Estratégia GC, LP consultoria (performance-first, sem frameworks) */

:root {
  --bg-deep: #080c10;
  --bg-card: #0f1419;
  --bg-page: #f4f6f8;
  --bg-white: #ffffff;
  --text: #1a2332;
  --text-muted: #5c6578;
  --text-on-dark: #e8ecf1;
  --text-on-dark-muted: #9aa3b2;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --border: #e2e6ec;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(8, 12, 16, 0.06);
  --shadow-lg: 0 12px 40px rgba(8, 12, 16, 0.1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1120px;
  --header-h: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero-visual-inner,
  .belief-list li,
  .belief-list li::before,
  .hero-bg-orb,
  .hero-bg-beams span,
  .hero-bg-particles span {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 0.5rem 0.75rem;
  min-width: 0;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  display: block;
  height: clamp(34px, 5.5vw, 46px);
  width: auto;
  max-width: min(20rem, 52vw);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 1140px) {
  .logo-img {
    height: clamp(38px, 3.6vw, 50px);
    max-width: min(22rem, 34vw);
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.35rem 0.55rem;
  flex: 1;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-desktop a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0.28rem;
  border-radius: 6px;
}

.nav-desktop a:hover {
  color: var(--text);
}

#nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  cursor: pointer;
}

#nav-toggle::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--text);
  box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text);
}

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer a {
  padding: 0.65rem 0;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.nav-drawer a.btn {
  margin-top: 0.5rem;
  border-bottom: none;
  text-align: center;
}

.header-cta-desktop {
  display: none;
  flex-shrink: 0;
}

@media (min-width: 1140px) {
  .header-cta-desktop {
    display: inline-flex;
    white-space: nowrap;
  }
  .nav-desktop {
    display: flex;
    gap: 0.45rem 0.65rem;
  }
  .nav-desktop a {
    font-size: 0.78rem;
    padding: 0.35rem 0.4rem;
  }
  #nav-toggle {
    display: none;
  }
  .nav-drawer {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

@media (min-width: 1140px) {
  .header-inner .btn.header-cta-desktop {
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
  }
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 2.5rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 70% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 70% 40%, #000 10%, transparent 72%);
  animation: hero-grid-drift 28s linear infinite;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
}

.hero-bg-orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: -12%;
  right: 8%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.55) 0%, transparent 70%);
  animation: hero-orb-float 14s ease-in-out infinite;
}

.hero-bg-orb-b {
  width: min(40vw, 340px);
  height: min(40vw, 340px);
  bottom: -18%;
  left: -6%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.28) 0%, transparent 70%);
  animation: hero-orb-float 18s ease-in-out infinite reverse;
}

.hero-bg-beams {
  position: absolute;
  inset: 0;
}

.hero-bg-beams span {
  position: absolute;
  left: -15%;
  width: 130%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(13, 148, 136, 0.05) 20%,
    rgba(45, 212, 191, 0.35) 50%,
    rgba(13, 148, 136, 0.05) 80%,
    transparent 100%
  );
  opacity: 0;
  animation: hero-beam-sweep 7s ease-in-out infinite;
}

.hero-bg-beams span:nth-child(1) {
  top: 22%;
  animation-delay: 0s;
  --beam-rot: -8deg;
}

.hero-bg-beams span:nth-child(2) {
  top: 48%;
  animation-delay: 2.3s;
  --beam-rot: 4deg;
}

.hero-bg-beams span:nth-child(3) {
  top: 72%;
  animation-delay: 4.1s;
  --beam-rot: -3deg;
}

.hero-bg-particles {
  position: absolute;
  inset: 0;
}

.hero-bg-particles span {
  position: absolute;
  bottom: -8%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.55);
  opacity: 0;
  animation: hero-particle-rise 9s linear infinite;
}

.hero-bg-particles span:nth-child(odd) {
  width: 3px;
  height: 3px;
  background: #5eead4;
}

.hero-bg-particles span:nth-child(1)  { left: 8%;  animation-duration: 8.5s; animation-delay: 0s; }
.hero-bg-particles span:nth-child(2)  { left: 16%; animation-duration: 10s;  animation-delay: 1.2s; }
.hero-bg-particles span:nth-child(3)  { left: 28%; animation-duration: 7.8s; animation-delay: 2.4s; }
.hero-bg-particles span:nth-child(4)  { left: 38%; animation-duration: 11s;  animation-delay: 0.6s; }
.hero-bg-particles span:nth-child(5)  { left: 48%; animation-duration: 9.2s; animation-delay: 3.1s; }
.hero-bg-particles span:nth-child(6)  { left: 58%; animation-duration: 8s;   animation-delay: 1.8s; }
.hero-bg-particles span:nth-child(7)  { left: 66%; animation-duration: 10.5s; animation-delay: 4s; }
.hero-bg-particles span:nth-child(8)  { left: 74%; animation-duration: 7.4s; animation-delay: 0.9s; }
.hero-bg-particles span:nth-child(9)  { left: 82%; animation-duration: 9.8s; animation-delay: 2.7s; }
.hero-bg-particles span:nth-child(10) { left: 88%; animation-duration: 8.2s; animation-delay: 3.6s; }
.hero-bg-particles span:nth-child(11) { left: 22%; animation-duration: 11.5s; animation-delay: 5s; }
.hero-bg-particles span:nth-child(12) { left: 92%; animation-duration: 9s;   animation-delay: 1.5s; }

@keyframes hero-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-48px, -48px, 0); }
}

@keyframes hero-orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}

@keyframes hero-beam-sweep {
  0%, 100% {
    opacity: 0;
    transform: translateX(-8%) rotate(var(--beam-rot, -4deg));
  }
  15%, 45% {
    opacity: 0.7;
  }
  60% {
    opacity: 0;
    transform: translateX(8%) rotate(var(--beam-rot, -4deg));
  }
}

@keyframes hero-particle-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.6);
  }
  12% {
    opacity: 0.85;
  }
  70% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translate3d(18px, -110vh, 0) scale(1);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: 1rem;
  }
}

.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-logo {
  display: block;
  width: auto;
  max-width: min(360px, 92vw);
  height: auto;
  margin: 0 0 0.45rem;
}

@media (min-width: 900px) {
  .hero-logo {
    max-width: min(420px, 100%);
    margin-bottom: 0.5rem;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-ctas-dual {
  flex-direction: column;
  align-items: stretch;
  max-width: 22rem;
}

@media (min-width: 520px) {
  .hero-ctas-dual {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    max-width: none;
  }
  .hero-ctas-dual .btn {
    flex: 0 1 auto;
    min-width: 12rem;
  }
  .hero-ctas-dual .btn-primary {
    min-width: 14rem;
  }
}

@media (min-width: 900px) {
  .hero-ctas-dual .btn {
    min-width: 0;
  }
}

.hero-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  max-width: 32rem;
}

.hero-note strong {
  color: var(--text-on-dark);
  font-weight: 600;
}

/* Dashboard visual (SVG + CSS) */
.hero-visual-inner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease;
}

@media (min-width: 900px) {
  .hero-visual-inner:hover {
    transform: translateY(-4px);
  }
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-dots {
  display: flex;
  gap: 6px;
}
.dash-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.dash-dots span:first-child {
  background: #f87171;
}
.dash-dots span:nth-child(2) {
  background: #fbbf24;
}
.dash-dots span:nth-child(3) {
  background: #4ade80;
}

.dash-title {
  font-size: 0.7rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.flow-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.2);
  color: #5eead4;
}

.flow-arrow {
  color: var(--text-on-dark-muted);
  font-size: 0.75rem;
}

.hero-qualitative {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-on-dark-muted);
}

.hero-qualitative li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-qual-stage {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5eead4;
  flex-shrink: 0;
}

/* (removido mock com percentuais fictícios — substituído por lista qualitativa) */

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Belief break — realidade / quebra de crença */
.belief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  --belief: #b45309;
  --belief-soft: rgba(180, 83, 9, 0.1);
  --belief-line: rgba(180, 83, 9, 0.45);
}

@media (min-width: 700px) {
  .belief-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.belief-list li {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #fffdf9 0%, var(--bg-white) 48%, #f8fafb 100%);
  border: 1px solid rgba(180, 83, 9, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.3rem 1.35rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.belief-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--belief), #d97706);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.belief-list li:nth-child(1) { transition-delay: 0.05s; }
.belief-list li:nth-child(2) { transition-delay: 0.18s; }
.belief-list li:nth-child(3) { transition-delay: 0.31s; }

.belief-list li:nth-child(1)::before { transition-delay: 0.18s; }
.belief-list li:nth-child(2)::before { transition-delay: 0.32s; }
.belief-list li:nth-child(3)::before { transition-delay: 0.46s; }

#realidade.is-visible .belief-list li,
.belief-list li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#realidade.is-visible .belief-list li::before,
.belief-list li.is-visible::before {
  width: 100%;
}

#realidade.is-visible .belief-list li:hover,
.belief-list li.is-visible:hover {
  border-color: rgba(180, 83, 9, 0.38);
  box-shadow: 0 10px 28px rgba(180, 83, 9, 0.1);
  transform: translateY(-3px);
  transition-delay: 0s;
}

.belief-index {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--belief);
}

.belief-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--text);
  line-height: 1.35;
}

.belief-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Para quem é / Pra quem não (qualificação) */
.qualify-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 36rem;
}

.qualify-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}

.qualify-list li:last-child {
  border-bottom: none;
}

.qualify-list-icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.notfor-panel {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.75rem 1.35rem;
  background: #faf7f4;
  border: 1px solid #ebe3dc;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.notfor-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notfor-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text);
}

.notfor-list li:last-child {
  border-bottom: none;
}

.notfor-list-icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: rgba(180, 83, 9, 0.1);
  color: #9a3412;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  position: relative;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.step-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Compare */
.compare-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-cell {
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
}

.compare-row.head .compare-cell {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-page);
}

.compare-row.head .compare-cell:first-child {
  color: var(--text-muted);
}

.compare-row.head .compare-cell:last-child {
  color: var(--accent);
  border-left: 1px solid var(--border);
}

.compare-row:not(.head) .compare-cell:first-child {
  color: var(--text-muted);
}

.compare-row:not(.head) .compare-cell:last-child {
  color: var(--text);
  font-weight: 600;
  border-left: 1px solid var(--border);
  background: var(--accent-soft);
}

@media (max-width: 520px) {
  .compare-cell {
    padding: 0.85rem 0.75rem;
    font-size: 0.82rem;
  }
}

/* Metrics */
.metrics-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.metric-card .metric {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.metric-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.metric-disclaimer {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 52rem;
}

/* Pain list */
.pain-block {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}

.pain-block ul {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--text-on-dark-muted);
}

.pain-block li {
  margin-bottom: 0.5rem;
}

.pain-block .closing {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

/* Diagnóstico */
.diagnostico {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-page) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.diagnostico h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.diagnostico > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.diagnostico-teaser {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.diagnostico-teaser h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
}

.diagnostico-teaser > p:not(.section-eyebrow) {
  max-width: 38rem;
  margin: 0 auto 1.35rem;
  color: var(--text-muted);
}

.diagnostico-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.diagnostico-teaser .btn-ghost {
  color: var(--text);
  border-color: var(--border);
}

.diagnostico-teaser .btn-ghost:hover {
  background: var(--bg-page);
}

.diagnostico-page {
  background: var(--bg-deep);
}

.diagnostico-page-main {
  min-height: calc(100vh - var(--header-h));
  background:
    linear-gradient(180deg, rgba(8, 12, 16, 0.98) 0%, rgba(8, 12, 16, 0.9) 44%, var(--bg-page) 44%),
    var(--bg-page);
}

.diagnostico-page-section {
  padding: 3rem 0 4rem;
}

.diagnostico-page-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.diagnostico-context {
  color: var(--text-on-dark);
}

.diagnostico-context h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.diagnostico-context > p {
  max-width: 34rem;
  margin: 0 0 1.25rem;
  color: var(--text-on-dark-muted);
  font-size: 1.02rem;
}

.diagnostico-context-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
}

.diagnostico-context-list li {
  padding-left: 1rem;
  border-left: 3px solid rgba(13, 148, 136, 0.5);
}

.diagnostico-standalone {
  width: 100%;
}

@media (min-width: 920px) {
  .diagnostico-page-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(28rem, 0.72fr);
    gap: 3rem;
  }

  .diagnostico-context {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    padding-top: 1.5rem;
  }
}

@media (max-width: 560px) {
  .diagnostico-teaser-actions .btn {
    width: 100%;
  }
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group select,
.form-group input[type='text'],
.form-group input[type='email'],
.form-group input[type='tel'],
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.5;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #d97706;
}

.form-group select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Diagnóstico — fluxo estilo Typeform (uma pergunta por vez) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.diagnostico-flow {
  position: relative;
  min-height: 12rem;
  padding-bottom: 0;
}

@media (max-width: 899px) {
  body.has-sticky .diagnostico-flow {
    padding-bottom: 5.5rem;
  }
}

.diagnostico-flow fieldset.flow-panel {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.flow-legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flow-panel[hidden] {
  display: none !important;
}

.flow-intro h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.flow-intro > p,
.flow-intro-lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.flow-intro-transparency {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--bg-page);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.step-question {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.step-hint {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.choice-group {
  margin-bottom: 0.25rem;
}

.choice-group.is-invalid .choice-grid {
  outline: 2px solid rgba(217, 119, 6, 0.45);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.choice-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.choice-grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .choice-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.choice-card:hover {
  border-color: #c5ccd8;
  box-shadow: var(--shadow);
}

.choice-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.choice-card-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.choice-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.25);
}

.choice-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-wa-note {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 36rem;
}

.footer-wa-note a {
  font-weight: 600;
}

.flow-progress {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.flow-progress-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.flow-progress-fill.js-diag-progress {
  width: 0%;
  min-width: 0;
}

.flow-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #2dd4bf);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.flow-progress-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.flow-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
  align-items: stretch;
}

.flow-nav .btn {
  flex: 1 1 auto;
  min-width: min(100%, 8rem);
}

.diagnostico-flow .flow-nav .btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.diagnostico-flow .flow-nav .btn-ghost:hover {
  background: var(--bg-page);
  transform: none;
  box-shadow: none;
}

.diag-privacy-note {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: var(--bg-page);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

body.nav-drawer-open {
  overflow: hidden;
}

.form-group select.is-invalid {
  border-color: #d97706;
}

.flow-loading {
  text-align: center;
  padding: 2rem 1rem;
}

.flow-spinner {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: diagSpin 0.75s linear infinite;
}

.flow-loading-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

@keyframes diagSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-spinner {
    animation: none;
    border-top-color: var(--border);
    opacity: 0.6;
  }
  .flow-progress-fill {
    transition: none;
  }
}

.flow-result {
  padding: 0.25rem 0 0.5rem;
}

.flow-result-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.flow-result > p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.flow-success-meta {
  margin: -0.5rem 0 1.35rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.flow-result .btn {
  margin-bottom: 0.5rem;
}

.flow-result.flow-error .flow-result-title {
  color: #9a3412;
}

.flow-result.flow-error #diag-error-msg {
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 1.25rem;
  background: var(--bg-deep);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: inherit;
}

.cta-band-intro {
  margin: 0 0 1.5rem;
  color: var(--text-on-dark-muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.cta-band-actions-dual {
  flex-direction: column;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 520px) {
  .cta-band-actions-dual {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
  }
}

.cta-band-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-on-dark);
}

.cta-band-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cta-band-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
}

.cta-inline-wa {
  color: #5eead4;
  font-weight: 600;
  text-decoration: none;
}

.cta-inline-wa:hover {
  text-decoration: underline;
}

/* Bloco SAP: título pode seguir coluna; imagem usa largura do container (antes .section-head limitava a 640px). */
#sistema-aquisicao-previsivel .product-def-head.section-head {
  max-width: none;
  width: 100%;
}

/* Definição do produto (SAP) — PNG com alpha */
.product-def-visual {
  margin: 1.5rem auto 0;
  padding: 0;
  width: 100%;
  max-width: min(72rem, 100%);
  border-radius: var(--radius-lg);
}

.product-def-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 10px 28px rgba(8, 12, 16, 0.1));
}

/* Mobile: usa a largura útil até as bordas da viewport (compensa padding do .container). */
@media (max-width: 767px) {
  #sistema-aquisicao-previsivel .product-def-visual {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    width: calc(100% + 2.5rem);
    max-width: none;
    border-radius: var(--radius);
  }

  #sistema-aquisicao-previsivel .product-def-visual img {
    border-radius: var(--radius);
  }
}

.product-def-copy {
  max-width: 40rem;
  margin: 0.5rem auto 0;
  text-align: left;
}

.product-def-copy p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.product-def-copy > p:last-of-type {
  margin-bottom: 1rem;
}

.sap-mini-legend {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.sap-mini-legend li {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent-soft);
}

.sap-mini-legend strong {
  color: var(--text);
  font-weight: 600;
}

#diagnostico {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Micro-reforço entre seções (tom educativo, baixo ruído visual) */
.page-bridge {
  margin: 0 0 1.5rem;
  padding: 0.65rem 0 0;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

.fit-footnote {
  max-width: 32rem;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0;
  background: #fff;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer .container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  z-index: 40;
  display: flex;
  justify-content: center;
}

.sticky-cta .btn {
  flex: 1;
  max-width: 420px;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

body.has-sticky {
  padding-bottom: 72px;
}

@media (min-width: 900px) {
  body.has-sticky {
    padding-bottom: 0;
  }
}
