/* ==========================================================================
   Balcão de Startups — LP de venda de vagas · VN Summit 2026
   CSS vanilla. Identidade visual do site principal (paleta do logotipo,
   Montserrat). Sem framework — é uma única página de rolagem.
   ========================================================================== */

:root {
  --vn-purple: #2e0a71;
  --vn-purple-dark: #1b043f;
  --vn-purple-light: #4a1ca8;
  --vn-green: #29ab61;
  --vn-blue: #004380;
  --vn-cyan: #5ce1e6;

  --ink: #1c1233;
  --muted: #5b5470;
  --faint: #8a8399;
  --line: #e6e3ef;
  --surface: #ffffff;
  --surface-2: #f7f6fb;
  --ok: #1f7a4d;
  --stop: #b23636;

  --radius: 14px;
  --maxw: 960px;
  --bar-h: 40px;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font); letter-spacing: -0.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--vn-purple-light); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.strike { text-decoration: line-through; color: var(--faint); }
.nowrap { white-space: nowrap; }

/* ---------- A · Barra de campanha (sticky) ---------- */
.campaign-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--vn-purple-dark), var(--vn-purple) 55%, var(--vn-purple-light));
}
.campaign-bar[hidden] { display: none; }

/* ---------- B · Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(92, 225, 230, 0.14) 1px, transparent 0),
    linear-gradient(160deg, var(--vn-purple-dark) 0%, var(--vn-purple) 55%, var(--vn-purple-light) 100%);
  background-size: 26px 26px, auto;
  color: #fff;
  padding: 48px 0 56px;
}
.hero__logo { width: 190px; margin-bottom: 28px; }
.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vn-cyan);
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; max-width: 20ch; }
.hero__sub { margin-top: 16px; max-width: 54ch; color: rgba(255, 255, 255, 0.85); font-size: 1.02rem; }

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.price__now { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.price__was { font-size: 1.1rem; color: rgba(255, 255, 255, 0.6); text-decoration: line-through; }
.price__tail { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

.badge {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vn-cyan);
  border: 1px solid rgba(92, 225, 230, 0.4);
  border-radius: 999px;
  padding: 5px 14px;
}

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__micro { margin-top: 14px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.06s ease, filter 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--vn-green); color: #06231a; border-color: var(--vn-green); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { border-color: #fff; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--dark { background: var(--vn-purple); color: #fff; border-color: var(--vn-purple); }
.btn--dark:hover { filter: brightness(1.1); }

/* ---------- Seções de conteúdo ---------- */
.section { padding: 52px 0; border-bottom: 1px solid var(--line); }
.section:nth-of-type(even) { background: var(--surface-2); }
.section__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--vn-purple-light);
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 800; }
.section__lead { margin-top: 12px; max-width: 62ch; color: var(--muted); }

.included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.included li {
  list-style: none;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
}
.included li::before { content: "✓"; color: var(--vn-green); font-weight: 800; margin-right: 8px; }
.figure {
  margin: 0 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.figure img { width: 100%; height: auto; }
.figure__ph {
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(138, 131, 153, 0.12) 10px, rgba(138, 131, 153, 0.12) 11px);
}
.figure figcaption { padding: 10px 16px; font-size: 0.8rem; color: var(--muted); }

.reasons { margin-top: 20px; padding: 0; }
.reasons li {
  list-style: none;
  padding-left: 26px;
  position: relative;
  margin: 10px 0;
  color: var(--muted);
}
.reasons li::before { content: "→"; position: absolute; left: 0; color: var(--vn-purple-light); font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.steps .step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.steps .step__n { font-size: 0.8rem; font-weight: 800; color: var(--vn-green); }
.steps .step p { margin-top: 6px; font-weight: 600; font-size: 0.9rem; }

/* ---------- G · Regulamento ---------- */
.rules__box {
  margin-top: 20px;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px 20px;
  font-size: 0.88rem;
  color: var(--muted);
}
.rules__box h3 { font-size: 0.95rem; color: var(--ink); margin: 14px 0 4px; }
.rules__box h3:first-child { margin-top: 0; }
.rules__box p { margin: 6px 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 22px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 16px;
  margin: 10px 0;
  background: var(--surface);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--vn-purple-light); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 14px; color: var(--muted); font-size: 0.92rem; }

/* ---------- H · Checkout ---------- */
.checkout { background: var(--surface-2); padding: 56px 0; }
.checkout__card {
  max-width: 640px;
  margin: 24px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 60px -30px rgba(46, 10, 113, 0.25);
}

.stepflags { display: flex; gap: 8px; margin-bottom: 22px; }
.stepflags span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
.stepflags span.is-done { background: var(--vn-green); }
.stepflags span.is-active { background: var(--vn-purple-light); }

.pane[hidden] { display: none; }
.pane h3 { font-size: 1.15rem; font-weight: 800; }
.pane__hint { margin-top: 6px; color: var(--muted); font-size: 0.9rem; }

.toggle {
  display: flex;
  gap: 6px;
  margin: 18px 0 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.toggle button {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px;
  border-radius: 7px;
  cursor: pointer;
  color: var(--muted);
}
.toggle button[aria-pressed="true"] { background: var(--vn-purple); color: #fff; }

.formgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.field label .opt { font-weight: 500; color: var(--faint); }
.field input,
.field select {
  font-family: var(--font);
  font-size: 0.92rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}
.field input:focus,
.field select:focus { outline: 2px solid var(--vn-purple-light); outline-offset: 1px; }
.field[hidden] { display: none; }
.field.has-error input,
.field.has-error select { border-color: var(--stop); }
.field .err { font-size: 0.74rem; color: var(--stop); min-height: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.accept {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--ink);
}
.accept input { margin-top: 4px; flex: none; width: 16px; height: 16px; accent-color: var(--vn-purple); }

.formmsg { margin-top: 14px; font-size: 0.86rem; min-height: 1.2em; }
.formmsg.is-error { color: var(--stop); }
.formmsg.is-ok { color: var(--ok); }

.placeholder-pane {
  margin-top: 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--surface-2);
}
.placeholder-pane strong { color: var(--ink); display: block; margin-bottom: 6px; }

.success { text-align: center; padding: 12px 0; }
.success .tick {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--vn-green);
  color: #06231a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800;
}

/* ---------- J · Rodapé ---------- */
.footer { background: var(--vn-purple-dark); color: rgba(255, 255, 255, 0.75); padding: 36px 0; font-size: 0.82rem; }
.footer a { color: var(--vn-cyan); }
.footer__row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }

/* ---------- Responsivo ---------- */
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .formgrid { grid-template-columns: 1fr; }
  .price__now { font-size: 2.1rem; }
}
