/* ============================================================
   CarlosHPS Studio — raio-x.css
   Só o que a página /raio-x-perfil-google tem de novo. Cores e
   botões vêm dos tokens e classes de styles.css e index-dark.css,
   então o tema claro e o escuro funcionam sem regra extra.
   ============================================================ */

.rx-body { background-color: var(--color-bg); }
.rx-wrap { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
.rx-narrow { max-width: 760px; }

/* Nav enxuta */
.rx-nav { position: sticky; top: 0; z-index: 50; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.rx-nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.rx-logo img { height: 34px; width: auto; }
.rx-logo-dark { display: none; }
body.theme-dark .rx-logo-light { display: none; }
body.theme-dark .rx-logo-dark { display: block; }
.rx-nav-right { display: flex; align-items: center; gap: 14px; }
.rx-back { font-size: 0.875rem; font-weight: 500; color: var(--color-brand); }
.rx-back:hover { text-decoration: underline; }
.rx-theme {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-pill);
  background: transparent; color: var(--color-heading);
  border: 1px solid var(--color-border-strong); cursor: pointer;
}

/* Tipografia */
.rx-h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--color-heading); margin: 18px 0 20px; max-width: 18em; }
.rx-h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; font-weight: 700; color: var(--color-heading); margin: 12px 0 32px; max-width: 26em; }
.rx-lead { font-size: 1.1rem; line-height: 1.7; color: var(--color-text-soft); max-width: 36em; }
.rx-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-heading); margin: 0 0 8px; }
.rx-body p { line-height: 1.75; color: var(--color-text-soft); }

/* Hero e ações */
.rx-hero { padding: 72px 0 64px; }
.rx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.rx-micro { font-size: 0.85rem; color: var(--color-text-soft); }

/* Seções */
.rx-section { padding: 80px 0; }
.rx-alt { background: var(--color-bg-soft); }
.rx-cta { text-align: left; padding-bottom: 96px; }

/* Cards */
.rx-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.rx-card { background: var(--color-surface-soft); border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm); padding: 22px; }
body:not(.theme-dark) .rx-card { background: #fff; box-shadow: var(--shadow-soft); }
.rx-card p { margin: 0; font-size: 0.95rem; }

@media (min-width: 900px) { .rx-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Passos (sequência real: a ordem importa) */
.rx-steps { list-style: none; counter-reset: passo; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 40em; }
.rx-steps li { counter-increment: passo; position: relative; padding: 4px 0 4px 52px; line-height: 1.6; color: var(--color-text-soft); }
.rx-steps li::before {
  content: counter(passo); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--color-fg-light); background: var(--color-brand);
}
.rx-steps strong { color: var(--color-heading); }

/* Caso */
.rx-case { background: var(--color-bg-soft); border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); padding: 28px; max-width: 760px; }
body:not(.theme-dark) .rx-case { background: #fff; box-shadow: var(--shadow-card); }
.rx-case + .rx-case { margin-top: 20px; }
.rx-case-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-brand); margin: 22px 0 8px; }
.rx-case p { margin: 0 0 8px; }
.rx-list { margin: 0 0 4px; padding-left: 20px; color: var(--color-text-soft); line-height: 1.75; }
.rx-note { font-size: 0.88rem; border-top: 1px solid var(--color-border-strong); padding-top: 14px; margin-top: 18px !important; }

/* Implantação */
.rx-items { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: item; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px 28px; }
.rx-items li { counter-increment: item; display: flex; gap: 12px; color: var(--color-text-soft); line-height: 1.5; }
.rx-items li::before { content: counter(item); flex: none; min-width: 1.6em; font-weight: 700; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.rx-offer { border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); padding: 24px 26px; margin: 0 0 24px; max-width: 640px; background: var(--color-bg); }
.rx-offer p { margin: 0 0 8px; }
.rx-price { font-size: 1.3rem; color: var(--color-heading) !important; }
.rx-price strong { font-size: 2rem; font-weight: 800; }
.rx-vagas { font-weight: 700; color: var(--color-brand) !important; margin: 0 !important; }

/* FAQ nativo */
.rx-faq details { border-bottom: 1px solid var(--color-border-strong); padding: 18px 4px; }
.rx-faq summary { cursor: pointer; font-weight: 600; color: var(--color-heading); line-height: 1.45; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.rx-faq summary::-webkit-details-marker { display: none; }
.rx-faq summary::after { content: '+'; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--color-brand); }
.rx-faq details[open] summary::after { content: '\2212'; }
.rx-faq summary:focus-visible, .rx-theme:focus-visible, .rx-back:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.rx-faq p { margin: 12px 0 0; }

/* Rodapé */
.rx-footer { border-top: 1px solid var(--color-border); padding: 28px 0; font-size: 0.85rem; color: var(--color-text-soft); }
.rx-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.rx-footer a { color: var(--color-brand); }

@media (max-width: 600px) {
  .rx-wrap { padding: 0 20px; }
  .rx-hero { padding: 44px 0 44px; }
  .rx-section { padding: 56px 0; }
  .rx-case { padding: 22px 18px; }
  .rx-actions .btn { width: 100%; justify-content: center; }
  .rx-back { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rx-body * { transition: none !important; } }
