/* Ajustes de layout — 28/11/2026 (sobrepõe style.css) */
h1,h2{font-weight:700;letter-spacing:-.01em}
h3{font-weight:650}
/* Cabeçalho: logo horizontal no computador */
.brand picture{display:block;line-height:0}
@media (min-width:960px){.brand img{height:40px!important;width:auto!important}}
/* Topo da página inicial */
.hero.hero-navy.hero-home{background:var(--azul);color:#fff;border-bottom:0}
.hero.hero-navy.hero-home .hero-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:end;gap:40px;min-height:540px;padding-top:64px;padding-bottom:0;text-align:left;justify-items:stretch}
.hero-home .hero-copy{padding-bottom:84px;align-self:center;max-width:640px}
.hero-home .hero-eyebrow{font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#8FB8EB;margin:0 0 18px}
.hero-home h1{font-size:clamp(34px,4.1vw,54px);line-height:1.1;font-weight:700;color:#fff;margin:0 0 20px;letter-spacing:-.015em;text-transform:none}
.hero-home .hero-sub{font-size:clamp(17px,1.35vw,19px);line-height:1.6;color:#CDD8EA;max-width:560px;margin:0 0 32px}
.hero-home .actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start}
.btn.btn-light{background:#fff;color:var(--azul);border-color:#fff}
.btn.btn-light:hover{background:#E8EEF6;color:var(--azul);border-color:#E8EEF6}
.btn.btn-ghost-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.65)}
.btn.btn-ghost-light:hover{background:rgba(255,255,255,.08);color:#fff;border-color:#fff}
.hero-home .hero-figure{position:relative;margin:0;align-self:end;display:flex;justify-content:center}
.hero-home .hero-figure::before{content:"";position:absolute;left:50%;bottom:-40px;width:560px;height:560px;transform:translateX(-50%);background:radial-gradient(circle at 50% 50%,rgba(70,125,205,.40),rgba(70,125,205,0) 64%);pointer-events:none}
.hero-home .hero-figure img{position:relative;display:block;height:500px;width:auto;max-width:100%;object-fit:contain;object-position:left center}
@media (max-width:959px){
 .hero.hero-navy.hero-home .hero-inner{grid-template-columns:1fr;min-height:0;padding-top:44px;padding-bottom:48px}
 .hero-home .hero-copy{padding-bottom:0}
 .hero-home .hero-figure{display:none}
 .hero-home .actions .btn{flex:1 1 220px;justify-content:center}
}
/* Card extra de áreas */
.area.area-cta a{background:var(--azul);border-color:var(--azul);color:#fff}
.area.area-cta a:hover{background:var(--azul-hover)}
.area.area-cta h3,.area.area-cta .area-num,.area.area-cta p,.area.area-cta .more{color:#fff}
.area.area-cta .area-num{color:#8FB8EB}
/* Foto nas páginas de área */
.hero-card .hero-photo{margin:0 0 20px}
.hero-card .hero-photo img{display:block;width:100%;height:230px;object-fit:cover;object-position:50% 22%}
/* Rodapé */
@media (min-width:960px){.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.footer-grid .footer-brand{grid-column:1/-1;margin-bottom:8px}}
.footer-brand img{height:44px!important;width:auto!important;max-width:100%}
.footer-social a{display:inline-block;margin-right:16px}
/* Aviso de cookies mais compacto */
.cookie-banner{padding:12px 16px!important;gap:10px 16px!important}
.cookie-banner p{font-size:13.5px!important;line-height:1.45!important}
.cookie-btn{min-height:38px!important;padding:0 16px!important;font-size:14px!important}
@media (max-width:600px){.cookie-banner{left:8px!important;right:8px!important;bottom:8px!important}.cookie-actions{display:flex;gap:8px;width:100%}.cookie-btn{flex:1}}

/* fix logo rodapé */
.site-footer .footer-brand img, footer .footer-brand img, footer img[src*="horizontal-branca"]{width:auto!important;max-width:100%;height:44px;object-fit:contain}
@media (max-width:959px){footer img[src*="horizontal-branca"]{height:34px}}

/* hero home no celular: botões no tamanho normal */
@media (max-width:959px){.hero.hero-home .hero-inner{min-height:0;align-content:center;padding-top:56px;padding-bottom:64px}.hero.hero-home .actions{height:auto;flex:0 0 auto;margin:28px 0 0;padding:0;gap:12px;align-items:stretch}.hero.hero-home .actions .btn{flex:0 0 auto;height:auto;min-height:50px;width:100%;max-width:none}}

/* 28/11 rev2: logo menor, hero sem foto, rodapé alinhado */
@media (min-width:960px){.site-header .brand img,.brand img{height:32px!important;width:auto}}
.footer-brand{align-items:flex-start!important;justify-content:flex-start!important;text-align:left}
footer .footer-brand img[src*="horizontal-branca"]{height:34px!important;width:auto!important;margin:0!important}
.hero-panel{align-self:center;justify-self:end;width:100%;max-width:400px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);backdrop-filter:blur(2px);padding:32px 32px 12px;border-radius:2px}
.hero-panel-title{margin:0 0 18px;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#9DB8DA}
.hero-steps{list-style:none;margin:0;padding:0}
.hero-steps li{display:flex;gap:18px;padding:18px 0;border-top:1px solid rgba(255,255,255,.12)}
.hero-steps span{font-size:13px;font-weight:600;color:#9DB8DA;min-width:22px;padding-top:2px}
.hero-steps strong{display:block;color:#fff;font-size:16px;font-weight:650;margin-bottom:4px}
.hero-steps p{margin:0;color:rgba(255,255,255,.72);font-size:14.5px;line-height:1.55}
@media (max-width:959px){.hero-panel{display:none}}

/* 28/11 rev3 */
@media (min-width:960px){.site-header .brand img,.brand img{height:26px!important}}
@media (max-width:959px){.site-header .brand img,.brand img{height:30px!important;width:auto}}
footer .footer-brand img[src*="horizontal-branca"]{height:26px!important}
.hero.hero-home .hero-inner{grid-template-columns:minmax(0,680px)!important;position:relative}
.hero.hero-home{position:relative;overflow:hidden}
.hero-mark{position:absolute;right:-60px;top:50%;transform:translateY(-46%);width:min(52vw,620px);aspect-ratio:900/700;background:url(../img/simbolo-marca-branco.webp) no-repeat center/contain;opacity:.06;pointer-events:none;z-index:0}
.hero.hero-home .hero-copy{position:relative;z-index:1}
@media (max-width:959px){.hero-mark{width:120vw;right:-45vw;opacity:.045}}
#escritorio .photo{max-width:340px;justify-self:center;width:100%}
#escritorio .photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
@media (max-width:959px){#escritorio .photo{max-width:260px!important;margin:8px auto 28px!important}}

/* 28/11 rev4: hierarquia hero e triagem */
.hero.hero-home h1{margin-bottom:28px!important;letter-spacing:-.02em}
.hero.hero-home .hero-sub{line-height:1.65;max-width:560px;color:rgba(255,255,255,.82)}
.hero.hero-home .hero-eyebrow{color:#B5D0F2!important;margin-bottom:18px}
.hero.hero-home .actions{margin-top:36px;gap:14px}
.hero.hero-home .actions .btn{min-height:54px;padding:0 30px;font-weight:600;font-size:16px;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.btn-ico{flex:0 0 auto;color:#1FA855}
.triagem-list a{padding:18px 48px 18px 22px!important;font-weight:550;position:relative;transition:border-color .2s,box-shadow .2s,background .2s}
.triagem-list a::after{font-size:20px!important;font-weight:600;color:#0F3B6E!important;position:absolute;right:20px;top:50%;transform:translateY(-50%);transition:transform .2s}
.triagem-list a:hover{border-color:#0F3B6E!important;box-shadow:0 6px 18px rgba(2,33,63,.08)}
.triagem-list a:hover::after{transform:translate(4px,-50%)}
@media (max-width:959px){.triagem-list a{font-size:16.5px!important;padding:18px 46px 18px 18px!important}}

/* o-escritorio: foto do advogado */
[aria-labelledby="titulo-advogado"] .photo{max-width:380px;width:100%;justify-self:center}
[aria-labelledby="titulo-advogado"] .photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
@media (max-width:959px){[aria-labelledby="titulo-advogado"] .photo{max-width:280px;margin:0 auto 28px}}
