/* ThemalefiK — refinamento das páginas internas.
   Camada visual em tela: mantém os layouts, as mídias e a impressão existentes. */
@media screen {
  /* Moldura escura com linhas de ouro envelhecido, sem alterar a geometria. */
  body:not(.instrumental-page):not(.rework-index) .site-header,
  body.instrumental-page .site-header,
  body.record-page .record-header,
  body.catalogue-page .record-header {
    border-bottom-color: rgba(195, 153, 105, .48);
  }

  body .site-footer,
  body .campaign-footer,
  body.record-page .record-footer,
  body.catalogue-page .record-footer {
    border-top-color: rgba(195, 153, 105, .42);
  }

  /* Realces editoriais claros, sobre os fundos escuros já existentes. */
  body .section-title {
    color: #ebd3aa;
  }
  body .section-title::after {
    background-color: #c09a6b;
  }
  body .page-hero-content .eyebrow,
  body.record-page .record-eyebrow,
  body.catalogue-page .record-eyebrow,
  body .catalogue-card-kicker {
    color: #e3c79d;
  }
  body .page-hero-content h1,
  body.record-page .record-title,
  body.catalogue-page .catalogue-title {
    text-shadow: 0 2px 16px rgba(0, 0, 0, .8);
  }

  /* Filetes discretos: dourado no centro, vinho apenas como acento. */
  body .divider,
  body .section-divider {
    background: linear-gradient(90deg, transparent, rgba(178, 133, 86, .38) 32%, rgba(202, 164, 113, .68) 50%, rgba(128, 58, 48, .32) 68%, transparent);
  }
  body .record-rule,
  body .hero-rule span {
    background: linear-gradient(90deg, #c6a276, rgba(132, 65, 51, .55), transparent);
  }
  body :is(.record-hero, .catalogue-hero, .record-section-head, .catalogue-card-copy) {
    border-bottom-color: rgba(195, 153, 105, .38);
  }

  /* Não modifica cores ou superfícies dos botões e mantém estados já definidos. */
  body :is(.desktop-nav, .mobile-nav, .header-nav, .record-nav, .footer-nav, .record-footer-nav) a:is(:hover, :focus-visible, .active, [aria-current="page"]) {
    text-decoration-line: underline;
    text-decoration-color: #c5a179;
    text-decoration-thickness: .08em;
    text-underline-offset: .3em;
  }
  body :is(.privacy-content p, .form-note, .pk-direct-contact) a {
    text-decoration-line: underline;
    text-decoration-color: currentColor;
    text-underline-offset: .18em;
  }

  /* Fallback de baixa especificidade: preserva anéis mais fortes já existentes. */
  :where(body) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid #f0d5a6;
    outline-offset: 3px;
  }
}
