/* ============================================================
   serenitech-ui.css — tokens + utilitários compartilhados da
   família Serenitech (v1 · P1 design wave · 2026-07-02).
   Uma cópia versionada por repositório (isolamento preservado).
   Breakpoints canônicos: 480 / 768 / 1024 / 1280.
   ============================================================ */
:root {
  --st-red: #CE1126; --st-red-dark: #A30D1E; --st-red-deep: #7A0916; --st-red-light: #FBE8EB;
  --st-cream: #FAF6EE; --st-cream-deep: #F1EAD9; --st-line: #E5DECD;
  --st-graphite: #2E2A26; --st-graphite-soft: #6B655C; --st-blue: #0370B0;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 16px; --sp-4: 24px; --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px;
  --elev-1: 0 1px 2px rgba(46, 32, 18, .05);
  --elev-2: 0 2px 4px rgba(46, 32, 18, .05), 0 10px 28px rgba(46, 32, 18, .08);
  --elev-3: 0 4px 8px rgba(46, 32, 18, .06), 0 18px 48px rgba(46, 32, 18, .13);
}
/* âncoras não somem sob o header sticky */
[id] { scroll-margin-top: 96px; }
/* assinatura da família: losango antes dos eyebrows */
.section-eyebrow::before, .eyebrow::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  background: var(--st-red); transform: rotate(45deg);
  margin-right: 9px; vertical-align: 1px;
}
/* elevação */
.elev-1 { box-shadow: var(--elev-1); } .elev-2 { box-shadow: var(--elev-2); } .elev-3 { box-shadow: var(--elev-3); }
/* grid utilitário texto + artefato */
.u-grid-2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; }
@media (max-width: 900px) { .u-grid-2 { grid-template-columns: 1fr; gap: 28px; } }
/* moldura de artefato */
.artefact { background: #fff; border: 1px solid var(--st-line); border-radius: 10px;
  box-shadow: var(--elev-2); padding: 22px; position: relative; }
/* faixa Grimaldi (fusily) — marca d'água institucional */
.grimaldi-band { position: absolute; inset: 0; pointer-events: none;
  background-image: url("../img/grimaldi-pattern.svg"); background-repeat: repeat; opacity: .045; }
/* tap targets mobile */
@media (max-width: 540px) {
  button, .btn, a.cta-pill, .cta-pill, .btn-cta { min-height: 44px; }
}

/* ---------- mock de fatura (MonInvoice) ---------- */
.invoice-mock { font-size: 13.5px; color: var(--st-graphite); max-width: 460px; margin-left: auto; }
.invoice-mock .im-head { display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--st-red); padding-bottom: 10px; margin-bottom: 12px; }
.invoice-mock .im-brand { font-weight: 800; letter-spacing: .02em; color: var(--st-red); font-size: 15px; }
.invoice-mock .im-badge { font-size: 10.5px; letter-spacing: .08em; color: var(--st-graphite-soft); }
.invoice-mock .im-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }
.invoice-mock .im-parties { font-size: 12.5px; color: var(--st-graphite-soft); margin-bottom: 12px; }
.invoice-mock table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.invoice-mock td { padding: 6px 2px; border-bottom: 1px solid var(--st-cream-deep); font-size: 12.5px; }
.invoice-mock td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.invoice-mock .im-total td { border-bottom: 0; border-top: 1.5px solid var(--st-line); font-weight: 700; font-size: 13.5px; }
.invoice-mock .im-seals { display: flex; flex-wrap: wrap; gap: 6px; }
.invoice-mock .seal { font-size: 10.5px; letter-spacing: .05em; border: 1px solid var(--st-line);
  border-radius: 999px; padding: 4px 10px; color: var(--st-graphite-soft); background: var(--st-cream); }
.invoice-mock .im-stamp { position: absolute; top: 14px; right: 16px; width: 74px; height: 74px;
  border: 2.5px solid var(--st-red); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 10px; font-weight: 800; letter-spacing: .09em; color: var(--st-red);
  transform: rotate(-12deg); opacity: .85; line-height: 1.3; }

/* ---------- diagrama de pseudonimização (MonConformité) ---------- */
.pseudo-diagram { max-width: 460px; margin-left: auto; }
.pseudo-diagram .pd-flow { display: flex; align-items: stretch; gap: 8px; margin-bottom: 14px; }
.pseudo-diagram .pd-node { flex: 1; border: 1px solid var(--st-line); border-radius: 8px;
  padding: 12px 10px; text-align: center; background: var(--st-cream); }
.pseudo-diagram .pd-node strong { display: block; font-size: 12.5px; margin-bottom: 3px; }
.pseudo-diagram .pd-node span { font-size: 11px; color: var(--st-graphite-soft); }
.pseudo-diagram .pd-node.pd-core { background: #fff; border-color: var(--st-red); }
.pseudo-diagram .pd-arrow { align-self: center; color: var(--st-red); font-size: 17px; flex: none; }
.pseudo-diagram .pd-authorities { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pseudo-diagram .pd-chip { font-size: 10.5px; letter-spacing: .06em; border: 1px solid var(--st-line);
  border-radius: 999px; padding: 4px 11px; color: var(--st-graphite-soft); }
.pseudo-diagram .pd-caption { text-align: center; font-size: 11px; color: var(--st-graphite-soft);
  letter-spacing: .05em; margin-top: 12px; text-transform: uppercase; }

/* ---------- timeline: trilho conector + datas serif ---------- */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 36px; left: 3%; right: 3%; height: 1px; background: var(--st-line); }
.timeline-item { position: relative; z-index: 1; }
.timeline-date { font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; }
/* ---------- cards: elevação suave + hover ---------- */
.pt-card, .card, .timeline-item, .quartier-tile, .bestseller-card, .compliance-tag {
  transition: box-shadow .18s ease, transform .18s ease; }
.pt-card:hover, .card:hover, .timeline-item:hover, .quartier-tile:hover, .bestseller-card:hover {
  box-shadow: var(--elev-2); transform: translateY(-2px); }
/* ---------- header mobile: 1 CTA primário ---------- */
@media (max-width: 540px) { .header-ctas .cta-pill + .cta-pill { display: none; } }
