/* Sr & Sra Lira v0.2.15 — appearance, isolated from existing site.css */
:root { color-scheme: light; }
.slr-theme-control { display:inline-flex; align-items:center; gap:7px; white-space:nowrap;
  font:650 11px/1.3 system-ui,-apple-system,'Segoe UI',sans-serif; color:var(--ink); }
.slr-theme-control select { width:auto; max-width:130px; border:1px solid #b9cabe; border-radius:7px;
  background:#fff; color:#1c4334; padding:7px 8px; font:600 12px system-ui,sans-serif; cursor:pointer; }
.slr-theme-control select:focus-visible { outline:3px solid #cba45f; outline-offset:2px; }
.header-inner>.slr-theme-control { flex-shrink:0; }
@media(max-width:1120px) { .header-inner { gap:12px; } .nav { gap:14px; } }
@media(max-width:760px) { .slr-theme-control span { display:none; } .slr-theme-control select {max-width:105px; font-size:11px; padding:7px 5px;} }
@media(max-width:650px) { .header-inner>.slr-theme-control { margin-left:auto; } }
@media(max-width:380px) { .slr-theme-control select {max-width:86px;} .logo strong{font-size:19px;} }

:root[data-slr-theme="dark"] {
  color-scheme:dark;
  --ink:#e9f0e9; --muted:#b4c7ba; --line:#344c40; --cream:#101c17; --paper:#1a2b22;
  --forest:#153d30; --forest2:#286d52; --gold:#d7b872;
}
html[data-slr-theme="dark"] body {background:var(--cream);color:var(--ink);}
html[data-slr-theme="dark"] .main-header {background:#17261ff2; border-bottom-color:#345244;}
html[data-slr-theme="dark"] .logo strong,
html[data-slr-theme="dark"] .nav a {color:#e6f1e9;}
html[data-slr-theme="dark"] .nav-toggle {color:#f0e7cc;}
html[data-slr-theme="dark"] .nav {background:#17261f;}
html[data-slr-theme="dark"] .slr-theme-control {color:#d1e4d6;}
html[data-slr-theme="dark"] .slr-theme-control select {background:#26392e;color:#f3f7f1;border-color:#577563;}
html[data-slr-theme="dark"] :is(.article-card,.product-card,.paper,.intro-banner,.featured-story) {
  background:#1d2d24; color:#e7eee7; border-color:#395346;
}
html[data-slr-theme="dark"] .product-visual {background:linear-gradient(125deg,#283a2e,#354639);}
html[data-slr-theme="dark"] :is(.article-card p,.product-body p,.featured-story p,.intro-banner p,
  .heading-large p,.article-meta,.breadcrumb,.fine-print,.article-figure figcaption,
  .article-body .article-figure figcaption,.contact-help) {color:#b8cbbf;}
html[data-slr-theme="dark"] .article-body {color:#dae8dc;}
html[data-slr-theme="dark"] :is(.article-body h2,.article-body h3,.article-intro) {color:#ecf0e3;}
html[data-slr-theme="dark"] .article-body blockquote {color:#d4e5d5;background:#26372c;border-left-color:#dbb974;}
html[data-slr-theme="dark"] :is(.breadcrumb a,.text-link,.card-bottom,.article-link a,.article-toc a,.contact-email-card>a) {color:#a4ddbc;}
html[data-slr-theme="dark"] .round-icon {background:#324439;color:#dcc28d;}
html[data-slr-theme="dark"] .newsletter {background:#283f33;color:#f0f3e9;}
html[data-slr-theme="dark"] .newsletter :is(p,.consent,.newsletter-form strong) {color:#dfebe0;}
html[data-slr-theme="dark"] .newsletter .mini-label {color:#e5be75;}
html[data-slr-theme="dark"] :is(.email-row input,.contact-form input:not([type=checkbox]),.contact-form textarea) {
  background:#12231a;color:#f2f5ec;border-color:#587362;
}
html[data-slr-theme="dark"] :is(.contact-form label,.contact-page>p) {color:#d7e6d9;}
html[data-slr-theme="dark"] .contact-email-card {background:linear-gradient(125deg,#23362a,#1b3027);border-color:#3b5744;}
html[data-slr-theme="dark"] .contact-email-card>p {color:#bbccbf;}
html[data-slr-theme="dark"] .article-toc {background:#23372b;border-color:#45614d;color:#e3eee5;}
html[data-slr-theme="dark"] .article-toc summary,
html[data-slr-theme="dark"] .article-toc-list a {color:#c2e5c7;}
html[data-slr-theme="dark"] .article-toc-list a:hover {color:#fff4d8;}
html[data-slr-theme="dark"] .slr-consent {background:#223328;color:#eaf3ea;border-color:#577360;}
html[data-slr-theme="dark"] .slr-consent a {color:#a4dfbf;}
html[data-slr-theme="dark"] .slr-consent button:not(.slr-consent-accept) {background:#324b3a;color:#f2f6eb;border-color:#607f69;}
html[data-slr-theme="dark"] .slr-ad {border-color:#445d4a;}
html[data-slr-theme="dark"] .slr-ad .slr-ad-label {color:#c5d2c5;}
html[data-slr-theme="dark"] .contact-success {background:#264936;border-color:#4d8864;color:#d7f5df;}
html[data-slr-theme="dark"] .contact-error {background:#482927;border-color:#8c504e;color:#ffd9d4;}
html[data-slr-theme="dark"] .verify-note {color:#cdb48e;}
@media(max-width:650px) {html[data-slr-theme="dark"] .nav {background:#192c22;}}

/* v0.2.21 — perfil: Chamada curta com tipografia 20% menor que o H1 original.
   Home, artigos e outros titulos nao sao afetados. */
.profile-hero .hero-content h1 {
  font-size:clamp(30.4px,3.76vw,52px);
  line-height:1.10;
  overflow-wrap:break-word;
}

/* v0.2.23 — contraste explícito dos CTAs nas áreas públicas em ambos os temas.
   Não altera layout, rotas, estado, nem a visibilidade de qualquer botão. */
html[data-slr-theme="dark"] .product-card .text-link,
html[data-slr-theme="dark"] .featured-story .text-link{color:#b9f1cc;text-decoration:underline;text-underline-offset:3px;}
html[data-slr-theme="dark"] .poster-cta{background:#f2e3c5;color:#153b30;}
html[data-slr-theme="dark"] .poster-secondary{color:#fff7de;}
html[data-slr-theme="dark"] .hero .btn-gold{background:#dfbb74;border-color:#dfbb74;color:#16372d;}
html[data-slr-theme="dark"] .hero .btn-outline{color:#fff9ed;border-color:#bacabb;}
html[data-slr-theme="dark"] .product-card .text-link:focus-visible,
html[data-slr-theme="dark"] .poster-cta:focus-visible{outline:3px solid #dfbb74;outline-offset:3px;}

/* v0.2.28 — cabeçalho em celulares de 320–360px, sem ocultar CTAs,
   sem overflow-x:hidden nem alterações nos links ou na navegação. */
@media(max-width:360px){
  .header-inner{gap:5px;}
  .header-inner .logo{min-width:0;gap:6px;flex:0 1 auto;}
  .header-inner .logo-symbol{width:29px;height:29px;flex:0 0 29px;font-size:18px;}
  .header-inner .logo strong{font-size:16px;}
  .header-inner .logo small{font-size:6px;letter-spacing:.45px;}
  .header-inner>.slr-theme-control{margin-left:auto;flex:0 0 auto;}
  .slr-theme-control select{width:84px;max-width:84px;padding:6px 3px;font-size:10px;}
  .header-inner .nav-toggle{flex:0 0 40px;width:40px;min-height:44px;padding:0;line-height:1;}
}
/* Alvo de toque do link de compra: não altera URL, rastreio nem estado do botão. */
.product-card .text-link{display:inline-flex;align-items:center;min-height:44px;padding-block:10px;}
