/* Afonso e Filho — Advocacia Estratégica */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#F6F5F1;color:#1B2430;font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:16px;line-height:1.6;overflow-x:hidden}
img{max-width:100%}
a{color:#1F3A5F}a:hover{color:#13253D}
ul,ol{padding:0}

.nav a{color:#D5DEEA;text-decoration:none;transition:color .25s ease}
.nav a:hover{color:#FFFFFF}
.nav a.lk{background-image:linear-gradient(#CDAA72,#CDAA72);background-size:0 1px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .35s ease,color .25s ease}
.nav a.lk:hover,.nav a.cur{background-size:100% 1px;color:#FFFFFF}

a.btn-gold{color:#0E1B2D;transition:background-color .25s ease,transform .25s ease,box-shadow .25s ease}
a.btn-gold:hover{color:#0E1B2D;background-color:#DDBF8C;transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.28)}
a.btn-ghost{color:#FFFFFF;transition:background-color .25s ease,border-color .25s ease}
a.btn-ghost:hover{color:#FFFFFF;background-color:rgba(255,255,255,.08);border-color:#FFFFFF}
.send{transition:background-color .25s ease,transform .25s ease}
.send:hover{background-color:#DDBF8C;transform:translateY(-2px)}

.seg{transition:background-color .3s ease,color .3s ease;background:transparent;color:#4A5A70}
.seg:hover{color:#1F3A5F}
.seg.on{background:#1F3A5F;color:#FFFFFF}
.seg.on:hover{color:#FFFFFF}
.chip{transition:background-color .3s ease,color .3s ease,border-color .3s ease;background:#FFFFFF;color:#4A5A70;border:1px solid #E2E0D9}
.chip:hover{color:#1F3A5F;border-color:#8FA6C2}
.chip.on{background:#1F3A5F;color:#FFFFFF;border-color:#1F3A5F}

.card{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease}
.card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(19,37,61,.12);border-color:#8FA6C2}
.card .bar{transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.card:hover .bar{transform:scaleX(1)}
a.post{color:inherit;text-decoration:none;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease}
a.post:hover{color:inherit;transform:translateY(-6px);box-shadow:0 18px 40px rgba(19,37,61,.12);border-color:#8FA6C2}
a.post .more{background-image:linear-gradient(#A8834A,#A8834A);background-size:0 1px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .35s ease}
a.post:hover .more{background-size:100% 1px}

.fld{transition:border-color .25s ease,box-shadow .25s ease}
.fld:focus{outline:none;border-color:#CDAA72;box-shadow:0 0 0 3px rgba(205,170,114,.25)}
.seg:focus-visible,.chip:focus-visible,.send:focus-visible,a:focus-visible{outline:2px solid #CDAA72;outline-offset:3px}
.photo img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.photo:hover img{transform:scale(1.03)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
[hidden]{display:none !important}

@keyframes up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes swap{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.in1{animation:up .8s cubic-bezier(.2,.7,.2,1) .05s both}
.in2{animation:up .8s cubic-bezier(.2,.7,.2,1) .18s both}
.in3{animation:up .8s cubic-bezier(.2,.7,.2,1) .31s both}
.in4{animation:up .8s cubic-bezier(.2,.7,.2,1) .44s both}
.in5{animation:fade 1.2s ease .3s both}
.draw .face polyline{stroke-dasharray:1;animation:draw 2.2s cubic-bezier(.4,0,.2,1) .2s both}
.draw .sides{animation:fade 1.2s ease 1.9s both}
.swap{animation:swap .45s cubic-bezier(.2,.7,.2,1) both}
.pop{animation:up .5s cubic-bezier(.2,.7,.2,1) both}
@supports (animation-timeline: view()){
.rv{animation:up linear both;animation-timeline:view();animation-range:entry 0% entry 55%}
}
@media (prefers-reduced-motion: reduce){
html{scroll-behavior:auto}
.in1,.in2,.in3,.in4,.in5,.swap,.pop,.rv,.draw .face polyline,.draw .sides{animation:none}
.card,.card .bar,.photo img,a.btn-gold,a.post,.send{transition:none}
}
