/*
  LP de profissionais (/produtos/profissionais) no visual v5.
  Paper: "S10 Robozin.PRO — profissionais" (desktop 1440). Valores copiados
  do Paper; tokens (--color-*, --font-*) vêm do site-v5.css.
  Celular (< 900px) segue a home v5 celular: 1 coluna, títulos ~32-40px,
  recursos em trilho horizontal.
*/

.p5-pro { background: var(--color-paper); }
/* Resets com especificidade baixa (:where) para as classes de seção ganharem. */
:where(.p5-pro) :where(p, h1, h2, ul, ol, table) { margin: 0; }
:where(.p5-pro) :where(ul, ol) { list-style: none; padding: 0; }

.p5-pro__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 16px;
  text-transform: uppercase;
}
.p5-pro__kicker--amber { color: var(--color-amber); }
.p5-pro__kicker--700 { color: var(--color-amber-700); }

.p5-pro__h2 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 64px;
  color: #000;
}
.p5-pro__h2--white { color: #fff; }

.p5-pro .p5-pro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2.5px solid var(--color-ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 18px;
  white-space: nowrap;
}
/* Âmbar sobre fundo escuro: borda e sombra brancas (Paper). */
.p5-pro .p5-pro__btn--amber-w {
  padding: 15px 28px;
  background: var(--color-amber);
  border-color: #fff;
  box-shadow: #fff 4px 4px 0;
  font-size: 17px;
  line-height: 20px;
  color: #000;
}
.p5-pro .p5-pro__btn--md { padding: 13px 22px; font-size: 16px; }
.p5-pro .p5-pro__btn--ink {
  background: var(--color-ink);
  color: #fff;
  box-shadow: var(--color-amber) 4px 4px 0;
}
.p5-pro .p5-pro__btn--full { width: 100%; padding: 14px 22px; font-size: 16px; line-height: 20px; box-shadow: none; }

.p5-pro__cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.p5-pro__cta-note { font-size: 14px; font-weight: 500; line-height: 18px; color: #A1A1AA; }

/* Botõezinhos dos mockups (não clicáveis). */
.p5-pro__mini {
  padding: 9px 16px;
  border: 2px solid var(--color-ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 16px;
  color: #000;
  white-space: nowrap;
}
.p5-pro__mini--amber { background: var(--color-amber); border-width: 2.5px; box-shadow: var(--color-ink) 3px 3px 0; }
.p5-pro__mini--lg { padding: 11px 20px; }

/* ── 1. Hero ─────────────────────────────────────────────────────────── */
.p5-pro__hero { background: var(--color-ink); padding: 96px 0 112px; }
.p5-pro__hero-inner { display: flex; align-items: center; gap: 64px; }
.p5-pro__hero-text { width: 620px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }
.p5-pro__hero-title {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 78px;
  color: #fff;
}
.p5-pro__hero-sub { max-width: 560px; font-size: 19px; line-height: 30px; color: #A1A1AA; }

.p5-pro__browser {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background: var(--color-paper);
  border: 2.5px solid #fff;
  border-radius: 24px;
  box-shadow: var(--color-amber) 8px 8px 0;
  rotate: 1.5deg;
}
/* Barra no padrão Windows: endereço à esquerda, controles à direita. */
.p5-pro__browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 16px;
  background: var(--color-mist);
  border-bottom: 2px solid var(--color-ink);
}
.p5-pro__browser-url {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: var(--color-graphite);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p5-pro__win { display: flex; gap: 14px; flex-shrink: 0; }
.p5-pro__win svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--color-ink);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.p5-pro__browser-body { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.p5-pro__perfil { display: flex; align-items: center; gap: 12px; }
.p5-pro__perfil-av {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-success);
  border: 2px solid var(--color-ink);
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #000;
}
.p5-pro__perfil-txt { display: flex; flex-direction: column; min-width: 0; }
.p5-pro__perfil-nome { font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 22px; color: #000; }
.p5-pro__perfil-meta { font-size: 13px; line-height: 18px; color: var(--color-graphite); }
.p5-pro__perfil-head {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 34px;
  color: #000;
}
.p5-pro__perfil-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.p5-pro__perfil-boxes { display: flex; gap: 10px; }
.p5-pro__box {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 2px solid var(--color-ink);
  border-radius: 14px;
}
.p5-pro__box-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 14px;
  color: var(--color-graphite);
}
.p5-pro__slots { display: flex; gap: 6px; }
.p5-pro__slots span {
  padding: 5px 8px;
  background: var(--color-amber-50);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  color: #000;
}
.p5-pro__slots span.is-off { background: var(--color-mist); color: var(--color-graphite); text-decoration: line-through 1px; }
.p5-pro__box-price { font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 24px; color: #000; }

/* ── 2. Recursos ─────────────────────────────────────────────────────── */
.p5-pro__rec { padding: 120px 0; }
.p5-pro__rec-head { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.p5-pro .p5-pro__rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  overflow: visible;
}
.p5-pro__rec-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 2px solid var(--color-ink);
  border-radius: 20px;
  background: var(--color-paper);
}
.p5-pro__rec-card--on { background: var(--color-amber); border-width: 2.5px; box-shadow: var(--color-ink) 5px 5px 0; }
.p5-pro__rec-n {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 16px;
  color: var(--color-amber-700);
}
.p5-pro__rec-card--on .p5-pro__rec-n { color: #000; }
.p5-pro__rec-t {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 26px;
  color: #000;
}
.p5-pro__rec-d { font-size: 15px; line-height: 22px; color: var(--color-graphite); }
.p5-pro__rec-card--on .p5-pro__rec-d { color: #000; }

/* ── 3. Cotações abertas ─────────────────────────────────────────────── */
.p5-pro__cot { padding: 120px 0; }
.p5-pro__cot-inner { display: flex; align-items: center; gap: 72px; }
.p5-pro__cot-text { width: 500px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.p5-pro__badge {
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--color-amber);
  border: 2px solid var(--color-ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 14px;
  color: #000;
}
.p5-pro__cot-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 54px;
  color: #000;
}
.p5-pro__cot-sub { font-size: 18px; line-height: 28px; color: var(--color-graphite); }
.p5-pro__cot-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 24px;
  box-shadow: var(--color-amber) 8px 8px 0;
}
.p5-pro__cot-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p5-pro__cot-proto {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 16px;
  color: var(--color-graphite);
}
.p5-pro__cot-open {
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--color-success-50);
  border: 1.5px solid var(--color-success-700);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  color: var(--color-success-700);
}
.p5-pro__cot-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 30px;
  color: #000;
}
.p5-pro__cot-meta { font-size: 15px; line-height: 22px; color: var(--color-graphite); }
.p5-pro__cot-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.p5-pro__cot-tags span {
  padding: 6px 10px;
  background: var(--color-mist);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  color: #000;
}
.p5-pro__cot-btns { display: flex; gap: 10px; padding-top: 6px; flex-wrap: wrap; }

/* ── 4. Para quem trabalha (comparativo) ─────────────────────────────── */
.p5-pro__vs { background: var(--color-ink); padding: 112px 0; }
.p5-pro__vs-inner { display: flex; align-items: center; gap: 64px; }
.p5-pro__vs-text { width: 520px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; }
.p5-pro__vs-sub { font-size: 18px; line-height: 28px; color: #A1A1AA; }
.p5-pro__vs-table {
  flex: 1 1 0;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #3F3F46;
  border-radius: 20px;
  overflow: hidden;
  table-layout: fixed;
}
.p5-pro__vs-table th {
  padding: 14px 24px;
  background: #18181B;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 16px;
  color: #71717A;
}
.p5-pro__vs-table th + th { color: var(--color-amber); }
.p5-pro__vs-table td {
  padding: 16px 24px;
  border-top: 1.5px solid #27272A;
  font-size: 16px;
  line-height: 22px;
  color: #71717A;
  vertical-align: top;
}
.p5-pro__vs-table td + td { color: #fff; font-weight: 700; }

/* ── 5. CTA final (âmbar) ────────────────────────────────────────────── */
.p5-pro__fim {
  background: var(--color-amber);
  border-top: 2.5px solid var(--color-ink);
  padding: 104px 0;
}
.p5-pro__fim-inner { display: flex; align-items: center; gap: 64px; }
.p5-pro__fim-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.p5-pro__fim-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 58px;
  color: #000;
}
.p5-pro__fim-sub { font-size: 16px; font-weight: 500; line-height: 24px; color: #000; }
.p5-pro__fim-card {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--color-paper);
  border: 2.5px solid var(--color-ink);
  border-radius: 24px;
  box-shadow: var(--color-ink) 6px 6px 0;
}
.p5-pro__fim-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.p5-pro__fim-card li { font-size: 15px; font-weight: 600; line-height: 22px; color: #000; }

/* ── Entre 900 e ~1240 ───────────────────────────────────────────────── */
@media (max-width: 1239.98px) and (min-width: 900px) {
  .p5-pro__hero-inner, .p5-pro__cot-inner, .p5-pro__vs-inner { gap: 40px; }
  .p5-pro__hero-text { width: 460px; }
  .p5-pro__hero-title { font-size: 60px; line-height: 60px; }
  .p5-pro__perfil-head { font-size: 26px; line-height: 28px; }
  .p5-pro__h2 { font-size: 52px; line-height: 54px; }
  .p5-pro__cot-text { width: 400px; }
  .p5-pro__cot-title { font-size: 44px; line-height: 46px; }
  .p5-pro__vs-text { width: 400px; }
  .p5-pro__vs-table th, .p5-pro__vs-table td { padding-inline: 16px; }
  .p5-pro__fim-title { font-size: 44px; line-height: 46px; }
  .p5-pro__fim-card { width: 360px; }
}

/* ── Celular ─────────────────────────────────────────────────────────── */
@media (max-width: 899.98px) {
  .p5-pro__kicker { font-size: 11px; line-height: 14px; }
  .p5-pro__h2 { font-size: 32px; line-height: 34px; letter-spacing: -0.04em; }
  .p5-pro .p5-pro__btn { min-height: 48px; white-space: normal; text-align: center; }
  .p5-pro .p5-pro__btn--amber-w { padding: 14px 22px; font-size: 16px; }

  .p5-pro__hero { padding: 40px 0 56px; }
  .p5-pro__hero-inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .p5-pro__hero-text { width: auto; gap: 18px; }
  .p5-pro__hero-title { font-size: 40px; line-height: 40px; }
  .p5-pro__hero-sub { font-size: 16px; line-height: 24px; }
  .p5-pro__browser { flex: none; rotate: 0deg; box-shadow: var(--color-amber) 6px 6px 0; }
  .p5-pro__browser-body { padding: 18px; gap: 12px; }
  .p5-pro__perfil-head { font-size: 24px; line-height: 26px; }
  .p5-pro__perfil-boxes { flex-direction: column; }

  .p5-pro__rec { padding: 56px 0; }
  .p5-pro .p5-pro__rec-grid {
    display: flex;
    gap: 12px;
    margin: 28px -16px 0;
    padding-inline: 16px;
    overflow-x: auto;
  }
  .p5-pro__rec-card { flex: 0 0 78%; padding: 22px; }
  .p5-pro__rec-t { font-size: 20px; line-height: 24px; }

  .p5-pro__cot { padding: 56px 0; }
  .p5-pro__cot-inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .p5-pro__cot-text { width: auto; gap: 16px; }
  .p5-pro__cot-title { font-size: 32px; line-height: 34px; letter-spacing: -0.04em; }
  .p5-pro__cot-sub { font-size: 15px; line-height: 22px; }
  .p5-pro__cot-card { flex: none; padding: 20px; box-shadow: var(--color-amber) 6px 6px 0; }
  .p5-pro__cot-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .p5-pro__cot-name { font-size: 22px; line-height: 26px; }

  .p5-pro__vs { padding: 56px 0; }
  .p5-pro__vs-inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .p5-pro__vs-text { width: auto; gap: 16px; }
  .p5-pro__vs-sub { font-size: 15px; line-height: 22px; }
  .p5-pro__vs-table { flex: none; width: 100%; }
  .p5-pro__vs-table th { padding: 12px 14px; font-size: 11px; }
  .p5-pro__vs-table td { padding: 12px 14px; font-size: 14px; line-height: 20px; }

  .p5-pro__fim { padding: 56px 0; }
  .p5-pro__fim-inner { flex-direction: column; align-items: stretch; gap: 28px; }
  .p5-pro__fim-title { font-size: 34px; line-height: 36px; }
  .p5-pro__fim-sub { font-size: 15px; line-height: 22px; }
  .p5-pro__fim-card { width: auto; padding: 22px; }
}
