/* =================================================================
   Pitch&Close — Spectrum design system
   Light editorial. Brand: navy + royal blue + multi-color accents.
   ================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap");

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #f4f6fa;
  --bg-2: #eef2f8;
  --bg-card: #ffffff;
  --bg-ink: #0b1a35;
  --ink: #0b1a35;
  --ink-2: #4a5775;
  --ink-3: #8290a8;
  --line: rgba(11, 26, 53, 0.08);
  --line-strong: rgba(11, 26, 53, 0.18);
  --c-navy: #0b1a35;
  --c-blue: #1e529f;
  --c-bright: #3b82f6;
  --c-sky: #60a5fa;
  --c-cyan: #22d3ee;
  --c-coral: #ff6a3d;
  --c-amber: #f5a623;
  --c-emerald: #0d9b6c;
  --c-violet: #6f3df2;
  --pad-x: 24px;
}
@media (min-width: 768px)  { :root { --pad-x: 40px; } }
@media (min-width: 1200px) { :root { --pad-x: 56px; } }

html, body {
  margin: 0; padding: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif, "Noto Color Emoji";
  font-feature-settings: "ss01" 1, "cv11" 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.pc-mono { font-family: "Geist Mono", ui-monospace, monospace; letter-spacing: 0; }
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; }

/* === NAV === */
.spectrum-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x); gap: 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 50;
}
.spectrum-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.spectrum-brand img { height: 44px; width: auto; max-width: none; display: block; flex-shrink: 0; object-fit: contain; }
.spectrum-nav-links { display: none; gap: 28px; font-size: 14px; color: var(--ink-2); }
.spectrum-nav-links span, .spectrum-nav-links a { cursor: pointer; }
.spectrum-nav-links span:hover, .spectrum-nav-links a:hover { color: var(--ink); }
.spectrum-nav-links .active { color: var(--ink); font-weight: 600; }
@media (min-width: 1024px) { .spectrum-nav-links { display: flex; } }
.spectrum-nav-actions { display: flex; gap: 10px; align-items: center; }

.spectrum-nav-menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
}
@media (min-width: 1024px) { .spectrum-nav-menu-btn { display: none; } }
.spectrum-nav-hide-mobile { display: none; }
@media (min-width: 1024px) { .spectrum-nav-hide-mobile { display: inline-flex; } }
.spectrum-mobile-menu { display: none; padding: 8px var(--pad-x) 24px; border-top: 1px solid var(--line); background: var(--bg); }
.spectrum-mobile-menu.open { display: block; }
.spectrum-mobile-menu a, .spectrum-mobile-menu span { display: block; padding: 14px 0; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; }
.spectrum-mobile-menu .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
@media (min-width: 1024px) { .spectrum-mobile-menu { display: none !important; } }

/* === BUTTONS === */
.spectrum-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid var(--line-strong);
  background: var(--bg-card); color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: transform 0.08s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.spectrum-btn:hover { background: #fff; }
.spectrum-btn:active { transform: scale(0.98); }
.spectrum-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.spectrum-btn.solid { background: var(--c-navy); color: #fff; border-color: var(--c-navy); box-shadow: 0 6px 18px rgba(11, 26, 53, 0.2); }
.spectrum-btn.solid:hover { background: #162846; }
.spectrum-btn.solid.blue { background: var(--c-blue); border-color: var(--c-blue); box-shadow: 0 6px 18px rgba(30, 82, 159, 0.3); }
.spectrum-btn.solid.blue:hover { background: #1a4787; }
.spectrum-btn.solid.danger { background: #dc2626; border-color: #dc2626; box-shadow: 0 6px 18px rgba(220, 38, 38, 0.3); }
.spectrum-btn.solid.success { background: var(--c-emerald); border-color: var(--c-emerald); box-shadow: 0 6px 18px rgba(13, 155, 108, 0.3); }
.spectrum-btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.spectrum-btn.ghost:hover { background: var(--bg-2); color: var(--ink); }
.spectrum-btn.lg { padding: 15px 22px; font-size: 15px; }
.spectrum-btn.xl { padding: 18px 28px; font-size: 16px; }
.spectrum-btn.block { width: 100%; display: flex; }

.spectrum-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--bg-card); border: 1px solid var(--line);
  font-family: "Geist Mono", monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2);
  font-weight: 600;
}
.spectrum-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-emerald); }

/* === CARDS === */
.spectrum-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

/* === IMG PLACEHOLDER === */
.pc-img-placeholder {
  background: repeating-linear-gradient(135deg, rgba(11,26,53,0.04) 0 8px, rgba(11,26,53,0.08) 8px 16px);
  border: 1px dashed rgba(11,26,53,0.18);
  display: flex; align-items: center; justify-content: center;
  font-family: "Geist Mono", monospace; font-size: 11px;
  color: rgba(11,26,53,0.55);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* === HOME === */
.sp-hero { padding: 40px var(--pad-x) 56px; max-width: 1480px; margin: 0 auto; }
@media (min-width: 1024px) { .sp-hero { padding: 56px var(--pad-x) 72px; } }
.sp-hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .sp-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.sp-hero-title {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98; letter-spacing: -0.045em; font-weight: 700;
  margin-top: 22px;
}
.sp-hero-title .pill {
  background: var(--c-blue); color: #fff;
  padding: 0 14px 6px; border-radius: 12px;
  display: inline-block; line-height: 1.0;
}
.sp-hero-title .italic { font-style: italic; font-weight: 500; }
.sp-hero-title .dot {
  display: inline-block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-amber); margin-left: 8px; vertical-align: 6px;
}
.sp-hero-sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin-top: 28px; max-width: 520px; }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sp-hero-trust { display: flex; gap: 32px; margin-top: 56px; align-items: center; flex-wrap: wrap; }
.sp-avatar-stack { display: flex; }
.sp-avatar-stack > span {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; margin-left: -10px;
}
.sp-avatar-stack > span:first-child { margin-left: 0; }

.sp-hero-visual { position: relative; min-height: 460px; }
@media (min-width: 1024px) { .sp-hero-visual { min-height: 660px; } }
.sp-hero-card-main {
  position: absolute; top: 0; right: 0; width: 92%; max-width: 460px;
  padding: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(13,11,8,0.08);
}
.sp-buyer-img {
  height: 280px;
  background-size: cover; background-position: center 25%;
  background-color: var(--bg-2);
}
@media (min-width: 1024px) { .sp-buyer-img { height: 320px; } }
.sp-hero-card-meta { padding: 22px; }
.sp-hero-quote {
  margin-top: 12px; padding: 12px 14px; border-radius: 10px;
  background: rgba(30,82,159,0.06); border-left: 3px solid var(--c-blue);
  font-size: 13px; line-height: 1.5; color: var(--ink);
}
.sp-hero-floating {
  position: absolute;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(13,11,8,0.08);
}
.sp-hero-floating.score { top: 80px; left: -10px; width: 200px; }
.sp-hero-floating.aida  { bottom: 0; right: 20px; width: 280px; }
@media (max-width: 767px) {
  .sp-hero-floating.score { left: 0; top: 0; width: 170px; padding: 14px; }
  .sp-hero-floating.aida { right: 0; bottom: -20px; width: 240px; padding: 14px; }
}

/* trust band */
.sp-trust-band {
  margin: 56px auto 0; max-width: 1480px;
  padding: 32px var(--pad-x); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (min-width: 768px) { .sp-trust-band { grid-template-columns: repeat(4, 1fr); } }
.sp-trust-band > div { padding-left: 0; }
@media (min-width: 768px) { .sp-trust-band > div:not(:first-child) { padding-left: 32px; border-left: 1px solid var(--line); } }
.sp-trust-num { font-size: 36px; font-weight: 700; letter-spacing: -0.04em; }
@media (min-width: 768px) { .sp-trust-num { font-size: 44px; } }
.sp-trust-lbl { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

.sp-section { padding: 56px var(--pad-x); max-width: 1480px; margin: 0 auto; }
.sp-section-tag { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--c-blue); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.sp-section-title { font-size: clamp(28px, 5vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 12px; max-width: 720px; }
.sp-feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .sp-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; } }
.sp-feature-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.sp-feature-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(30,82,159,0.08); color: var(--c-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sp-feature-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.sp-feature-card p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin-top: 8px; }

.sp-cta { background: var(--c-navy); color: #fff; padding: 56px var(--pad-x); text-align: center; position: relative; overflow: hidden; }
.sp-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 20% 50%, rgba(59,130,246,0.35), transparent 60%), radial-gradient(600px 400px at 90% 50%, rgba(34,211,238,0.25), transparent 60%); }
.sp-cta > * { position: relative; z-index: 1; }
.sp-cta h2 { font-size: clamp(28px, 5vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; max-width: 720px; margin: 0 auto; }
.sp-cta p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.75); margin-top: 16px; max-width: 560px; margin-inline: auto; }
.sp-cta .spectrum-btn { margin-top: 28px; }
.sp-footer { padding: 32px var(--pad-x); border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--ink-3); }

/* === HERO POINTS === */
.sp-hero-points { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.sp-hero-points li { flex: 1 1 120px; max-width: 170px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
.sp-hero-point-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(30,82,159,0.08); color: var(--c-blue); display: flex; align-items: center; justify-content: center; }

/* === HERO PHOTO + BUBBLES === */
.sp-hero-photo {
  position: relative; width: 100%; height: 100%; min-height: 360px;
  background-size: cover; background-position: center; border-radius: 24px;
  box-shadow: 0 30px 60px -25px rgba(11,26,53,0.4); overflow: hidden;
}
@media (min-width: 1024px) { .sp-hero-photo { min-height: 520px; } }
.sp-hero-bubble {
  position: absolute; max-width: 180px; display: flex; align-items: flex-start; gap: 8px;
  background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.35;
  font-weight: 500; color: var(--ink); box-shadow: 0 12px 28px -10px rgba(11,26,53,0.35);
}
.sp-hero-bubble.left { top: 22px; left: 18px; }
.sp-hero-bubble.right { top: 92px; right: 18px; }
.sp-hero-bubble-flag { font-size: 16px; line-height: 1.2; }

/* === COMO FUNCIONA (STEPS) === */
.sp-steps { display: grid; grid-template-columns: 1fr; gap: 28px 16px; margin-top: 64px; }
@media (min-width: 640px)  { .sp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sp-steps { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.sp-step-card {
  position: relative; padding: 38px 18px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 4px 16px -8px rgba(11,26,53,0.08);
}
.sp-step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 14px -4px rgba(30,82,159,0.5), 0 0 0 5px #fff;
}
.sp-step-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(59,130,246,0.16) 0%, rgba(30,82,159,0.06) 100%);
  color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.sp-step-icon svg { width: 28px; height: 28px; }
.sp-step-card h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.sp-step-card p { font-size: 13px; line-height: 1.5; color: var(--ink-2); margin-top: 8px; }
@media (min-width: 1024px) {
  .sp-step-card:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -10px;
    width: 12px; height: 12px;
    border-top: 2px solid rgba(30,82,159,0.35);
    border-right: 2px solid rgba(30,82,159,0.35);
    transform: translate(50%, -50%) rotate(45deg);
    z-index: 1;
  }
}

/* === EXEMPLO DE SIMULAÇÃO === */
.sp-example { background: var(--c-navy); color: #fff; border-radius: 24px; padding: 32px var(--pad-x); position: relative; overflow: hidden; }
.sp-example::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(59,130,246,0.28), transparent 60%); }
.sp-example > * { position: relative; z-index: 1; }
.sp-example-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.sp-example-flag { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,0.1); }
.sp-example-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .sp-example-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.sp-example-buyer { display: flex; gap: 16px; align-items: flex-start; }
.sp-example-avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid rgba(255,255,255,0.15); }
.sp-example-name { font-size: 19px; font-weight: 600; }
.sp-example-role { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.sp-example-bio { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.78); margin-top: 12px; max-width: 360px; }
.sp-example-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sp-example-tags span { font-size: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.sp-example-label { font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-cyan); font-weight: 600; display: block; }
.sp-example-goal { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.85); margin: 8px 0 22px; }
.sp-example-langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.sp-example-langs-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.sp-example-langs-row .sp-example-langs { margin-top: 0; }
.sp-example-langs-row .spectrum-btn { margin-left: auto; }
.sp-example-langs .spectrum-pill { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.18); }

/* === RESULTADOS === */
.sp-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .sp-results { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.sp-result-card { padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: center; }
.sp-result-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.sp-result-val { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.sp-result-label { font-size: 13px; line-height: 1.4; color: var(--ink-2); margin-top: 6px; }
.sp-final-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; padding: 28px var(--pad-x); background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; }
.sp-final-cta-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--c-blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.sp-final-cta-icon svg { width: 24px; height: 24px; }
.sp-final-cta-text { flex: 1 1 240px; }
.sp-final-cta-text h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.sp-final-cta-text p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.sp-final-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* === LOGIN === */
.sp-login { min-height: 100vh; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .sp-login { flex-direction: row; } }
.sp-login-panel {
  background: var(--c-navy); color: #fff;
  padding: 96px var(--pad-x) 48px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 320px;
}
@media (min-width: 1024px) { .sp-login-panel { width: 44%; padding: 120px 56px 56px; min-height: 100vh; } }
.sp-login-panel::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; top: -100px; right: -200px; background: radial-gradient(closest-side, rgba(59,130,246,0.35), transparent 70%); filter: blur(20px); }
.sp-login-panel::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; bottom: -120px; left: -140px; background: radial-gradient(closest-side, rgba(34,211,238,0.22), transparent 70%); filter: blur(20px); }
.sp-login-panel > * { position: relative; z-index: 1; }
.sp-login-panel img { position: absolute; top: 32px; left: var(--pad-x); height: 52px; width: auto; z-index: 2; }
@media (min-width: 1024px) { .sp-login-panel img { top: 56px; left: 56px; } }
.sp-login-headline { font-size: clamp(36px, 5vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; margin-top: 20px; }
.sp-login-headline .accent { background: linear-gradient(90deg, var(--c-sky), var(--c-cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; font-weight: 600; }
.sp-login-bullets { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.sp-login-bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.85); }
.sp-login-bullets .check { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--c-blue), var(--c-cyan)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.sp-login-trust { display: flex; align-items: center; gap: 16px; }
.sp-login-trust .stack span { border-color: var(--c-navy); width: 32px; height: 32px; font-size: 12px; }

.sp-login-form-wrap { flex: 1; padding: 32px var(--pad-x); display: flex; flex-direction: column; background: var(--bg); }
@media (min-width: 1024px) { .sp-login-form-wrap { padding: 56px 80px; } }
.sp-login-form { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 420px; margin: 0 auto; width: 100%; }
.sp-login-form h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -0.03em; margin-top: 6px; }
.sp-form-sub { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.sp-form-fields { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.sp-form-field label { display: block; font-family: "Geist Mono", monospace; font-size: 10px; color: var(--ink-2); letter-spacing: 0.08em; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; }
.sp-form-field input {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sp-form-field input:focus { outline: 0; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(30, 82, 159, 0.1); }
.sp-form-field input::placeholder { color: var(--ink-3); }
.sp-pwd-wrap { position: relative; }
.sp-pwd-wrap button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--ink-3); font-size: 12px; cursor: pointer; }
.sp-form-divider { display: flex; align-items: center; gap: 12px; font-family: "Geist Mono", monospace; font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em; margin: 8px 0; }
.sp-form-divider .line { flex: 1; height: 1px; background: var(--line); }
.sp-form-error { font-size: 13px; color: #dc2626; font-weight: 500; padding: 10px 12px; background: rgba(220,38,38,0.08); border-radius: 8px; }
.sp-form-success { font-size: 13px; color: var(--c-emerald); font-weight: 500; padding: 10px 12px; background: rgba(13,155,108,0.08); border-radius: 8px; }
.sp-form-links { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sp-form-links a { font-size: 13px; color: var(--c-blue); font-weight: 500; cursor: pointer; }
.sp-form-links a:hover { text-decoration: underline; }
.sp-google-btn-wrap { display: flex; justify-content: center; }
.sp-google-btn-wrap iframe { margin: 0 !important; }
.sp-google-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 500; cursor: pointer; width: 100%;
}
.sp-google-btn:hover { background: var(--bg-2); }
.sp-spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; animation: sp-spin 0.8s linear infinite; display: inline-block; }
@keyframes sp-spin { to { transform: rotate(360deg); } }

/* === PLANOS / COMPRA === */
.sp-page-title-wrap { text-align: center; max-width: 720px; margin: 0 auto 32px; padding: 0 var(--pad-x); }
.sp-plans-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1200px; margin: 32px auto 0; padding: 0 var(--pad-x); }
@media (min-width: 768px) { .sp-plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sp-plans-grid { grid-template-columns: repeat(3, 1fr); margin-top: 56px; } }
.sp-plan-card { position: relative; padding: 32px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; }
.sp-plan-card.featured { border-color: var(--c-blue); border-width: 2px; box-shadow: 0 20px 50px rgba(30, 82, 159, 0.18); }
@media (min-width: 1024px) { .sp-plan-card.featured { transform: translateY(-12px); } }
.sp-plan-badge { position: absolute; top: -14px; left: 32px; padding: 5px 12px; border-radius: 6px; background: var(--c-blue); color: #fff; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.08em; font-weight: 600; }
.sp-plan-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.sp-plan-desc { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.sp-plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.sp-plan-currency { font-size: 20px; color: var(--ink-2); }
.sp-plan-amount { font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.sp-plan-cents { font-size: 24px; font-weight: 700; color: var(--ink-2); }
.sp-plan-period { font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.sp-plan-divider { height: 1px; background: var(--line); margin: 24px 0; }
.sp-plan-features { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sp-plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.sp-plan-features svg { flex-shrink: 0; margin-top: 2px; }
.sp-plan-cta { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; }
.sp-plan-microcopy { text-align: center; font-size: 11px; color: var(--ink-3); }
.sp-plan-icon-badge { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

.sp-payment-panel { max-width: 720px; margin: 32px auto; padding: 32px var(--pad-x); }
.sp-payment-panel h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.sp-payment-subtitle { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.sp-payment-actions { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.sp-payment-message { margin-top: 18px; padding: 12px 14px; border-radius: 10px; font-size: 13px; background: rgba(11,26,53,0.04); color: var(--ink); }
.sp-payment-message.success { background: rgba(13, 155, 108, 0.1); color: var(--c-emerald); }
.sp-payment-message.error { background: rgba(220, 38, 38, 0.1); color: #dc2626; }
#paymentBrick_container { margin-top: 18px; }

/* === DASHBOARD === */
.sp-dash-main { padding: 28px var(--pad-x) 80px; max-width: 1480px; margin: 0 auto; }
.sp-dash-hero {
  padding: 32px; margin-bottom: 24px;
  background: var(--c-navy); color: #fff;
  border-radius: 18px; position: relative; overflow: hidden;
}
.sp-dash-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 95% 100%, rgba(59,130,246,0.25), transparent 60%), radial-gradient(500px 300px at -10% -10%, rgba(34,211,238,0.18), transparent 60%); }
.sp-dash-hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sp-dash-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; margin-top: 12px; }
.sp-dash-hero p { color: rgba(255,255,255,0.7); font-size: 16px; margin-top: 6px; max-width: 540px; }
.sp-dash-hero-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

.sp-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
@media (min-width: 640px) { .sp-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.sp-stat-card { padding: 20px; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.sp-stat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 4px; background: var(--c-blue); }
.sp-stat-label { font-family: "Geist Mono", monospace; font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; }
.sp-stat-row { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.sp-stat-value { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; color: var(--c-navy); line-height: 1; }
@media (min-width: 640px) { .sp-stat-value { font-size: 40px; } }
.sp-stat-suffix { font-size: 13px; color: var(--ink-3); }
.sp-stat-trend { font-size: 12px; color: var(--ink-2); margin-top: 4px; }

.sp-dash-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .sp-dash-grid { grid-template-columns: 1.5fr 1fr; } }

.sp-history { padding: 24px; }
.sp-history-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sp-history-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.sp-history-head p { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.sp-filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sp-filter-chip { padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 12px; font-weight: 500; cursor: pointer; }
.sp-filter-chip.active { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.sp-history-list { display: flex; flex-direction: column; }
.sp-history-row {
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 12px; padding: 14px 8px;
  border-top: 1px solid var(--line); cursor: pointer;
  transition: background 0.15s;
}
.sp-history-row:hover { background: var(--bg-2); }
.sp-history-row:first-child { border-top: none; }
@media (min-width: 768px) {
  .sp-history-row { grid-template-columns: auto 1fr auto auto auto auto; gap: 16px; padding: 16px 8px; }
}
.sp-history-flag {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.sp-history-buyer { font-size: 14px; font-weight: 600; }
.sp-history-role { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.sp-history-product {
  padding: 4px 10px; border-radius: 6px;
  background: var(--bg-2); color: var(--ink-2);
  font-size: 11px; font-family: "Geist Mono", monospace; font-weight: 600;
}
.sp-history-time { font-size: 12px; color: var(--ink-3); font-family: "Geist Mono", monospace; text-align: right; line-height: 1.4; }
.sp-score-chip {
  width: 48px; height: 48px; border-radius: 12px;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0;
}
.sp-history-empty { padding: 40px 20px; text-align: center; color: var(--ink-3); font-size: 14px; }

.sp-side-card { padding: 24px; }
.sp-side-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.sp-evol-chart { margin-top: 12px; }
.sp-evol-chart svg { display: block; width: 100%; height: auto; }
.sp-progress-bar { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.sp-progress-fill { height: 100%; background: var(--c-blue); transition: width 0.4s; }

/* report body inside history row */
.sp-report-body { grid-column: 1 / -1; padding: 16px; margin-top: 8px; background: var(--bg-2); border-radius: 12px; display: flex; flex-direction: column; gap: 12px; }
.sp-report-section { padding: 14px 16px; border-radius: 10px; background: #fff; border-left: 4px solid var(--c-blue); }
.sp-report-section.green { border-left-color: var(--c-emerald); background: rgba(13,155,108,0.05); }
.sp-report-section.purple { border-left-color: var(--c-violet); background: rgba(111,61,242,0.05); }
.sp-report-section.amber { border-left-color: var(--c-amber); background: rgba(245,166,35,0.05); }
.sp-report-title { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.sp-report-text { font-size: 13px; color: var(--ink-2); line-height: 1.55; margin: 0; white-space: pre-line; }
.sp-aida-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 640px) { .sp-aida-grid { grid-template-columns: 1fr 1fr; } }
.sp-aida-item { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); }
.sp-aida-head { display: flex; justify-content: space-between; align-items: center; }
.sp-aida-label { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sp-aida-nota { font-size: 13px; font-weight: 700; font-family: "Geist Mono", monospace; }
.sp-aida-bar { height: 4px; background: rgba(0,0,0,0.06); border-radius: 2px; margin: 8px 0 8px; overflow: hidden; }
.sp-aida-fill { height: 100%; border-radius: 2px; transition: width 0.6s; }
.sp-aida-text { font-size: 11px; color: var(--ink-2); line-height: 1.45; margin: 0; }

/* === ADMIN === */
.sp-admin-card { padding: 28px; margin-top: 28px; }
.sp-admin-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sp-admin-pill { background: var(--c-navy); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; padding: 6px 12px; border-radius: 6px; font-family: "Geist Mono", monospace; }
.sp-admin-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 1024px) { .sp-admin-grid { grid-template-columns: minmax(280px, 340px) 1fr; } }
.sp-admin-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.sp-admin-form h3 { font-size: 16px; font-weight: 600; }
.sp-admin-field label { display: block; font-family: "Geist Mono", monospace; font-size: 10px; color: var(--ink-2); letter-spacing: 0.08em; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; }
.sp-admin-field input, .sp-admin-field select {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; font-size: 14px;
}
.sp-admin-field input:focus, .sp-admin-field select:focus { outline: 0; border-color: var(--c-blue); }
.sp-admin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-admin-table { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.sp-admin-table-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sp-admin-table-head h3 { font-size: 16px; font-weight: 600; }
.sp-admin-search { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); min-width: 200px; }
.sp-admin-rows { max-height: 420px; overflow-y: auto; }
.sp-admin-row-item { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr 0.8fr auto; gap: 12px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 13px; min-width: 600px; }
.sp-admin-table { overflow-x: auto; }
.sp-admin-row-item:last-child { border-bottom: none; }
.sp-admin-row-head { font-weight: 700; color: var(--ink); background: var(--bg-2); border-radius: 8px; padding: 12px 8px; }
.sp-client-meta { display: grid; gap: 2px; }
.sp-client-meta strong { font-size: 14px; }
.sp-client-meta span { color: var(--ink-3); font-size: 12px; }
.sp-plan-pill { display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--bg-2); color: var(--ink-2); font-family: "Geist Mono", monospace; }
.sp-plan-pill.pro { background: rgba(30,82,159,0.12); color: var(--c-blue); }
.sp-plan-pill.business { background: rgba(111,61,242,0.12); color: var(--c-violet); }

/* === SETUP === */
.sp-setup-main { padding: 40px var(--pad-x) 80px; max-width: 1480px; margin: 0 auto; }
.sp-setup-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .sp-setup-grid { grid-template-columns: 1fr 380px; } }
.sp-setup-title { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.0; }
.sp-setup-sub { font-size: 16px; color: var(--ink-2); margin-top: 14px; max-width: 560px; }
.sp-stepper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin-top: 32px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
@media (min-width: 640px) { .sp-stepper { grid-template-columns: repeat(4, 1fr); } }
.sp-step { padding: 12px 14px; border-radius: 10px; cursor: pointer; }
.sp-step.active { background: var(--c-navy); color: #fff; }
.sp-step .num { font-family: "Geist Mono", monospace; font-size: 10px; opacity: 0.6; letter-spacing: 0.08em; }
.sp-step .lbl { font-size: 13px; font-weight: 600; margin-top: 4px; }
.sp-setup-card { padding: 28px; margin-top: 24px; }
.sp-setup-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.sp-setup-back { font-size: 13px; color: var(--c-blue); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }

.sp-lang-grid, .sp-voice-grid, .sp-country-grid, .sp-product-grid, .sp-difficulty-grid { display: grid; gap: 12px; margin-top: 20px; }
.sp-lang-grid { grid-template-columns: 1fr 1fr; max-width: 440px; }
.sp-voice-grid { grid-template-columns: 1fr; max-width: 560px; }
@media (min-width: 640px) { .sp-voice-grid { grid-template-columns: 1fr 1fr; } }
.sp-country-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .sp-country-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sp-country-grid { grid-template-columns: repeat(3, 1fr); } }
.sp-product-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .sp-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sp-product-grid { grid-template-columns: repeat(6, 1fr); } }
.sp-difficulty-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .sp-difficulty-grid { grid-template-columns: repeat(3, 1fr); } }

.sp-select-card {
  padding: 18px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.08s;
  text-align: left; position: relative;
}
.sp-select-card:hover { border-color: var(--line-strong); }
.sp-select-card:active { transform: scale(0.99); }
.sp-select-card.active { border-color: var(--c-blue); background: rgba(30,82,159,0.05); border-width: 2px; padding: 17px; }
.sp-select-card .flag { font-size: 28px; }
.sp-select-card h3 { font-size: 15px; font-weight: 600; margin-top: 6px; }
.sp-select-card .muted { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.sp-select-card .check {
  position: absolute; top: 12px; right: 12px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

.sp-country-card { text-align: center; padding: 16px 12px; }
.sp-country-card .avatar { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; background: var(--bg-2); border: 2px solid #fff; box-shadow: 0 6px 18px rgba(11,26,53,0.1); }
.sp-country-card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.sp-country-card .flag { font-size: 24px; }

.sp-product-card {
  padding: 14px 10px; border-radius: 12px; text-align: center;
  border: 1px solid var(--line); background: #fff;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.sp-product-card.active { border-color: var(--prod-c, var(--c-blue)); background: var(--prod-bg, rgba(30,82,159,0.06)); border-width: 2px; padding: 13px 9px; }
.sp-product-card .dot { width: 32px; height: 32px; margin: 0 auto 8px; border-radius: 50%; background: var(--prod-c, var(--c-blue)); }
.sp-product-card .name { font-size: 13px; font-weight: 600; }

.sp-diff-card { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.sp-diff-card.active { border-color: var(--diff-c, var(--c-amber)); border-width: 2px; padding: 17px; background: var(--diff-bg, rgba(245,166,35,0.06)); }
.sp-diff-head { display: flex; align-items: center; justify-content: space-between; }
.sp-diff-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--diff-c, var(--c-amber)); display: flex; align-items: center; justify-content: center; }
.sp-diff-card.active .sp-diff-radio { background: var(--diff-c, var(--c-amber)); }
.sp-diff-tag { font-family: "Geist Mono", monospace; font-size: 9px; padding: 3px 6px; border-radius: 4px; background: var(--diff-c, var(--c-amber)); color: #fff; letter-spacing: 0.08em; font-weight: 700; }
.sp-diff-card h3 { font-size: 17px; font-weight: 600; margin-top: 16px; letter-spacing: -0.02em; }
.sp-diff-card .sub { font-size: 12px; color: var(--ink-2); margin-top: 4px; }

.sp-voice-card {
  padding: 18px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  cursor: pointer; display: grid; gap: 12px; position: relative;
  transition: border-color 0.15s;
}
.sp-voice-card.active { border-color: var(--c-blue); border-width: 2px; padding: 17px; background: rgba(30,82,159,0.04); }
.sp-voice-badge { width: 64px; height: 64px; border-radius: 14px; background: rgba(30,82,159,0.1); color: var(--c-blue); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.sp-voice-card h3 { font-size: 16px; font-weight: 600; }
.sp-voice-desc { font-size: 13px; color: var(--ink-2); }
.sp-voice-actions { display: flex; gap: 10px; align-items: center; }
.sp-voice-play { width: 38px; height: 38px; border-radius: 50%; background: var(--c-blue); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sp-voice-play:disabled { opacity: 0.6; }
.sp-voice-progress { flex: 1; height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; }
.sp-voice-progress-fill { height: 100%; background: var(--c-blue); transition: width 0.1s linear; }
.sp-voice-speed { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.sp-voice-speed button { padding: 6px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12px; cursor: pointer; }
.sp-voice-speed button.active { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* setup preview card (right column) */
.sp-preview-card { padding: 0; overflow: hidden; position: sticky; top: 90px; }
.sp-preview-card .avatar { height: 240px; background: var(--bg-2); background-size: cover; background-position: center 22%; }
.sp-preview-meta { padding: 22px; }
.sp-preview-meta h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.sp-preview-meta .sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.sp-preview-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.sp-preview-row { display: flex; justify-content: space-between; font-size: 13px; }
.sp-preview-row span:first-child { color: var(--ink-3); }
.sp-preview-row span:last-child { font-weight: 600; }

/* === RINGING SCREEN (intro) === */
.sp-ring-page { min-height: 100vh; position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(30,82,159,0.18), transparent 60%),
    radial-gradient(900px 600px at 95% 110%, rgba(34,211,238,0.14), transparent 60%),
    var(--bg); }
.sp-ring-bar { padding: 20px var(--pad-x); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.75); backdrop-filter: blur(20px); }
.sp-ring-main { padding: 40px var(--pad-x); display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1400px; margin: 0 auto; align-items: center; }
@media (min-width: 1024px) { .sp-ring-main { grid-template-columns: 1fr 1.1fr 1fr; gap: 40px; padding: 60px var(--pad-x); } }
.sp-ring-headline { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em; margin-top: 10px; line-height: 1.05; }
.sp-ring-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.sp-ring-row { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.sp-ring-avatar-wrap { position: relative; display: flex; align-items: center; justify-content: center; height: 480px; }
.sp-ring-pulse { position: absolute; border-radius: 50%; border: 1px solid rgba(30,82,159,0.25); }
.sp-ring-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34,211,238,0.35), transparent 70%); filter: blur(20px); }
.sp-ring-avatar { width: 280px; height: 280px; border-radius: 50%; background: linear-gradient(135deg, var(--c-blue), var(--c-cyan)); padding: 4px; position: relative; z-index: 2; box-shadow: 0 30px 80px rgba(30,82,159,0.35); }
.sp-ring-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 22%; display: block; }
.sp-ring-status { position: absolute; bottom: 60px; z-index: 3; padding: 8px 16px; border-radius: 999px; background: var(--c-navy); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 14px 30px rgba(11,26,53,0.25); display: flex; align-items: center; gap: 8px; }
.sp-ring-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 0 4px rgba(34,211,238,0.25); }
.sp-ring-brief { padding: 22px; }
.sp-ring-brief p { font-size: 14px; line-height: 1.55; margin-top: 10px; }
.sp-ring-answer-btn {
  width: 100%; margin-top: 20px; padding: 22px 24px; border-radius: 16px;
  background: linear-gradient(135deg, #1e529f, #3b82f6, #22d3ee);
  border: 0; color: #fff; font-size: 17px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 18px 50px rgba(30,82,159,0.4); cursor: pointer;
}

/* === ACTIVE CALL === */
.sp-call-page { min-height: 100vh; position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(30,82,159,0.16), transparent 60%),
    radial-gradient(900px 600px at 95% 110%, rgba(34,211,238,0.12), transparent 60%),
    var(--bg);
  display: flex; flex-direction: column; }
.sp-call-bar { padding: 20px var(--pad-x); display: flex; justify-content: space-between; align-items: center; }
.sp-call-timer { padding: 6px 14px; border-radius: 999px; background: rgba(220,38,38,0.1); color: #dc2626; font-size: 12px; letter-spacing: 0.1em; font-weight: 600; font-family: "Geist Mono", monospace; display: inline-flex; align-items: center; gap: 8px; }
.sp-call-timer .dot { width: 7px; height: 7px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,0.15); }
.sp-call-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px var(--pad-x); }
.sp-call-avatar-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 340px; height: 340px; }
@media (min-width: 768px) { .sp-call-avatar-wrap { width: 480px; height: 480px; } }
.sp-call-avatar { width: 220px; height: 220px; border-radius: 50%; background: linear-gradient(135deg, var(--c-blue), var(--c-cyan)); padding: 5px; position: relative; z-index: 2; box-shadow: 0 30px 80px rgba(30,82,159,0.4); animation: pc-avatar-breathe 3.2s ease-in-out infinite; }
@media (min-width: 768px) { .sp-call-avatar { width: 280px; height: 280px; } }
.sp-call-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 22%; }
.sp-call-name { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-top: 24px; text-align: center; }
.sp-call-role { font-size: 14px; color: var(--ink-2); margin-top: 4px; text-align: center; }
.sp-call-status { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.sp-call-wave { display: flex; align-items: center; gap: 4px; height: 36px; margin-top: 32px; }
.sp-call-wave .bar { width: 4px; height: 36px; border-radius: 2px; background: var(--c-blue); transform-origin: center; animation: pc-wave-bar 0.9s ease-in-out infinite; }
.sp-call-controls { padding: 28px var(--pad-x) 48px; display: flex; justify-content: center; }
.sp-call-ctrl-bar { display: flex; gap: 12px; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(11,26,53,0.08); flex-wrap: wrap; justify-content: center; }
.sp-call-ctrl-btn { padding: 14px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 80px; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.sp-call-ctrl-btn:hover { background: var(--bg); }
.sp-call-ctrl-btn.active { background: rgba(30,82,159,0.1); color: var(--c-blue); border-color: rgba(30,82,159,0.3); }
.sp-call-ctrl-btn.off { background: rgba(220,38,38,0.1); color: #dc2626; border-color: rgba(220,38,38,0.3); }
.sp-call-ctrl-btn.danger { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(220,38,38,0.35); }
.sp-call-ctrl-btn.success { background: linear-gradient(135deg, #10b981, #059669); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(13,155,108,0.35); }
.sp-call-ctrl-label { font-size: 10px; font-family: "Geist Mono", monospace; letter-spacing: 0.06em; font-weight: 700; text-transform: uppercase; }

/* === REPORT MODAL === */
.sp-modal-backdrop { position: fixed; inset: 0; background: rgba(11,26,53,0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 999; padding: 24px; }
.sp-modal { background: #fff; border-radius: 20px; width: min(640px, 100%); max-height: 88vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(15,23,42,0.25); }
.sp-modal-banner { padding: 28px 32px; background: var(--c-navy); color: #fff; border-radius: 20px 20px 0 0; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.sp-modal-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 300px at 90% 100%, rgba(59,130,246,0.3), transparent 60%); }
.sp-modal-banner > * { position: relative; z-index: 1; }
.sp-score-ring { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.sp-score-ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sp-score-ring-num strong { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.sp-score-ring-num span { font-size: 10px; font-family: "Geist Mono", monospace; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; margin-top: 4px; }
.sp-modal-body { padding: 24px 32px; display: flex; flex-direction: column; gap: 16px; }
.sp-modal-resumo { font-size: 14px; color: var(--ink-2); line-height: 1.6; padding: 14px 16px; background: var(--bg-2); border-radius: 10px; }

/* === CONFIG === */
.sp-config-main { padding: 28px var(--pad-x) 80px; max-width: 1480px; margin: 0 auto; }
.sp-config-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .sp-config-grid { grid-template-columns: 260px 1fr; gap: 32px; } }
.sp-config-tab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; border-left: 3px solid transparent; cursor: pointer; transition: background 0.15s; width: 100%; text-align: left; }
.sp-config-tab:hover { background: var(--bg-2); }
.sp-config-tab.active { background: var(--bg-2); color: var(--ink); font-weight: 600; border-left-color: var(--c-blue); }
.sp-config-tab .ic { color: var(--ink-3); display: flex; }
.sp-config-tab.active .ic { color: var(--c-blue); }
.sp-config-panels { display: flex; flex-direction: column; gap: 16px; }
.sp-config-card { padding: 28px; }
.sp-config-card h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.sp-config-card .desc { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.sp-avatar-circle { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--c-blue), var(--c-cyan)); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; position: relative; cursor: pointer; }
.sp-avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.sp-avatar-circle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sp-config-fields { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .sp-config-fields { grid-template-columns: 1fr 1fr; } }
.sp-config-field label { display: block; font-family: "Geist Mono", monospace; font-size: 10px; color: var(--ink-2); letter-spacing: 0.08em; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; }
.sp-config-field input { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.sp-config-field input:focus { outline: 0; border-color: var(--c-blue); }
.sp-strength-bar { width: 100%; height: 6px; background: var(--bg-2); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.sp-strength-fill { height: 100%; border-radius: 3px; transition: width 0.3s; }

/* === ANIMATIONS === */
@keyframes pc-pulse-ring { 0% { transform: scale(0.85); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes pc-avatar-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes pc-wave-bar { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@keyframes pc-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: pc-fade-up 0.45s ease both; }
.pc-pulse-ring { animation: pc-pulse-ring 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; transform-origin: center; }

/* === RESPONSIVE & ACCESSIBILITY === */
body { overflow-x: hidden; }
input, select, textarea { font-size: 16px !important; }
@media (hover: none) and (pointer: coarse) {
  .spectrum-btn:hover { transform: none; }
}
