/* ═══════════════════════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════════════════════ */
:root {
  --navy:        #0A0A0A;
  --navy-card:   #141414;
  --navy-mid:    #0F0F0F;
  --teal:        #FF2E78;
  --teal-dim:    #D9205F;
  --teal-10:     rgba(255,46,120,.10);
  --teal-20:     rgba(255,46,120,.20);
  --white:       #FFFFFF;
  --body:        #D1D5DB;
  --muted:       #6B7280;
  --border:      rgba(255,255,255,.07);
  --border-card: rgba(255,255,255,.10);
  --amber:       #F59E0B;
  --amber-10:    rgba(245,158,11,.10);
  --amber-25:    rgba(245,158,11,.25);
  --red:         #EF4444;
  --red-10:      rgba(239,68,68,.10);
  --font:        'Inter', -apple-system, system-ui, sans-serif;

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --shadow-card: 0 4px 32px rgba(0,0,0,.35);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.2);
  --trans:       200ms ease;
  --trans-slow:  400ms cubic-bezier(.16,1,.3,1);
}

/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--navy);
  color: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   STATE MACHINE
═══════════════════════════════════════════════════════════════════ */
.state {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--trans-slow), transform var(--trans-slow);
  min-height: 100vh;
}
.state.active {
  display: block;
  animation: stateIn var(--trans-slow) forwards;
}
.state.fade-out {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
@keyframes stateIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════════
   BACKGROUND ART
═══════════════════════════════════════════════════════════════════ */
.bg-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════
   SHARED HEADER
═══════════════════════════════════════════════════════════════════ */
.site-header {
  position: relative;
  z-index: 10;
  padding: 0 24px;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity var(--trans);
}
.logo-icon:hover { opacity: .9; }
.logo-icon-sm { width: 28px; height: 28px; border-radius: 6px; }
.logo-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo-accent { color: var(--teal); }
.header-domain {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════════════
   ── ESTADO 1: FORMULÁRIO ─────────────────────────────────────────
═══════════════════════════════════════════════════════════════════ */

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 48px 24px 80px;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
    padding: 24px 0;
  }
}

/* Hero texto */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,46,120,.08);
  border: 1px solid rgba(255,46,120,.22);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .03em;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.headline-accent {
  color: var(--teal);
  display: inline;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(203,213,225,.75);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
}

/* Form card */
.form-card {
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 2;
}
/* Subtle top accent line */
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  border-radius: 0 0 2px 2px;
  opacity: .6;
}
.form-card-header {
  margin-bottom: 24px;
}
.form-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.form-card-sub {
  font-size: 13px;
  color: var(--muted);
}

/* Fields */
.field-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .01em;
}

.input-wrap {
  position: relative;
}
.input-detect-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color var(--trans);
}
.input-detect-icon.detected { color: var(--teal); }

.field-input {
  width: 100%;
  padding: 11px 14px;
  padding-right: 40px; /* espaço pro ícone */
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
  min-height: 44px;
}
/* Campos sem ícone não precisam de padding-right extra */
#name, #email, #whatsapp { padding-right: 14px; }

.field-input::placeholder { color: rgba(255,255,255,.25); }
.field-input:hover  { border-color: rgba(255,255,255,.2); }
.field-input:focus  {
  outline: none;
  border-color: var(--teal);
  background: rgba(255,46,120,.04);
  box-shadow: 0 0 0 3px rgba(255,46,120,.12);
}
.field-input.has-error {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,.1);
}

.field-error {
  font-size: 12px;
  color: var(--amber);
  min-height: 16px;
  letter-spacing: .01em;
}

/* CTA button */
.btn-cta {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 14px 24px;
  background: var(--teal);
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--trans), transform 100ms ease, box-shadow var(--trans);
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
}
.btn-cta:hover:not(:disabled) {
  background: var(--teal-dim);
  box-shadow: 0 4px 20px rgba(255,46,120,.3);
}
.btn-cta:active:not(:disabled) { transform: scale(.985); }
.btn-cta:disabled {
  opacity: .65;
  cursor: not-allowed;
  background: var(--teal);
}
.btn-cta-arrow { transition: transform var(--trans); }
.btn-cta:hover:not(:disabled) .btn-cta-arrow { transform: translateX(3px); }
.btn-cta-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(15,27,45,.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  position: absolute;
  right: 18px;
}
.btn-cta.loading .btn-cta-arrow  { display: none; }
.btn-cta.loading .btn-cta-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-micro {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* Como funciona */
.how-it-works {
  position: relative;
  z-index: 1;
  padding: 64px 24px;
  border-top: 1px solid var(--border);
}
.section-inner {
  max-width: 860px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
}
.steps-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 640px) {
  .steps-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}
.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.step-connector {
  display: none;
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, var(--teal) 0%, transparent 100%);
  opacity: .2;
  margin: auto 0;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .step-connector { display: block; }
}
.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,46,120,.08);
  border: 1px solid rgba(255,46,120,.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.step-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Social proof */
.social-proof {
  position: relative;
  z-index: 1;
  padding: 40px 24px 48px;
  border-top: 1px solid var(--border);
}
.proof-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}
.proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.proof-pill {
  padding: 6px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 100px;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}

/* Rodapé */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.site-footer-dark { background: rgba(0,0,0,.2); }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.25);
  text-align: center;
}
.footer-inner strong { color: rgba(255,255,255,.4); }
.footer-sep { color: rgba(255,255,255,.15); }

/* ═══════════════════════════════════════════════════════════════════
   ── ESTADO 2: PROCESSANDO ────────────────────────────────────────
═══════════════════════════════════════════════════════════════════ */
.processing-body {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  gap: 20px;
}
.processing-card {
  width: 100%;
  max-width: 480px;
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

/* Ícone animado */
.proc-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
}
.proc-pulse-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255,46,120,.12);
  animation: procPulse 2s ease-in-out infinite;
}
.proc-pulse-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: rgba(255,46,120,.18);
  animation: procPulse 2s ease-in-out infinite .3s;
}
.proc-icon-core {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes procPulse {
  0%,100% { transform: scale(.9); opacity: .7; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.proc-title {
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.proc-domain {
  color: var(--teal);
  word-break: break-all;
}
.proc-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* Steps list */
.proc-steps {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.proc-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: rgba(255,255,255,.35);
  transition: all var(--trans-slow);
}
.proc-step.active {
  background: rgba(255,46,120,.07);
  border-color: rgba(255,46,120,.2);
  color: var(--white);
}
.proc-step.done {
  color: var(--teal);
  background: rgba(255,46,120,.04);
  border-color: transparent;
}
.proc-step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
}
.proc-step.active .proc-step-icon {
  border-color: var(--teal);
  background: rgba(255,46,120,.15);
  animation: stepPulse 1.4s ease-in-out infinite;
}
.proc-step.done .proc-step-icon {
  border-color: var(--teal);
  background: var(--teal);
}
/* Checkmark for done */
.proc-step.done .proc-step-icon::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translate(-1px, -1px);
}
@keyframes stepPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,46,120,.4); }
  50%      { box-shadow: 0 0 0 5px rgba(255,46,120,0); }
}

/* Progress bar */
.proc-bar-wrap {
  height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
}
.proc-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-dim), var(--teal));
  border-radius: 3px;
  width: 0%;
  transition: width 600ms ease;
}

/* Error */
.proc-error {
  width: 100%;
  max-width: 480px;
  background: var(--red-10);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #FCA5A5;
}
.proc-error svg { flex-shrink: 0; }
.proc-error span { flex: 1; min-width: 0; }

.btn-outline-sm {
  padding: 7px 16px;
  background: transparent;
  border: 1.5px solid rgba(239,68,68,.4);
  color: #FCA5A5;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  transition: border-color var(--trans), color var(--trans);
}
.btn-outline-sm:hover { border-color: var(--red); color: var(--white); }

/* ── Dupla de fotos (compartilhado entre estados 2 e 3) ──────────── */
.photo-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.photo-pair--result {
  padding: 32px 0 8px;
}
.photo-pair-circles {
  display: flex;
  align-items: center;
}
.photo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2.5px solid var(--teal);
  overflow: hidden;
  background: var(--navy-card);
  flex-shrink: 0;
  position: relative;
}
.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.photo-circle--pedro { z-index: 2; }
.photo-circle--lead  { margin-left: -12px; z-index: 1; }

/* Placeholder animado enquanto a foto carrega */
.photo-circle--placeholder {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-card));
  animation: picPulse 1.6s ease-in-out infinite;
}
.photo-circle--placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,46,120,.18), transparent 65%);
}
@keyframes picPulse {
  0%,100% { opacity: .7; }
  50%      { opacity: 1; }
}

/* Ícone de pessoa SVG dentro do placeholder */
.photo-circle--placeholder .pic-placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,46,120,.4);
}

.photo-pair-caption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}
.photo-pair-caption strong {
  color: var(--body);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   ── ESTADO 3: RESULTADO ──────────────────────────────────────────
═══════════════════════════════════════════════════════════════════ */

/* Sticky header */
.result-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,46,120,.12);
}
.result-header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.result-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.result-header-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}
.result-header-company {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(280px, 30vw);
}
.result-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-ghost-sm {
  padding: 7px 14px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--trans), color var(--trans);
  white-space: nowrap;
}
.btn-ghost-sm:hover { border-color: var(--teal); color: var(--teal); }
@media (max-width: 480px) { .btn-ghost-sm { display: none; } }

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--teal);
  color: var(--navy);
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  white-space: nowrap;
  transition: background var(--trans), box-shadow var(--trans);
}
.btn-pdf:hover { background: var(--teal-dim); box-shadow: 0 3px 14px rgba(255,46,120,.25); }
.btn-pdf:disabled { opacity: .6; cursor: not-allowed; }
.btn-pdf-lg {
  padding: 13px 28px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

/* Body */
.result-body { min-height: 100vh; }
.result-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}

/* ── Seções do resultado ────────────────── */
.result-section {
  margin-bottom: 56px;
}
.result-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.result-section-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,46,120,.08);
  border: 1px solid rgba(255,46,120,.18);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.result-section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,46,120,.15), transparent);
}
.result-section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

/* Cards de diagnóstico */
.diag-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .diag-grid { grid-template-columns: 1fr 1fr; }
}
.diag-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 22px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.diag-card:hover {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.diag-card-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: .85;
}
.diag-card-body {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
}
.diag-card.highlight {
  background: linear-gradient(135deg, rgba(255,46,120,.08) 0%, rgba(255,46,120,.03) 100%);
  border-color: rgba(255,46,120,.22);
}
.diag-card.highlight .diag-card-body {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

/* Persona */
.persona-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  overflow: hidden;
}
.persona-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border);
}
.persona-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.persona-name  { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.persona-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.persona-fields { display: flex; flex-direction: column; }
.persona-field {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.persona-field:last-child { border-bottom: none; }
.persona-field-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.persona-field-body { font-size: 14px; color: var(--body); line-height: 1.65; }
.persona-field-body.italic { font-style: italic; color: rgba(203,213,225,.8); }
.estagio-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,46,120,.1);
  border: 1px solid rgba(255,46,120,.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 6px;
}

/* WhatsApp bubbles */
.wpp-section-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.wpp-bubbles { display: flex; flex-direction: column; gap: 14px; }
.wpp-bubble-item { position: relative; padding-left: 32px; }
.wpp-num {
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.wpp-bubble {
  background: #1A3326;
  border: 1px solid rgba(255,46,120,.14);
  border-radius: 3px 12px 12px 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #DCF8C6;
  line-height: 1.6;
  position: relative;
}
.wpp-bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -7px;
  width: 0; height: 0;
  border-top: 7px solid #1A3326;
  border-left: 7px solid transparent;
}

/* Agente de IA */
.agent-blocks { display: flex; flex-direction: column; gap: 16px; }
.agent-block {
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.agent-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.15);
}
.agent-block-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,46,120,.08);
  border: 1px solid rgba(255,46,120,.18);
  color: var(--teal);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  transition: background var(--trans), border-color var(--trans);
}
.btn-copy:hover { background: rgba(255,46,120,.15); border-color: rgba(255,46,120,.35); }
.btn-copy.copied { background: rgba(255,46,120,.2); color: var(--teal); }
.agent-block-body {
  padding: 20px;
  font-size: 14px;
  color: var(--white);
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}
/* Formatação das metas */
.agent-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.agent-meta-item:last-child { border-bottom: none; }
.agent-meta-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-meta-text { font-size: 14px; color: var(--body); line-height: 1.6; padding-top: 3px; }
/* Info adicional */
.info-section-title {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 14px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--teal-20);
}
.info-section-title:first-child { margin-top: 0; }
.info-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
}
.info-bullet-dot { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.info-quote-item {
  background: rgba(0,0,0,.2);
  border-left: 3px solid var(--teal);
  padding: 8px 14px;
  margin: 5px 0;
  font-size: 13.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  border-radius: 0 5px 5px 0;
}
.info-para { font-size: 14px; color: var(--body); line-height: 1.65; margin: 4px 0; }

/* Script */
.script-bubble {
  background: #1A3326;
  border: 1px solid rgba(255,46,120,.16);
  border-radius: 4px 14px 14px 14px;
  padding: 20px 24px;
  position: relative;
  margin-bottom: 20px;
}
.script-bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -8px;
  width: 0; height: 0;
  border-top: 8px solid #1A3326;
  border-left: 8px solid transparent;
}
.script-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,46,120,.5);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.script-body { font-size: 15px; color: #DCF8C6; line-height: 1.75; white-space: pre-wrap; }
.script-copy-wrap {
  display: flex;
  justify-content: flex-end;
}

/* Gargalos */
.gargalos-list { display: flex; flex-direction: column; gap: 16px; }
.gargalo-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.gargalo-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  opacity: .5;
}
.gargalo-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 16px 26px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.gargalo-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  line-height: 1;
  flex-shrink: 0;
  background: rgba(255,46,120,.1);
  border: 1px solid rgba(255,46,120,.2);
  padding: 3px 9px;
  border-radius: 6px;
}
.gargalo-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.gargalo-body { padding: 0 22px 22px 26px; }
.gargalo-field { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.gargalo-field:last-child { border-bottom: none; }
.gargalo-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.label-impact   { color: rgba(255,255,255,.4); }
.label-solution { color: var(--teal); }
.gargalo-field-text { font-size: 14px; color: var(--body); line-height: 1.7; }
.gargalo-solution-box {
  background: rgba(255,46,120,.06);
  border: 1px solid rgba(255,46,120,.12);
  border-radius: 8px;
  padding: 14px 16px;
}
.gargalo-solution-box .gargalo-field-text { color: rgba(255,255,255,.9); }

/* CTA final */
.result-cta-block {
  margin-top: 48px;
  background: var(--navy-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.result-cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(255,46,120,.3));
}
.result-cta-inner { padding: 40px 36px; }
@media (max-width: 480px) { .result-cta-inner { padding: 28px 24px; } }
.result-cta-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.result-cta-title {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.result-cta-body {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 28px;
}
.result-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--trans), color var(--trans);
}
.btn-cta-outline:hover { background: var(--teal); color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════════
   COPY TOAST
═══════════════════════════════════════════════════════════════════ */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--teal);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(255,46,120,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 9999;
}
.copy-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   SCORE DE SAÚDE
═══════════════════════════════════════════════════════════════════ */
/* Score hero card */
.score-section { padding-bottom: 8px; }
.score-hero-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.score-hero-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,46,120,.12) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 639px) {
  .score-hero-card { padding: 24px 20px; }
}

/* Gauge + barras lado a lado */
.score-main {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 24px;
}
@media (max-width: 639px) {
  .score-main { flex-direction: column; gap: 28px; }
}

/* Gauge circular */
.score-gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.score-gauge {
  position: relative;
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 0 18px rgba(255,46,120,.2));
}
.score-gauge svg {
  width: 150px;
  height: 150px;
  transform: rotate(-90deg);
}
.score-gauge-track {
  fill: none;
  stroke: rgba(255,255,255,.06);
  stroke-width: 10;
}
.score-gauge-arc {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(.16,1,.3,1),
              stroke 300ms ease;
}
.score-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.score-gauge-number {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--white);
}
.score-gauge-max {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.score-classification {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  border: 1.5px solid currentColor;
}
.score-classification.critico      { color: #EF4444; background: rgba(239,68,68,.1); }
.score-classification.desenvolvendo{ color: #F59E0B; background: rgba(245,158,11,.1); }
.score-classification.saudavel     { color: #FF2E78; background: rgba(255,46,120,.1); }
.score-classification.excelente    { color: #22c55e; background: rgba(34,197,94,.1); }

/* Barras dos critérios */
.score-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.score-bar-item {}
.score-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}
.score-bar-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}
.score-bar-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.score-bar-track {
  height: 5px;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 1.1s cubic-bezier(.16,1,.3,1);
}

/* Resumo do score */
.score-resumo {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  padding: 16px 18px;
  background: rgba(255,255,255,.04);
  border-left: 3px solid;
  border-radius: 0 8px 8px 0;
}
.score-resumo.critico      { border-color: #EF4444; }
.score-resumo.desenvolvendo{ border-color: #F59E0B; }
.score-resumo.saudavel     { border-color: #FF2E78; }
.score-resumo.excelente    { border-color: #22c55e; }

/* ═══════════════════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE TWEAKS
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 639px) {
  .hero        { padding: 32px 20px 64px; }
  .form-card   { padding: 24px 20px; }
  .hero-sub    { max-width: 100%; }
  .result-inner { padding: 28px 16px 60px; }
  .result-cta-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-cta-outline { justify-content: center; }
  .processing-card { padding: 32px 24px; }
  .result-header-inner { padding: 0 16px; }
}
