/* LBB Previdenciário — identidade LBB 2026 (azul predominante, branco, detalhes bege)
   Referência: lbbadvocacia.com.br · Desenvolvido por LancerX (https://lancerx.com.br) */

@font-face{font-family:IvyEpicLight;src:url('/assets/IvyEpic%20Light-italic-500-100-BbWdu-IQ.otf') format('opentype');font-display:swap}

:root{--lbb-azul:#173654;--lbb-noite:#0f2740;--lbb-branco:#fff;--lbb-bege:#eaccad;--lbb-cinza:#526171;
  --lbb-display:IvyEpicLight,IvyEpic,Georgia,serif;--lbb-borda:clamp(20px,5vw,88px)}

/* ---------- Correções da troca de cor (antigo terracota → azul): texto/botão azul sobre fundo azul ---------- */
main .text-\[\#173654\],footer .text-\[\#173654\]{color:var(--lbb-bege)!important}
#sobre .text-\[\#173654\]{color:var(--lbb-azul)!important}
main a.bg-\[\#173654\],main button.bg-\[\#173654\]{background:var(--lbb-branco)!important;color:var(--lbb-azul)!important;border-radius:0!important}
main a.bg-\[\#173654\]:hover,main button.bg-\[\#173654\]:hover{background:var(--lbb-bege)!important}
.h-0\.5.w-16{background:var(--lbb-bege)!important;height:1px!important;width:56px!important}
main h1.uppercase{text-transform:none!important;color:var(--lbb-branco)!important;font-family:var(--lbb-display)!important;font-size:clamp(34px,4.2vw,58px)!important;line-height:1.08!important;letter-spacing:-.03em!important}

/* ---------- Cabeçalho ---------- */
#root header{background:var(--lbb-azul)!important;box-shadow:none!important;border-bottom:1px solid #eaccad40}
#root header nav,#root header nav *{text-transform:none!important}
#root header nav a,#root header nav button{font-size:15px!important;letter-spacing:0!important}
/* Logo só com "LBB": recorte do logo oficial (sem "advocacia empresarial") */
#root header a[aria-label="Ir para a página inicial"] img{width:126px!important;height:60px!important;max-width:none!important;object-fit:cover!important;object-position:left center!important}

/* ---------- Ordem da home: topo, depoimentos, demais; bloco Artigos fora da home (página /artigos intacta) ---------- */
main:has(> #depoimentos){display:flex;flex-direction:column}
main:has(> #depoimentos) > section:first-child{order:-2}
#depoimentos{order:-1}
#artigos{display:none!important}

/* ---------- Topo (primeira dobra) ---------- */
main > section.min-h-screen:first-child > img{filter:grayscale(1) contrast(1.08) brightness(.92)}
main > section.min-h-screen:first-child > div:nth-of-type(1){background:var(--lbb-azul)!important;mix-blend-mode:multiply;opacity:.9}
main > section.min-h-screen:first-child > div:nth-of-type(2){background:linear-gradient(90deg,#0f2740e6 0%,#0f27408c 46%,#0f274000 78%)!important}
main > section.min-h-screen:first-child p span.italic{font-style:normal!important;display:block!important;margin-bottom:26px!important;text-transform:uppercase;font-size:13px!important;letter-spacing:.14em!important;color:var(--lbb-bege)!important}
@media(min-width:1024px){
  main > section.min-h-screen:first-child p:has(> span.italic){position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  main > section.min-h-screen:first-child div.absolute h1::before{content:'Advocacia previdenciária';display:block;font-family:IvyEpic,Arial,sans-serif;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--lbb-bege);line-height:1.4;margin-bottom:28px}
}
main > section.min-h-screen:first-child h1{font-family:var(--lbb-display)!important;font-weight:400!important;font-size:clamp(42px,5.6vw,88px)!important;line-height:1.02!important;letter-spacing:-.04em!important;max-width:11ch}
main > section.min-h-screen:first-child h1 span{display:block!important;background:none!important;padding:0!important;font-weight:400!important;color:var(--lbb-bege)!important}
main > section.min-h-screen:first-child a{border-radius:0!important;border:0!important;background:var(--lbb-branco)!important;color:var(--lbb-azul)!important;font-size:16px!important;line-height:1.4!important;min-height:54px;padding:15px 28px!important;margin-top:40px!important;transition:background-color .18s ease}
main > section.min-h-screen:first-child a:hover{background:var(--lbb-bege)!important}

/* ---------- Depoimentos (logo abaixo da dobra) ---------- */
#depoimentos{background:var(--lbb-azul)!important;padding-top:88px!important;padding-bottom:96px!important}
#depoimentos h2{font-family:var(--lbb-display)!important;font-weight:400!important;font-size:clamp(32px,3.4vw,48px)!important;letter-spacing:-.03em;line-height:1.1!important}
#depoimentos blockquote{background:transparent!important;border:0!important;border-top:1px solid #eaccad73!important;box-shadow:none!important;border-radius:0!important;padding:26px 0 0!important;width:320px!important}
#depoimentos blockquote p{color:var(--lbb-branco)!important;font-size:17px!important;line-height:1.6!important}
#depoimentos blockquote > div:first-child svg{color:var(--lbb-bege)!important;fill:var(--lbb-bege)!important}
#depoimentos blockquote footer,#depoimentos blockquote footer *{color:#ffffffcc!important}
#depoimentos blockquote footer img{filter:grayscale(.15)}
#depoimentos .testimonials-scroll-container::before,#depoimentos .testimonials-scroll-container::after{background:linear-gradient(90deg,var(--lbb-azul),#17365400)!important}

/* ---------- Quem somos: eixo editorial (título à esquerda, texto à direita) ---------- */
#sobre{background:var(--lbb-branco)!important;background-image:none!important;padding:112px var(--lbb-borda)!important}
#sobre > div{display:grid!important;grid-template-columns:5fr 7fr;column-gap:64px;align-items:start;width:min(1264px,100%)!important}
#sobre > div > div:first-child{display:none!important}
#sobre h1{grid-column:1;grid-row:1;align-self:start!important;text-align:left!important;margin:0!important;font-family:var(--lbb-display)!important;font-weight:400!important;font-size:clamp(36px,4vw,58px)!important;line-height:1.06!important;letter-spacing:-.04em!important;color:var(--lbb-azul)!important}
#sobre > div > div:nth-child(3){grid-column:2;grid-row:1;margin-top:6px!important;display:block!important}
#sobre > div > div:nth-child(3) > img{display:none!important}
#sobre > div > div:nth-child(3) > div{text-align:left!important}
#sobre > div > div:nth-child(3) p{color:var(--lbb-azul)!important;font-size:18px!important;line-height:1.75!important;max-width:60ch}
#sobre > div > div:nth-child(3) p:first-child{font-size:24px!important;line-height:1.42!important;letter-spacing:-.015em;margin-bottom:22px}
#sobre strong{color:var(--lbb-azul)!important;font-weight:500!important}
#sobre > div > div:nth-child(4){grid-column:1/-1;margin-top:80px!important;padding-top:44px;border-top:1px solid #17365426;gap:56px!important}
#sobre article{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}
#sobre article svg{display:none!important}
#sobre article h3{font-family:var(--lbb-display)!important;font-weight:400!important;font-size:26px!important;line-height:1.2!important;color:var(--lbb-azul)!important}
#sobre article p,#sobre article li{color:var(--lbb-cinza)!important;font-size:16px!important;line-height:1.65!important}
#sobre article ul{list-style:none!important;padding-left:0!important}
#sobre article li::marker{content:''}

/* ---------- Áreas de atuação ---------- */
#atuacao > div:first-child{display:none!important}
#atuacao > div:nth-child(2) > div:first-child{filter:grayscale(1) contrast(1.05) brightness(.95)}
#atuacao > div:nth-child(2)::after{content:'';position:absolute;inset:0;background:var(--lbb-azul);mix-blend-mode:multiply;opacity:.88;pointer-events:none}
#atuacao > div:nth-child(2) > div:nth-child(2){z-index:2}
#atuacao h2{color:var(--lbb-branco)!important;font-family:var(--lbb-display)!important;font-weight:400!important;font-size:clamp(32px,3.4vw,48px)!important;letter-spacing:-.03em;line-height:1.1!important}

/* ---------- Faixa de frase ---------- */
main > section:not([id]):not(:first-child) h2{font-family:var(--lbb-display)!important;font-weight:400!important;font-size:clamp(28px,3.2vw,44px)!important;line-height:1.2!important;letter-spacing:-.03em;color:var(--lbb-bege)!important;max-width:26ch;margin-inline:auto}

/* ---------- Rodapé ---------- */
#contato h2{font-family:var(--lbb-display)!important;font-weight:400!important;font-size:clamp(32px,3.4vw,48px)!important;letter-spacing:-.03em}
#contato a.border-2{border-color:var(--lbb-bege)!important;background:transparent!important;color:var(--lbb-bege)!important}
#contato a.border-2 *{color:inherit!important}
#contato a.border-2:hover{background:var(--lbb-bege)!important;color:var(--lbb-azul)!important}
#contato img[src*="lbb-logo-branco"]{width:160px!important;height:76px!important;max-width:none!important;object-fit:cover!important;object-position:left center!important}

/* ---------- WhatsApp flutuante ---------- */
#root > div > a.fixed{background:#25d366!important}

/* ---------- Foco e movimento ---------- */
#root :focus-visible{outline:2px solid var(--lbb-bege)!important;outline-offset:4px}
#sobre :focus-visible{outline-color:var(--lbb-azul)!important}

/* ---------- Responsivo ---------- */
@media(max-width:860px){
  #sobre{padding:72px var(--lbb-borda)!important}
  #sobre > div{grid-template-columns:1fr;row-gap:28px}
  #sobre h1{grid-row:1}
  #sobre > div > div:nth-child(3){grid-column:1;grid-row:2}
  #sobre > div > div:nth-child(3) p:first-child{font-size:21px!important}
  #sobre > div > div:nth-child(4){margin-top:48px!important;gap:36px!important}
  #depoimentos{padding-top:64px!important;padding-bottom:72px!important}
  #root header a[aria-label="Ir para a página inicial"] img{width:101px!important;height:48px!important}
}
@media(prefers-reduced-motion:reduce){#root *{transition:none!important;animation-duration:.01ms!important}}
