/* Parceria SOS — extras on top of lp.css (shared by /parceria/ and /parceria/etapas/). */

.hero--partner h1 { font-size: clamp(32px, 4.6vw, 54px); }
.hero--partner .checklist { margin-top: 26px; }

/* Segmented radio (Empresa / Autônomo) */
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: block; text-align: center; padding: 12px; border-radius: 10px; font-weight: 600;
  background: var(--ink-900); border: 1px solid var(--ink-600); transition: border-color .15s ease, background .15s ease;
}
.seg label:hover span { border-color: var(--red-hi); }
.seg input:checked + span { border-color: var(--red-hi); background: var(--red-soft); }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(209, 15, 15, 0.25); }
.field.is-invalid .seg span { border-color: #ff5c5c; }

/* ---------- Variant B hero (no inline form) ---------- */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.hero-cta .btn { padding: 18px 30px; font-size: 17px; }
.hero-cta .note { color: var(--text-dim); font-size: 14px; }
.hero-photo { position: relative; scroll-margin-top: 90px; }
.hero-photo .photo { aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.hero-photo .badge {
  position: absolute; left: -18px; bottom: 24px; display: flex; align-items: center; gap: 10px;
  background: var(--ink-800); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: 14px;
}
.hero-photo .badge b { display: block; font-size: 15px; }
.hero-photo .badge span { color: var(--text-dim); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(51, 209, 122, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(51, 209, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(51, 209, 122, 0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
@media (max-width: 860px) { .hero-photo .badge { left: 12px; } }

/* ---------- Typeform-style overlay ---------- */
.tf {
  position: fixed; inset: 0; z-index: 100; background: var(--black); color: var(--text);
  display: flex; flex-direction: column;
}
.tf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 0%, rgba(171, 0, 0, .22), transparent 70%); pointer-events: none; }
.tf-top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.tf-top img { height: 34px; width: auto; }
.tf-close {
  appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.tf-close:hover { background: rgba(255,255,255,.1); }
.tf-close svg { width: 18px; height: 18px; }
.tf-bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ink-600); }
.tf-bar span { display: block; height: 100%; width: 0; background: var(--red-hi); transition: width .35s ease; }

.tf-form { position: relative; flex: 1; display: grid; align-content: center; justify-items: center; padding: 8px 20px 96px; overflow-y: auto; }
.tf-q { width: 100%; max-width: 680px; display: none; }
.tf-q.is-on { display: block; animation: tfIn .35s ease both; }
.tf-q.is-back { animation-name: tfInBack; }
@keyframes tfIn { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes tfInBack { from { opacity: 0; transform: translateY(-32px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tf-q.is-on { animation: none; } }

.tf-num { display: flex; align-items: center; gap: 8px; color: var(--red-hi); font-weight: 700; font-size: 15px; }
.tf-num svg { width: 14px; height: 14px; }
.tf-title { font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; line-height: 1.25; margin-top: 10px; letter-spacing: -0.015em; }
.tf-help { color: var(--text-dim); font-size: 17px; margin-top: 10px; }

.tf-input {
  width: 100%; margin-top: 28px; font: inherit; font-size: clamp(22px, 3vw, 30px); color: var(--text);
  background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.25); padding: 8px 0 10px; outline: none;
  border-radius: 0; transition: border-color .15s ease;
}
.tf-input::placeholder { color: rgba(255,255,255,.28); }
.tf-input:focus { border-bottom-color: var(--red-hi); }

.tf-choices { display: grid; gap: 10px; margin-top: 26px; max-width: 460px; }
.tf-choice {
  appearance: none; font: inherit; font-size: 18px; color: var(--text); text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.18);
  transition: background .15s ease, border-color .15s ease;
}
.tf-choice:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.tf-choice kbd {
  font: inherit; font-size: 13px; font-weight: 700; min-width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 6px; border: 1px solid rgba(255,255,255,.35); color: var(--text-dim);
}
.tf-choice[aria-checked="true"] { border-color: var(--red-hi); background: var(--red-soft); }
.tf-choice[aria-checked="true"] kbd { background: var(--red-hi); border-color: var(--red-hi); color: #fff; }
.tf-choice.blink { animation: blink .3s ease 2; }
@keyframes blink { 50% { background: rgba(209, 15, 15, .35); } }

.tf-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.tf-actions .btn { padding: 12px 22px; font-size: 17px; box-shadow: none; }
.tf-hint { font-size: 13px; color: var(--text-mute); }
.tf-hint b { color: var(--text-dim); }
.tf-err { display: none; margin-top: 14px; color: #ff7a7a; font-size: 15px; }
.tf-err.is-on { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(255, 92, 92, .1); border-radius: 6px; }
.tf-consent { font-size: 12px; color: var(--text-mute); margin-top: 18px; max-width: 520px; }
.tf-consent a { color: var(--text-dim); }

.tf-nav { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 2px; }
.tf-nav button {
  appearance: none; border: 0; cursor: pointer; width: 40px; height: 36px; display: grid; place-items: center;
  background: var(--red); color: #fff;
}
.tf-nav button:first-child { border-radius: 8px 0 0 8px; }
.tf-nav button:last-child { border-radius: 0 8px 8px 0; }
.tf-nav button:disabled { opacity: .4; cursor: default; }
.tf-nav svg { width: 16px; height: 16px; }
.tf-brand { position: absolute; left: 20px; bottom: 26px; font-size: 12px; color: var(--text-mute); }

@media (max-width: 560px) {
  .tf-form { align-content: start; padding-top: 10vh; }
  .tf-hint { display: none; }
  .tf-brand { display: none; }
}
