/* DC Perícias — camada "apple-design" (v38, só LP-completas).
   Só tipografia, resposta ao toque, material translúcido e acessibilidade.
   Sem cores, fontes ou componentes novos. Reverter = remover o <link> da página. */

html body{-webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility; -webkit-tap-highlight-color:transparent;}

/* Tipografia: tracking e leading por tamanho, quebra equilibrada */
html body h1{font-optical-sizing:auto; letter-spacing:-0.022em; line-height:1.08; text-wrap:balance;}
html body h2{font-optical-sizing:auto; letter-spacing:-0.016em; line-height:1.14; text-wrap:balance;}
html body h3{font-optical-sizing:auto; letter-spacing:-0.008em; line-height:1.22; text-wrap:balance;}
html body p, html body li{text-wrap:pretty;}
html body .hero p.lead{line-height:1.5; letter-spacing:-0.003em;}
html body .stat-hero, html body [class*="num"], html body [class*="stat"]{font-variant-numeric:tabular-nums;}

/* Resposta: feedback no toque, sem atraso de 300 ms */
html body a, html body button, html body [role="button"], html body label, html body summary{touch-action:manipulation;}
html body .cta-btn{
  transition:background-color .22s cubic-bezier(.22,1,.36,1), color .22s cubic-bezier(.22,1,.36,1),
             border-color .22s cubic-bezier(.22,1,.36,1), transform .16s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}
html body .cta-btn:active{transform:scale(.97); transition-duration:.08s;}
html body .nav-links a:active, html body .faq-q:active, html body .mini-artigo > button:active{opacity:.75;}

/* Movimento de abrir/fechar: curva de mola crítica, sem salto */
html body .faq-a{transition:max-height .42s cubic-bezier(.22,1,.36,1);}
html body .faq-q .plus, html body .mini-artigo .ma-plus{transition:transform .32s cubic-bezier(.22,1,.36,1);}

/* Material: cabeçalho translúcido com desfoque e saturação */
html body header{
  background:rgba(5,26,34,.78);
  -webkit-backdrop-filter:blur(20px) saturate(160%);
  backdrop-filter:blur(20px) saturate(160%);
}

/* Foco visível e consistente para teclado */
html body a:focus-visible, html body button:focus-visible, html body summary:focus-visible,
html body [role="button"]:focus-visible, html body input:focus-visible,
html body select:focus-visible, html body textarea:focus-visible{outline:2px solid var(--gold); outline-offset:3px; border-radius:2px;}

/* Acessibilidade: transparência e contraste */
@media (prefers-reduced-transparency: reduce){
  html body header{background:var(--navy-deep); -webkit-backdrop-filter:none; backdrop-filter:none;}
}
@media (prefers-contrast: more){
  html body header{background:var(--navy-deep); border-bottom-color:var(--gold);}
  html body .hero p.lead{color:var(--paper);}
}
@media (prefers-reduced-motion: reduce){
  html body .cta-btn:active{transform:none;}
  html body .cta-btn{will-change:auto;}
}
