/* ============================================================
   NEWSOM — Páginas de produto (SEO / conversão)
   Suplementa styles.css (mesmos tokens, fontes já carregadas).
   Prefixo .pp-* para não colidir com a landing.
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.pp-crumbs {
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--line);
}
.pp-crumbs ol {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--fg-3);
}
.pp-crumbs a { color: var(--fg-2); }
.pp-crumbs a:hover { color: var(--blue-500); }
.pp-crumbs li[aria-current] { color: var(--blue-500); }
.pp-crumbs .sep { color: var(--line-strong); }

/* ---------- Hero de produto ---------- */
.pp-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--line-dark);
}
.pp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: grayscale(1) contrast(1.05) brightness(0.62);
}
.pp-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.62) 52%, rgba(0,0,0,0.28) 100%);
}
.pp-hero__beam {
  position: absolute;
  inset: 0;
  background: radial-gradient(680px 420px at 80% 16%, var(--blue-glow), transparent 60%);
  opacity: .5;
}
.pp-hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 92px var(--gutter) 84px;
}
.pp-hero__eyebrow { color: var(--blue-400); margin-bottom: 20px; }
.pp-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .005em;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  color: #fff;
  max-width: 900px;
  margin: 0;
}
.pp-hero h1 .accent { color: var(--blue-400); }
.pp-hero__lead {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: var(--on-dark-2);
  max-width: 620px;
  margin-top: 26px;
}
.pp-hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pp-hero__chips {
  display: flex;
  gap: 22px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.pp-hero__chips span {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--on-dark-3);
}

/* ---------- Seção de conteúdo (prose) ---------- */
.pp-section { border-bottom: 1px solid var(--line); }
.pp-section .container { padding-top: 84px; padding-bottom: 84px; }
.pp-section .eyebrow { color: var(--blue-500); margin-bottom: 18px; }
.pp-section h2.h2 { margin-bottom: 20px; }

.pp-prose { max-width: 720px; }
.pp-prose p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0 0 20px;
}
.pp-prose p:last-child { margin-bottom: 0; }
.pp-prose strong { color: var(--fg-1); font-weight: 600; }

/* Layout de duas colunas (texto + destaques) */
.pp-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Cartões de recurso / benefícios ---------- */
.pp-feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.pp-feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all .18s cubic-bezier(.2,.8,.2,1);
}
.pp-feat:hover { transform: translateY(-4px); border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.pp-feat__icon { width: 28px; height: 28px; color: var(--blue-500); }
.pp-feat h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--fg-1);
  margin: 14px 0 8px;
}
.pp-feat p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* ---------- Bloco de especificações ---------- */
.pp-specs {
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.pp-specs h3 {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 18px;
}
.pp-specs dl { margin: 0; display: grid; gap: 0; }
.pp-specs .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.pp-specs .row:last-child { border-bottom: 0; }
.pp-specs dt { font-size: 14px; color: var(--fg-2); }
.pp-specs dd {
  margin: 0;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--fg-1);
  text-align: right;
}

/* ---------- Lista de aplicações (checks) ---------- */
.pp-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 28px;
  margin-top: 8px;
  list-style: none;
  padding: 0;
}
.pp-apps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--fg-1);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.pp-apps svg { width: 18px; height: 18px; color: var(--blue-500); flex: 0 0 auto; }

/* ---------- FAQ (details/summary nativo) ---------- */
.pp-faq { background: var(--surface-subtle); }
.pp-faq .faqlist { max-width: 820px; margin-top: 8px; }
.pp-faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.pp-faq details[open] { border-color: var(--blue-300); box-shadow: var(--shadow-sm); }
.pp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--fg-1);
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary .chev {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-500);
  transition: transform .2s;
}
.pp-faq summary .chev svg { width: 16px; height: 16px; }
.pp-faq details[open] summary .chev { transform: rotate(45deg); }
.pp-faq details > .ans {
  padding: 0 22px 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-2);
}

/* ---------- Faixa CTA ---------- */
.pp-cta {
  position: relative;
  overflow: hidden;
  background: var(--blue-500);
}
.pp-cta__glow {
  position: absolute; inset: 0; opacity: .16;
  background: radial-gradient(600px 320px at 85% -20%, #fff, transparent 60%);
}
.pp-cta .container { position: relative; padding-top: 72px; padding-bottom: 72px; }
.pp-cta .eyebrow { color: rgba(255,255,255,0.82); margin-bottom: 18px; }
.pp-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.03;
  color: #fff;
  max-width: 760px;
  margin: 0 0 12px;
}
.pp-cta p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 0 32px;
}
.pp-cta .btn-primary { background: #fff; color: var(--blue-700); }
.pp-cta .btn-primary:hover { background: var(--blue-100); box-shadow: none; }
.pp-cta .btn-ghostdark { border-color: rgba(255,255,255,0.6); }
.pp-cta .btn-ghostdark:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

/* ---------- Produtos relacionados ---------- */
.pp-related { background: #000; }
.pp-related .container { padding-top: 80px; padding-bottom: 80px; }
.pp-related .eyebrow { color: var(--blue-400); margin-bottom: 18px; }
.pp-related .h2 { color: #fff; margin-bottom: 40px; }
.pp-rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.pp-rel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line-dark);
  min-height: 200px;
  background: var(--ink-800);
  display: block;
  transition: all .3s;
}
.pp-rel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.6);
  transition: filter .35s, transform .5s;
}
.pp-rel:hover img { filter: grayscale(1) contrast(1.05) brightness(0.85); transform: scale(1.05); }
.pp-rel__grad { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,0.92)); }
.pp-rel__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pp-rel__label h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
  color: #fff;
  margin: 0;
}
.pp-rel__label svg { width: 20px; height: 20px; color: var(--blue-400); flex: 0 0 auto; }

/* ---------- Responsivo ---------- */
@media (max-width: 820px) {
  .pp-split { grid-template-columns: 1fr; gap: 36px; }
  .pp-hero__inner { padding: 64px 22px 60px; }
}
