/* ============================================================
   static.css — páginas de conteúdo estático (Privacidade, Termos, FAQ)
   Reutiliza as variáveis de tema já globais (components.css). Partilhado
   pelas três vistas em views/static-pages.js.
   ============================================================ */

.static-page { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }

.static-page h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.static-page .static-updated { font-size: 0.8125rem; color: var(--text-3); margin-bottom: 2.5rem; }
.static-page .static-subtitle { font-size: 0.9375rem; color: var(--text-3); margin-bottom: 2.5rem; }

.static-page h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  margin: 2.25rem 0 0.75rem;
}
.static-page p { margin: 0 0 1rem; font-size: 0.9375rem; line-height: 1.7; color: var(--text-2); }
.static-page ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.static-page li { margin-bottom: 0.5rem; font-size: 0.9375rem; line-height: 1.7; color: var(--text-2); }
.static-page strong { color: var(--text); }
.static-page a { color: var(--amber); }
.static-page table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.875rem; }
.static-page th, .static-page td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--wire); }
.static-page th { color: var(--text); font-weight: 600; }

.static-highlight {
  background: color-mix(in srgb, var(--red) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 30%, transparent);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.static-highlight p { margin: 0; }
.static-highlight p:not(:last-child) { margin-bottom: 0.75rem; }

/* FAQ — categorias em destaque âmbar (estilo "facet" já usado no resto do site) */
.static-page h2.faq-cat {
  font-size: 0.8125rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.static-page h2.faq-cat:first-of-type { margin-top: 0; }

.faq-item {
  border: 1px solid var(--wire);
  border-radius: 10px;
  margin-bottom: 0.625rem;
  background: var(--ink-2);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9375rem 1.125rem;
  background: none;
  border: none;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq-q:hover { background: var(--ghost-2); }
.faq-icon { flex-shrink: 0; transition: transform 0.2s ease; color: var(--text-3); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 1.125rem 1.125rem; font-size: 0.9375rem; line-height: 1.7; color: var(--text-2); }
.faq-item.open .faq-a { max-height: 600px; }

/* ── Comprar Créditos RX ── */
.buy-credits-page .static-subtitle { margin-bottom: 2.5rem; }

.buy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 700px) {
  .buy-cards { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}

.buy-card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--wire-2);
  border-radius: 14px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}
.buy-card--highlight {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), 0 8px 24px color-mix(in srgb, var(--amber) 15%, transparent);
}
.buy-card-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  white-space: nowrap;
}
.buy-card-rx {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--text);
  margin-top: 0.5rem;
}
.buy-card-rx span { color: var(--amber); }
.buy-card-analyses { font-size: 0.8125rem; color: var(--text-3); margin-bottom: 0.5rem; }
.buy-card-price {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.buy-card-btn {
  width: 100%;
  background: var(--amber);
  color: var(--ink);
  border: none;
  border-radius: 8px;
  padding: 0.625rem 1rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s;
}
.buy-card-btn:hover { background: var(--amber-2); }
