/* =============================================================================
   TEMA "LARANJA CLAUDE" — teste pedido pelo Diego (12/11/2026).
   Ativa com ?tema=claude (o script no <head> grava em sessionStorage e põe
   html[data-tema="claude"]; ?tema=padrao desliga). Paleta do Claude/Anthropic:
   marfim #f0eee6 · ivory #faf9f5 · cloud #e8e6dc · tinta #141413 · terracota
   #d97757 (só preenchimento) · terracota de TEXTO #a84a28 (≥ 4,5:1 sobre o creme).
   Modo claro desenhado, não invertido (skill modo-claro): tokens por papel,
   ilhas escuras (terminal) redeclaram as próprias cores. Botão: #b8532f→#9c4423
   com texto branco (4,9:1). Sobrescreve os hexes fixos de style.css/ea.css/pd.css.
============================================================================= */
html[data-tema="claude"]{
  --bg:#f0eee6; --bg-2:#f5f4ef; --panel:#faf9f5; --panel-2:#ffffff; --deep:#e8e6dc;
  --paper:#141413; --muted:#5f5e58; --line:rgba(20,20,19,.12); --line-2:rgba(20,20,19,.22);
  --lilac:#a84a28; --lilac-2:#a84a28; --accent:#d97757; --kick:#8f4023;
  --btn-a:#b8532f; --btn-b:#9c4423;
  --amber:#d97757; --mint:#2f7a5a;
  --ea:#d97757; --ea-2:#a84a28; --ea-soft:rgba(217,119,87,.14); --ea-line:rgba(217,119,87,.55);
  color-scheme:light;
}
html[data-tema="claude"] body{background:var(--bg);color:var(--paper);background-image:radial-gradient(70% 700px at 88% 270px,rgba(217,119,87,.16),transparent 90%)}
html[data-tema="claude"] ::selection{background:rgba(217,119,87,.35)}
html[data-tema="claude"] .deep{background:linear-gradient(180deg,#e8e6dc,#f0eee6)}
html[data-tema="claude"] .final{background:radial-gradient(60% 80% at 50% 100%,rgba(217,119,87,.22),transparent 70%)}
html[data-tema="claude"] .hdr{border-bottom-color:rgba(20,20,19,.1)}
html[data-tema="claude"] .brand small em{background:#b8532f;color:#fff}
html[data-tema="claude"] .hdr-cta,html[data-tema="claude"] .btn-s{background:#ffffff;border-color:var(--line-2);color:var(--paper)}
html[data-tema="claude"] .hdr-cta:hover,html[data-tema="claude"] .btn-s:hover{background:rgba(217,119,87,.12);border-color:rgba(217,119,87,.6);box-shadow:0 10px 30px rgba(217,119,87,.18)}
html[data-tema="claude"] .btn-p,html[data-tema="claude"] .hero-ctas .btn-p{color:#fff;background:linear-gradient(120deg,var(--btn-a),var(--btn-b));animation:none}
html[data-tema="claude"] .btn-p{box-shadow:0 6px 30px rgba(184,83,47,.25),inset 0 1px 0 rgba(255,255,255,.2)}
html[data-tema="claude"] .btn-p:hover{box-shadow:0 12px 40px rgba(184,83,47,.35),inset 0 1px 0 rgba(255,255,255,.25)}
html[data-tema="claude"] .kdot{box-shadow:0 0 0 4px rgba(217,119,87,.18)}
html[data-tema="claude"] .hero .sub,html[data-tema="claude"] .hero-p{color:#3d3d3a}
html[data-tema="claude"] .hero .tools li{background:rgba(255,255,255,.75);border-color:var(--line-2)}
html[data-tema="claude"] .hero .tools svg{stroke:var(--ea-2)}
html[data-tema="claude"] .mq{background:rgba(255,255,255,.45);border-color:rgba(20,20,19,.1)}
html[data-tema="claude"] .mq.ea .mq-row{color:var(--accent)}
html[data-tema="claude"] .legal{color:#6b6a63}
html[data-tema="claude"] footer{border-top-color:rgba(20,20,19,.1)}

/* cartões que eram "vidro branco" sobre escuro → ivory sobre marfim */
html[data-tema="claude"] .leak,html[data-tema="claude"] .lock4>div,html[data-tema="claude"] .fact,html[data-tema="claude"] .ag li,
html[data-tema="claude"] .stop6>div,html[data-tema="claude"] .sig4>div,html[data-tema="claude"] .steps3>div,html[data-tema="claude"] .who2>article,
html[data-tema="claude"] .fit2>div,html[data-tema="claude"] .req,html[data-tema="claude"] .two>div,html[data-tema="claude"] .pct,
html[data-tema="claude"] .jtab,html[data-tema="claude"] .lay-tab,html[data-tema="claude"] .chips button,html[data-tema="claude"] .tree,
html[data-tema="claude"] .oab{background:#faf9f5;border-color:var(--line-2)}
html[data-tema="claude"] .leak:hover,html[data-tema="claude"] .leak:focus-visible{border-color:rgba(217,119,87,.6);box-shadow:0 18px 40px rgba(20,20,19,.08)}
html[data-tema="claude"] .leak svg{stroke:var(--ea-2)}
html[data-tema="claude"] .leak.flip,html[data-tema="claude"] .lay-tab[aria-selected="true"],html[data-tema="claude"] .fit2 .yes,
html[data-tema="claude"] .two .b,html[data-tema="claude"] .pct[aria-selected="true"],html[data-tema="claude"] .jtab[aria-selected="true"],
html[data-tema="claude"] .tree button[aria-selected="true"]{background:linear-gradient(180deg,rgba(217,119,87,.14),#faf9f5);border-color:var(--ea-line)}
html[data-tema="claude"] .leak.flip p{color:var(--paper)}
html[data-tema="claude"] .lay-tab:hover,html[data-tema="claude"] .jtab:hover,html[data-tema="claude"] .pct:hover,html[data-tema="claude"] .chips button:hover{border-color:rgba(217,119,87,.6)}
html[data-tema="claude"] .lock4>div:hover{border-color:rgba(47,122,90,.5)}
html[data-tema="claude"] .leak-sw button[aria-pressed="true"]{color:#fff}
html[data-tema="claude"] .leak-sw{background:#e8e6dc;border-color:var(--line-2)}
html[data-tema="claude"] .tree button:hover{background:rgba(20,20,19,.05)}
html[data-tema="claude"] .ag li:hover{background:#fff}
html[data-tema="claude"] .chips button[aria-pressed="true"]{background:#b8532f;border-color:#b8532f;color:#fff}
html[data-tema="claude"] .pct .n{background:rgba(20,20,19,.06)}
html[data-tema="claude"] .pct[aria-selected="true"] .n,html[data-tema="claude"] .rep-list li.on .rep-ic{background:#b8532f;color:#fff;border-color:#b8532f}
html[data-tema="claude"] .lay-tab .bar,html[data-tema="claude"] .jtab i{background:rgba(20,20,19,.08)}
html[data-tema="claude"] .lay-p li::before,html[data-tema="claude"] .fit2 .yes li::before,html[data-tema="claude"] .ofr li::before,
html[data-tema="claude"] .kv ul.pl li::before{color:#fff;background:#b8532f}
html[data-tema="claude"] .kv ul.pl li::before{background:none;color:var(--ea-2)}

/* painéis com gradiente roxo → ivory/branco com borda */
html[data-tema="claude"] .rep,html[data-tema="claude"] .lay-p,html[data-tema="claude"] .kv,html[data-tema="claude"] .jp,
html[data-tema="claude"] .pcp,html[data-tema="claude"] .ofr{background:#ffffff;border-color:var(--line-2);box-shadow:0 20px 60px rgba(20,20,19,.08)}
html[data-tema="claude"] .ofr{border-color:var(--ea-line)}
html[data-tema="claude"] .rep::after{background:radial-gradient(80% 50% at 50% 0%,rgba(217,119,87,.12),transparent 70%)}
html[data-tema="claude"] .rep-top{color:#3d3d3a}
html[data-tema="claude"] .rep-list li{background:#faf9f5;border-color:var(--line)}
html[data-tema="claude"] .rep-list li.on{background:#f0eee6}
html[data-tema="claude"] .rep-list mark,html[data-tema="claude"] .jp mark,html[data-tema="claude"] .jmodel .chk,html[data-tema="claude"] .files mark{background:rgba(217,119,87,.16);color:var(--ea-2)}
html[data-tema="claude"] .jx,html[data-tema="claude"] .jx3>div{background:#faf9f5;border-color:var(--line)}
html[data-tema="claude"] .jtbl .ok{background:rgba(47,122,90,.12);color:var(--mint)}
html[data-tema="claude"] .jtbl .src{background:rgba(20,20,19,.06)}
html[data-tema="claude"] .jmodel mark{background:rgba(217,119,87,.2);color:var(--paper)}
html[data-tema="claude"] .pcp code,html[data-tema="claude"] .steps3 code,html[data-tema="claude"] .pkit code{background:rgba(20,20,19,.07)}
html[data-tema="claude"] .pkit{background:rgba(217,119,87,.12)}
html[data-tema="claude"] .stop6 .k,html[data-tema="claude"] .sig4 .k{background:rgba(217,119,87,.14);color:var(--ea-2)}
html[data-tema="claude"] .sig4 .k{background:rgba(47,122,90,.12);color:var(--mint)}
html[data-tema="claude"] .who2 figure{background:#e8e6dc;border-color:var(--line-2)}
html[data-tema="claude"] .acao-card{background:linear-gradient(120deg,rgba(217,119,87,.2),#faf9f5 55%,#ffffff);border-color:var(--ea-line);box-shadow:0 24px 60px rgba(20,20,19,.08),inset 0 1px 0 #fff}
html[data-tema="claude"] .acao-btn{animation-name:claude-glow}
@keyframes claude-glow{0%,100%{box-shadow:0 6px 30px rgba(184,83,47,.25),0 0 0 0 rgba(217,119,87,0)}50%{box-shadow:0 12px 40px rgba(184,83,47,.4),0 0 0 8px rgba(217,119,87,.18)}}
html[data-tema="claude"] .ofr li.wide{background:rgba(217,119,87,.12)}

/* antes × depois */
html[data-tema="claude"] .cmp{border-color:var(--line-2);background:#fff}
html[data-tema="claude"] .cmp .before{background:#e8e6dc;color:#3d3d3a}
html[data-tema="claude"] .cmp .after{background:linear-gradient(180deg,rgba(217,119,87,.14),#ffffff)}
html[data-tema="claude"] .cmp .handle::before,html[data-tema="claude"] .cmp .handle i{background:#b8532f;color:#fff}
html[data-tema="claude"] .cmp .handle i{box-shadow:0 8px 30px rgba(184,83,47,.35)}

/* ilha escura: o terminal continua escuro e redeclara as próprias cores */
html[data-tema="claude"] .term{background:#1f1e1d;border-color:#1f1e1d;box-shadow:0 30px 80px rgba(20,20,19,.25)}
html[data-tema="claude"] .term::after{background:radial-gradient(80% 50% at 50% 0%,rgba(217,119,87,.16),transparent 70%)}
html[data-tema="claude"] .term-top{color:#b4b2a9;border-bottom-color:rgba(255,255,255,.12)}
html[data-tema="claude"] .term-top i{background:rgba(255,255,255,.18)}
html[data-tema="claude"] .term-list li{color:#f5f4ef}
html[data-tema="claude"] .term-list .tp{color:#b4b2a9}
html[data-tema="claude"] .term-list li.cmd,html[data-tema="claude"] .term-list li.cmd .tp{color:#e8a284}
html[data-tema="claude"] .term-list li.ok .tp{color:#9ccf9a}
html[data-tema="claude"] .term-list li.stop{color:#f3c9b3}
html[data-tema="claude"] .term-list li.stop .tp{color:#d97757}
html[data-tema="claude"] .term-list li.typing::after{background:#e8a284}
html[data-tema="claude"] .term-foot{color:#b4b2a9;border-top-color:rgba(255,255,255,.12)}

/* FAQ e textos com cor fixa no style.css */
html[data-tema="claude"] .faq details{border-bottom-color:var(--line)}
html[data-tema="claude"] .skip:focus{background:#b8532f}
