/* Service pages, group A (P02, P04–P09). Owner: B10. Local build only.
   Builds on the tokens and components of site.css; only layout pieces those pages need. */

/* Review marker inserted by the generator outside production ([PENDENTE: Q-0x …]). */
mark.pending { background: #FFF1A8; color: #2E2300; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .95em; outline: 1px dashed #8A6D00; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.two-col > * { min-width: 0; }

.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s3); }
.use-grid > * { min-width: 0; }
.use-card { background: var(--white); color: var(--ink-dark); border: 1px solid var(--line-light); border-top: 4px solid var(--blue-brand); border-radius: var(--radius); padding: var(--s3); display: flex; flex-direction: column; gap: 4px; }
.use-card .ph { margin-bottom: var(--s2); }
.use-card .link-arrow { margin-top: auto; }
.use-card p { color: var(--muted-light); }
.dark .use-card a:not(.btn) { color: var(--blue-brand); }
.side-note { margin-top: var(--s4); color: var(--muted-light); }

.offer-price { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink-dark); }
.package { background: var(--white); border: 1px solid var(--line-light); border-top: 4px solid var(--red-600); border-radius: 12px; padding: var(--s4); }

/* Comparison tables (flake, quartz) */
.svc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--white); }
.svc-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 1rem; }
.svc-table th, .svc-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line-light); }
.svc-table thead th { font-family: var(--font-head); font-weight: 800; background: var(--surface-light); }
.svc-table tbody th { font-weight: 700; color: var(--muted-light); width: 26%; }
.svc-table tbody tr:last-child th, .svc-table tbody tr:last-child td { border-bottom: 0; }

/* Hub */
.hub-hero { max-width: 820px; }
.hub-jump ul { list-style: none; margin: 0 0 var(--s2); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); }
.hub-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-light); border-radius: 999px; font-weight: 600; text-decoration: none; }
.hub-jump a:hover { border-color: var(--blue-brand); text-decoration: underline; }
.hub-group { scroll-margin-top: calc(var(--header-h) + 16px); }
.hub-group-head { margin-bottom: var(--s3); }
.hub-group-head .svc-group-title { margin-bottom: var(--s1); }
.hub-group-head p { margin: 0; }
.card-call { color: var(--muted-light); font-weight: 600; }
.hub-sections { list-style: none; margin: var(--s2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.hub-sections a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: var(--s4); }
}
@media (max-width: 560px) {
  .package { padding: var(--s3); }
  .svc-table th, .svc-table td { padding: 10px 12px; }
}

/* Glossary / checklists */
.glossary { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s2) var(--s4); margin: 0; }
.glossary > div { border-left: 3px solid var(--blue-brand); padding: 4px 0 4px var(--s2); min-width: 0; }
.glossary dt { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.glossary dd { margin: 0; color: var(--muted-light); }
.dark .glossary dd { color: var(--muted-dark); }
