:root{
  --es-green-950:#102417;--es-green-900:#142719;--es-green-800:#1c2f1c;--es-green-700:#304b2b;--es-green-600:#49642d;--es-green-500:#647c4c;
  --es-sage-400:#8fa579;--es-sage-300:#afbe9c;--es-sage-200:#d9e2cf;--es-sage-100:#eaefe4;
  --es-cream-50:#f7f6f2;--es-sand-100:#f0efe9;--es-white:#fff;--es-graphite-900:#20241d;--es-text-secondary:#535b52;--es-text-muted:#697268;--es-border-light:#e4e5de;--es-text-on-dark:#f7f6f2;--es-text-on-dark-muted:#cdd7c8;
  --es-bg:var(--es-cream-50);--es-surface:var(--es-white);--es-bg-inverse:var(--es-green-900);--es-text-primary:var(--es-graphite-900);--es-border:var(--es-border-light);--es-action-primary:var(--es-green-600);--es-action-primary-hover:var(--es-green-700);--es-action-primary-active:var(--es-green-900);--es-action-on-primary:#fff;--es-action-on-dark:var(--es-cream-50);--es-action-on-dark-text:var(--es-green-900);--es-focus-light:var(--es-green-600);--es-focus-dark:var(--es-sage-300);
  --es-font-heading:"Libre Baskerville",Georgia,serif;--es-font-body:Manrope,Arial,sans-serif;
  --es-text-h1:clamp(2.25rem,4.15vw,3.75rem);--es-text-h2:clamp(1.875rem,3vw,2.5rem);--es-text-h3:clamp(1.3125rem,1.85vw,1.5rem);--es-text-h4:clamp(1.125rem,1.4vw,1.1875rem);--es-text-lead:1.0625rem;--es-text-body:1rem;--es-text-card:.9375rem;--es-text-nav:.875rem;--es-text-button:.875rem;--es-text-label:.75rem;--es-text-footer:.875rem;--es-text-caption:.75rem;
  --es-leading-h1:1.12;--es-leading-h2:1.18;--es-leading-h3:1.25;--es-leading-body:1.65;--es-leading-ui:1.4;--es-tracking-h1:-.035em;--es-tracking-h2:-.025em;--es-tracking-h3:-.02em;--es-tracking-body:-.01em;--es-tracking-label:.12em;
  --es-space-1:4px;--es-space-2:8px;--es-space-3:12px;--es-space-4:16px;--es-space-5:20px;--es-space-6:24px;--es-space-8:32px;--es-space-10:40px;--es-space-12:48px;--es-space-16:64px;--es-space-20:80px;--es-space-24:96px;--es-space-30:120px;
  --es-container-max:1240px;--es-page-gutter:40px;--es-section-y:80px;--es-grid-gap:24px;--es-header-height:80px;--es-radius-control:6px;--es-radius-card:8px;--es-radius-media:12px;--es-border-width:1px;--es-button-height:48px;--es-button-height-lg:52px;--es-target-min:44px;--es-icon-sm:18px;--es-icon-md:20px;--es-icon-lg:24px;--es-icon-disc:48px;--es-ease:cubic-bezier(.2,.7,.2,1);--es-duration-fast:200ms;--es-duration-medium:280ms;--es-duration-reveal:500ms;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--es-header-height) + var(--es-space-2))}
body{margin:0;background:var(--es-bg);color:var(--es-text-primary);font:400 var(--es-text-body)/var(--es-leading-body) var(--es-font-body);letter-spacing:var(--es-tracking-body)}
img{display:block;max-width:100%}a{color:inherit}button{font:inherit}h1,h2,h3,h4,h5,h6{margin-top:0;font-family:var(--es-font-heading);font-weight:400}svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:focus-visible{outline:3px solid var(--es-focus-light);outline-offset:3px}.footer :focus-visible,.hero :focus-visible,.office :focus-visible{outline-color:var(--es-focus-dark)}.svg-sprite{position:absolute;width:0;height:0}.container{width:min(var(--es-container-max),calc(100% - (var(--es-page-gutter) * 2)));margin-inline:auto}.skip{position:fixed;z-index:99;top:-64px;left:var(--es-space-4);padding:var(--es-space-3) var(--es-space-4);background:var(--es-green-900);color:#fff;text-decoration:none}.skip:focus{top:var(--es-space-4)}

/* Header */
.site-header{position:sticky;top:0;z-index:30;height:var(--es-header-height);background:var(--es-white);border-bottom:1px solid #eaebe7}.nav{height:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.brand{display:flex;align-items:center;gap:var(--es-space-3);width:244px;height:58px;text-decoration:none}.brand-mark,.brand-wordmark{display:block;background:url("home/06-logotipo-original-transparente.webp") no-repeat}.brand-mark{width:56px;height:56px;flex:0 0 56px;background-size:152px auto;background-position:-47px 0}.brand-wordmark{width:164px;height:37px;background-size:164px auto;background-position:0 -64px}.navigation{display:flex;gap:var(--es-space-8)}.navigation a{position:relative;padding:var(--es-space-2) 0;color:var(--es-graphite-900);font-size:var(--es-text-nav);font-weight:600;line-height:var(--es-leading-ui);letter-spacing:0;text-decoration:none}.navigation a:after{position:absolute;right:0;bottom:-12px;left:0;height:1px;background:var(--es-green-600);content:"";transform:scaleX(0);transition:transform var(--es-duration-fast) var(--es-ease)}.navigation a.active:after,.navigation a:hover:after{transform:scaleX(1)}.header-contact,.button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--es-button-height);gap:10px;padding:10px var(--es-space-6);border:1px solid transparent;border-radius:var(--es-radius-control);font-size:var(--es-text-button);font-weight:600;line-height:var(--es-leading-ui);letter-spacing:0;white-space:nowrap;text-decoration:none;transition:background-color var(--es-duration-fast) var(--es-ease),border-color var(--es-duration-fast) var(--es-ease),color var(--es-duration-fast) var(--es-ease),transform var(--es-duration-fast) var(--es-ease)}.header-contact{justify-self:end;background:var(--es-action-primary);color:var(--es-action-on-primary)}.header-contact svg,.button svg{width:var(--es-icon-sm);height:var(--es-icon-sm)}.header-contact:hover,.button-green:hover{background:var(--es-action-primary-hover)}.header-contact:active,.button-green:active{background:var(--es-action-primary-active);transform:translateY(1px)}.menu-toggle{display:none}

/* Hero */
.hero{display:grid;grid-template-columns:52% 48%;min-height:460px;background:var(--es-green-950)}.hero-copy{position:relative;z-index:1;display:flex;align-items:center;overflow:hidden;padding:58px 0;background:linear-gradient(115deg,var(--es-green-950),var(--es-green-800))}.hero-copy:after{position:absolute;top:-48px;right:-78px;width:350px;height:350px;opacity:.14;background:url("footer/03-marca-dagua-simbolo.webp") center/contain no-repeat;content:""}.hero-copy .container{margin-right:0;padding-right:50px}.eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 var(--es-space-3);color:var(--es-green-600);font-size:var(--es-text-label);font-weight:700;line-height:var(--es-leading-ui);letter-spacing:var(--es-tracking-label);text-transform:uppercase}.eyebrow:before{width:32px;height:2px;background:currentColor;content:""}.eyebrow-light{color:var(--es-sage-300)}.hero h1{position:relative;z-index:1;margin-bottom:0;color:var(--es-text-on-dark);font-size:var(--es-text-h1);line-height:var(--es-leading-h1);letter-spacing:var(--es-tracking-h1)}.hero h1 strong{color:var(--es-sage-300);font-weight:400}.hero-copy>div>p:not(.eyebrow){position:relative;z-index:1;max-width:490px;margin:var(--es-space-5) 0 0;color:var(--es-text-on-dark);font-size:var(--es-text-lead);line-height:1.6}.hero-actions{position:relative;z-index:1;display:flex;align-items:center;gap:var(--es-space-8);margin-top:var(--es-space-6)}.button-cream{background:var(--es-action-on-dark);color:var(--es-action-on-dark-text)}.button-cream:hover{background:var(--es-sage-200)}.button-cream:active{transform:translateY(1px)}.button-small{min-height:46px}.text-link{display:inline-flex;align-items:center;gap:var(--es-space-2);color:var(--es-text-on-dark);font-size:var(--es-text-button);font-weight:600;line-height:var(--es-leading-ui);text-decoration:none}.text-link svg{width:var(--es-icon-md);transition:transform var(--es-duration-fast) var(--es-ease)}.text-link:hover svg{transform:translateX(4px)}.hero-image{overflow:hidden;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:67% center}

/* Editorial sections and practice cards */
.section{padding-block:var(--es-section-y)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:var(--es-space-10);margin-bottom:var(--es-space-8)}.section-heading h2,.method h2,.contact h2,.office h2{margin-bottom:0;font-size:var(--es-text-h2);line-height:var(--es-leading-h2);letter-spacing:var(--es-tracking-h2)}.section-heading>p{max-width:450px;margin:0;padding-left:var(--es-space-10);border-left:1px solid #b8bcb2;color:var(--es-text-secondary);font-size:var(--es-text-card);line-height:var(--es-leading-body)}.practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--es-grid-gap)}.practice-card{display:grid;min-width:0;min-height:366px;grid-template-rows:auto auto minmax(0,1fr) 44px 136px;overflow:hidden;padding:var(--es-space-5) 28px 0;border:var(--es-border-width) solid var(--es-border);border-radius:var(--es-radius-card);background:var(--es-surface);transition:border-color var(--es-duration-medium) var(--es-ease),box-shadow var(--es-duration-medium) var(--es-ease),transform var(--es-duration-medium) var(--es-ease)}.practice-card:hover{border-color:var(--es-sage-400);box-shadow:0 10px 24px rgb(20 39 25 / 7%);transform:translateY(-3px)}.card-top{display:flex;align-items:center;gap:var(--es-space-3);color:var(--es-green-600)}.card-top strong{color:var(--es-sage-400);font:400 33px/1 var(--es-font-heading)}.card-top span{width:1px;height:28px;background:var(--es-sage-400)}.card-top svg{width:29px;height:29px}.practice-card h3{margin:var(--es-space-3) 0 var(--es-space-2);font-size:var(--es-text-h3);line-height:var(--es-leading-h3);letter-spacing:var(--es-tracking-h3)}.practice-card p{max-width:300px;margin:0;color:var(--es-text-secondary);font-size:var(--es-text-card);line-height:1.6}.round-arrow{display:grid;width:40px;height:40px;place-items:center;align-self:center;justify-self:start;border:1px solid var(--es-green-600);border-radius:50%;background:var(--es-surface);color:var(--es-green-700)}.round-arrow svg{width:18px;transition:transform var(--es-duration-fast) var(--es-ease)}.practice-card:hover .round-arrow svg{transform:translateX(3px)}.practice-card img{position:relative;align-self:end;width:calc(100% + 56px);height:136px;margin:0 -28px;object-fit:cover;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 28%);mask-image:linear-gradient(to bottom,transparent 0%,#000 28%)}

/* Office and method */
.office{display:grid;min-height:455px;grid-template-columns:1.05fr .95fr}.office-image{min-height:455px;overflow:hidden}.office-image img{width:100%;height:100%;object-fit:cover}.office-copy{position:relative;display:flex;align-items:center;overflow:hidden;padding:var(--es-space-16) max(55px,calc((100vw - var(--es-container-max))/2));background:linear-gradient(115deg,var(--es-green-900),var(--es-green-800));color:var(--es-text-on-dark)}.office-copy:after{position:absolute;right:-60px;bottom:-48px;width:280px;height:280px;opacity:.08;background:url("footer/03-marca-dagua-simbolo.webp") center/contain no-repeat;content:""}.office-copy>div{position:relative;z-index:1;max-width:525px}.office-copy h2{color:var(--es-text-on-dark)}.office-copy>div>p:not(.eyebrow){margin:var(--es-space-4) 0 0;color:var(--es-text-on-dark-muted);font-size:var(--es-text-body);line-height:var(--es-leading-body)}.office-copy .button{margin-top:var(--es-space-5)}.method{background:#f9f8f4}.method-grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:0}.method-heading{padding-right:var(--es-space-10)}.method-grid article{display:flex;gap:var(--es-space-4);padding:var(--es-space-1) 26px;border-left:1px solid #d9ddd5}.method-icon{display:grid;width:var(--es-icon-disc);height:var(--es-icon-disc);flex:0 0 var(--es-icon-disc);place-items:center;border-radius:50%;background:var(--es-sage-100);color:var(--es-green-700)}.method-icon svg{width:var(--es-icon-lg);height:var(--es-icon-lg)}.method-grid h3{margin:2px 0 var(--es-space-2);font-size:var(--es-text-h4);line-height:1.3;letter-spacing:-.015em}.method-grid p{margin:0;color:var(--es-text-secondary);font-size:var(--es-text-card);line-height:1.6}

/* Contact and footer */
.contact{background:var(--es-sand-100)}.contact-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:62px;align-items:center}.contact h2{max-width:470px}.contact-lead{max-width:430px;margin:var(--es-space-4) 0;color:var(--es-text-secondary);font-size:var(--es-text-lead);line-height:1.6}.contact address{color:var(--es-text-secondary);font-size:var(--es-text-card);font-style:normal;line-height:1.6}.contact address p{display:flex;align-items:flex-start;gap:var(--es-space-3);margin:var(--es-space-3) 0}.contact address svg{width:var(--es-icon-sm);height:var(--es-icon-sm);flex:0 0 var(--es-icon-sm);margin-top:3px;color:var(--es-green-600)}.contact address a{text-decoration:none}.contact address i{margin:0 var(--es-space-2);color:var(--es-sage-400);font-style:normal}.contact .button{margin-top:var(--es-space-4)}.button-green{background:var(--es-action-primary);color:var(--es-action-on-primary)}.map-wrap{height:330px;overflow:hidden;border-radius:var(--es-radius-media);background:var(--es-sage-100)}.map-wrap iframe{width:100%;height:100%;border:0}.footer{position:relative;overflow:hidden;border-top:4px solid var(--es-sage-300);background:linear-gradient(112deg,var(--es-green-900),var(--es-green-800));color:var(--es-text-on-dark)}.footer-mark{position:absolute;top:0;right:-14px;width:29vw;height:100%;opacity:.055;background:url("footer/03-marca-dagua-simbolo.webp") right center/contain no-repeat}.footer-content{position:relative;display:grid;grid-template-columns:35fr 20fr 45fr;padding:72px 0 56px}.brand-footer{width:330px;height:81px;gap:var(--es-space-4);filter:grayscale(1) brightness(0) invert(1)}.brand-footer .brand-mark{width:81px;height:81px;flex-basis:81px;background-size:220px auto;background-position:-68px 0}.brand-footer .brand-wordmark{width:220px;height:50px;background-size:220px auto;background-position:0 -86px}.footer-accent{display:block;width:64px;height:3px;margin:var(--es-space-6) 0 var(--es-space-4);background:var(--es-sage-300)}.footer-identity p{max-width:410px;margin:0;font:400 1.1875rem/1.35 var(--es-font-heading);letter-spacing:var(--es-tracking-h3)}.footer-navigation{display:flex;flex-direction:column;gap:var(--es-space-3);padding-left:48px;border-left:1px solid rgb(217 226 207 / 30%)}.footer-navigation h2,.footer-details h2{margin:0 0 var(--es-space-2);color:var(--es-sage-300);font:700 var(--es-text-label)/var(--es-leading-ui) var(--es-font-body);letter-spacing:var(--es-tracking-label);text-transform:uppercase}.footer-navigation a{font-size:var(--es-text-footer);font-weight:500;line-height:1.6;text-decoration:none}.footer-details{padding-left:58px;border-left:1px solid rgb(217 226 207 / 30%);font-size:var(--es-text-footer);font-style:normal;line-height:1.6}.footer-details p{display:flex;align-items:center;gap:var(--es-space-3);margin:0 0 var(--es-space-3)}.footer-details i{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:50%;background:var(--es-green-500);color:#fff}.footer-details i svg{width:var(--es-icon-sm);height:var(--es-icon-sm)}.footer-details a{text-decoration:none}.footer-details em{margin:0 var(--es-space-2);color:var(--es-sage-300);font-style:normal}.footer-legal{position:relative;display:flex;justify-content:center;gap:30px;padding:18px 0;border-top:1px solid rgb(217 226 207 / 35%);font-size:var(--es-text-caption);line-height:1.5}.footer-legal>span+span{padding-left:30px;border-left:1px solid rgb(217 226 207 / 35%)}

/* Motion */
.reveal{opacity:0;transform:translateY(18px);transition:opacity 620ms var(--es-ease) var(--reveal-delay,0ms),transform 620ms var(--es-ease) var(--reveal-delay,0ms);will-change:opacity,transform}.reveal.visible{opacity:1;transform:translateY(0)}.practice-card.reveal.visible:hover{transform:translateY(-3px)}.hero-entrance,.header-entrance{animation:es-fade-up 720ms var(--es-ease) both;animation-delay:var(--entrance-delay,0ms)}.header-entrance{animation-name:es-fade-down}@keyframes es-fade-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes es-fade-down{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:1100px){:root{--es-page-gutter:32px;--es-section-y:64px;--es-grid-gap:20px;--es-header-height:76px}.method-grid{grid-template-columns:1fr 1fr}.method-heading{grid-column:1/-1;margin-bottom:var(--es-space-8)}.method-grid article{padding:var(--es-space-5);border:0;border-top:1px solid #d9ddd5}.footer-content{grid-template-columns:1fr 1fr}.footer-details{grid-column:1/-1;margin-top:var(--es-space-8);padding:var(--es-space-8) 0 0;border:0;border-top:1px solid rgb(217 226 207 / 30%)}}
@media(max-width:1023px){.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-card{min-height:390px}.contact-grid{gap:var(--es-space-10)}}
@media(max-width:820px){.nav{grid-template-columns:1fr auto}.header-contact{display:none}.menu-toggle{display:grid;gap:5px;width:44px;height:44px;padding:10px;border:0;background:transparent;color:var(--es-green-700)}.menu-toggle i{display:block;width:22px;height:2px;background:currentColor}.navigation{position:absolute;top:var(--es-header-height);right:0;left:0;display:none;gap:0;padding:var(--es-space-2) var(--es-page-gutter);background:var(--es-white);border-bottom:1px solid var(--es-border);box-shadow:0 8px 16px rgb(16 36 23 / 7%)}.navigation.open{display:flex;flex-direction:column}.navigation a{padding:var(--es-space-3) 0;font-size:.9375rem}.navigation a:after{display:none}.hero{grid-template-columns:1fr}.hero-copy{padding:var(--es-space-16) 0 var(--es-space-12)}.hero-copy .container{margin-inline:auto;padding-right:0}.hero-image{height:375px;clip-path:polygon(0 8%,100% 0,100% 100%,0 100%)}.hero-image img{object-position:65% center}.section-heading{align-items:flex-start;flex-direction:column}.section-heading>p{padding-left:0;border-left:0}.office{grid-template-columns:1fr}.office-image{min-height:340px}.office-copy{min-height:370px;padding:var(--es-space-12) var(--es-page-gutter)}.contact-grid{grid-template-columns:1fr;gap:var(--es-space-8)}}
@media(max-width:767px){:root{--es-page-gutter:24px;--es-section-y:56px;--es-grid-gap:16px;--es-text-body:.9375rem;--es-text-nav:.9375rem;--es-text-lead:1rem;--es-text-label:.75rem;--es-header-height:72px}.site-header{height:var(--es-header-height)}.container{width:calc(100% - (var(--es-page-gutter) * 2))}.brand{width:205px;height:48px;gap:9px}.brand-mark{width:47px;height:47px;flex-basis:47px;background-size:128px auto;background-position:-40px 0}.brand-wordmark{width:141px;height:32px;background-size:141px auto;background-position:0 -55px}.hero-copy{padding:38px 0 50px}.hero-copy:after{top:20px;right:-85px;width:280px;height:280px}.hero h1{font-size:clamp(2.25rem,10vw,2.5rem)}.hero-copy>div>p:not(.eyebrow){font-size:1rem}.hero-actions{align-items:flex-start;flex-direction:column;gap:var(--es-space-5);margin-top:var(--es-space-5)}.hero-image{height:306px;clip-path:polygon(0 11%,100% 0,100% 100%,0 100%)}.section-heading{gap:var(--es-space-5);margin-bottom:var(--es-space-6)}.section-heading h2,.method h2,.contact h2,.office h2{font-size:clamp(1.875rem,8.2vw,2.125rem)}.section-heading>p{font-size:.9375rem;line-height:1.6}.practice-grid{grid-template-columns:1fr}.practice-card{min-height:0;height:390px;grid-template-rows:auto auto minmax(0,1fr) 44px 115px;padding:var(--es-space-5) var(--es-space-6) 0}.practice-card h3{font-size:1.375rem}.practice-card p{font-size:.9375rem;line-height:1.6}.practice-card img{width:calc(100% + 48px);height:115px;margin:0 -24px}.round-arrow{width:40px;height:40px}.office-image{min-height:286px}.office-copy{min-height:0;padding:43px var(--es-page-gutter)}.office-copy>div>p:not(.eyebrow){font-size:.9375rem;line-height:var(--es-leading-body)}.method-grid{display:block}.method-heading{margin-bottom:var(--es-space-5);padding-right:0}.method-grid article{padding:var(--es-space-6) 0}.method-icon{width:52px;height:52px;flex-basis:52px}.method-grid h3{font-size:1.125rem}.method-grid p{font-size:.9375rem;line-height:1.6}.contact-lead{font-size:1rem}.contact address{font-size:.875rem;line-height:1.6}.contact address p{margin:var(--es-space-3) 0}.map-wrap{height:280px}.footer-content{display:block;padding:var(--es-space-12) 0 0}.brand-footer{width:236px;height:58px;gap:11px}.brand-footer .brand-mark{width:58px;height:58px;flex-basis:58px;background-size:158px auto;background-position:-49px 0}.brand-footer .brand-wordmark{width:164px;height:37px;background-size:164px auto;background-position:0 -64px}.footer-identity{padding-bottom:var(--es-space-6);border-bottom:1px solid rgb(217 226 207 / 30%)}.footer-identity p{font-size:1.125rem}.footer-navigation{padding:var(--es-space-6) 0;border:0;border-bottom:1px solid rgb(217 226 207 / 30%)}.footer-details{margin:0;padding:var(--es-space-6) 0;border:0;border-bottom:1px solid rgb(217 226 207 / 30%)}.footer-details p{align-items:flex-start}.footer-legal{flex-direction:column;gap:var(--es-space-1);padding:var(--es-space-4) 0;text-align:center}.footer-legal>span+span{padding:0;border:0}}
@media(max-width:359px){:root{--es-page-gutter:16px;--es-text-h1:2.25rem;--es-text-h2:1.75rem}.brand{width:190px}.hero h1{font-size:2.25rem}.practice-card{height:402px}}
@media(prefers-reduced-motion:reduce){:root{--es-duration-fast:0ms;--es-duration-medium:0ms;--es-duration-reveal:0ms}html{scroll-behavior:auto}.practice-card:hover{transform:none}.reveal,.reveal.visible{opacity:1;transform:none;transition:none}.hero-entrance,.header-entrance{animation:none}}

/* Preserva a caneta no recorte estreito do card de contratos. */
.practice-card:nth-child(3) img{object-position:right bottom}

/* Hero: a composição visual já está incorporada aos backgrounds oficiais. */
.hero{grid-template-columns:52% 48%;background:url("home/eduardo-segato-hero-justica-dourada-desktop.png") center center/cover no-repeat}
.hero-copy{background:transparent;overflow:visible}
.hero-copy:after{display:none}
@media(max-width:767px){.hero{grid-template-columns:1fr;min-height:1120px;background-image:url("home/eduardo-segato-hero-justica-dourada-mobile.png");background-position:center top}.hero-copy{align-items:flex-start;padding-top:38px}}
@media(min-width:768px){.hero{background-position:76% center}}

/* Cabeçalho contextual: claro sobre o conteúdo e translúcido sobre o Hero. */
.site-header{position:fixed;right:0;left:0;background:rgb(16 36 23 / 76%);border-bottom-color:transparent;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:background-color var(--es-duration-medium) var(--es-ease),border-color var(--es-duration-medium) var(--es-ease),box-shadow var(--es-duration-medium) var(--es-ease)}
.hero{padding-top:var(--es-header-height)}
.site-header .brand{filter:grayscale(1) brightness(0) invert(1);transition:filter var(--es-duration-medium) var(--es-ease)}
.site-header .navigation a{color:var(--es-text-on-dark);transition:color var(--es-duration-fast) var(--es-ease)}
.site-header .navigation a:after{background:var(--es-sage-300)}
.site-header .header-contact{background:var(--es-cream-50);color:var(--es-green-900)}
.site-header .header-contact:hover{background:var(--es-sage-200)}
.site-header.is-scrolled{background:rgb(255 255 255 / 92%);border-bottom-color:rgb(20 39 25 / 10%);box-shadow:0 5px 20px rgb(16 36 23 / 8%)}
.site-header.is-scrolled .brand{filter:none}
.site-header.is-scrolled .navigation a{color:var(--es-graphite-900)}
.site-header.is-scrolled .navigation a:after{background:var(--es-green-600)}
.site-header.is-scrolled .header-contact{background:var(--es-action-primary);color:var(--es-action-on-primary)}
.site-header.is-scrolled .header-contact:hover{background:var(--es-action-primary-hover)}
@media(max-width:820px){.site-header:not(.is-scrolled) .menu-toggle{color:var(--es-text-on-dark)}.site-header .navigation{background:rgb(255 255 255 / 97%)}.site-header .navigation a{color:var(--es-graphite-900)}}

/* Proporções editoriais do Hero e mídia integral dos cards. */
.hero{padding-top:0}
.practice-card{grid-template-rows:auto auto minmax(0,1fr) 44px 150px}
.practice-card img{height:150px;-webkit-mask-image:none;mask-image:none}
@media(min-width:768px){.hero{height:clamp(520px,31vw,600px);min-height:clamp(520px,31vw,600px)}.hero-copy{padding:136px 0 48px}.hero h1{font-size:clamp(2.5rem,3.4vw,3.25rem)}.hero-copy>div>p:not(.eyebrow){max-width:440px;margin-top:16px;font-size:.9375rem}.hero-actions{gap:var(--es-space-6);margin-top:18px}}
@media(max-width:767px){.hero-copy{padding-top:110px}.practice-card{height:400px;grid-template-rows:auto auto minmax(0,1fr) 44px 125px}.practice-card img{height:125px}}

/* Fotografias das áreas: camada de fundo com o alfa nativo dos arquivos WebP. */
.practice-card{position:relative;isolation:isolate;grid-template-rows:auto auto minmax(0,1fr) 44px}
.practice-card::before{position:absolute;inset:0;z-index:0;border-radius:inherit;background-position:center bottom;background-repeat:no-repeat;background-size:100% auto;content:"";pointer-events:none}
.practice-card:nth-child(1)::before{background-image:url("home/01-direito-agroambiental.webp")}
.practice-card:nth-child(2)::before{background-image:url("home/02-direito-administrativo.webp")}
.practice-card:nth-child(3)::before{background-image:url("home/03-direito-civil-contratos.webp")}
.practice-card>:not(img){position:relative;z-index:1}
.practice-card img{display:none}
@media(max-width:767px){.practice-card{grid-template-rows:auto auto minmax(0,1fr) 44px}.practice-card::before{background-size:100% auto}}

/* Ajustes de proporção conforme as referências aprovadas. */
@media(min-width:768px){
  .hero{background-position:66% center;background-size:cover}
  .practice-card{height:266px;min-height:266px;padding:18px 32px 0;grid-template-rows:auto auto minmax(0,1fr) 44px}
  .practice-card h3{margin:8px 0 5px}
  .practice-card p{font-size:.875rem;line-height:1.45}
  .round-arrow{align-self:end;margin-bottom:16px}
  .method{padding-block:26px}
  .method-grid{grid-template-columns:1.2fr repeat(3,1fr)}
  .method-heading{padding-right:var(--es-space-8)}
  .method h2{max-width:320px;font-size:clamp(1.75rem,2.35vw,2rem);line-height:1.13}
  .method-grid article{align-items:flex-start;padding:0 26px}
  .method-icon{width:48px;height:48px;flex-basis:48px}
  .method-grid h3{font-size:1.125rem}
  .method-grid p{font-size:.875rem;line-height:1.45}
}
.practice-card:hover .round-arrow svg{transform:scale(1.08)}

/* Rodapé compacto, alinhado à composição aprovada no desktop. */
@media(min-width:768px){
  .footer-content{grid-template-columns:35fr 22fr 43fr;padding:24px 0 20px}
  .brand-footer{width:260px;height:64px;gap:12px}
  .brand-footer .brand-mark{width:58px;height:58px;flex-basis:58px;background-size:158px auto;background-position:-49px 0}
  .brand-footer .brand-wordmark{width:178px;height:40px;background-size:178px auto;background-position:0 -70px}
  .footer-accent{display:none}
  .footer-identity p{max-width:340px;margin-top:14px;font-size:.9375rem;line-height:1.32}
  .footer-navigation{gap:7px;padding:0 0 0 54px}
  .footer-navigation h2,.footer-details h2{margin-bottom:8px;font-size:.6875rem}
  .footer-navigation a,.footer-details{font-size:.8125rem;line-height:1.4}
  .footer-details{padding-left:56px}
  .footer-details p{gap:10px;margin:0 0 7px}
  .footer-details i{width:28px;height:28px;flex-basis:28px;border-radius:0;background:transparent;color:var(--es-sage-300)}
  .footer-details i svg{width:18px;height:18px}
  .footer-legal{justify-content:space-between;gap:0;padding:14px 0;font-size:.75rem}
}

/* Artes institucionais oficiais e refinamento final dos componentes. */
.footer{background:url("footer/fundo-verde-floresta-diamante.png") center/cover no-repeat}
.footer-mark{display:none}
.office-copy{background:url("home/fundo-verde-floresta-emblema-geometrico.png") center/cover no-repeat}
.office-copy:after{display:none}
.round-arrow svg{width:21px;height:21px;stroke-width:1.35}

@media(min-width:768px){
  .method{padding-block:clamp(56px,5vw,72px)}
  .method-grid{grid-template-columns:30% repeat(3,minmax(0,1fr));align-items:start}
  .method-heading{padding-right:36px}
  .method-heading .eyebrow{margin-bottom:16px}
  .method h2{max-width:360px;font-size:clamp(1rem,1.81vw,1.625rem);line-height:1.05;letter-spacing:-.02em}
  .method-grid article{display:block;min-height:165px;padding:0 36px;border-left:1px solid rgb(32 36 29 / 10%)}
  .method-icon{width:50px;height:50px;flex-basis:50px;margin:0 0 17px}
  .method-icon svg{width:22px;height:22px}
  .method-grid h3{margin:0 0 10px;font-size:clamp(1.25rem,1.55vw,1.375rem);line-height:1.2}
  .method-grid p{max-width:260px;font-size:.9375rem;line-height:1.6}
}
@media(max-width:767px){
  .method{padding-block:56px}
  .method-heading{margin-bottom:34px}
  .method-heading .eyebrow{margin-bottom:14px}
  .method h2{max-width:430px;font-size:clamp(1.1875rem,5vw,1.3125rem);line-height:1.08;letter-spacing:-.02em}
  .method-grid article{display:block;padding:25px 0;border-left:0;border-bottom:1px solid rgb(32 36 29 / 10%)}
  .method-grid article:last-child{border-bottom:0}
  .method-icon{width:50px;height:50px;flex-basis:50px;margin:0 0 15px}
  .method-icon svg{width:22px;height:22px}
  .method-grid h3{margin:0 0 9px;font-size:1.25rem;line-height:1.25}
  .method-grid p{font-size:.9375rem;line-height:1.6}
}

/* Ícones de WhatsApp: maiores, leves e consistentes em todas as ações. */
.header-contact .whatsapp-icon,.button .whatsapp-icon{width:20px;height:20px;stroke-width:1.3}
.round-arrow .whatsapp-icon{width:22px;height:22px;stroke-width:1.3}

/* Hero mobile: painel verde e fotografia independentes, unidos por diagonal reta. */
@media(max-width:767px){
  .hero{position:relative;display:block;min-height:1120px;overflow:hidden;isolation:isolate;background:var(--es-green-950);background-image:none}
  .hero::after{position:absolute;z-index:0;top:570px;right:0;bottom:0;left:0;background:url("home/eduardo-segato-hero-justica-dourada-mobile.png") 58% bottom/auto 225% no-repeat;content:""}
  .hero-copy{position:relative;z-index:1;display:block;min-height:650px;padding:110px 0 90px;overflow:hidden;background:url("home/fundo-verde-escuro-padrao-geometrico-mobile.png") center/cover no-repeat;clip-path:polygon(0 0,100% 0,100% 93%,0 100%)}
  .hero-copy .container{position:relative;z-index:1}
  .hero-copy::before{display:none}
  .hero-copy::after{position:absolute;z-index:2;bottom:0;left:-8%;display:block;width:116%;height:1px;background:#d8b768;content:"";transform:rotate(-6.5deg);transform-origin:left bottom}
}

/* Cards e painel institucional compactos no mobile. */
@media(max-width:767px){
  .practice-card{height:360px;padding:20px 24px 0;grid-template-rows:auto auto auto auto}
  .practice-card h3{margin:8px 0 6px}
  .practice-card p{line-height:1.5}
  .practice-card .round-arrow{align-self:start;margin-top:12px;margin-bottom:0}
  .office-copy{background:url("home/fundo-verde-escuro-padrao-geometrico-mobile.png") center/cover no-repeat}
}

/* Fotografia inferior do Hero mobile: aproximação sutil e transição editorial. */
@media(max-width:767px){
  .hero{min-height:calc(605px + 44vw)}
  .hero::before{display:none}
  .hero::after{top:605px;background:linear-gradient(to bottom,rgb(7 39 18 / 88%) 0%,rgb(7 39 18 / 38%) 48%,transparent 100%) center top/100% 72px no-repeat,url("home/escritorio-juridico-livros-justica-mobile.png") center bottom/110% auto no-repeat}
}

/* Foto mobile explícita: uma divisão real, sem dependência de pseudo-camadas sobrepostas. */
.hero-mobile-photo{display:none}
@media(max-width:767px){
  .hero{min-height:0;background:var(--es-green-950)}
  .hero::before,.hero::after{display:none}
  .hero-copy{z-index:1;min-height:650px;margin-bottom:-45px;clip-path:polygon(0 0,100% 0,100% 93%,0 100%)}
  .hero-mobile-photo{position:relative;z-index:0;display:block;height:44vw;min-height:141px;max-height:189px;background:url("home/escritorio-juridico-livros-justica-mobile.png") center bottom/110% auto no-repeat;clip-path:polygon(0 10%,100% 0,100% 100%,0 100%)}
  .hero-mobile-photo::before{position:absolute;inset:0;background:linear-gradient(to bottom,rgb(7 39 18 / 88%) 0%,rgb(7 39 18 / 35%) 45%,transparent 100%);content:""}
}

@media(max-width:767px){.hero-copy::after{display:none}}

/* Transição móvel sem borda: apenas o degradê suave entre verde e fotografia. */
@media(max-width:767px){
  .hero-copy{margin-bottom:-90px;clip-path:none;-webkit-mask-image:linear-gradient(173deg,#000 0,#000 80%,transparent 100%);mask-image:linear-gradient(173deg,#000 0,#000 80%,transparent 100%)}
  .hero-mobile-photo{clip-path:none}
  .hero-mobile-photo::before{background:linear-gradient(173deg,rgb(7 39 18 / 88%) 0%,rgb(7 39 18 / 35%) 45%,transparent 100%)}
}

/* Hero mobile final: duas áreas independentes, uma única diagonal e fotografia compacta. */
@media(max-width:767px){
  .hero{
    display:block;
    min-height:0;
    overflow:hidden;
    isolation:isolate;
    background:var(--es-green-950);
  }

  .hero::before,
  .hero::after{display:none !important}

  .hero-copy{
    position:relative;
    z-index:1;
    display:block;
    min-height:0;
    margin:0;
    padding:96px 0 92px;
    overflow:visible;
    background:url("home/fundo-verde-escuro-padrao-geometrico-mobile.png") center/cover no-repeat;
    clip-path:polygon(0 0,100% 0,100% calc(100% - 23px),0 100%);
    -webkit-mask-image:none;
    mask-image:none;
  }

  .hero-copy .container{
    position:relative;
    z-index:1;
    width:calc(100% - 40px);
    max-width:none;
    margin:0 auto;
    padding:0;
  }

  .hero-copy .eyebrow{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 28px;
    font-size:.6875rem;
    line-height:1.35;
    letter-spacing:.16em;
  }

  .hero-copy .eyebrow::before{width:34px}

  .hero h1{
    max-width:100%;
    margin:0;
    font-size:clamp(2rem,8.9vw,2.25rem);
    line-height:1.12;
    letter-spacing:-.025em;
  }

  .hero h1 strong{display:inline;line-height:inherit}

  .hero-copy .container > p:not(.eyebrow){
    max-width:34rem;
    margin:20px 0 0;
    font-size:clamp(.875rem,3.8vw,.9375rem);
    line-height:1.55;
  }

  .hero-actions{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    margin-top:25px;
  }

  .hero-actions .button{
    min-height:52px;
    padding:13px 22px;
    font-size:.9375rem;
  }

  .hero-actions .text-link{font-size:.9375rem;line-height:1.4}

  .hero-copy::after{
    position:absolute;
    z-index:2;
    bottom:0;
    left:-3%;
    display:block;
    width:106%;
    height:1.2px;
    background:#d8b768;
    content:"";
    transform:rotate(-3.4deg);
    transform-origin:left bottom;
  }

  .hero-mobile-photo{
    position:relative;
    z-index:0;
    display:block;
    height:clamp(160px,44vw,180px);
    min-height:0;
    max-height:none;
    margin-top:-23px;
    background:url("home/escritorio-juridico-livros-justica-mobile.png") 72% center/cover no-repeat;
    clip-path:polygon(0 23px,100% 0,100% 100%,0 100%);
  }

  .hero-mobile-photo::before{display:none}

  /* O traço fica na fotografia, não no painel recortado, para não sumir no clip-path. */
  .hero-copy::after{display:none}
  .hero-mobile-photo::after{
    position:absolute;
    z-index:2;
    top:23.5px;
    left:-3%;
    display:block;
    width:106%;
    height:1px;
    background:#d8b768;
    content:"";
    transform:rotate(-3.4deg);
    transform-origin:left top;
  }
}

/* Hero mobile: composição editorial centralizada. */
#areas-atuacao{scroll-margin-top:88px}
@media(max-width:767px){
  .hero-copy .container{text-align:center}

  .hero-copy .eyebrow{justify-content:center}

  .hero-copy .container > p:not(.eyebrow){margin-inline:auto}

  .hero-actions{
    width:100%;
    align-items:stretch;
  }

  .hero-actions .button{
    display:inline-flex;
    width:100%;
    justify-content:center;
  }

  .hero-actions .text-link{align-self:center}

  .hero-copy .eyebrow{
    font-size:0;
    color:transparent;
  }

  .hero-copy .eyebrow::before{display:none}

  .hero-copy .eyebrow::after{
    position:absolute;
    top:0;
    left:50%;
    display:block;
    color:var(--es-cream-50);
    content:"SINOP/MT";
    font-size:.6875rem;
    line-height:1.35;
    letter-spacing:.16em;
    transform:translateX(-50%);
    white-space:nowrap;
  }

  .hero-copy .eyebrow{position:relative;display:block;height:15px}
}
