/* Paginas de servico e ferramenta - Maximus (v1, 30/10/2026) */
.pg { --pg-max: 1180px; }
.pg .wrap { max-width: var(--pg-max); margin: 0 auto; padding: 0 24px; }
.pg section { padding: 72px 0; }
.pg .alt { background: var(--bg-secondary); }
.pg h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--text-primary); }
.pg .kicker { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.pg .sub { color: var(--text-secondary); font-size: 1.08rem; line-height: 1.7; max-width: 720px; margin: 0 0 32px; }

/* Breadcrumb */
.pg-crumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 18px; }
.pg-crumb a { color: var(--text-muted); text-decoration: none; }
.pg-crumb a:hover { color: var(--accent-ink); }

/* Hero */
.pg-hero { padding: 132px 0 64px !important; position: relative; overflow: hidden; }
.pg-hero::before { content: ''; position: absolute; inset: -30% -20% auto auto; width: 70%; height: 140%; background: radial-gradient(ellipse at center, rgba(253,192,2,.14) 0%, transparent 62%); pointer-events: none; }
.pg-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.pg-hero h1 { font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; color: var(--text-primary); }
.pg-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(253,192,2,.55) 62%); }
.pg-answer { font-size: 1.15rem; line-height: 1.7; color: var(--text-secondary); margin: 0 0 22px; }
.pg-answer strong { color: var(--text-primary); }
.pg-facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.pg-facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-primary); font-weight: 500; }
.pg-facts li::before { content: ''; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--accent-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-hero__media { position: relative; }
.pg-hero__photo { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); display: block; }
.pg-hero__badge { position: absolute; left: -18px; bottom: -18px; background: #0a0a0c; color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 16px 32px rgba(0,0,0,.3); display: flex; gap: 12px; align-items: center; max-width: 290px; }
.pg-hero__badge b { white-space: nowrap; font-family: var(--font-display); font-size: 1.6rem; color: #fdc002; line-height: 1; }
.pg-hero__badge span { font-size: .82rem; line-height: 1.35; color: #e2e2e2; }

/* Numbers strip */
.pg-nums { padding: 0 !important; background: #0a0a0c; }
.pg-nums__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pg-nums__item { padding: 30px 20px; border-right: 1px solid rgba(255,255,255,.08); text-align: center; }
.pg-nums__item:last-child { border-right: 0; }
.pg-nums__item b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: #fdc002; line-height: 1; margin-bottom: 6px; }
.pg-nums__item span { color: #cfcfcf; font-size: .88rem; }

/* Steps */
.pg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.pg-step { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; padding: 24px 22px; position: relative; }
.pg-step::before { counter-increment: st; content: counter(st, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #000; background: var(--accent-primary); border-radius: 10px; padding: 6px 10px; display: inline-block; margin-bottom: 14px; }
.pg-step h3 { font-size: 1.05rem; margin: 0 0 8px; color: var(--text-primary); }
.pg-step p { margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.6; }

/* Task grid */
.pg-tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pg-task { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-color); }
.pg-task i { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--accent-subtle); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 1.15rem; }
.pg-task h3 { font-size: .98rem; margin: 2px 0 4px; color: var(--text-primary); }
.pg-task p { margin: 0; font-size: .9rem; color: var(--text-secondary); line-height: 1.5; }

/* Compare table */
.pg-compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; overflow: hidden; font-size: .97rem; }
.pg-compare th, .pg-compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border-color); vertical-align: top; color: var(--text-secondary); }
.pg-compare thead th { background: #0a0a0c; color: #fff; font-family: var(--font-display); font-size: 1.02rem; }
.pg-compare thead th.is-this { background: var(--accent-primary); color: #000; }
.pg-compare td.is-this { background: rgba(253,192,2,.07); color: var(--text-primary); font-weight: 600; }
.pg-compare tr:last-child td { border-bottom: 0; }
.pg-compare td:first-child { color: var(--text-primary); font-weight: 600; width: 26%; }
.pg-table-wrap { overflow-x: auto; }

/* Fit cards */
.pg-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pg-fit__card { border-radius: 18px; padding: 26px; border: 1px solid var(--border-color); background: var(--bg-card); }
.pg-fit__card h3 { margin: 0 0 12px; font-size: 1.1rem; color: var(--text-primary); }
.pg-fit__card ul { margin: 0; padding-left: 18px; color: var(--text-secondary); line-height: 1.75; }
.pg-fit__card a, .pg-task a { color: var(--accent-ink); font-weight: 600; }
.pg-fit__card--yes { border-top: 4px solid var(--accent-primary); }
.pg-fit__card--no { border-top: 4px solid #0a0a0c; }

/* Phones */
.pg-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.pg-phone { text-align: center; }
.pg-phone__frame { width: 100%; max-width: 250px; margin: 0 auto 16px; border-radius: 34px; background: #0a0a0c; padding: 10px; box-shadow: 0 24px 48px -18px rgba(0,0,0,.45); }
.pg-phone__frame img { width: 100%; height: auto; display: block; border-radius: 26px; aspect-ratio: 359/786; object-fit: cover; object-position: top; }
.pg-phone h3 { font-size: 1rem; margin: 0 0 6px; color: var(--text-primary); }
.pg-phone p { margin: 0 auto; font-size: .92rem; color: var(--text-secondary); max-width: 280px; line-height: 1.55; }
.pg-phone a { color: var(--accent-ink); font-weight: 600; text-decoration: none; font-size: .9rem; }
.pg-hero__phone { max-width: 290px; margin: 0 auto; }

/* Case */
.pg-case { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pg-case a { display: block; padding: 24px; border-radius: 18px; background: #0a0a0c; color: #fff; text-decoration: none; transition: transform var(--transition); }
.pg-case a:hover { transform: translateY(-3px); }
.pg-case small { color: #fdc002; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.pg-case strong { display: block; font-family: var(--font-display); font-size: 1.25rem; margin: 6px 0; }
.pg-case span { color: #cfcfcf; font-size: .92rem; }

/* FAQ */
.pg-faq details { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; }
.pg-faq summary { cursor: pointer; font-weight: 700; color: var(--text-primary); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: '+'; color: var(--accent-ink); font-size: 1.3rem; line-height: 1; }
.pg-faq details[open] summary::after { content: '–'; }
.pg-faq details p { margin: 12px 0 0; color: var(--text-secondary); line-height: 1.7; }

/* Related */
.pg-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pg-related a { display: block; padding: 18px; border-radius: 14px; border: 1px solid var(--border-color); background: var(--bg-card); text-decoration: none; color: var(--text-primary); font-weight: 600; transition: border-color var(--transition); }
.pg-related a:hover { border-color: var(--accent-primary); }
.pg-related a span { display: block; font-weight: 400; font-size: .86rem; color: var(--text-secondary); margin-top: 6px; }

/* Hub */
.pg-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pg-hub a { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-color); background: var(--bg-card); text-decoration: none; color: var(--text-primary); transition: transform var(--transition); }
.pg-hub a:hover { transform: translateY(-3px); border-color: var(--accent-primary); }
.pg-hub img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; display: block; }
.pg-hub div { padding: 18px 20px 22px; }
.pg-hub h3 { margin: 0 0 6px; font-size: 1.08rem; }
.pg-hub p { margin: 0; color: var(--text-secondary); font-size: .92rem; line-height: 1.55; }

/* CTA band */
.pg-cta { background: #0a0a0c; color: #fff; text-align: center; }
.pg-cta h2 { color: #fff; }
.pg-cta p { color: #cfcfcf; max-width: 640px; margin: 0 auto 26px; line-height: 1.7; }
.pg-cta .pg-ctas { justify-content: center; }
.pg-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.pg-source { font-size: .8rem; color: var(--text-muted); margin-top: 12px; }
.pg-source a { color: inherit; }

/* Mobile */
@media (max-width: 960px) {
  .pg-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .pg-steps { grid-template-columns: 1fr 1fr; }
  .pg-tasks { grid-template-columns: 1fr 1fr; }
  .pg-related { grid-template-columns: 1fr 1fr; }
  .pg-hub { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pg section { padding: 52px 0; }
  .pg-hero { padding: 108px 0 48px !important; }
  .pg-nums__grid { grid-template-columns: 1fr 1fr; }
  .pg-nums__item:nth-child(2) { border-right: 0; }
  .pg-nums__item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .pg-steps, .pg-tasks, .pg-fit, .pg-case, .pg-related, .pg-hub { grid-template-columns: 1fr; }
  .pg-phones { grid-template-columns: 1fr; gap: 36px; }
  .pg-hero__badge { left: 12px; bottom: -22px; }
  .pg-ctas .btn { width: 100%; justify-content: center; }
}

/* Tela de sistema (desktop) */
.pg-screen { border-radius: 18px; overflow: hidden; border: 1px solid var(--border-color); box-shadow: 0 30px 60px -24px rgba(0,0,0,.4); background: #0a0a0c; }
.pg-screen img { width: 100%; height: auto; display: block; }
.pg-screen figcaption { color: #cfcfcf; font-size: .85rem; padding: 12px 16px; }

/* ===== 30/10 v2: logos, formulário, RH ===== */
.pg-logos { padding: 34px 0 30px; border-bottom: 1px solid var(--border-color); }
.pg-logos__title { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 20px; }
.pg-logos__list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px; max-width: 1180px; }
.pg-logos__list li { display: flex; align-items: center; justify-content: center; height: 64px; padding: 6px 10px; background: #fff; border-radius: 12px; border: 1px solid var(--border-color); }
.pg-logos__list img { max-height: 44px; height: auto; width: auto; max-width: 100%; object-fit: contain; transition: transform .2s; }
.pg-logos__list li:hover img { transform: scale(1.06); }
.pg-lead { padding: 72px 0; background: var(--bg-secondary); }
.pg-lead__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.pg-lead__form { position: relative; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 26px; box-shadow: 0 18px 48px rgba(0,0,0,.12); }
.pg-lead__row { margin-bottom: 14px; }
.pg-lead__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pg-lead__form label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-primary); }
.pg-lead__form input, .pg-lead__form select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text-primary); background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 12px; box-sizing: border-box; }
.pg-lead__form input:focus, .pg-lead__form select:focus { outline: 2px solid var(--accent-primary); outline-offset: 1px; border-color: transparent; }
.pg-lead__form .btn-full { width: 100%; justify-content: center; margin-top: 6px; }
.pg-lead__msg { margin: 4px 0 10px; padding: 10px 12px; border-radius: 10px; background: rgba(220,38,38,.1); color: #b91c1c; font-size: .9rem; }
.pg-lead__lgpd { margin: 12px 0 0; font-size: .78rem; color: var(--text-muted); text-align: center; }
.pg-lead__lgpd a, .pg-lead__rh a { color: var(--accent-ink); }
.pg-lead__rh { margin-top: 22px; font-size: .9rem; color: var(--text-secondary); padding: 12px 14px; border-left: 3px solid var(--accent-primary); background: var(--bg-card); border-radius: 0 10px 10px 0; }
.pg-nav-rh { font-size: .85rem; font-weight: 600; color: var(--text-secondary); text-decoration: none; margin-right: 14px; white-space: nowrap; }
.pg-nav-rh:hover { color: var(--accent-ink); }
.pg-float-rh { position: fixed; right: 20px; bottom: 90px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; padding: 8px 14px; border-radius: 14px; background: #0a0a0c; color: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.28); border: 1px solid rgba(253,192,2,.6); line-height: 1.15; }
.pg-float-rh span { font-weight: 700; font-size: .85rem; color: #fdc002; }
.pg-float-rh small { font-size: .7rem; opacity: .8; }
@media (max-width: 860px) {
  .pg-lead__grid { grid-template-columns: 1fr; gap: 28px; }
  .pg-nav-rh { display: none; }
  .pg-float-rh { bottom: 88px; right: 16px; padding: 7px 11px; }
  .pg-logos__list { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pg-logos__list li { height: 52px; padding: 4px 6px; }
  .pg-logos__list img { max-height: 34px; }
}
@media (max-width: 480px) { .pg-lead__row--2 { grid-template-columns: 1fr; } }

/* ===== 30/10 v3: vídeo do promotor ===== */
.pg-video { padding: 72px 0; }
.pg-video__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pg-video__frame { justify-self: center; width: 100%; max-width: 320px; border-radius: 34px; padding: 10px; background: #0a0a0c; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.pg-video__frame video { display: block; width: 100%; height: auto; aspect-ratio: 476 / 848; border-radius: 26px; background: #000; object-fit: cover; }
.pg-video__note { font-size: .8rem; color: var(--text-muted); margin-top: 14px; }
@media (max-width: 860px) { .pg-video__grid { grid-template-columns: 1fr; gap: 28px; } .pg-video__frame { max-width: 280px; } }
