/* ── AS AREAS DE VALOR ALTO NO PRETO (05/11/2026) ──
   Pedido do Eduardo: "as areas de bancario - tributario (alto valor) -
   empresarial - direito administrativo devem ter um desing que transmita
   auto padrao [...] Um tom mais de preto como foi feito no sentido da apple
   passando uma maior sofisticacao". A referencia e o modelo de 02/11 em
   C:\Claude\Claude Code\modelo_inicial_apple: o preto dos retratos, a serifa
   fina e grande, o dourado so nos detalhes, cartoes quase pretos de cantos
   redondos e entradas suaves com a rolagem.

   Vale so onde o <main> leva .ad-preto. O conteudo das paginas nao muda; o
   texto do alto se divide em duas partes, para a abertura ficar curta.
   Prefixo proprio: ap-. O :root na frente de cada regra faz o preto valer
   tambem com o tema escuro ligado (tema.css vem depois desta folha). */

:root .ad.ad-preto{
  --ap-preto:#020202;
  --ap-cartao:#0e0f13;
  --ap-cartao-alto:#15171d;
  --ap-borda:rgba(255,255,255,.09);
  --ap-linha:rgba(255,255,255,.08);
  --ap-branco:#f5f5f7;
  --ap-texto:#d2d2d7;
  --ap-cinza:#a1a1a6;
  --ap-ouro:#ffcf79;
  --ap-ouro2:#eb9e6e;
  --ap-ouro-apagado:#c9a46a;
  background:var(--ap-preto);color:var(--ap-branco);font-family:var(--ff);
}

/* A pagina inteira no preto: o fundo, o menu de vidro e o rodape. O botao de
   claro e escuro sai daqui, porque as duas escolhas dariam o mesmo preto. */
html:has(main.ad-preto),html:has(main.ad-preto) body{background:#020202}
html:has(main.ad-preto) nav,html:has(main.ad-preto) nav.shrunk{
  background:rgba(2,2,2,.62);border-bottom:1px solid rgba(255,255,255,.07);
  -webkit-backdrop-filter:saturate(160%) blur(18px);backdrop-filter:saturate(160%) blur(18px);
}
html:has(main.ad-preto) .nav-tema{display:none}
html:has(main.ad-preto) footer{background:#020202;border-top:1px solid rgba(255,255,255,.07)}
html:has(main.ad-preto) .ar-flutuante{background:rgba(22,22,26,.78);border-color:rgba(255,255,255,.16)}

:root .ad.ad-preto .wrap{max-width:1180px}
:root .ad.ad-preto h1,:root .ad.ad-preto h2,:root .ad.ad-preto h3{font-family:var(--ff-serif);color:var(--ap-branco)}

/* ── A ABERTURA ──
   O retrato do site, que ja tem fundo preto, a direita e na altura da tela,
   desfeito nas bordas. A foto nao vai em cover: a cabeca gigante ja foi
   recusada. O --ap-zoom vem de js/area-preto.js e aproxima o retrato devagar
   enquanto a pagina desce. */
:root .ad.ad-preto .hero{
  position:relative;overflow:hidden;display:flex;align-items:center;
  min-height:min(100svh,960px);padding:150px 24px 110px;
  background:var(--ap-preto);border:0;
}
:root .ad.ad-preto .hero::after{
  content:"";position:absolute;z-index:0;bottom:0;right:max(0px,calc(50vw - 720px));
  height:min(100%,900px);aspect-ratio:1086/1448;
  background:url('/imagens/eduardo-perfil.jpeg') center bottom/100% auto no-repeat;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 24%,#000 84%,transparent 100%),linear-gradient(to top,transparent 0,#000 16%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0,#000 24%,#000 84%,transparent 100%),linear-gradient(to top,transparent 0,#000 16%);
  mask-composite:intersect;
  transform-origin:50% 28%;transform:scale(var(--ap-zoom,1));opacity:var(--ap-foto,1);
  /* backwards, e nao both: depois de entrar, a opacidade volta a ser a do --ap-foto. */
  animation:ap-surge 1.6s cubic-bezier(.2,.7,.2,1) backwards;
}
@keyframes ap-surge{from{opacity:0;filter:brightness(.45)}to{opacity:1;filter:none}}
:root .ad.ad-preto .hero .wrap{position:relative;z-index:1;width:100%;transform:translateY(var(--ap-sobe,0))}
:root .ad.ad-preto .hero .wrap > *{max-width:620px}
:root .ad.ad-preto .area-back{
  margin-bottom:34px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  font-size:.82rem;font-weight:500;letter-spacing:0;text-transform:none;color:var(--ap-cinza);
}
:root .ad.ad-preto .area-back:hover{color:var(--ap-ouro);background:none}
:root .ad.ad-preto .ap-rotulo{font-size:.8rem;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--ap-ouro-apagado)}
:root .ad.ad-preto .hero h1{
  margin:16px 0 0;font-size:clamp(58px,7.4vw,116px);font-weight:300;line-height:.95;letter-spacing:-.015em;
}
:root .ad.ad-preto .hero .tag{
  margin:22px 0 0;font-family:var(--ff-serif);font-style:normal;font-weight:300;
  font-size:clamp(23px,2.3vw,33px);line-height:1.18;color:var(--ap-ouro);text-wrap:balance;
}
:root .ad.ad-preto .hero .resumo{margin:18px 0 0;font-size:clamp(15px,1.2vw,17.5px);font-weight:400;line-height:1.6;color:var(--ap-texto)}
:root .ad.ad-preto .hero .cta-row{margin-top:32px}
:root .ad.ad-preto .btn-gold{
  border-radius:999px;padding:16px 30px;font-weight:600;letter-spacing:.02em;
  background:linear-gradient(135deg,var(--ap-ouro2),var(--ap-ouro));color:#10192c;
  transition:transform .25s ease,box-shadow .25s ease;
}
:root .ad.ad-preto .btn-gold:hover{filter:none;transform:translateY(-1px) scale(1.015);box-shadow:0 14px 34px -14px rgba(255,207,121,.75)}
:root .ad.ad-preto .hero .assina-topo{margin-top:30px;background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.12)}
/* A assinatura do topo (06/11/2026), como no modelo do criminal: a marca EB, o fio
   dourado e o nome, no lugar da foto redonda. _includes/assinatura-topo.njk. */
:root .ad.ad-preto .hero .assina-eb{display:flex;align-items:center;gap:16px;margin-top:34px}
:root .ad.ad-preto .assina-eb-marca{display:block;flex:0 0 auto;width:auto;height:56px}
:root .ad.ad-preto .assina-eb-fio{flex:0 0 auto;width:1.5px;height:52px;background:linear-gradient(to bottom,var(--ap-ouro),var(--ap-ouro2))}
:root .ad.ad-preto .assina-eb-texto{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
:root .ad.ad-preto .assina-eb-texto a{font-family:var(--ff-serif);font-size:26px;font-weight:400;line-height:1.1;color:var(--ap-branco);text-decoration:none}
:root .ad.ad-preto .assina-eb-texto a:hover,:root .ad.ad-preto .assina-eb-texto a:focus-visible{color:var(--ap-ouro)}
:root .ad.ad-preto .assina-eb-texto > span{margin-top:5px;font-size:13px;line-height:1.45;color:var(--ap-cinza)}

/* ── A FRASE ──
   O resto do texto do alto, numa tela propria, grande, como as cenas do
   modelo: uma ideia por vez. */
:root .ad.ad-preto .ap-frase{padding:clamp(90px,16vh,170px) 24px}
:root .ad.ad-preto .ap-frase p{
  max-width:980px;margin:0 auto;font-family:var(--ff-serif);font-weight:300;
  font-size:clamp(28px,3.2vw,46px);line-height:1.22;letter-spacing:-.005em;color:var(--ap-cinza);text-wrap:pretty;
}
:root .ad.ad-preto .ap-frase p b{font-weight:300;color:var(--ap-branco)}

/* ── A PROVA ──
   Fatos, nao adjetivos (o Provimento 205 veda autoelogio): o titulo
   academico e o que o escritorio publicou, contado pelo proprio site. */
:root .ad.ad-preto .ap-prova{padding:0 24px clamp(70px,12vh,130px)}
:root .ad.ad-preto .ap-prova ul{
  list-style:none;max-width:1180px;margin:0 auto;display:grid;gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
}
:root .ad.ad-preto .ap-prova li{
  padding:28px 26px;border-radius:22px;background:linear-gradient(160deg,var(--ap-cartao-alto),var(--ap-cartao));border:1px solid var(--ap-borda);
}
:root .ad.ad-preto .ap-prova b{
  display:block;font-family:var(--ff-serif);font-weight:300;font-size:clamp(44px,4.6vw,64px);line-height:1;
  font-variant-numeric:lining-nums;font-feature-settings:"lnum";
  background:linear-gradient(120deg,#fff 20%,var(--ap-ouro) 130%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.06em;
}
:root .ad.ad-preto .ap-prova b.ap-titulo{font-size:clamp(30px,2.8vw,40px);line-height:1.08}
:root .ad.ad-preto .ap-prova span{display:block;margin-top:12px;font-size:14.5px;line-height:1.5;color:var(--ap-texto)}
:root .ad.ad-preto .ap-prova a{color:var(--ap-ouro);font-weight:600}

/* ── TEMAS ── */
:root .ad.ad-preto .temas{padding:0 24px 30px;background:none;border:0}
:root .ad.ad-preto .temas .lbl{color:var(--ap-cinza)}
:root .ad.ad-preto .chip{
  background:none;border:1px solid rgba(255,255,255,.14);color:var(--ap-texto);
  -webkit-backdrop-filter:none;backdrop-filter:none;font-weight:500;
}

/* ── AS SECOES ──
   Sem as folhas marfim e sem os brilhos azuis: tudo no preto, com o titulo
   grande e o conteudo em cartoes. */
:root .ad.ad-preto .section,
:root .ad.ad-preto .section:not(.ad-folha),
:root .ad.ad-preto .contact{background:var(--ap-preto)}
:root .ad.ad-preto .section{padding:clamp(70px,11vh,130px) 0}
:root .ad.ad-preto .ad-folha{padding:clamp(70px,11vh,130px) 0}
:root .ad.ad-preto .ad-folha > .wrap{background:none;box-shadow:none;border-radius:0;padding:0 24px;color:var(--ap-branco)}
:root .ad.ad-preto .ad-folha h2,:root .ad.ad-preto .ad-folha h3{color:var(--ap-branco)}
:root .ad.ad-preto .sec-head{max-width:900px;margin-bottom:8px}
:root .ad.ad-preto .sec-head .k,:root .ad.ad-preto .ad-folha .sec-head .k{
  font-family:var(--ff);font-size:.8rem;font-weight:600;letter-spacing:.24em;color:var(--ap-ouro-apagado);
}
:root .ad.ad-preto .sec-head h2{
  margin-top:10px;font-size:clamp(40px,5.2vw,76px);font-weight:300;line-height:1.02;letter-spacing:-.012em;text-wrap:balance;
}
:root .ad.ad-preto .resumo,:root .ad.ad-preto .ad-folha .resumo{
  max-width:44em;margin-top:18px;font-size:clamp(15.5px,1.25vw,18px);line-height:1.6;color:var(--ap-texto);
}
:root .ad.ad-preto .ad-folha p strong{color:var(--ap-branco);background:none;padding:0}

/* Acoes mais comuns: um cartao, uma linha por acao. */
:root .ad.ad-preto .acoes .ttl,:root .ad.ad-preto .ad-folha .acoes .ttl{margin-top:26px;font-family:var(--ff);font-size:1rem;font-weight:600;color:var(--ap-branco)}
:root .ad.ad-preto .acoes .ttl small,:root .ad.ad-preto .ad-folha .acoes .ttl small{color:var(--ap-cinza)}
:root .ad.ad-preto .acoes ul,:root .ad.ad-preto .ad-folha .acoes ul{
  margin-top:18px;border-radius:24px;background:linear-gradient(160deg,var(--ap-cartao-alto),var(--ap-cartao));
  border:1px solid var(--ap-borda);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
}
:root .ad.ad-preto .acoes li,:root .ad.ad-preto .ad-folha .acoes li{padding:20px 26px 20px 72px;font-size:.95rem;line-height:1.6;color:var(--ap-texto)}
:root .ad.ad-preto .acoes li::before{left:26px;top:21px;width:26px;height:26px;border-radius:50%}
:root .ad.ad-preto .acoes li + li::after,:root .ad.ad-preto .ad-folha .acoes li + li::after{left:72px;background:var(--ap-linha)}
:root .ad.ad-preto .acoes li b,:root .ad.ad-preto .ad-folha .acoes li b{font-size:1.05rem;color:var(--ap-branco)}

/* Atendimento: o cartao do advogado e os passos. Sem o numero grande desde 26/11/2026
   (pedido do Eduardo: "um tom de mais seriedade"); no lugar, um fio dourado curto. */
:root .ad.ad-preto .ad-folha .lawyer{background:var(--ap-cartao);border:1px solid var(--ap-borda);box-shadow:none}
:root .ad.ad-preto .ad-folha .lawyer .info h3{color:var(--ap-branco)}
:root .ad.ad-preto .ad-folha .lawyer .info .oab{color:var(--ap-cinza)}
:root .ad.ad-preto .como{gap:16px;margin-top:30px}
:root .ad.ad-preto .etapa,:root .ad.ad-preto .ad-folha .etapa{
  padding:30px 26px 28px;border-radius:24px;text-align:left;
  background:linear-gradient(160deg,var(--ap-cartao-alto),var(--ap-cartao));border:1px solid var(--ap-borda);box-shadow:none;
}
:root .ad.ad-preto .etapa svg{display:none}
:root .ad.ad-preto .etapa::before{
  content:"";display:block;width:32px;height:1px;margin-bottom:22px;background:var(--ap-ouro);opacity:.85;
}
:root .ad.ad-preto .etapa b,:root .ad.ad-preto .ad-folha .etapa b{font-family:var(--ff-serif);font-weight:400;font-size:1.55rem;line-height:1.15;color:var(--ap-branco)}
:root .ad.ad-preto .etapa span,:root .ad.ad-preto .ad-folha .etapa span{margin-top:10px;font-size:.93rem;line-height:1.6;color:var(--ap-texto)}

/* Problemas, onde corre e o que ler: cartoes pretos. */
:root .ad.ad-preto .prob-grid,
:root .ad.ad-preto .problems .prob-grid,
:root .ad.ad-preto .ad-leituras .prob-grid{
  gap:0 30px;padding:6px 26px;border-radius:24px;background:linear-gradient(160deg,var(--ap-cartao-alto),var(--ap-cartao));
  border:1px solid var(--ap-borda);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;
}
:root .ad.ad-preto .prob,:root .ad.ad-preto .problems .prob,:root .ad.ad-preto .ad-leituras .prob{
  position:relative;padding:18px 0 18px 26px;border:0;border-bottom:1px solid var(--ap-linha);border-radius:0;background:none;
  font-size:.95rem;line-height:1.55;color:var(--ap-texto);
}
:root .ad.ad-preto .prob::before{content:"";position:absolute;left:2px;top:26px;width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,var(--ap-ouro2),var(--ap-ouro))}
:root .ad.ad-preto .prob:last-child{border-bottom:0}
@media(min-width:680px){:root .ad.ad-preto .prob:nth-last-child(2):nth-child(odd){border-bottom:0}}
:root .ad.ad-preto .ad-leituras .prob{padding:0}
:root .ad.ad-preto .ad-leituras .prob::before{display:none}
:root .ad.ad-preto .ad-leituras .prob a{position:relative;margin:0;padding:18px 28px 18px 0;font-size:1rem;font-weight:500;color:var(--ap-branco)}
:root .ad.ad-preto .ad-leituras .prob a::after{content:"\203A";position:absolute;right:2px;top:50%;transform:translateY(-52%);font-size:1.5rem;line-height:1;color:var(--ap-ouro-apagado)}
:root .ad.ad-preto .ad-leituras .prob a:hover{color:var(--ap-ouro)}
:root .ad.ad-preto .ad-onde-corre .prob b{color:var(--ap-branco)}
:root .ad.ad-preto .ad-onde{color:var(--ap-cinza)}
:root .ad.ad-preto .ad-onde strong{color:var(--ap-ouro-apagado)}
:root .ad.ad-preto .ad-cidades{color:var(--ap-cinza)}
:root .ad.ad-preto .ad-cidades a{color:var(--ap-texto);border-bottom-color:rgba(255,255,255,.18)}
:root .ad.ad-preto .ad-cidades a:hover{color:var(--ap-ouro)}

/* Perguntas: a lista aberta, como a da Apple, sem caixa em volta. */
:root .ad.ad-preto .ad-faq .faq{max-width:900px;margin-top:26px}
:root .ad.ad-preto .ad-faq details,
:root .ad.ad-preto .ad-faq details:first-of-type,
:root .ad.ad-preto .ad-faq details:last-of-type{
  padding:0;border:0;border-top:1px solid rgba(255,255,255,.12);border-radius:0;background:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
:root .ad.ad-preto .ad-faq details:last-of-type{border-bottom:1px solid rgba(255,255,255,.12)}
:root .ad.ad-preto .ad-faq summary{padding:24px 44px 24px 0;font-family:var(--ff-serif);font-weight:400;font-size:clamp(21px,1.9vw,27px);line-height:1.2;color:var(--ap-branco)}
:root .ad.ad-preto .ad-faq summary::after,:root .ad.ad-preto .ad-faq details[open] summary::after{content:"+";top:20px;right:4px;font-family:var(--ff);font-size:28px;font-weight:300;color:var(--ap-ouro);transform:none;transition:transform .3s ease}
:root .ad.ad-preto .ad-faq details[open] summary::after{transform:rotate(45deg)}
:root .ad.ad-preto .ad-faq details p{max-width:46em;padding:0 0 26px;font-size:1rem;line-height:1.7;color:var(--ap-texto)}

/* Contato: o formulario num cartao preto. */
:root .ad.ad-preto .contact{padding:clamp(80px,12vh,140px) 24px;border-top:1px solid rgba(255,255,255,.07)}
:root .ad.ad-preto .contact-inner{max-width:680px}
:root .ad.ad-preto .contact h2{font-size:clamp(40px,5vw,68px);font-weight:300;line-height:1.04;letter-spacing:-.01em}
:root .ad.ad-preto .contact .invite{color:var(--ap-texto);font-size:1rem}
:root .ad.ad-preto .form{padding:28px;border-radius:24px;background:var(--ap-cartao);border:1px solid var(--ap-borda);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
:root .ad.ad-preto .form label{color:var(--ap-cinza)}
:root .ad.ad-preto .form input,:root .ad.ad-preto .form textarea,:root .ad.ad-preto .form select{background:#07080b;border:1px solid var(--ap-borda);color:#fff}
:root .ad.ad-preto .form input:focus,:root .ad.ad-preto .form textarea:focus,:root .ad.ad-preto .form select:focus{border-color:var(--ap-ouro-apagado)}
:root .ad.ad-preto .form label.consent{color:var(--ap-cinza)}
:root .ad.ad-preto .or,:root .ad.ad-preto .scope,:root .ad.ad-preto .scope.scope--fraco{color:var(--ap-cinza)}
:root .ad.ad-preto .phones a,:root .ad.ad-preto .scope--fraco a{color:var(--ap-texto)}
:root .ad.ad-preto .disclaimer{background:var(--ap-preto);color:#86868b;border-top:1px solid rgba(255,255,255,.07)}

/* ── AS ENTRADAS ──
   js/area-preto.js poe .ap-anima no <main> e .on em cada bloco que entra na
   tela. Sem JavaScript, ou para quem pede menos movimento, tudo ja aparece. */
:root .ad.ad-preto.ap-anima .ap-r{opacity:0;transform:translateY(28px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
:root .ad.ad-preto.ap-anima .ap-r.on{opacity:1;transform:none}

/* ── CELULAR ──
   A resposta primeiro (design.md): titulo, uma linha, o botao e quem
   atende na primeira tela. O retrato sobe para tras do titulo, desfeito
   por baixo, e o texto fica sobre a parte escura. */
@media(max-width:820px){
  :root .ad.ad-preto .hero{min-height:0;align-items:flex-end;padding:96px 20px 48px}
  :root .ad.ad-preto .hero::after{
    left:50%;right:auto;top:56px;bottom:auto;height:auto;width:min(112vw,560px);margin-left:max(-56vw,-280px);
    -webkit-mask-image:linear-gradient(to top,transparent 8%,#000 46%);mask-image:linear-gradient(to top,transparent 8%,#000 46%);
    -webkit-mask-composite:source-over;mask-composite:add;opacity:.8;
  }
  :root .ad.ad-preto .hero .wrap{padding-top:min(62vw,300px)}
  :root .ad.ad-preto .area-back{margin-bottom:18px}
  :root .ad.ad-preto .hero h1{font-size:13vw}
  :root .ad.ad-preto .hero .tag{font-size:21px}
  :root .ad.ad-preto .hero .resumo{font-size:15px}
  :root .ad.ad-preto .hero .cta-row{margin-top:24px}
  :root .ad.ad-preto .hero .btn-gold{width:100%;text-align:center}
  :root .ad.ad-preto .ap-frase{padding:72px 20px}
  :root .ad.ad-preto .ap-frase p{font-size:25px}
  :root .ad.ad-preto .ap-prova{padding:0 20px 64px}
  /* Uma coluna, o numero a esquerda e o texto ao lado: em duas colunas o
     ultimo dos tres numeros sobrava sozinho. */
  :root .ad.ad-preto .ap-prova ul{grid-template-columns:1fr;gap:10px}
  :root .ad.ad-preto .ap-prova li{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:14px;padding:18px 18px;border-radius:18px}
  :root .ad.ad-preto .ap-prova li:has(.ap-titulo){display:block}
  :root .ad.ad-preto .ap-prova b{font-size:46px}
  :root .ad.ad-preto .ap-prova b.ap-titulo{font-size:30px}
  :root .ad.ad-preto .ap-prova span{margin-top:0;font-size:13.5px}
  :root .ad.ad-preto .ap-prova li:has(.ap-titulo) span{margin-top:8px}
  :root .ad.ad-preto .ad-folha > .wrap{width:auto;padding:0 20px}
  :root .ad.ad-preto .sec-head h2{font-size:11vw}
  :root .ad.ad-preto .acoes li,:root .ad.ad-preto .ad-folha .acoes li{padding:18px 18px 18px 60px}
  :root .ad.ad-preto .acoes li::before{left:18px}
  :root .ad.ad-preto .acoes li + li::after{left:60px}
  :root .ad.ad-preto .prob-grid{padding:4px 18px}
  :root .ad.ad-preto .contact h2{font-size:10vw}
  :root .ad.ad-preto .form{padding:20px}
}

@media (prefers-reduced-motion:reduce){
  :root .ad.ad-preto .hero::after{animation:none;transform:none}
  :root .ad.ad-preto .hero .wrap{transform:none}
  :root .ad.ad-preto.ap-anima .ap-r{opacity:1;transform:none;transition:none}
}

